@evercam/api 1.0.0-d861e8d9e → 1.0.0-db0fc93a0
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 +3 -0
- package/dist/api/api/3dFirebaseApi.d.ts +27 -0
- package/dist/api/{adminApi.d.ts → api/adminApi.d.ts} +123 -61
- package/dist/api/api/aiApi.d.ts +128 -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 +1 -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 +337 -0
- package/dist/api/api/evercamLabsApi.d.ts +45 -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 +148 -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 +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 +198 -48
- package/dist/{types → api/types}/anpr.d.ts +26 -13
- package/dist/{types → api/types}/auditLogs.d.ts +1 -1
- package/dist/api/types/authz.d.ts +61 -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 +108 -124
- 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 +7 -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/api/types/detections.d.ts +124 -0
- package/dist/{types → api/types}/drone.d.ts +1 -0
- package/dist/{types → api/types}/errors.d.ts +13 -0
- package/dist/{types → api/types}/gateReport.d.ts +46 -150
- package/dist/{types → api/types}/hdd.d.ts +26 -1
- package/dist/{types → api/types}/index.d.ts +11 -2
- package/dist/api/types/ingest.d.ts +139 -0
- package/dist/{types → api/types}/kit.d.ts +85 -6
- package/dist/{types → api/types}/media.d.ts +2 -1
- package/dist/api/types/notification.d.ts +57 -0
- package/dist/api/types/oauth.d.ts +62 -0
- package/dist/api/types/planner.d.ts +79 -0
- 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 +245 -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 +12 -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/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/storageProvider.d.ts +19 -0
- package/dist/api/types/storyblok.d.ts +40 -0
- package/dist/{types → api/types}/streaming.d.ts +4 -25
- package/dist/api/types/systemCheck.d.ts +11 -0
- 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 +3 -4
- package/dist/{types → api/types}/user.d.ts +105 -36
- 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/{utils.d.ts → api/utils.d.ts} +1 -0
- package/dist/index.d.ts +2 -3
- package/dist/index.js +1634 -927
- 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 +302 -0
- package/dist/shared/types/imagePlayer.d.ts +34 -0
- package/dist/shared/types/index.d.ts +5 -0
- package/dist/shared/types/rbac.d.ts +67 -0
- package/dist/shared/types/timeline.d.ts +10 -0
- package/package.json +5 -4
- package/dist/api/3dFirebaseApi.d.ts +0 -9
- package/dist/api/aiApi.d.ts +0 -110
- package/dist/api/authzApi.d.ts +0 -21
- package/dist/api/evercamApi.d.ts +0 -271
- package/dist/api/evercamLabsApi.d.ts +0 -50
- package/dist/api/ingestApi.d.ts +0 -66
- package/dist/api/videoWallApi.d.ts +0 -9
- 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/coolify.d.ts +0 -18
- package/dist/types/detections.d.ts +0 -76
- 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/planner.d.ts +0 -28
- package/dist/types/procore.d.ts +0 -76
- package/dist/types/project.d.ts +0 -123
- package/dist/types/shares.d.ts +0 -196
- package/dist/types/siteAnalytics.d.ts +0 -84
- package/dist/types/storageServers.d.ts +0 -4
- package/dist/types/time.d.ts +0 -19
- package/dist/types/videoWall.d.ts +0 -33
- package/dist/types/weather.d.ts +0 -87
- /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}/map.d.ts +0 -0
- /package/dist/{types → api/types}/nvr.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,76 +0,0 @@
|
|
|
1
|
-
import { type BoundingBox, 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
|
-
trackId?: number;
|
|
8
|
-
};
|
|
9
|
-
export type BBox = number[];
|
|
10
|
-
export type SelectedObjectPath = {
|
|
11
|
-
label: string;
|
|
12
|
-
trackId: string;
|
|
13
|
-
paths: Array<{
|
|
14
|
-
timestamp: number;
|
|
15
|
-
center: [number, number];
|
|
16
|
-
bbox: BBox;
|
|
17
|
-
}>;
|
|
18
|
-
};
|
|
19
|
-
export type Detection = {
|
|
20
|
-
bbox: BBox;
|
|
21
|
-
timestamp: string | Date;
|
|
22
|
-
};
|
|
23
|
-
export type Tracking = {
|
|
24
|
-
trackId: number;
|
|
25
|
-
fromDate: string | Date;
|
|
26
|
-
toDate: string | Date;
|
|
27
|
-
detections: Detection[];
|
|
28
|
-
};
|
|
29
|
-
export type TrackingLabel = string;
|
|
30
|
-
export type TrackingsByLabel = Record<TrackingLabel, Tracking[]>;
|
|
31
|
-
export type SegmentsByLabel = Record<SegmentLabel, Segment[]>;
|
|
32
|
-
export type SegmentPolygonCoords = number[][];
|
|
33
|
-
export type Segment = {
|
|
34
|
-
id: number;
|
|
35
|
-
mask?: SegmentPolygonCoords;
|
|
36
|
-
label: string;
|
|
37
|
-
timestamp: string | Date;
|
|
38
|
-
cameraExid?: CameraExid;
|
|
39
|
-
bbox?: BoundingBox;
|
|
40
|
-
area?: number;
|
|
41
|
-
};
|
|
42
|
-
export type SegmentSimilarityResult = {
|
|
43
|
-
distance: number;
|
|
44
|
-
segment: Segment;
|
|
45
|
-
};
|
|
46
|
-
export type SegmentsSimilaritySearchResult = {
|
|
47
|
-
firstSeen: DateType | null;
|
|
48
|
-
lastSeen: DateType | null;
|
|
49
|
-
similarSegments: SegmentSimilarityResult[];
|
|
50
|
-
};
|
|
51
|
-
export type SegmentsSimilaritySearchParams = {
|
|
52
|
-
cameraExid: CameraExid;
|
|
53
|
-
referenceId: string;
|
|
54
|
-
iouThreshold?: number;
|
|
55
|
-
fromDate: string;
|
|
56
|
-
toDate: string;
|
|
57
|
-
};
|
|
58
|
-
export type CountsParams = {
|
|
59
|
-
cameraExid: CameraExid;
|
|
60
|
-
fromDate: string | Date;
|
|
61
|
-
toDate: string | Date;
|
|
62
|
-
precision: keyof typeof TimelinePrecision;
|
|
63
|
-
trackId: number;
|
|
64
|
-
labels: DetectionLabel | DetectionLabel[];
|
|
65
|
-
};
|
|
66
|
-
export type CountByPeriod = {
|
|
67
|
-
date: string | Date;
|
|
68
|
-
counts: Record<string, number>;
|
|
69
|
-
};
|
|
70
|
-
export type DetectionsPresenceByLabel = Record<DetectionLabel, TimelineDateInterval[]>;
|
|
71
|
-
export type SegmentsPresenceByLabel = Record<SegmentLabel, TimelineDateInterval[]>;
|
|
72
|
-
export type LuminanceReading = {
|
|
73
|
-
timestamp: string;
|
|
74
|
-
luminanceDelta: number;
|
|
75
|
-
luminanceAverage: number;
|
|
76
|
-
};
|
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
|
-
}
|
package/dist/types/ingest.d.ts
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { PaginationParams, DateType } from "@/types";
|
|
2
|
-
export declare enum IngestProcessingStatus {
|
|
3
|
-
Completed = "completed",
|
|
4
|
-
Uploading = "uploading",
|
|
5
|
-
Created = "created",
|
|
6
|
-
Failed = "failed",
|
|
7
|
-
Aborted = "aborted",
|
|
8
|
-
Paused = "paused",
|
|
9
|
-
InProgress = "inprogress",
|
|
10
|
-
Pending = "pending"
|
|
11
|
-
}
|
|
12
|
-
export type DronesQueryParams = Omit<PaginationParams, "sort"> & {
|
|
13
|
-
projectId: string;
|
|
14
|
-
consumed: string;
|
|
15
|
-
token: string;
|
|
16
|
-
processingStatus: IngestProcessingStatus;
|
|
17
|
-
};
|
|
18
|
-
export type DroneUploadUpdateRequestPayload = {
|
|
19
|
-
flightMetadata: {
|
|
20
|
-
dateTime: string;
|
|
21
|
-
gpsAltitude: string;
|
|
22
|
-
gpsCoordinates: string;
|
|
23
|
-
};
|
|
24
|
-
upload: {
|
|
25
|
-
url: string;
|
|
26
|
-
title: string;
|
|
27
|
-
fileExtension: string;
|
|
28
|
-
}[];
|
|
29
|
-
projectName: string;
|
|
30
|
-
};
|
|
31
|
-
export type CalculateMeasuringOperationRequestPayload = {
|
|
32
|
-
date: DateType;
|
|
33
|
-
points: [number, number][];
|
|
34
|
-
operation: string;
|
|
35
|
-
};
|
|
36
|
-
export type FlightImagesQueryParams = Partial<Omit<PaginationParams, "sort">> & {
|
|
37
|
-
date: DateType;
|
|
38
|
-
};
|
|
39
|
-
export type InspectionToolRequestPayload = {
|
|
40
|
-
date: DateType;
|
|
41
|
-
gpsAltitude: string;
|
|
42
|
-
gpsCoordinates: string;
|
|
43
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export declare enum NotificationType {
|
|
2
|
-
CameraShare = "camera_share",
|
|
3
|
-
CameraStatusChange = "camera_status_changed",
|
|
4
|
-
Mention = "mention",
|
|
5
|
-
TimelapseCreated = "timelapse_created",
|
|
6
|
-
TimelapseFailed = "timelapse_failed",
|
|
7
|
-
DroneProcessing = "drone_processing_done",
|
|
8
|
-
Processing360 = "three_sixty_done"
|
|
9
|
-
}
|
|
10
|
-
export interface CameraShareContext {
|
|
11
|
-
cameraExid: string;
|
|
12
|
-
projectExid: string;
|
|
13
|
-
shareId: number;
|
|
14
|
-
}
|
|
15
|
-
export type Notification = {
|
|
16
|
-
id: number;
|
|
17
|
-
type: NotificationType;
|
|
18
|
-
insertedAt: string;
|
|
19
|
-
initiatorId: number;
|
|
20
|
-
initiatorFullname: string;
|
|
21
|
-
initiatorEmail: string;
|
|
22
|
-
targetId: number;
|
|
23
|
-
targetFullname: string;
|
|
24
|
-
targetEmail: string;
|
|
25
|
-
readTimestamp: string | null;
|
|
26
|
-
context: CameraShareContext;
|
|
27
|
-
};
|
package/dist/types/planner.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export declare enum EMapTypes {
|
|
2
|
-
Blank = "Blank",
|
|
3
|
-
Satellite = "Satellite",
|
|
4
|
-
Street = "Street",
|
|
5
|
-
GoogleSatellite = "hybrid",
|
|
6
|
-
GoogleStreet = "roadmap",
|
|
7
|
-
GoogleTerrain = "terrain"
|
|
8
|
-
}
|
|
9
|
-
export declare enum EMarkers {
|
|
10
|
-
CameraMarker = "cameraMarker",
|
|
11
|
-
ThreeSixtyMarker = "threeSixtyMarkers"
|
|
12
|
-
}
|
|
13
|
-
export declare enum EPageType {
|
|
14
|
-
List = "list",
|
|
15
|
-
Item = "item"
|
|
16
|
-
}
|
|
17
|
-
export declare enum EPaths {
|
|
18
|
-
Home = "/",
|
|
19
|
-
Session = "/session"
|
|
20
|
-
}
|
|
21
|
-
export declare enum EProjectItems {
|
|
22
|
-
Camera = "camera",
|
|
23
|
-
Overlay = "overlay"
|
|
24
|
-
}
|
|
25
|
-
export declare enum ERoles {
|
|
26
|
-
Admin = "admin",
|
|
27
|
-
User = "user"
|
|
28
|
-
}
|
package/dist/types/procore.d.ts
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
export type ProcoreUserCompaniesResponsePayload = Array<{
|
|
2
|
-
id: number;
|
|
3
|
-
isActive?: boolean;
|
|
4
|
-
name: string;
|
|
5
|
-
}>;
|
|
6
|
-
export type ProcoreUserProjectRequestPayload = {
|
|
7
|
-
companyId: number;
|
|
8
|
-
};
|
|
9
|
-
export type ProcoreUserProjectsResponsePayload = Array<{
|
|
10
|
-
accountingProjectNumber?: number;
|
|
11
|
-
active: boolean;
|
|
12
|
-
address: string;
|
|
13
|
-
city: string;
|
|
14
|
-
company: {
|
|
15
|
-
id: number;
|
|
16
|
-
name: string;
|
|
17
|
-
};
|
|
18
|
-
completionDate: string;
|
|
19
|
-
countryCode: string;
|
|
20
|
-
county: string;
|
|
21
|
-
createdAt: string;
|
|
22
|
-
customFields?: object;
|
|
23
|
-
designatedMarketArea: string;
|
|
24
|
-
displayName: string;
|
|
25
|
-
estimatedValue: string;
|
|
26
|
-
id: number;
|
|
27
|
-
isDemo: boolean;
|
|
28
|
-
latitude: number;
|
|
29
|
-
longitude: number;
|
|
30
|
-
name: string;
|
|
31
|
-
originCode: string | number | null;
|
|
32
|
-
originData: string | null;
|
|
33
|
-
originId: number | null;
|
|
34
|
-
ownersProjectId: number | null;
|
|
35
|
-
parentJobId: number | null;
|
|
36
|
-
phone: string | number;
|
|
37
|
-
photoId: number;
|
|
38
|
-
projectBidTypeId: number | null;
|
|
39
|
-
projectNumber: string;
|
|
40
|
-
projectOwnerTypeId: number | null;
|
|
41
|
-
projectRegionId: number | null;
|
|
42
|
-
stage: string;
|
|
43
|
-
startDate: string;
|
|
44
|
-
stateCode: string;
|
|
45
|
-
storeNumber?: string;
|
|
46
|
-
timeZone: string;
|
|
47
|
-
totalValue: string;
|
|
48
|
-
updatedAt: string;
|
|
49
|
-
zip: number;
|
|
50
|
-
}>;
|
|
51
|
-
export type ProcoreEditedImageUploadRequestPayload = {
|
|
52
|
-
projectExid: string;
|
|
53
|
-
companyId: number;
|
|
54
|
-
projectId: number;
|
|
55
|
-
snapshot: string;
|
|
56
|
-
categoryId?: number;
|
|
57
|
-
};
|
|
58
|
-
export type ProcoreProjectsAlbumsPayload = Array<{
|
|
59
|
-
count: number;
|
|
60
|
-
coverPhoto: string | null;
|
|
61
|
-
createdAt: string;
|
|
62
|
-
id: number;
|
|
63
|
-
links: {
|
|
64
|
-
delete: string;
|
|
65
|
-
show: string;
|
|
66
|
-
update: string;
|
|
67
|
-
};
|
|
68
|
-
name: string;
|
|
69
|
-
position: number;
|
|
70
|
-
private: boolean;
|
|
71
|
-
updatedAt: string;
|
|
72
|
-
}>;
|
|
73
|
-
export type ProcoreProjectsAlbumsRequestPayload = {
|
|
74
|
-
companyId: number;
|
|
75
|
-
projectId: number;
|
|
76
|
-
};
|
package/dist/types/project.d.ts
DELETED
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import { AdminCamera, Camera, CameraExid, DateTime, DateType, EntityByExid, Exid, PaginationParams } from "@/types";
|
|
2
|
-
export type ProjectExid = Exid;
|
|
3
|
-
export type ProjectsByExid = EntityByExid<Project>;
|
|
4
|
-
export type Project = {
|
|
5
|
-
id: string | number;
|
|
6
|
-
exid: ProjectExid;
|
|
7
|
-
name: string;
|
|
8
|
-
status?: ProjectStatus;
|
|
9
|
-
insertedAt?: string;
|
|
10
|
-
startedAt?: string;
|
|
11
|
-
timezone?: string;
|
|
12
|
-
zohoId?: string;
|
|
13
|
-
cameras?: Array<Camera | AdminCamera>;
|
|
14
|
-
featureFlags: Array<ProjectFeatureFlag>;
|
|
15
|
-
owner?: {
|
|
16
|
-
email?: string;
|
|
17
|
-
};
|
|
18
|
-
camerasRestrictionType?: string;
|
|
19
|
-
};
|
|
20
|
-
export declare enum ProjectStatus {
|
|
21
|
-
ToStart = "To Start",
|
|
22
|
-
InProgress = "In Progress",
|
|
23
|
-
Completed = "Completed",
|
|
24
|
-
NotAplicable = "Not Applicable"
|
|
25
|
-
}
|
|
26
|
-
export declare enum ProjectArchiveTier {
|
|
27
|
-
Full = "Full",
|
|
28
|
-
Partial = "Partial",
|
|
29
|
-
Minimal = "Minimal",
|
|
30
|
-
ScheduledForDeletion = "Scheduled for Deletion"
|
|
31
|
-
}
|
|
32
|
-
export type ProjectResponsePayload = {
|
|
33
|
-
data?: Project[];
|
|
34
|
-
};
|
|
35
|
-
export type UpdateCameraRestrictionPayload = {
|
|
36
|
-
isAccessRestricted?: boolean;
|
|
37
|
-
};
|
|
38
|
-
export type Logo = {
|
|
39
|
-
name: string;
|
|
40
|
-
url: string;
|
|
41
|
-
};
|
|
42
|
-
export type ProjectLogoResponsePayload = Logo[];
|
|
43
|
-
export declare enum ProjectFeatureFlag {
|
|
44
|
-
AnprLegacy = "anpr_legacy",
|
|
45
|
-
DroneView = "drone_view",
|
|
46
|
-
Bim = "4d_bim",
|
|
47
|
-
BimItwin = "4d_bim_itwin",
|
|
48
|
-
BimForge = "4d_bim_forge",
|
|
49
|
-
ThreeSixtyView = "360_view",
|
|
50
|
-
NdaMc = "NDA/MC",
|
|
51
|
-
GateReport = "gate_report",
|
|
52
|
-
GateReportAutoVerify = "auto_publish",
|
|
53
|
-
GateReportMotionDetection = "motion_detection",
|
|
54
|
-
FullEmpty = "full_empty",
|
|
55
|
-
MediaHubSharing = "archives_sharing",
|
|
56
|
-
GateReportAnprBased = "anpr_sourced",
|
|
57
|
-
NoLicensePlate = "no_license_plate",
|
|
58
|
-
DefaultToProjectApp = "default_to_project_app"
|
|
59
|
-
}
|
|
60
|
-
export type ProjectBatteryReading = {
|
|
61
|
-
exid: number;
|
|
62
|
-
voltage: number;
|
|
63
|
-
lastSeen: DateType;
|
|
64
|
-
};
|
|
65
|
-
export type ThumbnailData = {
|
|
66
|
-
cameraExid: CameraExid;
|
|
67
|
-
custom: boolean;
|
|
68
|
-
image: string;
|
|
69
|
-
};
|
|
70
|
-
export type ProjectsQueryParams = PaginationParams & {
|
|
71
|
-
name: string;
|
|
72
|
-
exid: string;
|
|
73
|
-
status: ProjectStatus;
|
|
74
|
-
cameras: string;
|
|
75
|
-
featureFlags: Array<ProjectFeatureFlag>;
|
|
76
|
-
archived: string;
|
|
77
|
-
};
|
|
78
|
-
export type ProjectCreateRequestPayload = {
|
|
79
|
-
projectExid?: string;
|
|
80
|
-
projectName: string;
|
|
81
|
-
ownerId: number;
|
|
82
|
-
cameras: string[];
|
|
83
|
-
};
|
|
84
|
-
export type ProjectCreateResponse = {
|
|
85
|
-
name: string;
|
|
86
|
-
exid: string;
|
|
87
|
-
id: number;
|
|
88
|
-
userId: number;
|
|
89
|
-
zohoId: string;
|
|
90
|
-
};
|
|
91
|
-
export type ProjectUpdateRequestPayload = {
|
|
92
|
-
name: string;
|
|
93
|
-
timezone: string;
|
|
94
|
-
featureFlags: ProjectFeatureFlag[];
|
|
95
|
-
cameras: string[];
|
|
96
|
-
};
|
|
97
|
-
export type ProjectStatusStats = {
|
|
98
|
-
nil: number;
|
|
99
|
-
Completed: number;
|
|
100
|
-
"In Progress": number;
|
|
101
|
-
"Not Applicable": number;
|
|
102
|
-
"To Start": number;
|
|
103
|
-
};
|
|
104
|
-
export type ProjectUserProperty = {
|
|
105
|
-
active: boolean;
|
|
106
|
-
activeOneMonth: boolean;
|
|
107
|
-
cameraExid: string;
|
|
108
|
-
cameraName: string;
|
|
109
|
-
cameraRights: string;
|
|
110
|
-
email: string;
|
|
111
|
-
eventsCount: number;
|
|
112
|
-
fullname: string;
|
|
113
|
-
id: number;
|
|
114
|
-
lastSeenAt: DateTime;
|
|
115
|
-
persona: string;
|
|
116
|
-
};
|
|
117
|
-
export type ProjectUsers = {
|
|
118
|
-
cameras: {
|
|
119
|
-
exid: string;
|
|
120
|
-
name: string;
|
|
121
|
-
}[];
|
|
122
|
-
users: Record<string, ProjectUserProperty[]>;
|
|
123
|
-
};
|