@evercam/api 1.0.0-ae46ef99c → 1.0.0-api-fixes-bdf31a1d5

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 (92) hide show
  1. package/README.md +4 -0
  2. package/dist/api/api/3dFirebaseApi.d.ts +170 -5
  3. package/dist/api/api/adminApi.d.ts +170 -99
  4. package/dist/api/api/aiApi.d.ts +99 -82
  5. package/dist/api/api/authzApi.d.ts +31 -15
  6. package/dist/api/api/client/axios.d.ts +2 -1
  7. package/dist/api/api/client/swr/Swr.d.ts +14 -0
  8. package/dist/api/api/client/swr/SwrStore.d.ts +10 -0
  9. package/dist/api/api/evercamApi.d.ts +158 -116
  10. package/dist/api/api/evercamLabsApi.d.ts +6 -4
  11. package/dist/api/api/exNvrApi.d.ts +1 -1
  12. package/dist/api/api/ingestApi.d.ts +119 -33
  13. package/dist/api/api/ptzApi.d.ts +12 -3
  14. package/dist/api/api/videoWallApi.d.ts +7 -7
  15. package/dist/api/api/weatherApi.d.ts +2 -2
  16. package/dist/api/types/360.d.ts +208 -7
  17. package/dist/api/types/aconex.d.ts +106 -7
  18. package/dist/api/types/admin.d.ts +67 -0
  19. package/dist/api/types/aiConfigs.d.ts +154 -0
  20. package/dist/api/types/analytics.d.ts +172 -41
  21. package/dist/api/types/anpr.d.ts +52 -13
  22. package/dist/api/types/auditLogs.d.ts +63 -38
  23. package/dist/api/types/authz.d.ts +61 -0
  24. package/dist/api/types/autodesk.d.ts +7 -7
  25. package/dist/api/types/automation.d.ts +86 -1
  26. package/dist/api/types/axios.d.ts +28 -7
  27. package/dist/api/types/bim.d.ts +77 -43
  28. package/dist/api/types/camera.d.ts +165 -135
  29. package/dist/api/types/comments.d.ts +43 -21
  30. package/dist/api/types/company.d.ts +91 -11
  31. package/dist/api/types/compare.d.ts +40 -21
  32. package/dist/api/types/connector.d.ts +4 -5
  33. package/dist/api/types/coolify.d.ts +20 -2
  34. package/dist/api/types/copilot.d.ts +11 -6
  35. package/dist/api/types/countries.d.ts +0 -7
  36. package/dist/api/types/credentials.d.ts +1 -0
  37. package/dist/api/types/detections.d.ts +23 -34
  38. package/dist/api/types/drone.d.ts +96 -6
  39. package/dist/api/types/errors.d.ts +12 -0
  40. package/dist/api/types/gateReport.d.ts +50 -158
  41. package/dist/api/types/gateReportManagement.d.ts +175 -0
  42. package/dist/api/types/hdd.d.ts +76 -17
  43. package/dist/api/types/index.d.ts +12 -1
  44. package/dist/api/types/ingest.d.ts +104 -3
  45. package/dist/api/types/kit.d.ts +71 -12
  46. package/dist/api/types/map.d.ts +12 -0
  47. package/dist/api/types/media.d.ts +21 -2
  48. package/dist/api/types/notification.d.ts +50 -14
  49. package/dist/api/types/nvr.d.ts +28 -0
  50. package/dist/api/types/oauth.d.ts +63 -0
  51. package/dist/api/types/planner.d.ts +101 -1
  52. package/dist/api/types/posthog.d.ts +15 -0
  53. package/dist/api/types/procore.d.ts +23 -16
  54. package/dist/api/types/progressPhoto.d.ts +30 -41
  55. package/dist/api/types/project.d.ts +182 -20
  56. package/dist/api/types/recording.d.ts +11 -14
  57. package/dist/api/types/recycleBin.d.ts +14 -0
  58. package/dist/api/types/ring.d.ts +53 -0
  59. package/dist/api/types/roi.d.ts +4 -3
  60. package/dist/api/types/routeParams.d.ts +2 -1
  61. package/dist/api/types/router.d.ts +43 -3
  62. package/dist/api/types/shared.d.ts +81 -53
  63. package/dist/api/types/shares.d.ts +6 -144
  64. package/dist/api/types/sim.d.ts +6 -9
  65. package/dist/api/types/siteAnalytics.d.ts +194 -48
  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 +108 -7
  69. package/dist/api/types/sso.d.ts +55 -0
  70. package/dist/api/types/storageProvider.d.ts +31 -0
  71. package/dist/api/types/storyblok.d.ts +40 -0
  72. package/dist/api/types/streaming.d.ts +4 -5
  73. package/dist/api/types/tag.d.ts +1 -1
  74. package/dist/api/types/time.d.ts +4 -18
  75. package/dist/api/types/timelapse.d.ts +46 -17
  76. package/dist/api/types/user.d.ts +174 -88
  77. package/dist/api/types/videoWall.d.ts +47 -14
  78. package/dist/api/types/weather.d.ts +151 -11
  79. package/dist/api/types/widget.d.ts +143 -54
  80. package/dist/api/types/xweather.d.ts +4 -4
  81. package/dist/index.js +2206 -1029
  82. package/dist/index.js.map +1 -1
  83. package/dist/index.umd.cjs +1 -1
  84. package/dist/index.umd.cjs.map +1 -1
  85. package/dist/shared/types/components.d.ts +163 -18
  86. package/dist/shared/types/customDataTableFilters.d.ts +10 -0
  87. package/dist/shared/types/imagePlayer.d.ts +10 -3
  88. package/dist/shared/types/index.d.ts +2 -0
  89. package/dist/shared/types/rbac.d.ts +67 -0
  90. package/dist/shared/types/timeline.d.ts +2 -1
  91. package/package.json +7 -4
  92. package/dist/api/types/storageServers.d.ts +0 -4
@@ -1,68 +1,154 @@
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";
1
+ import type { AxiosRequestConfig } from "axios";
2
+ import type { SwrRequestConfig } from "@evercam/api/types";
3
+ import type { _360AssetsQueryParams, _360AssetsRequestPayload, _360QueueQueryParams, _360AssetsUploadPayload, _360AssetsResponse, _360AssetsCountsResponse, _360QueueResponse, _360FloorsResponse, DroneQueueResponse, DroneUploadsResponse, IngestUploadInitResponse, BimUploadsResponse, MobileAssetsQueryParams, MobileCaptureAssetsResponse, BimUploadPayload, BimUploadsQueryParams, CalculateMeasuringOperationRequestPayload, DrawingsRequestPayload, DronesQueryParams, DroneUploadUpdateRequestPayload, FlightImagesQueryParams, Generate360MapRequestPayload, GenerateFloorPayload, InspectionToolRequestPayload, JsonObject, _360WalkV2, _360FloorV2 } from "@evercam/api/types";
4
+ import { IngestVersions, IngestTypes } from "@evercam/api/types";
5
+ export declare const getIngestApiUrls: (type: string) => string[];
3
6
  export declare const IngestApi: {
4
7
  drone: {
5
8
  createUpload(projectId: string, params: {
6
9
  uploadedBy: string;
7
- }): Promise<import("axios").AxiosResponse<any, any>>;
8
- reprocessDrone(id: number, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
10
+ }): Promise<IngestUploadInitResponse>;
11
+ reprocessDrone(id: number, params?: JsonObject): Promise<void>;
9
12
  getDrones(params: {
10
13
  params: Partial<DronesQueryParams>;
11
- }): Promise<import("axios").AxiosResponse<any, any>>;
14
+ }): Promise<DroneUploadsResponse>;
12
15
  getArchive(id: number, params: {
13
16
  dataType: string;
14
- }): Promise<import("axios").AxiosResponse<any, any>>;
15
- deleteUpload(id: number): Promise<import("axios").AxiosResponse<any, any>>;
17
+ }): Promise<Blob>;
18
+ deleteUpload(id: number): Promise<void>;
16
19
  prepareForUpload(projectId: string, params: {
17
20
  uploadedBy: string;
18
21
  token: string;
19
- }): Promise<import("axios").AxiosResponse<any, any>>;
22
+ }): Promise<void>;
20
23
  upload(projectId: string, params: {
21
24
  uploadedBy: string;
22
25
  token: string;
23
- }, payload: DroneUploadUpdateRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
26
+ }, payload: DroneUploadUpdateRequestPayload): Promise<void>;
24
27
  verifyToken(projectId: string, params: {
25
28
  token: string;
26
- }): Promise<import("axios").AxiosResponse<any, any>>;
27
- calculateMeasuringOperation(projectId: string, params: CalculateMeasuringOperationRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
28
- inspectionTool(projectId: string, params: InspectionToolRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
29
- isInspectionEnabled(projectId: string, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
30
- getDroneQueueSize(version?: IngestVersions): Promise<Record<string, any>>;
31
- getFlightImages(projectId: string, params: FlightImagesQueryParams): Promise<import("axios").AxiosResponse<any, any>>;
32
- 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>;
33
36
  };
34
37
  assets360: {
35
38
  get360Assets(params: {
36
39
  params: Partial<_360AssetsQueryParams>;
37
- }, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
38
- get360AssetLink(projectId: string, date: string, floor: string, assetType: string, marker: string | null): Promise<import("axios").AxiosResponse<any, any>>;
39
- deleteUpload(id: number): Promise<import("axios").AxiosResponse<any, any>>;
40
+ }): Promise<_360AssetsResponse>;
41
+ get360AssetsCounts(projectId: string, params: {
42
+ uploadedBy: string;
43
+ }): Promise<_360AssetsCountsResponse>;
44
+ get360AssetLink(projectId: string, date: string, floor: string, assetType: string, drawingId: string, marker: string | null): Promise<string>;
45
+ update360(id: number, payload: _360AssetsRequestPayload): Promise<_360WalkV2>;
46
+ update360ByProjectDateName(projectId: string, date: string, floor: string, payload: _360AssetsRequestPayload): Promise<_360WalkV2>;
47
+ deleteUpload(id: number): Promise<void>;
40
48
  getArchive(id: number, params: {
41
49
  dateType: string;
42
- }): Promise<import("axios").AxiosResponse<any, any>>;
43
- createUpload(projectId: string, params: _360AssetsRequestPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
44
- upload(id: number, params: Record<string, unknown>, payload: _360AssetsUploadPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
45
- generate360map(projectId: string, params: Generate360MapRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
46
- get360QueueSize(version?: IngestVersions): Promise<Record<string, 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>;
54
+ drawingExists(payload: {
55
+ params: {
56
+ name: string;
57
+ project_id: string;
58
+ };
59
+ }): Promise<JsonObject>;
60
+ getDrawings(payload: {
61
+ params: DrawingsRequestPayload;
62
+ config?: SwrRequestConfig<_360FloorsResponse>;
63
+ }): Promise<_360FloorsResponse>;
64
+ getDrawingById(id: number, projectExid: string): Promise<_360FloorV2>;
65
+ updateDrawing(id: number, projectExid: string, payload: GenerateFloorPayload): Promise<_360FloorV2>;
66
+ deleteDrawing(id: number): Promise<void>;
67
+ transferWalks(sourceId: number, targetId: number, projectExid: string): Promise<void>;
68
+ createDrawing(projectExid: string, payload: GenerateFloorPayload, createdBy: string): Promise<_360FloorV2>;
69
+ fetchDrawingOverlay(id: number, params: {
70
+ view: boolean;
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>;
47
76
  };
48
77
  bim: {
49
78
  createUpload(projectId: string, params: {
50
79
  uploadedBy: string;
51
- }): Promise<import("axios").AxiosResponse<any, any>>;
80
+ }): Promise<IngestUploadInitResponse>;
52
81
  getBIMs(params: {
53
82
  params: Partial<BimUploadsQueryParams>;
54
- }): Promise<import("axios").AxiosResponse<any, any>>;
55
- getArchive(id: number): Promise<import("axios").AxiosResponse<any, any>>;
56
- deleteUpload(id: number): Promise<import("axios").AxiosResponse<any, any>>;
83
+ }): Promise<BimUploadsResponse>;
84
+ getArchive(id: number): Promise<Blob>;
85
+ deleteUpload(id: number): Promise<void>;
57
86
  upload(projectId: string, params: {
58
87
  id: string;
59
88
  name: string;
60
- }, payload: BimUploadPayload): Promise<import("axios").AxiosResponse<any, any>>;
89
+ }, payload: BimUploadPayload): Promise<void>;
90
+ };
91
+ webhook: {
92
+ notifyBimUpdated(projectId: string, bimIdentifier: string): Promise<void>;
61
93
  };
62
94
  mobileCapture: {
63
- getProjectMobileAssets(params: Record<string, unknown>): Promise<MobileCaptureSnapshot[]>;
64
- getMobileAssetPhoto(assetId: string | number, params: Record<string, unknown>): 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>;
103
+ };
104
+ utils: {
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
+ } | {
123
+ ingestVersion: string;
124
+ archive: string;
125
+ date: string;
126
+ deviceSerial: string | null;
127
+ endPosition: unknown | null;
128
+ floor: string;
129
+ floorId: number;
130
+ id: number;
131
+ images: string[];
132
+ insertedAt: string;
133
+ mobileAudios: string[];
134
+ mobileAudiosArchive: string;
135
+ mobilePhotos: string[];
136
+ mobilePhotosArchive: string;
137
+ model: string;
138
+ name: string;
139
+ processingStatus: string;
140
+ projectId: string;
141
+ report: string;
142
+ processingLog: string;
143
+ route: unknown | null;
144
+ startPosition: unknown | null;
145
+ tusLinks: unknown | null;
146
+ updatedAt: string;
147
+ uploadedBy: string;
148
+ videoArchive: string;
149
+ videos: string[];
150
+ })[]>;
151
+ getIngestVersion(ingestUrl: string): IngestVersions;
152
+ chooseIngestApiUrl(type: IngestTypes): Promise<string>;
65
153
  };
66
- getTotalQueueSize(): Promise<import("axios").AxiosResponse<any, any>>;
67
- loadAllAssetsInQueue(): Promise<any[]>;
68
154
  };
@@ -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,25 +1,181 @@
1
- import { DateType } from "@/types/time";
2
- export type _360CameraParams = {
1
+ import { DateType } from "@evercam/api/types/time";
2
+ import { GeoPoint, Point3D } from "@evercam/api/types/shared";
3
+ export type _360OverlayPosition = {
4
+ northEast: GeoPoint;
5
+ northWest: GeoPoint;
6
+ southEast: GeoPoint;
7
+ southWest: GeoPoint;
8
+ };
9
+ export type ForgeViewport = {
10
+ name: string;
11
+ eye: number[];
12
+ target: number[];
13
+ worldUpVector?: number[];
14
+ };
15
+ export type ForgeView = {
16
+ name: string;
17
+ viewport: ForgeViewport;
18
+ timestamp: string;
19
+ };
20
+ export type _360CameraRotation = {
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
+ route: unknown | null;
97
+ startPosition: unknown | null;
98
+ tusLinks: unknown | null;
99
+ updatedAt: string;
100
+ uploadedBy: string;
101
+ videoArchive: string;
102
+ videos: string[];
103
+ };
104
+ export type _360FloorV2 = {
105
+ id: _360FloorId;
106
+ assets: _360WalkV2[];
107
+ projectId: string;
8
108
  name: string;
109
+ mapStyle: string;
110
+ hasOverlay: boolean;
111
+ isCalibrated: boolean;
112
+ createdBy: string | null;
113
+ overlayPosition: _360OverlayPosition;
114
+ insertedAt: string;
115
+ updatedAt: string;
9
116
  };
10
117
  export type _360Scene = {
11
118
  date: string;
12
- dateID: string;
13
- floors: _360Floor[];
119
+ dateID: number;
120
+ floors: {
121
+ floorID: _360FloorId;
122
+ name: string;
123
+ }[];
14
124
  polarAngle: number;
15
125
  azimuthAngle: number;
16
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
+ };
139
+ export type _360SceneRoute = {
140
+ cameraHeadingOffset?: number;
141
+ overlayID?: number;
142
+ track?: string;
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
+ };
154
+ export type _360FullProject = {
155
+ dates: _360SceneWithFloors[];
156
+ integrationType: string;
157
+ projectId: string;
158
+ projectName: string;
159
+ providerID: string;
160
+ providerPrefix: string;
161
+ providerSuffix: string;
162
+ timeline: string;
163
+ uniqueId: string;
164
+ };
165
+ export type _360FullFloor = _360Floor & {
166
+ id: _360FloorId;
167
+ name: string;
168
+ };
169
+ export type _360SceneWithFloors = _360Scene & {
170
+ floors: _360FullFloor[];
171
+ };
17
172
  export type _360ProjectJsonResponse = {
18
173
  dates: _360Scene[];
19
174
  [key: string]: any;
20
175
  };
21
176
  export type MobileCaptureSnapshot = {
22
- id: string;
177
+ id: string | number;
178
+ projectId?: string;
23
179
  uploadedBy: string;
24
180
  updatedAt: string;
25
181
  assetType: string;
@@ -27,6 +183,7 @@ export type MobileCaptureSnapshot = {
27
183
  };
28
184
  export declare enum _360UrlParams {
29
185
  DateId = "date_id",
186
+ Date = "date",
30
187
  Floor = "floor",
31
188
  Marker = "marker",
32
189
  PolarAngle = "polarAngle",
@@ -40,6 +197,10 @@ export declare enum _360AssetType {
40
197
  MobilePhoto = "mobile_photos",
41
198
  MobileAudio = "mobile_audios"
42
199
  }
200
+ export declare enum _360AssetLabel {
201
+ Walks = "walks",
202
+ MobilePhotos = "mobilePhotos"
203
+ }
43
204
  export declare enum _360Feature {
44
205
  BIM = "BIM",
45
206
  Minimap = "Minimap",
@@ -52,10 +213,15 @@ export declare enum _360IntergrationType {
52
213
  HoloBuilder = "Holobuilder",
53
214
  DroneDeploy = "Dronedeploy"
54
215
  }
216
+ export declare enum PathMarkerColor {
217
+ Start = "#00e74c",
218
+ End = "#fd7567",
219
+ Default = "#2196F3"
220
+ }
55
221
  export type _360AssetsQueryParams = {
56
222
  page: number;
57
223
  limit: number;
58
- projectID: string;
224
+ projectId: string;
59
225
  date: DateType;
60
226
  floor: string;
61
227
  id: string;
@@ -66,6 +232,33 @@ export type _360AssetsRequestPayload = {
66
232
  floor: string;
67
233
  uploadedBy?: string;
68
234
  };
235
+ export type DrawingsRequestPayload = {
236
+ projectId?: string;
237
+ name?: string;
238
+ changedBy?: string;
239
+ mapStyle?: string;
240
+ startDate?: string;
241
+ endDate?: string;
242
+ id?: number;
243
+ page?: number;
244
+ limit?: number;
245
+ paginate?: boolean;
246
+ withAsset?: boolean;
247
+ };
248
+ export type GenerateFloorPayload = {
249
+ overlay?: {
250
+ url: string;
251
+ title: string;
252
+ fileExtension: string;
253
+ };
254
+ changedBy: string;
255
+ name?: string;
256
+ mapStyle?: string;
257
+ overlayPositionCorners: _360OverlayPosition;
258
+ };
259
+ export type _360QueueQueryParams = {
260
+ projectId?: string;
261
+ };
69
262
  export type _360AssetsUploadPayload = {
70
263
  targetPointsCount: number;
71
264
  assetType: string;
@@ -86,4 +279,12 @@ export type Generate360MapRequestPayload = {
86
279
  cameraOffset: string;
87
280
  startPoint: string;
88
281
  endPoint: string;
282
+ drawingId?: number;
283
+ markers?: Array<{
284
+ position: {
285
+ x: number;
286
+ y: number;
287
+ z: number;
288
+ };
289
+ }>;
89
290
  };
@@ -1,29 +1,67 @@
1
- export type AconexUserProjectsResponsePayload = Array<{
2
- id: number;
1
+ export type AconexUserProject = {
2
+ id: string;
3
3
  name: string;
4
4
  shortName: string;
5
5
  startDate: string;
6
6
  endDate: string;
7
- }>;
7
+ active: boolean;
8
+ hidden: boolean;
9
+ };
10
+ export type AconexDocumentSchema = {
11
+ dataType: AconexDocumentDataType;
12
+ identifier: AconexIdentifiers;
13
+ fieldName: string;
14
+ modifiedFieldName?: string;
15
+ mandatoryStatus: AconexMandatoryStatus;
16
+ schemaValues?: Array<{
17
+ id: string;
18
+ value: string;
19
+ }>;
20
+ };
21
+ export type AconexDocumentTypeSchema = {
22
+ dataType: AconexDocumentDataType;
23
+ identifier: AconexIdentifiers;
24
+ fieldName: string;
25
+ modifiedFieldName?: string;
26
+ mandatoryStatus: AconexMandatoryStatus;
27
+ hintText?: string;
28
+ specifications?: Array<AconexFieldSpecification>;
29
+ };
8
30
  export type AconexDocumentSchemaField = {
9
31
  dataType: AconexDocumentDataType;
10
- identifier: string;
32
+ identifier: AconexIdentifiers;
11
33
  schemaValues?: Array<{
12
34
  id: string;
13
35
  value: string;
14
36
  }>;
15
37
  fieldName: string;
38
+ modifiedFieldName?: string;
16
39
  mandatoryStatus: AconexMandatoryStatus;
17
40
  componentType?: AconexFormComponentType;
18
41
  items?: Array<any>;
19
42
  disabled?: boolean;
43
+ specifications?: Array<AconexFieldSpecification>;
44
+ };
45
+ export type AconexFormSchema = Record<AconexIdentifiers | string, AconexDocumentSchemaField>;
46
+ export type AconexFieldSpecification = {
47
+ name: string;
48
+ options: Array<string>;
20
49
  };
21
50
  export declare enum AconexDocumentDataType {
22
- Long = "LONG",
23
- Integer = "INTEGER",
24
51
  String = "STRING",
25
52
  Boolean = "BOOLEAN",
26
- Date = "DATE"
53
+ Ratio = "RATIO",
54
+ Integer = "INTEGER",
55
+ Double = "DOUBLE",
56
+ Long = "LONG",
57
+ Date = "DATE",
58
+ Complex = "COMPLEX",
59
+ SingleLineText = "SINGLE_LINE_TEXT",
60
+ MultiLineText = "MULTI_LINE_TEXT",
61
+ SingleSelect = "SINGLE_SELECT",
62
+ MultiSelect = "MULTI_SELECT",
63
+ User = "USER",
64
+ Number = "NUMBER"
27
65
  }
28
66
  export declare enum AconexFormComponentType {
29
67
  Select = "SelectField",
@@ -43,3 +81,64 @@ export type AconexEditedImageUploadRequestPayload = {
43
81
  projectExid: string;
44
82
  snapshot: string;
45
83
  };
84
+ export declare enum AconexIdentifiers {
85
+ DocumentNumber = "DocumentNumber",
86
+ DocumentTypeId = "DocumentTypeId",
87
+ Revision = "Revision",
88
+ HasFile = "HasFile",
89
+ AccessList = "AccessList",
90
+ AsBuiltRequired = "AsBuiltRequired",
91
+ Attribute1 = "Attribute1",
92
+ Attribute2 = "Attribute2",
93
+ Attribute3 = "Attribute3",
94
+ Attribute4 = "Attribute4",
95
+ Author = "Author",
96
+ AuthorisedBy = "AuthorisedBy",
97
+ Category = "Category",
98
+ Check1 = "Check1",
99
+ Check2 = "Check2",
100
+ Comments = "Comments",
101
+ Comments2 = "Comments2",
102
+ ContractNumber = "ContractNumber",
103
+ ContractDeliverable = "ContractDeliverable",
104
+ ContractorDocumentNumber = "ContractorDocumentNumber",
105
+ ContractorRev = "ContractorRev",
106
+ Date1 = "Date1",
107
+ Date2 = "Date2",
108
+ DateApproved = "DateApproved",
109
+ DateCreated = "DateCreated",
110
+ DateForReview = "DateForReview",
111
+ DateReviewed = "DateReviewed",
112
+ Discipline = "Discipline",
113
+ DocumentStatusId = "DocumentStatusId",
114
+ MilestoneDate = "MilestoneDate",
115
+ PackageNumber = "PackageNumber",
116
+ PercentageComplete = "PercentageComplete",
117
+ PlannedSubmissionDate = "PlannedSubmissionDate",
118
+ PrintSize = "PrintSize",
119
+ ProjectField1 = "ProjectField1",
120
+ ProjectField2 = "ProjectField2",
121
+ ProjectField3 = "ProjectField3",
122
+ Reference = "Reference",
123
+ RevisionDate = "RevisionDate",
124
+ Scale = "Scale",
125
+ SelectList1 = "SelectList1",
126
+ SelectList2 = "SelectList2",
127
+ SelectList3 = "SelectList3",
128
+ SelectList4 = "SelectList4",
129
+ SelectList5 = "SelectList5",
130
+ SelectList6 = "SelectList6",
131
+ SelectList7 = "SelectList7",
132
+ SelectList8 = "SelectList8",
133
+ SelectList9 = "SelectList9",
134
+ SelectList10 = "SelectList10",
135
+ TagNumber = "TagNumber",
136
+ Title = "Title",
137
+ ToClientDate = "ToClientDate",
138
+ UploadDate = "UploadDate",
139
+ UploadedBy = "UploadedBy",
140
+ Vdrcode = "Vdrcode",
141
+ VendorDocumentNumber = "VendorDocumentNumber",
142
+ VendorRev = "VendorRev",
143
+ AutoNumber = "AutoNumber"
144
+ }