@evercam/api 1.0.0-4656f3be4 → 1.0.0-47847a4fe
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 +18 -3
- package/dist/api/api/adminApi.d.ts +82 -84
- package/dist/api/api/aiApi.d.ts +4 -4
- package/dist/api/api/evercamApi.d.ts +19 -27
- package/dist/api/api/evercamLabsApi.d.ts +5 -13
- 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 +38 -30
- package/dist/api/api/reportsApi.d.ts +15 -0
- package/dist/api/types/360.d.ts +17 -9
- package/dist/api/types/admin.d.ts +37 -3
- package/dist/api/types/analytics.d.ts +49 -15
- package/dist/api/types/anpr.d.ts +5 -4
- package/dist/api/types/apiKey.d.ts +70 -0
- package/dist/api/types/auditLogs.d.ts +161 -21
- package/dist/api/types/automation.d.ts +9 -0
- package/dist/api/types/axios.d.ts +1 -0
- package/dist/api/types/bim.d.ts +27 -7
- package/dist/api/types/camera.d.ts +224 -96
- package/dist/api/types/comments.d.ts +63 -25
- package/dist/api/types/company.d.ts +11 -5
- package/dist/api/types/compare.d.ts +1 -1
- package/dist/api/types/detections.d.ts +3 -0
- package/dist/api/types/emailMessages.d.ts +27 -0
- package/dist/api/types/errors.d.ts +7 -2
- package/dist/api/types/gateReport.d.ts +2 -1
- package/dist/api/types/hdd.d.ts +1 -1
- package/dist/api/types/index.d.ts +3 -1
- package/dist/api/types/ingest.d.ts +105 -25
- package/dist/api/types/kit.d.ts +56 -68
- package/dist/api/types/media.d.ts +25 -3
- package/dist/api/types/notification.d.ts +12 -1
- package/dist/api/types/nvr.d.ts +39 -8
- package/dist/api/types/observationEvents.d.ts +26 -0
- package/dist/api/types/observations.d.ts +14 -9
- package/dist/api/types/posthog.d.ts +36 -0
- package/dist/api/types/progressPhoto.d.ts +38 -25
- package/dist/api/types/project.d.ts +61 -22
- package/dist/api/types/recycleBin.d.ts +8 -2
- package/dist/api/types/reports.d.ts +109 -0
- package/dist/api/types/router.d.ts +15 -10
- package/dist/api/types/shared.d.ts +29 -19
- package/dist/api/types/sim.d.ts +18 -6
- package/dist/api/types/siteView.d.ts +14 -8
- package/dist/api/types/snapshots.d.ts +52 -12
- package/dist/api/types/sso.d.ts +11 -37
- package/dist/api/types/storageProvider.d.ts +16 -5
- package/dist/api/types/user.d.ts +32 -29
- package/dist/api/types/widget.d.ts +13 -4
- package/dist/api/utils.d.ts +1 -0
- package/dist/index.js +840 -691
- 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 +406 -23
- package/dist/shared/types/droneUpload.d.ts +93 -0
- package/dist/shared/types/index.d.ts +2 -0
- package/dist/shared/types/report.d.ts +107 -0
- package/dist/shared/utils/datePickerValue.d.ts +36 -0
- package/dist/shared/utils/datePresets.d.ts +31 -0
- package/package.json +1 -1
- package/dist/api/types/copilot.d.ts +0 -159
package/dist/api/api/index.d.ts
CHANGED
|
@@ -1,36 +1,40 @@
|
|
|
1
1
|
import type { AxiosRequestConfig } from "axios";
|
|
2
2
|
import type { SwrRequestConfig } from "@evercam/api/types";
|
|
3
|
-
import type { _360AssetsQueryParams, _360AssetsRequestPayload, _360QueueQueryParams, _360AssetsUploadPayload, _360AssetsResponse, _360AssetsCountsResponse, _360QueueResponse, _360FloorsResponse, DroneQueueResponse, DroneUploadsResponse, IngestUploadInitResponse, BimUploadsResponse, MobileAssetsQueryParams, MobileCaptureAssetsResponse, BimUploadPayload, BimUploadsQueryParams, CalculateMeasuringOperationRequestPayload, DrawingsRequestPayload, DronesQueryParams,
|
|
4
|
-
import {
|
|
3
|
+
import type { _360AssetsQueryParams, _360AssetsRequestPayload, _360QueueQueryParams, _360AssetsUploadPayload, _360AssetsResponse, _360AssetsCountsResponse, _360QueueResponse, _360FloorsResponse, DroneQueueResponse, DronePreviewImages, DronePreview, EmailMessage, EmailAcceptance, DroneUploadsResponse, IngestUploadInitResponse, BimUploadsResponse, MobileAssetsQueryParams, MobileCaptureAssetsResponse, BimUploadPayload, BimUploadsQueryParams, CalculateMeasuringOperationRequestPayload, DrawingsRequestPayload, DronesQueryParams, DroneCreation, DroneCreated, DroneProcessingTarget, DroneUploadItem, DroneFileAllocation, DroneFileStates, DroneCompletion, DroneDeletion, DroneReprocessResponse, AerialAllocation, AerialUploadStates, AerialShotPage, IngestProcessingProgress, FlightImagesQueryParams, Generate360MapRequestPayload, GenerateFloorPayload, InspectionToolRequestPayload, JsonObject, _360WalkV2, _360FloorV2 } from "@evercam/api/types";
|
|
4
|
+
import { IngestTypes } from "@evercam/api/types";
|
|
5
5
|
export declare const getIngestApiUrls: (type: string) => string[];
|
|
6
6
|
export declare const IngestApi: {
|
|
7
|
+
email: {
|
|
8
|
+
send(payload: EmailMessage): Promise<EmailAcceptance>;
|
|
9
|
+
};
|
|
7
10
|
drone: {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
createProcessing(ingestUrl: string, payload: DroneCreation, signal?: AbortSignal): Promise<DroneCreated>;
|
|
12
|
+
getProcessing({ ingestUrl, id }: DroneProcessingTarget, signal?: AbortSignal): Promise<DroneUploadItem>;
|
|
13
|
+
getFlightProcessing(projectId: string, date: string): Promise<DroneUploadItem>;
|
|
14
|
+
allocateFiles({ ingestUrl, id }: DroneProcessingTarget, files: DroneFileAllocation[], signal?: AbortSignal): Promise<DroneFileStates>;
|
|
15
|
+
acknowledgeFiles({ ingestUrl, id }: DroneProcessingTarget, filenames: string[], signal?: AbortSignal): Promise<DroneCompletion>;
|
|
16
|
+
completeProcessing({ ingestUrl, id }: DroneProcessingTarget, signal?: AbortSignal): Promise<DroneCompletion>;
|
|
17
|
+
deleteFiles(id: number, filenames?: string[]): Promise<DroneDeletion>;
|
|
18
|
+
allocateAerialShots({ ingestUrl, id }: DroneProcessingTarget, aerialShots: AerialAllocation[], signal?: AbortSignal): Promise<AerialUploadStates>;
|
|
19
|
+
acknowledgeAerialShots({ ingestUrl, id }: DroneProcessingTarget, filenames: string[], signal?: AbortSignal): Promise<AerialUploadStates>;
|
|
20
|
+
getAerialShots(id: number, params?: {
|
|
21
|
+
cursor?: string;
|
|
22
|
+
limit?: number;
|
|
23
|
+
processingStatus?: string;
|
|
24
|
+
}): Promise<AerialShotPage>;
|
|
25
|
+
deleteAerialShots(id: number, filenames?: string[]): Promise<DroneDeletion>;
|
|
26
|
+
reprocessDrone(id: number, params?: JsonObject): Promise<DroneReprocessResponse>;
|
|
12
27
|
getDrones(params: {
|
|
13
28
|
params: Partial<DronesQueryParams>;
|
|
14
29
|
}): Promise<DroneUploadsResponse>;
|
|
15
30
|
getProcessingProgress(id: number): Promise<IngestProcessingProgress>;
|
|
16
31
|
getArchive(id: number, params: {
|
|
17
32
|
dataType: string;
|
|
18
|
-
}): Promise<
|
|
33
|
+
}): Promise<string>;
|
|
19
34
|
deleteUpload(id: number): Promise<void>;
|
|
20
|
-
prepareForUpload(projectId: string, params: {
|
|
21
|
-
uploadedBy: string;
|
|
22
|
-
token: string;
|
|
23
|
-
}): Promise<void>;
|
|
24
|
-
upload(projectId: string, params: {
|
|
25
|
-
uploadedBy: string;
|
|
26
|
-
token: string;
|
|
27
|
-
}, payload: DroneUploadUpdateRequestPayload): Promise<void>;
|
|
28
|
-
verifyToken(projectId: string, params: {
|
|
29
|
-
token: string;
|
|
30
|
-
}): Promise<JsonObject>;
|
|
31
35
|
calculateMeasuringOperation(projectId: string, params: CalculateMeasuringOperationRequestPayload, ingestUrl?: string): Promise<JsonObject>;
|
|
32
36
|
inspectionTool(projectId: string, params: InspectionToolRequestPayload): Promise<JsonObject>;
|
|
33
|
-
|
|
37
|
+
createPreview(payload: DronePreviewImages): Promise<DronePreview>;
|
|
34
38
|
getDroneQueueSize(droneUrl: string): Promise<DroneQueueResponse>;
|
|
35
39
|
getFlightImages(projectId: string, params: FlightImagesQueryParams): Promise<JsonObject>;
|
|
36
40
|
checkFlightAvailableFeatures(projectId: string, params: JsonObject): Promise<JsonObject>;
|
|
@@ -42,18 +46,17 @@ export declare const IngestApi: {
|
|
|
42
46
|
get360AssetsCounts(projectId: string, params: {
|
|
43
47
|
uploadedBy: string;
|
|
44
48
|
}): Promise<_360AssetsCountsResponse>;
|
|
45
|
-
get360AssetLink(projectId: string, date: string, floor: string | number, assetType: string, drawingId: string | number, marker: string | null): Promise<string | string[]>;
|
|
46
49
|
update360(id: number, payload: _360AssetsRequestPayload): Promise<_360WalkV2>;
|
|
47
50
|
update360ByProjectDateName(projectId: string, date: string, floor: string, payload: Partial<_360AssetsRequestPayload> & {
|
|
48
51
|
drawingId?: number;
|
|
49
52
|
}): Promise<_360WalkV2>;
|
|
50
53
|
deleteUpload(id: number): Promise<void>;
|
|
51
54
|
getArchive(id: number, params: {
|
|
52
|
-
|
|
53
|
-
}): Promise<
|
|
55
|
+
dataType: string;
|
|
56
|
+
}): Promise<string>;
|
|
54
57
|
get360Progress(id: number): Promise<IngestProcessingProgress>;
|
|
55
58
|
createUpload(projectId: string, params: _360AssetsRequestPayload): Promise<IngestUploadInitResponse>;
|
|
56
|
-
upload(id: number, params: JsonObject, payload: _360AssetsUploadPayload): Promise<_360WalkV2>;
|
|
59
|
+
upload(id: number, params: JsonObject, payload: _360AssetsUploadPayload, ingestUrlOverride?: string): Promise<_360WalkV2>;
|
|
57
60
|
reprocess360(id: number): Promise<void>;
|
|
58
61
|
drawingExists(payload: {
|
|
59
62
|
params: {
|
|
@@ -65,7 +68,9 @@ export declare const IngestApi: {
|
|
|
65
68
|
params: DrawingsRequestPayload;
|
|
66
69
|
config?: SwrRequestConfig<_360FloorsResponse>;
|
|
67
70
|
}): Promise<_360FloorsResponse>;
|
|
68
|
-
getDrawingById(id: number, projectExid: string
|
|
71
|
+
getDrawingById(id: number, projectExid: string, { assetSummary }?: {
|
|
72
|
+
assetSummary?: boolean;
|
|
73
|
+
}): Promise<_360FloorV2>;
|
|
69
74
|
updateDrawing(id: number, projectExid: string, payload: GenerateFloorPayload): Promise<_360FloorV2>;
|
|
70
75
|
deleteDrawing(id: number): Promise<void>;
|
|
71
76
|
restoreDrawing(id: number): Promise<void>;
|
|
@@ -75,6 +80,9 @@ export declare const IngestApi: {
|
|
|
75
80
|
view: boolean;
|
|
76
81
|
thumbnail?: boolean;
|
|
77
82
|
}, onDownloadProgress?: (progress: ProgressEvent) => void, extraConfig?: AxiosRequestConfig): Promise<string>;
|
|
83
|
+
fetchDrawingOverlayBlob(id: number, params?: {
|
|
84
|
+
thumbnail?: boolean;
|
|
85
|
+
}, extraConfig?: AxiosRequestConfig): Promise<Blob>;
|
|
78
86
|
getFloorArchive(id: number): Promise<string>;
|
|
79
87
|
generate360map(projectId: string, params: Generate360MapRequestPayload): Promise<JsonObject>;
|
|
80
88
|
get360QueueSize(ingestUrl: string, params?: _360QueueQueryParams): Promise<_360QueueResponse>;
|
|
@@ -111,8 +119,6 @@ export declare const IngestApi: {
|
|
|
111
119
|
ingestVersion: string;
|
|
112
120
|
id: number;
|
|
113
121
|
projectId: string;
|
|
114
|
-
consumed: boolean;
|
|
115
|
-
token: string;
|
|
116
122
|
flightDate: string;
|
|
117
123
|
flightGeolocation: string;
|
|
118
124
|
modelZip: string;
|
|
@@ -123,9 +129,10 @@ export declare const IngestApi: {
|
|
|
123
129
|
processingStatus: import("@evercam/api/types").IngestProcessingStatus | string;
|
|
124
130
|
modelCesiumAssetId: string;
|
|
125
131
|
updatedAt: string;
|
|
126
|
-
|
|
132
|
+
canDelete: boolean;
|
|
133
|
+
canReprocess: boolean;
|
|
127
134
|
hasSteps: boolean;
|
|
128
|
-
|
|
135
|
+
aerialShotsCount: number;
|
|
129
136
|
} | {
|
|
130
137
|
ingestVersion: string;
|
|
131
138
|
archive: string;
|
|
@@ -156,7 +163,8 @@ export declare const IngestApi: {
|
|
|
156
163
|
videoArchive: string;
|
|
157
164
|
videos: string[];
|
|
158
165
|
})[]>;
|
|
159
|
-
|
|
160
|
-
|
|
166
|
+
getIngestNumber(ingestUrl: string): number;
|
|
167
|
+
getIngestVersion(ingestUrl: string): string;
|
|
168
|
+
chooseIngestApiUrl(type: IngestTypes, isTieToNewest?: boolean): Promise<string>;
|
|
161
169
|
};
|
|
162
170
|
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type ChatListPage, type ChatListParams, type ChatSession } from "@evercam/api/types";
|
|
2
|
+
/**
|
|
3
|
+
* The Evercam Reports 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 ReportsApi: {
|
|
11
|
+
chat: {
|
|
12
|
+
listConversations(params?: ChatListParams): Promise<ChatListPage>;
|
|
13
|
+
getConversation(id: string): Promise<ChatSession>;
|
|
14
|
+
};
|
|
15
|
+
};
|
package/dist/api/types/360.d.ts
CHANGED
|
@@ -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>;
|
|
@@ -185,7 +186,8 @@ export declare enum _360UrlParams {
|
|
|
185
186
|
IsWidget = "isWidget",
|
|
186
187
|
MediaLocked = "mediaLocked",
|
|
187
188
|
Debug = "debug",
|
|
188
|
-
RequiresValidation = "requires_validation"
|
|
189
|
+
RequiresValidation = "requires_validation",
|
|
190
|
+
CommentId = "comment_id"
|
|
189
191
|
}
|
|
190
192
|
export declare enum _360AssetType {
|
|
191
193
|
Video = "video",
|
|
@@ -193,7 +195,9 @@ export declare enum _360AssetType {
|
|
|
193
195
|
Model = "model",
|
|
194
196
|
Route = "route",
|
|
195
197
|
MobilePhoto = "mobile_photos",
|
|
196
|
-
MobileAudio = "mobile_audios"
|
|
198
|
+
MobileAudio = "mobile_audios",
|
|
199
|
+
Report = "report",
|
|
200
|
+
ProcessingLog = "processing_log"
|
|
197
201
|
}
|
|
198
202
|
export declare enum _360AssetLabel {
|
|
199
203
|
Walks = "walks",
|
|
@@ -209,18 +213,20 @@ export declare enum _360IntergrationType {
|
|
|
209
213
|
export declare enum PathMarkerColor {
|
|
210
214
|
Start = "#00e74c",
|
|
211
215
|
End = "#fd7567",
|
|
216
|
+
Anchor = "#ffb300",
|
|
212
217
|
Default = "#2196F3"
|
|
213
218
|
}
|
|
214
219
|
export type _360AssetsQueryParams = PaginationParams & {
|
|
215
220
|
projectId: string;
|
|
216
221
|
date: DateType;
|
|
217
222
|
floor: string;
|
|
223
|
+
name: string;
|
|
218
224
|
id: string;
|
|
219
225
|
};
|
|
220
226
|
export type _360AssetsRequestPayload = {
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
227
|
+
date?: DateType;
|
|
228
|
+
name?: string;
|
|
229
|
+
drawingId?: _360FloorId;
|
|
224
230
|
uploadedBy?: string;
|
|
225
231
|
};
|
|
226
232
|
export type DrawingsRequestPayload = PaginationParams & {
|
|
@@ -241,10 +247,11 @@ export type GenerateFloorPayload = {
|
|
|
241
247
|
title: string;
|
|
242
248
|
fileExtension: string;
|
|
243
249
|
};
|
|
244
|
-
changedBy
|
|
250
|
+
changedBy?: string;
|
|
245
251
|
name?: string;
|
|
246
252
|
mapStyle?: string;
|
|
247
|
-
overlayPositionCorners
|
|
253
|
+
overlayPositionCorners?: _360OverlayPosition;
|
|
254
|
+
isCalibrated?: boolean;
|
|
248
255
|
};
|
|
249
256
|
export type _360QueueQueryParams = {
|
|
250
257
|
projectId?: string;
|
|
@@ -260,8 +267,8 @@ export type _360AssetsUploadPayload = {
|
|
|
260
267
|
deviceSerial?: string;
|
|
261
268
|
startPosition?: string;
|
|
262
269
|
endPosition?: string;
|
|
263
|
-
isTimelapse
|
|
264
|
-
isImagesOnly
|
|
270
|
+
isTimelapse: boolean;
|
|
271
|
+
isImagesOnly: boolean;
|
|
265
272
|
};
|
|
266
273
|
export type Generate360MapRequestPayload = {
|
|
267
274
|
dateId: string | number;
|
|
@@ -342,6 +349,7 @@ export type _360FloorData = {
|
|
|
342
349
|
imagesOnlyFeatureFlag: boolean;
|
|
343
350
|
forgeBIMFeatureFlag: boolean;
|
|
344
351
|
isForgeGravityEnabled: boolean;
|
|
352
|
+
bimHeight?: number | null;
|
|
345
353
|
initialForgeView: ForgeView | null;
|
|
346
354
|
calibrationDetails: _360CalibrationDetails;
|
|
347
355
|
enhancedLightFeatureFlag: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { JsonObject } from "@evercam/api/types";
|
|
1
|
+
import type { JsonObject, NvrDeviceType, NvrModel } from "@evercam/api/types";
|
|
2
2
|
export type WithZohoParams = {
|
|
3
3
|
with_zoho?: boolean;
|
|
4
4
|
};
|
|
@@ -9,7 +9,41 @@ export type AdminSearchProjectItem = {
|
|
|
9
9
|
exid: string;
|
|
10
10
|
featureFlags: string[];
|
|
11
11
|
};
|
|
12
|
-
export type
|
|
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;
|
|
13
47
|
export type AdminInviteRole = {
|
|
14
48
|
id: number;
|
|
15
49
|
name: string;
|
|
@@ -41,7 +75,7 @@ export type AdminInvite = {
|
|
|
41
75
|
resourceId: string;
|
|
42
76
|
assigner: AdminInviteAssigner;
|
|
43
77
|
sentCount: number;
|
|
44
|
-
lastSentAt: string;
|
|
78
|
+
lastSentAt: string | null;
|
|
45
79
|
authContext: AdminInviteAuthContext;
|
|
46
80
|
statusName: string;
|
|
47
81
|
};
|
|
@@ -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",
|
|
@@ -16,6 +16,7 @@ export declare enum AnalyticsEventPageId {
|
|
|
16
16
|
Automations = "Automations",
|
|
17
17
|
ProgressPhotosUnsubscribe = "ProgressPhotosUnsubscribe",
|
|
18
18
|
VideoWall = "VideoWall",
|
|
19
|
+
GlobalVideoWall = "GlobalVideoWall",
|
|
19
20
|
ProjectSettings = "ProjectSettings",
|
|
20
21
|
ProjectSettingsCameraSettings = "ProjectSettings-CameraSettings",
|
|
21
22
|
ProjectSettingsMembers = "ProjectSettings-Members",
|
|
@@ -36,6 +37,7 @@ export declare enum AnalyticsEventPageId {
|
|
|
36
37
|
EmbeddedLive = "EmbeddedLive",
|
|
37
38
|
EmbeddedRecordings = "EmbeddedRecordings",
|
|
38
39
|
EmbeddedBimCompare = "EmbeddedBimCompare",
|
|
40
|
+
GlobalWidgets = "GlobalWidgets",
|
|
39
41
|
GateReportInfo = "GateReportInfo",
|
|
40
42
|
BimInfo = "BimInfo",
|
|
41
43
|
DroneInfo = "DroneInfo",
|
|
@@ -60,7 +62,6 @@ export declare enum AnalyticsEvent {
|
|
|
60
62
|
MarkUpTool = "MarkUpTool-Toggle",
|
|
61
63
|
Comment = "Comment-Toggle",
|
|
62
64
|
Compare = "Compare-Toggle",
|
|
63
|
-
Copilot = "Copilot-Toggle",
|
|
64
65
|
DownloadMediaOpen = "DownloadMedia-Open",
|
|
65
66
|
SettingsAccountUpdatePassword = "UpdatePassword",
|
|
66
67
|
SettingsAccountUpdatePersonalInformation = "UpdatePersonalInformation",
|
|
@@ -157,12 +158,6 @@ export declare enum AnalyticsEvent {
|
|
|
157
158
|
TimelineCompareSlide = "Compare-Slide",
|
|
158
159
|
TimelineSelectMilestoneItem = "Timeline-SelectMilestoneItem",
|
|
159
160
|
TimelineSelectTimestamp = "Timeline-SelectTimestamp",
|
|
160
|
-
CopilotSendMessage = "Copilot-SendMessage",
|
|
161
|
-
CopilotClickTimestamp = "Copilot-ClickTimestamp",
|
|
162
|
-
CopilotRegenerate = "Copilot-Regenerate",
|
|
163
|
-
CopilotError = "Copilot-Error",
|
|
164
|
-
CopilotNavigation = "Copilot-Navigation",
|
|
165
|
-
CopilotToggle = "Copilot-Toggle",
|
|
166
161
|
GroupsVisibilityMobileCapture = "GroupsVisibility-MobileCapture",
|
|
167
162
|
GroupsVisibilityAnpr = "GroupsVisibility-Anpr",
|
|
168
163
|
GroupsVisibilityComments = "GroupsVisibility-Comments",
|
|
@@ -358,6 +353,12 @@ export declare enum AnalyticsEvent {
|
|
|
358
353
|
DroneToggleImageryPlan = "ToggleImageryPlan",
|
|
359
354
|
DroneToggleSceneMode = "ToggleSceneMode",
|
|
360
355
|
DroneUploadFlight = "UploadFlight",
|
|
356
|
+
DroneUploadStarted = "DroneUpload-Started",
|
|
357
|
+
DroneUploadFailed = "DroneUpload-Failed",
|
|
358
|
+
DroneUploadRetried = "DroneUpload-Retried",
|
|
359
|
+
DroneUploadAutoResumed = "DroneUpload-AutoResumed",
|
|
360
|
+
DroneUploadCompleted = "DroneUpload-Completed",
|
|
361
|
+
DroneUploadCancelled = "DroneUpload-Cancelled",
|
|
361
362
|
DroneViewLocationInGoogleMaps = "ViewLocationInGoogleMaps",
|
|
362
363
|
DroneVolumeToolClick = "VolumeTool-Click",
|
|
363
364
|
DroneZoomIn = "ZoomIn",
|
|
@@ -449,6 +450,7 @@ export declare enum AnalyticsEvent {
|
|
|
449
450
|
ProjectSettingsMembersBulkRemove = "BulkRemove",
|
|
450
451
|
ProjectSettingsMembersInviteSent = "InviteSent",
|
|
451
452
|
ProjectSettingsMembersRejectInvite = "RejectInvite",
|
|
453
|
+
ProjectSettingsMembersResendInvite = "ResendInvite",
|
|
452
454
|
ProjectSettingsMembersAddMember = "AddMember",
|
|
453
455
|
ProjectSettingsMembersBulkRoleUpdate = "BulkRoleUpdate",
|
|
454
456
|
ProjectSettingsMembersDeleteCameraAccess = "DeleteCameraAccess",
|
|
@@ -584,13 +586,45 @@ export declare enum AnalyticsEvent {
|
|
|
584
586
|
SmartSearchThumbnailPlay = "SmartSearch-ThumbnailPlay",
|
|
585
587
|
SmartSearchExportFile = "SmartSearch-ExportFile",
|
|
586
588
|
SmartSearchDownloadHeatmapImage = "SmartSearch-DownloadHeatmapImage",
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
589
|
+
ChatToggleSidebarMode = "Chat-ToggleSidebarMode",
|
|
590
|
+
ChatSendMessage = "Chat-SendMessage",
|
|
591
|
+
ChatClickStarter = "Chat-ClickStarter",
|
|
592
|
+
ChatStopResponse = "Chat-StopResponse",
|
|
593
|
+
ChatCopyAnswer = "Chat-CopyAnswer",
|
|
594
|
+
ChatDownloadPdf = "Chat-DownloadPdf",
|
|
595
|
+
ChatOpenCamera = "Chat-OpenCamera",
|
|
596
|
+
ChatNewConversation = "Chat-NewConversation",
|
|
597
|
+
ChatOpenConversation = "Chat-OpenConversation",
|
|
598
|
+
ChatRenameConversation = "Chat-RenameConversation",
|
|
599
|
+
ChatDeleteConversation = "Chat-DeleteConversation",
|
|
600
|
+
ChatReceiveAnswer = "Chat-ReceiveAnswer",
|
|
601
|
+
ChatAnswerFailed = "Chat-AnswerFailed",
|
|
602
|
+
ChatRateAnswer = "Chat-RateAnswer",
|
|
603
|
+
ChatOpenSearch = "Chat-OpenSearch",
|
|
604
|
+
ChatSearchOpenResult = "Chat-SearchOpenResult",
|
|
605
|
+
ChatAskAboutResult = "Chat-AskAboutResult",
|
|
606
|
+
ReportsOpenView = "Reports-OpenView",
|
|
607
|
+
ReportsCreateFromChat = "Reports-CreateFromChat",
|
|
608
|
+
ReportsPreviewTemplate = "Reports-PreviewTemplate",
|
|
609
|
+
ReportsTryTemplate = "Reports-TryTemplate",
|
|
610
|
+
ReportsStartFromScratch = "Reports-StartFromScratch",
|
|
611
|
+
ReportsDraftFailed = "Reports-DraftFailed",
|
|
612
|
+
ReportsRequestChange = "Reports-RequestChange",
|
|
613
|
+
ReportsSwitchCanvasTab = "Reports-SwitchCanvasTab",
|
|
614
|
+
ReportsRestoreVersion = "Reports-RestoreVersion",
|
|
615
|
+
ReportsSave = "Reports-Save",
|
|
616
|
+
ReportsUpdateSettings = "Reports-UpdateSettings",
|
|
617
|
+
ReportsEditInChat = "Reports-EditInChat",
|
|
618
|
+
ReportsRunNow = "Reports-RunNow",
|
|
619
|
+
ReportsTogglePause = "Reports-TogglePause",
|
|
620
|
+
ReportsDelete = "Reports-Delete",
|
|
621
|
+
ReportsReadResult = "Reports-ReadResult",
|
|
622
|
+
ReportsMarkUnread = "Reports-MarkUnread",
|
|
623
|
+
ReportsMarkAllRead = "Reports-MarkAllRead",
|
|
624
|
+
ReportsFilterInbox = "Reports-FilterInbox",
|
|
625
|
+
ReportsFilterExplore = "Reports-FilterExplore",
|
|
626
|
+
ReportsDownloadPdf = "Reports-DownloadPdf",
|
|
627
|
+
ReportsEmailResult = "Reports-EmailResult",
|
|
594
628
|
ForgeBimAddModelButtonClicked = "ForgeBim-AddModelButtonClicked",
|
|
595
629
|
ForgeBimUploadChoiceDialogOpened = "ForgeBim-UploadChoiceDialogOpened",
|
|
596
630
|
ForgeBimModelAddMethodSelected = "ForgeBim-ModelAddMethodSelected",
|
package/dist/api/types/anpr.d.ts
CHANGED
|
@@ -102,13 +102,14 @@ export declare enum AnprEventStatus {
|
|
|
102
102
|
NotDuplicate = "not_duplicate"
|
|
103
103
|
}
|
|
104
104
|
export type AnprBulkUpdateRequestPayload = {
|
|
105
|
-
|
|
105
|
+
anprEventIds: number[];
|
|
106
106
|
action: AnprEventStatus;
|
|
107
107
|
};
|
|
108
108
|
export type AnprUpdateRequestPayload = {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
109
|
+
id?: number;
|
|
110
|
+
plateNumber?: string;
|
|
111
|
+
vehicleType?: GateReportVehicleType;
|
|
112
|
+
direction?: AnprDirection;
|
|
112
113
|
};
|
|
113
114
|
export declare enum AnprExtractionStatus {
|
|
114
115
|
Pending = "pending",
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
export declare enum ApiKeyType {
|
|
2
|
+
User = "user",
|
|
3
|
+
Workflows = "workflows",
|
|
4
|
+
Widget = "widget"
|
|
5
|
+
}
|
|
6
|
+
export type ApiKey = {
|
|
7
|
+
id: number;
|
|
8
|
+
name: string;
|
|
9
|
+
type: ApiKeyType;
|
|
10
|
+
maskedKey: string;
|
|
11
|
+
key: string | null;
|
|
12
|
+
scopes: string[];
|
|
13
|
+
projects: string[];
|
|
14
|
+
active: boolean;
|
|
15
|
+
expiresAt: string | null;
|
|
16
|
+
lastUsedAt: string | null;
|
|
17
|
+
revokedAt: string | null;
|
|
18
|
+
insertedAt: string;
|
|
19
|
+
updatedAt: string;
|
|
20
|
+
};
|
|
21
|
+
export declare enum ApiKeyStatus {
|
|
22
|
+
Active = "active",
|
|
23
|
+
Expired = "expired",
|
|
24
|
+
Revoked = "revoked"
|
|
25
|
+
}
|
|
26
|
+
export type ApiKeysRequestParams = {
|
|
27
|
+
name?: string;
|
|
28
|
+
type?: ApiKeyType;
|
|
29
|
+
status?: ApiKeyStatus[];
|
|
30
|
+
expiresAtFrom?: string;
|
|
31
|
+
expiresAtTo?: string;
|
|
32
|
+
lastUsedAtFrom?: string;
|
|
33
|
+
lastUsedAtTo?: string;
|
|
34
|
+
sort?: string;
|
|
35
|
+
page?: number;
|
|
36
|
+
limit?: number;
|
|
37
|
+
};
|
|
38
|
+
export type CreateApiKeyPayload = {
|
|
39
|
+
name: string;
|
|
40
|
+
scopes: string[];
|
|
41
|
+
resources?: {
|
|
42
|
+
projects: string[];
|
|
43
|
+
};
|
|
44
|
+
type?: ApiKeyType;
|
|
45
|
+
expiresAt?: string;
|
|
46
|
+
};
|
|
47
|
+
export type UpdateApiKeyPayload = {
|
|
48
|
+
name?: string;
|
|
49
|
+
scopes?: string[];
|
|
50
|
+
resources?: {
|
|
51
|
+
projects: string[];
|
|
52
|
+
};
|
|
53
|
+
expiresAt?: string | null;
|
|
54
|
+
};
|
|
55
|
+
export type AdminApiKey = Omit<ApiKey, "key"> & {
|
|
56
|
+
user: {
|
|
57
|
+
email: string;
|
|
58
|
+
fullname: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
export type AdminApiKeysRequestParams = ApiKeysRequestParams & {
|
|
62
|
+
user?: string;
|
|
63
|
+
userId?: number;
|
|
64
|
+
lastUsedAtFrom?: string;
|
|
65
|
+
lastUsedAtTo?: string;
|
|
66
|
+
};
|
|
67
|
+
export type UpdateAdminApiKeyPayload = {
|
|
68
|
+
name: string;
|
|
69
|
+
expiresAt: string | null;
|
|
70
|
+
};
|