@evercam/api 1.0.0-d7a4e6c9d → 1.0.0-d7c973f82

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 +208 -13
  3. package/dist/api/api/adminApi.d.ts +104 -96
  4. package/dist/api/api/aiApi.d.ts +117 -86
  5. package/dist/api/api/authzApi.d.ts +34 -15
  6. package/dist/api/api/client/axios.d.ts +2 -1
  7. package/dist/api/api/client/swr/Swr.d.ts +1 -1
  8. package/dist/api/api/evercamApi.d.ts +144 -101
  9. package/dist/api/api/evercamLabsApi.d.ts +7 -6
  10. package/dist/api/api/exNvrApi.d.ts +1 -1
  11. package/dist/api/api/ingestApi.d.ts +109 -46
  12. package/dist/api/api/ptzApi.d.ts +12 -3
  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 +289 -38
  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 +146 -0
  19. package/dist/api/types/analytics.d.ts +145 -60
  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 +107 -0
  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 -14
  26. package/dist/api/types/bim.d.ts +38 -9
  27. package/dist/api/types/camera.d.ts +102 -106
  28. package/dist/api/types/comments.d.ts +10 -11
  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/credentials.d.ts +1 -0
  35. package/dist/api/types/detections.d.ts +23 -18
  36. package/dist/api/types/drone.d.ts +96 -6
  37. package/dist/api/types/errors.d.ts +13 -1
  38. package/dist/api/types/gateReport.d.ts +49 -168
  39. package/dist/api/types/gateReportManagement.d.ts +170 -0
  40. package/dist/api/types/hammertech.d.ts +98 -0
  41. package/dist/api/types/hdd.d.ts +26 -1
  42. package/dist/api/types/index.d.ts +14 -2
  43. package/dist/api/types/ingest.d.ts +112 -4
  44. package/dist/api/types/kit.d.ts +72 -56
  45. package/dist/api/types/map.d.ts +12 -0
  46. package/dist/api/types/media.d.ts +10 -3
  47. package/dist/api/types/notification.d.ts +43 -3
  48. package/dist/api/types/oauth.d.ts +62 -0
  49. package/dist/api/types/observations.d.ts +85 -0
  50. package/dist/api/types/planner.d.ts +101 -9
  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 +143 -21
  55. package/dist/api/types/recording.d.ts +10 -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 +20 -1
  61. package/dist/api/types/shared.d.ts +29 -22
  62. package/dist/api/types/shares.d.ts +6 -157
  63. package/dist/api/types/sim.d.ts +6 -6
  64. package/dist/api/types/siteAnalytics.d.ts +169 -47
  65. package/dist/api/types/siteAnalyticsManagement.d.ts +90 -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 +106 -35
  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 +2150 -1040
  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 +205 -34
  87. package/dist/shared/types/customDataTableFilters.d.ts +10 -0
  88. package/dist/shared/types/imagePlayer.d.ts +10 -3
  89. package/dist/shared/types/index.d.ts +3 -0
  90. package/dist/shared/types/observations.d.ts +21 -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,95 +1,158 @@
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, FlightImagesQueryParams, Generate360MapRequestPayload, GenerateFloorPayload, InspectionToolRequestPayload, JsonObject, _360WalkV2, _360FloorV2, _360ProgressResponse } 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>;
14
15
  getArchive(id: number, params: {
15
16
  dataType: string;
16
- }): Promise<import("axios").AxiosResponse<any, any>>;
17
- deleteUpload(id: number): Promise<import("axios").AxiosResponse<any, any>>;
17
+ }): Promise<Blob>;
18
+ deleteUpload(id: number): Promise<void>;
18
19
  prepareForUpload(projectId: string, params: {
19
20
  uploadedBy: string;
20
21
  token: string;
21
- }): Promise<import("axios").AxiosResponse<any, any>>;
22
+ }): Promise<void>;
22
23
  upload(projectId: string, params: {
23
24
  uploadedBy: string;
24
25
  token: string;
25
- }, payload: DroneUploadUpdateRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
26
+ }, payload: DroneUploadUpdateRequestPayload): Promise<void>;
26
27
  verifyToken(projectId: string, params: {
27
28
  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>>;
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>;
35
36
  };
36
37
  assets360: {
37
38
  get360Assets(params: {
38
39
  params: Partial<_360AssetsQueryParams>;
39
- }, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
40
+ }): Promise<_360AssetsResponse>;
40
41
  get360AssetsCounts(projectId: string, params: {
41
42
  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): Promise<import("axios").AxiosResponse<any, any>>;
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>;
47
48
  getArchive(id: number, params: {
48
49
  dateType: string;
49
- }): 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): Promise<import("axios").AxiosResponse<any, any>>;
50
+ }): Promise<Blob>;
51
+ get360Progress(id: number): Promise<_360ProgressResponse>;
52
+ createUpload(projectId: string, params: _360AssetsRequestPayload): Promise<IngestUploadInitResponse>;
53
+ upload(id: number, params: JsonObject, payload: _360AssetsUploadPayload): Promise<_360WalkV2>;
54
+ reprocess360(id: number): Promise<void>;
53
55
  drawingExists(payload: {
54
56
  params: {
55
57
  name: string;
56
58
  project_id: string;
57
59
  };
58
- }, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
60
+ }): Promise<JsonObject>;
59
61
  getDrawings(payload: {
60
62
  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>>;
63
+ config?: SwrRequestConfig<_360FloorsResponse>;
64
+ }): Promise<_360FloorsResponse>;
65
+ getDrawingById(id: number, projectExid: string): Promise<_360FloorV2>;
66
+ updateDrawing(id: number, projectExid: string, payload: GenerateFloorPayload): Promise<_360FloorV2>;
67
+ deleteDrawing(id: number): Promise<void>;
68
+ restoreDrawing(id: number): Promise<void>;
69
+ transferWalks(sourceId: number, targetId: number, projectExid: string): Promise<void>;
70
+ createDrawing(projectExid: string, payload: GenerateFloorPayload, createdBy: string): Promise<_360FloorV2>;
67
71
  fetchDrawingOverlay(id: number, params: {
68
72
  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>>;
73
+ thumbnail?: boolean;
74
+ }, onDownloadProgress?: (progress: ProgressEvent) => void, extraConfig?: AxiosRequestConfig): Promise<string>;
75
+ getFloorArchive(id: number): Promise<string>;
76
+ generate360map(projectId: string, params: Generate360MapRequestPayload): Promise<JsonObject>;
77
+ get360QueueSize(ingestUrl: string, params?: _360QueueQueryParams): Promise<_360QueueResponse>;
72
78
  };
73
79
  bim: {
74
80
  createUpload(projectId: string, params: {
75
81
  uploadedBy: string;
76
- }): Promise<import("axios").AxiosResponse<any, any>>;
82
+ }): Promise<IngestUploadInitResponse>;
77
83
  getBIMs(params: {
78
84
  params: Partial<BimUploadsQueryParams>;
79
- }): Promise<import("axios").AxiosResponse<any, any>>;
80
- getArchive(id: number): Promise<import("axios").AxiosResponse<any, any>>;
81
- deleteUpload(id: number): Promise<import("axios").AxiosResponse<any, any>>;
85
+ }): Promise<BimUploadsResponse>;
86
+ getArchive(id: number): Promise<Blob>;
87
+ deleteUpload(id: number): Promise<void>;
82
88
  upload(projectId: string, params: {
83
89
  id: string;
84
90
  name: string;
85
- }, payload: BimUploadPayload): Promise<import("axios").AxiosResponse<any, any>>;
91
+ }, payload: BimUploadPayload): Promise<void>;
92
+ };
93
+ webhook: {
94
+ notifyBimUpdated(projectId: string, bimIdentifier: string): Promise<void>;
86
95
  };
87
96
  mobileCapture: {
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>>;
97
+ getProjectMobileAssets(params: MobileAssetsQueryParams, extraConfig?: AxiosRequestConfig): Promise<MobileCaptureAssetsResponse>;
98
+ getMobileAssetPhoto(assetId: string | number, params: {
99
+ projectId?: string;
100
+ project_id?: string;
101
+ isThumbnail?: boolean;
102
+ is_thumbnail?: boolean;
103
+ }): Promise<string>;
104
+ deleteAsset(assetId: string | number): Promise<void>;
91
105
  };
92
106
  utils: {
93
- loadAllAssetsInQueue(): Promise<any[]>;
107
+ loadAllAssetsInQueue(): Promise<({
108
+ ingestVersion: string;
109
+ id: number;
110
+ projectId: string;
111
+ consumed: boolean;
112
+ token: string;
113
+ flightDate: string;
114
+ flightGeolocation: string;
115
+ modelZip: string;
116
+ orthomosaicZip: string;
117
+ reportPdf: string;
118
+ processingLog: string;
119
+ uploadedBy: string;
120
+ processingStatus: import("@evercam/api/types").IngestProcessingStatus | string;
121
+ modelCesiumAssetId: string;
122
+ updatedAt: string;
123
+ hasTusLinks: boolean;
124
+ aerialShots: import("@evercam/api/types").AerialShotItem[];
125
+ } | {
126
+ ingestVersion: string;
127
+ archive: string;
128
+ date: string;
129
+ deviceSerial: string | null;
130
+ endPosition: unknown | null;
131
+ floor: string;
132
+ floorId: number;
133
+ id: number;
134
+ images: string[];
135
+ insertedAt: string;
136
+ mobileAudios: string[];
137
+ mobileAudiosArchive: string;
138
+ mobilePhotos: string[];
139
+ mobilePhotosArchive: string;
140
+ model: string;
141
+ name: string;
142
+ processingStatus: string;
143
+ projectId: string;
144
+ report: string;
145
+ processingLog: string;
146
+ hasSteps?: boolean;
147
+ route: unknown | null;
148
+ startPosition: unknown | null;
149
+ tusLinks: unknown | null;
150
+ updatedAt: string;
151
+ uploadedBy: string;
152
+ videoArchive: string;
153
+ videos: string[];
154
+ })[]>;
155
+ getIngestVersion(ingestUrl: string): IngestVersions;
156
+ chooseIngestApiUrl(type: IngestTypes): Promise<string>;
94
157
  };
95
158
  };
@@ -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;
@@ -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,36 +1,211 @@
1
- import { DateType } from "@/types/time";
2
- export type _360CameraParams = {
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;
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 = {
3
21
  azimuthAngle: number;
4
22
  polarAngle: number;
5
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;
6
53
  export type _360Floor = {
7
- floorID: string;
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
+ hasSteps?: boolean;
97
+ route: unknown | null;
98
+ startPosition: unknown | null;
99
+ tusLinks: unknown | null;
100
+ updatedAt: string;
101
+ uploadedBy: string;
102
+ videoArchive: string;
103
+ videos: string[];
104
+ };
105
+ export type _360ProcessingStep = {
106
+ name: string;
107
+ tool: string | null;
108
+ status: string;
109
+ startedAt: string | null;
110
+ endedAt: string | null;
111
+ durationSec: number | null;
112
+ durationPct: number | null;
113
+ detail: Record<string, unknown>;
114
+ };
115
+ export type _360ProgressResponse = {
116
+ available: boolean;
117
+ processingStatus: string;
118
+ status: string | null;
119
+ currentStep: string | null;
120
+ startedAt: string | null;
121
+ steps: _360ProcessingStep[];
122
+ footprint?: _360Footprint | null;
123
+ };
124
+ export type _360Footprint = {
125
+ disk: Record<string, number>;
126
+ peak: Record<string, number>;
127
+ };
128
+ export type _360FloorV2 = {
129
+ id: _360FloorId;
130
+ assets: _360WalkV2[];
131
+ projectId: string;
8
132
  name: string;
133
+ mapStyle: string;
134
+ hasOverlay: boolean;
135
+ isCalibrated: boolean;
136
+ createdBy: string | null;
137
+ overlayPosition: _360OverlayPosition;
138
+ insertedAt: string;
139
+ updatedAt: string;
140
+ deletedAt: string | null;
9
141
  };
10
142
  export type _360Scene = {
11
143
  date: string;
12
- dateID: string;
13
- floors: _360Floor[];
144
+ dateID: string | number;
145
+ floors: {
146
+ floorID: _360FloorId;
147
+ name: string;
148
+ }[];
14
149
  polarAngle: number;
15
150
  azimuthAngle: number;
16
151
  };
152
+ export declare enum _360PinType {
153
+ Default = "Default"
154
+ }
155
+ export type _360Pin = {
156
+ position: Point3D;
157
+ pinType: _360PinType;
158
+ pinId?: string;
159
+ cameraExid?: string;
160
+ name: string;
161
+ currentRoom?: _360MakerId;
162
+ cameraRotation?: _360CameraRotation;
163
+ };
164
+ export type _360SceneRoute = {
165
+ cameraHeadingOffset?: number;
166
+ overlayID?: number;
167
+ track?: string;
168
+ };
169
+ export type _360ProjectListItem = {
170
+ integrationType: string;
171
+ projectId: string;
172
+ projectName: string;
173
+ providerID: string;
174
+ providerPrefix: string;
175
+ providerSuffix: string;
176
+ timeline: string;
177
+ uniqueId: string;
178
+ };
17
179
  export type _360ProjectJsonResponse = {
18
180
  dates: _360Scene[];
19
181
  [key: string]: any;
20
182
  };
21
183
  export type MobileCaptureSnapshot = {
22
- id: string;
184
+ id: string | number;
185
+ projectId?: string;
23
186
  uploadedBy: string;
24
187
  updatedAt: string;
25
188
  assetType: string;
26
189
  thumbnailUrl: string;
27
190
  };
28
191
  export declare enum _360UrlParams {
29
- DateId = "date_id",
192
+ DateId = "dateId",
193
+ Date = "date",
30
194
  Floor = "floor",
31
195
  Marker = "marker",
32
196
  PolarAngle = "polarAngle",
33
- AzimuthAngle = "azimuthAngle"
197
+ AzimuthAngle = "azimuthAngle",
198
+ Zoom = "zoom",
199
+ User = "user",
200
+ ViewerMode = "viewer_mode",
201
+ ProjectId = "projectId",
202
+ Unit = "unit",
203
+ LockDate = "lockDate",
204
+ LockFloor = "lockFloor",
205
+ LockMarker = "lockMarker",
206
+ IsWidget = "isWidget",
207
+ MediaLocked = "mediaLocked",
208
+ Debug = "debug"
34
209
  }
35
210
  export declare enum _360AssetType {
36
211
  Video = "video",
@@ -44,11 +219,6 @@ export declare enum _360AssetLabel {
44
219
  Walks = "walks",
45
220
  MobilePhotos = "mobilePhotos"
46
221
  }
47
- export declare enum _360Feature {
48
- BIM = "BIM",
49
- Minimap = "Minimap",
50
- Minimodel = "Minimodel"
51
- }
52
222
  export declare enum _360IntergrationType {
53
223
  Evercam = "Evercam",
54
224
  Matterport = "Matterport",
@@ -61,10 +231,8 @@ export declare enum PathMarkerColor {
61
231
  End = "#fd7567",
62
232
  Default = "#2196F3"
63
233
  }
64
- export type _360AssetsQueryParams = {
65
- page: number;
66
- limit: number;
67
- projectID: string;
234
+ export type _360AssetsQueryParams = PaginationParams & {
235
+ projectId: string;
68
236
  date: DateType;
69
237
  floor: string;
70
238
  id: string;
@@ -75,7 +243,7 @@ export type _360AssetsRequestPayload = {
75
243
  floor: string;
76
244
  uploadedBy?: string;
77
245
  };
78
- export type DrawingsRequestPayload = {
246
+ export type DrawingsRequestPayload = PaginationParams & {
79
247
  projectId?: string;
80
248
  name?: string;
81
249
  changedBy?: string;
@@ -83,9 +251,9 @@ export type DrawingsRequestPayload = {
83
251
  startDate?: string;
84
252
  endDate?: string;
85
253
  id?: number;
86
- page?: number;
87
- limit?: number;
88
254
  paginate?: boolean;
255
+ withAsset?: boolean;
256
+ includeDeleted?: boolean;
89
257
  };
90
258
  export type GenerateFloorPayload = {
91
259
  overlay?: {
@@ -96,24 +264,7 @@ export type GenerateFloorPayload = {
96
264
  changedBy: string;
97
265
  name?: string;
98
266
  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
- };
267
+ overlayPositionCorners: _360OverlayPosition;
117
268
  };
118
269
  export type _360QueueQueryParams = {
119
270
  projectId?: string;
@@ -138,4 +289,104 @@ export type Generate360MapRequestPayload = {
138
289
  cameraOffset: string;
139
290
  startPoint: string;
140
291
  endPoint: string;
292
+ drawingId?: number;
293
+ markers?: Array<{
294
+ position: {
295
+ x: number;
296
+ y: number;
297
+ z: number;
298
+ };
299
+ }>;
300
+ startPointIndex?: number;
301
+ endPointIndex?: number;
302
+ };
303
+ export declare enum EModelsType {
304
+ FBX = "FBX",
305
+ PointCloud = "PLY"
306
+ }
307
+ export type _360FloorRef = {
308
+ projectID: string;
309
+ dateID: string;
310
+ floorID: string;
311
+ };
312
+ export type _360Vector3 = {
313
+ x: number;
314
+ y: number;
315
+ z: number;
316
+ };
317
+ export type _360MarkerData = {
318
+ cameraPosition: _360Vector3;
319
+ nextRoomId: string;
320
+ position: _360Vector3;
321
+ geolocation?: {
322
+ latitude: number;
323
+ longitude: number;
324
+ };
325
+ rotation: {
326
+ _order: string;
327
+ _x: number;
328
+ _y: number;
329
+ _z: number;
330
+ isEuler: boolean;
331
+ };
332
+ };
333
+ export type _360Route = {
334
+ overlayID?: number;
335
+ track?: string;
336
+ cameraHeadingOffset?: number;
337
+ };
338
+ export type _360CalibrationDetails = {
339
+ baseOriginOf360Viewer?: _360Vector3;
340
+ baseOriginOfForgeViewer?: _360Vector3;
341
+ rotationMatrix?: {
342
+ elements: number[];
343
+ };
344
+ scaleMatrix?: {
345
+ elements: number[];
346
+ };
347
+ };
348
+ export type _360FloorData = {
349
+ _3DMarkers: _360MarkerData[];
350
+ fbxModel: string | null;
351
+ fbxModelHQ: string | null;
352
+ pointCloudModelHQ: string | null;
353
+ initialMarker: string;
354
+ cameraRotation: _360CameraRotation;
355
+ steps: number;
356
+ route: _360Route | null;
357
+ sceneScale: number;
358
+ modelViewerFeatureFlag: boolean;
359
+ imagesOnlyFeatureFlag: boolean;
360
+ forgeBIMFeatureFlag: boolean;
361
+ isForgeGravityEnabled: boolean;
362
+ initialForgeView: Record<string, unknown> | null;
363
+ calibrationDetails: _360CalibrationDetails;
364
+ enhancedLightFeatureFlag: boolean;
365
+ };
366
+ export type _360PinData = {
367
+ position: _360Vector3;
368
+ pinType: string;
369
+ name: string;
370
+ pinId?: string;
371
+ cameraExid?: string;
372
+ currentRoom?: string;
373
+ cameraRotation?: {
374
+ polarAngle: number;
375
+ azimuthAngle: number;
376
+ };
377
+ };
378
+ export type _360ForgeTimelineItem = {
379
+ taskNumber: number;
380
+ taskID: string;
381
+ actualStartDate: string;
382
+ actualEndDate: string;
383
+ plannedStartDate: string;
384
+ plannedEndDate: string;
385
+ objectIDs: number[];
386
+ };
387
+ export type _360ForgeProject = {
388
+ urns?: Array<{
389
+ urn: string;
390
+ }>;
391
+ timeline?: _360ForgeTimelineItem[];
141
392
  };