@evercam/api 1.0.0-fa97eac92 → 1.0.0-fb678d3ea
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 +7 -1
- package/dist/api/api/adminApi.d.ts +9 -2
- package/dist/api/api/ingestApi.d.ts +12 -11
- package/dist/api/types/360.d.ts +1 -0
- package/dist/api/types/analytics.d.ts +8 -0
- package/dist/api/types/apiKey.d.ts +70 -0
- package/dist/api/types/auditLogs.d.ts +146 -18
- package/dist/api/types/camera.d.ts +1 -1
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/ingest.d.ts +4 -0
- package/dist/api/types/observations.d.ts +3 -7
- package/dist/api/types/shared.d.ts +9 -1
- package/dist/api/types/siteView.d.ts +6 -6
- package/dist/index.js +533 -489
- 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 +40 -12
- package/dist/shared/types/droneUpload.d.ts +28 -1
- package/dist/shared/types/index.d.ts +1 -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
|
@@ -175,7 +175,13 @@ export declare const _3dFirebaseApi: {
|
|
|
175
175
|
viewId: string;
|
|
176
176
|
view: ForgeView;
|
|
177
177
|
}): Promise<void>;
|
|
178
|
-
|
|
178
|
+
saveModelId({ projectId, modelIndex, id, }: {
|
|
179
|
+
projectId: ProjectExid;
|
|
180
|
+
modelIndex: number;
|
|
181
|
+
id: string;
|
|
182
|
+
}): Promise<void>;
|
|
183
|
+
patchCameraMarkers(projectId: ProjectExid, markers: Record<string, ForgeMarker | null>): Promise<void>;
|
|
184
|
+
patchCameraMarkerNames(projectId: ProjectExid, names: Record<string, string>): Promise<void>;
|
|
179
185
|
};
|
|
180
186
|
itwin: {
|
|
181
187
|
getProjectInfo(projectId: string): Promise<ItwinProjectData | null>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FootageCreateUpdatePayload, HDDCreateUpdatePayload, HDDsQueryParams } from "@evercam/api/types/hdd";
|
|
2
2
|
import type { OAuthClient, OAuthClientWithSecret, AdminCreateOAuthClientPayload, UpdateOAuthClientPayload } from "@evercam/api/types/oauth";
|
|
3
|
-
import type { CamerasResponsePayload, CameraUpdateRequestPayload, PaginatedItems, AdminCamera, AdminProjectDetail, AdminProjectListItem, AdminHdd, AdminUser, ProgressPhotosCreateUpdateRequestPayload, Kit, PatchPayload, StorageProvidersResponsePayload, MediaFilterQueryParams, Media, MediaDeleteRequestPayload, AuditLogsParams, AuditLog, SnapshotExtractionQyeryParams, SnapshotExtraction, CameraCreateRequestPayload, CameraDeletePayload, SnapshotTestPayload, SnapshotTestResponse, DuplicatedCameraFields, DuplicatedCameraResponse, MergeDuplicatedCameraPayload, FetchCameraQueryParams, DeleteSnapshotQueryParams, CameraNote, GetCameraNotesParams, CreateCameraNotePayload, CompanyQueryParams, CompanySummary, CompanyUpdatePayload, SsoProvider, SsoUpdatePayload, SsoCreatePayload, SuppressionsQueryParams, Suppression, SnapshotExtractionType, KitQueryParams, KitMetricStatsEntry, CameraLogsQueryParams, CameraLog, CameraAuditLogsQueryParams, CameraAuditLog, NvrQueryParams, Nvr, SiteVisitCamerasQueryParams, OfflineCameraQueryParams, OfflineCamera, OfflineCameraNoteResponse, UserStatsResponse, UserCameraResponse, UserProjectResponse, ProjectUsers, ProjectCamera, ProjectsQueryParams, ProjectStatusStats, ProjectCreateRequestPayload, ProjectCreateResponse, ProjectUpdateRequestPayload, RouterQueryParams, Router, RouterCreatePayload, GlobalSearchQueryParams, SimCreateUpdatePayload, SimsQueryParams, Sim, SendSmsPayload, SendSmsResponse, SmsHistoryResponse, SmsQueryParams, Sms, ProgressPhotosQueryParams, ProgressPhotoItem, progressPhotosHistoryQueryParams, ProgressPhotosHistory, AdminUserUpdateRequestPayload, AdminQueryParams, Admin, ImpersonateUserResponse, AdminUserQueryParams, AdminCompareQueryParams, AdminCompare, NvrCreatePayload, WidgetsListRequestPayload, AdminWidget, AdminWidgetFull, WidgetPayload, PaginationParams, KitStorageRequestPayload, AdminCompanyUser, AdminCompanyProject, CompanyKit, CompanyCameraSummary, Automation, KitStorage, KitFootageRequestPayload, CommentsListRequestPayload, Comment, KitFootage, KitAlarmItem, KitSupportChecklist, RecycleBin, RecycleBinQueryParams, TransferCloudRecordingsQueryParams, SnapshotTransfer, CheckCameraPortPayload, CameraStatusLog, KitBox, KitBoxCreatePayload, KitBoxQueryParams, AdminInvite, AdminSearchItem, WithZohoParams, ZohoDeskTicketSearchResponse, JsonObject, ProjectStorageQueryParams, ProjectStorage, StorageProvider, AnprExtraction, AnprExtractionCreatePayload } from "@evercam/api/types";
|
|
3
|
+
import type { CamerasResponsePayload, CameraUpdateRequestPayload, PaginatedItems, AdminCamera, AdminProjectDetail, AdminProjectListItem, AdminHdd, AdminUser, ProgressPhotosCreateUpdateRequestPayload, Kit, PatchPayload, StorageProvidersResponsePayload, MediaFilterQueryParams, Media, MediaDeleteRequestPayload, AuditLogsParams, AuditLog, SnapshotExtractionQyeryParams, SnapshotExtraction, CameraCreateRequestPayload, CameraDeletePayload, SnapshotTestPayload, SnapshotTestResponse, DuplicatedCameraFields, DuplicatedCameraResponse, MergeDuplicatedCameraPayload, FetchCameraQueryParams, DeleteSnapshotQueryParams, CameraNote, GetCameraNotesParams, CreateCameraNotePayload, CompanyQueryParams, CompanySummary, CompanyUpdatePayload, SsoProvider, SsoUpdatePayload, SsoCreatePayload, SuppressionsQueryParams, Suppression, SnapshotExtractionType, KitQueryParams, KitMetricStatsEntry, CameraLogsQueryParams, CameraLog, CameraAuditLogsQueryParams, CameraAuditLog, NvrQueryParams, Nvr, SiteVisitCamerasQueryParams, OfflineCameraQueryParams, OfflineCamera, OfflineCameraNoteResponse, UserStatsResponse, UserCameraResponse, UserProjectResponse, ProjectUsers, ProjectCamera, ProjectsQueryParams, ProjectStatusStats, ProjectCreateRequestPayload, ProjectCreateResponse, ProjectUpdateRequestPayload, RouterQueryParams, Router, RouterCreatePayload, GlobalSearchQueryParams, SimCreateUpdatePayload, SimsQueryParams, Sim, SendSmsPayload, SendSmsResponse, SmsHistoryResponse, SmsQueryParams, Sms, ProgressPhotosQueryParams, ProgressPhotoItem, progressPhotosHistoryQueryParams, ProgressPhotosHistory, AdminUserUpdateRequestPayload, AdminQueryParams, Admin, ImpersonateUserResponse, AdminUserQueryParams, AdminCompareQueryParams, AdminCompare, NvrCreatePayload, WidgetsListRequestPayload, AdminWidget, AdminWidgetFull, AdminApiKey, AdminApiKeysRequestParams, UpdateAdminApiKeyPayload, WidgetPayload, PaginationParams, KitStorageRequestPayload, AdminCompanyUser, AdminCompanyProject, CompanyKit, CompanyCameraSummary, Automation, KitStorage, KitFootageRequestPayload, CommentsListRequestPayload, Comment, KitFootage, KitAlarmItem, KitSupportChecklist, RecycleBin, RecycleBinQueryParams, TransferCloudRecordingsQueryParams, SnapshotTransfer, CheckCameraPortPayload, CameraStatusLog, KitBox, KitBoxCreatePayload, KitBoxQueryParams, AdminInvite, AdminSearchItem, WithZohoParams, ZohoDeskTicketSearchResponse, JsonObject, ProjectStorageQueryParams, ProjectStorage, StorageProvider, AnprExtraction, AnprExtractionCreatePayload } from "@evercam/api/types";
|
|
4
4
|
import { KitMetricId } from "@evercam/api/types";
|
|
5
5
|
import { Tag } from "@evercam/api/types/tag";
|
|
6
6
|
import type { AxiosRequestConfig } from "axios";
|
|
@@ -17,7 +17,7 @@ export declare const AdminApi: {
|
|
|
17
17
|
auditLogs: {
|
|
18
18
|
getAuditLogs(params: AxiosRequestConfig & {
|
|
19
19
|
params: Partial<AuditLogsParams>;
|
|
20
|
-
}): Promise<PaginatedItems<AuditLog
|
|
20
|
+
}): Promise<PaginatedItems<AuditLog>>;
|
|
21
21
|
};
|
|
22
22
|
cameras: {
|
|
23
23
|
getCamerasStats(params: {
|
|
@@ -361,6 +361,13 @@ export declare const AdminApi: {
|
|
|
361
361
|
passwordResetLink: string;
|
|
362
362
|
}>;
|
|
363
363
|
};
|
|
364
|
+
apiKeys: {
|
|
365
|
+
index(params: {
|
|
366
|
+
params: Partial<AdminApiKeysRequestParams>;
|
|
367
|
+
}): Promise<PaginatedItems<AdminApiKey>>;
|
|
368
|
+
update(id: number, payload: UpdateAdminApiKeyPayload): Promise<AdminApiKey>;
|
|
369
|
+
delete(id: number): Promise<void>;
|
|
370
|
+
};
|
|
364
371
|
widgets: {
|
|
365
372
|
index(params: {
|
|
366
373
|
params: Partial<WidgetsListRequestPayload>;
|
|
@@ -1,19 +1,19 @@
|
|
|
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, DroneCreation, DroneCreated, DroneUploadItem, DroneFileAllocation, DroneFileStates, DroneCompletion, DroneDeletion, DroneReprocessResponse, AerialAllocation, AerialUploadStates, AerialShotPage, IngestProcessingProgress, FlightImagesQueryParams, Generate360MapRequestPayload, GenerateFloorPayload, InspectionToolRequestPayload, JsonObject, _360WalkV2, _360FloorV2 } from "@evercam/api/types";
|
|
4
|
-
import {
|
|
3
|
+
import type { _360AssetsQueryParams, _360AssetsRequestPayload, _360QueueQueryParams, _360AssetsUploadPayload, _360AssetsResponse, _360AssetsCountsResponse, _360QueueResponse, _360FloorsResponse, DroneQueueResponse, 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
7
|
drone: {
|
|
8
|
-
createProcessing(payload: DroneCreation, signal?: AbortSignal): Promise<DroneCreated>;
|
|
9
|
-
getProcessing(id:
|
|
8
|
+
createProcessing(ingestUrl: string, payload: DroneCreation, signal?: AbortSignal): Promise<DroneCreated>;
|
|
9
|
+
getProcessing({ ingestUrl, id }: DroneProcessingTarget, signal?: AbortSignal): Promise<DroneUploadItem>;
|
|
10
10
|
getFlightProcessing(projectId: string, date: string): Promise<DroneUploadItem>;
|
|
11
|
-
allocateFiles(id:
|
|
12
|
-
acknowledgeFiles(id:
|
|
13
|
-
completeProcessing(id:
|
|
11
|
+
allocateFiles({ ingestUrl, id }: DroneProcessingTarget, files: DroneFileAllocation[], signal?: AbortSignal): Promise<DroneFileStates>;
|
|
12
|
+
acknowledgeFiles({ ingestUrl, id }: DroneProcessingTarget, filenames: string[], signal?: AbortSignal): Promise<DroneCompletion>;
|
|
13
|
+
completeProcessing({ ingestUrl, id }: DroneProcessingTarget, signal?: AbortSignal): Promise<DroneCompletion>;
|
|
14
14
|
deleteFiles(id: number, filenames?: string[]): Promise<DroneDeletion>;
|
|
15
|
-
allocateAerialShots(id:
|
|
16
|
-
acknowledgeAerialShots(id:
|
|
15
|
+
allocateAerialShots({ ingestUrl, id }: DroneProcessingTarget, aerialShots: AerialAllocation[], signal?: AbortSignal): Promise<AerialUploadStates>;
|
|
16
|
+
acknowledgeAerialShots({ ingestUrl, id }: DroneProcessingTarget, filenames: string[], signal?: AbortSignal): Promise<AerialUploadStates>;
|
|
17
17
|
getAerialShots(id: number, params?: {
|
|
18
18
|
cursor?: string;
|
|
19
19
|
limit?: number;
|
|
@@ -154,7 +154,8 @@ export declare const IngestApi: {
|
|
|
154
154
|
videoArchive: string;
|
|
155
155
|
videos: string[];
|
|
156
156
|
})[]>;
|
|
157
|
-
|
|
158
|
-
|
|
157
|
+
getIngestNumber(ingestUrl: string): number;
|
|
158
|
+
getIngestVersion(ingestUrl: string): string;
|
|
159
|
+
chooseIngestApiUrl(type: IngestTypes, isTieToNewest?: boolean): Promise<string>;
|
|
159
160
|
};
|
|
160
161
|
};
|
package/dist/api/types/360.d.ts
CHANGED
|
@@ -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",
|
|
@@ -351,6 +353,12 @@ export declare enum AnalyticsEvent {
|
|
|
351
353
|
DroneToggleImageryPlan = "ToggleImageryPlan",
|
|
352
354
|
DroneToggleSceneMode = "ToggleSceneMode",
|
|
353
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",
|
|
354
362
|
DroneViewLocationInGoogleMaps = "ViewLocationInGoogleMaps",
|
|
355
363
|
DroneVolumeToolClick = "VolumeTool-Click",
|
|
356
364
|
DroneZoomIn = "ZoomIn",
|
|
@@ -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
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CameraStatus, DateType, PaginationParams } from "@evercam/api/types";
|
|
1
|
+
import { CameraStatus, DateType, JsonValue, PaginationParams } from "@evercam/api/types";
|
|
2
2
|
export declare enum AuditLogActionType {
|
|
3
3
|
VH_STATUS = "vh_status",
|
|
4
4
|
CR_UPDATED = "cr_updated",
|
|
@@ -28,7 +28,18 @@ export declare enum AuditLogActionType {
|
|
|
28
28
|
DELETE_SHARE = "delete_share",
|
|
29
29
|
SHARE_REQUEST = "share_request",
|
|
30
30
|
DELETE_SHARE_REQUEST = "delete_share_request",
|
|
31
|
-
TRANSFER_OWNERSHIP = "transfer_ownership"
|
|
31
|
+
TRANSFER_OWNERSHIP = "transfer_ownership",
|
|
32
|
+
TRANSFER_PROJECT = "transfer_project",
|
|
33
|
+
ASSIGN = "assign",
|
|
34
|
+
UNASSIGN = "unassign",
|
|
35
|
+
OAUTH_AUTHORIZE = "oauth_authorize",
|
|
36
|
+
OAUTH_TOKEN_ISSUE = "oauth_token_issue",
|
|
37
|
+
OAUTH_TOKEN_REFRESH = "oauth_token_refresh",
|
|
38
|
+
OAUTH_TOKEN_REVOKE = "oauth_token_revoke",
|
|
39
|
+
OAUTH_CLIENT_CREATE = "oauth_client_create",
|
|
40
|
+
OAUTH_CLIENT_DELETE = "oauth_client_delete",
|
|
41
|
+
API_KEY_REGENERATE = "api_key_regenerate",
|
|
42
|
+
API_KEY_REVOKE = "api_key_revoke"
|
|
32
43
|
}
|
|
33
44
|
export declare enum AuditLogEntity {
|
|
34
45
|
Cameras = "cameras",
|
|
@@ -46,31 +57,148 @@ export declare enum AuditLogEntity {
|
|
|
46
57
|
Tags = "tags",
|
|
47
58
|
KitsTags = "kits_tags",
|
|
48
59
|
Oauth = "oauth",
|
|
60
|
+
ApiKeys = "api_keys",
|
|
49
61
|
StorageProviders = "storage_providers"
|
|
50
62
|
}
|
|
63
|
+
export type AuditLogDiff = {
|
|
64
|
+
old: Record<string, JsonValue>;
|
|
65
|
+
new: Record<string, JsonValue>;
|
|
66
|
+
};
|
|
67
|
+
export type AuditLogHddInfoItem = {
|
|
68
|
+
name?: string;
|
|
69
|
+
capacity?: string;
|
|
70
|
+
freeSpace?: string;
|
|
71
|
+
status?: string;
|
|
72
|
+
property?: string;
|
|
73
|
+
};
|
|
74
|
+
export type AuditLogCameraDetails = {
|
|
75
|
+
exid?: string;
|
|
76
|
+
name?: string;
|
|
77
|
+
with?: string;
|
|
78
|
+
errorBody?: string;
|
|
79
|
+
reason?: string;
|
|
80
|
+
settings?: AuditLogDiff;
|
|
81
|
+
};
|
|
82
|
+
export type AuditLogRouterDetails = {
|
|
83
|
+
serialNumber?: string;
|
|
84
|
+
cameraExid?: string;
|
|
85
|
+
cameraName?: string;
|
|
86
|
+
simNumber?: string;
|
|
87
|
+
settings?: AuditLogDiff;
|
|
88
|
+
deviceSettings?: Record<string, JsonValue>;
|
|
89
|
+
};
|
|
90
|
+
export type AuditLogUserEntityDetails = {
|
|
91
|
+
firstname?: string;
|
|
92
|
+
lastname?: string;
|
|
93
|
+
settings?: AuditLogDiff;
|
|
94
|
+
};
|
|
95
|
+
export type AuditLogProjectDetails = {
|
|
96
|
+
exid?: string;
|
|
97
|
+
name?: string;
|
|
98
|
+
settings?: AuditLogDiff;
|
|
99
|
+
};
|
|
100
|
+
export type AuditLogApiKeyDetails = {
|
|
101
|
+
name?: string;
|
|
102
|
+
maskedKey?: string;
|
|
103
|
+
userId?: number;
|
|
104
|
+
};
|
|
105
|
+
export type AuditLogDetails = {
|
|
106
|
+
id?: number;
|
|
107
|
+
exid?: string;
|
|
108
|
+
name?: string;
|
|
109
|
+
displayName?: string;
|
|
110
|
+
layerId?: number;
|
|
111
|
+
serial?: string;
|
|
112
|
+
type?: string;
|
|
113
|
+
note?: string;
|
|
114
|
+
with?: string;
|
|
115
|
+
message?: string;
|
|
116
|
+
config?: Record<string, JsonValue>;
|
|
117
|
+
settings?: AuditLogDiff;
|
|
118
|
+
camera?: AuditLogCameraDetails;
|
|
119
|
+
router?: AuditLogRouterDetails;
|
|
120
|
+
user?: AuditLogUserEntityDetails;
|
|
121
|
+
project?: AuditLogProjectDetails;
|
|
122
|
+
sim?: {
|
|
123
|
+
number?: string;
|
|
124
|
+
};
|
|
125
|
+
kit?: {
|
|
126
|
+
name?: string;
|
|
127
|
+
};
|
|
128
|
+
hdd?: {
|
|
129
|
+
serialNumber?: string;
|
|
130
|
+
settings?: AuditLogDiff;
|
|
131
|
+
};
|
|
132
|
+
roi?: {
|
|
133
|
+
settings?: AuditLogDiff;
|
|
134
|
+
};
|
|
135
|
+
hddInfo?: AuditLogHddInfoItem[];
|
|
136
|
+
oldOwner?: string;
|
|
137
|
+
newOwner?: string;
|
|
138
|
+
oldProjectExid?: string;
|
|
139
|
+
oldProjectName?: string;
|
|
140
|
+
newProjectExid?: string;
|
|
141
|
+
newProjectName?: string;
|
|
142
|
+
fromAdmin?: boolean;
|
|
143
|
+
who?: string;
|
|
144
|
+
email?: string;
|
|
145
|
+
scope?: string;
|
|
146
|
+
resourceId?: string;
|
|
147
|
+
clientId?: string;
|
|
148
|
+
clientName?: string;
|
|
149
|
+
oauthClientId?: string;
|
|
150
|
+
scopes?: string[];
|
|
151
|
+
grantType?: string;
|
|
152
|
+
tokenType?: string;
|
|
153
|
+
maskedKey?: string;
|
|
154
|
+
userId?: number;
|
|
155
|
+
apiKey?: AuditLogApiKeyDetails;
|
|
156
|
+
revoked?: AuditLogApiKeyDetails;
|
|
157
|
+
};
|
|
158
|
+
export declare enum AuditLogAuthMethod {
|
|
159
|
+
Password = "password",
|
|
160
|
+
ApiKeyV2 = "api_key_v2",
|
|
161
|
+
Widget = "widget",
|
|
162
|
+
OauthAccess = "oauth_access",
|
|
163
|
+
Impersonation = "impersonation",
|
|
164
|
+
Sso = "sso"
|
|
165
|
+
}
|
|
166
|
+
export type AuditLogUserDetails = {
|
|
167
|
+
browser: string;
|
|
168
|
+
country: string;
|
|
169
|
+
countryCode: string;
|
|
170
|
+
device: string | null;
|
|
171
|
+
ip: string;
|
|
172
|
+
os: string | null;
|
|
173
|
+
authMethod?: AuditLogAuthMethod;
|
|
174
|
+
apiKeyId?: number;
|
|
175
|
+
apiKeyName?: string;
|
|
176
|
+
apiKeyMasked?: string;
|
|
177
|
+
widgetId?: number;
|
|
178
|
+
oauthClientId?: string;
|
|
179
|
+
impersonatedBy?: string;
|
|
180
|
+
who?: string;
|
|
181
|
+
};
|
|
51
182
|
export type AuditLog = {
|
|
52
183
|
id: number;
|
|
53
184
|
action: AuditLogActionType;
|
|
54
|
-
details:
|
|
185
|
+
details: AuditLogDetails;
|
|
55
186
|
insertedAt: DateType;
|
|
56
|
-
entity:
|
|
57
|
-
|
|
58
|
-
browser: string;
|
|
59
|
-
country: string;
|
|
60
|
-
countryCode: string;
|
|
61
|
-
device: string | null;
|
|
62
|
-
ip: string;
|
|
63
|
-
os: string | null;
|
|
64
|
-
};
|
|
187
|
+
entity: AuditLogEntity;
|
|
188
|
+
userDetails: AuditLogUserDetails;
|
|
65
189
|
who: string;
|
|
66
190
|
};
|
|
67
191
|
export type AuditLogsParams = PaginationParams & {
|
|
68
|
-
routerId: number;
|
|
69
|
-
cameraId: number;
|
|
70
|
-
entity:
|
|
71
|
-
byRouter:
|
|
72
|
-
byCamera:
|
|
73
|
-
byProject:
|
|
192
|
+
routerId: number | null;
|
|
193
|
+
cameraId: number | null;
|
|
194
|
+
entity: AuditLogEntity[] | "";
|
|
195
|
+
byRouter: string;
|
|
196
|
+
byCamera: string;
|
|
197
|
+
byProject: string;
|
|
198
|
+
userId: number;
|
|
199
|
+
byIp: string;
|
|
200
|
+
from: string;
|
|
201
|
+
to: string;
|
|
74
202
|
action: string;
|
|
75
203
|
};
|
|
76
204
|
export type CameraLogsQueryParams = {
|
|
@@ -491,7 +491,7 @@ export declare enum DuplicatedCameraFields {
|
|
|
491
491
|
export type DuplicatedCameraObject = {
|
|
492
492
|
exid: string;
|
|
493
493
|
name: string;
|
|
494
|
-
cameraStatus:
|
|
494
|
+
cameraStatus: CameraStatus;
|
|
495
495
|
crStatus: string;
|
|
496
496
|
};
|
|
497
497
|
export type DuplicatedCameraResponse = {
|
|
@@ -207,6 +207,10 @@ export type DroneCreation = {
|
|
|
207
207
|
flightMetadata: DroneFlightMetadata;
|
|
208
208
|
aerialShots?: AerialAllocation[];
|
|
209
209
|
};
|
|
210
|
+
export type DroneProcessingTarget = {
|
|
211
|
+
ingestUrl: string;
|
|
212
|
+
id: number;
|
|
213
|
+
};
|
|
210
214
|
export type DroneCreated = {
|
|
211
215
|
id: number;
|
|
212
216
|
projectId: string;
|
|
@@ -47,13 +47,13 @@ export type ObservationEventsQueryParams = {
|
|
|
47
47
|
};
|
|
48
48
|
export type ObservationEventsExportQueryParams = {
|
|
49
49
|
cameraExid?: CameraExid;
|
|
50
|
+
observationCode?: string;
|
|
51
|
+
missingItems?: string;
|
|
52
|
+
status?: ObservationEventStatus;
|
|
50
53
|
fromDate: string;
|
|
51
54
|
toDate: string;
|
|
52
|
-
required?: string;
|
|
53
|
-
compliant?: boolean;
|
|
54
55
|
fileType: DownloadFileType;
|
|
55
56
|
directDownload?: boolean;
|
|
56
|
-
includeInvalid?: boolean;
|
|
57
57
|
};
|
|
58
58
|
export type ObservationApprovalUpdateResponse = {
|
|
59
59
|
updated: boolean;
|
|
@@ -78,7 +78,3 @@ export type ObservationEventCount = {
|
|
|
78
78
|
bucket: DateType;
|
|
79
79
|
total: number;
|
|
80
80
|
};
|
|
81
|
-
export declare enum ObservationRequiredItem {
|
|
82
|
-
Helmet = "has_helmet",
|
|
83
|
-
HighVisVest = "has_high_vis_vest"
|
|
84
|
-
}
|
|
@@ -152,8 +152,16 @@ export type BatteryVoltage = {
|
|
|
152
152
|
max_value: number;
|
|
153
153
|
min_value: number;
|
|
154
154
|
};
|
|
155
|
+
export declare enum GlobalSearchResource {
|
|
156
|
+
Projects = "projects",
|
|
157
|
+
Users = "users",
|
|
158
|
+
Cameras = "cameras",
|
|
159
|
+
Companies = "companies",
|
|
160
|
+
Sims = "sims",
|
|
161
|
+
Routers = "routers"
|
|
162
|
+
}
|
|
155
163
|
export type GlobalSearchQueryParams = PaginationParams & {
|
|
156
|
-
resource:
|
|
164
|
+
resource: GlobalSearchResource;
|
|
157
165
|
term: string;
|
|
158
166
|
email: string;
|
|
159
167
|
featureFlag: string;
|
|
@@ -20,6 +20,7 @@ export type SiteViewCameraListItem = {
|
|
|
20
20
|
integrationType?: string;
|
|
21
21
|
};
|
|
22
22
|
export type ForgeUrn = {
|
|
23
|
+
id?: string;
|
|
23
24
|
displayName: string;
|
|
24
25
|
urn: string;
|
|
25
26
|
isModelHostedByEvercamACC?: boolean;
|
|
@@ -47,21 +48,20 @@ export type TimelineItem = {
|
|
|
47
48
|
objectIDs: number[];
|
|
48
49
|
};
|
|
49
50
|
export type ForgeMarkerTransform = {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
type: string;
|
|
53
|
-
};
|
|
51
|
+
position?: Point3D;
|
|
52
|
+
hidden?: boolean;
|
|
54
53
|
};
|
|
55
54
|
export type ForgeMarker = {
|
|
56
55
|
name: string;
|
|
57
56
|
cameraExid: string;
|
|
58
|
-
|
|
57
|
+
type: string;
|
|
58
|
+
transforms: Record<string, ForgeMarkerTransform>;
|
|
59
59
|
};
|
|
60
60
|
export type ForgeProjectData = {
|
|
61
61
|
urns?: ForgeUrn[];
|
|
62
62
|
accDrawingsAlignments?: Record<string, ForgeAccAlignmentData>;
|
|
63
63
|
timeline?: TimelineItem[];
|
|
64
|
-
|
|
64
|
+
cameraMarkers?: Record<string, ForgeMarker>;
|
|
65
65
|
};
|
|
66
66
|
export type ItwinModel = {
|
|
67
67
|
name: string;
|