@evercam/api 1.0.0-cd4690ce8 → 1.0.0-d0847b9fa

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 (131) hide show
  1. package/README.md +1 -0
  2. package/dist/api/api/3dFirebaseApi.d.ts +217 -0
  3. package/dist/api/{adminApi.d.ts → api/adminApi.d.ts} +104 -96
  4. package/dist/api/api/aiApi.d.ts +214 -0
  5. package/dist/api/api/authzApi.d.ts +40 -0
  6. package/dist/api/{client → api/client}/axios.d.ts +2 -1
  7. package/dist/api/{client → api/client}/swr/Swr.d.ts +1 -1
  8. package/dist/api/{evercamApi.d.ts → api/evercamApi.d.ts} +144 -101
  9. package/dist/api/{evercamLabsApi.d.ts → api/evercamLabsApi.d.ts} +7 -6
  10. package/dist/api/{exNvrApi.d.ts → api/exNvrApi.d.ts} +1 -1
  11. package/dist/api/api/index.d.ts +13 -0
  12. package/dist/api/api/ingestApi.d.ts +162 -0
  13. package/dist/api/{ptzApi.d.ts → api/ptzApi.d.ts} +12 -3
  14. package/dist/api/api/videoWallApi.d.ts +9 -0
  15. package/dist/api/{weatherApi.d.ts → api/weatherApi.d.ts} +2 -2
  16. package/dist/api/index.d.ts +3 -13
  17. package/dist/api/types/360.d.ts +375 -0
  18. package/dist/{types → api/types}/aconex.d.ts +9 -9
  19. package/dist/api/types/admin.d.ts +51 -0
  20. package/dist/api/types/aiConfigs.d.ts +242 -0
  21. package/dist/{types → api/types}/analytics.d.ts +149 -59
  22. package/dist/{types → api/types}/anpr.d.ts +48 -2
  23. package/dist/{types → api/types}/auditLogs.d.ts +19 -1
  24. package/dist/api/types/authz.d.ts +132 -0
  25. package/dist/{types → api/types}/autodesk.d.ts +7 -7
  26. package/dist/{types → api/types}/automation.d.ts +56 -3
  27. package/dist/{types → api/types}/axios.d.ts +19 -14
  28. package/dist/{types → api/types}/bim.d.ts +38 -9
  29. package/dist/{types → api/types}/camera.d.ts +102 -106
  30. package/dist/{types → api/types}/comments.d.ts +10 -11
  31. package/dist/{types → api/types}/company.d.ts +42 -1
  32. package/dist/{types → api/types}/compare.d.ts +20 -5
  33. package/dist/{types → api/types}/connector.d.ts +5 -5
  34. package/dist/{types → api/types}/coolify.d.ts +18 -2
  35. package/dist/{types → api/types}/copilot.d.ts +11 -9
  36. package/dist/{types → api/types}/credentials.d.ts +1 -0
  37. package/dist/{types → api/types}/detections.d.ts +23 -18
  38. package/dist/api/types/drone.d.ts +107 -0
  39. package/dist/{types → api/types}/errors.d.ts +13 -1
  40. package/dist/{types → api/types}/gateReport.d.ts +49 -168
  41. package/dist/api/types/gateReportManagement.d.ts +170 -0
  42. package/dist/api/types/hammertech.d.ts +98 -0
  43. package/dist/{types → api/types}/hdd.d.ts +26 -1
  44. package/dist/{types → api/types}/index.d.ts +15 -2
  45. package/dist/api/types/ingest.d.ts +234 -0
  46. package/dist/{types → api/types}/kit.d.ts +74 -56
  47. package/dist/api/types/map.d.ts +16 -0
  48. package/dist/{types → api/types}/media.d.ts +10 -3
  49. package/dist/api/types/notification.d.ts +96 -0
  50. package/dist/api/types/oauth.d.ts +62 -0
  51. package/dist/api/types/observationEvents.d.ts +61 -0
  52. package/dist/api/types/observations.d.ts +85 -0
  53. package/dist/api/types/planner.d.ts +124 -0
  54. package/dist/api/types/posthog.d.ts +53 -0
  55. package/dist/{types → api/types}/procore.d.ts +13 -6
  56. package/dist/{types → api/types}/progressPhoto.d.ts +6 -2
  57. package/dist/api/types/project.d.ts +254 -0
  58. package/dist/{types → api/types}/recording.d.ts +10 -15
  59. package/dist/{types → api/types}/recycleBin.d.ts +1 -1
  60. package/dist/api/types/ring.d.ts +53 -0
  61. package/dist/{types → api/types}/roi.d.ts +3 -11
  62. package/dist/{types → api/types}/routeParams.d.ts +1 -0
  63. package/dist/{types → api/types}/router.d.ts +20 -1
  64. package/dist/{types → api/types}/shared.d.ts +29 -22
  65. package/dist/api/types/shares.d.ts +45 -0
  66. package/dist/{types → api/types}/sim.d.ts +6 -6
  67. package/dist/api/types/siteAnalytics.d.ts +285 -0
  68. package/dist/api/types/siteAnalyticsManagement.d.ts +117 -0
  69. package/dist/api/types/siteView.d.ts +73 -0
  70. package/dist/api/types/smartSeach.d.ts +5 -0
  71. package/dist/{types → api/types}/snapshots.d.ts +49 -4
  72. package/dist/api/types/socket.d.ts +4 -0
  73. package/dist/api/types/storageProvider.d.ts +19 -0
  74. package/dist/api/types/storyblok.d.ts +27 -0
  75. package/dist/{types → api/types}/streaming.d.ts +3 -3
  76. package/dist/{types → api/types}/tag.d.ts +1 -1
  77. package/dist/api/types/time.d.ts +7 -0
  78. package/dist/{types → api/types}/timelapse.d.ts +7 -11
  79. package/dist/{types → api/types}/user.d.ts +106 -35
  80. package/dist/api/types/videoWall.d.ts +66 -0
  81. package/dist/{types → api/types}/weather.d.ts +75 -11
  82. package/dist/{types → api/types}/widget.d.ts +72 -11
  83. package/dist/{types → api/types}/xweather.d.ts +4 -4
  84. package/dist/{utils.d.ts → api/utils.d.ts} +0 -1
  85. package/dist/index.d.ts +2 -3
  86. package/dist/index.js +2334 -1087
  87. package/dist/index.js.map +1 -1
  88. package/dist/index.umd.cjs +1 -1
  89. package/dist/index.umd.cjs.map +1 -1
  90. package/dist/shared/api/index.d.ts +3 -0
  91. package/dist/shared/components/timelinePlayer/providers/index.d.ts +3 -0
  92. package/dist/shared/components/timelinePlayer/providers/timelineAnprProvider.d.ts +17 -0
  93. package/dist/shared/components/timelinePlayer/providers/timelineDataProvider.d.ts +13 -0
  94. package/dist/shared/components/timelinePlayer/providers/timelineLuminanceProvider.d.ts +16 -0
  95. package/dist/shared/types/components.d.ts +374 -0
  96. package/dist/shared/types/customDataTableFilters.d.ts +10 -0
  97. package/dist/shared/types/imagePlayer.d.ts +41 -0
  98. package/dist/shared/types/index.d.ts +7 -0
  99. package/dist/shared/types/observations.d.ts +21 -0
  100. package/dist/shared/types/rbac.d.ts +67 -0
  101. package/dist/shared/types/timeline.d.ts +10 -0
  102. package/package.json +4 -2
  103. package/dist/api/3dFirebaseApi.d.ts +0 -21
  104. package/dist/api/aiApi.d.ts +0 -155
  105. package/dist/api/authzApi.d.ts +0 -21
  106. package/dist/api/ingestApi.d.ts +0 -95
  107. package/dist/api/videoWallApi.d.ts +0 -9
  108. package/dist/types/360.d.ts +0 -141
  109. package/dist/types/drone.d.ts +0 -17
  110. package/dist/types/ingest.d.ts +0 -51
  111. package/dist/types/map.d.ts +0 -4
  112. package/dist/types/notification.d.ts +0 -27
  113. package/dist/types/planner.d.ts +0 -32
  114. package/dist/types/posthog.d.ts +0 -18
  115. package/dist/types/project.d.ts +0 -132
  116. package/dist/types/shares.d.ts +0 -196
  117. package/dist/types/siteAnalytics.d.ts +0 -163
  118. package/dist/types/storageServers.d.ts +0 -4
  119. package/dist/types/time.d.ts +0 -25
  120. package/dist/types/vendorModel.d.ts +0 -15
  121. package/dist/types/videoWall.d.ts +0 -33
  122. /package/dist/api/{client → api/client}/customErrors.d.ts +0 -0
  123. /package/dist/api/{client → api/client}/index.d.ts +0 -0
  124. /package/dist/api/{client → api/client}/interceptors.d.ts +0 -0
  125. /package/dist/api/{client → api/client}/swr/SwrStore.d.ts +0 -0
  126. /package/dist/api/{webRtcApi.d.ts → api/webRtcApi.d.ts} +0 -0
  127. /package/dist/{types → api/types}/countries.d.ts +0 -0
  128. /package/dist/{types → api/types}/nvr.d.ts +0 -0
  129. /package/dist/{types → api/types}/sso.d.ts +0 -0
  130. /package/dist/{types → api/types}/systemCheck.d.ts +0 -0
  131. /package/dist/{types → api/types}/voyageControl.d.ts +0 -0
@@ -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;
@@ -0,0 +1,9 @@
1
+ import { type PaginatedItems } from "@evercam/shared/types";
2
+ import { VideoWall, VideoWallListParams, VideoWallCreateUpdatePayload } from "@evercam/api/types/videoWall";
3
+ export declare const VideoWallApi: {
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
+ };
@@ -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,13 +1,3 @@
1
- export * from "./client";
2
- export * from "./adminApi";
3
- export * from "./videoWallApi";
4
- export * from "./3dFirebaseApi";
5
- export * from "./aiApi";
6
- export * from "./webRtcApi";
7
- export * from "./weatherApi";
8
- export * from "./evercamLabsApi";
9
- export * from "./evercamApi";
10
- export * from "./ptzApi";
11
- export * from "./ingestApi";
12
- export * from "./exNvrApi";
13
- export * from "./authzApi";
1
+ export * from "./api";
2
+ export * from "./types";
3
+ export * from "./utils";
@@ -0,0 +1,375 @@
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 = {
21
+ azimuthAngle: number;
22
+ polarAngle: number;
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;
53
+ export type _360Floor = {
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;
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;
118
+ };
119
+ export type _360Scene = {
120
+ date: string;
121
+ dateID: string | number;
122
+ floors: {
123
+ floorID: _360FloorId;
124
+ name: string;
125
+ isValidated?: boolean;
126
+ }[];
127
+ polarAngle: number;
128
+ azimuthAngle: number;
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
+ };
158
+ export type _360ProjectJsonResponse = {
159
+ dates: _360Scene[];
160
+ [key: string]: any;
161
+ };
162
+ export type MobileCaptureSnapshot = {
163
+ id: string | number;
164
+ projectId?: string;
165
+ uploadedBy: string;
166
+ updatedAt: string;
167
+ assetType: string;
168
+ thumbnailUrl: string;
169
+ };
170
+ export declare enum _360UrlParams {
171
+ DateId = "dateId",
172
+ Date = "date",
173
+ Floor = "floor",
174
+ Marker = "marker",
175
+ PolarAngle = "polarAngle",
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"
189
+ }
190
+ export declare enum _360AssetType {
191
+ Video = "video",
192
+ Image = "image",
193
+ Model = "model",
194
+ Route = "route",
195
+ MobilePhoto = "mobile_photos",
196
+ MobileAudio = "mobile_audios"
197
+ }
198
+ export declare enum _360AssetLabel {
199
+ Walks = "walks",
200
+ MobilePhotos = "mobilePhotos"
201
+ }
202
+ export declare enum _360IntergrationType {
203
+ Evercam = "Evercam",
204
+ Matterport = "Matterport",
205
+ OpenSpace = "Openspace",
206
+ HoloBuilder = "Holobuilder",
207
+ DroneDeploy = "Dronedeploy"
208
+ }
209
+ export declare enum PathMarkerColor {
210
+ Start = "#00e74c",
211
+ End = "#fd7567",
212
+ Default = "#2196F3"
213
+ }
214
+ export type _360AssetsQueryParams = PaginationParams & {
215
+ projectId: string;
216
+ date: DateType;
217
+ floor: string;
218
+ id: string;
219
+ };
220
+ export type _360AssetsRequestPayload = {
221
+ projectId: string;
222
+ date: DateType;
223
+ floor: string;
224
+ uploadedBy?: string;
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
+ };
252
+ export type _360AssetsUploadPayload = {
253
+ targetPointsCount: number;
254
+ assetType: string;
255
+ upload: {
256
+ url: string;
257
+ title: string;
258
+ fileExtension: string;
259
+ }[];
260
+ deviceSerial?: string;
261
+ startPosition?: string;
262
+ endPosition?: string;
263
+ isTimelapse?: boolean;
264
+ isImagesOnly?: boolean;
265
+ };
266
+ export type Generate360MapRequestPayload = {
267
+ dateId: string | number;
268
+ floorId: string;
269
+ cameraOffset: string | number;
270
+ startPoint: string;
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[];
375
+ };
@@ -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;
@@ -0,0 +1,51 @@
1
+ import type { JsonObject } from "@evercam/api/types";
2
+ export type WithZohoParams = {
3
+ with_zoho?: boolean;
4
+ };
5
+ export type AdminSearchProjectItem = {
6
+ id: number;
7
+ name: string;
8
+ status: string;
9
+ exid: string;
10
+ featureFlags: string[];
11
+ };
12
+ export type AdminSearchItem = AdminSearchProjectItem | JsonObject;
13
+ export type AdminInviteRole = {
14
+ id: number;
15
+ name: string;
16
+ resourceType: string;
17
+ };
18
+ export type AdminInviteAssigner = {
19
+ id: number;
20
+ email: string;
21
+ fullname: string;
22
+ };
23
+ export type AdminInviteAuthContextSubRole = {
24
+ resourceId: string;
25
+ roleId: number;
26
+ };
27
+ export type AdminInviteAuthContext = {
28
+ permissions: string[] | null;
29
+ subRoles: AdminInviteAuthContextSubRole[];
30
+ hasOverride: boolean;
31
+ };
32
+ export type AdminInvite = {
33
+ id: number;
34
+ message: string | null;
35
+ status: number;
36
+ email: string;
37
+ key: string;
38
+ updatedAt: string;
39
+ role: AdminInviteRole;
40
+ createdAt: string;
41
+ resourceId: string;
42
+ assigner: AdminInviteAssigner;
43
+ sentCount: number;
44
+ lastSentAt: string;
45
+ authContext: AdminInviteAuthContext;
46
+ statusName: string;
47
+ };
48
+ export type ZohoDeskTicketSearchResponse = {
49
+ data: JsonObject[];
50
+ count: number;
51
+ };