@evercam/api 1.0.0-a6868d86c → 1.0.0-a7ddee781

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 (88) hide show
  1. package/README.md +1 -0
  2. package/dist/api/api/3dFirebaseApi.d.ts +198 -14
  3. package/dist/api/api/adminApi.d.ts +83 -70
  4. package/dist/api/api/aiApi.d.ts +99 -55
  5. package/dist/api/api/authzApi.d.ts +26 -17
  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 +124 -99
  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 +106 -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 +175 -56
  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 +154 -0
  19. package/dist/api/types/analytics.d.ts +110 -58
  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 +45 -6
  23. package/dist/api/types/autodesk.d.ts +7 -7
  24. package/dist/api/types/automation.d.ts +37 -3
  25. package/dist/api/types/axios.d.ts +17 -11
  26. package/dist/api/types/bim.d.ts +36 -5
  27. package/dist/api/types/camera.d.ts +93 -94
  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 +4 -5
  32. package/dist/api/types/coolify.d.ts +18 -2
  33. package/dist/api/types/copilot.d.ts +11 -6
  34. package/dist/api/types/detections.d.ts +22 -18
  35. package/dist/api/types/drone.d.ts +96 -6
  36. package/dist/api/types/errors.d.ts +11 -0
  37. package/dist/api/types/gateReport.d.ts +47 -58
  38. package/dist/api/types/gateReportManagement.d.ts +175 -0
  39. package/dist/api/types/hdd.d.ts +26 -1
  40. package/dist/api/types/index.d.ts +10 -1
  41. package/dist/api/types/ingest.d.ts +110 -3
  42. package/dist/api/types/kit.d.ts +25 -9
  43. package/dist/api/types/map.d.ts +12 -0
  44. package/dist/api/types/media.d.ts +8 -2
  45. package/dist/api/types/notification.d.ts +32 -2
  46. package/dist/api/types/oauth.d.ts +62 -0
  47. package/dist/api/types/planner.d.ts +97 -0
  48. package/dist/api/types/posthog.d.ts +35 -0
  49. package/dist/api/types/procore.d.ts +13 -6
  50. package/dist/api/types/progressPhoto.d.ts +6 -2
  51. package/dist/api/types/project.d.ts +101 -21
  52. package/dist/api/types/recording.d.ts +8 -12
  53. package/dist/api/types/recycleBin.d.ts +1 -1
  54. package/dist/api/types/ring.d.ts +53 -0
  55. package/dist/api/types/roi.d.ts +4 -3
  56. package/dist/api/types/router.d.ts +1 -1
  57. package/dist/api/types/shared.d.ts +30 -4
  58. package/dist/api/types/shares.d.ts +6 -144
  59. package/dist/api/types/sim.d.ts +6 -6
  60. package/dist/api/types/siteAnalytics.d.ts +81 -41
  61. package/dist/api/types/siteAnalyticsManagement.d.ts +92 -0
  62. package/dist/api/types/siteView.d.ts +73 -0
  63. package/dist/api/types/smartSeach.d.ts +5 -0
  64. package/dist/api/types/snapshots.d.ts +49 -4
  65. package/dist/api/types/storageProvider.d.ts +19 -0
  66. package/dist/api/types/storyblok.d.ts +40 -0
  67. package/dist/api/types/streaming.d.ts +3 -3
  68. package/dist/api/types/tag.d.ts +1 -1
  69. package/dist/api/types/time.d.ts +0 -18
  70. package/dist/api/types/timelapse.d.ts +8 -5
  71. package/dist/api/types/user.d.ts +102 -32
  72. package/dist/api/types/videoWall.d.ts +21 -21
  73. package/dist/api/types/weather.d.ts +75 -11
  74. package/dist/api/types/widget.d.ts +71 -12
  75. package/dist/api/types/xweather.d.ts +4 -4
  76. package/dist/api/utils.d.ts +0 -1
  77. package/dist/index.js +1855 -904
  78. package/dist/index.js.map +1 -1
  79. package/dist/index.umd.cjs +1 -1
  80. package/dist/index.umd.cjs.map +1 -1
  81. package/dist/shared/types/components.d.ts +146 -16
  82. package/dist/shared/types/customDataTableFilters.d.ts +10 -0
  83. package/dist/shared/types/imagePlayer.d.ts +9 -2
  84. package/dist/shared/types/index.d.ts +2 -0
  85. package/dist/shared/types/rbac.d.ts +67 -0
  86. package/dist/shared/types/timeline.d.ts +2 -1
  87. package/package.json +4 -2
  88. package/dist/api/types/storageServers.d.ts +0 -4
@@ -1,96 +1,155 @@
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 } 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, version?: IngestVersions): 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
- }, 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>>;
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>;
53
54
  drawingExists(payload: {
54
55
  params: {
55
56
  name: string;
56
57
  project_id: string;
57
58
  };
58
- }, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
59
+ }): Promise<JsonObject>;
59
60
  getDrawings(payload: {
60
61
  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>>;
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
+ transferWalks(sourceId: number, targetId: number, projectExid: string): Promise<void>;
68
+ createDrawing(projectExid: string, payload: GenerateFloorPayload, createdBy: string): Promise<_360FloorV2>;
68
69
  fetchDrawingOverlay(id: number, params: {
69
70
  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>>;
71
+ thumbnail?: boolean;
72
+ }, onDownloadProgress?: (progress: ProgressEvent) => void): Promise<string>;
73
+ getFloorArchive(id: number): Promise<string>;
74
+ generate360map(projectId: string, params: Generate360MapRequestPayload): Promise<JsonObject>;
75
+ get360QueueSize(ingestUrl: string, params?: _360QueueQueryParams): Promise<_360QueueResponse>;
73
76
  };
74
77
  bim: {
75
78
  createUpload(projectId: string, params: {
76
79
  uploadedBy: string;
77
- }): Promise<import("axios").AxiosResponse<any, any>>;
80
+ }): Promise<IngestUploadInitResponse>;
78
81
  getBIMs(params: {
79
82
  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>>;
83
+ }): Promise<BimUploadsResponse>;
84
+ getArchive(id: number): Promise<Blob>;
85
+ deleteUpload(id: number): Promise<void>;
83
86
  upload(projectId: string, params: {
84
87
  id: string;
85
88
  name: string;
86
- }, payload: BimUploadPayload): Promise<import("axios").AxiosResponse<any, any>>;
89
+ }, payload: BimUploadPayload): Promise<void>;
90
+ };
91
+ webhook: {
92
+ notifyBimUpdated(projectId: string, bimIdentifier: string): Promise<void>;
87
93
  };
88
94
  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>>;
95
+ getProjectMobileAssets(params: MobileAssetsQueryParams, extraConfig?: AxiosRequestConfig): Promise<MobileCaptureAssetsResponse>;
96
+ getMobileAssetPhoto(assetId: string | number, params: {
97
+ projectId?: string;
98
+ project_id?: string;
99
+ isThumbnail?: boolean;
100
+ is_thumbnail?: boolean;
101
+ }): Promise<string>;
102
+ deleteAsset(assetId: string | number): Promise<void>;
92
103
  };
93
104
  utils: {
94
- loadAllAssetsInQueue(): Promise<any[]>;
105
+ loadAllAssetsInQueue(): Promise<({
106
+ ingestVersion: string;
107
+ id: number;
108
+ projectId: string;
109
+ consumed: boolean;
110
+ token: string;
111
+ flightDate: string;
112
+ flightGeolocation: string;
113
+ modelZip: string;
114
+ orthomosaicZip: string;
115
+ reportPdf: string;
116
+ processingLog: string;
117
+ uploadedBy: string;
118
+ processingStatus: import("@evercam/api/types").IngestProcessingStatus | string;
119
+ modelCesiumAssetId: string;
120
+ updatedAt: string;
121
+ hasTusLinks: boolean;
122
+ aerialShots: import("@evercam/api/types").AerialShotItem[];
123
+ } | {
124
+ ingestVersion: string;
125
+ archive: string;
126
+ date: string;
127
+ deviceSerial: string | null;
128
+ endPosition: unknown | null;
129
+ floor: string;
130
+ floorId: number;
131
+ id: number;
132
+ images: string[];
133
+ insertedAt: string;
134
+ mobileAudios: string[];
135
+ mobileAudiosArchive: string;
136
+ mobilePhotos: string[];
137
+ mobilePhotosArchive: string;
138
+ model: string;
139
+ name: string;
140
+ processingStatus: string;
141
+ projectId: string;
142
+ report: string;
143
+ processingLog: string;
144
+ route: unknown | null;
145
+ startPosition: unknown | null;
146
+ tusLinks: unknown | null;
147
+ updatedAt: string;
148
+ uploadedBy: string;
149
+ videoArchive: string;
150
+ videos: string[];
151
+ })[]>;
152
+ getIngestVersion(ingestUrl: string): IngestVersions;
153
+ chooseIngestApiUrl(type: IngestTypes): Promise<string>;
95
154
  };
96
155
  };
@@ -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, 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,7 +71,7 @@ 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;
@@ -75,6 +92,7 @@ export type _360WalkV2 = {
75
92
  processingStatus: string;
76
93
  projectId: string;
77
94
  report: string;
95
+ processingLog: string;
78
96
  route: unknown | null;
79
97
  startPosition: unknown | null;
80
98
  tusLinks: unknown | null;
@@ -92,30 +110,13 @@ export type _360FloorV2 = {
92
110
  hasOverlay: boolean;
93
111
  isCalibrated: boolean;
94
112
  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
- };
113
+ overlayPosition: _360OverlayPosition;
113
114
  insertedAt: string;
114
115
  updatedAt: string;
115
116
  };
116
117
  export type _360Scene = {
117
118
  date: string;
118
- dateID: number;
119
+ dateID: string | number;
119
120
  floors: {
120
121
  floorID: _360FloorId;
121
122
  name: string;
@@ -123,11 +124,33 @@ export type _360Scene = {
123
124
  polarAngle: number;
124
125
  azimuthAngle: number;
125
126
  };
127
+ export declare enum _360PinType {
128
+ Default = "Default"
129
+ }
130
+ export type _360Pin = {
131
+ position: Point3D;
132
+ pinType: _360PinType;
133
+ pinId?: string;
134
+ cameraExid?: string;
135
+ name: string;
136
+ currentRoom?: _360MakerId;
137
+ cameraRotation?: _360CameraRotation;
138
+ };
126
139
  export type _360SceneRoute = {
127
140
  cameraHeadingOffset?: number;
128
141
  overlayID?: number;
129
142
  track?: string;
130
143
  };
144
+ export type _360ProjectListItem = {
145
+ integrationType: string;
146
+ projectId: string;
147
+ projectName: string;
148
+ providerID: string;
149
+ providerPrefix: string;
150
+ providerSuffix: string;
151
+ timeline: string;
152
+ uniqueId: string;
153
+ };
131
154
  export type _360FullProject = {
132
155
  dates: _360SceneWithFloors[];
133
156
  integrationType: string;
@@ -151,19 +174,31 @@ export type _360ProjectJsonResponse = {
151
174
  [key: string]: any;
152
175
  };
153
176
  export type MobileCaptureSnapshot = {
154
- id: string;
177
+ id: string | number;
178
+ projectId?: string;
155
179
  uploadedBy: string;
156
180
  updatedAt: string;
157
181
  assetType: string;
158
182
  thumbnailUrl: string;
159
183
  };
160
184
  export declare enum _360UrlParams {
161
- DateId = "date_id",
185
+ DateId = "dateId",
162
186
  Date = "date",
163
187
  Floor = "floor",
164
188
  Marker = "marker",
165
189
  PolarAngle = "polarAngle",
166
- AzimuthAngle = "azimuthAngle"
190
+ AzimuthAngle = "azimuthAngle",
191
+ Zoom = "zoom",
192
+ User = "user",
193
+ ViewerMode = "viewer_mode",
194
+ ProjectId = "projectId",
195
+ Unit = "unit",
196
+ LockDate = "lockDate",
197
+ LockFloor = "lockFloor",
198
+ LockMarker = "lockMarker",
199
+ IsWidget = "isWidget",
200
+ MediaLocked = "mediaLocked",
201
+ Debug = "debug"
167
202
  }
168
203
  export declare enum _360AssetType {
169
204
  Video = "video",
@@ -197,7 +232,7 @@ export declare enum PathMarkerColor {
197
232
  export type _360AssetsQueryParams = {
198
233
  page: number;
199
234
  limit: number;
200
- projectID: string;
235
+ projectId: string;
201
236
  date: DateType;
202
237
  floor: string;
203
238
  id: string;
@@ -219,6 +254,7 @@ export type DrawingsRequestPayload = {
219
254
  page?: number;
220
255
  limit?: number;
221
256
  paginate?: boolean;
257
+ withAsset?: boolean;
222
258
  };
223
259
  export type GenerateFloorPayload = {
224
260
  overlay?: {
@@ -229,24 +265,7 @@ export type GenerateFloorPayload = {
229
265
  changedBy: string;
230
266
  name?: string;
231
267
  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
- };
268
+ overlayPositionCorners: _360OverlayPosition;
250
269
  };
251
270
  export type _360QueueQueryParams = {
252
271
  projectId?: string;
@@ -271,4 +290,104 @@ export type Generate360MapRequestPayload = {
271
290
  cameraOffset: string;
272
291
  startPoint: string;
273
292
  endPoint: string;
293
+ drawingId?: number;
294
+ markers?: Array<{
295
+ position: {
296
+ x: number;
297
+ y: number;
298
+ z: number;
299
+ };
300
+ }>;
301
+ startPointIndex?: number;
302
+ endPointIndex?: number;
303
+ };
304
+ export declare enum EModelsType {
305
+ FBX = "FBX",
306
+ PointCloud = "PLY"
307
+ }
308
+ export type _360FloorRef = {
309
+ projectID: string;
310
+ dateID: string;
311
+ floorID: string;
312
+ };
313
+ export type _360Vector3 = {
314
+ x: number;
315
+ y: number;
316
+ z: number;
317
+ };
318
+ export type _360MarkerData = {
319
+ cameraPosition: _360Vector3;
320
+ nextRoomId: string;
321
+ position: _360Vector3;
322
+ geolocation: {
323
+ latitude: number;
324
+ longitude: number;
325
+ };
326
+ rotation: {
327
+ _order: string;
328
+ _x: number;
329
+ _y: number;
330
+ _z: number;
331
+ isEuler: boolean;
332
+ };
333
+ };
334
+ export type _360Route = {
335
+ overlayID?: number;
336
+ track?: string;
337
+ cameraHeadingOffset?: number;
338
+ };
339
+ export type _360CalibrationDetails = {
340
+ baseOriginOf360Viewer?: _360Vector3;
341
+ baseOriginOfForgeViewer?: _360Vector3;
342
+ rotationMatrix?: {
343
+ elements: number[];
344
+ };
345
+ scaleMatrix?: {
346
+ elements: number[];
347
+ };
348
+ };
349
+ export type _360FloorData = {
350
+ _3DMarkers: _360MarkerData[];
351
+ fbxModel: string | null;
352
+ fbxModelHQ: string | null;
353
+ pointCloudModelHQ: string | null;
354
+ initialMarker: string;
355
+ cameraRotation: _360CameraRotation;
356
+ steps: number;
357
+ route: _360Route | null;
358
+ sceneScale: number;
359
+ modelViewerFeatureFlag: boolean;
360
+ imagesOnlyFeatureFlag: boolean;
361
+ forgeBIMFeatureFlag: boolean;
362
+ isForgeGravityEnabled: boolean;
363
+ initialForgeView: Record<string, unknown> | null;
364
+ calibrationDetails: _360CalibrationDetails;
365
+ enhancedLightFeatureFlag: boolean;
366
+ };
367
+ export type _360PinData = {
368
+ position: _360Vector3;
369
+ pinType: string;
370
+ name: string;
371
+ pinId?: string;
372
+ cameraExid?: string;
373
+ currentRoom?: string;
374
+ cameraRotation?: {
375
+ polarAngle: number;
376
+ azimuthAngle: number;
377
+ };
378
+ };
379
+ export type _360ForgeTimelineItem = {
380
+ taskNumber: number;
381
+ taskID: string;
382
+ actualStartDate: string;
383
+ actualEndDate: string;
384
+ plannedStartDate: string;
385
+ plannedEndDate: string;
386
+ objectIDs: number[];
387
+ };
388
+ export type _360ForgeProject = {
389
+ urns?: Array<{
390
+ urn: string;
391
+ }>;
392
+ timeline?: _360ForgeTimelineItem[];
274
393
  };
@@ -1,4 +1,4 @@
1
- export type AconexUserProjectsResponsePayload = Array<{
1
+ export type AconexUserProject = {
2
2
  id: number;
3
3
  name: string;
4
4
  shortName: string;
@@ -6,8 +6,8 @@ export type AconexUserProjectsResponsePayload = Array<{
6
6
  endDate: string;
7
7
  active: boolean;
8
8
  hidden: boolean;
9
- }>;
10
- export type AconexDocumentSchemaResponsePayload = Array<{
9
+ };
10
+ export type AconexDocumentSchema = {
11
11
  dataType: AconexDocumentDataType;
12
12
  identifier: AconexIdentifiers;
13
13
  fieldName: string;
@@ -17,18 +17,18 @@ export type AconexDocumentSchemaResponsePayload = Array<{
17
17
  id: string;
18
18
  value: string;
19
19
  }>;
20
- }>;
21
- export type AconexDocumentTypeSchemaResponsePayload = Array<{
20
+ };
21
+ export type AconexDocumentTypeSchema = {
22
22
  dataType: AconexDocumentDataType;
23
- identifier: string;
23
+ identifier: AconexIdentifiers;
24
24
  fieldName: string;
25
25
  modifiedFieldName?: string;
26
- mandatoryStatus: string;
26
+ mandatoryStatus: AconexMandatoryStatus;
27
27
  specifications?: Array<AconexFieldSpecification>;
28
- }>;
28
+ };
29
29
  export type AconexDocumentSchemaField = {
30
30
  dataType: AconexDocumentDataType;
31
- identifier: AconexIdentifiers | string;
31
+ identifier: AconexIdentifiers;
32
32
  schemaValues?: Array<{
33
33
  id: string;
34
34
  value: string;