@evercam/api 1.0.0-fefe23b74 → 1.0.0-ff34bc64c
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 +19 -14
- package/dist/api/api/adminApi.d.ts +13 -7
- package/dist/api/api/aiApi.d.ts +67 -2
- package/dist/api/api/authzApi.d.ts +2 -2
- package/dist/api/api/evercamApi.d.ts +23 -18
- package/dist/api/api/evercamLabsApi.d.ts +1 -12
- package/dist/api/api/index.d.ts +1 -0
- package/dist/api/api/ingestApi.d.ts +33 -29
- package/dist/api/api/workflowsApi.d.ts +15 -0
- package/dist/api/types/360.d.ts +28 -59
- package/dist/api/types/admin.d.ts +1 -1
- package/dist/api/types/aiConfigs.d.ts +102 -12
- package/dist/api/types/analytics.d.ts +17 -23
- package/dist/api/types/auditLogs.d.ts +1 -4
- package/dist/api/types/authz.d.ts +34 -9
- package/dist/api/types/automation.d.ts +32 -4
- package/dist/api/types/axios.d.ts +1 -4
- package/dist/api/types/bim.d.ts +3 -5
- package/dist/api/types/camera.d.ts +27 -22
- package/dist/api/types/comments.d.ts +7 -1
- package/dist/api/types/company.d.ts +1 -2
- package/dist/api/types/compare.d.ts +1 -1
- package/dist/api/types/drone.d.ts +1 -2
- package/dist/api/types/errors.d.ts +7 -2
- package/dist/api/types/gateReport.d.ts +0 -11
- package/dist/api/types/gateReportManagement.d.ts +2 -7
- package/dist/api/types/index.d.ts +3 -2
- package/dist/api/types/ingest.d.ts +165 -26
- package/dist/api/types/kit.d.ts +7 -100
- package/dist/api/types/media.d.ts +1 -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 +36 -37
- package/dist/api/types/planner.d.ts +1 -8
- package/dist/api/types/project.d.ts +15 -3
- package/dist/api/types/recording.d.ts +2 -4
- package/dist/api/types/ring.d.ts +16 -16
- package/dist/api/types/roi.d.ts +0 -9
- package/dist/api/types/routeParams.d.ts +1 -0
- package/dist/api/types/shared.d.ts +5 -22
- 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 +39 -4
- 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 -0
- package/dist/api/types/workflows.d.ts +108 -0
- package/dist/api/utils.d.ts +1 -0
- package/dist/index.js +1132 -807
- 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 +180 -53
- package/dist/shared/types/droneUpload.d.ts +66 -0
- package/dist/shared/types/index.d.ts +2 -0
- package/dist/shared/types/observations.d.ts +4 -0
- package/dist/shared/types/report.d.ts +101 -0
- package/dist/shared/utils/datePickerValue.d.ts +36 -0
- package/dist/shared/utils/datePresets.d.ts +31 -0
- package/package.json +1 -1
- package/dist/api/types/copilot.d.ts +0 -162
- package/dist/api/types/vendorModel.d.ts +0 -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;
|
|
@@ -121,6 +123,7 @@ export type _360Scene = {
|
|
|
121
123
|
floors: {
|
|
122
124
|
floorID: _360FloorId;
|
|
123
125
|
name: string;
|
|
126
|
+
isValidated?: boolean;
|
|
124
127
|
}[];
|
|
125
128
|
polarAngle: number;
|
|
126
129
|
azimuthAngle: number;
|
|
@@ -151,24 +154,7 @@ export type _360ProjectListItem = {
|
|
|
151
154
|
providerSuffix: string;
|
|
152
155
|
timeline: string;
|
|
153
156
|
uniqueId: string;
|
|
154
|
-
|
|
155
|
-
export type _360FullProject = {
|
|
156
|
-
dates: _360SceneWithFloors[];
|
|
157
|
-
integrationType: string;
|
|
158
|
-
projectId: string;
|
|
159
|
-
projectName: string;
|
|
160
|
-
providerID: string;
|
|
161
|
-
providerPrefix: string;
|
|
162
|
-
providerSuffix: string;
|
|
163
|
-
timeline: string;
|
|
164
|
-
uniqueId: string;
|
|
165
|
-
};
|
|
166
|
-
export type _360FullFloor = _360Floor & {
|
|
167
|
-
id: _360FloorId;
|
|
168
|
-
name: string;
|
|
169
|
-
};
|
|
170
|
-
export type _360SceneWithFloors = _360Scene & {
|
|
171
|
-
floors: _360FullFloor[];
|
|
157
|
+
requiresValidation?: boolean;
|
|
172
158
|
};
|
|
173
159
|
export type _360ProjectJsonResponse = {
|
|
174
160
|
dates: _360Scene[];
|
|
@@ -199,7 +185,9 @@ export declare enum _360UrlParams {
|
|
|
199
185
|
LockMarker = "lockMarker",
|
|
200
186
|
IsWidget = "isWidget",
|
|
201
187
|
MediaLocked = "mediaLocked",
|
|
202
|
-
Debug = "debug"
|
|
188
|
+
Debug = "debug",
|
|
189
|
+
RequiresValidation = "requires_validation",
|
|
190
|
+
CommentId = "comment_id"
|
|
203
191
|
}
|
|
204
192
|
export declare enum _360AssetType {
|
|
205
193
|
Video = "video",
|
|
@@ -213,11 +201,6 @@ export declare enum _360AssetLabel {
|
|
|
213
201
|
Walks = "walks",
|
|
214
202
|
MobilePhotos = "mobilePhotos"
|
|
215
203
|
}
|
|
216
|
-
export declare enum _360Feature {
|
|
217
|
-
BIM = "BIM",
|
|
218
|
-
Minimap = "Minimap",
|
|
219
|
-
Minimodel = "Minimodel"
|
|
220
|
-
}
|
|
221
204
|
export declare enum _360IntergrationType {
|
|
222
205
|
Evercam = "Evercam",
|
|
223
206
|
Matterport = "Matterport",
|
|
@@ -230,12 +213,11 @@ export declare enum PathMarkerColor {
|
|
|
230
213
|
End = "#fd7567",
|
|
231
214
|
Default = "#2196F3"
|
|
232
215
|
}
|
|
233
|
-
export type _360AssetsQueryParams = {
|
|
234
|
-
page: number;
|
|
235
|
-
limit: number;
|
|
216
|
+
export type _360AssetsQueryParams = PaginationParams & {
|
|
236
217
|
projectId: string;
|
|
237
218
|
date: DateType;
|
|
238
219
|
floor: string;
|
|
220
|
+
name: string;
|
|
239
221
|
id: string;
|
|
240
222
|
};
|
|
241
223
|
export type _360AssetsRequestPayload = {
|
|
@@ -244,7 +226,7 @@ export type _360AssetsRequestPayload = {
|
|
|
244
226
|
floor: string;
|
|
245
227
|
uploadedBy?: string;
|
|
246
228
|
};
|
|
247
|
-
export type DrawingsRequestPayload = {
|
|
229
|
+
export type DrawingsRequestPayload = PaginationParams & {
|
|
248
230
|
projectId?: string;
|
|
249
231
|
name?: string;
|
|
250
232
|
changedBy?: string;
|
|
@@ -252,8 +234,6 @@ export type DrawingsRequestPayload = {
|
|
|
252
234
|
startDate?: string;
|
|
253
235
|
endDate?: string;
|
|
254
236
|
id?: number;
|
|
255
|
-
page?: number;
|
|
256
|
-
limit?: number;
|
|
257
237
|
paginate?: boolean;
|
|
258
238
|
withAsset?: boolean;
|
|
259
239
|
includeDeleted?: boolean;
|
|
@@ -280,16 +260,16 @@ export type _360AssetsUploadPayload = {
|
|
|
280
260
|
title: string;
|
|
281
261
|
fileExtension: string;
|
|
282
262
|
}[];
|
|
283
|
-
deviceSerial
|
|
284
|
-
startPosition
|
|
285
|
-
endPosition
|
|
286
|
-
isTimelapse
|
|
287
|
-
isImagesOnly
|
|
263
|
+
deviceSerial?: string;
|
|
264
|
+
startPosition?: string;
|
|
265
|
+
endPosition?: string;
|
|
266
|
+
isTimelapse?: boolean;
|
|
267
|
+
isImagesOnly?: boolean;
|
|
288
268
|
};
|
|
289
269
|
export type Generate360MapRequestPayload = {
|
|
290
|
-
dateId: string;
|
|
270
|
+
dateId: string | number;
|
|
291
271
|
floorId: string;
|
|
292
|
-
cameraOffset: string;
|
|
272
|
+
cameraOffset: string | number;
|
|
293
273
|
startPoint: string;
|
|
294
274
|
endPoint: string;
|
|
295
275
|
drawingId?: number;
|
|
@@ -309,8 +289,8 @@ export declare enum EModelsType {
|
|
|
309
289
|
}
|
|
310
290
|
export type _360FloorRef = {
|
|
311
291
|
projectID: string;
|
|
312
|
-
dateID: string;
|
|
313
|
-
floorID:
|
|
292
|
+
dateID: string | number;
|
|
293
|
+
floorID: _360FloorId;
|
|
314
294
|
};
|
|
315
295
|
export type _360Vector3 = {
|
|
316
296
|
x: number;
|
|
@@ -321,7 +301,7 @@ export type _360MarkerData = {
|
|
|
321
301
|
cameraPosition: _360Vector3;
|
|
322
302
|
nextRoomId: string;
|
|
323
303
|
position: _360Vector3;
|
|
324
|
-
geolocation
|
|
304
|
+
geolocation?: {
|
|
325
305
|
latitude: number;
|
|
326
306
|
longitude: number;
|
|
327
307
|
};
|
|
@@ -331,6 +311,9 @@ export type _360MarkerData = {
|
|
|
331
311
|
_y: number;
|
|
332
312
|
_z: number;
|
|
333
313
|
isEuler: boolean;
|
|
314
|
+
x?: number;
|
|
315
|
+
y?: number;
|
|
316
|
+
z?: number;
|
|
334
317
|
};
|
|
335
318
|
};
|
|
336
319
|
export type _360Route = {
|
|
@@ -362,7 +345,8 @@ export type _360FloorData = {
|
|
|
362
345
|
imagesOnlyFeatureFlag: boolean;
|
|
363
346
|
forgeBIMFeatureFlag: boolean;
|
|
364
347
|
isForgeGravityEnabled: boolean;
|
|
365
|
-
|
|
348
|
+
bimHeight?: number | null;
|
|
349
|
+
initialForgeView: ForgeView | null;
|
|
366
350
|
calibrationDetails: _360CalibrationDetails;
|
|
367
351
|
enhancedLightFeatureFlag: boolean;
|
|
368
352
|
};
|
|
@@ -378,18 +362,3 @@ export type _360PinData = {
|
|
|
378
362
|
azimuthAngle: number;
|
|
379
363
|
};
|
|
380
364
|
};
|
|
381
|
-
export type _360ForgeTimelineItem = {
|
|
382
|
-
taskNumber: number;
|
|
383
|
-
taskID: string;
|
|
384
|
-
actualStartDate: string;
|
|
385
|
-
actualEndDate: string;
|
|
386
|
-
plannedStartDate: string;
|
|
387
|
-
plannedEndDate: string;
|
|
388
|
-
objectIDs: number[];
|
|
389
|
-
};
|
|
390
|
-
export type _360ForgeProject = {
|
|
391
|
-
urns?: Array<{
|
|
392
|
-
urn: string;
|
|
393
|
-
}>;
|
|
394
|
-
timeline?: _360ForgeTimelineItem[];
|
|
395
|
-
};
|
|
@@ -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",
|
|
@@ -156,12 +156,6 @@ export declare enum AnalyticsEvent {
|
|
|
156
156
|
TimelineCompareSlide = "Compare-Slide",
|
|
157
157
|
TimelineSelectMilestoneItem = "Timeline-SelectMilestoneItem",
|
|
158
158
|
TimelineSelectTimestamp = "Timeline-SelectTimestamp",
|
|
159
|
-
CopilotSendMessage = "Copilot-SendMessage",
|
|
160
|
-
CopilotClickTimestamp = "Copilot-ClickTimestamp",
|
|
161
|
-
CopilotRegenerate = "Copilot-Regenerate",
|
|
162
|
-
CopilotError = "Copilot-Error",
|
|
163
|
-
CopilotNavigation = "Copilot-Navigation",
|
|
164
|
-
CopilotToggle = "Copilot-Toggle",
|
|
165
159
|
GroupsVisibilityMobileCapture = "GroupsVisibility-MobileCapture",
|
|
166
160
|
GroupsVisibilityAnpr = "GroupsVisibility-Anpr",
|
|
167
161
|
GroupsVisibilityComments = "GroupsVisibility-Comments",
|
|
@@ -319,13 +313,6 @@ export declare enum AnalyticsEvent {
|
|
|
319
313
|
ThreeSixtyToggleMiniModel = "ToggleMiniModel",
|
|
320
314
|
ThreeSixtyToggleCommentsVisibility = "ToggleCommentsVisibility",
|
|
321
315
|
ThreeSixtyToggleCameraPinsVisibility = "toggle_camera_pins_visibility",
|
|
322
|
-
ThreeSixtyTourPause = "Tour-Pause",
|
|
323
|
-
ThreeSixtyTourPlay = "Tour-Play",
|
|
324
|
-
ThreeSixtyTourSetSpeedXHalve = "Tour-SetSpeedX0.5",
|
|
325
|
-
ThreeSixtyTourSetSpeedX1 = "Tour-SetSpeedX1",
|
|
326
|
-
ThreeSixtyTourSetSpeedX2 = "Tour-SetSpeedX2",
|
|
327
|
-
ThreeSixtyTourSetSpeedX4 = "Tour-SetSpeedX4",
|
|
328
|
-
ThreeSixtyTourToggleLoop = "Tour-ToggleLoop",
|
|
329
316
|
ThreeSixtyUnlockCompare = "UnlockCompare",
|
|
330
317
|
ThreeSixtyUnlockForgeBIM = "UnlockForgeBIM",
|
|
331
318
|
ThreeSixtyUploadAssets = "UploadAssets",
|
|
@@ -348,7 +335,6 @@ export declare enum AnalyticsEvent {
|
|
|
348
335
|
DroneResetView = "ResetView",
|
|
349
336
|
DroneSettingsToggle360PathsVisibility = "Settings-Toggle360PathsVisibility",
|
|
350
337
|
DroneSettingsToggleCameraMarkersVisibility = "Settings-ToggleCameraMarkersVisibility",
|
|
351
|
-
DroneSettingsToggleSurroundingBuildingsTool = "Settings-ToggleSurroundingBuildingsTool",
|
|
352
338
|
DroneSettingsToggleCommentsVisibility = "Settings-ToggleCommentsVisibility",
|
|
353
339
|
DroneSettingsToggleAerialShotsVisibility = "Settings-ToggleAerialShotsVisibility",
|
|
354
340
|
DroneSettingsOpenCommentsList = "Settings-OpenCommentsList",
|
|
@@ -359,6 +345,7 @@ export declare enum AnalyticsEvent {
|
|
|
359
345
|
DroneToggleMapStyle = "ToggleMapStyle",
|
|
360
346
|
DroneTogglePointCloud = "TogglePointCloud",
|
|
361
347
|
DroneToggleGaussianSplat = "ToggleGaussianSplat",
|
|
348
|
+
DroneToggleGlobe = "ToggleGlobe",
|
|
362
349
|
DroneToggleQualityMode = "ChooseQuality",
|
|
363
350
|
DroneToggleSideMenu = "ToggleSideMenu",
|
|
364
351
|
DroneToggleImageryPlan = "ToggleImageryPlan",
|
|
@@ -405,6 +392,7 @@ export declare enum AnalyticsEvent {
|
|
|
405
392
|
DrawingClickHome = "ClickHome",
|
|
406
393
|
DrawingsUploadDrawing = "UploadDrawing",
|
|
407
394
|
DrawingsCreateDrawing = "CreateDrawing",
|
|
395
|
+
DrawingsSelectPdfPage = "SelectPdfPage",
|
|
408
396
|
DrawingsDeleteDrawing = "DeleteDrawing",
|
|
409
397
|
DrawingToggleMapStyle = "ToggleMapStyle",
|
|
410
398
|
DrawingToggleMapLabels = "ToggleMapLabels",
|
|
@@ -454,6 +442,7 @@ export declare enum AnalyticsEvent {
|
|
|
454
442
|
ProjectSettingsMembersBulkRemove = "BulkRemove",
|
|
455
443
|
ProjectSettingsMembersInviteSent = "InviteSent",
|
|
456
444
|
ProjectSettingsMembersRejectInvite = "RejectInvite",
|
|
445
|
+
ProjectSettingsMembersResendInvite = "ResendInvite",
|
|
457
446
|
ProjectSettingsMembersAddMember = "AddMember",
|
|
458
447
|
ProjectSettingsMembersBulkRoleUpdate = "BulkRoleUpdate",
|
|
459
448
|
ProjectSettingsMembersDeleteCameraAccess = "DeleteCameraAccess",
|
|
@@ -491,6 +480,7 @@ export declare enum AnalyticsEvent {
|
|
|
491
480
|
GateReportTimelineDateClick = "Timeline-DateClick",
|
|
492
481
|
GateReportToggleThumbnails = "ToggleThumbnails",
|
|
493
482
|
PpeTimelineDateClick = "PpeTimeline-DateClick",
|
|
483
|
+
ObservationsFilterTypes = "Observations-FilterTypes",
|
|
494
484
|
HelpMenuToggleMenuButton = "HelpMenu-ToggleMenuButton",
|
|
495
485
|
HelpMenuOpenProjectContactsDialog = "HelpMenu-OpenProjectContactsDialog",
|
|
496
486
|
HelpMenuOpenLiveChat = "HelpMenu-OpenLiveChat",
|
|
@@ -588,13 +578,17 @@ export declare enum AnalyticsEvent {
|
|
|
588
578
|
SmartSearchThumbnailPlay = "SmartSearch-ThumbnailPlay",
|
|
589
579
|
SmartSearchExportFile = "SmartSearch-ExportFile",
|
|
590
580
|
SmartSearchDownloadHeatmapImage = "SmartSearch-DownloadHeatmapImage",
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
581
|
+
ChatToggleSidebarMode = "Chat-ToggleSidebarMode",
|
|
582
|
+
ChatSendMessage = "Chat-SendMessage",
|
|
583
|
+
ChatClickStarter = "Chat-ClickStarter",
|
|
584
|
+
ChatStopResponse = "Chat-StopResponse",
|
|
585
|
+
ChatCopyAnswer = "Chat-CopyAnswer",
|
|
586
|
+
ChatDownloadPdf = "Chat-DownloadPdf",
|
|
587
|
+
ChatOpenCamera = "Chat-OpenCamera",
|
|
588
|
+
ChatNewConversation = "Chat-NewConversation",
|
|
589
|
+
ChatOpenConversation = "Chat-OpenConversation",
|
|
590
|
+
ChatRenameConversation = "Chat-RenameConversation",
|
|
591
|
+
ChatDeleteConversation = "Chat-DeleteConversation",
|
|
598
592
|
ForgeBimAddModelButtonClicked = "ForgeBim-AddModelButtonClicked",
|
|
599
593
|
ForgeBimUploadChoiceDialogOpened = "ForgeBim-UploadChoiceDialogOpened",
|
|
600
594
|
ForgeBimModelAddMethodSelected = "ForgeBim-ModelAddMethodSelected",
|
|
@@ -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",
|
|
@@ -63,6 +63,20 @@ export type AuthzScopeCreatePayload = {
|
|
|
63
63
|
export type AuthzScopeUpdatePayload = Partial<AuthzScopeCreatePayload>;
|
|
64
64
|
export declare function isProjectRole(role: Role): role is ProjectResourceRole;
|
|
65
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
|
+
};
|
|
66
80
|
export type RoleAssignmentLog = {
|
|
67
81
|
id: number;
|
|
68
82
|
action: RoleAssignmentLogAction;
|
|
@@ -77,17 +91,28 @@ export type RoleAssignmentLog = {
|
|
|
77
91
|
scope: RoleResourceType;
|
|
78
92
|
projectExid: string | null;
|
|
79
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[];
|
|
80
112
|
ip: string | null;
|
|
81
|
-
userDetails:
|
|
82
|
-
browser?: string | null;
|
|
83
|
-
device?: string | null;
|
|
84
|
-
os?: string | null;
|
|
85
|
-
country?: string | null;
|
|
86
|
-
countryCode?: string | null;
|
|
87
|
-
ip?: string | null;
|
|
88
|
-
impersonatedBy?: string | null;
|
|
89
|
-
} | null;
|
|
113
|
+
userDetails: RoleAssignmentUserDetails | null;
|
|
90
114
|
insertedAt: string;
|
|
115
|
+
children: RoleAssignmentLog[];
|
|
91
116
|
};
|
|
92
117
|
export type RoleAssignmentLogsParams = {
|
|
93
118
|
page?: number;
|
|
@@ -8,8 +8,28 @@ export declare enum AutomationProvider {
|
|
|
8
8
|
export declare enum AutomationType {
|
|
9
9
|
Photo = "photo",
|
|
10
10
|
Compare = "compare",
|
|
11
|
-
GateReport = "gate_report"
|
|
11
|
+
GateReport = "gate_report",
|
|
12
|
+
Weather = "weather"
|
|
12
13
|
}
|
|
14
|
+
export declare enum AutomationWeatherReportType {
|
|
15
|
+
Forecast = "forecast",
|
|
16
|
+
History = "history"
|
|
17
|
+
}
|
|
18
|
+
export declare enum AutomationExportFormat {
|
|
19
|
+
Pdf = "pdf",
|
|
20
|
+
Csv = "csv"
|
|
21
|
+
}
|
|
22
|
+
export declare enum AutomationWeatherDataGranularity {
|
|
23
|
+
Daily = "daily",
|
|
24
|
+
Hourly = "hourly"
|
|
25
|
+
}
|
|
26
|
+
export type AutomationWeatherConfig = {
|
|
27
|
+
reportType: AutomationWeatherReportType;
|
|
28
|
+
exportFormat: AutomationExportFormat;
|
|
29
|
+
dataGranularity?: AutomationWeatherDataGranularity;
|
|
30
|
+
selectedColumns?: string[];
|
|
31
|
+
forecastDays?: number;
|
|
32
|
+
};
|
|
13
33
|
export type AutomationCompareConfig = {
|
|
14
34
|
compareDelay: number;
|
|
15
35
|
};
|
|
@@ -22,7 +42,6 @@ export type AutomationGateReportConfig = {
|
|
|
22
42
|
fileType: string;
|
|
23
43
|
period: number;
|
|
24
44
|
columns: string[];
|
|
25
|
-
recipients: string | string[];
|
|
26
45
|
};
|
|
27
46
|
export type AutomationEmailProviderConfig = {
|
|
28
47
|
cameraExids?: CameraExid[];
|
|
@@ -51,7 +70,7 @@ export type AutomationAutodeskProviderConfig = {
|
|
|
51
70
|
folderName: string;
|
|
52
71
|
};
|
|
53
72
|
export type AutomationProviderConfig = AutomationEmailProviderConfig | AutomationProcoreProviderConfig | AutomationAconexProviderConfig | AutomationAutodeskProviderConfig;
|
|
54
|
-
export type AutomationOptionsConfig = AutomationCompareConfig | AutomationGateReportConfig | {};
|
|
73
|
+
export type AutomationOptionsConfig = AutomationCompareConfig | AutomationGateReportConfig | AutomationWeatherConfig | {};
|
|
55
74
|
export type AutomationConfig = AutomationProviderConfig & AutomationOptionsConfig;
|
|
56
75
|
export type Automation = {
|
|
57
76
|
id?: number;
|
|
@@ -81,8 +100,17 @@ export type AutomationProviderOption = {
|
|
|
81
100
|
iconSize?: string;
|
|
82
101
|
requiresConnection: boolean;
|
|
83
102
|
};
|
|
103
|
+
export type AutomationTypeOption = {
|
|
104
|
+
labelTranslationKey: string;
|
|
105
|
+
descriptionTranslationKey: string;
|
|
106
|
+
label?: string;
|
|
107
|
+
description?: string;
|
|
108
|
+
value: AutomationType;
|
|
109
|
+
icon: string;
|
|
110
|
+
iconType?: string;
|
|
111
|
+
};
|
|
84
112
|
export type FormattedAutomation = {
|
|
85
|
-
cameraExids
|
|
113
|
+
cameraExids?: string;
|
|
86
114
|
name: string;
|
|
87
115
|
subject: string;
|
|
88
116
|
provider: AutomationProvider;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import type { AxiosError, AxiosInstance, AxiosRequestConfig, AxiosResponse, CancelTokenSource, CancelTokenStatic } from "axios";
|
|
2
2
|
import { Swr } from "@evercam/api/api/client/swr/Swr";
|
|
3
|
-
export type TimedRequest<T> = Promise<AxiosResponse<T> & {
|
|
4
|
-
duration: number;
|
|
5
|
-
error?: AxiosError;
|
|
6
|
-
}>;
|
|
7
3
|
export type AxiosEnvironment = {
|
|
8
4
|
baseUrl?: string | null;
|
|
9
5
|
stagingAiApiUrl?: string | null;
|
|
@@ -17,6 +13,7 @@ export type AxiosEnvironment = {
|
|
|
17
13
|
weatherApiBaseUrl?: string | null;
|
|
18
14
|
evercamLabsUrl?: string | null;
|
|
19
15
|
isLabsStaging?: boolean;
|
|
16
|
+
workflowsApiUrl?: string | null;
|
|
20
17
|
firebaseDbLink?: string | null;
|
|
21
18
|
firebaseStorageUrl?: string | null;
|
|
22
19
|
firebaseStorageToken?: string | null;
|
package/dist/api/types/bim.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CompareLogoPosition, DateType } from "@evercam/api/types";
|
|
1
|
+
import { CompareLogoPosition, DateType, PaginationParams } from "@evercam/api/types";
|
|
2
2
|
export declare enum BimModelType {
|
|
3
3
|
Architectural = "Architectural",
|
|
4
4
|
Structural = "Structural",
|
|
@@ -40,7 +40,7 @@ export type BimCompareExportRequestPayload = {
|
|
|
40
40
|
cameraExid: string;
|
|
41
41
|
snapshotDate: string;
|
|
42
42
|
bimDate: string;
|
|
43
|
-
embed
|
|
43
|
+
embed?: string;
|
|
44
44
|
compareExid: string;
|
|
45
45
|
createAnimation: boolean;
|
|
46
46
|
bimTransparency?: number;
|
|
@@ -137,9 +137,7 @@ export type ProcessPendingImagesBimParams = {
|
|
|
137
137
|
apiId: string;
|
|
138
138
|
apiKey: string;
|
|
139
139
|
};
|
|
140
|
-
export type BimUploadsQueryParams = {
|
|
141
|
-
page: number;
|
|
142
|
-
limit: number;
|
|
140
|
+
export type BimUploadsQueryParams = PaginationParams & {
|
|
143
141
|
projectId: string;
|
|
144
142
|
id: string;
|
|
145
143
|
uploadedBy: string;
|