@evercam/api 1.0.0-f8cd95c6b → 1.0.0-fba4c1b51
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 +1 -0
- package/dist/api/{api/adminApi.d.ts → adminApi.d.ts} +41 -6
- package/dist/api/{api/aiApi.d.ts → aiApi.d.ts} +7 -4
- package/dist/api/{api/evercamApi.d.ts → evercamApi.d.ts} +13 -8
- package/dist/api/index.d.ts +13 -3
- package/dist/api/{api/ingestApi.d.ts → ingestApi.d.ts} +29 -9
- package/dist/index.d.ts +3 -2
- package/dist/index.js +561 -432
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/dist/{api/types → types}/360.d.ts +47 -0
- package/dist/{api/types → types}/analytics.d.ts +11 -2
- package/dist/{api/types → types}/anpr.d.ts +5 -11
- package/dist/{api/types → types}/camera.d.ts +10 -2
- package/dist/{api/types → types}/comments.d.ts +18 -2
- package/dist/{api/types → types}/coolify.d.ts +2 -0
- package/dist/{api/types → types}/errors.d.ts +1 -0
- package/dist/{api/types → types}/index.d.ts +2 -0
- package/dist/{api/types → types}/kit.d.ts +12 -4
- package/dist/types/recycleBin.d.ts +14 -0
- package/dist/{api/types → types}/routeParams.d.ts +2 -1
- package/dist/{api/types → types}/shared.d.ts +0 -5
- package/dist/{api/types → types}/snapshots.d.ts +9 -0
- package/dist/types/sso.d.ts +55 -0
- package/dist/{api/types → types}/weather.d.ts +2 -0
- package/dist/{api/types → types}/widget.d.ts +25 -6
- package/package.json +3 -3
- package/dist/api/api/index.d.ts +0 -13
- package/dist/shared/api/index.d.ts +0 -3
- package/dist/shared/components/timelinePlayer/providers/index.d.ts +0 -3
- package/dist/shared/components/timelinePlayer/providers/timelineAnprProvider.d.ts +0 -17
- package/dist/shared/components/timelinePlayer/providers/timelineDataProvider.d.ts +0 -13
- package/dist/shared/components/timelinePlayer/providers/timelineLuminanceProvider.d.ts +0 -16
- package/dist/shared/types/components.d.ts +0 -192
- package/dist/shared/types/imagePlayer.d.ts +0 -34
- package/dist/shared/types/index.d.ts +0 -4
- package/dist/shared/types/timeline.d.ts +0 -9
- /package/dist/api/{api/3dFirebaseApi.d.ts → 3dFirebaseApi.d.ts} +0 -0
- /package/dist/api/{api/authzApi.d.ts → authzApi.d.ts} +0 -0
- /package/dist/api/{api/client → client}/axios.d.ts +0 -0
- /package/dist/api/{api/client → client}/customErrors.d.ts +0 -0
- /package/dist/api/{api/client → client}/index.d.ts +0 -0
- /package/dist/api/{api/client → client}/interceptors.d.ts +0 -0
- /package/dist/api/{api/client → client}/swr/Swr.d.ts +0 -0
- /package/dist/api/{api/client → client}/swr/SwrStore.d.ts +0 -0
- /package/dist/api/{api/evercamLabsApi.d.ts → evercamLabsApi.d.ts} +0 -0
- /package/dist/api/{api/exNvrApi.d.ts → exNvrApi.d.ts} +0 -0
- /package/dist/api/{api/ptzApi.d.ts → ptzApi.d.ts} +0 -0
- /package/dist/api/{api/videoWallApi.d.ts → videoWallApi.d.ts} +0 -0
- /package/dist/api/{api/weatherApi.d.ts → weatherApi.d.ts} +0 -0
- /package/dist/api/{api/webRtcApi.d.ts → webRtcApi.d.ts} +0 -0
- /package/dist/{api/types → types}/aconex.d.ts +0 -0
- /package/dist/{api/types → types}/auditLogs.d.ts +0 -0
- /package/dist/{api/types → types}/autodesk.d.ts +0 -0
- /package/dist/{api/types → types}/automation.d.ts +0 -0
- /package/dist/{api/types → types}/axios.d.ts +0 -0
- /package/dist/{api/types → types}/bim.d.ts +0 -0
- /package/dist/{api/types → types}/company.d.ts +0 -0
- /package/dist/{api/types → types}/compare.d.ts +0 -0
- /package/dist/{api/types → types}/connector.d.ts +0 -0
- /package/dist/{api/types → types}/copilot.d.ts +0 -0
- /package/dist/{api/types → types}/countries.d.ts +0 -0
- /package/dist/{api/types → types}/credentials.d.ts +0 -0
- /package/dist/{api/types → types}/detections.d.ts +0 -0
- /package/dist/{api/types → types}/drone.d.ts +0 -0
- /package/dist/{api/types → types}/gateReport.d.ts +0 -0
- /package/dist/{api/types → types}/hdd.d.ts +0 -0
- /package/dist/{api/types → types}/ingest.d.ts +0 -0
- /package/dist/{api/types → types}/map.d.ts +0 -0
- /package/dist/{api/types → types}/media.d.ts +0 -0
- /package/dist/{api/types → types}/notification.d.ts +0 -0
- /package/dist/{api/types → types}/nvr.d.ts +0 -0
- /package/dist/{api/types → types}/planner.d.ts +0 -0
- /package/dist/{api/types → types}/posthog.d.ts +0 -0
- /package/dist/{api/types → types}/procore.d.ts +0 -0
- /package/dist/{api/types → types}/progressPhoto.d.ts +0 -0
- /package/dist/{api/types → types}/project.d.ts +0 -0
- /package/dist/{api/types → types}/recording.d.ts +0 -0
- /package/dist/{api/types → types}/roi.d.ts +0 -0
- /package/dist/{api/types → types}/router.d.ts +0 -0
- /package/dist/{api/types → types}/shares.d.ts +0 -0
- /package/dist/{api/types → types}/sim.d.ts +0 -0
- /package/dist/{api/types → types}/siteAnalytics.d.ts +0 -0
- /package/dist/{api/types → types}/storageServers.d.ts +0 -0
- /package/dist/{api/types → types}/streaming.d.ts +0 -0
- /package/dist/{api/types → types}/systemCheck.d.ts +0 -0
- /package/dist/{api/types → types}/tag.d.ts +0 -0
- /package/dist/{api/types → types}/time.d.ts +0 -0
- /package/dist/{api/types → types}/timelapse.d.ts +0 -0
- /package/dist/{api/types → types}/user.d.ts +0 -0
- /package/dist/{api/types → types}/vendorModel.d.ts +0 -0
- /package/dist/{api/types → types}/videoWall.d.ts +0 -0
- /package/dist/{api/types → types}/voyageControl.d.ts +0 -0
- /package/dist/{api/types → types}/xweather.d.ts +0 -0
- /package/dist/{api/utils.d.ts → utils.d.ts} +0 -0
|
@@ -1,192 +0,0 @@
|
|
|
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 WatermarkedImageDownloadOrigin {
|
|
5
|
-
Drone = "drone",
|
|
6
|
-
Bim = "BIM",
|
|
7
|
-
Snapshot = "snapshot",
|
|
8
|
-
The360 = "360",
|
|
9
|
-
Planner = "Planner"
|
|
10
|
-
}
|
|
11
|
-
export declare enum PlayerMode {
|
|
12
|
-
Video = "video",
|
|
13
|
-
Jpegs = "jpegs"
|
|
14
|
-
}
|
|
15
|
-
export type TasksStatusMap = {
|
|
16
|
-
[key: string]: TaskStatus;
|
|
17
|
-
};
|
|
18
|
-
export type TaskProgressItem = {
|
|
19
|
-
status: TaskStatus;
|
|
20
|
-
description: string;
|
|
21
|
-
percentDone?: number;
|
|
22
|
-
duration?: number;
|
|
23
|
-
};
|
|
24
|
-
export type GlobalSearchMatch = {
|
|
25
|
-
path: Array<string>;
|
|
26
|
-
value: string | number | boolean;
|
|
27
|
-
};
|
|
28
|
-
export type GlobalSearchResult = {
|
|
29
|
-
index: number;
|
|
30
|
-
matches: Array<GlobalSearchMatch>;
|
|
31
|
-
};
|
|
32
|
-
export type GlobalSearchResultInput = Array<Record<any, any> | Array<any>>;
|
|
33
|
-
export type TimelineProviderRequestParams = TimelineDateInterval & {
|
|
34
|
-
precision?: TimelinePrecision;
|
|
35
|
-
labels?: string[];
|
|
36
|
-
trackId?: number;
|
|
37
|
-
};
|
|
38
|
-
export type TimelinePlayerGroupConfig = {
|
|
39
|
-
provider?: TimelineDataProvider;
|
|
40
|
-
events?: Array<TimelineEvent>;
|
|
41
|
-
getChartType?: (precision: TimelinePrecision) => TimelineChartType;
|
|
42
|
-
} & Omit<TimelineEventsGroup, "events">;
|
|
43
|
-
export type TimelinePlayerConfig = {
|
|
44
|
-
[groupName: string]: TimelinePlayerGroupConfig;
|
|
45
|
-
};
|
|
46
|
-
export type TimelinePlayerTooltipItem = {
|
|
47
|
-
label?: string;
|
|
48
|
-
title?: string;
|
|
49
|
-
thumbnailUrl: string;
|
|
50
|
-
placeholderThumbnailUrl?: string;
|
|
51
|
-
fallbackThumbnailUrl?: string;
|
|
52
|
-
};
|
|
53
|
-
export declare enum TimelineGroupId {
|
|
54
|
-
ThreeSixty = "w360",
|
|
55
|
-
Drone = "drone",
|
|
56
|
-
Bim = "bim",
|
|
57
|
-
Media = "media",
|
|
58
|
-
Comments = "comments",
|
|
59
|
-
Anpr = "anpr",
|
|
60
|
-
MobileCapture = "mobileCapture",
|
|
61
|
-
ExNvrRecordings = "exNvrRecordings",
|
|
62
|
-
Luminance = "luminance",
|
|
63
|
-
ObjectInspector = "objectInspector"
|
|
64
|
-
}
|
|
65
|
-
export type TimelineOverlayType = TimelineGroupId.ThreeSixty | TimelineGroupId.Drone | TimelineGroupId.Media | TimelineGroupId.MobileCapture | TimelineGroupId.Bim | TimelineGroupId.Comments | "compare";
|
|
66
|
-
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;
|
|
67
|
-
export declare enum TimelineMarkerId {
|
|
68
|
-
Xray = "xray",
|
|
69
|
-
CurrentSnapshot = "current",
|
|
70
|
-
CompareBeforeSnapshot = "compareBefore",
|
|
71
|
-
CompareAfterSnapshot = "compareAfter",
|
|
72
|
-
ObjectInspectorFirstSeen = "firstSeen",
|
|
73
|
-
ObjectInspectorLastSeen = "lastSeen"
|
|
74
|
-
}
|
|
75
|
-
export type TimelineMediaHubItemsByType = {
|
|
76
|
-
clip?: Media[];
|
|
77
|
-
compare?: Media[];
|
|
78
|
-
edit?: Media[];
|
|
79
|
-
timelapse?: Media[];
|
|
80
|
-
xRay?: Media[];
|
|
81
|
-
};
|
|
82
|
-
export declare enum HighchartsStackingBehavior {
|
|
83
|
-
Overlap = "overlap",
|
|
84
|
-
Normal = "normal",
|
|
85
|
-
Percent = "percent",
|
|
86
|
-
Stream = "stream"
|
|
87
|
-
}
|
|
88
|
-
export declare enum LeaderLinePlugType {
|
|
89
|
-
Disc = "disc",
|
|
90
|
-
Square = "square",
|
|
91
|
-
Arrow1 = "arrow1",
|
|
92
|
-
Arrow2 = "arrow2",
|
|
93
|
-
Arrow3 = "arrow3",
|
|
94
|
-
Hand = "hand",
|
|
95
|
-
CrossHair = "crosshair",
|
|
96
|
-
Behind = "behind"
|
|
97
|
-
}
|
|
98
|
-
export declare enum LeaderLinesPathType {
|
|
99
|
-
Straight = "straight",
|
|
100
|
-
Arc = "arc",
|
|
101
|
-
Fluid = "fluid",
|
|
102
|
-
Magnet = "magnet",
|
|
103
|
-
Grid = "grid"
|
|
104
|
-
}
|
|
105
|
-
export declare enum LeaderLinesSocketPosition {
|
|
106
|
-
Top = "top",
|
|
107
|
-
Right = "right",
|
|
108
|
-
Bottom = "bottom",
|
|
109
|
-
Left = "left",
|
|
110
|
-
Auto = "auto"
|
|
111
|
-
}
|
|
112
|
-
export type LeaderLineOptions = {
|
|
113
|
-
startSocket?: LeaderLinesSocketPosition;
|
|
114
|
-
endSocket?: LeaderLinesSocketPosition;
|
|
115
|
-
color?: string | ((element: any) => string);
|
|
116
|
-
size?: number;
|
|
117
|
-
startPlug?: LeaderLinePlugType;
|
|
118
|
-
endPlug?: LeaderLinePlugType;
|
|
119
|
-
startPlugSize?: number;
|
|
120
|
-
endPlugSize?: number;
|
|
121
|
-
path?: LeaderLinesPathType;
|
|
122
|
-
startSocketGravity?: [number, number];
|
|
123
|
-
endSocketGravity?: [number, number];
|
|
124
|
-
dash?: {
|
|
125
|
-
animation: boolean | {
|
|
126
|
-
duration: number;
|
|
127
|
-
};
|
|
128
|
-
} | ((element: any) => {
|
|
129
|
-
animation: boolean | {
|
|
130
|
-
duration: number;
|
|
131
|
-
};
|
|
132
|
-
});
|
|
133
|
-
};
|
|
134
|
-
export type CssSelector = string;
|
|
135
|
-
export type LineConfig = {
|
|
136
|
-
start: CssSelector | CssSelector[];
|
|
137
|
-
end: CssSelector | CssSelector[];
|
|
138
|
-
options?: LeaderLineOptions;
|
|
139
|
-
};
|
|
140
|
-
export type Point = {
|
|
141
|
-
x: number;
|
|
142
|
-
y: number;
|
|
143
|
-
};
|
|
144
|
-
export declare enum ZohoDeskTicketStatus {
|
|
145
|
-
Closed = "Closed",
|
|
146
|
-
OnHold = "On Hold",
|
|
147
|
-
Open = "Open"
|
|
148
|
-
}
|
|
149
|
-
export type TagSelectorItem = Tag & {
|
|
150
|
-
isExcluded?: boolean;
|
|
151
|
-
};
|
|
152
|
-
export declare enum FormSchemaComponents {
|
|
153
|
-
SelectField = "SelectField",
|
|
154
|
-
MultiOption = "MultiOption",
|
|
155
|
-
TextField = "TextField",
|
|
156
|
-
CheckBox = "SwitchField",
|
|
157
|
-
DateTime = "DatePickerInput",
|
|
158
|
-
TextArea = "Textarea",
|
|
159
|
-
Search = "Autocomplete",
|
|
160
|
-
ReadOnly = "ReadOnly"
|
|
161
|
-
}
|
|
162
|
-
export declare enum FormSchemaDataType {
|
|
163
|
-
String = "string",
|
|
164
|
-
Number = "number",
|
|
165
|
-
Boolean = "boolean",
|
|
166
|
-
Date = "date"
|
|
167
|
-
}
|
|
168
|
-
export type FormSchemaOptions = {
|
|
169
|
-
title: string;
|
|
170
|
-
value: string;
|
|
171
|
-
};
|
|
172
|
-
export type FormSchemaField = {
|
|
173
|
-
id: string;
|
|
174
|
-
component: FormSchemaComponents;
|
|
175
|
-
required?: boolean;
|
|
176
|
-
name: string;
|
|
177
|
-
options?: FormSchemaOptions[];
|
|
178
|
-
disabled?: boolean;
|
|
179
|
-
dataType: FormSchemaDataType;
|
|
180
|
-
multiple?: boolean;
|
|
181
|
-
defaultValue?: any;
|
|
182
|
-
columns?: number;
|
|
183
|
-
};
|
|
184
|
-
export type FormSchema = Record<string, FormSchemaField>;
|
|
185
|
-
export interface ScrollListener {
|
|
186
|
-
element: Element | Window;
|
|
187
|
-
handler: () => void;
|
|
188
|
-
}
|
|
189
|
-
export interface LeaderLineInstance {
|
|
190
|
-
remove(): void;
|
|
191
|
-
position(): void;
|
|
192
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
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
|
-
ThureeSixty = "360",
|
|
27
|
-
FourEighty = "480",
|
|
28
|
-
SevenTwenty = "720",
|
|
29
|
-
OneZeroEightZero = "1080",
|
|
30
|
-
Auto = "auto"
|
|
31
|
-
}
|
|
32
|
-
export type SrcSet = {
|
|
33
|
-
[q in ImageQuality]: string;
|
|
34
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
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
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|