@evercam/api 1.0.0-e1ad6ae1b → 1.0.0-e405b2c39

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 (104) hide show
  1. package/README.md +2 -0
  2. package/dist/api/{3dFirebaseApi.d.ts → api/3dFirebaseApi.d.ts} +8 -1
  3. package/dist/api/{adminApi.d.ts → api/adminApi.d.ts} +26 -52
  4. package/dist/api/{aiApi.d.ts → api/aiApi.d.ts} +18 -40
  5. package/dist/api/{authzApi.d.ts → api/authzApi.d.ts} +10 -1
  6. package/dist/api/{client → api/client}/axios.d.ts +1 -0
  7. package/dist/api/{evercamApi.d.ts → api/evercamApi.d.ts} +12 -27
  8. package/dist/api/{evercamLabsApi.d.ts → api/evercamLabsApi.d.ts} +5 -2
  9. package/dist/api/api/index.d.ts +13 -0
  10. package/dist/api/{ingestApi.d.ts → api/ingestApi.d.ts} +12 -4
  11. package/dist/api/{ptzApi.d.ts → api/ptzApi.d.ts} +4 -0
  12. package/dist/api/api/videoWallApi.d.ts +9 -0
  13. package/dist/api/index.d.ts +3 -13
  14. package/dist/api/types/360.d.ts +274 -0
  15. package/dist/api/types/aconex.d.ts +143 -0
  16. package/dist/{types → api/types}/analytics.d.ts +68 -4
  17. package/dist/api/types/authz.d.ts +23 -0
  18. package/dist/api/types/automation.d.ts +61 -0
  19. package/dist/{types → api/types}/axios.d.ts +1 -0
  20. package/dist/{types → api/types}/camera.d.ts +12 -7
  21. package/dist/{types → api/types}/credentials.d.ts +1 -0
  22. package/dist/{types → api/types}/detections.d.ts +4 -18
  23. package/dist/{types → api/types}/gateReport.d.ts +4 -101
  24. package/dist/{types → api/types}/index.d.ts +1 -0
  25. package/dist/{types → api/types}/ingest.d.ts +4 -0
  26. package/dist/{types → api/types}/kit.d.ts +21 -0
  27. package/dist/{types → api/types}/planner.d.ts +4 -1
  28. package/dist/{types → api/types}/progressPhoto.d.ts +1 -31
  29. package/dist/{types → api/types}/project.d.ts +46 -3
  30. package/dist/{types → api/types}/recording.d.ts +1 -0
  31. package/dist/{types → api/types}/router.d.ts +19 -0
  32. package/dist/api/types/shares.d.ts +58 -0
  33. package/dist/api/types/siteAnalytics.d.ts +247 -0
  34. package/dist/{types → api/types}/time.d.ts +4 -0
  35. package/dist/{types → api/types}/user.d.ts +4 -0
  36. package/dist/api/types/videoWall.d.ts +66 -0
  37. package/dist/{types → api/types}/widget.d.ts +2 -0
  38. package/dist/{utils.d.ts → api/utils.d.ts} +1 -0
  39. package/dist/index.d.ts +2 -3
  40. package/dist/index.js +753 -756
  41. package/dist/index.js.map +1 -1
  42. package/dist/index.umd.cjs +1 -1
  43. package/dist/index.umd.cjs.map +1 -1
  44. package/dist/shared/api/index.d.ts +3 -0
  45. package/dist/shared/components/timelinePlayer/providers/index.d.ts +3 -0
  46. package/dist/shared/components/timelinePlayer/providers/timelineAnprProvider.d.ts +17 -0
  47. package/dist/shared/components/timelinePlayer/providers/timelineDataProvider.d.ts +13 -0
  48. package/dist/shared/components/timelinePlayer/providers/timelineLuminanceProvider.d.ts +16 -0
  49. package/dist/shared/types/components.d.ts +199 -0
  50. package/dist/shared/types/imagePlayer.d.ts +34 -0
  51. package/dist/shared/types/index.d.ts +4 -0
  52. package/dist/shared/types/timeline.d.ts +9 -0
  53. package/package.json +4 -4
  54. package/dist/api/videoWallApi.d.ts +0 -9
  55. package/dist/types/360.d.ts +0 -139
  56. package/dist/types/aconex.d.ts +0 -45
  57. package/dist/types/automation.d.ts +0 -10
  58. package/dist/types/shares.d.ts +0 -196
  59. package/dist/types/siteAnalytics.d.ts +0 -142
  60. package/dist/types/videoWall.d.ts +0 -33
  61. /package/dist/api/{client → api/client}/customErrors.d.ts +0 -0
  62. /package/dist/api/{client → api/client}/index.d.ts +0 -0
  63. /package/dist/api/{client → api/client}/interceptors.d.ts +0 -0
  64. /package/dist/api/{client → api/client}/swr/Swr.d.ts +0 -0
  65. /package/dist/api/{client → api/client}/swr/SwrStore.d.ts +0 -0
  66. /package/dist/api/{exNvrApi.d.ts → api/exNvrApi.d.ts} +0 -0
  67. /package/dist/api/{weatherApi.d.ts → api/weatherApi.d.ts} +0 -0
  68. /package/dist/api/{webRtcApi.d.ts → api/webRtcApi.d.ts} +0 -0
  69. /package/dist/{types → api/types}/anpr.d.ts +0 -0
  70. /package/dist/{types → api/types}/auditLogs.d.ts +0 -0
  71. /package/dist/{types → api/types}/autodesk.d.ts +0 -0
  72. /package/dist/{types → api/types}/bim.d.ts +0 -0
  73. /package/dist/{types → api/types}/comments.d.ts +0 -0
  74. /package/dist/{types → api/types}/company.d.ts +0 -0
  75. /package/dist/{types → api/types}/compare.d.ts +0 -0
  76. /package/dist/{types → api/types}/connector.d.ts +0 -0
  77. /package/dist/{types → api/types}/coolify.d.ts +0 -0
  78. /package/dist/{types → api/types}/copilot.d.ts +0 -0
  79. /package/dist/{types → api/types}/countries.d.ts +0 -0
  80. /package/dist/{types → api/types}/drone.d.ts +0 -0
  81. /package/dist/{types → api/types}/errors.d.ts +0 -0
  82. /package/dist/{types → api/types}/hdd.d.ts +0 -0
  83. /package/dist/{types → api/types}/map.d.ts +0 -0
  84. /package/dist/{types → api/types}/media.d.ts +0 -0
  85. /package/dist/{types → api/types}/notification.d.ts +0 -0
  86. /package/dist/{types → api/types}/nvr.d.ts +0 -0
  87. /package/dist/{types → api/types}/posthog.d.ts +0 -0
  88. /package/dist/{types → api/types}/procore.d.ts +0 -0
  89. /package/dist/{types → api/types}/recycleBin.d.ts +0 -0
  90. /package/dist/{types → api/types}/roi.d.ts +0 -0
  91. /package/dist/{types → api/types}/routeParams.d.ts +0 -0
  92. /package/dist/{types → api/types}/shared.d.ts +0 -0
  93. /package/dist/{types → api/types}/sim.d.ts +0 -0
  94. /package/dist/{types → api/types}/snapshots.d.ts +0 -0
  95. /package/dist/{types → api/types}/sso.d.ts +0 -0
  96. /package/dist/{types → api/types}/storageServers.d.ts +0 -0
  97. /package/dist/{types → api/types}/streaming.d.ts +0 -0
  98. /package/dist/{types → api/types}/systemCheck.d.ts +0 -0
  99. /package/dist/{types → api/types}/tag.d.ts +0 -0
  100. /package/dist/{types → api/types}/timelapse.d.ts +0 -0
  101. /package/dist/{types → api/types}/vendorModel.d.ts +0 -0
  102. /package/dist/{types → api/types}/voyageControl.d.ts +0 -0
  103. /package/dist/{types → api/types}/weather.d.ts +0 -0
  104. /package/dist/{types → api/types}/xweather.d.ts +0 -0
@@ -0,0 +1,3 @@
1
+ export * from "@evercam/api/api";
2
+ import { axios } from "@evercam/api/api";
3
+ export default axios;
@@ -0,0 +1,3 @@
1
+ export * from "./timelineDataProvider";
2
+ export * from "./timelineAnprProvider";
3
+ export * from "./timelineLuminanceProvider";
@@ -0,0 +1,17 @@
1
+ import { TimelineCountEvent, TimelineEvent } from "@evercam/ui";
2
+ import { CameraExid, ProjectExid, TimelineDateInterval, TimelineProviderRequestParams } from "@evercam/shared/types";
3
+ import { TimelineDataProvider } from "./timelineDataProvider";
4
+ export declare class TimelineAnprProvider extends TimelineDataProvider {
5
+ readonly projectExid: ProjectExid;
6
+ readonly cameraExid: CameraExid;
7
+ readonly token: string;
8
+ constructor(params: {
9
+ timezone: string;
10
+ projectExid: ProjectExid;
11
+ cameraExid: CameraExid;
12
+ token: string;
13
+ });
14
+ fetchEvents({ fromDate, toDate, }: TimelineDateInterval): Promise<Array<TimelineEvent>>;
15
+ fetchCounts({ fromDate, toDate, precision, }: TimelineProviderRequestParams): Promise<Array<TimelineCountEvent>>;
16
+ private getFormattedPlateNumber;
17
+ }
@@ -0,0 +1,13 @@
1
+ import { type TimelineCountEvent, type TimelineEvent, type TimelineRangeEvent } from "@evercam/ui";
2
+ import { type TimelineDateInterval, TimelinePrecision, type TimelineProviderRequestParams } from "@evercam/shared/types";
3
+ export declare abstract class TimelineDataProvider {
4
+ protected timezone: string;
5
+ constructor(timezone: string);
6
+ fetch(params: TimelineProviderRequestParams): Promise<Array<TimelineEvent>>;
7
+ protected abstract fetchEvents(params: TimelineProviderRequestParams): Promise<Array<TimelineEvent>>;
8
+ protected abstract fetchCounts(params: TimelineProviderRequestParams): Promise<Array<TimelineCountEvent | TimelineRangeEvent>>;
9
+ formatTimestamp(date: string, format?: string): string;
10
+ processResponseIntervals(intervals: TimelineDateInterval[], precision: TimelinePrecision): TimelineRangeEvent[];
11
+ private convertAndRoundIntervals;
12
+ private groupAdjacentIntervals;
13
+ }
@@ -0,0 +1,16 @@
1
+ import { type TimelineCountEvent, type TimelineEvent } from "@evercam/ui";
2
+ import { type CameraExid, type ProjectExid, type TimelineDateInterval, type TimelineProviderRequestParams } from "@evercam/shared/types";
3
+ import { TimelineDataProvider } from "./timelineDataProvider";
4
+ export declare class TimelineLuminanceProvider extends TimelineDataProvider {
5
+ readonly projectExid: ProjectExid;
6
+ readonly cameraExid: CameraExid;
7
+ readonly token: string;
8
+ constructor(params: {
9
+ timezone: string;
10
+ projectExid: ProjectExid;
11
+ cameraExid: CameraExid;
12
+ token: string;
13
+ });
14
+ fetchEvents({ fromDate, toDate, }: TimelineDateInterval): Promise<Array<TimelineEvent>>;
15
+ fetchCounts({ fromDate, toDate, }: TimelineProviderRequestParams): Promise<Array<TimelineCountEvent>>;
16
+ }
@@ -0,0 +1,199 @@
1
+ import { type _360Scene, type Media, type DroneModel, type MobileCaptureSnapshot, type TimelineDateInterval, type TimelinePrecision, type Comment, TaskStatus, Tag } from "@evercam/api/types";
2
+ import type { TimelineChartType, TimelineEvent, TimelineEventsGroup } from "@evercam/ui";
3
+ import { TimelineDataProvider } from "@evercam/shared/components/timelinePlayer/providers";
4
+ export declare enum NavigationArrow {
5
+ Previous = "previous",
6
+ Next = "next"
7
+ }
8
+ export declare enum WatermarkedImageDownloadOrigin {
9
+ Drone = "drone",
10
+ Bim = "BIM",
11
+ Snapshot = "snapshot",
12
+ The360 = "360",
13
+ The360Gallery = "360 Gallery",
14
+ Planner = "Planner"
15
+ }
16
+ export declare enum PlayerMode {
17
+ Video = "video",
18
+ Jpegs = "jpegs"
19
+ }
20
+ export type TasksStatusMap = {
21
+ [key: string]: TaskStatus;
22
+ };
23
+ export type TaskProgressItem = {
24
+ status: TaskStatus;
25
+ description: string;
26
+ percentDone?: number;
27
+ duration?: number;
28
+ };
29
+ export type GlobalSearchMatch = {
30
+ path: Array<string>;
31
+ value: string | number | boolean;
32
+ };
33
+ export type GlobalSearchResult = {
34
+ index: number;
35
+ matches: Array<GlobalSearchMatch>;
36
+ };
37
+ export type GlobalSearchResultInput = Array<Record<any, any> | Array<any>>;
38
+ export type TimelineProviderRequestParams = TimelineDateInterval & {
39
+ precision?: TimelinePrecision;
40
+ labels?: string[];
41
+ trackId?: number;
42
+ };
43
+ export type TimelinePlayerGroupConfig = {
44
+ provider?: TimelineDataProvider;
45
+ events?: Array<TimelineEvent>;
46
+ getChartType?: (precision: TimelinePrecision) => TimelineChartType;
47
+ } & Omit<TimelineEventsGroup, "events">;
48
+ export type TimelinePlayerConfig = {
49
+ [groupName: string]: TimelinePlayerGroupConfig;
50
+ };
51
+ export type TimelinePlayerTooltipItem = {
52
+ label?: string;
53
+ title?: string;
54
+ thumbnailUrl: string;
55
+ placeholderThumbnailUrl?: string;
56
+ fallbackThumbnailUrl?: string;
57
+ };
58
+ export declare enum TimelineGroupId {
59
+ ThreeSixty = "w360",
60
+ Drone = "drone",
61
+ Bim = "bim",
62
+ Media = "media",
63
+ Comments = "comments",
64
+ Anpr = "anpr",
65
+ MobileCapture = "mobileCapture",
66
+ ExNvrRecordings = "exNvrRecordings",
67
+ Luminance = "luminance",
68
+ ObjectInspector = "objectInspector"
69
+ }
70
+ export type TimelineOverlayType = TimelineGroupId.ThreeSixty | TimelineGroupId.Drone | TimelineGroupId.Media | TimelineGroupId.MobileCapture | TimelineGroupId.Bim | TimelineGroupId.Comments | "compare";
71
+ export type TimelineOverlayData<T extends TimelineOverlayType> = T extends TimelineGroupId.ThreeSixty ? _360Scene : T extends TimelineGroupId.Drone ? DroneModel : T extends TimelineGroupId.Media ? Media : T extends TimelineGroupId.MobileCapture ? MobileCaptureSnapshot : T extends TimelineGroupId.Comments ? Comment : never;
72
+ export declare enum TimelineMarkerId {
73
+ Xray = "xray",
74
+ CurrentSnapshot = "current",
75
+ CompareBeforeSnapshot = "compareBefore",
76
+ CompareAfterSnapshot = "compareAfter",
77
+ ObjectInspectorFirstSeen = "firstSeen",
78
+ ObjectInspectorLastSeen = "lastSeen"
79
+ }
80
+ export type TimelineMediaHubItemsByType = {
81
+ clip?: Media[];
82
+ compare?: Media[];
83
+ edit?: Media[];
84
+ timelapse?: Media[];
85
+ xRay?: Media[];
86
+ };
87
+ export declare enum HighchartsStackingBehavior {
88
+ Overlap = "overlap",
89
+ Normal = "normal",
90
+ Percent = "percent",
91
+ Stream = "stream"
92
+ }
93
+ export declare enum LeaderLinePlugType {
94
+ Disc = "disc",
95
+ Square = "square",
96
+ Arrow1 = "arrow1",
97
+ Arrow2 = "arrow2",
98
+ Arrow3 = "arrow3",
99
+ Hand = "hand",
100
+ CrossHair = "crosshair",
101
+ Behind = "behind"
102
+ }
103
+ export declare enum LeaderLinesPathType {
104
+ Straight = "straight",
105
+ Arc = "arc",
106
+ Fluid = "fluid",
107
+ Magnet = "magnet",
108
+ Grid = "grid"
109
+ }
110
+ export declare enum LeaderLinesSocketPosition {
111
+ Top = "top",
112
+ Right = "right",
113
+ Bottom = "bottom",
114
+ Left = "left",
115
+ Auto = "auto"
116
+ }
117
+ export type LeaderLineOptions = {
118
+ startSocket?: LeaderLinesSocketPosition;
119
+ endSocket?: LeaderLinesSocketPosition;
120
+ color?: string | ((element: any) => string);
121
+ size?: number;
122
+ startPlug?: LeaderLinePlugType;
123
+ endPlug?: LeaderLinePlugType;
124
+ startPlugSize?: number;
125
+ endPlugSize?: number;
126
+ path?: LeaderLinesPathType;
127
+ startSocketGravity?: [number, number];
128
+ endSocketGravity?: [number, number];
129
+ dash?: {
130
+ animation: boolean | {
131
+ duration: number;
132
+ };
133
+ } | ((element: any) => {
134
+ animation: boolean | {
135
+ duration: number;
136
+ };
137
+ });
138
+ };
139
+ export type CssSelector = string;
140
+ export type LineConfig = {
141
+ start: CssSelector | CssSelector[];
142
+ end: CssSelector | CssSelector[];
143
+ options?: LeaderLineOptions;
144
+ };
145
+ export type Point = {
146
+ x: number;
147
+ y: number;
148
+ };
149
+ export declare enum ZohoDeskTicketStatus {
150
+ Closed = "Closed",
151
+ OnHold = "On Hold",
152
+ Open = "Open"
153
+ }
154
+ export type TagSelectorItem = Tag & {
155
+ isExcluded?: boolean;
156
+ };
157
+ export declare enum FormSchemaComponents {
158
+ SelectField = "SelectField",
159
+ MultiOption = "MultiOption",
160
+ TextField = "TextField",
161
+ CheckBox = "SwitchField",
162
+ Date = "DatePickerInput",
163
+ DateTime = "DateTimeField",
164
+ TextArea = "Textarea",
165
+ Search = "Autocomplete",
166
+ ReadOnly = "ReadOnly",
167
+ Ratio = "RatioField"
168
+ }
169
+ export declare enum FormSchemaDataType {
170
+ String = "string",
171
+ Number = "number",
172
+ Boolean = "boolean",
173
+ Date = "date"
174
+ }
175
+ export type FormSchemaOptions = {
176
+ title: string;
177
+ value: string;
178
+ };
179
+ export type FormSchemaField = {
180
+ id: string;
181
+ component: FormSchemaComponents;
182
+ required?: boolean;
183
+ name: string;
184
+ options?: FormSchemaOptions[];
185
+ disabled?: boolean;
186
+ dataType: FormSchemaDataType;
187
+ multiple?: boolean;
188
+ defaultValue?: any;
189
+ columns?: number;
190
+ };
191
+ export type FormSchema = Record<string, FormSchemaField>;
192
+ export interface ScrollListener {
193
+ element: Element | Window;
194
+ handler: () => void;
195
+ }
196
+ export interface LeaderLineInstance {
197
+ remove(): void;
198
+ position(): void;
199
+ }
@@ -0,0 +1,34 @@
1
+ import type { Timestamp } from "@evercam/api/types";
2
+ export interface Frame {
3
+ label: string;
4
+ src: string;
5
+ srcSet?: SrcSet;
6
+ timestamp: Timestamp;
7
+ }
8
+ export interface InfoText {
9
+ index: string;
10
+ label: string;
11
+ }
12
+ export type EventMarker<T extends {}> = T & {
13
+ label: string;
14
+ thumbnailUrl: string;
15
+ isActive: boolean;
16
+ cssClass?: Object | string;
17
+ };
18
+ export type SnapshotEvent<T extends {}> = T & {
19
+ eventTime: Timestamp;
20
+ };
21
+ export type MatchedSnapshotEvent<T extends {}> = SnapshotEvent<T> & {
22
+ frameIndex: number;
23
+ snapshotTimestamp: Timestamp;
24
+ };
25
+ export declare enum ImageQuality {
26
+ ThreeSixty = "360",
27
+ FourEighty = "480",
28
+ SevenTwenty = "720",
29
+ OneZeroEightZero = "1080",
30
+ Auto = "auto"
31
+ }
32
+ export type SrcSet = {
33
+ [q in ImageQuality]: string;
34
+ };
@@ -0,0 +1,4 @@
1
+ export * from "@evercam/api/types";
2
+ export * from "./components";
3
+ export * from "./imagePlayer";
4
+ export * from "./timeline";
@@ -0,0 +1,9 @@
1
+ import { TimelineGroupId, type TimelinePlayerGroupConfig } from "@evercam/shared/types/components";
2
+ export interface TimelineGroup {
3
+ id: TimelineGroupId;
4
+ timelineConfig: TimelinePlayerGroupConfig | Record<string, TimelinePlayerGroupConfig>;
5
+ isVisible: boolean;
6
+ isDisabled: boolean;
7
+ isRestricted?: boolean;
8
+ hasMultipleGroups?: boolean;
9
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evercam/api",
3
- "version": "1.0.0-e1ad6ae1b",
3
+ "version": "1.0.0-e405b2c39",
4
4
  "description": "Evercam API client",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,7 +24,7 @@
24
24
  "dist"
25
25
  ],
26
26
  "engines": {
27
- "node": "22.x"
27
+ "node": ">=22"
28
28
  },
29
29
  "readme": "README.md",
30
30
  "scripts": {
@@ -36,7 +36,7 @@
36
36
  "publish-api": "cd ../.. && yarn publish-api"
37
37
  },
38
38
  "devDependencies": {
39
- "@types/node": "^24.7.2",
39
+ "@types/node": "^25.2.2",
40
40
  "vite": "latest",
41
41
  "vite-plugin-commonjs": "^0.10.3",
42
42
  "vite-plugin-dts": "^4.5.4"
@@ -47,4 +47,4 @@
47
47
  "idb-keyval": "^6.2.2",
48
48
  "moment-timezone": "^0.5.46"
49
49
  }
50
- }
50
+ }
@@ -1,9 +0,0 @@
1
- import { VideoWallPreset } from "@evercam/api/types";
2
- 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
- };
9
- };
@@ -1,139 +0,0 @@
1
- import { DateType } from "@/types/time";
2
- export type _360CameraParams = {
3
- azimuthAngle: number;
4
- polarAngle: number;
5
- };
6
- export type _360Floor = {
7
- floorID: string;
8
- name: string;
9
- };
10
- export type _360Scene = {
11
- date: string;
12
- dateID: string;
13
- floors: _360Floor[];
14
- polarAngle: number;
15
- azimuthAngle: number;
16
- };
17
- export type _360ProjectJsonResponse = {
18
- dates: _360Scene[];
19
- [key: string]: any;
20
- };
21
- export type MobileCaptureSnapshot = {
22
- id: string;
23
- uploadedBy: string;
24
- updatedAt: string;
25
- assetType: string;
26
- thumbnailUrl: string;
27
- };
28
- export declare enum _360UrlParams {
29
- DateId = "date_id",
30
- Floor = "floor",
31
- Marker = "marker",
32
- PolarAngle = "polarAngle",
33
- AzimuthAngle = "azimuthAngle"
34
- }
35
- export declare enum _360AssetType {
36
- Video = "video",
37
- Image = "image",
38
- Model = "model",
39
- Route = "route",
40
- MobilePhoto = "mobile_photos",
41
- MobileAudio = "mobile_audios"
42
- }
43
- export declare enum _360AssetLabel {
44
- Walks = "walks",
45
- MobilePhotos = "mobilePhotos"
46
- }
47
- export declare enum _360Feature {
48
- BIM = "BIM",
49
- Minimap = "Minimap",
50
- Minimodel = "Minimodel",
51
- MobilePhoto = "MobilePhoto"
52
- }
53
- export declare enum _360IntergrationType {
54
- Evercam = "Evercam",
55
- Matterport = "Matterport",
56
- OpenSpace = "Openspace",
57
- HoloBuilder = "Holobuilder",
58
- DroneDeploy = "Dronedeploy"
59
- }
60
- export declare enum PathMarkerColor {
61
- Start = "#00e74c",
62
- End = "#fd7567",
63
- Default = "#2196F3"
64
- }
65
- export type _360AssetsQueryParams = {
66
- page: number;
67
- limit: number;
68
- projectID: string;
69
- date: DateType;
70
- floor: string;
71
- id: string;
72
- };
73
- export type _360AssetsRequestPayload = {
74
- projectId: string;
75
- date: DateType;
76
- floor: string;
77
- uploadedBy?: string;
78
- };
79
- export type DrawingsRequestPayload = {
80
- projectId?: string;
81
- name?: string;
82
- changedBy?: string;
83
- mapStyle?: string;
84
- startDate?: string;
85
- endDate?: string;
86
- id?: number;
87
- page?: number;
88
- limit?: number;
89
- paginate?: boolean;
90
- };
91
- export type GenerateFloorPayload = {
92
- overlay?: {
93
- url: string;
94
- title: string;
95
- fileExtension: string;
96
- };
97
- changedBy: string;
98
- name?: string;
99
- mapStyle?: string;
100
- overlayPositionCorners: {
101
- northEast: {
102
- lat: number;
103
- lng: number;
104
- };
105
- northWest: {
106
- lat: number;
107
- lng: number;
108
- };
109
- southWest: {
110
- lat: number;
111
- lng: number;
112
- };
113
- southEast: {
114
- lat: number;
115
- lng: number;
116
- };
117
- };
118
- };
119
- export type _360AssetsUploadPayload = {
120
- targetPointsCount: number;
121
- assetType: string;
122
- upload: {
123
- url: string;
124
- title: string;
125
- fileExtension: string;
126
- }[];
127
- deviceSerial: string;
128
- startPosition: string;
129
- endPosition: string;
130
- isTimelapse: boolean;
131
- isImagesOnly: boolean;
132
- };
133
- export type Generate360MapRequestPayload = {
134
- dateId: string;
135
- floorId: string;
136
- cameraOffset: string;
137
- startPoint: string;
138
- endPoint: string;
139
- };
@@ -1,45 +0,0 @@
1
- export type AconexUserProjectsResponsePayload = Array<{
2
- id: number;
3
- name: string;
4
- shortName: string;
5
- startDate: string;
6
- endDate: string;
7
- }>;
8
- export type AconexDocumentSchemaField = {
9
- dataType: AconexDocumentDataType;
10
- identifier: string;
11
- schemaValues?: Array<{
12
- id: string;
13
- value: string;
14
- }>;
15
- fieldName: string;
16
- mandatoryStatus: AconexMandatoryStatus;
17
- componentType?: AconexFormComponentType;
18
- items?: Array<any>;
19
- disabled?: boolean;
20
- };
21
- export declare enum AconexDocumentDataType {
22
- Long = "LONG",
23
- Integer = "INTEGER",
24
- String = "STRING",
25
- Boolean = "BOOLEAN",
26
- Date = "DATE"
27
- }
28
- export declare enum AconexFormComponentType {
29
- Select = "SelectField",
30
- Text = "TextField",
31
- DateTime = "DateTimeField",
32
- Switch = "SwitchField"
33
- }
34
- export declare enum AconexMandatoryStatus {
35
- Mandatory = "MANDATORY",
36
- NotMandatory = "NOT_MANDATORY"
37
- }
38
- export type AconexAuthCallbackParams = {
39
- code: string;
40
- location: string;
41
- };
42
- export type AconexEditedImageUploadRequestPayload = {
43
- projectExid: string;
44
- snapshot: string;
45
- };
@@ -1,10 +0,0 @@
1
- export declare enum AutomationProvider {
2
- Aconex = "aconex",
3
- Procore = "procore",
4
- Autodesk = "autodesk",
5
- Email = "email"
6
- }
7
- export declare enum AutomationType {
8
- Photo = "photo",
9
- Compare = "compare"
10
- }