@evercam/api 1.0.0-b1de66f57 → 1.0.0-b3c76d7c7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/api/3dFirebaseApi.d.ts +63 -24
- package/dist/api/api/adminApi.d.ts +11 -10
- package/dist/api/api/aiApi.d.ts +95 -3
- package/dist/api/api/authzApi.d.ts +4 -1
- package/dist/api/api/evercamApi.d.ts +30 -11
- package/dist/api/api/evercamLabsApi.d.ts +5 -16
- package/dist/api/api/index.d.ts +1 -0
- package/dist/api/api/ingestApi.d.ts +18 -8
- package/dist/api/api/workflowsApi.d.ts +15 -0
- package/dist/api/types/360.d.ts +116 -42
- package/dist/api/types/aiConfigs.d.ts +102 -12
- package/dist/api/types/analytics.d.ts +26 -24
- package/dist/api/types/auditLogs.d.ts +1 -4
- package/dist/api/types/authz.d.ts +71 -0
- package/dist/api/types/automation.d.ts +32 -4
- package/dist/api/types/axios.d.ts +3 -4
- package/dist/api/types/bim.d.ts +12 -6
- package/dist/api/types/camera.d.ts +26 -21
- package/dist/api/types/comments.d.ts +9 -2
- package/dist/api/types/company.d.ts +1 -2
- 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 +1 -0
- package/dist/api/types/drone.d.ts +1 -2
- package/dist/api/types/errors.d.ts +6 -2
- package/dist/api/types/gateReport.d.ts +0 -11
- package/dist/api/types/gateReportManagement.d.ts +2 -7
- package/dist/api/types/hammertech.d.ts +98 -0
- package/dist/api/types/index.d.ts +6 -2
- package/dist/api/types/ingest.d.ts +87 -1
- package/dist/api/types/kit.d.ts +44 -101
- package/dist/api/types/media.d.ts +7 -2
- package/dist/api/types/notification.d.ts +52 -2
- package/dist/api/types/observationEvents.d.ts +141 -0
- package/dist/api/types/observations.d.ts +84 -0
- package/dist/api/types/planner.d.ts +1 -8
- package/dist/api/types/posthog.d.ts +20 -0
- package/dist/api/types/project.d.ts +14 -2
- package/dist/api/types/recording.d.ts +4 -5
- package/dist/api/types/ring.d.ts +16 -16
- package/dist/api/types/roi.d.ts +2 -10
- package/dist/api/types/routeParams.d.ts +1 -0
- package/dist/api/types/shared.d.ts +2 -23
- package/dist/api/types/shares.d.ts +0 -13
- package/dist/api/types/siteAnalytics.d.ts +1 -3
- package/dist/api/types/siteAnalyticsManagement.d.ts +127 -0
- package/dist/api/types/siteView.d.ts +6 -1
- package/dist/api/types/socket.d.ts +4 -0
- package/dist/api/types/storyblok.d.ts +0 -13
- package/dist/api/types/timelapse.d.ts +1 -8
- package/dist/api/types/user.d.ts +15 -3
- package/dist/api/types/workflows.d.ts +108 -0
- package/dist/api/utils.d.ts +1 -0
- package/dist/index.js +1373 -804
- 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 +221 -33
- package/dist/shared/types/index.d.ts +1 -0
- package/dist/shared/types/observations.d.ts +25 -0
- package/package.json +1 -1
- package/dist/api/types/copilot.d.ts +0 -162
- package/dist/api/types/vendorModel.d.ts +0 -15
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type ChatListPage, type ChatListParams, type ChatSession } from "@evercam/api/types";
|
|
2
|
+
/**
|
|
3
|
+
* The Evercam Workflows engine, for the admin Chat conversations viewer.
|
|
4
|
+
*
|
|
5
|
+
* The engine speaks camelCase natively, so every call preserves casing rather than
|
|
6
|
+
* running the snake conversion the media API needs. The admin's bearer is attached
|
|
7
|
+
* by the shared request interceptor — an admin resolves `is_admin` on the engine, so
|
|
8
|
+
* `scope=all` returns every user's conversations.
|
|
9
|
+
*/
|
|
10
|
+
export declare const WorkflowsApi: {
|
|
11
|
+
chat: {
|
|
12
|
+
listConversations(params?: ChatListParams): Promise<ChatListPage>;
|
|
13
|
+
getConversation(id: string): Promise<ChatSession>;
|
|
14
|
+
};
|
|
15
|
+
};
|
package/dist/api/types/360.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DateType } from "@evercam/api/types/time";
|
|
2
|
-
import { GeoPoint, Point3D } from "@evercam/api/types/shared";
|
|
2
|
+
import { GeoPoint, PaginationParams, Point3D } from "@evercam/api/types/shared";
|
|
3
3
|
export type _360OverlayPosition = {
|
|
4
4
|
northEast: GeoPoint;
|
|
5
5
|
northWest: GeoPoint;
|
|
@@ -61,6 +61,7 @@ export type _360Floor = {
|
|
|
61
61
|
imagesOnlyFeatureFlag?: boolean;
|
|
62
62
|
forgeBIMFeatureFlag?: boolean;
|
|
63
63
|
isForgeGravityEnabled?: boolean;
|
|
64
|
+
bimHeight?: number;
|
|
64
65
|
initialForgeView?: ForgeView | null;
|
|
65
66
|
enhancedLightFeatureFlag?: boolean;
|
|
66
67
|
calibrationDetails?: Record<string, unknown>;
|
|
@@ -77,7 +78,7 @@ export type _360WalkV2 = {
|
|
|
77
78
|
archive: string;
|
|
78
79
|
date: string;
|
|
79
80
|
deviceSerial: string | null;
|
|
80
|
-
endPosition:
|
|
81
|
+
endPosition: string | null;
|
|
81
82
|
floor: string;
|
|
82
83
|
floorId: number;
|
|
83
84
|
id: number;
|
|
@@ -93,8 +94,9 @@ export type _360WalkV2 = {
|
|
|
93
94
|
projectId: string;
|
|
94
95
|
report: string;
|
|
95
96
|
processingLog: string;
|
|
97
|
+
hasSteps?: boolean;
|
|
96
98
|
route: unknown | null;
|
|
97
|
-
startPosition:
|
|
99
|
+
startPosition: string | null;
|
|
98
100
|
tusLinks: unknown | null;
|
|
99
101
|
updatedAt: string;
|
|
100
102
|
uploadedBy: string;
|
|
@@ -113,13 +115,15 @@ export type _360FloorV2 = {
|
|
|
113
115
|
overlayPosition: _360OverlayPosition;
|
|
114
116
|
insertedAt: string;
|
|
115
117
|
updatedAt: string;
|
|
118
|
+
deletedAt: string | null;
|
|
116
119
|
};
|
|
117
120
|
export type _360Scene = {
|
|
118
121
|
date: string;
|
|
119
|
-
dateID: number;
|
|
122
|
+
dateID: string | number;
|
|
120
123
|
floors: {
|
|
121
124
|
floorID: _360FloorId;
|
|
122
125
|
name: string;
|
|
126
|
+
isValidated?: boolean;
|
|
123
127
|
}[];
|
|
124
128
|
polarAngle: number;
|
|
125
129
|
azimuthAngle: number;
|
|
@@ -150,24 +154,7 @@ export type _360ProjectListItem = {
|
|
|
150
154
|
providerSuffix: string;
|
|
151
155
|
timeline: string;
|
|
152
156
|
uniqueId: string;
|
|
153
|
-
|
|
154
|
-
export type _360FullProject = {
|
|
155
|
-
dates: _360SceneWithFloors[];
|
|
156
|
-
integrationType: string;
|
|
157
|
-
projectId: string;
|
|
158
|
-
projectName: string;
|
|
159
|
-
providerID: string;
|
|
160
|
-
providerPrefix: string;
|
|
161
|
-
providerSuffix: string;
|
|
162
|
-
timeline: string;
|
|
163
|
-
uniqueId: string;
|
|
164
|
-
};
|
|
165
|
-
export type _360FullFloor = _360Floor & {
|
|
166
|
-
id: _360FloorId;
|
|
167
|
-
name: string;
|
|
168
|
-
};
|
|
169
|
-
export type _360SceneWithFloors = _360Scene & {
|
|
170
|
-
floors: _360FullFloor[];
|
|
157
|
+
requiresValidation?: boolean;
|
|
171
158
|
};
|
|
172
159
|
export type _360ProjectJsonResponse = {
|
|
173
160
|
dates: _360Scene[];
|
|
@@ -182,12 +169,25 @@ export type MobileCaptureSnapshot = {
|
|
|
182
169
|
thumbnailUrl: string;
|
|
183
170
|
};
|
|
184
171
|
export declare enum _360UrlParams {
|
|
185
|
-
DateId = "
|
|
172
|
+
DateId = "dateId",
|
|
186
173
|
Date = "date",
|
|
187
174
|
Floor = "floor",
|
|
188
175
|
Marker = "marker",
|
|
189
176
|
PolarAngle = "polarAngle",
|
|
190
|
-
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"
|
|
191
191
|
}
|
|
192
192
|
export declare enum _360AssetType {
|
|
193
193
|
Video = "video",
|
|
@@ -201,11 +201,6 @@ export declare enum _360AssetLabel {
|
|
|
201
201
|
Walks = "walks",
|
|
202
202
|
MobilePhotos = "mobilePhotos"
|
|
203
203
|
}
|
|
204
|
-
export declare enum _360Feature {
|
|
205
|
-
BIM = "BIM",
|
|
206
|
-
Minimap = "Minimap",
|
|
207
|
-
Minimodel = "Minimodel"
|
|
208
|
-
}
|
|
209
204
|
export declare enum _360IntergrationType {
|
|
210
205
|
Evercam = "Evercam",
|
|
211
206
|
Matterport = "Matterport",
|
|
@@ -218,12 +213,11 @@ export declare enum PathMarkerColor {
|
|
|
218
213
|
End = "#fd7567",
|
|
219
214
|
Default = "#2196F3"
|
|
220
215
|
}
|
|
221
|
-
export type _360AssetsQueryParams = {
|
|
222
|
-
page: number;
|
|
223
|
-
limit: number;
|
|
216
|
+
export type _360AssetsQueryParams = PaginationParams & {
|
|
224
217
|
projectId: string;
|
|
225
218
|
date: DateType;
|
|
226
219
|
floor: string;
|
|
220
|
+
name: string;
|
|
227
221
|
id: string;
|
|
228
222
|
};
|
|
229
223
|
export type _360AssetsRequestPayload = {
|
|
@@ -232,7 +226,7 @@ export type _360AssetsRequestPayload = {
|
|
|
232
226
|
floor: string;
|
|
233
227
|
uploadedBy?: string;
|
|
234
228
|
};
|
|
235
|
-
export type DrawingsRequestPayload = {
|
|
229
|
+
export type DrawingsRequestPayload = PaginationParams & {
|
|
236
230
|
projectId?: string;
|
|
237
231
|
name?: string;
|
|
238
232
|
changedBy?: string;
|
|
@@ -240,10 +234,9 @@ export type DrawingsRequestPayload = {
|
|
|
240
234
|
startDate?: string;
|
|
241
235
|
endDate?: string;
|
|
242
236
|
id?: number;
|
|
243
|
-
page?: number;
|
|
244
|
-
limit?: number;
|
|
245
237
|
paginate?: boolean;
|
|
246
238
|
withAsset?: boolean;
|
|
239
|
+
includeDeleted?: boolean;
|
|
247
240
|
};
|
|
248
241
|
export type GenerateFloorPayload = {
|
|
249
242
|
overlay?: {
|
|
@@ -267,16 +260,16 @@ export type _360AssetsUploadPayload = {
|
|
|
267
260
|
title: string;
|
|
268
261
|
fileExtension: string;
|
|
269
262
|
}[];
|
|
270
|
-
deviceSerial
|
|
271
|
-
startPosition
|
|
272
|
-
endPosition
|
|
273
|
-
isTimelapse
|
|
274
|
-
isImagesOnly
|
|
263
|
+
deviceSerial?: string;
|
|
264
|
+
startPosition?: string;
|
|
265
|
+
endPosition?: string;
|
|
266
|
+
isTimelapse?: boolean;
|
|
267
|
+
isImagesOnly?: boolean;
|
|
275
268
|
};
|
|
276
269
|
export type Generate360MapRequestPayload = {
|
|
277
|
-
dateId: string;
|
|
270
|
+
dateId: string | number;
|
|
278
271
|
floorId: string;
|
|
279
|
-
cameraOffset: string;
|
|
272
|
+
cameraOffset: string | number;
|
|
280
273
|
startPoint: string;
|
|
281
274
|
endPoint: string;
|
|
282
275
|
drawingId?: number;
|
|
@@ -287,4 +280,85 @@ export type Generate360MapRequestPayload = {
|
|
|
287
280
|
z: number;
|
|
288
281
|
};
|
|
289
282
|
}>;
|
|
283
|
+
startPointIndex?: number;
|
|
284
|
+
endPointIndex?: number;
|
|
285
|
+
};
|
|
286
|
+
export declare enum EModelsType {
|
|
287
|
+
FBX = "FBX",
|
|
288
|
+
PointCloud = "PLY"
|
|
289
|
+
}
|
|
290
|
+
export type _360FloorRef = {
|
|
291
|
+
projectID: string;
|
|
292
|
+
dateID: string | number;
|
|
293
|
+
floorID: _360FloorId;
|
|
294
|
+
};
|
|
295
|
+
export type _360Vector3 = {
|
|
296
|
+
x: number;
|
|
297
|
+
y: number;
|
|
298
|
+
z: number;
|
|
299
|
+
};
|
|
300
|
+
export type _360MarkerData = {
|
|
301
|
+
cameraPosition: _360Vector3;
|
|
302
|
+
nextRoomId: string;
|
|
303
|
+
position: _360Vector3;
|
|
304
|
+
geolocation?: {
|
|
305
|
+
latitude: number;
|
|
306
|
+
longitude: number;
|
|
307
|
+
};
|
|
308
|
+
rotation: {
|
|
309
|
+
_order: string;
|
|
310
|
+
_x: number;
|
|
311
|
+
_y: number;
|
|
312
|
+
_z: number;
|
|
313
|
+
isEuler: boolean;
|
|
314
|
+
x?: number;
|
|
315
|
+
y?: number;
|
|
316
|
+
z?: number;
|
|
317
|
+
};
|
|
318
|
+
};
|
|
319
|
+
export type _360Route = {
|
|
320
|
+
overlayID?: number;
|
|
321
|
+
track?: string;
|
|
322
|
+
cameraHeadingOffset?: number;
|
|
323
|
+
};
|
|
324
|
+
export type _360CalibrationDetails = {
|
|
325
|
+
baseOriginOf360Viewer?: _360Vector3;
|
|
326
|
+
baseOriginOfForgeViewer?: _360Vector3;
|
|
327
|
+
rotationMatrix?: {
|
|
328
|
+
elements: number[];
|
|
329
|
+
};
|
|
330
|
+
scaleMatrix?: {
|
|
331
|
+
elements: number[];
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
export type _360FloorData = {
|
|
335
|
+
_3DMarkers: _360MarkerData[];
|
|
336
|
+
fbxModel: string | null;
|
|
337
|
+
fbxModelHQ: string | null;
|
|
338
|
+
pointCloudModelHQ: string | null;
|
|
339
|
+
initialMarker: string;
|
|
340
|
+
cameraRotation: _360CameraRotation;
|
|
341
|
+
steps: number;
|
|
342
|
+
route: _360Route | null;
|
|
343
|
+
sceneScale: number;
|
|
344
|
+
modelViewerFeatureFlag: boolean;
|
|
345
|
+
imagesOnlyFeatureFlag: boolean;
|
|
346
|
+
forgeBIMFeatureFlag: boolean;
|
|
347
|
+
isForgeGravityEnabled: boolean;
|
|
348
|
+
bimHeight?: number | null;
|
|
349
|
+
initialForgeView: ForgeView | null;
|
|
350
|
+
calibrationDetails: _360CalibrationDetails;
|
|
351
|
+
enhancedLightFeatureFlag: boolean;
|
|
352
|
+
};
|
|
353
|
+
export type _360PinData = {
|
|
354
|
+
position: _360Vector3;
|
|
355
|
+
pinType: string;
|
|
356
|
+
name: string;
|
|
357
|
+
pinId?: string;
|
|
358
|
+
cameraExid?: string;
|
|
359
|
+
currentRoom?: string;
|
|
360
|
+
cameraRotation?: {
|
|
361
|
+
polarAngle: number;
|
|
362
|
+
azimuthAngle: number;
|
|
363
|
+
};
|
|
290
364
|
};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { PaginatedItems, PaginationParams } from "@evercam/api/types";
|
|
1
2
|
export declare enum AiApp {
|
|
2
3
|
GateReport = "gate_report",
|
|
3
4
|
Ppe = "ppe",
|
|
4
|
-
SiteAnalytics = "site_analytics"
|
|
5
|
+
SiteAnalytics = "site_analytics",
|
|
6
|
+
Observations360 = "observations_360"
|
|
5
7
|
}
|
|
6
8
|
export declare enum AiProvider {
|
|
7
9
|
Gemini = "gemini",
|
|
@@ -11,7 +13,8 @@ export declare enum AiProvider {
|
|
|
11
13
|
export declare enum AiConfigsPromptDialogMode {
|
|
12
14
|
Create = "create",
|
|
13
15
|
Edit = "edit",
|
|
14
|
-
View = "view"
|
|
16
|
+
View = "view",
|
|
17
|
+
Subprompt = "subprompt"
|
|
15
18
|
}
|
|
16
19
|
export declare enum AiConfigsKeyDialogMode {
|
|
17
20
|
Create = "create",
|
|
@@ -45,6 +48,11 @@ export declare enum AiPromptModel {
|
|
|
45
48
|
ClaudeSonnet46 = "claude-sonnet-4-6",
|
|
46
49
|
ClaudeHaiku45 = "claude-haiku-4-5"
|
|
47
50
|
}
|
|
51
|
+
export declare enum AiPromptType {
|
|
52
|
+
Prompt = "prompt",
|
|
53
|
+
Parent = "parent",
|
|
54
|
+
Subprompt = "subprompt"
|
|
55
|
+
}
|
|
48
56
|
export interface AiPrompt {
|
|
49
57
|
id: number;
|
|
50
58
|
title: string | null;
|
|
@@ -56,6 +64,9 @@ export interface AiPrompt {
|
|
|
56
64
|
createdBy: string;
|
|
57
65
|
createdAt: string;
|
|
58
66
|
updatedAt: string;
|
|
67
|
+
promptType: AiPromptType;
|
|
68
|
+
parentId: number | null;
|
|
69
|
+
subpromptCount: number;
|
|
59
70
|
}
|
|
60
71
|
export interface AiPromptCreatePayload {
|
|
61
72
|
title?: string | null;
|
|
@@ -64,6 +75,7 @@ export interface AiPromptCreatePayload {
|
|
|
64
75
|
model?: string | null;
|
|
65
76
|
prompt: string;
|
|
66
77
|
outputSchema?: Record<string, unknown> | null;
|
|
78
|
+
promptType?: AiPromptType.Prompt | AiPromptType.Parent;
|
|
67
79
|
}
|
|
68
80
|
export interface AiPromptUpdatePayload {
|
|
69
81
|
title?: string | null;
|
|
@@ -73,23 +85,23 @@ export interface AiPromptUpdatePayload {
|
|
|
73
85
|
prompt?: string;
|
|
74
86
|
outputSchema?: Record<string, unknown> | null;
|
|
75
87
|
}
|
|
76
|
-
export type AiPromptQueryParams = {
|
|
88
|
+
export type AiPromptQueryParams = PaginationParams & {
|
|
77
89
|
app?: string;
|
|
78
90
|
purpose?: string;
|
|
79
91
|
model?: string;
|
|
80
92
|
search?: string;
|
|
81
93
|
createdBy?: string;
|
|
82
|
-
|
|
83
|
-
|
|
94
|
+
promptType?: AiPromptType;
|
|
95
|
+
includeSubprompts?: boolean;
|
|
84
96
|
};
|
|
85
|
-
export interface
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
to: number;
|
|
97
|
+
export interface AiSubpromptCreatePayload {
|
|
98
|
+
title?: string | null;
|
|
99
|
+
purpose: string;
|
|
100
|
+
model?: string | null;
|
|
101
|
+
prompt: string;
|
|
102
|
+
outputSchema?: Record<string, unknown> | null;
|
|
92
103
|
}
|
|
104
|
+
export type AiPromptListResponse = PaginatedItems<AiPrompt>;
|
|
93
105
|
export interface AiPromptCreateResponse {
|
|
94
106
|
created: boolean;
|
|
95
107
|
data: AiPrompt;
|
|
@@ -152,3 +164,81 @@ export interface AiApiKeyDeleteResponse {
|
|
|
152
164
|
count: number;
|
|
153
165
|
message: string;
|
|
154
166
|
}
|
|
167
|
+
export declare enum AiObservationFeasibilityStatus {
|
|
168
|
+
Prod = "prod",
|
|
169
|
+
Beta = "beta",
|
|
170
|
+
Parked = "parked"
|
|
171
|
+
}
|
|
172
|
+
export declare enum AiObservationTimeDetection {
|
|
173
|
+
PerSecond = "per_second",
|
|
174
|
+
PerMinute = "per_minute",
|
|
175
|
+
Hourly = "hourly",
|
|
176
|
+
Daily = "daily"
|
|
177
|
+
}
|
|
178
|
+
export interface AiObservationFeasibilityConfig {
|
|
179
|
+
bg: string;
|
|
180
|
+
fg: string;
|
|
181
|
+
border: string;
|
|
182
|
+
label: string;
|
|
183
|
+
}
|
|
184
|
+
export declare const AI_OBSERVATION_FEASIBILITY_CONFIGS: Record<AiObservationFeasibilityStatus, AiObservationFeasibilityConfig>;
|
|
185
|
+
export interface AiObservationType {
|
|
186
|
+
id: number;
|
|
187
|
+
observationCode: string;
|
|
188
|
+
name: string;
|
|
189
|
+
description: string | null;
|
|
190
|
+
type: string;
|
|
191
|
+
rules: Record<string, unknown> | null;
|
|
192
|
+
timeDetection: string | null;
|
|
193
|
+
every: number | null;
|
|
194
|
+
severity: number | null;
|
|
195
|
+
feasibilityStatus: AiObservationFeasibilityStatus;
|
|
196
|
+
promptId: number | null;
|
|
197
|
+
promptName: string | null;
|
|
198
|
+
insertedAt: string;
|
|
199
|
+
updatedAt: string;
|
|
200
|
+
}
|
|
201
|
+
export interface AiObservationTypeCreatePayload {
|
|
202
|
+
observationCode: string;
|
|
203
|
+
name: string;
|
|
204
|
+
description?: string | null;
|
|
205
|
+
type: string;
|
|
206
|
+
rules?: Record<string, unknown> | null;
|
|
207
|
+
timeDetection?: string | null;
|
|
208
|
+
every?: number | null;
|
|
209
|
+
severity?: number | null;
|
|
210
|
+
feasibilityStatus: AiObservationFeasibilityStatus;
|
|
211
|
+
promptId?: number | null;
|
|
212
|
+
}
|
|
213
|
+
export type AiObservationTypeUpdatePayload = Partial<Omit<AiObservationTypeCreatePayload, "observationCode">>;
|
|
214
|
+
export type AiObservationTypeQueryParams = {
|
|
215
|
+
search?: string;
|
|
216
|
+
feasibilityStatus?: string;
|
|
217
|
+
sourceType?: string;
|
|
218
|
+
type?: string;
|
|
219
|
+
page?: number;
|
|
220
|
+
limit?: number;
|
|
221
|
+
};
|
|
222
|
+
export interface AiObservationTypeListResponse {
|
|
223
|
+
items: AiObservationType[];
|
|
224
|
+
total: number;
|
|
225
|
+
page: number;
|
|
226
|
+
limit: number;
|
|
227
|
+
from: number;
|
|
228
|
+
to: number;
|
|
229
|
+
}
|
|
230
|
+
export interface AiObservationTypeCreateResponse {
|
|
231
|
+
created: boolean;
|
|
232
|
+
data: AiObservationType;
|
|
233
|
+
message: string;
|
|
234
|
+
}
|
|
235
|
+
export interface AiObservationTypeUpdateResponse {
|
|
236
|
+
updated: boolean;
|
|
237
|
+
id: number | string;
|
|
238
|
+
message: string;
|
|
239
|
+
}
|
|
240
|
+
export interface AiObservationTypeDeleteResponse {
|
|
241
|
+
deleted: boolean;
|
|
242
|
+
count: number;
|
|
243
|
+
message: string;
|
|
244
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare enum AnalyticsEventPageId {
|
|
2
2
|
Timeline = "Timeline",
|
|
3
|
-
|
|
3
|
+
Chat = "Chat",
|
|
4
4
|
Recordings = "Recordings",
|
|
5
5
|
Liveview = "LiveView",
|
|
6
6
|
Compare = "Compare",
|
|
@@ -60,12 +60,12 @@ export declare enum AnalyticsEvent {
|
|
|
60
60
|
MarkUpTool = "MarkUpTool-Toggle",
|
|
61
61
|
Comment = "Comment-Toggle",
|
|
62
62
|
Compare = "Compare-Toggle",
|
|
63
|
-
Copilot = "Copilot-Toggle",
|
|
64
63
|
DownloadMediaOpen = "DownloadMedia-Open",
|
|
65
64
|
SettingsAccountUpdatePassword = "UpdatePassword",
|
|
66
65
|
SettingsAccountUpdatePersonalInformation = "UpdatePersonalInformation",
|
|
67
66
|
SettingsAccountRevokeSession = "RevokeSession",
|
|
68
67
|
SettingsAccountCancelRevokeSession = "CancelRevokeSession",
|
|
68
|
+
SettingsAccountRevokeAuthorizedApp = "RevokeAuthorizedApp",
|
|
69
69
|
SettingsAccountClickRowsPerPage = "ClickRowsPerPage",
|
|
70
70
|
SettingsAccountOpenDeleteAccountDialog = "DeleteAccount",
|
|
71
71
|
SettingsConnectorsConnectToProcore = "ConnectToProcore",
|
|
@@ -79,6 +79,9 @@ export declare enum AnalyticsEvent {
|
|
|
79
79
|
SettingsConnectorsRemoveVoyageControlConnection = "RemoveVoyageControl",
|
|
80
80
|
SettingsConnectorsToggleConnectorPromptDialog = "ToggleConnectorPromptDialog",
|
|
81
81
|
SettingsConnectorsToggleVoyageControlDialog = "ToggleVoyageControlDialog",
|
|
82
|
+
SettingsConnectorsConnectToHammertech = "ConnectToHammertech",
|
|
83
|
+
SettingsConnectorsRemoveHammertechConnection = "RemoveHammertech",
|
|
84
|
+
SettingsConnectorsToggleHammertechDialog = "ToggleHammertechDialog",
|
|
82
85
|
WidgetsSelectTypeThreeSixty = "Widgets-SelectType360",
|
|
83
86
|
WidgetsSelectProject = "SelectProject",
|
|
84
87
|
WidgetsSelect360Date = "Select360Date",
|
|
@@ -153,12 +156,6 @@ export declare enum AnalyticsEvent {
|
|
|
153
156
|
TimelineCompareSlide = "Compare-Slide",
|
|
154
157
|
TimelineSelectMilestoneItem = "Timeline-SelectMilestoneItem",
|
|
155
158
|
TimelineSelectTimestamp = "Timeline-SelectTimestamp",
|
|
156
|
-
CopilotSendMessage = "Copilot-SendMessage",
|
|
157
|
-
CopilotClickTimestamp = "Copilot-ClickTimestamp",
|
|
158
|
-
CopilotRegenerate = "Copilot-Regenerate",
|
|
159
|
-
CopilotError = "Copilot-Error",
|
|
160
|
-
CopilotNavigation = "Copilot-Navigation",
|
|
161
|
-
CopilotToggle = "Copilot-Toggle",
|
|
162
159
|
GroupsVisibilityMobileCapture = "GroupsVisibility-MobileCapture",
|
|
163
160
|
GroupsVisibilityAnpr = "GroupsVisibility-Anpr",
|
|
164
161
|
GroupsVisibilityComments = "GroupsVisibility-Comments",
|
|
@@ -192,6 +189,7 @@ export declare enum AnalyticsEvent {
|
|
|
192
189
|
XraySendToConnectorProcoreObservations = "Xray-SendToConnector-Procore-Observations",
|
|
193
190
|
XraySendToConnectorAconex = "Xray-SendToConnector-Aconex",
|
|
194
191
|
XraySendToConnectorAutodesk = "Xray-SendToConnector-Autodesk",
|
|
192
|
+
XraySendToConnectorHammerTech = "Xray-SendToConnector-HammerTech",
|
|
195
193
|
WeatherGoBackDate = "Weather-GoBackDate",
|
|
196
194
|
WeatherGoForwardDate = "Weather-GoForwardDate",
|
|
197
195
|
WeatherReportExportFile = "ExportFile",
|
|
@@ -261,6 +259,7 @@ export declare enum AnalyticsEvent {
|
|
|
261
259
|
MarkUpToolSendToConnectorProcoreObservations = "MarkUpTool-SendToConnector-Procore-Observations",
|
|
262
260
|
MarkUpToolSendToConnectorAconex = "MarkUpTool-SendToConnector-Aconex",
|
|
263
261
|
MarkUpToolSendToConnectorAutodesk = "MarkUpTool-SendToConnector-Autodesk",
|
|
262
|
+
MarkUpToolSendToConnectorHammerTech = "MarkUpTool-SendToConnector-HammerTech",
|
|
264
263
|
MarkUpToolSendViaEmail = "MarkUpTool-SendViaEmail",
|
|
265
264
|
MarkUpToolSendViaEmailSent = "MarkUpTool-SendViaEmail-Sent",
|
|
266
265
|
RecordingsCancelExportDialog = "CancelExportDialog",
|
|
@@ -292,6 +291,7 @@ export declare enum AnalyticsEvent {
|
|
|
292
291
|
ThreeSixtyDisableMeasuringTool = "DisableMeasuringTool",
|
|
293
292
|
ThreeSixtyDisableCommnetTool = "DisableCommentTool",
|
|
294
293
|
ThreeSixtyEnableMeasuringTool = "EnableMeasuringTool",
|
|
294
|
+
ThreeSixtyMeasuringPerformed = "measuring_performed",
|
|
295
295
|
ThreeSixtyEnableCommentTool = "EnableCommentTool",
|
|
296
296
|
ThreeSixtyLockCompare = "LockCompare",
|
|
297
297
|
ThreeSixtyLockForgeBIM = "LockForgeBIM",
|
|
@@ -312,13 +312,7 @@ export declare enum AnalyticsEvent {
|
|
|
312
312
|
ThreeSixtyToggleMinimapVisibility = "ToggleMinimapVisibility",
|
|
313
313
|
ThreeSixtyToggleMiniModel = "ToggleMiniModel",
|
|
314
314
|
ThreeSixtyToggleCommentsVisibility = "ToggleCommentsVisibility",
|
|
315
|
-
|
|
316
|
-
ThreeSixtyTourPlay = "Tour-Play",
|
|
317
|
-
ThreeSixtyTourSetSpeedXHalve = "Tour-SetSpeedX0.5",
|
|
318
|
-
ThreeSixtyTourSetSpeedX1 = "Tour-SetSpeedX1",
|
|
319
|
-
ThreeSixtyTourSetSpeedX2 = "Tour-SetSpeedX2",
|
|
320
|
-
ThreeSixtyTourSetSpeedX4 = "Tour-SetSpeedX4",
|
|
321
|
-
ThreeSixtyTourToggleLoop = "Tour-ToggleLoop",
|
|
315
|
+
ThreeSixtyToggleCameraPinsVisibility = "toggle_camera_pins_visibility",
|
|
322
316
|
ThreeSixtyUnlockCompare = "UnlockCompare",
|
|
323
317
|
ThreeSixtyUnlockForgeBIM = "UnlockForgeBIM",
|
|
324
318
|
ThreeSixtyUploadAssets = "UploadAssets",
|
|
@@ -341,7 +335,6 @@ export declare enum AnalyticsEvent {
|
|
|
341
335
|
DroneResetView = "ResetView",
|
|
342
336
|
DroneSettingsToggle360PathsVisibility = "Settings-Toggle360PathsVisibility",
|
|
343
337
|
DroneSettingsToggleCameraMarkersVisibility = "Settings-ToggleCameraMarkersVisibility",
|
|
344
|
-
DroneSettingsToggleSurroundingBuildingsTool = "Settings-ToggleSurroundingBuildingsTool",
|
|
345
338
|
DroneSettingsToggleCommentsVisibility = "Settings-ToggleCommentsVisibility",
|
|
346
339
|
DroneSettingsToggleAerialShotsVisibility = "Settings-ToggleAerialShotsVisibility",
|
|
347
340
|
DroneSettingsOpenCommentsList = "Settings-OpenCommentsList",
|
|
@@ -352,6 +345,7 @@ export declare enum AnalyticsEvent {
|
|
|
352
345
|
DroneToggleMapStyle = "ToggleMapStyle",
|
|
353
346
|
DroneTogglePointCloud = "TogglePointCloud",
|
|
354
347
|
DroneToggleGaussianSplat = "ToggleGaussianSplat",
|
|
348
|
+
DroneToggleGlobe = "ToggleGlobe",
|
|
355
349
|
DroneToggleQualityMode = "ChooseQuality",
|
|
356
350
|
DroneToggleSideMenu = "ToggleSideMenu",
|
|
357
351
|
DroneToggleImageryPlan = "ToggleImageryPlan",
|
|
@@ -398,6 +392,8 @@ export declare enum AnalyticsEvent {
|
|
|
398
392
|
DrawingClickHome = "ClickHome",
|
|
399
393
|
DrawingsUploadDrawing = "UploadDrawing",
|
|
400
394
|
DrawingsCreateDrawing = "CreateDrawing",
|
|
395
|
+
DrawingsSelectPdfPage = "SelectPdfPage",
|
|
396
|
+
DrawingsDeleteDrawing = "DeleteDrawing",
|
|
401
397
|
DrawingToggleMapStyle = "ToggleMapStyle",
|
|
402
398
|
DrawingToggleMapLabels = "ToggleMapLabels",
|
|
403
399
|
DrawingToggleCamerasLabels = "ToggleCamerasLabels",
|
|
@@ -483,6 +479,7 @@ export declare enum AnalyticsEvent {
|
|
|
483
479
|
GateReportTimelineDateClick = "Timeline-DateClick",
|
|
484
480
|
GateReportToggleThumbnails = "ToggleThumbnails",
|
|
485
481
|
PpeTimelineDateClick = "PpeTimeline-DateClick",
|
|
482
|
+
ObservationsFilterTypes = "Observations-FilterTypes",
|
|
486
483
|
HelpMenuToggleMenuButton = "HelpMenu-ToggleMenuButton",
|
|
487
484
|
HelpMenuOpenProjectContactsDialog = "HelpMenu-OpenProjectContactsDialog",
|
|
488
485
|
HelpMenuOpenLiveChat = "HelpMenu-OpenLiveChat",
|
|
@@ -580,13 +577,17 @@ export declare enum AnalyticsEvent {
|
|
|
580
577
|
SmartSearchThumbnailPlay = "SmartSearch-ThumbnailPlay",
|
|
581
578
|
SmartSearchExportFile = "SmartSearch-ExportFile",
|
|
582
579
|
SmartSearchDownloadHeatmapImage = "SmartSearch-DownloadHeatmapImage",
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
580
|
+
ChatToggleSidebarMode = "Chat-ToggleSidebarMode",
|
|
581
|
+
ChatSendMessage = "Chat-SendMessage",
|
|
582
|
+
ChatClickStarter = "Chat-ClickStarter",
|
|
583
|
+
ChatStopResponse = "Chat-StopResponse",
|
|
584
|
+
ChatCopyAnswer = "Chat-CopyAnswer",
|
|
585
|
+
ChatDownloadPdf = "Chat-DownloadPdf",
|
|
586
|
+
ChatOpenCamera = "Chat-OpenCamera",
|
|
587
|
+
ChatNewConversation = "Chat-NewConversation",
|
|
588
|
+
ChatOpenConversation = "Chat-OpenConversation",
|
|
589
|
+
ChatRenameConversation = "Chat-RenameConversation",
|
|
590
|
+
ChatDeleteConversation = "Chat-DeleteConversation",
|
|
590
591
|
ForgeBimAddModelButtonClicked = "ForgeBim-AddModelButtonClicked",
|
|
591
592
|
ForgeBimUploadChoiceDialogOpened = "ForgeBim-UploadChoiceDialogOpened",
|
|
592
593
|
ForgeBimModelAddMethodSelected = "ForgeBim-ModelAddMethodSelected",
|
|
@@ -606,5 +607,6 @@ export declare enum AnalyticsEvent {
|
|
|
606
607
|
ForgeBimReplaceModelCancelled = "ForgeBim-ReplaceModelCancelled",
|
|
607
608
|
ForgeBimModelAdded = "ForgeBim-ModelAdded",
|
|
608
609
|
ForgeBimModelUpdated = "ForgeBim-ModelUpdated",
|
|
609
|
-
ForgeBimModelSaveFailed = "ForgeBim-ModelSaveFailed"
|
|
610
|
+
ForgeBimModelSaveFailed = "ForgeBim-ModelSaveFailed",
|
|
611
|
+
ForgeBimIngestNotificationFailed = "ForgeBim-IngestNotificationFailed"
|
|
610
612
|
}
|
|
@@ -12,7 +12,6 @@ export declare enum AuditLogActionType {
|
|
|
12
12
|
WAITING_FOR_SITE_VISIT = "waiting_for_site_visit",
|
|
13
13
|
SMS = "sms",
|
|
14
14
|
CUSTOM = "custom",
|
|
15
|
-
PUBLIC_NOTE = "public_note",
|
|
16
15
|
SIM = "sim",
|
|
17
16
|
LOGIN = "login",
|
|
18
17
|
LOGOUT = "logout",
|
|
@@ -29,9 +28,7 @@ export declare enum AuditLogActionType {
|
|
|
29
28
|
DELETE_SHARE = "delete_share",
|
|
30
29
|
SHARE_REQUEST = "share_request",
|
|
31
30
|
DELETE_SHARE_REQUEST = "delete_share_request",
|
|
32
|
-
TRANSFER_OWNERSHIP = "transfer_ownership"
|
|
33
|
-
BIM_NOTE = "bim_note",
|
|
34
|
-
GATE_REPORT_NOTE = "gate_report_note"
|
|
31
|
+
TRANSFER_OWNERSHIP = "transfer_ownership"
|
|
35
32
|
}
|
|
36
33
|
export declare enum AuditLogEntity {
|
|
37
34
|
Cameras = "cameras",
|
|
@@ -3,6 +3,10 @@ export declare enum RoleResourceType {
|
|
|
3
3
|
Camera = "camera",
|
|
4
4
|
Project = "project"
|
|
5
5
|
}
|
|
6
|
+
export declare enum RoleAssignmentLogAction {
|
|
7
|
+
Assign = "assign",
|
|
8
|
+
Unassign = "unassign"
|
|
9
|
+
}
|
|
6
10
|
export type RoleSubRole = {
|
|
7
11
|
resourceId: string;
|
|
8
12
|
roleId: number;
|
|
@@ -59,3 +63,70 @@ export type AuthzScopeCreatePayload = {
|
|
|
59
63
|
export type AuthzScopeUpdatePayload = Partial<AuthzScopeCreatePayload>;
|
|
60
64
|
export declare function isProjectRole(role: Role): role is ProjectResourceRole;
|
|
61
65
|
export declare function isCameraRole(role: Role): role is CameraResourceRole;
|
|
66
|
+
export type RoleAssignmentUserDetails = {
|
|
67
|
+
browser?: string | null;
|
|
68
|
+
device?: string | null;
|
|
69
|
+
os?: string | null;
|
|
70
|
+
country?: string | null;
|
|
71
|
+
countryCode?: string | null;
|
|
72
|
+
ip?: string | null;
|
|
73
|
+
impersonatedBy?: string | null;
|
|
74
|
+
};
|
|
75
|
+
export type RoleAssignmentRowUserDetails = RoleAssignmentUserDetails & {
|
|
76
|
+
via?: string | null;
|
|
77
|
+
inviteId?: number | null;
|
|
78
|
+
inviteEmail?: string | null;
|
|
79
|
+
};
|
|
80
|
+
export type RoleAssignmentLog = {
|
|
81
|
+
id: number;
|
|
82
|
+
action: RoleAssignmentLogAction;
|
|
83
|
+
assignerId: number | null;
|
|
84
|
+
assignerEmail: string | null;
|
|
85
|
+
assigneeId: number | null;
|
|
86
|
+
assigneeEmail: string;
|
|
87
|
+
roleId: number | null;
|
|
88
|
+
roleName: string | null;
|
|
89
|
+
previousRoleId: number | null;
|
|
90
|
+
previousRoleName: string | null;
|
|
91
|
+
scope: RoleResourceType;
|
|
92
|
+
projectExid: string | null;
|
|
93
|
+
cameraExid: string | null;
|
|
94
|
+
cameraName: string | null;
|
|
95
|
+
projectName: string | null;
|
|
96
|
+
ip: string | null;
|
|
97
|
+
userDetails: RoleAssignmentRowUserDetails | null;
|
|
98
|
+
insertedAt: string;
|
|
99
|
+
};
|
|
100
|
+
export type RoleAssignmentResourceRef = {
|
|
101
|
+
exid: string;
|
|
102
|
+
name: string | null;
|
|
103
|
+
};
|
|
104
|
+
export type RoleAssignmentLogBatch = {
|
|
105
|
+
groupId: string;
|
|
106
|
+
batchId: string | null;
|
|
107
|
+
batchSize: number;
|
|
108
|
+
assigneeId: number | null;
|
|
109
|
+
assigneeEmail: string;
|
|
110
|
+
actions: RoleAssignmentLogAction[];
|
|
111
|
+
projects: RoleAssignmentResourceRef[];
|
|
112
|
+
ip: string | null;
|
|
113
|
+
userDetails: RoleAssignmentUserDetails | null;
|
|
114
|
+
insertedAt: string;
|
|
115
|
+
children: RoleAssignmentLog[];
|
|
116
|
+
};
|
|
117
|
+
export type RoleAssignmentLogsParams = {
|
|
118
|
+
page?: number;
|
|
119
|
+
limit?: number;
|
|
120
|
+
sort?: string;
|
|
121
|
+
action?: RoleAssignmentLogAction;
|
|
122
|
+
roleId?: number;
|
|
123
|
+
roleName?: string;
|
|
124
|
+
assigneeEmail?: string;
|
|
125
|
+
assignerEmail?: string;
|
|
126
|
+
scope?: RoleResourceType;
|
|
127
|
+
projectExid?: string;
|
|
128
|
+
cameraExid?: string;
|
|
129
|
+
ip?: string;
|
|
130
|
+
from?: string;
|
|
131
|
+
to?: string;
|
|
132
|
+
};
|