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