@evercam/api 1.0.0-e03a0c41b → 1.0.0-e13c64fc3
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 +5 -0
- package/dist/api/api/3dFirebaseApi.d.ts +27 -0
- package/dist/api/api/adminApi.d.ts +366 -0
- 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/{client → api/client}/customErrors.d.ts +10 -0
- package/dist/api/{client → api/client}/interceptors.d.ts +3 -2
- 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/api/evercamApi.d.ts +329 -0
- package/dist/api/api/evercamLabsApi.d.ts +46 -0
- 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 +147 -0
- package/dist/api/{ptzApi.d.ts → api/ptzApi.d.ts} +13 -4
- package/dist/api/api/videoWallApi.d.ts +9 -0
- package/dist/api/api/weatherApi.d.ts +9 -0
- 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 +214 -103
- package/dist/{types → api/types}/anpr.d.ts +35 -19
- 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 -2
- package/dist/{types → api/types}/bim.d.ts +11 -5
- package/dist/{types → api/types}/camera.d.ts +110 -125
- package/dist/api/types/comments.d.ts +55 -0
- 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 +9 -6
- package/dist/api/types/coolify.d.ts +36 -0
- package/dist/{types → api/types}/copilot.d.ts +19 -13
- package/dist/{types → api/types}/countries.d.ts +0 -7
- package/dist/{types → api/types}/credentials.d.ts +1 -0
- package/dist/api/types/detections.d.ts +121 -0
- package/dist/{types → api/types}/errors.d.ts +13 -0
- package/dist/{types → api/types}/gateReport.d.ts +46 -150
- package/dist/api/types/hdd.d.ts +88 -0
- package/dist/{types → api/types}/index.d.ts +15 -2
- package/dist/api/types/ingest.d.ts +134 -0
- package/dist/{types → api/types}/kit.d.ts +94 -6
- package/dist/{types → api/types}/media.d.ts +2 -1
- package/dist/api/types/notification.d.ts +57 -0
- package/dist/{types → api/types}/nvr.d.ts +2 -1
- package/dist/api/types/oauth.d.ts +62 -0
- package/dist/{types/sitePlanner.d.ts → api/types/planner.d.ts} +11 -2
- package/dist/api/types/posthog.d.ts +33 -0
- package/dist/api/types/procore.d.ts +229 -0
- 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/api/types/ring.d.ts +53 -0
- package/dist/{types → api/types}/roi.d.ts +2 -1
- 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 +14 -21
- 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/api/types/streaming.d.ts +97 -0
- package/dist/api/types/systemCheck.d.ts +11 -0
- package/dist/api/types/tag.d.ts +12 -0
- package/dist/api/types/time.d.ts +7 -0
- package/dist/{types → api/types}/timelapse.d.ts +18 -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 +103 -20
- package/dist/api/types/xweather.d.ts +12 -0
- package/dist/{utils.d.ts → api/utils.d.ts} +1 -0
- package/dist/index.d.ts +2 -3
- package/dist/index.js +1741 -960
- 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 +8 -7
- package/dist/api/3dFirebaseApi.d.ts +0 -9
- package/dist/api/adminApi.d.ts +0 -289
- package/dist/api/aiApi.d.ts +0 -76
- package/dist/api/authzApi.d.ts +0 -21
- package/dist/api/evercamApi.d.ts +0 -266
- package/dist/api/evercamLabsApi.d.ts +0 -50
- package/dist/api/ingestApi.d.ts +0 -65
- package/dist/api/videoWallApi.d.ts +0 -9
- package/dist/api/weatherApi.d.ts +0 -25
- package/dist/types/360.d.ts +0 -83
- package/dist/types/aconex.d.ts +0 -45
- package/dist/types/automation.d.ts +0 -6
- package/dist/types/comments.d.ts +0 -36
- package/dist/types/company.d.ts +0 -46
- package/dist/types/detections.d.ts +0 -70
- package/dist/types/devices.d.ts +0 -228
- package/dist/types/ingest.d.ts +0 -43
- package/dist/types/notification.d.ts +0 -27
- package/dist/types/procore.d.ts +0 -76
- package/dist/types/project.d.ts +0 -120
- package/dist/types/shares.d.ts +0 -192
- package/dist/types/siteAnalytics.d.ts +0 -5
- package/dist/types/streaming.d.ts +0 -119
- package/dist/types/time.d.ts +0 -19
- package/dist/types/videoWall.d.ts +0 -33
- package/dist/types/weather.d.ts +0 -83
- /package/dist/api/{client → api/client}/index.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}/storageServers.d.ts +0 -0
- /package/dist/{types → api/types}/vendorModel.d.ts +0 -0
- /package/dist/{types → api/types}/voyageControl.d.ts +0 -0
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import type { CameraExid, CopilotConversation, CopilotMessage, CopilotMessageStep, CountByPeriod, CountsParams, DetectionsFilters, DetectionsPresenceByLabel, FeedbackPayload, GrafanaKitMetrics, LabsPaginationParams, LuminanceReading, MilesightCameraNetworkConfiguration, MilesightCameraOsdConfiguration, MilesightCameraSdCardInfo, MilesightCameraSystemSettings, MilesightCameraVideoConfig, MilesightRequestParams, PaginatedItems, SegmentsByLabel, SegmentsPresenceByLabel, TrackingsByLabel } from "@evercam/api/types";
|
|
2
|
-
import { GrafanaMetricId, KitMetricPeriod } from "@evercam/api/types";
|
|
3
|
-
export declare function getLabsBaseUrl(): string | null | undefined;
|
|
4
|
-
export declare const EvercamLabsApi: {
|
|
5
|
-
milesight: {
|
|
6
|
-
getVideoConfig({ host, httpPort, username, password }: MilesightRequestParams, config?: {}): Promise<MilesightCameraVideoConfig>;
|
|
7
|
-
getNetworkConfiguration({ host, httpPort, username, password }: MilesightRequestParams, config?: {}): Promise<MilesightCameraNetworkConfiguration>;
|
|
8
|
-
getSystemSettings({ host, httpPort, username, password }: MilesightRequestParams, config?: {}): Promise<MilesightCameraSystemSettings>;
|
|
9
|
-
getTimeSettings({ host, httpPort, username, password }: MilesightRequestParams, config?: {}): Promise<MilesightCameraSystemSettings>;
|
|
10
|
-
getOsdConfiguration({ host, httpPort, username, password }: MilesightRequestParams, config?: {}): Promise<MilesightCameraOsdConfiguration>;
|
|
11
|
-
getSdCardInfo({ host, httpPort, username, password }: MilesightRequestParams, config?: {}): Promise<MilesightCameraSdCardInfo>;
|
|
12
|
-
};
|
|
13
|
-
copilot: {
|
|
14
|
-
getAllConversations(params: LabsPaginationParams & {
|
|
15
|
-
cameraExid?: string;
|
|
16
|
-
projectExid?: string;
|
|
17
|
-
user?: string;
|
|
18
|
-
}): Promise<PaginatedItems<CopilotConversation>>;
|
|
19
|
-
getOneConversation(conversationId: number): Promise<PaginatedItems<CopilotConversation>>;
|
|
20
|
-
getConversationMessages(conversationId: number, params: LabsPaginationParams): Promise<PaginatedItems<CopilotMessage>>;
|
|
21
|
-
getMessageSteps(message: CopilotMessage): Promise<CopilotMessageStep[]>;
|
|
22
|
-
submitMessageFeedback<T>({ conversationId, messageId, ...params }: FeedbackPayload<T>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
23
|
-
};
|
|
24
|
-
detections: {
|
|
25
|
-
getDetectionsTracking(cameraExid: CameraExid, params: DetectionsFilters): Promise<TrackingsByLabel>;
|
|
26
|
-
getSegmentsMasks(cameraExid: CameraExid, params: DetectionsFilters): Promise<SegmentsByLabel>;
|
|
27
|
-
getDetectionsPresenceDateIntervals({ cameraExid, fromDate, toDate, precision, }: CountsParams): Promise<DetectionsPresenceByLabel>;
|
|
28
|
-
getSegmentsDateIntervals({ cameraExid, fromDate, toDate, precision, }: CountsParams): Promise<SegmentsPresenceByLabel>;
|
|
29
|
-
getCranesMovement({ cameraExid, fromDate, toDate, precision, }: CountsParams): Promise<CountByPeriod[]>;
|
|
30
|
-
};
|
|
31
|
-
googleCloudStorage: {
|
|
32
|
-
listFiles(prefix?: string): Promise<{
|
|
33
|
-
files: string[];
|
|
34
|
-
folders: string[];
|
|
35
|
-
}>;
|
|
36
|
-
getSignedUrl(fileName: string): Promise<{
|
|
37
|
-
url: string;
|
|
38
|
-
}>;
|
|
39
|
-
};
|
|
40
|
-
luminance: {
|
|
41
|
-
getReadings(params: {
|
|
42
|
-
cameraExid: CameraExid;
|
|
43
|
-
fromDate: string;
|
|
44
|
-
toDate: string;
|
|
45
|
-
}): Promise<LuminanceReading[]>;
|
|
46
|
-
};
|
|
47
|
-
kits: {
|
|
48
|
-
getMetrics(kitId: string, metrics: GrafanaMetricId[], period?: KitMetricPeriod): Promise<GrafanaKitMetrics>;
|
|
49
|
-
};
|
|
50
|
-
};
|
package/dist/api/ingestApi.d.ts
DELETED
|
@@ -1,65 +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
|
-
};
|
|
32
|
-
assets360: {
|
|
33
|
-
get360Assets(params: {
|
|
34
|
-
params: Partial<_360AssetsQueryParams>;
|
|
35
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
36
|
-
deleteUpload(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
37
|
-
getArchive(id: number, params: {
|
|
38
|
-
dateType: string;
|
|
39
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
40
|
-
createUpload(projectId: string, params: _360AssetsRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
41
|
-
upload(id: number, params: Record<string, unknown>, payload: _360AssetsUploadPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
42
|
-
generate360map(projectId: string, params: Generate360MapRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
43
|
-
get360QueueSize(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
44
|
-
};
|
|
45
|
-
bim: {
|
|
46
|
-
createUpload(projectId: string, params: {
|
|
47
|
-
uploadedBy: string;
|
|
48
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
49
|
-
getBIMs(params: {
|
|
50
|
-
params: Partial<BimUploadsQueryParams>;
|
|
51
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
52
|
-
getArchive(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
53
|
-
deleteUpload(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
54
|
-
upload(projectId: string, params: {
|
|
55
|
-
id: string;
|
|
56
|
-
name: string;
|
|
57
|
-
}, payload: BimUploadPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
58
|
-
};
|
|
59
|
-
mobileCapture: {
|
|
60
|
-
getProjectMobileAssets(params: Record<string, unknown>): Promise<MobileCaptureSnapshot[]>;
|
|
61
|
-
getMobileAssetPhoto(assetId: string | number, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
62
|
-
};
|
|
63
|
-
getTotalQueueSize(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
64
|
-
checkFlightAvailableFeatures(projectId: string, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
65
|
-
};
|
|
@@ -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
|
-
};
|
package/dist/api/weatherApi.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { HistoryWeatherRequestPayload, WeatherDataResponse, WeatherProvider, WeatherResponsePayload } from "@evercam/api/types";
|
|
2
|
-
export declare const WeatherApi: {
|
|
3
|
-
current: {
|
|
4
|
-
getCurrentWeather({ projectExid, weatherProvider, }: {
|
|
5
|
-
projectExid: string;
|
|
6
|
-
weatherProvider: WeatherProvider;
|
|
7
|
-
}): Promise<WeatherResponsePayload> | undefined;
|
|
8
|
-
};
|
|
9
|
-
historical: {
|
|
10
|
-
getWeatherBeforeDate({ projectExid, weatherProvider, payload, }: {
|
|
11
|
-
projectExid: string;
|
|
12
|
-
weatherProvider: WeatherProvider;
|
|
13
|
-
payload: HistoryWeatherRequestPayload;
|
|
14
|
-
}): Promise<WeatherResponsePayload> | undefined;
|
|
15
|
-
};
|
|
16
|
-
weather: {
|
|
17
|
-
getWeatherData({ projectExid, weatherProvider, payload, }: {
|
|
18
|
-
projectExid: string;
|
|
19
|
-
weatherProvider: WeatherProvider;
|
|
20
|
-
payload: HistoryWeatherRequestPayload;
|
|
21
|
-
}): Promise<{
|
|
22
|
-
data: WeatherDataResponse[];
|
|
23
|
-
}> | undefined;
|
|
24
|
-
};
|
|
25
|
-
};
|
package/dist/types/360.d.ts
DELETED
|
@@ -1,83 +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 _360IntergrationType {
|
|
44
|
-
Matterport = "Matterport",
|
|
45
|
-
OpenSpace = "Openspace",
|
|
46
|
-
HoloBuilder = "Holobuilder",
|
|
47
|
-
DroneDeploy = "Dronedeploy",
|
|
48
|
-
Evercam = "Evercam"
|
|
49
|
-
}
|
|
50
|
-
export type _360AssetsQueryParams = {
|
|
51
|
-
page: number;
|
|
52
|
-
limit: number;
|
|
53
|
-
projectID: string;
|
|
54
|
-
date: DateType;
|
|
55
|
-
floor: string;
|
|
56
|
-
id: string;
|
|
57
|
-
};
|
|
58
|
-
export type _360AssetsRequestPayload = {
|
|
59
|
-
projectId: string;
|
|
60
|
-
date: DateType;
|
|
61
|
-
floor: string;
|
|
62
|
-
uploadedBy?: string;
|
|
63
|
-
};
|
|
64
|
-
export type _360AssetsUploadPayload = {
|
|
65
|
-
targetPointsCount: number;
|
|
66
|
-
assetType: string;
|
|
67
|
-
upload: {
|
|
68
|
-
url: string;
|
|
69
|
-
title: string;
|
|
70
|
-
fileExtension: string;
|
|
71
|
-
}[];
|
|
72
|
-
deviceSerial: string;
|
|
73
|
-
startPosition: string;
|
|
74
|
-
endPosition: string;
|
|
75
|
-
isTimelapse: boolean;
|
|
76
|
-
};
|
|
77
|
-
export type Generate360MapRequestPayload = {
|
|
78
|
-
dateId: string;
|
|
79
|
-
floorId: string;
|
|
80
|
-
cameraOffset: string;
|
|
81
|
-
startPoint: string;
|
|
82
|
-
endPoint: string;
|
|
83
|
-
};
|
package/dist/types/aconex.d.ts
DELETED
|
@@ -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
|
-
};
|
package/dist/types/comments.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { CameraExid, DateType, ProjectExid } from "@/types";
|
|
2
|
-
export type CommentsRequestPayload = {
|
|
3
|
-
cameraExid: CameraExid;
|
|
4
|
-
fromDate: string;
|
|
5
|
-
toDate: string;
|
|
6
|
-
page?: number;
|
|
7
|
-
limit?: number;
|
|
8
|
-
};
|
|
9
|
-
export type CommentPosition = {
|
|
10
|
-
coordinates: Array<number>;
|
|
11
|
-
type: string;
|
|
12
|
-
};
|
|
13
|
-
export type Comment = {
|
|
14
|
-
fromDate?: string;
|
|
15
|
-
toDate?: string;
|
|
16
|
-
timestamp: string;
|
|
17
|
-
projectExid: ProjectExid;
|
|
18
|
-
updatedAt?: string;
|
|
19
|
-
id?: number;
|
|
20
|
-
cameraExid: CameraExid;
|
|
21
|
-
content: string;
|
|
22
|
-
createdAt?: string;
|
|
23
|
-
creatorEmail?: string;
|
|
24
|
-
creatorName?: string;
|
|
25
|
-
position2d: CommentPosition;
|
|
26
|
-
canDelete?: boolean;
|
|
27
|
-
};
|
|
28
|
-
export type CommentCreationRequestPayload = {
|
|
29
|
-
fromDate?: DateType;
|
|
30
|
-
toDate?: DateType;
|
|
31
|
-
timestamp: DateType;
|
|
32
|
-
projectExid: ProjectExid;
|
|
33
|
-
cameraExid: CameraExid;
|
|
34
|
-
content: string;
|
|
35
|
-
position2d: Array<number>;
|
|
36
|
-
};
|
package/dist/types/company.d.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import type { DateType, PaginationParams } from "@/types";
|
|
2
|
-
export type CompanyUser = {
|
|
3
|
-
id: number;
|
|
4
|
-
fullname: string;
|
|
5
|
-
email: string;
|
|
6
|
-
eventsCount: number;
|
|
7
|
-
lastSeenAt: string;
|
|
8
|
-
active: boolean;
|
|
9
|
-
};
|
|
10
|
-
export type CompanyProject = {
|
|
11
|
-
exid: string;
|
|
12
|
-
name: string;
|
|
13
|
-
status: string;
|
|
14
|
-
startedAt: DateType;
|
|
15
|
-
};
|
|
16
|
-
export type Company = {
|
|
17
|
-
id: number;
|
|
18
|
-
exid: string;
|
|
19
|
-
name: string;
|
|
20
|
-
zohoId: string;
|
|
21
|
-
domains: string;
|
|
22
|
-
linkedinUrl: string;
|
|
23
|
-
sessions: number;
|
|
24
|
-
projects: number;
|
|
25
|
-
cameras: number;
|
|
26
|
-
users: number;
|
|
27
|
-
activeUsers: number;
|
|
28
|
-
createdAt: DateType;
|
|
29
|
-
};
|
|
30
|
-
export type CompanyQueryParams = PaginationParams & {
|
|
31
|
-
name: string;
|
|
32
|
-
exid: string;
|
|
33
|
-
domains: string;
|
|
34
|
-
projects: string;
|
|
35
|
-
cameras: string;
|
|
36
|
-
users: string;
|
|
37
|
-
activeUsers: string;
|
|
38
|
-
sessions: string;
|
|
39
|
-
};
|
|
40
|
-
export type CompanyUpdatePayload = {
|
|
41
|
-
name: string;
|
|
42
|
-
exid: string;
|
|
43
|
-
linkedinUrl?: string;
|
|
44
|
-
domains?: string;
|
|
45
|
-
zohoId?: string;
|
|
46
|
-
};
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { type CameraExid, type DateType, DetectionLabel, SegmentLabel, type TimelineDateInterval, TimelinePrecision } from "@/types";
|
|
2
|
-
export type DetectionsFilters = {
|
|
3
|
-
cameraExid: CameraExid;
|
|
4
|
-
fromDate: string | Date;
|
|
5
|
-
toDate: string | Date;
|
|
6
|
-
labels: DetectionLabel | DetectionLabel[];
|
|
7
|
-
};
|
|
8
|
-
export type BBox = [number, number, number, number];
|
|
9
|
-
export type SelectedObjectPath = {
|
|
10
|
-
label: string;
|
|
11
|
-
trackId: string;
|
|
12
|
-
paths: Array<{
|
|
13
|
-
timestamp: number;
|
|
14
|
-
center: [number, number];
|
|
15
|
-
bbox: BBox;
|
|
16
|
-
}>;
|
|
17
|
-
};
|
|
18
|
-
export type Detection = {
|
|
19
|
-
bbox: BBox;
|
|
20
|
-
timestamp: string | Date;
|
|
21
|
-
};
|
|
22
|
-
export type Tracking = {
|
|
23
|
-
trackId: number;
|
|
24
|
-
fromDate: string | Date;
|
|
25
|
-
toDate: string | Date;
|
|
26
|
-
detections: Detection[];
|
|
27
|
-
};
|
|
28
|
-
export type TrackingLabel = string;
|
|
29
|
-
export type TrackingsByLabel = Record<TrackingLabel, Tracking[]>;
|
|
30
|
-
export type SegmentsByLabel = Record<SegmentLabel, Segment[]>;
|
|
31
|
-
export type SegmentPolygonCoords = number[][];
|
|
32
|
-
export type Segment = {
|
|
33
|
-
id: number;
|
|
34
|
-
mask: SegmentPolygonCoords;
|
|
35
|
-
label: string;
|
|
36
|
-
timestamp: string | Date;
|
|
37
|
-
};
|
|
38
|
-
export type SegmentSimilarityResult = {
|
|
39
|
-
distance: number;
|
|
40
|
-
segment: Segment;
|
|
41
|
-
};
|
|
42
|
-
export type SegmentsSimilaritySearchResult = {
|
|
43
|
-
firstSeen: DateType | null;
|
|
44
|
-
lastSeen: DateType | null;
|
|
45
|
-
similarSegments: SegmentSimilarityResult[];
|
|
46
|
-
};
|
|
47
|
-
export type SegmentsSimilaritySearchParams = {
|
|
48
|
-
cameraExid: CameraExid;
|
|
49
|
-
referenceId: string;
|
|
50
|
-
iouThreshold?: number;
|
|
51
|
-
fromDate: string;
|
|
52
|
-
toDate: string;
|
|
53
|
-
};
|
|
54
|
-
export type CountsParams = {
|
|
55
|
-
cameraExid: CameraExid;
|
|
56
|
-
fromDate: string | Date;
|
|
57
|
-
toDate: string | Date;
|
|
58
|
-
precision: TimelinePrecision;
|
|
59
|
-
};
|
|
60
|
-
export type CountByPeriod = {
|
|
61
|
-
date: string | Date;
|
|
62
|
-
counts: Record<string, number>;
|
|
63
|
-
};
|
|
64
|
-
export type DetectionsPresenceByLabel = Record<DetectionLabel, TimelineDateInterval[]>;
|
|
65
|
-
export type SegmentsPresenceByLabel = Record<SegmentLabel, TimelineDateInterval[]>;
|
|
66
|
-
export type LuminanceReading = {
|
|
67
|
-
timestamp: string;
|
|
68
|
-
luminanceDelta: number;
|
|
69
|
-
luminanceAverage: number;
|
|
70
|
-
};
|
package/dist/types/devices.d.ts
DELETED
|
@@ -1,228 +0,0 @@
|
|
|
1
|
-
export type MilesightRequestParams = {
|
|
2
|
-
host: string;
|
|
3
|
-
httpPort: number;
|
|
4
|
-
username: string;
|
|
5
|
-
password: string;
|
|
6
|
-
};
|
|
7
|
-
export type MilesightCameraNetworkConfiguration = {
|
|
8
|
-
httpEnable: number;
|
|
9
|
-
httpPort: number;
|
|
10
|
-
httpsEnable: number;
|
|
11
|
-
httpsPort: number;
|
|
12
|
-
certSubject: string;
|
|
13
|
-
certDate: string;
|
|
14
|
-
certResult: number;
|
|
15
|
-
requestSubject: string;
|
|
16
|
-
certUpdateFlag: number;
|
|
17
|
-
ipv4Ipaddress: string;
|
|
18
|
-
ipv6Ipaddress: string;
|
|
19
|
-
notBefore: string;
|
|
20
|
-
notAfter: string;
|
|
21
|
-
country: string;
|
|
22
|
-
ST: string;
|
|
23
|
-
O: string;
|
|
24
|
-
CN: string;
|
|
25
|
-
};
|
|
26
|
-
export type MilesightCameraSystemSettings = {
|
|
27
|
-
model: string;
|
|
28
|
-
mac: string;
|
|
29
|
-
firmwareVersion: string;
|
|
30
|
-
systemBootTime: string;
|
|
31
|
-
wireless: number;
|
|
32
|
-
dhcpEnable: number;
|
|
33
|
-
ipaddress: string;
|
|
34
|
-
netmask: string;
|
|
35
|
-
gateway: string;
|
|
36
|
-
pppoeEnable: number;
|
|
37
|
-
dns0: string;
|
|
38
|
-
dns1: string;
|
|
39
|
-
ddnsEnable: number;
|
|
40
|
-
ddnsHostName: string;
|
|
41
|
-
ddnsStatus: number;
|
|
42
|
-
wirelessEnable: number;
|
|
43
|
-
deviceName: string;
|
|
44
|
-
deviceLacation: string;
|
|
45
|
-
deviceInformation: string;
|
|
46
|
-
deviceVender: string;
|
|
47
|
-
hardwareVersion: string;
|
|
48
|
-
kernelVersion: string;
|
|
49
|
-
sdkVersion: string;
|
|
50
|
-
aiNnieStatus: number;
|
|
51
|
-
ioSupport: number;
|
|
52
|
-
audioSupport: number;
|
|
53
|
-
audioMode: number;
|
|
54
|
-
audioType: number;
|
|
55
|
-
audioLineInput: number;
|
|
56
|
-
alarmInputSupport: number;
|
|
57
|
-
alarmOutputSupport: number;
|
|
58
|
-
fisheyeSupport: number;
|
|
59
|
-
vcaSupport: number;
|
|
60
|
-
vcaType: number;
|
|
61
|
-
anrSupport: number;
|
|
62
|
-
speakerSupport: number;
|
|
63
|
-
lprSupport: number;
|
|
64
|
-
lprVersion: number;
|
|
65
|
-
lprLicense: number;
|
|
66
|
-
radarSupport: number;
|
|
67
|
-
upgrade: number;
|
|
68
|
-
faceSupport: number;
|
|
69
|
-
polygonFaceSupport: number;
|
|
70
|
-
irSensor: number;
|
|
71
|
-
dnSensitivitySupport: number;
|
|
72
|
-
croproiSupport: number;
|
|
73
|
-
dnRefocusSupport: number;
|
|
74
|
-
reduceStutteringSupport: number;
|
|
75
|
-
polygonSupport: number;
|
|
76
|
-
localDisplaySupport: number;
|
|
77
|
-
fanWorkingModeSupport: number;
|
|
78
|
-
smartIrLimitType: number;
|
|
79
|
-
smartIrLimitSum: number;
|
|
80
|
-
audioFileManagerSupport: number;
|
|
81
|
-
humanVehicleSupport: number;
|
|
82
|
-
manualSpeedSupport: number;
|
|
83
|
-
snCode: string;
|
|
84
|
-
mosaicSupport: number;
|
|
85
|
-
antiShakeSupport: number;
|
|
86
|
-
corridorModeSupport: number;
|
|
87
|
-
imageRotationSupport: number;
|
|
88
|
-
humanDetectionSupport: number;
|
|
89
|
-
regionalPeopleSupport: number;
|
|
90
|
-
heatMapSupport: number;
|
|
91
|
-
msChip: string;
|
|
92
|
-
runtime: number;
|
|
93
|
-
lprlicenStatus: number;
|
|
94
|
-
p2pSupport: number;
|
|
95
|
-
ptzSupport: number;
|
|
96
|
-
adminoptions: number;
|
|
97
|
-
adminuser: string;
|
|
98
|
-
miscAnonymous: number;
|
|
99
|
-
pwdStrengthType: number;
|
|
100
|
-
viewerdef: number;
|
|
101
|
-
viewerOptions: number;
|
|
102
|
-
oemIndex: number;
|
|
103
|
-
audioAlarmSupport: number;
|
|
104
|
-
ledSupport: number;
|
|
105
|
-
ledGroupSupport: number;
|
|
106
|
-
ptzMaxZoomTimes: number;
|
|
107
|
-
realPtzSupport: number;
|
|
108
|
-
iotSupport: number;
|
|
109
|
-
isSpeedDm: number;
|
|
110
|
-
supportOsdLarger: number;
|
|
111
|
-
isFaceCustomizeModeExists: number;
|
|
112
|
-
autoTrackSupport: number;
|
|
113
|
-
smartStreamSupportInOtherStream: number;
|
|
114
|
-
wiperSupport: number;
|
|
115
|
-
oemupdateonline: number;
|
|
116
|
-
whiteLedSupport: number;
|
|
117
|
-
defogSupport: number;
|
|
118
|
-
manualTrackingSupport: number;
|
|
119
|
-
manualTrackingDisable: number;
|
|
120
|
-
"3DPositionSupport": number;
|
|
121
|
-
rs485Support: number;
|
|
122
|
-
ptzStatusSupport: number;
|
|
123
|
-
heaterSupport: number;
|
|
124
|
-
};
|
|
125
|
-
export type MilesightCameraStreamConfig = {
|
|
126
|
-
enable?: number;
|
|
127
|
-
width?: number;
|
|
128
|
-
height?: number;
|
|
129
|
-
url?: string;
|
|
130
|
-
profileGop?: number;
|
|
131
|
-
rateMode?: MilesightCameraRateModeId;
|
|
132
|
-
framerate?: number;
|
|
133
|
-
bitrate?: number;
|
|
134
|
-
smartStreamEnable?: number;
|
|
135
|
-
smartStreamLevel?: number;
|
|
136
|
-
profile?: number;
|
|
137
|
-
profileCodec?: MilesightCameraCodecId;
|
|
138
|
-
rateQuality?: number;
|
|
139
|
-
vbrQuality?: MilesightCameraVbrQualityId;
|
|
140
|
-
};
|
|
141
|
-
export type MilesightCameraStreamConfigList = {
|
|
142
|
-
mainStream: MilesightCameraStreamConfig;
|
|
143
|
-
subStream: MilesightCameraStreamConfig;
|
|
144
|
-
thirdStream: MilesightCameraStreamConfig;
|
|
145
|
-
fourthStream?: {
|
|
146
|
-
enable: number;
|
|
147
|
-
};
|
|
148
|
-
fifthStream?: {
|
|
149
|
-
enable: number;
|
|
150
|
-
};
|
|
151
|
-
};
|
|
152
|
-
export type MilesightCameraVideoConfig = {
|
|
153
|
-
deviceModel: string;
|
|
154
|
-
deviceSensor: string;
|
|
155
|
-
deviceTvStandards: number;
|
|
156
|
-
streamList: MilesightCameraStreamConfigList;
|
|
157
|
-
cTvStandards: number;
|
|
158
|
-
rtspPort: number;
|
|
159
|
-
eventStreamEnable: number;
|
|
160
|
-
eventStreamFramerate: number;
|
|
161
|
-
eventStreamBitrate: number;
|
|
162
|
-
eventStreamIframe: number;
|
|
163
|
-
fishDisplayModel: number;
|
|
164
|
-
fishInstallModel: number;
|
|
165
|
-
fishCorrectModel: number;
|
|
166
|
-
mainCodecres: number;
|
|
167
|
-
imageScheMode: number;
|
|
168
|
-
hlcMode: number;
|
|
169
|
-
exposurectrl: number;
|
|
170
|
-
wdrEnable: number;
|
|
171
|
-
};
|
|
172
|
-
export type MilesightCameraStreamOsdInfo = {
|
|
173
|
-
streamIndex: number;
|
|
174
|
-
osdEnable: number;
|
|
175
|
-
osdString: string;
|
|
176
|
-
osdDateTimeEnable: number;
|
|
177
|
-
osdFontSize: number;
|
|
178
|
-
osdFontColor: string;
|
|
179
|
-
osdBackgroundEnable: number;
|
|
180
|
-
osdBackgroundColor: string;
|
|
181
|
-
osdTextPosition: number;
|
|
182
|
-
osdDateTimePosition: number;
|
|
183
|
-
osdDateTimeFormat: number;
|
|
184
|
-
cropRoiEnable: number;
|
|
185
|
-
};
|
|
186
|
-
export type MilesightCameraOsdConfiguration = {
|
|
187
|
-
osdInfoList: MilesightCameraStreamOsdInfo[];
|
|
188
|
-
osdZoomTime: number;
|
|
189
|
-
};
|
|
190
|
-
export type MilesightCameraSdCardInfo = {
|
|
191
|
-
sdcardStatus: number;
|
|
192
|
-
sdcardDiskStatus: number;
|
|
193
|
-
sdcardFullStatus: number;
|
|
194
|
-
sdcardTotalSize: string;
|
|
195
|
-
sdcardFreeSize: string;
|
|
196
|
-
sdcardUseSize: string;
|
|
197
|
-
sdEncryptStatus: number;
|
|
198
|
-
};
|
|
199
|
-
export type MilesightCameraTimeInfo = {
|
|
200
|
-
year: number;
|
|
201
|
-
month: number;
|
|
202
|
-
day: number;
|
|
203
|
-
hour: number;
|
|
204
|
-
minute: number;
|
|
205
|
-
second: number;
|
|
206
|
-
timeZoneTz: string;
|
|
207
|
-
zoneNameTz: string;
|
|
208
|
-
dayLight: number;
|
|
209
|
-
timeType: number;
|
|
210
|
-
ntpServer: string;
|
|
211
|
-
ntpSyncEnable: number;
|
|
212
|
-
ntpInterval: number;
|
|
213
|
-
};
|
|
214
|
-
export declare enum MilesightCameraCodecId {
|
|
215
|
-
H264 = 0,
|
|
216
|
-
H265 = 3,
|
|
217
|
-
MJpeg1 = 1,
|
|
218
|
-
MJpeg2 = 2
|
|
219
|
-
}
|
|
220
|
-
export declare enum MilesightCameraVbrQualityId {
|
|
221
|
-
Low = 0,
|
|
222
|
-
Medium = 1,
|
|
223
|
-
High = 2
|
|
224
|
-
}
|
|
225
|
-
export declare enum MilesightCameraRateModeId {
|
|
226
|
-
CBR = 0,
|
|
227
|
-
VBR = 1
|
|
228
|
-
}
|