@evercam/api 1.0.0-19c32241d → 1.0.0-1aa400d04

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