@evercam/api 1.0.0-51a0c8745 → 1.0.0-58e7ec980
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/dist/api/api/3dFirebaseApi.d.ts +10 -0
- package/dist/api/api/adminApi.d.ts +51 -6
- package/dist/api/api/aiApi.d.ts +18 -6
- package/dist/api/api/authzApi.d.ts +7 -0
- package/dist/api/api/client/swr/Swr.d.ts +14 -0
- package/dist/api/api/client/swr/SwrStore.d.ts +10 -0
- package/dist/api/api/evercamApi.d.ts +26 -14
- package/dist/api/api/evercamLabsApi.d.ts +3 -2
- package/dist/api/api/ingestApi.d.ts +38 -11
- package/dist/api/api/videoWallApi.d.ts +7 -7
- package/dist/api/types/360.d.ts +52 -0
- package/dist/api/types/aconex.d.ts +102 -4
- package/dist/api/types/analytics.d.ts +71 -4
- package/dist/api/types/anpr.d.ts +5 -11
- package/dist/api/types/authz.d.ts +22 -0
- package/dist/api/types/automation.d.ts +51 -0
- package/dist/api/types/axios.d.ts +14 -0
- package/dist/api/types/camera.d.ts +21 -5
- package/dist/api/types/comments.d.ts +18 -2
- package/dist/api/types/company.d.ts +1 -1
- package/dist/api/types/coolify.d.ts +2 -0
- package/dist/api/types/credentials.d.ts +1 -0
- package/dist/api/types/detections.d.ts +5 -20
- package/dist/api/types/errors.d.ts +1 -0
- package/dist/api/types/index.d.ts +3 -0
- package/dist/api/types/ingest.d.ts +4 -0
- package/dist/api/types/kit.d.ts +28 -5
- package/dist/api/types/planner.d.ts +4 -1
- package/dist/api/types/progressPhoto.d.ts +5 -23
- package/dist/api/types/project.d.ts +42 -2
- package/dist/api/types/recording.d.ts +1 -0
- package/dist/api/types/recycleBin.d.ts +14 -0
- package/dist/api/types/routeParams.d.ts +2 -1
- package/dist/api/types/shared.d.ts +1 -6
- package/dist/api/types/siteAnalytics.d.ts +31 -9
- package/dist/api/types/snapshots.d.ts +9 -0
- package/dist/api/types/sso.d.ts +55 -0
- package/dist/api/types/streaming.d.ts +1 -2
- package/dist/api/types/time.d.ts +4 -0
- package/dist/api/types/user.d.ts +4 -0
- package/dist/api/types/videoWall.d.ts +34 -1
- package/dist/api/types/weather.d.ts +2 -0
- package/dist/api/types/widget.d.ts +27 -6
- package/dist/api/utils.d.ts +1 -0
- package/dist/index.js +1116 -710
- 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 +17 -2
- package/package.json +5 -4
|
@@ -1,11 +1,21 @@
|
|
|
1
1
|
import { _360ProjectJsonResponse, DroneProjectJsonResponse, ProjectExid } from "@evercam/api/types";
|
|
2
2
|
export declare const getFirebaseDbApi: () => string | null | undefined;
|
|
3
|
+
export declare const getFirebaseStorageUrl: () => string | null | undefined;
|
|
4
|
+
export declare const getFirebaseStorageToken: () => string | null | undefined;
|
|
3
5
|
export declare const _3dFirebaseApi: {
|
|
4
6
|
drone: {
|
|
5
7
|
getProjectInfo(projectExid: ProjectExid): Promise<DroneProjectJsonResponse>;
|
|
8
|
+
getProjectTags(projectExid: ProjectExid): Promise<DroneProjectJsonResponse>;
|
|
6
9
|
};
|
|
7
10
|
_360: {
|
|
8
11
|
getProjectInfo(projectExid: ProjectExid): Promise<_360ProjectJsonResponse>;
|
|
9
12
|
updateFloor(projectExid: ProjectExid, dateId: string, floorIndex: string, body: any): Promise<_360ProjectJsonResponse>;
|
|
13
|
+
updateRoute(projectExid: ProjectExid, dateId: string, floorIndex: string, body: any): Promise<any>;
|
|
14
|
+
updateFeatureFlag(projectID: string, dateID: string, floorID: string, featureFlagName: string, value: boolean): Promise<any>;
|
|
15
|
+
saveSteps(projectID: string, dateID: string, floorID: string, stepsValue: number): Promise<any>;
|
|
16
|
+
updateGPXFile(projectExid: ProjectExid, dateId: string, floorIndex: string, gpxContent: any): Promise<any>;
|
|
17
|
+
};
|
|
18
|
+
forge: {
|
|
19
|
+
getProjectInfo(projectExid: ProjectExid): Promise<any>;
|
|
10
20
|
};
|
|
11
21
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { FootageCreateUpdatePayload, HDDCreateUpdatePayload, HDDsQueryParams } from "@/types/hdd";
|
|
2
|
-
import type { CamerasResponsePayload, CameraUpdateRequestPayload, PaginatedItems, AdminCamera, Project, Hdd, AdminUser, ProgressPhotosCreateUpdateRequestPayload,
|
|
2
|
+
import type { CamerasResponsePayload, CameraUpdateRequestPayload, PaginatedItems, AdminCamera, Project, Hdd, AdminUser, ProgressPhotosCreateUpdateRequestPayload, Kit, PatchPayload, StorageServersResponsePayload, MediaFilterQueryParams, Media, MediaDeleteRequestPayload, AuditLogsParams, AuditLog, SnapshotExtractionQyeryParams, SnapshotExtraction, CameraCreateRequestPayload, CameraDeletePayload, SnapshotTestPayload, SnapshotTestResponse, DuplicatedCameraFields, DuplicatedCameraResponse, MergeDuplicatedCameraPayload, FetchCameraQueryParams, DeleteSnapshotQueryParams, SaveNotePayload, CameraNote, CreateCameraNotePayload, CompanyQueryParams, Company, CompanyUpdatePayload, SsoProvider, SsoUpdatePayload, SsoCreatePayload, SuppressionsQueryParams, Suppression, SnapshotExtractionType, KitQueryParams, KitCreatePayload, AdminKit, CameraLogsQueryParams, CameraLog, CameraAuditLogsQueryParams, CameraAuditLog, NvrQueryParams, Nvr, SiteVisitCamerasQueryParams, OfflineCameraQueryParams, OfflineCamera, OfflineCameraNoteResponse, UserStatsResponse, UserCameraResponse, UserProjectResponse, ProjectUsers, ProjectCamera, ProjectsQueryParams, ProjectStatusStats, ProjectCreateRequestPayload, ProjectCreateResponse, ProjectUpdateRequestPayload, RouterQueryParams, Router, RouterCreatePayload, GlobalSearchQueryParams, CameraShareRequestsQueryParams, CameraShareRequest, CameraShareRequestPayload, ShareCreateResponsePayload, ShareQueryParams, AdminShare, SimCreateUpdatePayload, SimsQueryParams, Sim, SendSmsPayload, SendSmsResponse, SmsHistoryResponse, SmsQueryParams, Sms, ProgressPhotosQueryParams, ProgressPhotoItem, progressPhotosHistoryQueryParams, ProgressPhotosHistory, AdminUserUpdateRequestPayload, AdminQueryParams, Admin, ImpersonateUserResponse, AdminUserQueryParams, AdminCompareQueryParams, AdminCompare, NvrCreatePayload, WidgetsListRequestPayload, Widget, WidgetFull, WidgetPayload, PaginationParams, KitStorageRequestPayload, CompanyUser, CompanyProject, Automation, KitStorage, KitFootageRequestPayload, CommentsListRequestPayload, Comment, KitFootage, KitAlarmItem, RecycleBin, RecycleBinQueryParams, TransferCloudRecordingsQueryParams, CheckCameraPortPayload, CameraStatusLog } from "@evercam/api/types";
|
|
3
3
|
import { KitMetricId } from "@evercam/api/types";
|
|
4
4
|
import { Tag } from "@/types/tag";
|
|
5
|
+
import type { AxiosRequestConfig } from "axios";
|
|
5
6
|
export declare const AdminApi: {
|
|
6
7
|
mediaHub: {
|
|
7
8
|
getAllMedia(params: {
|
|
@@ -50,21 +51,34 @@ export declare const AdminApi: {
|
|
|
50
51
|
}>;
|
|
51
52
|
getCameras(params: {
|
|
52
53
|
params: Partial<FetchCameraQueryParams>;
|
|
53
|
-
}): Promise<PaginatedItems<AdminCamera>>;
|
|
54
|
+
}, extraConfig?: AxiosRequestConfig): Promise<PaginatedItems<AdminCamera>>;
|
|
54
55
|
getCompares(params: {
|
|
55
56
|
params: AdminCompareQueryParams;
|
|
56
57
|
}): Promise<PaginatedItems<AdminCompare[]>>;
|
|
57
58
|
getCameraDetails(exid: string): Promise<AdminCamera>;
|
|
59
|
+
getCameraStatusLogs(exid: string, params: {
|
|
60
|
+
params: {
|
|
61
|
+
from: string;
|
|
62
|
+
to: string;
|
|
63
|
+
};
|
|
64
|
+
}): Promise<CameraStatusLog[]>;
|
|
58
65
|
deleteSnapshots(cameraId: string, params: DeleteSnapshotQueryParams): Promise<void>;
|
|
66
|
+
transferCloudRecordings(cameraId: string, params: TransferCloudRecordingsQueryParams): Promise<void>;
|
|
59
67
|
refreshDeviceSettings(cameraId: string): Promise<void>;
|
|
60
68
|
saveNote(cameraId: string, params: SaveNotePayload): Promise<CameraNote>;
|
|
61
69
|
saveCameraNote(cameraId: string, params: CreateCameraNotePayload): Promise<{
|
|
62
70
|
message: string;
|
|
63
71
|
}>;
|
|
64
72
|
update(cameraId: string, params: CameraUpdateRequestPayload): Promise<CamerasResponsePayload>;
|
|
73
|
+
transferOwnership(cameraId: string, newOwnerId: number): Promise<void>;
|
|
74
|
+
portCheck(payload: {
|
|
75
|
+
params: CheckCameraPortPayload;
|
|
76
|
+
}): Promise<CheckCameraPortPayload & {
|
|
77
|
+
open: boolean;
|
|
78
|
+
}>;
|
|
65
79
|
};
|
|
66
80
|
companies: {
|
|
67
|
-
show(id: string): Promise<Company>;
|
|
81
|
+
show(id: string, params: Object): Promise<Company>;
|
|
68
82
|
getCompanyUsers(id: string, params: {
|
|
69
83
|
params: {
|
|
70
84
|
page: number;
|
|
@@ -100,6 +114,16 @@ export declare const AdminApi: {
|
|
|
100
114
|
success: true;
|
|
101
115
|
}>;
|
|
102
116
|
};
|
|
117
|
+
sso: {
|
|
118
|
+
getProviders(params: {
|
|
119
|
+
params: PaginationParams;
|
|
120
|
+
}): Promise<SsoProvider[]>;
|
|
121
|
+
updateProvider(id: string, params: SsoUpdatePayload): Promise<SsoProvider>;
|
|
122
|
+
createProvider(params: SsoCreatePayload): Promise<SsoProvider>;
|
|
123
|
+
deleteProviders(ids: string[]): Promise<{
|
|
124
|
+
success: true;
|
|
125
|
+
}>;
|
|
126
|
+
};
|
|
103
127
|
emailing: {
|
|
104
128
|
performEmailing(template: string, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
105
129
|
suppressions(params: {
|
|
@@ -138,7 +162,11 @@ export declare const AdminApi: {
|
|
|
138
162
|
detachTag(kitId: number, tagId: number): Promise<void>;
|
|
139
163
|
getStorages(params: {
|
|
140
164
|
params: KitStorageRequestPayload;
|
|
141
|
-
}): Promise<PaginatedItems<
|
|
165
|
+
}): Promise<PaginatedItems<KitStorage[]>>;
|
|
166
|
+
getFootage(id: number, params?: {
|
|
167
|
+
params?: KitFootageRequestPayload;
|
|
168
|
+
}): Promise<KitFootage[]>;
|
|
169
|
+
getAlarms(kitId: number): Promise<KitAlarmItem[]>;
|
|
142
170
|
};
|
|
143
171
|
logs: {
|
|
144
172
|
getAllCamerasStatusLogs(params: {
|
|
@@ -161,6 +189,16 @@ export declare const AdminApi: {
|
|
|
161
189
|
message: string;
|
|
162
190
|
}>;
|
|
163
191
|
};
|
|
192
|
+
recycleBin: {
|
|
193
|
+
getAllDeleted(params: {
|
|
194
|
+
params: RecycleBinQueryParams;
|
|
195
|
+
}): Promise<PaginatedItems<RecycleBin[]>>;
|
|
196
|
+
restore(params: {
|
|
197
|
+
type: string;
|
|
198
|
+
camera_ids: number[];
|
|
199
|
+
project_ids: number[];
|
|
200
|
+
}): Promise<void>;
|
|
201
|
+
};
|
|
164
202
|
offlineCameras: {
|
|
165
203
|
getSiteVisitCameras(params: {
|
|
166
204
|
params: Partial<SiteVisitCamerasQueryParams>;
|
|
@@ -268,7 +306,9 @@ export declare const AdminApi: {
|
|
|
268
306
|
};
|
|
269
307
|
sms: {
|
|
270
308
|
sendSms(number: string, params: SendSmsPayload): Promise<SendSmsResponse>;
|
|
271
|
-
getSimHistory(number: string
|
|
309
|
+
getSimHistory(number: string, params: {
|
|
310
|
+
params: PaginationParams;
|
|
311
|
+
}): Promise<PaginatedItems<SmsHistoryResponse>>;
|
|
272
312
|
getSms(params: {
|
|
273
313
|
params: Partial<SmsQueryParams>;
|
|
274
314
|
}): Promise<PaginatedItems<Sms[]>>;
|
|
@@ -285,7 +325,7 @@ export declare const AdminApi: {
|
|
|
285
325
|
}): Promise<{
|
|
286
326
|
progressPhoto: string;
|
|
287
327
|
}>;
|
|
288
|
-
update(id: string, payload: ProgressPhotosCreateUpdateRequestPayload): Promise<
|
|
328
|
+
update(id: string, payload: ProgressPhotosCreateUpdateRequestPayload): Promise<Automation>;
|
|
289
329
|
};
|
|
290
330
|
tags: {
|
|
291
331
|
index(): Promise<Tag[]>;
|
|
@@ -331,4 +371,9 @@ export declare const AdminApi: {
|
|
|
331
371
|
zohoDesk: {
|
|
332
372
|
searchTickets(params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
333
373
|
};
|
|
374
|
+
comments: {
|
|
375
|
+
index(params: {
|
|
376
|
+
params: Partial<CommentsListRequestPayload>;
|
|
377
|
+
}): Promise<PaginatedItems<Comment>>;
|
|
378
|
+
};
|
|
334
379
|
};
|
package/dist/api/api/aiApi.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnprQueryParams, AnprEvent, EventCountRequestPayload, EventCountResponsePayload, EventsExportRequestParameters, EventsRequestPayload, EventsResponsePayload, GateReportROI, PaginatedItems, GateReportVerifiedDay, ProjectExid, CameraExid, AnprCountsQueryParams, AnprCount, AnprBasedGateReportExportRequestParams, GateReportResponsePayload, GatReportRequestPayload, AnalyticsParameters, VerifiedDaysQueryParams, EventUpdateRequestPayload, VerifyDayUpdateRequestPayload, ProcessedDaysQueryParams, GateReportEventType, DateTime, RoisQueryParams, GateReportROICreateRequestPayload, SegmentsSimilaritySearchParams, DetectionsFilters, TrackingsByLabel, SegmentsByLabel, DetectionsCountsParams, DetectionsPresenceByLabel, SmartSearchQueryParams, SavedQuery, DateType, DetectionsRequestParams, DetectionsGroup, DetectionsCountsByPeriod, DetectionsExportRequestParams, SegmentsFilters,
|
|
1
|
+
import { AnprQueryParams, AnprEvent, EventCountRequestPayload, EventCountResponsePayload, EventsExportRequestParameters, EventsRequestPayload, EventsResponsePayload, GateReportROI, PaginatedItems, GateReportVerifiedDay, ProjectExid, CameraExid, AnprCountsQueryParams, AnprCount, AnprBasedGateReportExportRequestParams, GateReportResponsePayload, GatReportRequestPayload, AnalyticsParameters, VerifiedDaysQueryParams, EventUpdateRequestPayload, VerifyDayUpdateRequestPayload, ProcessedDaysQueryParams, GateReportEventType, DateTime, RoisQueryParams, GateReportROICreateRequestPayload, SegmentsSimilaritySearchParams, DetectionsFilters, TrackingsByLabel, SegmentsByLabel, DetectionsCountsParams, DetectionsPresenceByLabel, SmartSearchQueryParams, SavedQuery, DateType, DetectionsRequestParams, DetectionsGroup, DetectionsCountsByPeriod, DetectionsExportRequestParams, SegmentsFilters, DownloadFileType, SmartSearchQuery, Schedule, SmartSearchHeatmapData, SmartSearchOperatorType, DetectionLabel } from "@evercam/api/types";
|
|
2
2
|
import type { AxiosPromise, AxiosRequestConfig } from "axios";
|
|
3
3
|
import { CreateCoolifyAppRequestPayload, SaveCoolifyAppRequestPayload } from "@/types/coolify";
|
|
4
4
|
export declare const getAiApiUrl: () => string | null | undefined;
|
|
@@ -12,8 +12,8 @@ export declare const AiApi: {
|
|
|
12
12
|
};
|
|
13
13
|
anpr: {
|
|
14
14
|
exportAnprLegacyEvents(projectExid: ProjectExid, params: AnprQueryParams): AxiosPromise<any>;
|
|
15
|
-
getAnprEvents(projectExid: ProjectExid, params: AnprQueryParams): Promise<PaginatedItems<AnprEvent>>;
|
|
16
|
-
getAnprCounts(projectExid: ProjectExid, payload: AnprCountsQueryParams): Promise<AnprCount[]>;
|
|
15
|
+
getAnprEvents(projectExid: ProjectExid, params: AnprQueryParams, extraParams?: AxiosRequestConfig): Promise<PaginatedItems<AnprEvent>>;
|
|
16
|
+
getAnprCounts(projectExid: ProjectExid, payload: AnprCountsQueryParams, extraParams?: AxiosRequestConfig): Promise<AnprCount[]>;
|
|
17
17
|
updateAnprEvent(anprEventId: string, eventBody: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
18
18
|
bulkUpdateAnprRecords(anprEventsIds: number[], action: "is_plate" | "not_plate" | "is_duplicate" | "not_duplicate"): Promise<import("axios").AxiosResponse<any, any>>;
|
|
19
19
|
exportAnprEvents(projectExid: string, params: AnprBasedGateReportExportRequestParams): AxiosPromise<string>;
|
|
@@ -74,8 +74,8 @@ export declare const AiApi: {
|
|
|
74
74
|
};
|
|
75
75
|
detections: {
|
|
76
76
|
getDetections({ projectExid, ...params }: DetectionsRequestParams): Promise<import("axios").AxiosResponse<any, any>>;
|
|
77
|
-
getDetectionsCounts({ projectExid, ...params }: DetectionsRequestParams): Promise<DetectionsCountsByPeriod>;
|
|
78
|
-
getDetectionsByTimestamp({ projectExid, ...params }: DetectionsRequestParams): Promise<PaginatedItems<DetectionsGroup>>;
|
|
77
|
+
getDetectionsCounts({ projectExid, ...params }: DetectionsRequestParams, extraParams?: AxiosRequestConfig): Promise<DetectionsCountsByPeriod>;
|
|
78
|
+
getDetectionsByTimestamp({ projectExid, ...params }: DetectionsRequestParams, extraParams?: AxiosRequestConfig): Promise<PaginatedItems<DetectionsGroup>>;
|
|
79
79
|
getSimilarSegmentsInTimeIntervals({ cameraExid, iouThreshold, ...params }: SegmentsSimilaritySearchParams): Promise<import("axios").AxiosResponse<any, any>>;
|
|
80
80
|
getDetectionsTracking(projectExid: ProjectExid, params: DetectionsFilters): Promise<TrackingsByLabel>;
|
|
81
81
|
getSegmentsMasks(cameraExid: CameraExid, params: SegmentsFilters): Promise<SegmentsByLabel>;
|
|
@@ -110,7 +110,7 @@ export declare const AiApi: {
|
|
|
110
110
|
fromDate?: DateType;
|
|
111
111
|
toDate?: DateType;
|
|
112
112
|
query: string;
|
|
113
|
-
fileType:
|
|
113
|
+
fileType: DownloadFileType;
|
|
114
114
|
directDownload?: boolean;
|
|
115
115
|
payload: {
|
|
116
116
|
req: SmartSearchQuery;
|
|
@@ -118,6 +118,15 @@ export declare const AiApi: {
|
|
|
118
118
|
columns?: string[];
|
|
119
119
|
};
|
|
120
120
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
121
|
+
getDetectionsHeatmapData(cameraExid: CameraExid, params: {
|
|
122
|
+
fromDate: DateType | string;
|
|
123
|
+
toDate: DateType | string;
|
|
124
|
+
labels: DetectionLabel[];
|
|
125
|
+
operator?: SmartSearchOperatorType;
|
|
126
|
+
}): Promise<{
|
|
127
|
+
results: SmartSearchHeatmapData[];
|
|
128
|
+
sqlQuery: string;
|
|
129
|
+
}>;
|
|
121
130
|
};
|
|
122
131
|
coolify: {
|
|
123
132
|
getCoolifyServers(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -140,4 +149,7 @@ export declare const AiApi: {
|
|
|
140
149
|
pauseService(serviceId: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
141
150
|
restartService(serviceId: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
142
151
|
};
|
|
152
|
+
fovChanges: {
|
|
153
|
+
getCameraFovChanges(cameraExid: string, extraConfig?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
|
|
154
|
+
};
|
|
143
155
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ProjectExid, ProjectResourceRole, ProjectRoleRequestPayload } from "@/types";
|
|
1
2
|
export declare const AuthzApi: {
|
|
2
3
|
roles: {
|
|
3
4
|
get(params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -12,6 +13,12 @@ export declare const AuthzApi: {
|
|
|
12
13
|
unassignUsers(id: number, emails: Array<string>, resource_id: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
13
14
|
getUserRoles(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
14
15
|
};
|
|
16
|
+
projectRoles: {
|
|
17
|
+
get(projectExid: ProjectExid): Promise<import("axios").AxiosResponse<any, any>>;
|
|
18
|
+
create(projectExid: ProjectExid, params: ProjectRoleRequestPayload): Promise<ProjectResourceRole>;
|
|
19
|
+
update(projectExid: ProjectExid, roleId: number, params: ProjectRoleRequestPayload): Promise<ProjectResourceRole>;
|
|
20
|
+
delete(projectExid: ProjectExid, roleId: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
21
|
+
};
|
|
15
22
|
scopes: {
|
|
16
23
|
get(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
17
24
|
create(params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AxiosRequestConfig } from "axios";
|
|
2
|
+
import { ExtendedAxiosInstance, ResponseValue } from "@/types";
|
|
3
|
+
export declare class Swr {
|
|
4
|
+
private axiosInstance;
|
|
5
|
+
private store;
|
|
6
|
+
constructor({ key, axiosInstance, }: {
|
|
7
|
+
key: string;
|
|
8
|
+
axiosInstance: ExtendedAxiosInstance;
|
|
9
|
+
});
|
|
10
|
+
get<T = any>(url: string, config?: AxiosRequestConfig): Promise<ResponseValue<T>>;
|
|
11
|
+
private getCachedValue;
|
|
12
|
+
private getFreshValue;
|
|
13
|
+
clear(): Promise<void>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AxiosRequestConfig } from "axios";
|
|
2
|
+
export declare class SwrStore {
|
|
3
|
+
private prefix;
|
|
4
|
+
constructor(prefix: string);
|
|
5
|
+
generateKey(config: AxiosRequestConfig): string;
|
|
6
|
+
get(key: string): Promise<any>;
|
|
7
|
+
set(key: string, value: unknown): Promise<void>;
|
|
8
|
+
delete(key: string): Promise<void>;
|
|
9
|
+
clear(): Promise<void>;
|
|
10
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AxiosRequestConfig } from "axios";
|
|
2
|
-
import type { AconexAuthCallbackParams, AconexEditedImageUploadRequestPayload, AconexUserProjectsResponsePayload, ApiCredentials, AutodeskFolderResponsePayload, AutodeskProjectsResponsePayload, AutodeskTokenResponsePayload, AutodeskUploadSnapshotPayload, AutodeskUserHubsResponsePayload, AvailableDaysRequestPayload, AvailableDaysResponsePayload, AvailableHoursRequestPayload, AvailableHoursResponsePayload, BatteryReading, BatteryVoltage, BimCompareExportRequestPayload, BimCreationPayload, BIMLayer, BIMLayerPostPayload, BimLayersQueryParams, BimModelRequestPayload, BimModelResponsePayload, BimPendingImage, BimSnapshotRequestPayload, BimSnapshotResponsePayload, BimUploadCameraParameters, CameraExid, CameraLogsResponsePayload, CamerasResponsePayload, CameraStatusLog, CameraUpdateRequestPayload,
|
|
2
|
+
import type { AconexAuthCallbackParams, AconexEditedImageUploadRequestPayload, AconexUserProjectsResponsePayload, AconexDocumentSchemaResponsePayload, AconexDocumentTypeSchemaResponsePayload, ApiCredentials, AutodeskFolderResponsePayload, AutodeskProjectsResponsePayload, AutodeskTokenResponsePayload, AutodeskUploadSnapshotPayload, AutodeskUserHubsResponsePayload, AvailableDaysRequestPayload, AvailableDaysResponsePayload, AvailableHoursRequestPayload, AvailableHoursResponsePayload, BatteryReading, BatteryVoltage, BimCompareExportRequestPayload, BimCreationPayload, BIMLayer, BIMLayerPostPayload, BimLayersQueryParams, BimModelRequestPayload, BimModelResponsePayload, BimPendingImage, BimSnapshotRequestPayload, BimSnapshotResponsePayload, BimUploadCameraParameters, CameraExid, CameraLogsResponsePayload, CamerasResponsePayload, CameraStatusLog, CameraUpdateRequestPayload, Comment, CommentCreationRequestPayload, CommentsRequestPayload, Company, CompanyProject, CompanyKit, CompanyUser, Compare, CompareRequestPayload, ConnectorResponsePayload, Credentials, FetchCameraQueryParams, GoogleAuthRequestPayload, LoginRequestPayload, LoginResponsePayload, Logo, LogoutParams, Media, MediaCreateRequestPayload, MediaFilterQueryParams, MediaUpdateRequestPayload, MediaUsersResponsePayload, NearestSnapshotRequestPayload, NearestSnapshotResponsePayload, PaginatedItems, PendingBimImagesParams, ProcessPendingImagesBimParams, ProcoreEditedImageUploadRequestPayload, ProcoreObservationFormRequestPayload, ProcoreObservationTypesResponsePayload, ProcoreProjectsAlbumsPayload, ProcoreProjectRequestPayload, ProcoreUserCompaniesResponsePayload, ProcoreCompanyRequestPayload, ProcoreUserProjectsResponsePayload, ProcoreUserProjectPermissionsResponsePayload, ProcoreObservationAssignee, ProcoreObservationDistributionMember, ProcoreObservationTrades, ProcoreObservationLocation, ProcoreObservationSpecificationSection, ProcoreObservationForm, ProgressPhotosCreateUpdateRequestPayload, ProgressPhotosResponsePayload, ProgressPhotosUnSubscribeParams, ProjectBatteryReading, ProjectExid, ProjectLogoResponsePayload, ProjectResponsePayload, ProjectShareResponse, ProjectMembersResponsePayload, ProjectMembersRequestPayload, ProjectInviteMembersResponsePayload, RemotePasswordUpdateRequestPayload, ResendShareRequestPayload, SessionsListRequestPayload, Share, ShareCreateRequestPayload, ShareCreateResponsePayload, ShareDeletionRequestPayload, SharedUsersResponsePayload, ShareProjectCamerasRequestPayload, UpdateUserRestrictionPayload, UpdateCameraRestrictionPayload, ShareRequestsResponsePayload, SharesResponsePayload, SignupUserRequestPayload, Snapshot, SnapshotRangeRequestPayload, SnapshotRangeResponsePayload, ThumbnailData, TimelapseCreationRequestPayload, TimelapseCreationResponsePayload, TimelapseSnapshotRequestPayload, TimelapseSnapshotResponsePayload, UpdatePasswordRequestPayload, UserDeleteRequestPayload, UserSession, UserUpdateRequestPayload, VoyageControlConnectorPayload, XWeatherCreatePayload, XWeatherResponse, Widget, WidgetFull, WidgetPayload, WidgetsListRequestPayload, Camera, ProcoreNextObservationAvailableNumber } from "@evercam/api/types";
|
|
3
3
|
export declare const EvercamApi: {
|
|
4
4
|
apiStatus: {
|
|
5
5
|
getApiStatus(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -10,6 +10,13 @@ export declare const EvercamApi: {
|
|
|
10
10
|
features: string[];
|
|
11
11
|
}>;
|
|
12
12
|
impersonationLogin(token: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
13
|
+
fetchLoginOptions(email: string): Promise<{
|
|
14
|
+
options: any[];
|
|
15
|
+
}>;
|
|
16
|
+
fetchSignupOptions(email: string): Promise<{
|
|
17
|
+
options: any[];
|
|
18
|
+
}>;
|
|
19
|
+
fetchProviderConfig(provider: string): Promise<any>;
|
|
13
20
|
login(params: LoginRequestPayload): Promise<LoginResponsePayload>;
|
|
14
21
|
loginWithApiCredentials(apiId: String, apiKey: String): Promise<LoginResponsePayload>;
|
|
15
22
|
loginWithWidgetCredentials(widgetId: String, widgetKey: String): Promise<LoginResponsePayload>;
|
|
@@ -38,6 +45,7 @@ export declare const EvercamApi: {
|
|
|
38
45
|
fetchPermissions(): Promise<{
|
|
39
46
|
permissions: string[];
|
|
40
47
|
}>;
|
|
48
|
+
getProjectContacts(projectExid: ProjectExid): Promise<import("axios").AxiosResponse<any, any>>;
|
|
41
49
|
};
|
|
42
50
|
notifications: {
|
|
43
51
|
get(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -56,15 +64,11 @@ export declare const EvercamApi: {
|
|
|
56
64
|
};
|
|
57
65
|
cameras: {
|
|
58
66
|
getCameras(params: {
|
|
59
|
-
params
|
|
67
|
+
params?: Partial<FetchCameraQueryParams>;
|
|
68
|
+
config?: AxiosRequestConfig;
|
|
60
69
|
}): Promise<CamerasResponsePayload>;
|
|
61
70
|
getCameraById(cameraId: string, params?: ApiCredentials): Promise<CamerasResponsePayload>;
|
|
62
71
|
getCameraLastPublicNote(cameraId: string): Promise<CameraLogsResponsePayload>;
|
|
63
|
-
portCheck(payload: {
|
|
64
|
-
params: CheckCameraPortPayload;
|
|
65
|
-
}): Promise<CheckCameraPortPayload & {
|
|
66
|
-
open: boolean;
|
|
67
|
-
}>;
|
|
68
72
|
getNvrStreamingToken({ cameraExid, token, }: {
|
|
69
73
|
cameraExid: string;
|
|
70
74
|
token: string;
|
|
@@ -78,7 +82,10 @@ export declare const EvercamApi: {
|
|
|
78
82
|
updateCamera(exid: string, params: CameraUpdateRequestPayload): Promise<CamerasResponsePayload>;
|
|
79
83
|
};
|
|
80
84
|
projects: {
|
|
81
|
-
index(params
|
|
85
|
+
index({ params, config, }: {
|
|
86
|
+
params?: ApiCredentials;
|
|
87
|
+
config: AxiosRequestConfig;
|
|
88
|
+
}): Promise<ProjectResponsePayload>;
|
|
82
89
|
getLogos(projectId: string): Promise<ProjectLogoResponsePayload>;
|
|
83
90
|
createLogo(projectId: string, formData: FormData): Promise<Logo & {
|
|
84
91
|
id: number;
|
|
@@ -109,6 +116,11 @@ export declare const EvercamApi: {
|
|
|
109
116
|
getCameraRefs(projectExid: string): Promise<{
|
|
110
117
|
cameras: Camera[];
|
|
111
118
|
}>;
|
|
119
|
+
getTeamMembers(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
120
|
+
getMembers(projectExid: string): Promise<ProjectMembersResponsePayload>;
|
|
121
|
+
inviteMembers(projectExid: string, payload: ProjectMembersRequestPayload): Promise<ProjectInviteMembersResponsePayload>;
|
|
122
|
+
removeMembers(projectExid: string, emails: string[]): Promise<void>;
|
|
123
|
+
updateMembersRole(projectExid: string, payload: ProjectMembersRequestPayload): Promise<void>;
|
|
112
124
|
};
|
|
113
125
|
timelapse: {
|
|
114
126
|
getSnapshotRange(cameraId: string, payload: TimelapseSnapshotRequestPayload, extraParams?: AxiosRequestConfig): Promise<TimelapseSnapshotResponsePayload>;
|
|
@@ -133,7 +145,8 @@ export declare const EvercamApi: {
|
|
|
133
145
|
getUserProjects(): Promise<AconexUserProjectsResponsePayload>;
|
|
134
146
|
revoke(): Promise<void>;
|
|
135
147
|
uploadEditedSnapshot(projectId: number, payload: AconexEditedImageUploadRequestPayload): Promise<void>;
|
|
136
|
-
getDocumentSchema(projectId: number): Promise<
|
|
148
|
+
getDocumentSchema(projectId: number): Promise<AconexDocumentSchemaResponsePayload>;
|
|
149
|
+
getDocumentTypeSchema(projectId: number, documentTypeId: string): Promise<AconexDocumentTypeSchemaResponsePayload>;
|
|
137
150
|
};
|
|
138
151
|
procore: {
|
|
139
152
|
getUserCompanies(): Promise<ProcoreUserCompaniesResponsePayload>;
|
|
@@ -229,9 +242,6 @@ export declare const EvercamApi: {
|
|
|
229
242
|
cCreate(cameraId: string, payload: ShareCreateRequestPayload): Promise<ShareCreateResponsePayload>;
|
|
230
243
|
shareProjectCameras(projectExid: ProjectExid, payload: ShareProjectCamerasRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
231
244
|
getShareRequestByKey(key: string): Promise<Pick<ShareCreateResponsePayload, "shareRequests">>;
|
|
232
|
-
transferOwnership(cameraId: string, payload: {
|
|
233
|
-
userId: number;
|
|
234
|
-
}): Promise<void>;
|
|
235
245
|
resendShareRequest(cameraId: string, data: ResendShareRequestPayload): Promise<void>;
|
|
236
246
|
getProjectShares(exid: string): Promise<ProjectShareResponse>;
|
|
237
247
|
updateUserRestriction(projectExid: ProjectExid, payload: UpdateUserRestrictionPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -299,8 +309,10 @@ export declare const EvercamApi: {
|
|
|
299
309
|
show(id: number): Promise<WidgetFull>;
|
|
300
310
|
getByKeys(): Promise<WidgetFull>;
|
|
301
311
|
setSessionSettings(params: any): Promise<WidgetFull>;
|
|
302
|
-
|
|
303
|
-
|
|
312
|
+
setStatus(id: number, params: {
|
|
313
|
+
active: boolean;
|
|
314
|
+
}): Promise<WidgetFull>;
|
|
315
|
+
create(payload: WidgetPayload): Promise<WidgetFull>;
|
|
304
316
|
update(id: number, payload: WidgetPayload): Promise<WidgetFull>;
|
|
305
317
|
delete(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
306
318
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { CameraExid, CopilotConversation, CopilotMessage, CopilotMessageStep, SegmentsCountsParams, FeedbackPayload, GrafanaKitMetrics, LabsPaginationParams, LuminanceReading, PaginatedItems, SegmentsPresenceByLabel, ActiveUsersResponsePayload, ActiveUsersRequestPayload, HeatmapIntersectionsRequestParams, SmartSearchHeatmapPoint } from "@evercam/api/types";
|
|
2
2
|
import { GrafanaMetricId, KitMetricPeriod } from "@evercam/api/types";
|
|
3
3
|
export declare function getLabsBaseUrl(): string | null | undefined;
|
|
4
4
|
export declare const EvercamLabsApi: {
|
|
@@ -18,8 +18,9 @@ export declare const EvercamLabsApi: {
|
|
|
18
18
|
getMessageSteps(message: CopilotMessage): Promise<CopilotMessageStep[]>;
|
|
19
19
|
submitMessageFeedback<T>({ conversationId, messageId, ...params }: FeedbackPayload<T>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
20
20
|
};
|
|
21
|
-
|
|
21
|
+
siteAnalytics: {
|
|
22
22
|
getSegmentsDateIntervals({ cameraExid, fromDate, toDate, precision, }: SegmentsCountsParams): Promise<SegmentsPresenceByLabel>;
|
|
23
|
+
getIntersectionsHeatmapData(params: HeatmapIntersectionsRequestParams): Promise<SmartSearchHeatmapPoint[]>;
|
|
23
24
|
};
|
|
24
25
|
googleCloudStorage: {
|
|
25
26
|
listFiles(prefix?: string): Promise<{
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import {
|
|
1
|
+
import type { AxiosRequestConfig } from "axios";
|
|
2
|
+
import type { _360AssetsQueryParams, _360AssetsRequestPayload, _360QueueQueryParams, _360AssetsUploadPayload, BimUploadPayload, BimUploadsQueryParams, CalculateMeasuringOperationRequestPayload, DrawingsRequestPayload, DronesQueryParams, DroneUploadUpdateRequestPayload, FlightImagesQueryParams, Generate360MapRequestPayload, GenerateFloorPayload, InspectionToolRequestPayload, MobileCaptureSnapshot } from "@evercam/api/types";
|
|
3
|
+
import { IngestVersions } from "@evercam/api/types";
|
|
4
|
+
export declare const getIngestApiUrl: (version: string) => string | undefined | null;
|
|
3
5
|
export declare const IngestApi: {
|
|
4
6
|
drone: {
|
|
5
7
|
createUpload(projectId: string, params: {
|
|
@@ -35,15 +37,38 @@ export declare const IngestApi: {
|
|
|
35
37
|
get360Assets(params: {
|
|
36
38
|
params: Partial<_360AssetsQueryParams>;
|
|
37
39
|
}, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
+
get360AssetsCounts(projectId: string, params: {
|
|
41
|
+
uploadedBy: string;
|
|
42
|
+
}, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
43
|
+
get360AssetLink(projectId: string, date: string, floor: string, assetType: string, drawingId: string, marker: string | null): Promise<import("axios").AxiosResponse<any, any>>;
|
|
44
|
+
update360(id: number, payload: _360AssetsRequestPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
45
|
+
update360ByProjectDateName(projectId: string, date: string, floor: string, payload: _360AssetsRequestPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
46
|
+
deleteUpload(id: number, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
40
47
|
getArchive(id: number, params: {
|
|
41
48
|
dateType: string;
|
|
42
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
49
|
+
}, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
43
50
|
createUpload(projectId: string, params: _360AssetsRequestPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
44
51
|
upload(id: number, params: Record<string, unknown>, payload: _360AssetsUploadPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
45
|
-
|
|
46
|
-
|
|
52
|
+
reprocess360(id: number, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
53
|
+
drawingExists(payload: {
|
|
54
|
+
params: {
|
|
55
|
+
name: string;
|
|
56
|
+
project_id: string;
|
|
57
|
+
};
|
|
58
|
+
}, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
59
|
+
getDrawings(payload: {
|
|
60
|
+
params: DrawingsRequestPayload;
|
|
61
|
+
}, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
62
|
+
getDrawingById(id: number, projectExid: string, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
63
|
+
updateDrawing(id: number, projectExid: string, payload: GenerateFloorPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
64
|
+
deleteDrawing(id: number, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
65
|
+
transferWalks(sourceId: number, targetId: number, projectExid: string, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
66
|
+
createDrawing(projectExid: string, payload: GenerateFloorPayload, createdBy: string, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
67
|
+
fetchDrawingOverlay(id: number, params: {
|
|
68
|
+
view: boolean;
|
|
69
|
+
}, onDownloadProgress: (_progress: any) => {}, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
70
|
+
generate360map(projectId: string, params: Generate360MapRequestPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
71
|
+
get360QueueSize(params: _360QueueQueryParams, version?: IngestVersions): Promise<Record<string, any>>;
|
|
47
72
|
};
|
|
48
73
|
bim: {
|
|
49
74
|
createUpload(projectId: string, params: {
|
|
@@ -60,9 +85,11 @@ export declare const IngestApi: {
|
|
|
60
85
|
}, payload: BimUploadPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
61
86
|
};
|
|
62
87
|
mobileCapture: {
|
|
63
|
-
getProjectMobileAssets(params: Record<string, unknown
|
|
64
|
-
getMobileAssetPhoto(assetId: string | number, params: Record<string, unknown
|
|
88
|
+
getProjectMobileAssets(params: Record<string, unknown>, extraConfig?: AxiosRequestConfig, version?: IngestVersions): Promise<MobileCaptureSnapshot[]>;
|
|
89
|
+
getMobileAssetPhoto(assetId: string | number, params: Record<string, unknown>, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
90
|
+
deleteAsset(assetId: string | number, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
91
|
+
};
|
|
92
|
+
utils: {
|
|
93
|
+
loadAllAssetsInQueue(): Promise<any[]>;
|
|
65
94
|
};
|
|
66
|
-
getTotalQueueSize(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
67
|
-
loadAllAssetsInQueue(): Promise<any[]>;
|
|
68
95
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type PaginatedItems } from "@evercam/shared/types";
|
|
2
|
+
import { VideoWall, ListParams, VideoWallCreateUpdatePayload } from "@evercam/api/types/videoWall";
|
|
2
3
|
export declare const VideoWallApi: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
};
|
|
4
|
+
list(params?: ListParams): Promise<import("axios").AxiosResponse<PaginatedItems<VideoWall>, any>>;
|
|
5
|
+
create(body: VideoWallCreateUpdatePayload): Promise<import("axios").AxiosResponse<VideoWall, any>>;
|
|
6
|
+
get(exid: string | number): Promise<import("axios").AxiosResponse<VideoWall, any>>;
|
|
7
|
+
update(exid: string | number, body: Partial<VideoWallCreateUpdatePayload>): Promise<import("axios").AxiosResponse<VideoWall, any>>;
|
|
8
|
+
delete(exid: string | number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
9
9
|
};
|
package/dist/api/types/360.d.ts
CHANGED
|
@@ -40,6 +40,10 @@ export declare enum _360AssetType {
|
|
|
40
40
|
MobilePhoto = "mobile_photos",
|
|
41
41
|
MobileAudio = "mobile_audios"
|
|
42
42
|
}
|
|
43
|
+
export declare enum _360AssetLabel {
|
|
44
|
+
Walks = "walks",
|
|
45
|
+
MobilePhotos = "mobilePhotos"
|
|
46
|
+
}
|
|
43
47
|
export declare enum _360Feature {
|
|
44
48
|
BIM = "BIM",
|
|
45
49
|
Minimap = "Minimap",
|
|
@@ -52,6 +56,11 @@ export declare enum _360IntergrationType {
|
|
|
52
56
|
HoloBuilder = "Holobuilder",
|
|
53
57
|
DroneDeploy = "Dronedeploy"
|
|
54
58
|
}
|
|
59
|
+
export declare enum PathMarkerColor {
|
|
60
|
+
Start = "#00e74c",
|
|
61
|
+
End = "#fd7567",
|
|
62
|
+
Default = "#2196F3"
|
|
63
|
+
}
|
|
55
64
|
export type _360AssetsQueryParams = {
|
|
56
65
|
page: number;
|
|
57
66
|
limit: number;
|
|
@@ -66,6 +75,49 @@ export type _360AssetsRequestPayload = {
|
|
|
66
75
|
floor: string;
|
|
67
76
|
uploadedBy?: string;
|
|
68
77
|
};
|
|
78
|
+
export type DrawingsRequestPayload = {
|
|
79
|
+
projectId?: string;
|
|
80
|
+
name?: string;
|
|
81
|
+
changedBy?: string;
|
|
82
|
+
mapStyle?: string;
|
|
83
|
+
startDate?: string;
|
|
84
|
+
endDate?: string;
|
|
85
|
+
id?: number;
|
|
86
|
+
page?: number;
|
|
87
|
+
limit?: number;
|
|
88
|
+
paginate?: boolean;
|
|
89
|
+
};
|
|
90
|
+
export type GenerateFloorPayload = {
|
|
91
|
+
overlay?: {
|
|
92
|
+
url: string;
|
|
93
|
+
title: string;
|
|
94
|
+
fileExtension: string;
|
|
95
|
+
};
|
|
96
|
+
changedBy: string;
|
|
97
|
+
name?: string;
|
|
98
|
+
mapStyle?: string;
|
|
99
|
+
overlayPositionCorners: {
|
|
100
|
+
northEast: {
|
|
101
|
+
lat: number;
|
|
102
|
+
lng: number;
|
|
103
|
+
};
|
|
104
|
+
northWest: {
|
|
105
|
+
lat: number;
|
|
106
|
+
lng: number;
|
|
107
|
+
};
|
|
108
|
+
southWest: {
|
|
109
|
+
lat: number;
|
|
110
|
+
lng: number;
|
|
111
|
+
};
|
|
112
|
+
southEast: {
|
|
113
|
+
lat: number;
|
|
114
|
+
lng: number;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
export type _360QueueQueryParams = {
|
|
119
|
+
projectId?: string;
|
|
120
|
+
};
|
|
69
121
|
export type _360AssetsUploadPayload = {
|
|
70
122
|
targetPointsCount: number;
|
|
71
123
|
assetType: string;
|