@evercam/api 1.0.0-2bf5a8b13 → 1.0.0-2c3eef808

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.
Files changed (133) hide show
  1. package/README.md +4 -0
  2. package/dist/api/api/3dFirebaseApi.d.ts +210 -0
  3. package/dist/api/api/adminApi.d.ts +381 -0
  4. package/dist/api/api/aiApi.d.ts +168 -0
  5. package/dist/api/api/authzApi.d.ts +40 -0
  6. package/dist/api/{client → api/client}/axios.d.ts +2 -1
  7. package/dist/api/{client → api/client}/interceptors.d.ts +1 -1
  8. package/dist/api/api/client/swr/Swr.d.ts +14 -0
  9. package/dist/api/api/client/swr/SwrStore.d.ts +10 -0
  10. package/dist/api/api/evercamApi.d.ts +346 -0
  11. package/dist/api/{evercamLabsApi.d.ts → api/evercamLabsApi.d.ts} +9 -6
  12. package/dist/api/{exNvrApi.d.ts → api/exNvrApi.d.ts} +1 -1
  13. package/dist/api/api/index.d.ts +13 -0
  14. package/dist/api/api/ingestApi.d.ts +156 -0
  15. package/dist/api/{ptzApi.d.ts → api/ptzApi.d.ts} +12 -3
  16. package/dist/api/api/videoWallApi.d.ts +9 -0
  17. package/dist/api/{weatherApi.d.ts → api/weatherApi.d.ts} +2 -2
  18. package/dist/api/index.d.ts +3 -13
  19. package/dist/api/types/360.d.ts +395 -0
  20. package/dist/api/types/aconex.d.ts +143 -0
  21. package/dist/api/types/admin.d.ts +51 -0
  22. package/dist/api/types/aiConfigs.d.ts +154 -0
  23. package/dist/{types → api/types}/analytics.d.ts +196 -40
  24. package/dist/{types → api/types}/anpr.d.ts +55 -13
  25. package/dist/{types → api/types}/auditLogs.d.ts +19 -1
  26. package/dist/api/types/authz.d.ts +107 -0
  27. package/dist/{types → api/types}/autodesk.d.ts +7 -7
  28. package/dist/api/types/automation.d.ts +95 -0
  29. package/dist/{types → api/types}/axios.d.ts +30 -7
  30. package/dist/{types → api/types}/bim.d.ts +37 -6
  31. package/dist/{types → api/types}/camera.d.ts +112 -94
  32. package/dist/{types → api/types}/comments.d.ts +26 -11
  33. package/dist/api/types/company.d.ts +115 -0
  34. package/dist/{types → api/types}/compare.d.ts +20 -5
  35. package/dist/{types → api/types}/connector.d.ts +4 -5
  36. package/dist/api/types/coolify.d.ts +36 -0
  37. package/dist/{types → api/types}/copilot.d.ts +11 -6
  38. package/dist/{types → api/types}/countries.d.ts +0 -7
  39. package/dist/{types → api/types}/credentials.d.ts +1 -0
  40. package/dist/{types → api/types}/detections.d.ts +23 -34
  41. package/dist/api/types/drone.d.ts +107 -0
  42. package/dist/{types → api/types}/errors.d.ts +24 -0
  43. package/dist/{types → api/types}/gateReport.d.ts +50 -158
  44. package/dist/api/types/gateReportManagement.d.ts +175 -0
  45. package/dist/{types → api/types}/hdd.d.ts +26 -1
  46. package/dist/{types → api/types}/index.d.ts +14 -1
  47. package/dist/api/types/ingest.d.ts +158 -0
  48. package/dist/{types → api/types}/kit.d.ts +101 -10
  49. package/dist/api/types/map.d.ts +16 -0
  50. package/dist/{types → api/types}/media.d.ts +8 -2
  51. package/dist/api/types/notification.d.ts +57 -0
  52. package/dist/api/types/oauth.d.ts +62 -0
  53. package/dist/api/types/planner.d.ts +132 -0
  54. package/dist/api/types/posthog.d.ts +53 -0
  55. package/dist/{types → api/types}/procore.d.ts +26 -16
  56. package/dist/{types → api/types}/progressPhoto.d.ts +11 -23
  57. package/dist/api/types/project.d.ts +247 -0
  58. package/dist/{types → api/types}/recording.d.ts +9 -13
  59. package/dist/api/types/recycleBin.d.ts +14 -0
  60. package/dist/api/types/ring.d.ts +53 -0
  61. package/dist/{types → api/types}/roi.d.ts +4 -3
  62. package/dist/{types → api/types}/routeParams.d.ts +4 -2
  63. package/dist/{types → api/types}/router.d.ts +20 -1
  64. package/dist/{types → api/types}/shared.d.ts +31 -10
  65. package/dist/api/types/shares.d.ts +58 -0
  66. package/dist/{types → api/types}/sim.d.ts +6 -6
  67. package/dist/api/types/siteAnalytics.d.ts +287 -0
  68. package/dist/api/types/siteAnalyticsManagement.d.ts +92 -0
  69. package/dist/api/types/siteView.d.ts +73 -0
  70. package/dist/api/types/smartSeach.d.ts +5 -0
  71. package/dist/api/types/snapshots.d.ts +104 -0
  72. package/dist/api/types/sso.d.ts +55 -0
  73. package/dist/api/types/storageProvider.d.ts +19 -0
  74. package/dist/api/types/storyblok.d.ts +40 -0
  75. package/dist/{types → api/types}/streaming.d.ts +4 -5
  76. package/dist/{types → api/types}/tag.d.ts +1 -1
  77. package/dist/api/types/time.d.ts +7 -0
  78. package/dist/{types → api/types}/timelapse.d.ts +8 -5
  79. package/dist/{types → api/types}/user.d.ts +106 -40
  80. package/dist/api/types/videoWall.d.ts +66 -0
  81. package/dist/api/types/weather.d.ts +153 -0
  82. package/dist/{types → api/types}/widget.d.ts +96 -16
  83. package/dist/{types → api/types}/xweather.d.ts +4 -4
  84. package/dist/index.d.ts +2 -3
  85. package/dist/index.js +2404 -982
  86. package/dist/index.js.map +1 -1
  87. package/dist/index.umd.cjs +1 -1
  88. package/dist/index.umd.cjs.map +1 -1
  89. package/dist/shared/api/index.d.ts +3 -0
  90. package/dist/shared/components/timelinePlayer/providers/index.d.ts +3 -0
  91. package/dist/shared/components/timelinePlayer/providers/timelineAnprProvider.d.ts +17 -0
  92. package/dist/shared/components/timelinePlayer/providers/timelineDataProvider.d.ts +13 -0
  93. package/dist/shared/components/timelinePlayer/providers/timelineLuminanceProvider.d.ts +16 -0
  94. package/dist/shared/types/components.d.ts +346 -0
  95. package/dist/shared/types/customDataTableFilters.d.ts +10 -0
  96. package/dist/shared/types/imagePlayer.d.ts +41 -0
  97. package/dist/shared/types/index.d.ts +6 -0
  98. package/dist/shared/types/rbac.d.ts +67 -0
  99. package/dist/shared/types/timeline.d.ts +10 -0
  100. package/package.json +7 -4
  101. package/dist/api/3dFirebaseApi.d.ts +0 -10
  102. package/dist/api/adminApi.d.ts +0 -313
  103. package/dist/api/aiApi.d.ts +0 -125
  104. package/dist/api/authzApi.d.ts +0 -21
  105. package/dist/api/evercamApi.d.ts +0 -294
  106. package/dist/api/ingestApi.d.ts +0 -68
  107. package/dist/api/videoWallApi.d.ts +0 -9
  108. package/dist/types/360.d.ts +0 -87
  109. package/dist/types/aconex.d.ts +0 -45
  110. package/dist/types/automation.d.ts +0 -6
  111. package/dist/types/company.d.ts +0 -46
  112. package/dist/types/coolify.d.ts +0 -18
  113. package/dist/types/drone.d.ts +0 -17
  114. package/dist/types/ingest.d.ts +0 -43
  115. package/dist/types/map.d.ts +0 -4
  116. package/dist/types/notification.d.ts +0 -27
  117. package/dist/types/planner.d.ts +0 -28
  118. package/dist/types/project.d.ts +0 -127
  119. package/dist/types/shares.d.ts +0 -196
  120. package/dist/types/siteAnalytics.d.ts +0 -141
  121. package/dist/types/snapshots.d.ts +0 -50
  122. package/dist/types/storageServers.d.ts +0 -4
  123. package/dist/types/time.d.ts +0 -21
  124. package/dist/types/videoWall.d.ts +0 -33
  125. package/dist/types/weather.d.ts +0 -87
  126. /package/dist/api/{client → api/client}/customErrors.d.ts +0 -0
  127. /package/dist/api/{client → api/client}/index.d.ts +0 -0
  128. /package/dist/api/{webRtcApi.d.ts → api/webRtcApi.d.ts} +0 -0
  129. /package/dist/{types → api/types}/nvr.d.ts +0 -0
  130. /package/dist/{types → api/types}/systemCheck.d.ts +0 -0
  131. /package/dist/{types → api/types}/vendorModel.d.ts +0 -0
  132. /package/dist/{types → api/types}/voyageControl.d.ts +0 -0
  133. /package/dist/{utils.d.ts → api/utils.d.ts} +0 -0
@@ -0,0 +1,13 @@
1
+ export * from "./client";
2
+ export * from "./adminApi";
3
+ export * from "./videoWallApi";
4
+ export * from "./3dFirebaseApi";
5
+ export * from "./aiApi";
6
+ export * from "./webRtcApi";
7
+ export * from "./weatherApi";
8
+ export * from "./evercamLabsApi";
9
+ export * from "./evercamApi";
10
+ export * from "./ptzApi";
11
+ export * from "./ingestApi";
12
+ export * from "./exNvrApi";
13
+ export * from "./authzApi";
@@ -0,0 +1,156 @@
1
+ import type { AxiosRequestConfig } from "axios";
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, DroneUploadUpdateRequestPayload, FlightImagesQueryParams, Generate360MapRequestPayload, GenerateFloorPayload, InspectionToolRequestPayload, JsonObject, _360WalkV2, _360FloorV2 } from "@evercam/api/types";
4
+ import { IngestVersions, IngestTypes } from "@evercam/api/types";
5
+ export declare const getIngestApiUrls: (type: string) => string[];
6
+ export declare const IngestApi: {
7
+ drone: {
8
+ createUpload(projectId: string, params: {
9
+ uploadedBy: string;
10
+ }): Promise<IngestUploadInitResponse>;
11
+ reprocessDrone(id: number, params?: JsonObject): Promise<void>;
12
+ getDrones(params: {
13
+ params: Partial<DronesQueryParams>;
14
+ }): Promise<DroneUploadsResponse>;
15
+ getArchive(id: number, params: {
16
+ dataType: string;
17
+ }): Promise<Blob>;
18
+ deleteUpload(id: number): Promise<void>;
19
+ prepareForUpload(projectId: string, params: {
20
+ uploadedBy: string;
21
+ token: string;
22
+ }): Promise<void>;
23
+ upload(projectId: string, params: {
24
+ uploadedBy: string;
25
+ token: string;
26
+ }, payload: DroneUploadUpdateRequestPayload): Promise<void>;
27
+ verifyToken(projectId: string, params: {
28
+ token: string;
29
+ }): Promise<JsonObject>;
30
+ calculateMeasuringOperation(projectId: string, params: CalculateMeasuringOperationRequestPayload, ingestUrl?: string): Promise<JsonObject>;
31
+ inspectionTool(projectId: string, params: InspectionToolRequestPayload): Promise<JsonObject>;
32
+ isInspectionEnabled(projectId: string, params?: JsonObject): Promise<JsonObject>;
33
+ getDroneQueueSize(droneUrl: string): Promise<DroneQueueResponse>;
34
+ getFlightImages(projectId: string, params: FlightImagesQueryParams): Promise<JsonObject>;
35
+ checkFlightAvailableFeatures(projectId: string, params: JsonObject): Promise<JsonObject>;
36
+ };
37
+ assets360: {
38
+ get360Assets(params: {
39
+ params: Partial<_360AssetsQueryParams>;
40
+ }): Promise<_360AssetsResponse>;
41
+ get360AssetsCounts(projectId: string, params: {
42
+ uploadedBy: string;
43
+ }): Promise<_360AssetsCountsResponse>;
44
+ get360AssetLink(projectId: string, date: string, floor: string, assetType: string, drawingId: string, marker: string | null): Promise<string>;
45
+ update360(id: number, payload: _360AssetsRequestPayload): Promise<_360WalkV2>;
46
+ update360ByProjectDateName(projectId: string, date: string, floor: string, payload: _360AssetsRequestPayload): Promise<_360WalkV2>;
47
+ deleteUpload(id: number): Promise<void>;
48
+ getArchive(id: number, params: {
49
+ dateType: string;
50
+ }): Promise<Blob>;
51
+ createUpload(projectId: string, params: _360AssetsRequestPayload): Promise<IngestUploadInitResponse>;
52
+ upload(id: number, params: JsonObject, payload: _360AssetsUploadPayload): Promise<_360WalkV2>;
53
+ reprocess360(id: number): Promise<void>;
54
+ drawingExists(payload: {
55
+ params: {
56
+ name: string;
57
+ project_id: string;
58
+ };
59
+ }): Promise<JsonObject>;
60
+ getDrawings(payload: {
61
+ params: DrawingsRequestPayload;
62
+ config?: SwrRequestConfig<_360FloorsResponse>;
63
+ }): Promise<_360FloorsResponse>;
64
+ getDrawingById(id: number, projectExid: string): Promise<_360FloorV2>;
65
+ updateDrawing(id: number, projectExid: string, payload: GenerateFloorPayload): Promise<_360FloorV2>;
66
+ deleteDrawing(id: number): Promise<void>;
67
+ restoreDrawing(id: number): Promise<void>;
68
+ transferWalks(sourceId: number, targetId: number, projectExid: string): Promise<void>;
69
+ createDrawing(projectExid: string, payload: GenerateFloorPayload, createdBy: string): Promise<_360FloorV2>;
70
+ fetchDrawingOverlay(id: number, params: {
71
+ view: boolean;
72
+ thumbnail?: boolean;
73
+ }, onDownloadProgress?: (progress: ProgressEvent) => void): Promise<string>;
74
+ getFloorArchive(id: number): Promise<string>;
75
+ generate360map(projectId: string, params: Generate360MapRequestPayload): Promise<JsonObject>;
76
+ get360QueueSize(ingestUrl: string, params?: _360QueueQueryParams): Promise<_360QueueResponse>;
77
+ };
78
+ bim: {
79
+ createUpload(projectId: string, params: {
80
+ uploadedBy: string;
81
+ }): Promise<IngestUploadInitResponse>;
82
+ getBIMs(params: {
83
+ params: Partial<BimUploadsQueryParams>;
84
+ }): Promise<BimUploadsResponse>;
85
+ getArchive(id: number): Promise<Blob>;
86
+ deleteUpload(id: number): Promise<void>;
87
+ upload(projectId: string, params: {
88
+ id: string;
89
+ name: string;
90
+ }, payload: BimUploadPayload): Promise<void>;
91
+ };
92
+ webhook: {
93
+ notifyBimUpdated(projectId: string, bimIdentifier: string): Promise<void>;
94
+ };
95
+ mobileCapture: {
96
+ getProjectMobileAssets(params: MobileAssetsQueryParams, extraConfig?: AxiosRequestConfig): Promise<MobileCaptureAssetsResponse>;
97
+ getMobileAssetPhoto(assetId: string | number, params: {
98
+ projectId?: string;
99
+ project_id?: string;
100
+ isThumbnail?: boolean;
101
+ is_thumbnail?: boolean;
102
+ }): Promise<string>;
103
+ deleteAsset(assetId: string | number): Promise<void>;
104
+ };
105
+ utils: {
106
+ loadAllAssetsInQueue(): Promise<({
107
+ ingestVersion: string;
108
+ id: number;
109
+ projectId: string;
110
+ consumed: boolean;
111
+ token: string;
112
+ flightDate: string;
113
+ flightGeolocation: string;
114
+ modelZip: string;
115
+ orthomosaicZip: string;
116
+ reportPdf: string;
117
+ processingLog: string;
118
+ uploadedBy: string;
119
+ processingStatus: import("@evercam/api/types").IngestProcessingStatus | string;
120
+ modelCesiumAssetId: string;
121
+ updatedAt: string;
122
+ hasTusLinks: boolean;
123
+ aerialShots: import("@evercam/api/types").AerialShotItem[];
124
+ } | {
125
+ ingestVersion: string;
126
+ archive: string;
127
+ date: string;
128
+ deviceSerial: string | null;
129
+ endPosition: unknown | null;
130
+ floor: string;
131
+ floorId: number;
132
+ id: number;
133
+ images: string[];
134
+ insertedAt: string;
135
+ mobileAudios: string[];
136
+ mobileAudiosArchive: string;
137
+ mobilePhotos: string[];
138
+ mobilePhotosArchive: string;
139
+ model: string;
140
+ name: string;
141
+ processingStatus: string;
142
+ projectId: string;
143
+ report: string;
144
+ processingLog: string;
145
+ route: unknown | null;
146
+ startPosition: unknown | null;
147
+ tusLinks: unknown | null;
148
+ updatedAt: string;
149
+ uploadedBy: string;
150
+ videoArchive: string;
151
+ videos: string[];
152
+ })[]>;
153
+ getIngestVersion(ingestUrl: string): IngestVersions;
154
+ chooseIngestApiUrl(type: IngestTypes): Promise<string>;
155
+ };
156
+ };
@@ -1,9 +1,14 @@
1
- import { MoveParams, ZoomParams } from "@/types";
1
+ import { MoveParams, ZoomParams } from "@evercam/api/types";
2
2
  export declare const PtzApi: {
3
3
  presets: {
4
- index({ cameraExid }: {
4
+ index({ cameraExid, }: {
5
5
  cameraExid: string;
6
- }): Promise<import("axios").AxiosResponse<any, any>>;
6
+ }): Promise<{
7
+ presets: Array<{
8
+ name: string;
9
+ token: string;
10
+ }>;
11
+ }>;
7
12
  go({ cameraExid, presetId, }: {
8
13
  cameraExid: string;
9
14
  presetId: string | number;
@@ -21,6 +26,10 @@ export declare const PtzApi: {
21
26
  presetId: string | number;
22
27
  presetName: string;
23
28
  }): Promise<import("axios").AxiosResponse<any, any>>;
29
+ updateHome({ cameraExid, presetName, }: {
30
+ cameraExid: string;
31
+ presetName: string;
32
+ }): Promise<import("axios").AxiosResponse<any, any>>;
24
33
  delete({ cameraExid, presetId, }: {
25
34
  cameraExid: string;
26
35
  presetId: string | number;
@@ -0,0 +1,9 @@
1
+ import { type PaginatedItems } from "@evercam/shared/types";
2
+ import { VideoWall, VideoWallListParams, VideoWallCreateUpdatePayload } from "@evercam/api/types/videoWall";
3
+ export declare const VideoWallApi: {
4
+ list(params?: VideoWallListParams): 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
+ };
@@ -1,9 +1,9 @@
1
- import { CurrentWeatherRequestPayload, HistoryWeatherRequestPayload, WeatherDataResponse, WeatherResponsePayload } from "@evercam/api/types";
1
+ import { CurrentWeatherRequestPayload, HistoryWeatherRequestPayload, WeatherDataResponse, WeatherReportRequestPayload, WeatherResponsePayload } from "@evercam/api/types";
2
2
  import { AxiosRequestConfig } from "axios";
3
3
  export declare const WeatherApi: {
4
4
  current(projectExid: string, payload: CurrentWeatherRequestPayload): Promise<WeatherResponsePayload> | undefined;
5
5
  historical(projectExid: string, payload: HistoryWeatherRequestPayload): Promise<WeatherResponsePayload> | undefined;
6
- report(projectExid: string, payload: HistoryWeatherRequestPayload, config?: AxiosRequestConfig): Promise<{
6
+ report(projectExid: string, payload: WeatherReportRequestPayload, config?: AxiosRequestConfig): Promise<{
7
7
  data: WeatherDataResponse[];
8
8
  }> | undefined;
9
9
  };
@@ -1,13 +1,3 @@
1
- export * from "./client";
2
- export * from "./adminApi";
3
- export * from "./videoWallApi";
4
- export * from "./3dFirebaseApi";
5
- export * from "./aiApi";
6
- export * from "./webRtcApi";
7
- export * from "./weatherApi";
8
- export * from "./evercamLabsApi";
9
- export * from "./evercamApi";
10
- export * from "./ptzApi";
11
- export * from "./ingestApi";
12
- export * from "./exNvrApi";
13
- export * from "./authzApi";
1
+ export * from "./api";
2
+ export * from "./types";
3
+ export * from "./utils";
@@ -0,0 +1,395 @@
1
+ import { DateType } from "@evercam/api/types/time";
2
+ import { GeoPoint, Point3D } from "@evercam/api/types/shared";
3
+ export type _360OverlayPosition = {
4
+ northEast: GeoPoint;
5
+ northWest: GeoPoint;
6
+ southEast: GeoPoint;
7
+ southWest: GeoPoint;
8
+ };
9
+ export type ForgeViewport = {
10
+ name: string;
11
+ eye: number[];
12
+ target: number[];
13
+ worldUpVector?: number[];
14
+ };
15
+ export type ForgeView = {
16
+ name: string;
17
+ viewport: ForgeViewport;
18
+ timestamp: string;
19
+ };
20
+ export type _360CameraRotation = {
21
+ azimuthAngle: number;
22
+ polarAngle: number;
23
+ };
24
+ export type _360Geolocation = {
25
+ latitude: number;
26
+ longitude: number;
27
+ };
28
+ export type _360Marker3D = {
29
+ cameraPosition: Point3D;
30
+ geolocation: _360Geolocation;
31
+ nextRoomId: _360MakerId;
32
+ position: Point3D;
33
+ rotation: {
34
+ _order: "XYZ" | string;
35
+ _x: number;
36
+ _y: number;
37
+ _z: number;
38
+ isEuler: boolean;
39
+ };
40
+ };
41
+ export type _360Tag = {
42
+ id: string;
43
+ tagType: string;
44
+ comment: string;
45
+ creationDate: number;
46
+ currentRoom: _360MakerId;
47
+ position: Point3D;
48
+ cameraRotation: _360CameraRotation;
49
+ };
50
+ export type _360FloorId = string | number;
51
+ export type _360Walk = Record<_360FloorId, _360Floor>;
52
+ export type _360MakerId = string;
53
+ export type _360Floor = {
54
+ _3DMarkers: _360Marker3D[];
55
+ cameraRotation: _360CameraRotation;
56
+ fbxModel: string;
57
+ fbxModelHQ?: string;
58
+ pointCloudModelHQ?: string;
59
+ initialMarker: _360MakerId;
60
+ modelViewerFeatureFlag: boolean;
61
+ imagesOnlyFeatureFlag?: boolean;
62
+ forgeBIMFeatureFlag?: boolean;
63
+ isForgeGravityEnabled?: boolean;
64
+ initialForgeView?: ForgeView | null;
65
+ enhancedLightFeatureFlag?: boolean;
66
+ calibrationDetails?: Record<string, unknown>;
67
+ route: {
68
+ cameraHeadingOffset: string;
69
+ overlayID: number;
70
+ track: string;
71
+ };
72
+ sceneScale: number;
73
+ steps: number;
74
+ tags?: Record<string, _360Tag>;
75
+ };
76
+ export type _360WalkV2 = {
77
+ archive: string;
78
+ date: string;
79
+ deviceSerial: string | null;
80
+ endPosition: unknown | null;
81
+ floor: string;
82
+ floorId: number;
83
+ id: number;
84
+ images: string[];
85
+ insertedAt: string;
86
+ mobileAudios: string[];
87
+ mobileAudiosArchive: string;
88
+ mobilePhotos: string[];
89
+ mobilePhotosArchive: string;
90
+ model: string;
91
+ name: string;
92
+ processingStatus: string;
93
+ projectId: string;
94
+ report: string;
95
+ processingLog: string;
96
+ route: unknown | null;
97
+ startPosition: unknown | null;
98
+ tusLinks: unknown | null;
99
+ updatedAt: string;
100
+ uploadedBy: string;
101
+ videoArchive: string;
102
+ videos: string[];
103
+ };
104
+ export type _360FloorV2 = {
105
+ id: _360FloorId;
106
+ assets: _360WalkV2[];
107
+ projectId: string;
108
+ name: string;
109
+ mapStyle: string;
110
+ hasOverlay: boolean;
111
+ isCalibrated: boolean;
112
+ createdBy: string | null;
113
+ overlayPosition: _360OverlayPosition;
114
+ insertedAt: string;
115
+ updatedAt: string;
116
+ deletedAt: string | null;
117
+ };
118
+ export type _360Scene = {
119
+ date: string;
120
+ dateID: string | number;
121
+ floors: {
122
+ floorID: _360FloorId;
123
+ name: string;
124
+ }[];
125
+ polarAngle: number;
126
+ azimuthAngle: number;
127
+ };
128
+ export declare enum _360PinType {
129
+ Default = "Default"
130
+ }
131
+ export type _360Pin = {
132
+ position: Point3D;
133
+ pinType: _360PinType;
134
+ pinId?: string;
135
+ cameraExid?: string;
136
+ name: string;
137
+ currentRoom?: _360MakerId;
138
+ cameraRotation?: _360CameraRotation;
139
+ };
140
+ export type _360SceneRoute = {
141
+ cameraHeadingOffset?: number;
142
+ overlayID?: number;
143
+ track?: string;
144
+ };
145
+ export type _360ProjectListItem = {
146
+ integrationType: string;
147
+ projectId: string;
148
+ projectName: string;
149
+ providerID: string;
150
+ providerPrefix: string;
151
+ providerSuffix: string;
152
+ timeline: string;
153
+ uniqueId: string;
154
+ };
155
+ export type _360FullProject = {
156
+ dates: _360SceneWithFloors[];
157
+ integrationType: string;
158
+ projectId: string;
159
+ projectName: string;
160
+ providerID: string;
161
+ providerPrefix: string;
162
+ providerSuffix: string;
163
+ timeline: string;
164
+ uniqueId: string;
165
+ };
166
+ export type _360FullFloor = _360Floor & {
167
+ id: _360FloorId;
168
+ name: string;
169
+ };
170
+ export type _360SceneWithFloors = _360Scene & {
171
+ floors: _360FullFloor[];
172
+ };
173
+ export type _360ProjectJsonResponse = {
174
+ dates: _360Scene[];
175
+ [key: string]: any;
176
+ };
177
+ export type MobileCaptureSnapshot = {
178
+ id: string | number;
179
+ projectId?: string;
180
+ uploadedBy: string;
181
+ updatedAt: string;
182
+ assetType: string;
183
+ thumbnailUrl: string;
184
+ };
185
+ export declare enum _360UrlParams {
186
+ DateId = "dateId",
187
+ Date = "date",
188
+ Floor = "floor",
189
+ Marker = "marker",
190
+ PolarAngle = "polarAngle",
191
+ AzimuthAngle = "azimuthAngle",
192
+ Zoom = "zoom",
193
+ User = "user",
194
+ ViewerMode = "viewer_mode",
195
+ ProjectId = "projectId",
196
+ Unit = "unit",
197
+ LockDate = "lockDate",
198
+ LockFloor = "lockFloor",
199
+ LockMarker = "lockMarker",
200
+ IsWidget = "isWidget",
201
+ MediaLocked = "mediaLocked",
202
+ Debug = "debug"
203
+ }
204
+ export declare enum _360AssetType {
205
+ Video = "video",
206
+ Image = "image",
207
+ Model = "model",
208
+ Route = "route",
209
+ MobilePhoto = "mobile_photos",
210
+ MobileAudio = "mobile_audios"
211
+ }
212
+ export declare enum _360AssetLabel {
213
+ Walks = "walks",
214
+ MobilePhotos = "mobilePhotos"
215
+ }
216
+ export declare enum _360Feature {
217
+ BIM = "BIM",
218
+ Minimap = "Minimap",
219
+ Minimodel = "Minimodel"
220
+ }
221
+ export declare enum _360IntergrationType {
222
+ Evercam = "Evercam",
223
+ Matterport = "Matterport",
224
+ OpenSpace = "Openspace",
225
+ HoloBuilder = "Holobuilder",
226
+ DroneDeploy = "Dronedeploy"
227
+ }
228
+ export declare enum PathMarkerColor {
229
+ Start = "#00e74c",
230
+ End = "#fd7567",
231
+ Default = "#2196F3"
232
+ }
233
+ export type _360AssetsQueryParams = {
234
+ page: number;
235
+ limit: number;
236
+ projectId: string;
237
+ date: DateType;
238
+ floor: string;
239
+ id: string;
240
+ };
241
+ export type _360AssetsRequestPayload = {
242
+ projectId: string;
243
+ date: DateType;
244
+ floor: string;
245
+ uploadedBy?: string;
246
+ };
247
+ export type DrawingsRequestPayload = {
248
+ projectId?: string;
249
+ name?: string;
250
+ changedBy?: string;
251
+ mapStyle?: string;
252
+ startDate?: string;
253
+ endDate?: string;
254
+ id?: number;
255
+ page?: number;
256
+ limit?: number;
257
+ paginate?: boolean;
258
+ withAsset?: boolean;
259
+ includeDeleted?: boolean;
260
+ };
261
+ export type GenerateFloorPayload = {
262
+ overlay?: {
263
+ url: string;
264
+ title: string;
265
+ fileExtension: string;
266
+ };
267
+ changedBy: string;
268
+ name?: string;
269
+ mapStyle?: string;
270
+ overlayPositionCorners: _360OverlayPosition;
271
+ };
272
+ export type _360QueueQueryParams = {
273
+ projectId?: string;
274
+ };
275
+ export type _360AssetsUploadPayload = {
276
+ targetPointsCount: number;
277
+ assetType: string;
278
+ upload: {
279
+ url: string;
280
+ title: string;
281
+ fileExtension: string;
282
+ }[];
283
+ deviceSerial: string;
284
+ startPosition: string;
285
+ endPosition: string;
286
+ isTimelapse: boolean;
287
+ isImagesOnly: boolean;
288
+ };
289
+ export type Generate360MapRequestPayload = {
290
+ dateId: string;
291
+ floorId: string;
292
+ cameraOffset: string;
293
+ startPoint: string;
294
+ endPoint: string;
295
+ drawingId?: number;
296
+ markers?: Array<{
297
+ position: {
298
+ x: number;
299
+ y: number;
300
+ z: number;
301
+ };
302
+ }>;
303
+ startPointIndex?: number;
304
+ endPointIndex?: number;
305
+ };
306
+ export declare enum EModelsType {
307
+ FBX = "FBX",
308
+ PointCloud = "PLY"
309
+ }
310
+ export type _360FloorRef = {
311
+ projectID: string;
312
+ dateID: string;
313
+ floorID: string;
314
+ };
315
+ export type _360Vector3 = {
316
+ x: number;
317
+ y: number;
318
+ z: number;
319
+ };
320
+ export type _360MarkerData = {
321
+ cameraPosition: _360Vector3;
322
+ nextRoomId: string;
323
+ position: _360Vector3;
324
+ geolocation: {
325
+ latitude: number;
326
+ longitude: number;
327
+ };
328
+ rotation: {
329
+ _order: string;
330
+ _x: number;
331
+ _y: number;
332
+ _z: number;
333
+ isEuler: boolean;
334
+ };
335
+ };
336
+ export type _360Route = {
337
+ overlayID?: number;
338
+ track?: string;
339
+ cameraHeadingOffset?: number;
340
+ };
341
+ export type _360CalibrationDetails = {
342
+ baseOriginOf360Viewer?: _360Vector3;
343
+ baseOriginOfForgeViewer?: _360Vector3;
344
+ rotationMatrix?: {
345
+ elements: number[];
346
+ };
347
+ scaleMatrix?: {
348
+ elements: number[];
349
+ };
350
+ };
351
+ export type _360FloorData = {
352
+ _3DMarkers: _360MarkerData[];
353
+ fbxModel: string | null;
354
+ fbxModelHQ: string | null;
355
+ pointCloudModelHQ: string | null;
356
+ initialMarker: string;
357
+ cameraRotation: _360CameraRotation;
358
+ steps: number;
359
+ route: _360Route | null;
360
+ sceneScale: number;
361
+ modelViewerFeatureFlag: boolean;
362
+ imagesOnlyFeatureFlag: boolean;
363
+ forgeBIMFeatureFlag: boolean;
364
+ isForgeGravityEnabled: boolean;
365
+ initialForgeView: Record<string, unknown> | null;
366
+ calibrationDetails: _360CalibrationDetails;
367
+ enhancedLightFeatureFlag: boolean;
368
+ };
369
+ export type _360PinData = {
370
+ position: _360Vector3;
371
+ pinType: string;
372
+ name: string;
373
+ pinId?: string;
374
+ cameraExid?: string;
375
+ currentRoom?: string;
376
+ cameraRotation?: {
377
+ polarAngle: number;
378
+ azimuthAngle: number;
379
+ };
380
+ };
381
+ export type _360ForgeTimelineItem = {
382
+ taskNumber: number;
383
+ taskID: string;
384
+ actualStartDate: string;
385
+ actualEndDate: string;
386
+ plannedStartDate: string;
387
+ plannedEndDate: string;
388
+ objectIDs: number[];
389
+ };
390
+ export type _360ForgeProject = {
391
+ urns?: Array<{
392
+ urn: string;
393
+ }>;
394
+ timeline?: _360ForgeTimelineItem[];
395
+ };