@evercam/api 1.0.0-9967cde88 → 1.0.0-9c3cd2ae7
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 +4 -0
- package/dist/api/api/3dFirebaseApi.d.ts +216 -0
- package/dist/api/api/adminApi.d.ts +381 -0
- package/dist/api/api/aiApi.d.ts +186 -0
- package/dist/api/api/authzApi.d.ts +40 -0
- package/dist/api/{client → api/client}/axios.d.ts +2 -1
- package/dist/api/api/client/swr/Swr.d.ts +14 -0
- package/dist/api/api/client/swr/SwrStore.d.ts +10 -0
- package/dist/api/api/evercamApi.d.ts +358 -0
- package/dist/api/{evercamLabsApi.d.ts → api/evercamLabsApi.d.ts} +9 -6
- 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 +158 -0
- package/dist/api/{ptzApi.d.ts → api/ptzApi.d.ts} +12 -3
- package/dist/api/api/videoWallApi.d.ts +9 -0
- package/dist/api/{weatherApi.d.ts → api/weatherApi.d.ts} +2 -2
- package/dist/api/index.d.ts +3 -13
- package/dist/api/types/360.d.ts +419 -0
- package/dist/api/types/aconex.d.ts +143 -0
- package/dist/api/types/admin.d.ts +51 -0
- package/dist/api/types/aiConfigs.d.ts +154 -0
- package/dist/{types → api/types}/analytics.d.ts +202 -39
- package/dist/{types → api/types}/anpr.d.ts +55 -13
- package/dist/{types → api/types}/auditLogs.d.ts +19 -1
- package/dist/api/types/authz.d.ts +107 -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 +31 -7
- package/dist/{types → api/types}/bim.d.ts +37 -6
- package/dist/{types → api/types}/camera.d.ts +112 -94
- package/dist/{types → api/types}/comments.d.ts +26 -11
- 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 +5 -5
- package/dist/api/types/coolify.d.ts +36 -0
- package/dist/{types → api/types}/copilot.d.ts +11 -6
- package/dist/{types → api/types}/countries.d.ts +0 -7
- package/dist/{types → api/types}/credentials.d.ts +1 -0
- package/dist/{types → api/types}/detections.d.ts +23 -33
- package/dist/api/types/drone.d.ts +107 -0
- package/dist/{types → api/types}/errors.d.ts +12 -0
- package/dist/{types → api/types}/gateReport.d.ts +50 -158
- package/dist/api/types/gateReportManagement.d.ts +175 -0
- package/dist/api/types/hammertech.d.ts +98 -0
- package/dist/{types → api/types}/hdd.d.ts +26 -1
- package/dist/{types → api/types}/index.d.ts +17 -1
- package/dist/api/types/ingest.d.ts +159 -0
- package/dist/{types → api/types}/kit.d.ts +101 -10
- package/dist/api/types/map.d.ts +16 -0
- package/dist/{types → api/types}/media.d.ts +10 -3
- package/dist/api/types/notification.d.ts +67 -0
- package/dist/api/types/oauth.d.ts +62 -0
- package/dist/api/types/observations.d.ts +85 -0
- package/dist/api/types/planner.d.ts +132 -0
- package/dist/api/types/posthog.d.ts +53 -0
- package/dist/{types → api/types}/procore.d.ts +26 -16
- package/dist/{types → api/types}/progressPhoto.d.ts +11 -23
- package/dist/api/types/project.d.ts +247 -0
- package/dist/{types → api/types}/recording.d.ts +9 -12
- 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 +4 -3
- package/dist/{types → api/types}/routeParams.d.ts +5 -2
- package/dist/{types → api/types}/router.d.ts +20 -1
- package/dist/{types → api/types}/shared.d.ts +31 -10
- package/dist/api/types/shares.d.ts +58 -0
- package/dist/{types → api/types}/sim.d.ts +6 -6
- package/dist/api/types/siteAnalytics.d.ts +287 -0
- package/dist/api/types/siteAnalyticsManagement.d.ts +92 -0
- package/dist/api/types/siteView.d.ts +73 -0
- package/dist/api/types/smartSeach.d.ts +5 -0
- package/dist/api/types/snapshots.d.ts +104 -0
- package/dist/api/types/socket.d.ts +4 -0
- package/dist/api/types/sso.d.ts +55 -0
- package/dist/api/types/storageProvider.d.ts +19 -0
- package/dist/api/types/storyblok.d.ts +40 -0
- package/dist/{types → api/types}/streaming.d.ts +4 -5
- package/dist/{types → api/types}/tag.d.ts +1 -1
- package/dist/api/types/time.d.ts +7 -0
- package/dist/{types → api/types}/timelapse.d.ts +8 -5
- package/dist/{types → api/types}/user.d.ts +106 -40
- package/dist/api/types/videoWall.d.ts +66 -0
- package/dist/api/types/weather.d.ts +153 -0
- package/dist/{types → api/types}/widget.d.ts +96 -16
- package/dist/{types → api/types}/xweather.d.ts +4 -4
- package/dist/index.d.ts +2 -3
- package/dist/index.js +2535 -996
- 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 +374 -0
- package/dist/shared/types/customDataTableFilters.d.ts +10 -0
- package/dist/shared/types/imagePlayer.d.ts +41 -0
- package/dist/shared/types/index.d.ts +7 -0
- package/dist/shared/types/observations.d.ts +21 -0
- package/dist/shared/types/rbac.d.ts +67 -0
- package/dist/shared/types/timeline.d.ts +10 -0
- package/package.json +7 -4
- package/dist/api/3dFirebaseApi.d.ts +0 -10
- package/dist/api/adminApi.d.ts +0 -313
- package/dist/api/aiApi.d.ts +0 -137
- package/dist/api/authzApi.d.ts +0 -21
- package/dist/api/evercamApi.d.ts +0 -294
- package/dist/api/ingestApi.d.ts +0 -67
- package/dist/api/videoWallApi.d.ts +0 -9
- package/dist/types/360.d.ts +0 -88
- package/dist/types/aconex.d.ts +0 -45
- package/dist/types/automation.d.ts +0 -6
- package/dist/types/company.d.ts +0 -46
- package/dist/types/coolify.d.ts +0 -18
- package/dist/types/drone.d.ts +0 -17
- package/dist/types/ingest.d.ts +0 -43
- package/dist/types/map.d.ts +0 -4
- package/dist/types/notification.d.ts +0 -27
- package/dist/types/planner.d.ts +0 -32
- package/dist/types/project.d.ts +0 -128
- package/dist/types/shares.d.ts +0 -196
- package/dist/types/siteAnalytics.d.ts +0 -141
- package/dist/types/snapshots.d.ts +0 -50
- package/dist/types/storageServers.d.ts +0 -4
- package/dist/types/time.d.ts +0 -21
- package/dist/types/videoWall.d.ts +0 -33
- package/dist/types/weather.d.ts +0 -87
- /package/dist/api/{client → api/client}/customErrors.d.ts +0 -0
- /package/dist/api/{client → api/client}/index.d.ts +0 -0
- /package/dist/api/{client → api/client}/interceptors.d.ts +0 -0
- /package/dist/api/{webRtcApi.d.ts → api/webRtcApi.d.ts} +0 -0
- /package/dist/{types → api/types}/nvr.d.ts +0 -0
- /package/dist/{types → api/types}/systemCheck.d.ts +0 -0
- /package/dist/{types → api/types}/vendorModel.d.ts +0 -0
- /package/dist/{types → api/types}/voyageControl.d.ts +0 -0
- /package/dist/{utils.d.ts → api/utils.d.ts} +0 -0
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { GrafanaMetricId, KitMetricPeriod } from "@evercam/api/types";
|
|
1
|
+
import { CameraExid, CopilotConversation, CopilotMessage, CopilotMessageStep, FeedbackPayload, GrafanaKitMetrics, LabsPaginationParams, LuminanceReading, PaginatedItems, ActiveUsersResponsePayload, ActiveUsersRequestPayload, PosthogUsersRequestParams, PosthogUsersResponse, HeatmapIntersectionsRequestParams, SmartSearchHeatmapPoint, SiteAnalyticsProcessingStatusPayload, SiteAnalyticsProcessingStatus, SwrRequestConfig, GrafanaMetricId, KitMetricPeriod } from "@evercam/api/types";
|
|
3
2
|
export declare function getLabsBaseUrl(): string | null | undefined;
|
|
4
3
|
export declare const EvercamLabsApi: {
|
|
5
4
|
posthog: {
|
|
6
5
|
getEvents(params: any): Promise<PaginatedItems<any>>;
|
|
7
|
-
getUsers(params:
|
|
6
|
+
getUsers(params: PosthogUsersRequestParams): Promise<PosthogUsersResponse>;
|
|
7
|
+
getActiveUsers(params: ActiveUsersRequestPayload): Promise<{
|
|
8
|
+
data: ActiveUsersResponsePayload;
|
|
9
|
+
}>;
|
|
8
10
|
};
|
|
9
11
|
copilot: {
|
|
10
12
|
getAllConversations(params: LabsPaginationParams & {
|
|
@@ -15,10 +17,11 @@ export declare const EvercamLabsApi: {
|
|
|
15
17
|
getOneConversation(conversationId: number): Promise<PaginatedItems<CopilotConversation>>;
|
|
16
18
|
getConversationMessages(conversationId: number, params: LabsPaginationParams): Promise<PaginatedItems<CopilotMessage>>;
|
|
17
19
|
getMessageSteps(message: CopilotMessage): Promise<CopilotMessageStep[]>;
|
|
18
|
-
submitMessageFeedback
|
|
20
|
+
submitMessageFeedback({ conversationId, messageId, ...params }: FeedbackPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
19
21
|
};
|
|
20
|
-
|
|
21
|
-
|
|
22
|
+
siteAnalytics: {
|
|
23
|
+
getProcessingStatus(params?: SiteAnalyticsProcessingStatusPayload, config?: SwrRequestConfig<SiteAnalyticsProcessingStatus[]>): Promise<SiteAnalyticsProcessingStatus[]>;
|
|
24
|
+
getIntersectionsHeatmapData(params: HeatmapIntersectionsRequestParams): Promise<SmartSearchHeatmapPoint[]>;
|
|
22
25
|
};
|
|
23
26
|
googleCloudStorage: {
|
|
24
27
|
listFiles(prefix?: string): Promise<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExNvrDeviceConfig, ExNvrLoginResponse, ExNvrRecordingInterval, ExNvrSystemStatus } from "@evercam/api/types
|
|
1
|
+
import { ExNvrDeviceConfig, ExNvrLoginResponse, ExNvrRecordingInterval, ExNvrSystemStatus } from "@evercam/api/types";
|
|
2
2
|
export declare const ExNvrApi: {
|
|
3
3
|
users: {
|
|
4
4
|
login({ apiUrl, username, password, }: {
|
|
@@ -0,0 +1,13 @@
|
|
|
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";
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from "axios";
|
|
2
|
+
import type { SwrRequestConfig } from "@evercam/api/types";
|
|
3
|
+
import type { _360AssetsQueryParams, _360AssetsRequestPayload, _360QueueQueryParams, _360AssetsUploadPayload, _360AssetsResponse, _360AssetsCountsResponse, _360QueueResponse, _360FloorsResponse, DroneQueueResponse, DroneUploadsResponse, IngestUploadInitResponse, BimUploadsResponse, MobileAssetsQueryParams, MobileCaptureAssetsResponse, BimUploadPayload, BimUploadsQueryParams, CalculateMeasuringOperationRequestPayload, DrawingsRequestPayload, DronesQueryParams, DroneUploadUpdateRequestPayload, FlightImagesQueryParams, Generate360MapRequestPayload, GenerateFloorPayload, InspectionToolRequestPayload, JsonObject, _360WalkV2, _360FloorV2, _360ProgressResponse } from "@evercam/api/types";
|
|
4
|
+
import { IngestVersions, IngestTypes } from "@evercam/api/types";
|
|
5
|
+
export declare const getIngestApiUrls: (type: string) => string[];
|
|
6
|
+
export declare const IngestApi: {
|
|
7
|
+
drone: {
|
|
8
|
+
createUpload(projectId: string, params: {
|
|
9
|
+
uploadedBy: string;
|
|
10
|
+
}): Promise<IngestUploadInitResponse>;
|
|
11
|
+
reprocessDrone(id: number, params?: JsonObject): Promise<void>;
|
|
12
|
+
getDrones(params: {
|
|
13
|
+
params: Partial<DronesQueryParams>;
|
|
14
|
+
}): Promise<DroneUploadsResponse>;
|
|
15
|
+
getArchive(id: number, params: {
|
|
16
|
+
dataType: string;
|
|
17
|
+
}): Promise<Blob>;
|
|
18
|
+
deleteUpload(id: number): Promise<void>;
|
|
19
|
+
prepareForUpload(projectId: string, params: {
|
|
20
|
+
uploadedBy: string;
|
|
21
|
+
token: string;
|
|
22
|
+
}): Promise<void>;
|
|
23
|
+
upload(projectId: string, params: {
|
|
24
|
+
uploadedBy: string;
|
|
25
|
+
token: string;
|
|
26
|
+
}, payload: DroneUploadUpdateRequestPayload): Promise<void>;
|
|
27
|
+
verifyToken(projectId: string, params: {
|
|
28
|
+
token: string;
|
|
29
|
+
}): Promise<JsonObject>;
|
|
30
|
+
calculateMeasuringOperation(projectId: string, params: CalculateMeasuringOperationRequestPayload, ingestUrl?: string): Promise<JsonObject>;
|
|
31
|
+
inspectionTool(projectId: string, params: InspectionToolRequestPayload): Promise<JsonObject>;
|
|
32
|
+
isInspectionEnabled(projectId: string, params?: JsonObject): Promise<JsonObject>;
|
|
33
|
+
getDroneQueueSize(droneUrl: string): Promise<DroneQueueResponse>;
|
|
34
|
+
getFlightImages(projectId: string, params: FlightImagesQueryParams): Promise<JsonObject>;
|
|
35
|
+
checkFlightAvailableFeatures(projectId: string, params: JsonObject): Promise<JsonObject>;
|
|
36
|
+
};
|
|
37
|
+
assets360: {
|
|
38
|
+
get360Assets(params: {
|
|
39
|
+
params: Partial<_360AssetsQueryParams>;
|
|
40
|
+
}): Promise<_360AssetsResponse>;
|
|
41
|
+
get360AssetsCounts(projectId: string, params: {
|
|
42
|
+
uploadedBy: string;
|
|
43
|
+
}): Promise<_360AssetsCountsResponse>;
|
|
44
|
+
get360AssetLink(projectId: string, date: string, floor: string, assetType: string, drawingId: string, marker: string | null): Promise<string>;
|
|
45
|
+
update360(id: number, payload: _360AssetsRequestPayload): Promise<_360WalkV2>;
|
|
46
|
+
update360ByProjectDateName(projectId: string, date: string, floor: string, payload: _360AssetsRequestPayload): Promise<_360WalkV2>;
|
|
47
|
+
deleteUpload(id: number): Promise<void>;
|
|
48
|
+
getArchive(id: number, params: {
|
|
49
|
+
dateType: string;
|
|
50
|
+
}): Promise<Blob>;
|
|
51
|
+
get360Progress(id: number): Promise<_360ProgressResponse>;
|
|
52
|
+
createUpload(projectId: string, params: _360AssetsRequestPayload): Promise<IngestUploadInitResponse>;
|
|
53
|
+
upload(id: number, params: JsonObject, payload: _360AssetsUploadPayload): Promise<_360WalkV2>;
|
|
54
|
+
reprocess360(id: number): Promise<void>;
|
|
55
|
+
drawingExists(payload: {
|
|
56
|
+
params: {
|
|
57
|
+
name: string;
|
|
58
|
+
project_id: string;
|
|
59
|
+
};
|
|
60
|
+
}): Promise<JsonObject>;
|
|
61
|
+
getDrawings(payload: {
|
|
62
|
+
params: DrawingsRequestPayload;
|
|
63
|
+
config?: SwrRequestConfig<_360FloorsResponse>;
|
|
64
|
+
}): Promise<_360FloorsResponse>;
|
|
65
|
+
getDrawingById(id: number, projectExid: string): Promise<_360FloorV2>;
|
|
66
|
+
updateDrawing(id: number, projectExid: string, payload: GenerateFloorPayload): Promise<_360FloorV2>;
|
|
67
|
+
deleteDrawing(id: number): Promise<void>;
|
|
68
|
+
restoreDrawing(id: number): Promise<void>;
|
|
69
|
+
transferWalks(sourceId: number, targetId: number, projectExid: string): Promise<void>;
|
|
70
|
+
createDrawing(projectExid: string, payload: GenerateFloorPayload, createdBy: string): Promise<_360FloorV2>;
|
|
71
|
+
fetchDrawingOverlay(id: number, params: {
|
|
72
|
+
view: boolean;
|
|
73
|
+
thumbnail?: boolean;
|
|
74
|
+
}, onDownloadProgress?: (progress: ProgressEvent) => void, extraConfig?: AxiosRequestConfig): Promise<string>;
|
|
75
|
+
getFloorArchive(id: number): Promise<string>;
|
|
76
|
+
generate360map(projectId: string, params: Generate360MapRequestPayload): Promise<JsonObject>;
|
|
77
|
+
get360QueueSize(ingestUrl: string, params?: _360QueueQueryParams): Promise<_360QueueResponse>;
|
|
78
|
+
};
|
|
79
|
+
bim: {
|
|
80
|
+
createUpload(projectId: string, params: {
|
|
81
|
+
uploadedBy: string;
|
|
82
|
+
}): Promise<IngestUploadInitResponse>;
|
|
83
|
+
getBIMs(params: {
|
|
84
|
+
params: Partial<BimUploadsQueryParams>;
|
|
85
|
+
}): Promise<BimUploadsResponse>;
|
|
86
|
+
getArchive(id: number): Promise<Blob>;
|
|
87
|
+
deleteUpload(id: number): Promise<void>;
|
|
88
|
+
upload(projectId: string, params: {
|
|
89
|
+
id: string;
|
|
90
|
+
name: string;
|
|
91
|
+
}, payload: BimUploadPayload): Promise<void>;
|
|
92
|
+
};
|
|
93
|
+
webhook: {
|
|
94
|
+
notifyBimUpdated(projectId: string, bimIdentifier: string): Promise<void>;
|
|
95
|
+
};
|
|
96
|
+
mobileCapture: {
|
|
97
|
+
getProjectMobileAssets(params: MobileAssetsQueryParams, extraConfig?: AxiosRequestConfig): Promise<MobileCaptureAssetsResponse>;
|
|
98
|
+
getMobileAssetPhoto(assetId: string | number, params: {
|
|
99
|
+
projectId?: string;
|
|
100
|
+
project_id?: string;
|
|
101
|
+
isThumbnail?: boolean;
|
|
102
|
+
is_thumbnail?: boolean;
|
|
103
|
+
}): Promise<string>;
|
|
104
|
+
deleteAsset(assetId: string | number): Promise<void>;
|
|
105
|
+
};
|
|
106
|
+
utils: {
|
|
107
|
+
loadAllAssetsInQueue(): Promise<({
|
|
108
|
+
ingestVersion: string;
|
|
109
|
+
id: number;
|
|
110
|
+
projectId: string;
|
|
111
|
+
consumed: boolean;
|
|
112
|
+
token: string;
|
|
113
|
+
flightDate: string;
|
|
114
|
+
flightGeolocation: string;
|
|
115
|
+
modelZip: string;
|
|
116
|
+
orthomosaicZip: string;
|
|
117
|
+
reportPdf: string;
|
|
118
|
+
processingLog: string;
|
|
119
|
+
uploadedBy: string;
|
|
120
|
+
processingStatus: import("@evercam/api/types").IngestProcessingStatus | string;
|
|
121
|
+
modelCesiumAssetId: string;
|
|
122
|
+
updatedAt: string;
|
|
123
|
+
hasTusLinks: boolean;
|
|
124
|
+
aerialShots: import("@evercam/api/types").AerialShotItem[];
|
|
125
|
+
} | {
|
|
126
|
+
ingestVersion: string;
|
|
127
|
+
archive: string;
|
|
128
|
+
date: string;
|
|
129
|
+
deviceSerial: string | null;
|
|
130
|
+
endPosition: unknown | null;
|
|
131
|
+
floor: string;
|
|
132
|
+
floorId: number;
|
|
133
|
+
id: number;
|
|
134
|
+
images: string[];
|
|
135
|
+
insertedAt: string;
|
|
136
|
+
mobileAudios: string[];
|
|
137
|
+
mobileAudiosArchive: string;
|
|
138
|
+
mobilePhotos: string[];
|
|
139
|
+
mobilePhotosArchive: string;
|
|
140
|
+
model: string;
|
|
141
|
+
name: string;
|
|
142
|
+
processingStatus: string;
|
|
143
|
+
projectId: string;
|
|
144
|
+
report: string;
|
|
145
|
+
processingLog: string;
|
|
146
|
+
hasSteps?: boolean;
|
|
147
|
+
route: unknown | null;
|
|
148
|
+
startPosition: unknown | null;
|
|
149
|
+
tusLinks: unknown | null;
|
|
150
|
+
updatedAt: string;
|
|
151
|
+
uploadedBy: string;
|
|
152
|
+
videoArchive: string;
|
|
153
|
+
videos: string[];
|
|
154
|
+
})[]>;
|
|
155
|
+
getIngestVersion(ingestUrl: string): IngestVersions;
|
|
156
|
+
chooseIngestApiUrl(type: IngestTypes): Promise<string>;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
import { MoveParams, ZoomParams } from "
|
|
1
|
+
import { MoveParams, ZoomParams } from "@evercam/api/types";
|
|
2
2
|
export declare const PtzApi: {
|
|
3
3
|
presets: {
|
|
4
|
-
index({ cameraExid }: {
|
|
4
|
+
index({ cameraExid, }: {
|
|
5
5
|
cameraExid: string;
|
|
6
|
-
}): Promise<
|
|
6
|
+
}): Promise<{
|
|
7
|
+
presets: Array<{
|
|
8
|
+
name: string;
|
|
9
|
+
token: string;
|
|
10
|
+
}>;
|
|
11
|
+
}>;
|
|
7
12
|
go({ cameraExid, presetId, }: {
|
|
8
13
|
cameraExid: string;
|
|
9
14
|
presetId: string | number;
|
|
@@ -21,6 +26,10 @@ export declare const PtzApi: {
|
|
|
21
26
|
presetId: string | number;
|
|
22
27
|
presetName: string;
|
|
23
28
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
29
|
+
updateHome({ cameraExid, presetName, }: {
|
|
30
|
+
cameraExid: string;
|
|
31
|
+
presetName: string;
|
|
32
|
+
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
24
33
|
delete({ cameraExid, presetId, }: {
|
|
25
34
|
cameraExid: string;
|
|
26
35
|
presetId: string | number;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type PaginatedItems } from "@evercam/shared/types";
|
|
2
|
+
import { VideoWall, VideoWallListParams, VideoWallCreateUpdatePayload } from "@evercam/api/types/videoWall";
|
|
3
|
+
export declare const VideoWallApi: {
|
|
4
|
+
list(params?: VideoWallListParams): Promise<import("axios").AxiosResponse<PaginatedItems<VideoWall>, any>>;
|
|
5
|
+
create(body: VideoWallCreateUpdatePayload): Promise<import("axios").AxiosResponse<VideoWall, any>>;
|
|
6
|
+
get(exid: string | number): Promise<import("axios").AxiosResponse<VideoWall, any>>;
|
|
7
|
+
update(exid: string | number, body: Partial<VideoWallCreateUpdatePayload>): Promise<import("axios").AxiosResponse<VideoWall, any>>;
|
|
8
|
+
delete(exid: string | number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
9
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { CurrentWeatherRequestPayload, HistoryWeatherRequestPayload, WeatherDataResponse, WeatherResponsePayload } from "@evercam/api/types";
|
|
1
|
+
import { CurrentWeatherRequestPayload, HistoryWeatherRequestPayload, WeatherDataResponse, WeatherReportRequestPayload, WeatherResponsePayload } from "@evercam/api/types";
|
|
2
2
|
import { AxiosRequestConfig } from "axios";
|
|
3
3
|
export declare const WeatherApi: {
|
|
4
4
|
current(projectExid: string, payload: CurrentWeatherRequestPayload): Promise<WeatherResponsePayload> | undefined;
|
|
5
5
|
historical(projectExid: string, payload: HistoryWeatherRequestPayload): Promise<WeatherResponsePayload> | undefined;
|
|
6
|
-
report(projectExid: string, payload:
|
|
6
|
+
report(projectExid: string, payload: WeatherReportRequestPayload, config?: AxiosRequestConfig): Promise<{
|
|
7
7
|
data: WeatherDataResponse[];
|
|
8
8
|
}> | undefined;
|
|
9
9
|
};
|
package/dist/api/index.d.ts
CHANGED
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
export * from "./
|
|
2
|
-
export * from "./
|
|
3
|
-
export * from "./
|
|
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
|
+
export * from "./api";
|
|
2
|
+
export * from "./types";
|
|
3
|
+
export * from "./utils";
|