@evercam/api 1.0.0-a255a7bd4 → 1.0.0-a355ed87e
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.
- package/README.md +3 -0
- package/dist/api/api/3dFirebaseApi.d.ts +27 -0
- package/dist/api/{adminApi.d.ts → api/adminApi.d.ts} +104 -62
- package/dist/api/api/aiApi.d.ts +127 -0
- package/dist/api/api/authzApi.d.ts +38 -0
- package/dist/api/{client → api/client}/axios.d.ts +2 -1
- package/dist/api/api/client/swr/Swr.d.ts +14 -0
- package/dist/api/api/client/swr/SwrStore.d.ts +10 -0
- package/dist/api/{evercamApi.d.ts → api/evercamApi.d.ts} +97 -96
- package/dist/api/{evercamLabsApi.d.ts → api/evercamLabsApi.d.ts} +7 -3
- package/dist/api/{exNvrApi.d.ts → api/exNvrApi.d.ts} +1 -1
- package/dist/api/api/index.d.ts +13 -0
- package/dist/api/api/ingestApi.d.ts +146 -0
- package/dist/api/{ptzApi.d.ts → api/ptzApi.d.ts} +12 -3
- package/dist/api/api/videoWallApi.d.ts +9 -0
- package/dist/api/{weatherApi.d.ts → api/weatherApi.d.ts} +2 -2
- package/dist/api/index.d.ts +3 -13
- package/dist/api/types/360.d.ts +276 -0
- package/dist/api/types/aconex.d.ts +143 -0
- package/dist/api/types/admin.d.ts +51 -0
- package/dist/{types → api/types}/analytics.d.ts +130 -14
- package/dist/{types → api/types}/anpr.d.ts +26 -13
- package/dist/{types → api/types}/auditLogs.d.ts +1 -1
- package/dist/api/types/authz.d.ts +60 -0
- package/dist/{types → api/types}/autodesk.d.ts +7 -7
- package/dist/api/types/automation.d.ts +95 -0
- package/dist/{types → api/types}/axios.d.ts +22 -1
- package/dist/{types → api/types}/bim.d.ts +11 -5
- package/dist/{types → api/types}/camera.d.ts +97 -72
- package/dist/{types → api/types}/comments.d.ts +21 -9
- package/dist/api/types/company.d.ts +115 -0
- package/dist/{types → api/types}/compare.d.ts +20 -5
- package/dist/{types → api/types}/connector.d.ts +2 -5
- package/dist/api/types/coolify.d.ts +36 -0
- package/dist/{types → api/types}/copilot.d.ts +1 -1
- package/dist/{types → api/types}/countries.d.ts +0 -7
- package/dist/{types → api/types}/credentials.d.ts +1 -0
- package/dist/{types → api/types}/detections.d.ts +18 -24
- package/dist/{types → api/types}/errors.d.ts +1 -0
- package/dist/{types → api/types}/gateReport.d.ts +46 -150
- package/dist/{types → api/types}/hdd.d.ts +26 -1
- package/dist/{types → api/types}/index.d.ts +7 -0
- package/dist/api/types/ingest.d.ts +134 -0
- package/dist/{types → api/types}/kit.d.ts +64 -9
- package/dist/{types → api/types}/media.d.ts +1 -1
- package/dist/api/types/notification.d.ts +57 -0
- package/dist/{types → api/types}/planner.d.ts +4 -1
- package/dist/api/types/posthog.d.ts +33 -0
- package/dist/{types → api/types}/procore.d.ts +26 -16
- package/dist/{types → api/types}/progressPhoto.d.ts +11 -23
- package/dist/api/types/project.d.ts +242 -0
- package/dist/{types → api/types}/recording.d.ts +3 -4
- package/dist/api/types/recycleBin.d.ts +14 -0
- package/dist/{types → api/types}/routeParams.d.ts +4 -2
- package/dist/{types → api/types}/router.d.ts +20 -1
- package/dist/{types → api/types}/shared.d.ts +12 -10
- package/dist/api/types/shares.d.ts +58 -0
- package/dist/{types → api/types}/sim.d.ts +6 -6
- package/dist/api/types/siteAnalytics.d.ts +287 -0
- package/dist/api/types/smartSeach.d.ts +5 -0
- package/dist/{types → api/types}/snapshots.d.ts +10 -1
- package/dist/api/types/sso.d.ts +55 -0
- package/dist/api/types/storyblok.d.ts +40 -0
- package/dist/{types → api/types}/streaming.d.ts +4 -5
- package/dist/{types → api/types}/tag.d.ts +1 -1
- package/dist/api/types/time.d.ts +7 -0
- package/dist/{types → api/types}/timelapse.d.ts +3 -4
- package/dist/{types → api/types}/user.d.ts +105 -35
- package/dist/api/types/videoWall.d.ts +66 -0
- package/dist/api/types/weather.d.ts +153 -0
- package/dist/{types → api/types}/widget.d.ts +96 -16
- package/dist/{types → api/types}/xweather.d.ts +4 -4
- package/dist/{utils.d.ts → api/utils.d.ts} +1 -0
- package/dist/index.d.ts +2 -3
- package/dist/index.js +1340 -896
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/dist/shared/api/index.d.ts +3 -0
- package/dist/shared/components/timelinePlayer/providers/index.d.ts +3 -0
- package/dist/shared/components/timelinePlayer/providers/timelineAnprProvider.d.ts +17 -0
- package/dist/shared/components/timelinePlayer/providers/timelineDataProvider.d.ts +13 -0
- package/dist/shared/components/timelinePlayer/providers/timelineLuminanceProvider.d.ts +16 -0
- package/dist/shared/types/components.d.ts +270 -0
- package/dist/shared/types/imagePlayer.d.ts +34 -0
- package/dist/shared/types/index.d.ts +4 -0
- package/dist/shared/types/timeline.d.ts +10 -0
- package/package.json +5 -4
- package/dist/api/3dFirebaseApi.d.ts +0 -10
- package/dist/api/aiApi.d.ts +0 -138
- package/dist/api/authzApi.d.ts +0 -21
- package/dist/api/ingestApi.d.ts +0 -67
- package/dist/api/videoWallApi.d.ts +0 -9
- package/dist/types/360.d.ts +0 -87
- package/dist/types/aconex.d.ts +0 -45
- package/dist/types/automation.d.ts +0 -6
- package/dist/types/company.d.ts +0 -46
- package/dist/types/coolify.d.ts +0 -18
- package/dist/types/ingest.d.ts +0 -43
- package/dist/types/notification.d.ts +0 -27
- package/dist/types/project.d.ts +0 -128
- package/dist/types/shares.d.ts +0 -196
- package/dist/types/siteAnalytics.d.ts +0 -141
- package/dist/types/time.d.ts +0 -21
- package/dist/types/videoWall.d.ts +0 -33
- package/dist/types/weather.d.ts +0 -87
- /package/dist/api/{client → api/client}/customErrors.d.ts +0 -0
- /package/dist/api/{client → api/client}/index.d.ts +0 -0
- /package/dist/api/{client → api/client}/interceptors.d.ts +0 -0
- /package/dist/api/{webRtcApi.d.ts → api/webRtcApi.d.ts} +0 -0
- /package/dist/{types → api/types}/drone.d.ts +0 -0
- /package/dist/{types → api/types}/map.d.ts +0 -0
- /package/dist/{types → api/types}/nvr.d.ts +0 -0
- /package/dist/{types → api/types}/roi.d.ts +0 -0
- /package/dist/{types → api/types}/storageServers.d.ts +0 -0
- /package/dist/{types → api/types}/systemCheck.d.ts +0 -0
- /package/dist/{types → api/types}/vendorModel.d.ts +0 -0
- /package/dist/{types → api/types}/voyageControl.d.ts +0 -0
|
@@ -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,270 @@
|
|
|
1
|
+
import { type _360Scene, type Media, type DroneModel, type MobileCaptureSnapshot, type TimelineDateInterval, type TimelinePrecision, type Comment, type ProcoreUserProject, type ProcoreProjectAlbum, type ProcoreObservationType, type AconexUserProject, type AutodeskUserHub, type AutodeskProject, type AutodeskFolder, type ProcoreType, TaskStatus, Tag } from "@evercam/shared/types";
|
|
2
|
+
import type { TimelineChartType, TimelineEvent, TimelineEventsGroup } from "@evercam/ui";
|
|
3
|
+
import { TimelineDataProvider } from "@evercam/shared/components/timelinePlayer/providers";
|
|
4
|
+
import { SeriesOptionsType } from "highcharts";
|
|
5
|
+
export declare enum NavigationArrow {
|
|
6
|
+
Previous = "previous",
|
|
7
|
+
Next = "next"
|
|
8
|
+
}
|
|
9
|
+
export declare enum WatermarkedImageDownloadOrigin {
|
|
10
|
+
Drone = "drone",
|
|
11
|
+
Bim = "BIM",
|
|
12
|
+
Snapshot = "snapshot",
|
|
13
|
+
The360 = "360",
|
|
14
|
+
The360Gallery = "360 Gallery",
|
|
15
|
+
Planner = "Planner"
|
|
16
|
+
}
|
|
17
|
+
export declare enum PlayerMode {
|
|
18
|
+
Video = "video",
|
|
19
|
+
Jpegs = "jpegs"
|
|
20
|
+
}
|
|
21
|
+
export type TasksStatusMap = {
|
|
22
|
+
[key: string]: TaskStatus;
|
|
23
|
+
};
|
|
24
|
+
export type TaskProgressItem = {
|
|
25
|
+
status: TaskStatus;
|
|
26
|
+
description: string;
|
|
27
|
+
percentDone?: number;
|
|
28
|
+
duration?: number;
|
|
29
|
+
};
|
|
30
|
+
export type GlobalSearchMatch = {
|
|
31
|
+
path: Array<string>;
|
|
32
|
+
value: string | number | boolean;
|
|
33
|
+
};
|
|
34
|
+
export type GlobalSearchResult = {
|
|
35
|
+
index: number;
|
|
36
|
+
matches: Array<GlobalSearchMatch>;
|
|
37
|
+
};
|
|
38
|
+
export type GlobalSearchResultInput = Array<Record<any, any> | Array<any>>;
|
|
39
|
+
export type TimelineProviderRequestParams = TimelineDateInterval & {
|
|
40
|
+
precision?: TimelinePrecision;
|
|
41
|
+
labels?: string[];
|
|
42
|
+
trackId?: number;
|
|
43
|
+
};
|
|
44
|
+
export type TimelinePlayerGroupConfig = {
|
|
45
|
+
provider?: TimelineDataProvider;
|
|
46
|
+
events?: Array<TimelineEvent>;
|
|
47
|
+
getChartType?: (precision: TimelinePrecision) => TimelineChartType;
|
|
48
|
+
} & Omit<TimelineEventsGroup, "events">;
|
|
49
|
+
export type TimelinePlayerConfig = {
|
|
50
|
+
[groupName: string]: TimelinePlayerGroupConfig;
|
|
51
|
+
};
|
|
52
|
+
export declare enum TimelineGroupId {
|
|
53
|
+
ThreeSixty = "w360",
|
|
54
|
+
Drone = "drone",
|
|
55
|
+
Bim = "bim",
|
|
56
|
+
Media = "media",
|
|
57
|
+
Comments = "comments",
|
|
58
|
+
Anpr = "anpr",
|
|
59
|
+
MobileCapture = "mobileCapture",
|
|
60
|
+
ExNvrRecordings = "exNvrRecordings",
|
|
61
|
+
Luminance = "luminance",
|
|
62
|
+
ObjectInspector = "objectInspector"
|
|
63
|
+
}
|
|
64
|
+
export type TimelineOverlayType = TimelineGroupId.ThreeSixty | TimelineGroupId.Drone | TimelineGroupId.Media | TimelineGroupId.MobileCapture | TimelineGroupId.Bim | TimelineGroupId.Comments | "compare";
|
|
65
|
+
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;
|
|
66
|
+
export declare enum TimelineMarkerId {
|
|
67
|
+
Xray = "xray",
|
|
68
|
+
CurrentSnapshot = "current",
|
|
69
|
+
CompareBeforeSnapshot = "compareBefore",
|
|
70
|
+
CompareAfterSnapshot = "compareAfter",
|
|
71
|
+
ObjectInspectorFirstSeen = "firstSeen",
|
|
72
|
+
ObjectInspectorLastSeen = "lastSeen"
|
|
73
|
+
}
|
|
74
|
+
export type TimelineMediaHubItemsByType = {
|
|
75
|
+
clip?: Media[];
|
|
76
|
+
compare?: Media[];
|
|
77
|
+
edit?: Media[];
|
|
78
|
+
timelapse?: Media[];
|
|
79
|
+
xRay?: Media[];
|
|
80
|
+
};
|
|
81
|
+
export declare enum HighchartsStackingBehavior {
|
|
82
|
+
Overlap = "overlap",
|
|
83
|
+
Normal = "normal",
|
|
84
|
+
Percent = "percent",
|
|
85
|
+
Stream = "stream"
|
|
86
|
+
}
|
|
87
|
+
export declare enum LeaderLinePlugType {
|
|
88
|
+
Disc = "disc",
|
|
89
|
+
Square = "square",
|
|
90
|
+
Arrow1 = "arrow1",
|
|
91
|
+
Arrow2 = "arrow2",
|
|
92
|
+
Arrow3 = "arrow3",
|
|
93
|
+
Hand = "hand",
|
|
94
|
+
CrossHair = "crosshair",
|
|
95
|
+
Behind = "behind"
|
|
96
|
+
}
|
|
97
|
+
export declare enum LeaderLinesPathType {
|
|
98
|
+
Straight = "straight",
|
|
99
|
+
Arc = "arc",
|
|
100
|
+
Fluid = "fluid",
|
|
101
|
+
Magnet = "magnet",
|
|
102
|
+
Grid = "grid"
|
|
103
|
+
}
|
|
104
|
+
export declare enum LeaderLinesSocketPosition {
|
|
105
|
+
Top = "top",
|
|
106
|
+
Right = "right",
|
|
107
|
+
Bottom = "bottom",
|
|
108
|
+
Left = "left",
|
|
109
|
+
Auto = "auto"
|
|
110
|
+
}
|
|
111
|
+
export type LeaderLineOptions = {
|
|
112
|
+
startSocket?: LeaderLinesSocketPosition;
|
|
113
|
+
endSocket?: LeaderLinesSocketPosition;
|
|
114
|
+
color?: string | ((element: any) => string);
|
|
115
|
+
size?: number;
|
|
116
|
+
startPlug?: LeaderLinePlugType;
|
|
117
|
+
endPlug?: LeaderLinePlugType;
|
|
118
|
+
startPlugSize?: number;
|
|
119
|
+
endPlugSize?: number;
|
|
120
|
+
path?: LeaderLinesPathType;
|
|
121
|
+
startSocketGravity?: [number, number];
|
|
122
|
+
endSocketGravity?: [number, number];
|
|
123
|
+
dash?: {
|
|
124
|
+
animation: boolean | {
|
|
125
|
+
duration: number;
|
|
126
|
+
};
|
|
127
|
+
} | ((element: any) => {
|
|
128
|
+
animation: boolean | {
|
|
129
|
+
duration: number;
|
|
130
|
+
};
|
|
131
|
+
});
|
|
132
|
+
};
|
|
133
|
+
export type CssSelector = string;
|
|
134
|
+
export type LineConfig = {
|
|
135
|
+
start: CssSelector | CssSelector[];
|
|
136
|
+
end: CssSelector | CssSelector[];
|
|
137
|
+
options?: LeaderLineOptions;
|
|
138
|
+
};
|
|
139
|
+
export type Point = {
|
|
140
|
+
x: number;
|
|
141
|
+
y: number;
|
|
142
|
+
};
|
|
143
|
+
export declare enum ZohoDeskTicketStatus {
|
|
144
|
+
Closed = "Closed",
|
|
145
|
+
OnHold = "On Hold",
|
|
146
|
+
Open = "Open"
|
|
147
|
+
}
|
|
148
|
+
export type TagSelectorItem = Tag & {
|
|
149
|
+
isExcluded?: boolean;
|
|
150
|
+
};
|
|
151
|
+
export declare enum FormSchemaComponents {
|
|
152
|
+
SelectField = "SelectField",
|
|
153
|
+
MultiOption = "MultiOption",
|
|
154
|
+
TextField = "TextField",
|
|
155
|
+
SwitchField = "SwitchField",
|
|
156
|
+
CheckBox = "CheckBoxField",
|
|
157
|
+
Date = "DatePickerInput",
|
|
158
|
+
DateTime = "DateTimeField",
|
|
159
|
+
TextArea = "Textarea",
|
|
160
|
+
Search = "Autocomplete",
|
|
161
|
+
ReadOnly = "ReadOnly",
|
|
162
|
+
Ratio = "RatioField"
|
|
163
|
+
}
|
|
164
|
+
export declare enum FormSchemaDataType {
|
|
165
|
+
String = "string",
|
|
166
|
+
Number = "number",
|
|
167
|
+
Boolean = "boolean",
|
|
168
|
+
Date = "date"
|
|
169
|
+
}
|
|
170
|
+
export type FormSchemaOptions = {
|
|
171
|
+
title: string;
|
|
172
|
+
value: string;
|
|
173
|
+
};
|
|
174
|
+
export type FormSchemaField = {
|
|
175
|
+
id: string;
|
|
176
|
+
component: FormSchemaComponents;
|
|
177
|
+
required?: boolean;
|
|
178
|
+
name: string;
|
|
179
|
+
options?: FormSchemaOptions[];
|
|
180
|
+
disabled?: boolean;
|
|
181
|
+
dataType: FormSchemaDataType;
|
|
182
|
+
multiple?: boolean;
|
|
183
|
+
defaultValue?: any;
|
|
184
|
+
columns?: number;
|
|
185
|
+
};
|
|
186
|
+
export type FormSchema = Record<string, FormSchemaField>;
|
|
187
|
+
export interface ScrollListener {
|
|
188
|
+
element: Element | Window;
|
|
189
|
+
handler: () => void;
|
|
190
|
+
}
|
|
191
|
+
export interface LeaderLineInstance {
|
|
192
|
+
remove(): void;
|
|
193
|
+
position(): void;
|
|
194
|
+
}
|
|
195
|
+
export type SnapshotCardItem = {
|
|
196
|
+
label?: string;
|
|
197
|
+
title?: string;
|
|
198
|
+
thumbnailUrl: string;
|
|
199
|
+
placeholderThumbnailUrl?: string;
|
|
200
|
+
fallbackThumbnailUrl?: string;
|
|
201
|
+
};
|
|
202
|
+
export type DocumentExtended = Document & {
|
|
203
|
+
webkitIsFullScreen?: boolean;
|
|
204
|
+
mozFullScreen?: boolean;
|
|
205
|
+
msFullscreenElement?: Element | null;
|
|
206
|
+
fullscreenElement?: Element;
|
|
207
|
+
webkitFullscreenElement?: Element;
|
|
208
|
+
mozFullScreenElement?: Element;
|
|
209
|
+
};
|
|
210
|
+
export type HighchartsSeriesWithData<T extends number = number> = SeriesOptionsType & {
|
|
211
|
+
data: T[];
|
|
212
|
+
};
|
|
213
|
+
export type FormattedNotificationData = {
|
|
214
|
+
title: string;
|
|
215
|
+
link: string;
|
|
216
|
+
thumbnail?: string;
|
|
217
|
+
icon?: string;
|
|
218
|
+
drone?: boolean;
|
|
219
|
+
is360?: boolean;
|
|
220
|
+
};
|
|
221
|
+
export type FormattedNotification = FormattedNotificationData & {
|
|
222
|
+
date: string;
|
|
223
|
+
read: boolean;
|
|
224
|
+
id: number;
|
|
225
|
+
thumbnailError?: boolean;
|
|
226
|
+
};
|
|
227
|
+
export type ProcoreProjectStepData = {
|
|
228
|
+
project: ProcoreUserProject | null;
|
|
229
|
+
album: ProcoreProjectAlbum | null;
|
|
230
|
+
observationType: ProcoreObservationType | null;
|
|
231
|
+
};
|
|
232
|
+
export type ProcoreUploadFormData = {
|
|
233
|
+
procoreType: ProcoreType;
|
|
234
|
+
project: ProcoreUserProject | null;
|
|
235
|
+
album: ProcoreProjectAlbum | null;
|
|
236
|
+
observationType: ProcoreObservationType | null;
|
|
237
|
+
observationForm: Record<string, string | number | boolean | null>;
|
|
238
|
+
};
|
|
239
|
+
export type AconexUploadFormData = {
|
|
240
|
+
project: AconexUserProject | null;
|
|
241
|
+
form: Record<string, string | number | boolean | null>;
|
|
242
|
+
};
|
|
243
|
+
export type AutodeskUploadFormData = {
|
|
244
|
+
hub: AutodeskUserHub | null;
|
|
245
|
+
project: AutodeskProject | null;
|
|
246
|
+
folder: AutodeskFolder | null;
|
|
247
|
+
};
|
|
248
|
+
export interface MediaHubFilters {
|
|
249
|
+
title: string;
|
|
250
|
+
requesterEmail: string | undefined;
|
|
251
|
+
camera: string | undefined;
|
|
252
|
+
type: string;
|
|
253
|
+
fromDate: string;
|
|
254
|
+
toDate: string;
|
|
255
|
+
sortBy: string;
|
|
256
|
+
}
|
|
257
|
+
export interface MediaHubSortParameter {
|
|
258
|
+
label: string;
|
|
259
|
+
value: string;
|
|
260
|
+
}
|
|
261
|
+
export type TableHeaderParams<TItem = unknown> = {
|
|
262
|
+
value: string;
|
|
263
|
+
text: string;
|
|
264
|
+
cellClass?: string;
|
|
265
|
+
align?: string;
|
|
266
|
+
sortable?: boolean;
|
|
267
|
+
visible?: boolean;
|
|
268
|
+
width?: number;
|
|
269
|
+
toStringFn?: (item: TItem, key: string) => any;
|
|
270
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { Timestamp } from "@evercam/shared/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,10 @@
|
|
|
1
|
+
import { TimelineGroupId, type TimelinePlayerGroupConfig } from "./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
|
+
isPersistent?: boolean;
|
|
10
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evercam/api",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-a355ed87e",
|
|
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": "
|
|
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": "^
|
|
39
|
+
"@types/node": "^25.3.3",
|
|
40
40
|
"vite": "latest",
|
|
41
41
|
"vite-plugin-commonjs": "^0.10.3",
|
|
42
42
|
"vite-plugin-dts": "^4.5.4"
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"axios": "^1.7.7",
|
|
46
46
|
"humps": "^2.0.1",
|
|
47
|
+
"idb-keyval": "^6.2.2",
|
|
47
48
|
"moment-timezone": "^0.5.46"
|
|
48
49
|
}
|
|
49
|
-
}
|
|
50
|
+
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { _360ProjectJsonResponse, DroneProjectJsonResponse, ProjectExid } from "@evercam/api/types";
|
|
2
|
-
export declare const getFirebaseDbApi: () => string | null | undefined;
|
|
3
|
-
export declare const _3dFirebaseApi: {
|
|
4
|
-
drone: {
|
|
5
|
-
getProjectInfo(projectExid: ProjectExid): Promise<DroneProjectJsonResponse>;
|
|
6
|
-
};
|
|
7
|
-
_360: {
|
|
8
|
-
getProjectInfo(projectExid: ProjectExid): Promise<_360ProjectJsonResponse>;
|
|
9
|
-
};
|
|
10
|
-
};
|
package/dist/api/aiApi.d.ts
DELETED
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
import { AnprQueryParams, AnprEvent, EventCountRequestPayload, EventCountResponsePayload, EventsExportRequestParameters, EventsRequestPayload, EventsResponsePayload, GateReportROI, PaginatedItems, GateReportVerifiedDay, ProjectExid, CameraExid, AnprCountsQueryParams, AnprCount, AnprBasedGateReportExportRequestParams, GateReportResponsePayload, GatReportRequestPayload, AnalyticsParameters, VerifiedDaysQueryParams, EventUpdateRequestPayload, VerifyDayUpdateRequestPayload, ProcessedDaysQueryParams, GateReportEventType, DateTime, RoisQueryParams, GateReportROICreateRequestPayload, SegmentsSimilaritySearchParams, DetectionsFilters, TrackingsByLabel, SegmentsByLabel, DetectionsCountsParams, DetectionsPresenceByLabel, SmartSearchQueryParams, SavedQuery, DateType, DetectionsRequestParams, DetectionsGroup, DetectionsCountsByPeriod, DetectionsExportRequestParams, SegmentsFilters, DownloadTypes, SmartSearchQuery, Schedule } from "@evercam/api/types";
|
|
2
|
-
import type { AxiosPromise, AxiosRequestConfig } from "axios";
|
|
3
|
-
import { CreateCoolifyAppRequestPayload, SaveCoolifyAppRequestPayload } from "@/types/coolify";
|
|
4
|
-
export declare const getAiApiUrl: () => string | null | undefined;
|
|
5
|
-
export declare const AiApi: {
|
|
6
|
-
analyticsParameters: {
|
|
7
|
-
getParameters(cameraId: CameraExid, params?: Record<string, unknown>): Promise<AnalyticsParameters>;
|
|
8
|
-
createParameters(params: Omit<AnalyticsParameters, "id">): Promise<AnalyticsParameters>;
|
|
9
|
-
updateParameters({ updatedBy, id, ...payload }: Partial<AnalyticsParameters> & {
|
|
10
|
-
updatedBy: string;
|
|
11
|
-
}): Promise<AnalyticsParameters>;
|
|
12
|
-
};
|
|
13
|
-
anpr: {
|
|
14
|
-
exportAnprLegacyEvents(projectExid: ProjectExid, params: AnprQueryParams): AxiosPromise<any>;
|
|
15
|
-
getAnprEvents(projectExid: ProjectExid, params: AnprQueryParams): Promise<PaginatedItems<AnprEvent>>;
|
|
16
|
-
getAnprCounts(projectExid: ProjectExid, payload: AnprCountsQueryParams): Promise<AnprCount[]>;
|
|
17
|
-
updateAnprEvent(anprEventId: string, eventBody: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
18
|
-
bulkUpdateAnprRecords(anprEventsIds: number[], action: "is_plate" | "not_plate" | "is_duplicate" | "not_duplicate"): Promise<import("axios").AxiosResponse<any, any>>;
|
|
19
|
-
exportAnprEvents(projectExid: string, params: AnprBasedGateReportExportRequestParams): AxiosPromise<string>;
|
|
20
|
-
};
|
|
21
|
-
gateReport: {
|
|
22
|
-
getLastVerified(params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
23
|
-
deleteEvent(id: number, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
24
|
-
dismissEvents(params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
25
|
-
exportEvents(projectExid: string, params: EventsExportRequestParameters): AxiosPromise<any>;
|
|
26
|
-
exportEventsProgress(projectExid: string, params: {
|
|
27
|
-
exportDate: string;
|
|
28
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
29
|
-
generateAnprThumbnail(cameraExid: CameraExid, captureTime: DateTime): Promise<import("axios").AxiosResponse<any, any>>;
|
|
30
|
-
getAllEvents(projectExid: ProjectExid, params: EventsRequestPayload, extraParams?: AxiosRequestConfig): Promise<EventsResponsePayload>;
|
|
31
|
-
getEventCounts(projectExid: string, payload?: EventCountRequestPayload, extraParams?: AxiosRequestConfig): Promise<EventCountResponsePayload>;
|
|
32
|
-
getVerifiedDays(projectExid: ProjectExid, params: Partial<VerifiedDaysQueryParams>, extraParams?: {}): Promise<PaginatedItems<GateReportVerifiedDay>>;
|
|
33
|
-
updateEventById(eventId: number, { updatedBy, payload, }: {
|
|
34
|
-
updatedBy: string;
|
|
35
|
-
payload: Partial<EventUpdateRequestPayload>;
|
|
36
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
37
|
-
verifyDay(params: VerifyDayUpdateRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
38
|
-
regenerateThumbnail(id: number, params: {
|
|
39
|
-
cameraExid: string;
|
|
40
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
41
|
-
getDailyStatus(projectExid: string, params?: Partial<ProcessedDaysQueryParams>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
42
|
-
getEventThumbnail({ cameraExid, eventType, eventTime, token, }: {
|
|
43
|
-
cameraExid: string;
|
|
44
|
-
eventType: GateReportEventType;
|
|
45
|
-
eventTime: DateTime;
|
|
46
|
-
token: string;
|
|
47
|
-
}): string;
|
|
48
|
-
getEventSnapshot({ cameraExid, eventType, eventTime, token, }: {
|
|
49
|
-
cameraExid: string;
|
|
50
|
-
eventType: GateReportEventType;
|
|
51
|
-
eventTime: DateTime;
|
|
52
|
-
token: string;
|
|
53
|
-
}): string;
|
|
54
|
-
getEvents(projectExid: ProjectExid, params: GatReportRequestPayload, extraParams?: AxiosRequestConfig): Promise<GateReportResponsePayload>;
|
|
55
|
-
getCounts(projectExid: string, payload?: EventCountRequestPayload, extraParams?: AxiosRequestConfig): Promise<EventCountResponsePayload>;
|
|
56
|
-
getGateReportApplications(projectExid: string, anprCameraExid: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
57
|
-
getGateReportProjectsInfos(params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
58
|
-
};
|
|
59
|
-
brainTool: {
|
|
60
|
-
getObjectDetectionsResults(payload?: {}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
61
|
-
getSegments(payload?: {}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
62
|
-
getDepth(cameraExid: string, timestamp: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
63
|
-
};
|
|
64
|
-
roi: {
|
|
65
|
-
getROIs(projectExid: string, params?: Partial<RoisQueryParams>): Promise<GateReportROI[]>;
|
|
66
|
-
createROI(params: GateReportROICreateRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
67
|
-
updateROI({ updatedBy, roi, }: {
|
|
68
|
-
updatedBy: string;
|
|
69
|
-
roi: GateReportROICreateRequestPayload;
|
|
70
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
71
|
-
deleteROI({ id, updatedBy }: {
|
|
72
|
-
id: number;
|
|
73
|
-
updatedBy: string;
|
|
74
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
75
|
-
};
|
|
76
|
-
detections: {
|
|
77
|
-
getDetections({ projectExid, ...params }: DetectionsRequestParams): Promise<import("axios").AxiosResponse<any, any>>;
|
|
78
|
-
getDetectionsCounts({ projectExid, ...params }: DetectionsRequestParams): Promise<DetectionsCountsByPeriod>;
|
|
79
|
-
getDetectionsByTimestamp({ projectExid, ...params }: DetectionsRequestParams): Promise<PaginatedItems<DetectionsGroup>>;
|
|
80
|
-
getSimilarSegmentsInTimeIntervals({ cameraExid, iouThreshold, ...params }: SegmentsSimilaritySearchParams): Promise<import("axios").AxiosResponse<any, any>>;
|
|
81
|
-
getDetectionsTracking(projectExid: ProjectExid, params: DetectionsFilters): Promise<TrackingsByLabel>;
|
|
82
|
-
getSegmentsMasks(cameraExid: CameraExid, params: SegmentsFilters): Promise<SegmentsByLabel>;
|
|
83
|
-
getDetectionsPresenceDateIntervals({ projectExid, ...params }: DetectionsCountsParams): Promise<DetectionsPresenceByLabel>;
|
|
84
|
-
requestExport({ projectExid, ...params }: DetectionsExportRequestParams): Promise<import("axios").AxiosResponse<any, any>>;
|
|
85
|
-
};
|
|
86
|
-
siteAnalytics: {
|
|
87
|
-
smartSearch({ cameraExid, payload, fromDate, toDate, page, pageSize, }: {
|
|
88
|
-
cameraExid: CameraExid;
|
|
89
|
-
payload: Record<string, unknown>;
|
|
90
|
-
fromDate?: string;
|
|
91
|
-
toDate?: string;
|
|
92
|
-
page?: number;
|
|
93
|
-
pageSize?: number;
|
|
94
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
95
|
-
saveQuery(payload: SmartSearchQueryParams): Promise<import("axios").AxiosResponse<any, any>>;
|
|
96
|
-
getQueries(cameraExid: CameraExid, params: {
|
|
97
|
-
name?: string;
|
|
98
|
-
}): Promise<SavedQuery[]>;
|
|
99
|
-
getQueryById(cameraExid: CameraExid, queryId: number): Promise<SmartSearchQueryParams>;
|
|
100
|
-
updateQuery(cameraExid: CameraExid, queryId: number, payload: Partial<SavedQuery>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
101
|
-
deleteQuery(cameraExid: CameraExid, queryId: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
102
|
-
getProcessedTimes(cameraExid: CameraExid, granularity?: "day" | "hour", startDate?: DateType, endDate?: DateType): Promise<string[]>;
|
|
103
|
-
exportResultsData({ cameraExid, fromDate, toDate, query, fileType, directDownload, payload, }: {
|
|
104
|
-
cameraExid: CameraExid;
|
|
105
|
-
fromDate?: DateType;
|
|
106
|
-
toDate?: DateType;
|
|
107
|
-
query: string;
|
|
108
|
-
fileType: DownloadTypes;
|
|
109
|
-
directDownload?: boolean;
|
|
110
|
-
payload: {
|
|
111
|
-
req: SmartSearchQuery;
|
|
112
|
-
timeSchedule?: Schedule;
|
|
113
|
-
columns?: string[];
|
|
114
|
-
};
|
|
115
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
116
|
-
};
|
|
117
|
-
coolify: {
|
|
118
|
-
getCoolifyServers(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
119
|
-
createAppOnCoolify(payload: CreateCoolifyAppRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
120
|
-
saveAppOnCoolify(projectExid: string, cameraExid: string, payload: SaveCoolifyAppRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
121
|
-
updateApp({ appUuid, appId, payload, cameraExid, projectExid, }: {
|
|
122
|
-
projectExid: string;
|
|
123
|
-
cameraExid: string;
|
|
124
|
-
appId: string;
|
|
125
|
-
appUuid: string;
|
|
126
|
-
payload: Partial<SaveCoolifyAppRequestPayload>;
|
|
127
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
128
|
-
deleteApp({ appUuid, appId, cameraExid, projectExid, }: {
|
|
129
|
-
projectExid: string;
|
|
130
|
-
cameraExid: string;
|
|
131
|
-
appId: string;
|
|
132
|
-
appUuid: string;
|
|
133
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
134
|
-
startService(serviceId: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
135
|
-
pauseService(serviceId: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
136
|
-
restartService(serviceId: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
137
|
-
};
|
|
138
|
-
};
|
package/dist/api/authzApi.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export declare const AuthzApi: {
|
|
2
|
-
roles: {
|
|
3
|
-
get(params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
4
|
-
getRoleDetails(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
5
|
-
createRole(params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
6
|
-
updateRole(id: number, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
7
|
-
deleteRole(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
8
|
-
addPermission(id: number, action: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
9
|
-
deletePermission(id: number, action: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
10
|
-
getRoleUsers(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
11
|
-
assignUsers(id: number, emails: Array<string>, resource_id: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
12
|
-
unassignUsers(id: number, emails: Array<string>, resource_id: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
13
|
-
getUserRoles(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
14
|
-
};
|
|
15
|
-
scopes: {
|
|
16
|
-
get(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
17
|
-
create(params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
18
|
-
delete(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
19
|
-
update(id: number, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
20
|
-
};
|
|
21
|
-
};
|
package/dist/api/ingestApi.d.ts
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import type { _360AssetsQueryParams, _360AssetsRequestPayload, _360AssetsUploadPayload, BimUploadPayload, BimUploadsQueryParams, CalculateMeasuringOperationRequestPayload, DronesQueryParams, DroneUploadUpdateRequestPayload, FlightImagesQueryParams, Generate360MapRequestPayload, InspectionToolRequestPayload, MobileCaptureSnapshot } from "@evercam/api/types";
|
|
2
|
-
export declare const IngestApi: {
|
|
3
|
-
drone: {
|
|
4
|
-
createUpload(projectId: string, params: {
|
|
5
|
-
uploadedBy: string;
|
|
6
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
7
|
-
reprocessDrone(id: number, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
8
|
-
getDrones(params: {
|
|
9
|
-
params: Partial<DronesQueryParams>;
|
|
10
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
11
|
-
getArchive(id: number, params: {
|
|
12
|
-
dataType: string;
|
|
13
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
14
|
-
deleteUpload(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
15
|
-
prepareForUpload(projectId: string, params: {
|
|
16
|
-
uploadedBy: string;
|
|
17
|
-
token: string;
|
|
18
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
19
|
-
upload(projectId: string, params: {
|
|
20
|
-
uploadedBy: string;
|
|
21
|
-
token: string;
|
|
22
|
-
}, payload: DroneUploadUpdateRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
23
|
-
verifyToken(projectId: string, params: {
|
|
24
|
-
token: string;
|
|
25
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
26
|
-
calculateMeasuringOperation(projectId: string, params: CalculateMeasuringOperationRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
27
|
-
inspectionTool(projectId: string, params: InspectionToolRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
28
|
-
isInspectionEnabled(projectId: string, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
29
|
-
getDroneQueueSize(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
30
|
-
getFlightImages(projectId: string, params: FlightImagesQueryParams): Promise<import("axios").AxiosResponse<any, any>>;
|
|
31
|
-
checkFlightAvailableFeatures(projectId: string, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
32
|
-
};
|
|
33
|
-
assets360: {
|
|
34
|
-
get360Assets(params: {
|
|
35
|
-
params: Partial<_360AssetsQueryParams>;
|
|
36
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
37
|
-
get360AssetLink(projectId: string, date: string, floor: string, assetType: string, marker: string | null): Promise<import("axios").AxiosResponse<any, any>>;
|
|
38
|
-
deleteUpload(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
39
|
-
getArchive(id: number, params: {
|
|
40
|
-
dateType: string;
|
|
41
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
42
|
-
createUpload(projectId: string, params: _360AssetsRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
43
|
-
upload(id: number, params: Record<string, unknown>, payload: _360AssetsUploadPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
44
|
-
generate360map(projectId: string, params: Generate360MapRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
45
|
-
get360QueueSize(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
46
|
-
};
|
|
47
|
-
bim: {
|
|
48
|
-
createUpload(projectId: string, params: {
|
|
49
|
-
uploadedBy: string;
|
|
50
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
51
|
-
getBIMs(params: {
|
|
52
|
-
params: Partial<BimUploadsQueryParams>;
|
|
53
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
54
|
-
getArchive(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
55
|
-
deleteUpload(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
56
|
-
upload(projectId: string, params: {
|
|
57
|
-
id: string;
|
|
58
|
-
name: string;
|
|
59
|
-
}, payload: BimUploadPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
60
|
-
};
|
|
61
|
-
mobileCapture: {
|
|
62
|
-
getProjectMobileAssets(params: Record<string, unknown>): Promise<MobileCaptureSnapshot[]>;
|
|
63
|
-
getMobileAssetPhoto(assetId: string | number, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
64
|
-
};
|
|
65
|
-
getTotalQueueSize(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
66
|
-
loadAllAssetsInQueue(): Promise<any[]>;
|
|
67
|
-
};
|