@evercam/api 1.0.0-51a0c8745 → 1.0.0-533505ee2

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 (91) hide show
  1. package/README.md +4 -0
  2. package/dist/api/api/3dFirebaseApi.d.ts +204 -5
  3. package/dist/api/api/adminApi.d.ts +141 -95
  4. package/dist/api/api/aiApi.d.ts +108 -83
  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 +14 -0
  8. package/dist/api/api/client/swr/SwrStore.d.ts +10 -0
  9. package/dist/api/api/evercamApi.d.ts +139 -100
  10. package/dist/api/api/evercamLabsApi.d.ts +9 -7
  11. package/dist/api/api/exNvrApi.d.ts +1 -1
  12. package/dist/api/api/ingestApi.d.ts +121 -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 +315 -9
  17. package/dist/api/types/aconex.d.ts +104 -6
  18. package/dist/api/types/admin.d.ts +51 -0
  19. package/dist/api/types/aiConfigs.d.ts +154 -0
  20. package/dist/api/types/analytics.d.ts +168 -41
  21. package/dist/api/types/anpr.d.ts +53 -13
  22. package/dist/api/types/auditLogs.d.ts +19 -1
  23. package/dist/api/types/authz.d.ts +107 -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 +29 -7
  27. package/dist/api/types/bim.d.ts +37 -6
  28. package/dist/api/types/camera.d.ts +112 -95
  29. package/dist/api/types/comments.d.ts +26 -11
  30. package/dist/api/types/company.d.ts +43 -2
  31. package/dist/api/types/compare.d.ts +20 -5
  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/credentials.d.ts +1 -0
  36. package/dist/api/types/detections.d.ts +23 -34
  37. package/dist/api/types/drone.d.ts +96 -6
  38. package/dist/api/types/errors.d.ts +12 -0
  39. package/dist/api/types/gateReport.d.ts +50 -158
  40. package/dist/api/types/gateReportManagement.d.ts +175 -0
  41. package/dist/api/types/hdd.d.ts +26 -1
  42. package/dist/api/types/index.d.ts +13 -1
  43. package/dist/api/types/ingest.d.ts +114 -3
  44. package/dist/api/types/kit.d.ts +66 -8
  45. package/dist/api/types/map.d.ts +12 -0
  46. package/dist/api/types/media.d.ts +8 -2
  47. package/dist/api/types/notification.d.ts +32 -2
  48. package/dist/api/types/oauth.d.ts +62 -0
  49. package/dist/api/types/planner.d.ts +101 -1
  50. package/dist/api/types/posthog.d.ts +35 -0
  51. package/dist/api/types/procore.d.ts +13 -6
  52. package/dist/api/types/progressPhoto.d.ts +10 -24
  53. package/dist/api/types/project.d.ts +137 -18
  54. package/dist/api/types/recording.d.ts +9 -12
  55. package/dist/api/types/recycleBin.d.ts +14 -0
  56. package/dist/api/types/ring.d.ts +53 -0
  57. package/dist/api/types/roi.d.ts +4 -3
  58. package/dist/api/types/routeParams.d.ts +2 -1
  59. package/dist/api/types/router.d.ts +20 -1
  60. package/dist/api/types/shared.d.ts +31 -10
  61. package/dist/api/types/shares.d.ts +6 -144
  62. package/dist/api/types/sim.d.ts +6 -6
  63. package/dist/api/types/siteAnalytics.d.ts +194 -48
  64. package/dist/api/types/siteAnalyticsManagement.d.ts +92 -0
  65. package/dist/api/types/siteView.d.ts +73 -0
  66. package/dist/api/types/smartSeach.d.ts +5 -0
  67. package/dist/api/types/snapshots.d.ts +55 -1
  68. package/dist/api/types/sso.d.ts +55 -0
  69. package/dist/api/types/storageProvider.d.ts +19 -0
  70. package/dist/api/types/storyblok.d.ts +40 -0
  71. package/dist/api/types/streaming.d.ts +4 -5
  72. package/dist/api/types/tag.d.ts +1 -1
  73. package/dist/api/types/time.d.ts +4 -18
  74. package/dist/api/types/timelapse.d.ts +8 -5
  75. package/dist/api/types/user.d.ts +106 -35
  76. package/dist/api/types/videoWall.d.ts +47 -14
  77. package/dist/api/types/weather.d.ts +77 -11
  78. package/dist/api/types/widget.d.ts +96 -16
  79. package/dist/api/types/xweather.d.ts +4 -4
  80. package/dist/index.js +2357 -1019
  81. package/dist/index.js.map +1 -1
  82. package/dist/index.umd.cjs +1 -1
  83. package/dist/index.umd.cjs.map +1 -1
  84. package/dist/shared/types/components.d.ts +179 -17
  85. package/dist/shared/types/customDataTableFilters.d.ts +10 -0
  86. package/dist/shared/types/imagePlayer.d.ts +10 -3
  87. package/dist/shared/types/index.d.ts +2 -0
  88. package/dist/shared/types/rbac.d.ts +67 -0
  89. package/dist/shared/types/timeline.d.ts +2 -1
  90. package/package.json +7 -4
  91. package/dist/api/types/storageServers.d.ts +0 -4
@@ -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,205 @@
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;
8
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;
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;
116
+ deletedAt: string | null;
9
117
  };
10
118
  export type _360Scene = {
11
119
  date: string;
12
- dateID: string;
13
- floors: _360Floor[];
120
+ dateID: string | number;
121
+ floors: {
122
+ floorID: _360FloorId;
123
+ name: string;
124
+ }[];
14
125
  polarAngle: number;
15
126
  azimuthAngle: number;
16
127
  };
128
+ export declare enum _360PinType {
129
+ Default = "Default"
130
+ }
131
+ export type _360Pin = {
132
+ position: Point3D;
133
+ pinType: _360PinType;
134
+ pinId?: string;
135
+ cameraExid?: string;
136
+ name: string;
137
+ currentRoom?: _360MakerId;
138
+ cameraRotation?: _360CameraRotation;
139
+ };
140
+ export type _360SceneRoute = {
141
+ cameraHeadingOffset?: number;
142
+ overlayID?: number;
143
+ track?: string;
144
+ };
145
+ export type _360ProjectListItem = {
146
+ integrationType: string;
147
+ projectId: string;
148
+ projectName: string;
149
+ providerID: string;
150
+ providerPrefix: string;
151
+ providerSuffix: string;
152
+ timeline: string;
153
+ uniqueId: string;
154
+ };
155
+ export type _360FullProject = {
156
+ dates: _360SceneWithFloors[];
157
+ integrationType: string;
158
+ projectId: string;
159
+ projectName: string;
160
+ providerID: string;
161
+ providerPrefix: string;
162
+ providerSuffix: string;
163
+ timeline: string;
164
+ uniqueId: string;
165
+ };
166
+ export type _360FullFloor = _360Floor & {
167
+ id: _360FloorId;
168
+ name: string;
169
+ };
170
+ export type _360SceneWithFloors = _360Scene & {
171
+ floors: _360FullFloor[];
172
+ };
17
173
  export type _360ProjectJsonResponse = {
18
174
  dates: _360Scene[];
19
175
  [key: string]: any;
20
176
  };
21
177
  export type MobileCaptureSnapshot = {
22
- id: string;
178
+ id: string | number;
179
+ projectId?: string;
23
180
  uploadedBy: string;
24
181
  updatedAt: string;
25
182
  assetType: string;
26
183
  thumbnailUrl: string;
27
184
  };
28
185
  export declare enum _360UrlParams {
29
- DateId = "date_id",
186
+ DateId = "dateId",
187
+ Date = "date",
30
188
  Floor = "floor",
31
189
  Marker = "marker",
32
190
  PolarAngle = "polarAngle",
33
- AzimuthAngle = "azimuthAngle"
191
+ AzimuthAngle = "azimuthAngle",
192
+ Zoom = "zoom",
193
+ User = "user",
194
+ ViewerMode = "viewer_mode",
195
+ ProjectId = "projectId",
196
+ Unit = "unit",
197
+ LockDate = "lockDate",
198
+ LockFloor = "lockFloor",
199
+ LockMarker = "lockMarker",
200
+ IsWidget = "isWidget",
201
+ MediaLocked = "mediaLocked",
202
+ Debug = "debug"
34
203
  }
35
204
  export declare enum _360AssetType {
36
205
  Video = "video",
@@ -40,6 +209,10 @@ export declare enum _360AssetType {
40
209
  MobilePhoto = "mobile_photos",
41
210
  MobileAudio = "mobile_audios"
42
211
  }
212
+ export declare enum _360AssetLabel {
213
+ Walks = "walks",
214
+ MobilePhotos = "mobilePhotos"
215
+ }
43
216
  export declare enum _360Feature {
44
217
  BIM = "BIM",
45
218
  Minimap = "Minimap",
@@ -52,10 +225,15 @@ export declare enum _360IntergrationType {
52
225
  HoloBuilder = "Holobuilder",
53
226
  DroneDeploy = "Dronedeploy"
54
227
  }
228
+ export declare enum PathMarkerColor {
229
+ Start = "#00e74c",
230
+ End = "#fd7567",
231
+ Default = "#2196F3"
232
+ }
55
233
  export type _360AssetsQueryParams = {
56
234
  page: number;
57
235
  limit: number;
58
- projectID: string;
236
+ projectId: string;
59
237
  date: DateType;
60
238
  floor: string;
61
239
  id: string;
@@ -66,6 +244,34 @@ export type _360AssetsRequestPayload = {
66
244
  floor: string;
67
245
  uploadedBy?: string;
68
246
  };
247
+ export type DrawingsRequestPayload = {
248
+ projectId?: string;
249
+ name?: string;
250
+ changedBy?: string;
251
+ mapStyle?: string;
252
+ startDate?: string;
253
+ endDate?: string;
254
+ id?: number;
255
+ page?: number;
256
+ limit?: number;
257
+ paginate?: boolean;
258
+ withAsset?: boolean;
259
+ includeDeleted?: boolean;
260
+ };
261
+ export type GenerateFloorPayload = {
262
+ overlay?: {
263
+ url: string;
264
+ title: string;
265
+ fileExtension: string;
266
+ };
267
+ changedBy: string;
268
+ name?: string;
269
+ mapStyle?: string;
270
+ overlayPositionCorners: _360OverlayPosition;
271
+ };
272
+ export type _360QueueQueryParams = {
273
+ projectId?: string;
274
+ };
69
275
  export type _360AssetsUploadPayload = {
70
276
  targetPointsCount: number;
71
277
  assetType: string;
@@ -86,4 +292,104 @@ export type Generate360MapRequestPayload = {
86
292
  cameraOffset: string;
87
293
  startPoint: string;
88
294
  endPoint: string;
295
+ drawingId?: number;
296
+ markers?: Array<{
297
+ position: {
298
+ x: number;
299
+ y: number;
300
+ z: number;
301
+ };
302
+ }>;
303
+ startPointIndex?: number;
304
+ endPointIndex?: number;
305
+ };
306
+ export declare enum EModelsType {
307
+ FBX = "FBX",
308
+ PointCloud = "PLY"
309
+ }
310
+ export type _360FloorRef = {
311
+ projectID: string;
312
+ dateID: string;
313
+ floorID: string;
314
+ };
315
+ export type _360Vector3 = {
316
+ x: number;
317
+ y: number;
318
+ z: number;
319
+ };
320
+ export type _360MarkerData = {
321
+ cameraPosition: _360Vector3;
322
+ nextRoomId: string;
323
+ position: _360Vector3;
324
+ geolocation: {
325
+ latitude: number;
326
+ longitude: number;
327
+ };
328
+ rotation: {
329
+ _order: string;
330
+ _x: number;
331
+ _y: number;
332
+ _z: number;
333
+ isEuler: boolean;
334
+ };
335
+ };
336
+ export type _360Route = {
337
+ overlayID?: number;
338
+ track?: string;
339
+ cameraHeadingOffset?: number;
340
+ };
341
+ export type _360CalibrationDetails = {
342
+ baseOriginOf360Viewer?: _360Vector3;
343
+ baseOriginOfForgeViewer?: _360Vector3;
344
+ rotationMatrix?: {
345
+ elements: number[];
346
+ };
347
+ scaleMatrix?: {
348
+ elements: number[];
349
+ };
350
+ };
351
+ export type _360FloorData = {
352
+ _3DMarkers: _360MarkerData[];
353
+ fbxModel: string | null;
354
+ fbxModelHQ: string | null;
355
+ pointCloudModelHQ: string | null;
356
+ initialMarker: string;
357
+ cameraRotation: _360CameraRotation;
358
+ steps: number;
359
+ route: _360Route | null;
360
+ sceneScale: number;
361
+ modelViewerFeatureFlag: boolean;
362
+ imagesOnlyFeatureFlag: boolean;
363
+ forgeBIMFeatureFlag: boolean;
364
+ isForgeGravityEnabled: boolean;
365
+ initialForgeView: Record<string, unknown> | null;
366
+ calibrationDetails: _360CalibrationDetails;
367
+ enhancedLightFeatureFlag: boolean;
368
+ };
369
+ export type _360PinData = {
370
+ position: _360Vector3;
371
+ pinType: string;
372
+ name: string;
373
+ pinId?: string;
374
+ cameraExid?: string;
375
+ currentRoom?: string;
376
+ cameraRotation?: {
377
+ polarAngle: number;
378
+ azimuthAngle: number;
379
+ };
380
+ };
381
+ export type _360ForgeTimelineItem = {
382
+ taskNumber: number;
383
+ taskID: string;
384
+ actualStartDate: string;
385
+ actualEndDate: string;
386
+ plannedStartDate: string;
387
+ plannedEndDate: string;
388
+ objectIDs: number[];
389
+ };
390
+ export type _360ForgeProject = {
391
+ urns?: Array<{
392
+ urn: string;
393
+ }>;
394
+ timeline?: _360ForgeTimelineItem[];
89
395
  };
@@ -1,29 +1,66 @@
1
- export type AconexUserProjectsResponsePayload = Array<{
1
+ export type AconexUserProject = {
2
2
  id: number;
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
+ specifications?: Array<AconexFieldSpecification>;
28
+ };
8
29
  export type AconexDocumentSchemaField = {
9
30
  dataType: AconexDocumentDataType;
10
- identifier: string;
31
+ identifier: AconexIdentifiers;
11
32
  schemaValues?: Array<{
12
33
  id: string;
13
34
  value: string;
14
35
  }>;
15
36
  fieldName: string;
37
+ modifiedFieldName?: string;
16
38
  mandatoryStatus: AconexMandatoryStatus;
17
39
  componentType?: AconexFormComponentType;
18
40
  items?: Array<any>;
19
41
  disabled?: boolean;
42
+ specifications?: Array<AconexFieldSpecification>;
43
+ };
44
+ export type AconexFormSchema = Record<AconexIdentifiers | string, AconexDocumentSchemaField>;
45
+ export type AconexFieldSpecification = {
46
+ name: string;
47
+ options: Array<string>;
20
48
  };
21
49
  export declare enum AconexDocumentDataType {
22
- Long = "LONG",
23
- Integer = "INTEGER",
24
50
  String = "STRING",
25
51
  Boolean = "BOOLEAN",
26
- Date = "DATE"
52
+ Ratio = "RATIO",
53
+ Integer = "INTEGER",
54
+ Double = "DOUBLE",
55
+ Long = "LONG",
56
+ Date = "DATE",
57
+ Complex = "COMPLEX",
58
+ SingleLineText = "SINGLE_LINE_TEXT",
59
+ MultiLineText = "MULTI_LINE_TEXT",
60
+ SingleSelect = "SINGLE_SELECT",
61
+ MultiSelect = "MULTI_SELECT",
62
+ User = "USER",
63
+ Number = "NUMBER"
27
64
  }
28
65
  export declare enum AconexFormComponentType {
29
66
  Select = "SelectField",
@@ -43,3 +80,64 @@ export type AconexEditedImageUploadRequestPayload = {
43
80
  projectExid: string;
44
81
  snapshot: string;
45
82
  };
83
+ export declare enum AconexIdentifiers {
84
+ DocumentNumber = "DocumentNumber",
85
+ DocumentTypeId = "DocumentTypeId",
86
+ Revision = "Revision",
87
+ HasFile = "HasFile",
88
+ AccessList = "AccessList",
89
+ AsBuiltRequired = "AsBuiltRequired",
90
+ Attribute1 = "Attribute1",
91
+ Attribute2 = "Attribute2",
92
+ Attribute3 = "Attribute3",
93
+ Attribute4 = "Attribute4",
94
+ Author = "Author",
95
+ AuthorisedBy = "AuthorisedBy",
96
+ Category = "Category",
97
+ Check1 = "Check1",
98
+ Check2 = "Check2",
99
+ Comments = "Comments",
100
+ Comments2 = "Comments2",
101
+ ContractNumber = "ContractNumber",
102
+ ContractDeliverable = "ContractDeliverable",
103
+ ContractorDocumentNumber = "ContractorDocumentNumber",
104
+ ContractorRev = "ContractorRev",
105
+ Date1 = "Date1",
106
+ Date2 = "Date2",
107
+ DateApproved = "DateApproved",
108
+ DateCreated = "DateCreated",
109
+ DateForReview = "DateForReview",
110
+ DateReviewed = "DateReviewed",
111
+ Discipline = "Discipline",
112
+ DocumentStatusId = "DocumentStatusId",
113
+ MilestoneDate = "MilestoneDate",
114
+ PackageNumber = "PackageNumber",
115
+ PercentageComplete = "PercentageComplete",
116
+ PlannedSubmissionDate = "PlannedSubmissionDate",
117
+ PrintSize = "PrintSize",
118
+ ProjectField1 = "ProjectField1",
119
+ ProjectField2 = "ProjectField2",
120
+ ProjectField3 = "ProjectField3",
121
+ Reference = "Reference",
122
+ RevisionDate = "RevisionDate",
123
+ Scale = "Scale",
124
+ SelectList1 = "SelectList1",
125
+ SelectList2 = "SelectList2",
126
+ SelectList3 = "SelectList3",
127
+ SelectList4 = "SelectList4",
128
+ SelectList5 = "SelectList5",
129
+ SelectList6 = "SelectList6",
130
+ SelectList7 = "SelectList7",
131
+ SelectList8 = "SelectList8",
132
+ SelectList9 = "SelectList9",
133
+ SelectList10 = "SelectList10",
134
+ TagNumber = "TagNumber",
135
+ Title = "Title",
136
+ ToClientDate = "ToClientDate",
137
+ UploadDate = "UploadDate",
138
+ UploadedBy = "UploadedBy",
139
+ Vdrcode = "Vdrcode",
140
+ VendorDocumentNumber = "VendorDocumentNumber",
141
+ VendorRev = "VendorRev",
142
+ AutoNumber = "AutoNumber"
143
+ }
@@ -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
+ };