@evercam/api 1.0.0-495478c92 → 1.0.0-49fa7f1d4

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 +3 -0
  2. package/dist/api/api/3dFirebaseApi.d.ts +208 -12
  3. package/dist/api/api/adminApi.d.ts +110 -96
  4. package/dist/api/api/aiApi.d.ts +150 -82
  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 +148 -107
  9. package/dist/api/api/evercamLabsApi.d.ts +9 -7
  10. package/dist/api/api/exNvrApi.d.ts +1 -1
  11. package/dist/api/api/ingestApi.d.ts +123 -34
  12. package/dist/api/api/ptzApi.d.ts +12 -3
  13. package/dist/api/api/videoWallApi.d.ts +7 -7
  14. package/dist/api/api/weatherApi.d.ts +2 -2
  15. package/dist/api/types/360.d.ts +301 -25
  16. package/dist/api/types/aconex.d.ts +104 -6
  17. package/dist/api/types/admin.d.ts +51 -0
  18. package/dist/api/types/aiConfigs.d.ts +242 -0
  19. package/dist/api/types/analytics.d.ts +175 -43
  20. package/dist/api/types/anpr.d.ts +53 -13
  21. package/dist/api/types/auditLogs.d.ts +19 -1
  22. package/dist/api/types/authz.d.ts +132 -0
  23. package/dist/api/types/autodesk.d.ts +7 -7
  24. package/dist/api/types/automation.d.ts +105 -1
  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 +106 -105
  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 +20 -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 -32
  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 +15 -2
  43. package/dist/api/types/ingest.d.ts +191 -4
  44. package/dist/api/types/kit.d.ts +74 -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 +72 -3
  48. package/dist/api/types/oauth.d.ts +62 -0
  49. package/dist/api/types/observationEvents.d.ts +61 -0
  50. package/dist/api/types/observations.d.ts +85 -0
  51. package/dist/api/types/planner.d.ts +101 -9
  52. package/dist/api/types/posthog.d.ts +35 -0
  53. package/dist/api/types/procore.d.ts +13 -6
  54. package/dist/api/types/progressPhoto.d.ts +6 -32
  55. package/dist/api/types/project.d.ts +144 -19
  56. package/dist/api/types/recording.d.ts +10 -15
  57. package/dist/api/types/recycleBin.d.ts +1 -1
  58. package/dist/api/types/ring.d.ts +53 -0
  59. package/dist/api/types/roi.d.ts +3 -11
  60. package/dist/api/types/routeParams.d.ts +3 -1
  61. package/dist/api/types/router.d.ts +20 -1
  62. package/dist/api/types/shared.d.ts +29 -22
  63. package/dist/api/types/shares.d.ts +6 -157
  64. package/dist/api/types/sim.d.ts +6 -6
  65. package/dist/api/types/siteAnalytics.d.ts +189 -46
  66. package/dist/api/types/siteAnalyticsManagement.d.ts +117 -0
  67. package/dist/api/types/siteView.d.ts +73 -0
  68. package/dist/api/types/smartSeach.d.ts +5 -0
  69. package/dist/api/types/snapshots.d.ts +55 -1
  70. package/dist/api/types/socket.d.ts +4 -0
  71. package/dist/api/types/storageProvider.d.ts +19 -0
  72. package/dist/api/types/storyblok.d.ts +27 -0
  73. package/dist/api/types/streaming.d.ts +3 -3
  74. package/dist/api/types/tag.d.ts +1 -1
  75. package/dist/api/types/time.d.ts +4 -18
  76. package/dist/api/types/timelapse.d.ts +7 -11
  77. package/dist/api/types/user.d.ts +106 -35
  78. package/dist/api/types/videoWall.d.ts +47 -14
  79. package/dist/api/types/weather.d.ts +77 -11
  80. package/dist/api/types/widget.d.ts +76 -15
  81. package/dist/api/types/xweather.d.ts +4 -4
  82. package/dist/index.js +2382 -1037
  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 +217 -36
  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 +6 -4
  94. package/dist/api/types/storageServers.d.ts +0 -4
  95. package/dist/api/types/vendorModel.d.ts +0 -15
@@ -1,73 +1,162 @@
1
- import type { _360AssetsQueryParams, _360AssetsRequestPayload, _360AssetsUploadPayload, BimUploadPayload, BimUploadsQueryParams, CalculateMeasuringOperationRequestPayload, DronesQueryParams, DroneUploadUpdateRequestPayload, FlightImagesQueryParams, Generate360MapRequestPayload, InspectionToolRequestPayload, MobileCaptureSnapshot } from "@evercam/api/types";
2
- import { IngestVersions } from "@evercam/shared/types";
3
- export declare const getIngestApiUrl: (version: string) => string | undefined | null;
1
+ import type { AxiosRequestConfig } from "axios";
2
+ import type { SwrRequestConfig } from "@evercam/api/types";
3
+ import type { _360AssetsQueryParams, _360AssetsRequestPayload, _360QueueQueryParams, _360AssetsUploadPayload, _360AssetsResponse, _360AssetsCountsResponse, _360QueueResponse, _360FloorsResponse, DroneQueueResponse, DroneUploadsResponse, IngestUploadInitResponse, BimUploadsResponse, MobileAssetsQueryParams, MobileCaptureAssetsResponse, BimUploadPayload, BimUploadsQueryParams, CalculateMeasuringOperationRequestPayload, DrawingsRequestPayload, DronesQueryParams, DroneUploadUpdateRequestPayload, 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[];
4
6
  export declare const IngestApi: {
5
7
  drone: {
6
8
  createUpload(projectId: string, params: {
7
9
  uploadedBy: string;
8
- }): Promise<import("axios").AxiosResponse<any, any>>;
9
- reprocessDrone(id: number, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
10
+ }): Promise<IngestUploadInitResponse>;
11
+ reprocessDrone(id: number, params?: JsonObject): Promise<void>;
10
12
  getDrones(params: {
11
13
  params: Partial<DronesQueryParams>;
12
- }): Promise<import("axios").AxiosResponse<any, any>>;
14
+ }): Promise<DroneUploadsResponse>;
15
+ getProcessingProgress(id: number): Promise<IngestProcessingProgress>;
13
16
  getArchive(id: number, params: {
14
17
  dataType: string;
15
- }): Promise<import("axios").AxiosResponse<any, any>>;
16
- deleteUpload(id: number): Promise<import("axios").AxiosResponse<any, any>>;
18
+ }): Promise<Blob>;
19
+ deleteUpload(id: number): Promise<void>;
17
20
  prepareForUpload(projectId: string, params: {
18
21
  uploadedBy: string;
19
22
  token: string;
20
- }): Promise<import("axios").AxiosResponse<any, any>>;
23
+ }): Promise<void>;
21
24
  upload(projectId: string, params: {
22
25
  uploadedBy: string;
23
26
  token: string;
24
- }, payload: DroneUploadUpdateRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
27
+ }, payload: DroneUploadUpdateRequestPayload): Promise<void>;
25
28
  verifyToken(projectId: string, params: {
26
29
  token: string;
27
- }): Promise<import("axios").AxiosResponse<any, any>>;
28
- calculateMeasuringOperation(projectId: string, params: CalculateMeasuringOperationRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
29
- inspectionTool(projectId: string, params: InspectionToolRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
30
- isInspectionEnabled(projectId: string, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
31
- getDroneQueueSize(version?: IngestVersions): Promise<Record<string, any>>;
32
- getFlightImages(projectId: string, params: FlightImagesQueryParams): Promise<import("axios").AxiosResponse<any, any>>;
33
- 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>;
34
37
  };
35
38
  assets360: {
36
39
  get360Assets(params: {
37
40
  params: Partial<_360AssetsQueryParams>;
38
- }, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
41
+ }): Promise<_360AssetsResponse>;
39
42
  get360AssetsCounts(projectId: string, params: {
40
43
  uploadedBy: string;
41
- }, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
42
- get360AssetLink(projectId: string, date: string, floor: string, assetType: string, marker: string | null): Promise<import("axios").AxiosResponse<any, any>>;
43
- deleteUpload(id: number): 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>;
44
51
  getArchive(id: number, params: {
45
52
  dateType: string;
46
- }): Promise<import("axios").AxiosResponse<any, any>>;
47
- createUpload(projectId: string, params: _360AssetsRequestPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
48
- upload(id: number, params: Record<string, unknown>, payload: _360AssetsUploadPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
49
- generate360map(projectId: string, params: Generate360MapRequestPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
50
- get360QueueSize(version?: IngestVersions): Promise<Record<string, 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>;
58
+ drawingExists(payload: {
59
+ params: {
60
+ name: string;
61
+ project_id: string;
62
+ };
63
+ }): Promise<JsonObject>;
64
+ getDrawings(payload: {
65
+ params: DrawingsRequestPayload;
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>;
74
+ fetchDrawingOverlay(id: number, params: {
75
+ view: boolean;
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>;
51
81
  };
52
82
  bim: {
53
83
  createUpload(projectId: string, params: {
54
84
  uploadedBy: string;
55
- }): Promise<import("axios").AxiosResponse<any, any>>;
85
+ }): Promise<IngestUploadInitResponse>;
56
86
  getBIMs(params: {
57
87
  params: Partial<BimUploadsQueryParams>;
58
- }): Promise<import("axios").AxiosResponse<any, any>>;
59
- getArchive(id: number): Promise<import("axios").AxiosResponse<any, any>>;
60
- deleteUpload(id: number): Promise<import("axios").AxiosResponse<any, any>>;
88
+ }): Promise<BimUploadsResponse>;
89
+ getArchive(id: number): Promise<Blob>;
90
+ deleteUpload(id: number): Promise<void>;
61
91
  upload(projectId: string, params: {
62
92
  id: string;
63
93
  name: string;
64
- }, payload: BimUploadPayload): Promise<import("axios").AxiosResponse<any, any>>;
94
+ }, payload: BimUploadPayload): Promise<void>;
95
+ };
96
+ webhook: {
97
+ notifyBimUpdated(projectId: string, bimIdentifier: string): Promise<void>;
65
98
  };
66
99
  mobileCapture: {
67
- getProjectMobileAssets(params: Record<string, unknown>): Promise<MobileCaptureSnapshot[]>;
68
- getMobileAssetPhoto(assetId: string | number, params: Record<string, unknown>): 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>;
69
108
  };
70
109
  utils: {
71
- 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>;
72
161
  };
73
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 }: {
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,9 +1,9 @@
1
- import { VideoWallPreset } from "@evercam/api/types";
1
+ import { type PaginatedItems } from "@evercam/shared/types";
2
+ import { VideoWall, VideoWallListParams, VideoWallCreateUpdatePayload } from "@evercam/api/types/videoWall";
2
3
  export declare const VideoWallApi: {
3
- presets: {
4
- getProjectPresets(email: string, projectId: number): Promise<import("axios").AxiosResponse<any, any>>;
5
- saveProjectPreset(email: string, projectId: string, payload: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
6
- getGlobalPreset(email: string): Promise<VideoWallPreset>;
7
- saveGlobalPreset(email: string, payload: VideoWallPreset): Promise<void>;
8
- };
4
+ list(params?: VideoWallListParams): Promise<import("axios").AxiosResponse<PaginatedItems<VideoWall>, any>>;
5
+ create(body: VideoWallCreateUpdatePayload): Promise<import("axios").AxiosResponse<VideoWall, any>>;
6
+ get(exid: string | number): Promise<import("axios").AxiosResponse<VideoWall, any>>;
7
+ update(exid: string | number, body: Partial<VideoWallCreateUpdatePayload>): Promise<import("axios").AxiosResponse<VideoWall, any>>;
8
+ delete(exid: string | number): Promise<import("axios").AxiosResponse<any, any>>;
9
9
  };
@@ -1,9 +1,9 @@
1
- import { CurrentWeatherRequestPayload, HistoryWeatherRequestPayload, WeatherDataResponse, WeatherResponsePayload } from "@evercam/api/types";
1
+ import { CurrentWeatherRequestPayload, HistoryWeatherRequestPayload, WeatherDataResponse, WeatherReportRequestPayload, WeatherResponsePayload } from "@evercam/api/types";
2
2
  import { AxiosRequestConfig } from "axios";
3
3
  export declare const WeatherApi: {
4
4
  current(projectExid: string, payload: CurrentWeatherRequestPayload): Promise<WeatherResponsePayload> | undefined;
5
5
  historical(projectExid: string, payload: HistoryWeatherRequestPayload): Promise<WeatherResponsePayload> | undefined;
6
- report(projectExid: string, payload: HistoryWeatherRequestPayload, config?: AxiosRequestConfig): Promise<{
6
+ report(projectExid: string, payload: WeatherReportRequestPayload, config?: AxiosRequestConfig): Promise<{
7
7
  data: WeatherDataResponse[];
8
8
  }> | undefined;
9
9
  };
@@ -1,36 +1,191 @@
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: string | 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;
8
91
  name: string;
92
+ processingStatus: string;
93
+ projectId: string;
94
+ report: string;
95
+ processingLog: string;
96
+ hasSteps?: boolean;
97
+ route: unknown | null;
98
+ startPosition: string | null;
99
+ tusLinks: unknown | null;
100
+ updatedAt: string;
101
+ uploadedBy: string;
102
+ videoArchive: string;
103
+ videos: string[];
104
+ };
105
+ export type _360FloorV2 = {
106
+ id: _360FloorId;
107
+ assets: _360WalkV2[];
108
+ projectId: string;
109
+ name: string;
110
+ mapStyle: string;
111
+ hasOverlay: boolean;
112
+ isCalibrated: boolean;
113
+ createdBy: string | null;
114
+ overlayPosition: _360OverlayPosition;
115
+ insertedAt: string;
116
+ updatedAt: string;
117
+ deletedAt: string | null;
9
118
  };
10
119
  export type _360Scene = {
11
120
  date: string;
12
- dateID: string;
13
- floors: _360Floor[];
121
+ dateID: string | number;
122
+ floors: {
123
+ floorID: _360FloorId;
124
+ name: string;
125
+ isValidated?: boolean;
126
+ }[];
14
127
  polarAngle: number;
15
128
  azimuthAngle: number;
16
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
+ };
142
+ export type _360SceneRoute = {
143
+ cameraHeadingOffset?: number;
144
+ overlayID?: number;
145
+ track?: string;
146
+ };
147
+ export type _360ProjectListItem = {
148
+ integrationType: string;
149
+ projectId: string;
150
+ projectName: string;
151
+ providerID: string;
152
+ providerPrefix: string;
153
+ providerSuffix: string;
154
+ timeline: string;
155
+ uniqueId: string;
156
+ requiresValidation?: boolean;
157
+ };
17
158
  export type _360ProjectJsonResponse = {
18
159
  dates: _360Scene[];
19
160
  [key: string]: any;
20
161
  };
21
162
  export type MobileCaptureSnapshot = {
22
- id: string;
163
+ id: string | number;
164
+ projectId?: string;
23
165
  uploadedBy: string;
24
166
  updatedAt: string;
25
167
  assetType: string;
26
168
  thumbnailUrl: string;
27
169
  };
28
170
  export declare enum _360UrlParams {
29
- DateId = "date_id",
171
+ DateId = "dateId",
172
+ Date = "date",
30
173
  Floor = "floor",
31
174
  Marker = "marker",
32
175
  PolarAngle = "polarAngle",
33
- 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"
34
189
  }
35
190
  export declare enum _360AssetType {
36
191
  Video = "video",
@@ -44,12 +199,6 @@ export declare enum _360AssetLabel {
44
199
  Walks = "walks",
45
200
  MobilePhotos = "mobilePhotos"
46
201
  }
47
- export declare enum _360Feature {
48
- BIM = "BIM",
49
- Minimap = "Minimap",
50
- Minimodel = "Minimodel",
51
- MobilePhoto = "MobilePhoto"
52
- }
53
202
  export declare enum _360IntergrationType {
54
203
  Evercam = "Evercam",
55
204
  Matterport = "Matterport",
@@ -62,10 +211,8 @@ export declare enum PathMarkerColor {
62
211
  End = "#fd7567",
63
212
  Default = "#2196F3"
64
213
  }
65
- export type _360AssetsQueryParams = {
66
- page: number;
67
- limit: number;
68
- projectID: string;
214
+ export type _360AssetsQueryParams = PaginationParams & {
215
+ projectId: string;
69
216
  date: DateType;
70
217
  floor: string;
71
218
  id: string;
@@ -76,6 +223,32 @@ export type _360AssetsRequestPayload = {
76
223
  floor: string;
77
224
  uploadedBy?: string;
78
225
  };
226
+ export type DrawingsRequestPayload = PaginationParams & {
227
+ projectId?: string;
228
+ name?: string;
229
+ changedBy?: string;
230
+ mapStyle?: string;
231
+ startDate?: string;
232
+ endDate?: string;
233
+ id?: number;
234
+ paginate?: boolean;
235
+ withAsset?: boolean;
236
+ includeDeleted?: boolean;
237
+ };
238
+ export type GenerateFloorPayload = {
239
+ overlay?: {
240
+ url: string;
241
+ title: string;
242
+ fileExtension: string;
243
+ };
244
+ changedBy: string;
245
+ name?: string;
246
+ mapStyle?: string;
247
+ overlayPositionCorners: _360OverlayPosition;
248
+ };
249
+ export type _360QueueQueryParams = {
250
+ projectId?: string;
251
+ };
79
252
  export type _360AssetsUploadPayload = {
80
253
  targetPointsCount: number;
81
254
  assetType: string;
@@ -84,16 +257,119 @@ export type _360AssetsUploadPayload = {
84
257
  title: string;
85
258
  fileExtension: string;
86
259
  }[];
87
- deviceSerial: string;
88
- startPosition: string;
89
- endPosition: string;
90
- isTimelapse: boolean;
91
- isImagesOnly: boolean;
260
+ deviceSerial?: string;
261
+ startPosition?: string;
262
+ endPosition?: string;
263
+ isTimelapse?: boolean;
264
+ isImagesOnly?: boolean;
92
265
  };
93
266
  export type Generate360MapRequestPayload = {
94
- dateId: string;
267
+ dateId: string | number;
95
268
  floorId: string;
96
- cameraOffset: string;
269
+ cameraOffset: string | number;
97
270
  startPoint: string;
98
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
+ };
360
+ };
361
+ export type _360ForgeTimelineItem = {
362
+ taskNumber: number;
363
+ taskID: string;
364
+ actualStartDate: string;
365
+ actualEndDate: string;
366
+ plannedStartDate: string;
367
+ plannedEndDate: string;
368
+ objectIDs: number[];
369
+ };
370
+ export type _360ForgeProject = {
371
+ urns?: Array<{
372
+ urn: string;
373
+ }>;
374
+ timeline?: _360ForgeTimelineItem[];
99
375
  };