@evercam/api 1.0.0-babd9ee76 → 1.0.0-bc5229297
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/dist/api/api/3dFirebaseApi.d.ts +171 -14
- package/dist/api/api/adminApi.d.ts +68 -58
- package/dist/api/api/aiApi.d.ts +58 -54
- package/dist/api/api/authzApi.d.ts +23 -16
- package/dist/api/api/client/axios.d.ts +1 -1
- package/dist/api/api/client/swr/Swr.d.ts +1 -1
- package/dist/api/api/evercamApi.d.ts +110 -94
- package/dist/api/api/evercamLabsApi.d.ts +4 -5
- package/dist/api/api/exNvrApi.d.ts +1 -1
- package/dist/api/api/ingestApi.d.ts +99 -47
- package/dist/api/api/ptzApi.d.ts +9 -4
- package/dist/api/api/videoWallApi.d.ts +2 -2
- package/dist/api/api/weatherApi.d.ts +2 -2
- package/dist/api/types/360.d.ts +59 -52
- package/dist/api/types/aconex.d.ts +9 -9
- package/dist/api/types/admin.d.ts +51 -0
- package/dist/api/types/analytics.d.ts +84 -58
- package/dist/api/types/anpr.d.ts +19 -2
- package/dist/api/types/auditLogs.d.ts +1 -1
- package/dist/api/types/authz.d.ts +44 -6
- package/dist/api/types/autodesk.d.ts +7 -7
- package/dist/api/types/automation.d.ts +37 -3
- package/dist/api/types/axios.d.ts +11 -6
- package/dist/api/types/bim.d.ts +11 -5
- package/dist/api/types/camera.d.ts +90 -93
- package/dist/api/types/comments.d.ts +4 -8
- package/dist/api/types/company.d.ts +42 -1
- package/dist/api/types/compare.d.ts +20 -5
- package/dist/api/types/connector.d.ts +3 -5
- package/dist/api/types/coolify.d.ts +18 -2
- package/dist/api/types/copilot.d.ts +11 -6
- package/dist/api/types/detections.d.ts +20 -8
- package/dist/api/types/drone.d.ts +92 -3
- package/dist/api/types/gateReport.d.ts +46 -58
- package/dist/api/types/hdd.d.ts +26 -1
- package/dist/api/types/index.d.ts +7 -1
- package/dist/api/types/ingest.d.ts +98 -2
- package/dist/api/types/kit.d.ts +14 -7
- package/dist/api/types/map.d.ts +12 -0
- package/dist/api/types/media.d.ts +2 -1
- package/dist/api/types/notification.d.ts +32 -2
- package/dist/api/types/oauth.d.ts +62 -0
- package/dist/api/types/planner.d.ts +98 -0
- package/dist/api/types/posthog.d.ts +15 -0
- package/dist/api/types/procore.d.ts +13 -6
- package/dist/api/types/progressPhoto.d.ts +6 -2
- package/dist/api/types/project.d.ts +96 -21
- package/dist/api/types/recording.d.ts +5 -4
- package/dist/api/types/recycleBin.d.ts +1 -1
- package/dist/api/types/ring.d.ts +53 -0
- package/dist/api/types/roi.d.ts +2 -2
- package/dist/api/types/router.d.ts +1 -1
- package/dist/api/types/shared.d.ts +29 -4
- package/dist/api/types/shares.d.ts +1 -139
- package/dist/api/types/sim.d.ts +6 -6
- package/dist/api/types/siteAnalytics.d.ts +79 -39
- package/dist/api/types/siteView.d.ts +74 -0
- package/dist/api/types/smartSeach.d.ts +5 -0
- package/dist/api/types/snapshots.d.ts +36 -4
- package/dist/api/types/storageProvider.d.ts +19 -0
- package/dist/api/types/storyblok.d.ts +40 -0
- package/dist/api/types/streaming.d.ts +3 -3
- package/dist/api/types/tag.d.ts +1 -1
- package/dist/api/types/time.d.ts +0 -18
- package/dist/api/types/timelapse.d.ts +12 -5
- package/dist/api/types/user.d.ts +101 -31
- package/dist/api/types/videoWall.d.ts +21 -21
- package/dist/api/types/weather.d.ts +75 -11
- package/dist/api/types/widget.d.ts +71 -12
- package/dist/api/types/xweather.d.ts +4 -4
- package/dist/index.js +1513 -888
- 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/types/components.d.ts +127 -14
- package/dist/shared/types/imagePlayer.d.ts +1 -1
- package/dist/shared/types/index.d.ts +1 -0
- package/dist/shared/types/rbac.d.ts +67 -0
- package/dist/shared/types/timeline.d.ts +2 -1
- package/package.json +2 -2
- package/dist/api/types/storageServers.d.ts +0 -4
|
@@ -1,26 +1,183 @@
|
|
|
1
|
-
import { _360ProjectJsonResponse,
|
|
1
|
+
import { _360Floor, _360FloorId, _360Marker3D, _360Pin, _360ProjectJsonResponse, _360ProjectListItem, _360Scene, _360SceneRoute, _360Walk, Point3D, DroneBimData, DroneImageryPlan, DroneMarker, DroneModel, DroneProjectData, DroneProjectDataPatch, DroneProjectTransform, DroneTag, DroneTransformPatch, ForgeMarker, ForgeProjectData, ForgeView, ItwinProjectData, MapView, PlannerListItem, SitePlan, ProjectExid, SiteViewCameraListItem, SiteViewerType, DroneCameraTransform } from "@evercam/api/types";
|
|
2
2
|
import { AxiosRequestConfig } from "axios";
|
|
3
|
-
export declare const getFirebaseDbApi: () => string
|
|
4
|
-
export declare const getFirebaseStorageUrl: () => string
|
|
5
|
-
export declare const getFirebaseStorageToken: () => string
|
|
3
|
+
export declare const getFirebaseDbApi: () => string;
|
|
4
|
+
export declare const getFirebaseStorageUrl: () => string;
|
|
5
|
+
export declare const getFirebaseStorageToken: () => string;
|
|
6
|
+
export declare const getForgeTokenServerUrl: () => string;
|
|
6
7
|
export declare const _3dFirebaseApi: {
|
|
7
8
|
drone: {
|
|
8
|
-
getProjectInfo(projectExid: ProjectExid): Promise<
|
|
9
|
-
|
|
9
|
+
getProjectInfo(projectExid: ProjectExid): Promise<DroneProjectData>;
|
|
10
|
+
getTransformInfo(projectExid: ProjectExid): Promise<DroneProjectTransform>;
|
|
11
|
+
getProjectTags(projectExid: ProjectExid): Promise<Record<string, DroneTag>>;
|
|
12
|
+
getTags(projectId: ProjectExid): Promise<Record<string, DroneTag>>;
|
|
13
|
+
patchTags({ projectId, tags, }: {
|
|
14
|
+
projectId: ProjectExid;
|
|
15
|
+
tags: Record<string, DroneTag | null>;
|
|
16
|
+
}): Promise<void>;
|
|
17
|
+
saveMarkers({ projectId, markers, }: {
|
|
18
|
+
projectId: ProjectExid;
|
|
19
|
+
markers: Record<string, DroneMarker>;
|
|
20
|
+
}): Promise<void>;
|
|
21
|
+
patchTransform({ projectId, data, }: {
|
|
22
|
+
projectId: ProjectExid;
|
|
23
|
+
data: DroneTransformPatch;
|
|
24
|
+
}): Promise<void>;
|
|
25
|
+
saveTerrainPoints({ projectId, dateId, points, }: {
|
|
26
|
+
projectId: ProjectExid;
|
|
27
|
+
dateId: string;
|
|
28
|
+
points: Point3D[];
|
|
29
|
+
}): Promise<void>;
|
|
30
|
+
patchImageryPlan({ projectId, plan, }: {
|
|
31
|
+
projectId: ProjectExid;
|
|
32
|
+
plan: Record<string, DroneImageryPlan>;
|
|
33
|
+
}): Promise<void>;
|
|
34
|
+
deleteImageryPlan({ projectId, uuid, }: {
|
|
35
|
+
projectId: ProjectExid;
|
|
36
|
+
uuid: string;
|
|
37
|
+
}): Promise<void>;
|
|
38
|
+
saveImageryPlans({ projectId, plans, }: {
|
|
39
|
+
projectId: ProjectExid;
|
|
40
|
+
plans: Record<string, DroneImageryPlan>;
|
|
41
|
+
}): Promise<void>;
|
|
42
|
+
getBlackListIds(projectId: ProjectExid): Promise<string | null>;
|
|
43
|
+
saveBlackListIds({ projectId, ids, }: {
|
|
44
|
+
projectId: ProjectExid;
|
|
45
|
+
ids: string;
|
|
46
|
+
}): Promise<void>;
|
|
47
|
+
saveModel({ projectId, model, }: {
|
|
48
|
+
projectId: ProjectExid;
|
|
49
|
+
model: DroneModel;
|
|
50
|
+
}): Promise<void>;
|
|
51
|
+
saveModels({ projectId, models, }: {
|
|
52
|
+
projectId: ProjectExid;
|
|
53
|
+
models: DroneModel[];
|
|
54
|
+
}): Promise<void>;
|
|
55
|
+
saveBimData({ projectId, data, }: {
|
|
56
|
+
projectId: ProjectExid;
|
|
57
|
+
data: DroneBimData;
|
|
58
|
+
}): Promise<void>;
|
|
59
|
+
getBimTransparencyFlag(projectId: ProjectExid): Promise<boolean | null>;
|
|
60
|
+
saveCameraTransform({ projectId, isScene3D, transform, }: {
|
|
61
|
+
projectId: ProjectExid;
|
|
62
|
+
isScene3D: boolean;
|
|
63
|
+
transform: Record<string, DroneCameraTransform>;
|
|
64
|
+
}): Promise<void>;
|
|
10
65
|
};
|
|
11
66
|
_360: {
|
|
12
67
|
getProjectInfo(projectExid: ProjectExid, params?: {
|
|
13
68
|
config?: AxiosRequestConfig;
|
|
14
69
|
}): Promise<_360ProjectJsonResponse>;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
70
|
+
getProjectsList(): Promise<_360ProjectListItem[]>;
|
|
71
|
+
updateProjectsList(items: Record<string, _360ProjectListItem>): Promise<void>;
|
|
72
|
+
updateProjectsListItem(index: number, data: _360ProjectListItem): Promise<void>;
|
|
73
|
+
deleteProject(projectId: string): Promise<void>;
|
|
74
|
+
updateProjectInfo(projectId: string, data: Partial<_360ProjectJsonResponse>): Promise<void>;
|
|
75
|
+
getDateWalks(projectExid: ProjectExid, dateId: string): Promise<_360Walk>;
|
|
76
|
+
updateFloor(projectExid: ProjectExid, dateId: string, floorIndex: string, body: Partial<_360Floor>): Promise<_360ProjectJsonResponse>;
|
|
77
|
+
getRoute(projectExid: ProjectExid, dateId: string, floorIndex: string): Promise<_360SceneRoute | null>;
|
|
78
|
+
getDates(projectId: ProjectExid): Promise<_360Scene[]>;
|
|
79
|
+
getAerialShotsDates(projectId: ProjectExid): Promise<_360Scene[]>;
|
|
80
|
+
getAerialShotDate(projectId: ProjectExid, dateId: number): Promise<string | null>;
|
|
81
|
+
getFloor({ projectId, dateId, floorId, }: {
|
|
82
|
+
projectId: ProjectExid;
|
|
83
|
+
dateId: number;
|
|
84
|
+
floorId: _360FloorId;
|
|
85
|
+
}): Promise<_360Floor>;
|
|
86
|
+
getAerialShotsFloor({ projectId, dateId, floorId, }: {
|
|
87
|
+
projectId: ProjectExid;
|
|
88
|
+
dateId: number;
|
|
89
|
+
floorId: _360FloorId;
|
|
90
|
+
}): Promise<_360Floor>;
|
|
91
|
+
update3DMarkers({ projectId, dateId, floorId, markers, }: {
|
|
92
|
+
projectId: ProjectExid;
|
|
93
|
+
dateId: number;
|
|
94
|
+
floorId: _360FloorId;
|
|
95
|
+
markers: Record<string, _360Marker3D>;
|
|
96
|
+
}): Promise<void>;
|
|
97
|
+
patchFloor({ projectId, dateId, floorId, data, }: {
|
|
98
|
+
projectId: ProjectExid;
|
|
99
|
+
dateId: number;
|
|
100
|
+
floorId: _360FloorId;
|
|
101
|
+
data: Partial<_360Floor>;
|
|
102
|
+
}): Promise<void>;
|
|
103
|
+
updateFloors({ projectId, dateId, floors, }: {
|
|
104
|
+
projectId: ProjectExid;
|
|
105
|
+
dateId: number;
|
|
106
|
+
floors: _360Scene["floors"];
|
|
107
|
+
}): Promise<void>;
|
|
108
|
+
deleteFloor({ projectId, dateId, floorId, }: {
|
|
109
|
+
projectId: ProjectExid;
|
|
110
|
+
dateId: number;
|
|
111
|
+
floorId: _360FloorId;
|
|
112
|
+
}): Promise<void>;
|
|
113
|
+
updateDates(projectId: ProjectExid, dates: _360Scene[]): Promise<void>;
|
|
114
|
+
deleteDate(projectId: ProjectExid, dateId: number): Promise<void>;
|
|
115
|
+
getPins({ projectId, dateId, floorId, }: {
|
|
116
|
+
projectId: ProjectExid;
|
|
117
|
+
dateId: number;
|
|
118
|
+
floorId: _360FloorId;
|
|
119
|
+
}): Promise<Record<string, _360Pin>>;
|
|
120
|
+
updatePins({ projectId, dateId, floorId, pins, }: {
|
|
121
|
+
projectId: ProjectExid;
|
|
122
|
+
dateId: number;
|
|
123
|
+
floorId: _360FloorId;
|
|
124
|
+
pins: Record<string, _360Pin>;
|
|
125
|
+
}): Promise<void>;
|
|
126
|
+
getGPXText(url: string): Promise<string>;
|
|
127
|
+
updateRoute(projectExid: ProjectExid, dateId: string, floorIndex: string, body: Partial<_360SceneRoute>): Promise<void>;
|
|
128
|
+
updateFeatureFlag(projectID: string, dateID: string, floorID: string, featureFlagName: string, value: boolean): Promise<void>;
|
|
129
|
+
saveSteps(projectID: string, dateID: string, floorID: string, stepsValue: number): Promise<void>;
|
|
130
|
+
updateGPXFile(projectExid: ProjectExid, dateId: string, floorIndex: string, gpxContent: string): Promise<void>;
|
|
131
|
+
getProjectDates(projectId: ProjectExid): Promise<_360Scene[]>;
|
|
132
|
+
getProjectAerialShotsDates(projectId: ProjectExid): Promise<_360Scene[]>;
|
|
133
|
+
getProjectDateFloors({ projectId, dateId, }: {
|
|
134
|
+
projectId: ProjectExid;
|
|
135
|
+
dateId: string | number;
|
|
136
|
+
}): Promise<Record<string, _360Floor>>;
|
|
22
137
|
};
|
|
23
138
|
forge: {
|
|
24
|
-
|
|
139
|
+
getAccessToken(): Promise<{
|
|
140
|
+
access_token: string;
|
|
141
|
+
}>;
|
|
142
|
+
getProjectInfo(projectExid: ProjectExid): Promise<ForgeProjectData | null>;
|
|
143
|
+
getForgeData(projectId: string): Promise<ForgeProjectData | null>;
|
|
144
|
+
saveSavedView(projectId: string, payload: ForgeView): Promise<void>;
|
|
145
|
+
saveMarkers(projectId: string, markers: ForgeMarker[]): Promise<void>;
|
|
146
|
+
};
|
|
147
|
+
itwin: {
|
|
148
|
+
getProjectInfo(projectId: string): Promise<ItwinProjectData | null>;
|
|
149
|
+
clearBimCompare(projectId: string): Promise<void>;
|
|
150
|
+
clearSiteView(projectId: string, modelIndex: number): Promise<void>;
|
|
151
|
+
};
|
|
152
|
+
siteView: {
|
|
153
|
+
getCamerasList(): Promise<SiteViewCameraListItem[]>;
|
|
154
|
+
updateCamerasList(items: Record<string, SiteViewCameraListItem>): Promise<void>;
|
|
155
|
+
updateCamerasListItem(trueIndex: number, item: SiteViewCameraListItem): Promise<void>;
|
|
156
|
+
updateProjectData({ viewerType, projectId, data, subPath, }: {
|
|
157
|
+
viewerType: SiteViewerType;
|
|
158
|
+
projectId: ProjectExid;
|
|
159
|
+
data: ForgeProjectData | ItwinProjectData | DroneProjectDataPatch;
|
|
160
|
+
subPath?: string;
|
|
161
|
+
}): Promise<void>;
|
|
162
|
+
deleteProjectData(viewerType: SiteViewerType, projectId: ProjectExid): Promise<void>;
|
|
163
|
+
readAllData(dbLink: string): Promise<Record<string, unknown>>;
|
|
164
|
+
writeAllData(dbLink: string, data: Record<string, unknown>): Promise<void>;
|
|
165
|
+
};
|
|
166
|
+
map: {
|
|
167
|
+
getMapViews(projectExid: ProjectExid): Promise<MapView[]>;
|
|
168
|
+
updateMapViews(projectExid: ProjectExid, mapViews: Record<string, MapView>): Promise<void>;
|
|
169
|
+
};
|
|
170
|
+
safety: {
|
|
171
|
+
getTPulseLink(projectExid: ProjectExid): Promise<{
|
|
172
|
+
link?: string;
|
|
173
|
+
} | null>;
|
|
174
|
+
updateTPulseLink(projectExid: ProjectExid, link: string): Promise<void>;
|
|
175
|
+
};
|
|
176
|
+
planner: {
|
|
177
|
+
getPlannerList(): Promise<Record<string, PlannerListItem>>;
|
|
178
|
+
getPlannerItem(sitePlanId: string): Promise<PlannerListItem | null>;
|
|
179
|
+
saveSitePlanMetaData(sitePlanId: string, payload: PlannerListItem): Promise<void>;
|
|
180
|
+
getSitePlan(sitePlanId: string): Promise<SitePlan | null>;
|
|
181
|
+
saveSitePlan(sitePlanId: string, payload: SitePlan): Promise<void>;
|
|
25
182
|
};
|
|
26
183
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { FootageCreateUpdatePayload, HDDCreateUpdatePayload, HDDsQueryParams } from "
|
|
2
|
-
import type {
|
|
1
|
+
import { FootageCreateUpdatePayload, HDDCreateUpdatePayload, HDDsQueryParams } from "@evercam/api/types/hdd";
|
|
2
|
+
import type { OAuthClient, OAuthClientWithSecret, AdminCreateOAuthClientPayload, UpdateOAuthClientPayload } from "@evercam/api/types/oauth";
|
|
3
|
+
import type { CamerasResponsePayload, CameraUpdateRequestPayload, PaginatedItems, AdminCamera, AdminProjectDetail, AdminProjectListItem, AdminHdd, AdminUser, ProgressPhotosCreateUpdateRequestPayload, Kit, PatchPayload, StorageProvidersResponsePayload, MediaFilterQueryParams, Media, MediaDeleteRequestPayload, AuditLogsParams, AuditLog, SnapshotExtractionQyeryParams, SnapshotExtraction, CameraCreateRequestPayload, CameraDeletePayload, SnapshotTestPayload, SnapshotTestResponse, DuplicatedCameraFields, DuplicatedCameraResponse, MergeDuplicatedCameraPayload, FetchCameraQueryParams, DeleteSnapshotQueryParams, SaveNotePayload, CameraNote, CreateCameraNotePayload, CompanyQueryParams, CompanySummary, CompanyUpdatePayload, SsoProvider, SsoUpdatePayload, SsoCreatePayload, SuppressionsQueryParams, Suppression, SnapshotExtractionType, KitQueryParams, KitCreatePayload, AdminKit, KitMetricStatsEntry, CameraLogsQueryParams, CameraLog, CameraAuditLogsQueryParams, CameraAuditLog, NvrQueryParams, Nvr, SiteVisitCamerasQueryParams, OfflineCameraQueryParams, OfflineCamera, OfflineCameraNoteResponse, UserStatsResponse, UserCameraResponse, UserProjectResponse, ProjectUsers, ProjectCamera, ProjectsQueryParams, ProjectStatusStats, ProjectCreateRequestPayload, ProjectCreateResponse, ProjectUpdateRequestPayload, RouterQueryParams, Router, RouterCreatePayload, GlobalSearchQueryParams, SimCreateUpdatePayload, SimsQueryParams, Sim, SendSmsPayload, SendSmsResponse, SmsHistoryResponse, SmsQueryParams, Sms, ProgressPhotosQueryParams, ProgressPhotoItem, progressPhotosHistoryQueryParams, ProgressPhotosHistory, AdminUserUpdateRequestPayload, AdminQueryParams, Admin, ImpersonateUserResponse, AdminUserQueryParams, AdminCompareQueryParams, AdminCompare, NvrCreatePayload, WidgetsListRequestPayload, AdminWidget, AdminWidgetFull, WidgetPayload, PaginationParams, KitStorageRequestPayload, AdminCompanyUser, AdminCompanyProject, CompanyKit, CompanyCameraSummary, Automation, KitStorage, KitFootageRequestPayload, CommentsListRequestPayload, Comment, KitFootage, KitAlarmItem, RecycleBin, RecycleBinQueryParams, TransferCloudRecordingsQueryParams, SnapshotTransfer, CheckCameraPortPayload, CameraStatusLog, KitBox, KitBoxCreatePayload, KitBoxQueryParams, AdminInvite, AdminSearchItem, WithZohoParams, ZohoDeskTicketSearchResponse, JsonObject, ProjectStorageQueryParams, ProjectStorage, StorageProvider } from "@evercam/api/types";
|
|
3
4
|
import { KitMetricId } from "@evercam/api/types";
|
|
4
|
-
import { Tag } from "
|
|
5
|
+
import { Tag } from "@evercam/api/types/tag";
|
|
5
6
|
import type { AxiosRequestConfig } from "axios";
|
|
6
7
|
type AxiosPaginationRequestParams = AxiosRequestConfig & {
|
|
7
8
|
params: PaginationParams;
|
|
@@ -30,8 +31,12 @@ export declare const AdminApi: {
|
|
|
30
31
|
focusCamera(cameraId: string, device: string): Promise<{
|
|
31
32
|
message: string;
|
|
32
33
|
}>;
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
getStorageProviders(cameraId: string, params?: AxiosRequestConfig & {
|
|
35
|
+
unmaskSecretKeys: boolean;
|
|
36
|
+
}): Promise<StorageProvidersResponsePayload>;
|
|
37
|
+
createStorageProvider(cameraId: string, payload: StorageProvider): Promise<StorageProvidersResponsePayload>;
|
|
38
|
+
updateStorageProvider(cameraId: string, providerId: number, payload: StorageProvider): Promise<StorageProvidersResponsePayload>;
|
|
39
|
+
getStorageDetails(): Promise<JsonObject>;
|
|
35
40
|
getSnapshotExtractions(params: AxiosRequestConfig & {
|
|
36
41
|
params: Partial<SnapshotExtractionQyeryParams>;
|
|
37
42
|
}): Promise<PaginatedItems<SnapshotExtraction>>;
|
|
@@ -81,14 +86,16 @@ export declare const AdminApi: {
|
|
|
81
86
|
}>;
|
|
82
87
|
};
|
|
83
88
|
companies: {
|
|
84
|
-
show(id: string,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
+
show(id: string, config?: AxiosRequestConfig & {
|
|
90
|
+
params?: WithZohoParams;
|
|
91
|
+
}): Promise<CompanySummary>;
|
|
92
|
+
getCompanyUsers(id: string, params: AxiosPaginationRequestParams): Promise<PaginatedItems<AdminCompanyUser>>;
|
|
93
|
+
getCompanyProjects(id: string, params: AxiosPaginationRequestParams): Promise<PaginatedItems<AdminCompanyProject>>;
|
|
94
|
+
getCompanyKits(id: string, params: AxiosPaginationRequestParams): Promise<PaginatedItems<CompanyKit>>;
|
|
95
|
+
getCompanyCameras(id: string, params: AxiosPaginationRequestParams): Promise<PaginatedItems<CompanyCameraSummary>>;
|
|
89
96
|
getCompanies(params: {
|
|
90
97
|
params: Partial<CompanyQueryParams>;
|
|
91
|
-
}): Promise<PaginatedItems<
|
|
98
|
+
}): Promise<PaginatedItems<CompanySummary>>;
|
|
92
99
|
updateCompany(id: string, params: CompanyUpdatePayload): Promise<Omit<CompanyUpdatePayload, "linkedinUrl">>;
|
|
93
100
|
deleteCompany(params: {
|
|
94
101
|
ids: string | string[];
|
|
@@ -111,15 +118,25 @@ export declare const AdminApi: {
|
|
|
111
118
|
success: true;
|
|
112
119
|
}>;
|
|
113
120
|
};
|
|
121
|
+
oauthClients: {
|
|
122
|
+
index(): Promise<{
|
|
123
|
+
items: OAuthClient[];
|
|
124
|
+
}>;
|
|
125
|
+
show(id: number): Promise<OAuthClient>;
|
|
126
|
+
create(payload: AdminCreateOAuthClientPayload): Promise<OAuthClientWithSecret>;
|
|
127
|
+
update(id: number, payload: UpdateOAuthClientPayload): Promise<OAuthClient>;
|
|
128
|
+
delete(id: number): Promise<void>;
|
|
129
|
+
regenerateSecret(id: number): Promise<OAuthClientWithSecret>;
|
|
130
|
+
};
|
|
114
131
|
emailing: {
|
|
115
|
-
performEmailing(template: string, params:
|
|
132
|
+
performEmailing(template: string, params: JsonObject): Promise<void>;
|
|
116
133
|
suppressions(params: {
|
|
117
134
|
params: SuppressionsQueryParams;
|
|
118
135
|
}): Promise<PaginatedItems<Suppression[]>>;
|
|
119
136
|
deleteSuppression(id: number): Promise<void>;
|
|
120
137
|
};
|
|
121
138
|
extractions: {
|
|
122
|
-
updateCloudRecordings(cameraId: string, params:
|
|
139
|
+
updateCloudRecordings(cameraId: string, params: JsonObject): Promise<void>;
|
|
123
140
|
addExtraction(cameraId: string, params: SnapshotExtractionQyeryParams): Promise<PaginatedItems<SnapshotExtraction>>;
|
|
124
141
|
getExtractionStatus(cameraId: string, extractionId: number, params: {
|
|
125
142
|
type: SnapshotExtractionType;
|
|
@@ -138,13 +155,13 @@ export declare const AdminApi: {
|
|
|
138
155
|
getKit(kitId: number): Promise<Kit>;
|
|
139
156
|
createKit(params: KitCreatePayload): Promise<AdminKit>;
|
|
140
157
|
updateKit(id: string, params: PatchPayload<Kit>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
141
|
-
deleteKit(id: string, params:
|
|
158
|
+
deleteKit(id: string, params: JsonObject): Promise<void>;
|
|
142
159
|
getKitStats({ kitId, metric, fromDate, toDate, }: {
|
|
143
160
|
kitId: number;
|
|
144
161
|
metric: KitMetricId;
|
|
145
162
|
fromDate: string;
|
|
146
163
|
toDate: string;
|
|
147
|
-
}): Promise<
|
|
164
|
+
}): Promise<KitMetricStatsEntry[]>;
|
|
148
165
|
attachTag(kitId: number, tagId: number): Promise<void>;
|
|
149
166
|
detachTag(kitId: number, tagId: number): Promise<void>;
|
|
150
167
|
getStorages(params: {
|
|
@@ -158,6 +175,7 @@ export declare const AdminApi: {
|
|
|
158
175
|
params: Partial<KitBoxQueryParams>;
|
|
159
176
|
}): Promise<PaginatedItems<KitBox>>;
|
|
160
177
|
createBox(params: KitBoxCreatePayload): Promise<KitBox>;
|
|
178
|
+
updateBox(id: string, params: KitBoxCreatePayload): Promise<KitBox>;
|
|
161
179
|
};
|
|
162
180
|
logs: {
|
|
163
181
|
getAllCamerasStatusLogs(params: {
|
|
@@ -172,8 +190,8 @@ export declare const AdminApi: {
|
|
|
172
190
|
getNvrs(params: {
|
|
173
191
|
params: NvrQueryParams;
|
|
174
192
|
}): Promise<PaginatedItems<Nvr[]>>;
|
|
175
|
-
createNvr(params: NvrCreatePayload): Promise<
|
|
176
|
-
updateNvr(id: string, params: PatchPayload<Nvr>): Promise<
|
|
193
|
+
createNvr(params: NvrCreatePayload): Promise<Nvr>;
|
|
194
|
+
updateNvr(id: string, params: PatchPayload<Nvr>): Promise<Nvr>;
|
|
177
195
|
rebootNVR(cameraId: string): Promise<{
|
|
178
196
|
message: string;
|
|
179
197
|
}>;
|
|
@@ -202,9 +220,9 @@ export declare const AdminApi: {
|
|
|
202
220
|
projects: {
|
|
203
221
|
index(params: {
|
|
204
222
|
params: Partial<ProjectsQueryParams>;
|
|
205
|
-
}): Promise<PaginatedItems<
|
|
206
|
-
show(exid: string, params?:
|
|
207
|
-
data:
|
|
223
|
+
}): Promise<PaginatedItems<AdminProjectListItem>>;
|
|
224
|
+
show(exid: string, params?: WithZohoParams): Promise<{
|
|
225
|
+
data: AdminProjectDetail;
|
|
208
226
|
}>;
|
|
209
227
|
getUsers(id: string): Promise<ProjectUsers>;
|
|
210
228
|
getCameras(id: string): Promise<{
|
|
@@ -219,6 +237,12 @@ export declare const AdminApi: {
|
|
|
219
237
|
addToProject(projectExid: string, params: {
|
|
220
238
|
cameraExids: string[];
|
|
221
239
|
}): Promise<void>;
|
|
240
|
+
getProjectStorages(params: {
|
|
241
|
+
params: Partial<ProjectStorageQueryParams>;
|
|
242
|
+
}): Promise<PaginatedItems<ProjectStorage[]>>;
|
|
243
|
+
retryProjectStorage(id: number): Promise<{
|
|
244
|
+
message: string;
|
|
245
|
+
}>;
|
|
222
246
|
};
|
|
223
247
|
routers: {
|
|
224
248
|
getRouters(params: {
|
|
@@ -237,45 +261,25 @@ export declare const AdminApi: {
|
|
|
237
261
|
search: {
|
|
238
262
|
search(params: {
|
|
239
263
|
params: GlobalSearchQueryParams;
|
|
240
|
-
}): Promise<PaginatedItems<
|
|
264
|
+
}): Promise<PaginatedItems<AdminSearchItem>>;
|
|
241
265
|
};
|
|
242
266
|
hdds: {
|
|
243
267
|
getHdds(payload: {
|
|
244
268
|
projectId: string;
|
|
245
269
|
companyId: string;
|
|
246
|
-
}): Promise<
|
|
270
|
+
}): Promise<AdminHdd[]>;
|
|
247
271
|
getAllHdds(params: {
|
|
248
272
|
params: Partial<HDDsQueryParams>;
|
|
249
|
-
}): Promise<
|
|
250
|
-
deleteHdd(hddId: number): Promise<
|
|
251
|
-
saveHdd(params: HDDCreateUpdatePayload): Promise<
|
|
252
|
-
updateHdd(hddId: number, params: HDDCreateUpdatePayload): Promise<
|
|
253
|
-
saveFootage(hddId: number, params: FootageCreateUpdatePayload): Promise<
|
|
254
|
-
deleteFootage(hddId: number, footageId: number): Promise<
|
|
255
|
-
updateFootage(hddId: number, footageId: number, params: FootageCreateUpdatePayload): Promise<
|
|
256
|
-
};
|
|
257
|
-
shareRequests: {
|
|
258
|
-
getShareRequests(params: {
|
|
259
|
-
params: Partial<CameraShareRequestsQueryParams>;
|
|
260
|
-
}): Promise<PaginatedItems<CameraShareRequest[]>>;
|
|
261
|
-
deleteShareRequest(params: {
|
|
262
|
-
ids: number[];
|
|
263
|
-
}): Promise<{
|
|
264
|
-
success: boolean;
|
|
265
|
-
}>;
|
|
266
|
-
updateShareRequestStatus(params: {
|
|
267
|
-
ids: number[];
|
|
268
|
-
status: string;
|
|
269
|
-
}): Promise<{
|
|
270
|
-
success: boolean;
|
|
271
|
-
}>;
|
|
273
|
+
}): Promise<PaginatedItems<AdminHdd>>;
|
|
274
|
+
deleteHdd(hddId: number): Promise<void>;
|
|
275
|
+
saveHdd(params: HDDCreateUpdatePayload): Promise<void>;
|
|
276
|
+
updateHdd(hddId: number, params: HDDCreateUpdatePayload): Promise<void>;
|
|
277
|
+
saveFootage(hddId: number, params: FootageCreateUpdatePayload): Promise<void>;
|
|
278
|
+
deleteFootage(hddId: number, footageId: number): Promise<void>;
|
|
279
|
+
updateFootage(hddId: number, footageId: number, params: FootageCreateUpdatePayload): Promise<void>;
|
|
272
280
|
};
|
|
273
281
|
shares: {
|
|
274
|
-
getInvites(params:
|
|
275
|
-
getShares(params: {
|
|
276
|
-
params: Partial<ShareQueryParams>;
|
|
277
|
-
}): Promise<PaginatedItems<AdminShare[]>>;
|
|
278
|
-
deleteShares(ids: number[]): Promise<void>;
|
|
282
|
+
getInvites(params: AxiosPaginationRequestParams): Promise<PaginatedItems<AdminInvite>>;
|
|
279
283
|
};
|
|
280
284
|
sims: {
|
|
281
285
|
deleteSim(simId: number): Promise<{
|
|
@@ -284,14 +288,14 @@ export declare const AdminApi: {
|
|
|
284
288
|
createSim(params: Omit<SimCreateUpdatePayload, "cameraId">): Promise<{
|
|
285
289
|
success: boolean;
|
|
286
290
|
}>;
|
|
287
|
-
updateSim(simId: number, params:
|
|
291
|
+
updateSim(simId: number, params: SimCreateUpdatePayload): Promise<{
|
|
288
292
|
success: boolean;
|
|
289
293
|
}>;
|
|
290
294
|
getSims(params: {
|
|
291
295
|
params: Partial<SimsQueryParams>;
|
|
292
296
|
}): Promise<PaginatedItems<Sim[]>>;
|
|
293
|
-
getSimProviders(): Promise<
|
|
294
|
-
getBillPayers(): Promise<
|
|
297
|
+
getSimProviders(): Promise<string[]>;
|
|
298
|
+
getBillPayers(): Promise<string[]>;
|
|
295
299
|
};
|
|
296
300
|
sms: {
|
|
297
301
|
sendSms(number: string, params: SendSmsPayload): Promise<SendSmsResponse>;
|
|
@@ -340,7 +344,7 @@ export declare const AdminApi: {
|
|
|
340
344
|
getUsers(params: {
|
|
341
345
|
params: Partial<AdminUserQueryParams>;
|
|
342
346
|
}): Promise<PaginatedItems<AdminUser>>;
|
|
343
|
-
show(id: number, params
|
|
347
|
+
show(id: number, params?: WithZohoParams): Promise<UserStatsResponse>;
|
|
344
348
|
getProjects(id: number): Promise<UserProjectResponse>;
|
|
345
349
|
getCameras(id: number): Promise<UserCameraResponse>;
|
|
346
350
|
getUserPasswordResetLink(email: string): Promise<{
|
|
@@ -350,18 +354,24 @@ export declare const AdminApi: {
|
|
|
350
354
|
widgets: {
|
|
351
355
|
index(params: {
|
|
352
356
|
params: Partial<WidgetsListRequestPayload>;
|
|
353
|
-
}): Promise<PaginatedItems<
|
|
354
|
-
show(id: number): Promise<
|
|
355
|
-
update(id: number, payload: WidgetPayload): Promise<
|
|
357
|
+
}): Promise<PaginatedItems<AdminWidget>>;
|
|
358
|
+
show(id: number): Promise<AdminWidgetFull>;
|
|
359
|
+
update(id: number, payload: WidgetPayload): Promise<AdminWidgetFull>;
|
|
356
360
|
delete(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
357
361
|
};
|
|
358
362
|
zohoDesk: {
|
|
359
|
-
searchTickets(params:
|
|
363
|
+
searchTickets(params: JsonObject): Promise<ZohoDeskTicketSearchResponse>;
|
|
360
364
|
};
|
|
361
365
|
comments: {
|
|
362
366
|
index(params: {
|
|
363
367
|
params: Partial<CommentsListRequestPayload>;
|
|
364
368
|
}): Promise<PaginatedItems<Comment>>;
|
|
365
369
|
};
|
|
370
|
+
snapshotTransfers: {
|
|
371
|
+
index(params: AxiosRequestConfig & {
|
|
372
|
+
params: Partial<TransferCloudRecordingsQueryParams>;
|
|
373
|
+
}): Promise<PaginatedItems<SnapshotTransfer>>;
|
|
374
|
+
cancel(id: number): Promise<SnapshotTransfer>;
|
|
375
|
+
};
|
|
366
376
|
};
|
|
367
377
|
export {};
|
package/dist/api/api/aiApi.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { AnprQueryParams, AnprEvent, EventCountRequestPayload, EventCountResponsePayload, EventsExportRequestParameters, GateReportROI, PaginatedItems, GateReportVerifiedDay, ProjectExid, CameraExid, AnprCountsQueryParams, AnprCount, AnprBasedGateReportExportRequestParams, GateReportResponsePayload, GatReportRequestPayload, VerifiedDaysQueryParams, VerifyDayUpdateRequestPayload, ProcessedDaysQueryParams,
|
|
1
|
+
import { AnprQueryParams, AnprEvent, EventCountRequestPayload, EventCountResponsePayload, EventsExportRequestParameters, GateReportROI, PaginatedItems, GateReportVerifiedDay, ProjectExid, CameraExid, AnprCountsQueryParams, AnprCount, AnprBasedGateReportExportRequestParams, GateReportResponsePayload, GatReportRequestPayload, VerifiedDaysQueryParams, VerifyDayUpdateRequestPayload, ProcessedDaysQueryParams, RoisQueryParams, GateReportRoiRequestPayload, SegmentsSimilaritySearchParams, DetectionsFilters, TrackingsByLabel, SegmentsByLabel, DetectionsCountsParams, DetectionsPresenceByLabel, SmartSearchBackendQueryPayload, SavedQuery, DateType, DetectionsRequestParams, DetectionsGroup, DetectionsCountsByPeriod, DetectionsExportRequestParams, SegmentsFilters, DownloadFileType, SmartSearchBackendQuery, SmartSearchHeatmapData, SmartSearchOperatorType, DetectionLabel, SmartSearchResponse, SmartSearchRequestPayload, LegacyAnprExportParams, AnprBulkUpdateRequestPayload, AnprUpdateRequestPayload, SmartSearchQueriesRequestPayload, _360FloorId, CreateCoolifyAppRequestPayload, RegisterCoolifyAppResponsePayload, SaveCoolifyAppRequestPayload, SegmentsCountsParams, SegmentsPresenceResponse } from "@evercam/api/types";
|
|
2
2
|
import type { AxiosPromise, AxiosRequestConfig } from "axios";
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
3
|
+
export declare const getAiApiUrl: () => string;
|
|
4
|
+
export declare const getAiApiUrlV2: () => string;
|
|
5
5
|
export declare const AiApi: {
|
|
6
6
|
anpr: {
|
|
7
|
-
exportAnprLegacyEvents(projectExid: ProjectExid, params:
|
|
7
|
+
exportAnprLegacyEvents(projectExid: ProjectExid, params: LegacyAnprExportParams): AxiosPromise<any>;
|
|
8
8
|
getAnprEvents(projectExid: ProjectExid, params: AnprQueryParams, extraParams?: AxiosRequestConfig): Promise<PaginatedItems<AnprEvent>>;
|
|
9
9
|
getAnprCounts(projectExid: ProjectExid, payload: AnprCountsQueryParams, extraParams?: AxiosRequestConfig): Promise<AnprCount[]>;
|
|
10
|
-
updateAnprEvent(anprEventId: string,
|
|
11
|
-
bulkUpdateAnprRecords(
|
|
10
|
+
updateAnprEvent(anprEventId: string, payload: AnprUpdateRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
11
|
+
bulkUpdateAnprRecords(payload: AnprBulkUpdateRequestPayload): Promise<void>;
|
|
12
12
|
exportAnprEvents(projectExid: string, params: AnprBasedGateReportExportRequestParams): AxiosPromise<string>;
|
|
13
13
|
};
|
|
14
14
|
gateReport: {
|
|
@@ -16,30 +16,24 @@ export declare const AiApi: {
|
|
|
16
16
|
exportEventsProgress(projectExid: string, params: {
|
|
17
17
|
exportDate: string;
|
|
18
18
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
19
|
-
generateAnprThumbnail(cameraExid: CameraExid, captureTime:
|
|
19
|
+
generateAnprThumbnail(cameraExid: CameraExid, captureTime: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
20
20
|
getVerifiedDays(projectExid: ProjectExid, params: Partial<VerifiedDaysQueryParams>, extraParams?: {}): Promise<PaginatedItems<GateReportVerifiedDay>>;
|
|
21
21
|
verifyDay(params: VerifyDayUpdateRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
22
|
-
getDailyStatus(projectExid: string, params?: Partial<ProcessedDaysQueryParams>): Promise<
|
|
23
|
-
getEventThumbnail({ cameraExid, eventType, eventTime, token, }: {
|
|
24
|
-
cameraExid: string;
|
|
25
|
-
eventType: GateReportEventType;
|
|
26
|
-
eventTime: DateTime;
|
|
27
|
-
token: string;
|
|
28
|
-
}): string;
|
|
22
|
+
getDailyStatus(projectExid: string, params?: Partial<ProcessedDaysQueryParams>): Promise<string[]>;
|
|
29
23
|
getEvents(projectExid: ProjectExid, params: GatReportRequestPayload, extraParams?: AxiosRequestConfig): Promise<GateReportResponsePayload>;
|
|
30
24
|
getCounts(projectExid: string, payload?: EventCountRequestPayload, extraParams?: AxiosRequestConfig): Promise<EventCountResponsePayload>;
|
|
31
25
|
getGateReportProjectsInfos(params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
32
26
|
};
|
|
33
27
|
brainTool: {
|
|
34
28
|
getObjectDetectionsResults(payload?: {}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
35
|
-
getSegments(payload?: {}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
36
29
|
};
|
|
37
30
|
roi: {
|
|
38
31
|
getROIs(projectExid: string, params?: Partial<RoisQueryParams>): Promise<GateReportROI[]>;
|
|
39
|
-
createROI(params:
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
32
|
+
createROI(params: Omit<GateReportRoiRequestPayload, "id"> & {
|
|
33
|
+
createdBy?: string;
|
|
34
|
+
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
35
|
+
updateROI({ updatedBy, id, ...params }: Partial<GateReportRoiRequestPayload> & {
|
|
36
|
+
updatedBy?: string;
|
|
43
37
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
44
38
|
deleteROI({ id, updatedBy }: {
|
|
45
39
|
id: number;
|
|
@@ -47,60 +41,70 @@ export declare const AiApi: {
|
|
|
47
41
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
48
42
|
};
|
|
49
43
|
detections: {
|
|
50
|
-
|
|
51
|
-
getDetectionsCounts({ projectExid, ...params }: DetectionsRequestParams, extraParams?: AxiosRequestConfig): Promise<DetectionsCountsByPeriod>;
|
|
44
|
+
getDetectionsCounts({ projectExid, ...params }: Partial<DetectionsRequestParams>, extraParams?: AxiosRequestConfig): Promise<DetectionsCountsByPeriod>;
|
|
52
45
|
getDetectionsByTimestamp({ projectExid, ...params }: DetectionsRequestParams, extraParams?: AxiosRequestConfig): Promise<PaginatedItems<DetectionsGroup>>;
|
|
53
46
|
getSimilarSegmentsInTimeIntervals({ cameraExid, iouThreshold, ...params }: SegmentsSimilaritySearchParams): Promise<import("axios").AxiosResponse<any, any>>;
|
|
54
|
-
|
|
55
|
-
getSegmentsMasks(cameraExid: CameraExid, params: SegmentsFilters): Promise<
|
|
47
|
+
getGroupedTrackings(projectExid: ProjectExid, params: DetectionsFilters): Promise<TrackingsByLabel>;
|
|
48
|
+
getSegmentsMasks(cameraExid: CameraExid, params: SegmentsFilters): Promise<{
|
|
49
|
+
segments: SegmentsByLabel;
|
|
50
|
+
}>;
|
|
51
|
+
getSegmentsPresenceDateIntervals({ cameraExid, ...params }: SegmentsCountsParams): Promise<SegmentsPresenceResponse>;
|
|
56
52
|
getDetectionsPresenceDateIntervals({ projectExid, ...params }: DetectionsCountsParams): Promise<DetectionsPresenceByLabel>;
|
|
57
53
|
requestExport({ projectExid, ...params }: DetectionsExportRequestParams): Promise<import("axios").AxiosResponse<any, any>>;
|
|
58
54
|
};
|
|
59
55
|
siteAnalytics: {
|
|
60
|
-
smartSearch({ cameraExid, payload, fromDate, toDate, page, pageSize, }: {
|
|
61
|
-
cameraExid: CameraExid;
|
|
62
|
-
payload: SmartSearchBackendQuery;
|
|
63
|
-
fromDate: string;
|
|
64
|
-
toDate: string;
|
|
65
|
-
page?: number;
|
|
66
|
-
pageSize?: number;
|
|
67
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
68
56
|
smartSearchAll(projectExid: ProjectExid, params: SmartSearchRequestPayload): Promise<SmartSearchResponse>;
|
|
69
57
|
smartSearchFirstLastSeen(projectExid: ProjectExid, params: SmartSearchRequestPayload): Promise<SmartSearchResponse>;
|
|
70
|
-
saveQuery(payload
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
58
|
+
saveQuery({ projectExid, cameraExid, payload, }: {
|
|
59
|
+
projectExid: ProjectExid;
|
|
60
|
+
cameraExid: CameraExid | _360FloorId;
|
|
61
|
+
payload: SmartSearchBackendQueryPayload;
|
|
62
|
+
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
63
|
+
getQueries(projectExid: ProjectExid, params: SmartSearchQueriesRequestPayload): Promise<SavedQuery[]>;
|
|
64
|
+
getQueryById(projectExid: ProjectExid, cameraExid: CameraExid, queryId: number): Promise<SmartSearchBackendQueryPayload>;
|
|
65
|
+
updateQuery({ projectExid, cameraExid, queryId, payload, }: {
|
|
66
|
+
projectExid: ProjectExid;
|
|
67
|
+
cameraExid: CameraExid;
|
|
68
|
+
queryId: number;
|
|
69
|
+
payload: Partial<SavedQuery>;
|
|
70
|
+
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
71
|
+
deleteQuery({ projectExid, cameraExid, queryId, }: {
|
|
72
|
+
projectExid: ProjectExid;
|
|
78
73
|
cameraExid: CameraExid;
|
|
74
|
+
queryId: number;
|
|
75
|
+
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
76
|
+
exportResultsData({ projectExid, cameraExids, fromDate, toDate, query, fileType, directDownload, payload, limit, page, }: {
|
|
77
|
+
projectExid: ProjectExid;
|
|
78
|
+
cameraExids: CameraExid[];
|
|
79
79
|
fromDate?: DateType;
|
|
80
80
|
toDate?: DateType;
|
|
81
81
|
query: string;
|
|
82
82
|
fileType: DownloadFileType;
|
|
83
83
|
directDownload?: boolean;
|
|
84
|
-
payload:
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
toDate: DateType | string;
|
|
84
|
+
payload: SmartSearchBackendQuery;
|
|
85
|
+
limit: number;
|
|
86
|
+
page: number;
|
|
87
|
+
}): Promise<any>;
|
|
88
|
+
getDetectionsHeatmapData(projectExid: ProjectExid, params: {
|
|
89
|
+
cameraExid: CameraExid;
|
|
90
|
+
fromDate: DateType | string | null;
|
|
91
|
+
toDate: DateType | string | null;
|
|
93
92
|
labels: DetectionLabel[];
|
|
94
93
|
operator?: SmartSearchOperatorType;
|
|
95
|
-
}): Promise<
|
|
96
|
-
results: SmartSearchHeatmapData[];
|
|
97
|
-
sqlQuery: string;
|
|
98
|
-
}>;
|
|
94
|
+
}): Promise<SmartSearchHeatmapData[]>;
|
|
99
95
|
};
|
|
100
96
|
coolify: {
|
|
101
97
|
getCoolifyServers(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
102
|
-
createAppOnCoolify(payload
|
|
103
|
-
|
|
98
|
+
createAppOnCoolify({ projectExid, cameraExid, payload, }: {
|
|
99
|
+
projectExid: ProjectExid;
|
|
100
|
+
cameraExid: CameraExid;
|
|
101
|
+
payload: CreateCoolifyAppRequestPayload;
|
|
102
|
+
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
103
|
+
registerCoolifyApp({ projectExid, cameraExid, payload, }: {
|
|
104
|
+
projectExid: ProjectExid;
|
|
105
|
+
cameraExid: CameraExid;
|
|
106
|
+
payload: SaveCoolifyAppRequestPayload;
|
|
107
|
+
}): Promise<RegisterCoolifyAppResponsePayload>;
|
|
104
108
|
updateApp({ appUuid, appId, payload, cameraExid, projectExid, }: {
|
|
105
109
|
projectExid: string;
|
|
106
110
|
cameraExid: string;
|