@evercam/api 1.0.0-55c107e01 → 1.0.0-5841dedff

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.
Files changed (145) hide show
  1. package/README.md +5 -1
  2. package/dist/api/api/3dFirebaseApi.d.ts +216 -0
  3. package/dist/api/api/adminApi.d.ts +381 -0
  4. package/dist/api/api/aiApi.d.ts +214 -0
  5. package/dist/api/api/authzApi.d.ts +40 -0
  6. package/dist/api/{client → api/client}/axios.d.ts +2 -1
  7. package/dist/api/{client → api/client}/customErrors.d.ts +10 -0
  8. package/dist/api/{client → api/client}/interceptors.d.ts +3 -2
  9. package/dist/api/api/client/swr/Swr.d.ts +14 -0
  10. package/dist/api/api/client/swr/SwrStore.d.ts +10 -0
  11. package/dist/api/api/evercamApi.d.ts +357 -0
  12. package/dist/api/api/evercamLabsApi.d.ts +45 -0
  13. package/dist/api/{exNvrApi.d.ts → api/exNvrApi.d.ts} +1 -1
  14. package/dist/api/api/index.d.ts +13 -0
  15. package/dist/api/api/ingestApi.d.ts +158 -0
  16. package/dist/api/{ptzApi.d.ts → api/ptzApi.d.ts} +13 -4
  17. package/dist/api/api/videoWallApi.d.ts +9 -0
  18. package/dist/api/api/weatherApi.d.ts +9 -0
  19. package/dist/api/index.d.ts +3 -13
  20. package/dist/api/types/360.d.ts +392 -0
  21. package/dist/api/types/aconex.d.ts +143 -0
  22. package/dist/api/types/admin.d.ts +51 -0
  23. package/dist/api/types/aiConfigs.d.ts +242 -0
  24. package/dist/{types → api/types}/analytics.d.ts +245 -106
  25. package/dist/{types → api/types}/anpr.d.ts +64 -19
  26. package/dist/{types → api/types}/auditLogs.d.ts +19 -1
  27. package/dist/api/types/authz.d.ts +107 -0
  28. package/dist/{types → api/types}/autodesk.d.ts +7 -7
  29. package/dist/api/types/automation.d.ts +114 -0
  30. package/dist/{types → api/types}/axios.d.ts +31 -12
  31. package/dist/{types → api/types}/bim.d.ts +38 -9
  32. package/dist/{types → api/types}/camera.d.ts +121 -152
  33. package/dist/api/types/comments.d.ts +58 -0
  34. package/dist/api/types/company.d.ts +115 -0
  35. package/dist/{types → api/types}/compare.d.ts +20 -5
  36. package/dist/api/types/connector.d.ts +21 -0
  37. package/dist/api/types/coolify.d.ts +36 -0
  38. package/dist/{types → api/types}/copilot.d.ts +20 -16
  39. package/dist/{types → api/types}/countries.d.ts +0 -7
  40. package/dist/{types → api/types}/credentials.d.ts +1 -0
  41. package/dist/api/types/detections.d.ts +117 -0
  42. package/dist/api/types/drone.d.ts +107 -0
  43. package/dist/{types → api/types}/errors.d.ts +25 -0
  44. package/dist/{types → api/types}/gateReport.d.ts +99 -169
  45. package/dist/api/types/gateReportManagement.d.ts +170 -0
  46. package/dist/api/types/hammertech.d.ts +98 -0
  47. package/dist/api/types/hdd.d.ts +88 -0
  48. package/dist/{types → api/types}/index.d.ts +24 -4
  49. package/dist/api/types/ingest.d.ts +159 -0
  50. package/dist/{types → api/types}/kit.d.ts +160 -58
  51. package/dist/api/types/map.d.ts +16 -0
  52. package/dist/{types → api/types}/media.d.ts +10 -3
  53. package/dist/api/types/notification.d.ts +67 -0
  54. package/dist/{types → api/types}/nvr.d.ts +2 -1
  55. package/dist/api/types/oauth.d.ts +62 -0
  56. package/dist/api/types/observationEvents.d.ts +61 -0
  57. package/dist/api/types/observations.d.ts +85 -0
  58. package/dist/api/types/planner.d.ts +124 -0
  59. package/dist/api/types/posthog.d.ts +53 -0
  60. package/dist/api/types/procore.d.ts +229 -0
  61. package/dist/{types → api/types}/progressPhoto.d.ts +11 -23
  62. package/dist/api/types/project.d.ts +254 -0
  63. package/dist/{types → api/types}/recording.d.ts +10 -16
  64. package/dist/api/types/recycleBin.d.ts +14 -0
  65. package/dist/api/types/ring.d.ts +53 -0
  66. package/dist/{types → api/types}/roi.d.ts +2 -9
  67. package/dist/{types → api/types}/routeParams.d.ts +5 -2
  68. package/dist/{types → api/types}/router.d.ts +20 -1
  69. package/dist/{types → api/types}/shared.d.ts +32 -39
  70. package/dist/api/types/shares.d.ts +45 -0
  71. package/dist/{types → api/types}/sim.d.ts +6 -6
  72. package/dist/api/types/siteAnalytics.d.ts +285 -0
  73. package/dist/api/types/siteAnalyticsManagement.d.ts +117 -0
  74. package/dist/api/types/siteView.d.ts +73 -0
  75. package/dist/api/types/smartSeach.d.ts +5 -0
  76. package/dist/api/types/snapshots.d.ts +104 -0
  77. package/dist/api/types/socket.d.ts +4 -0
  78. package/dist/api/types/sso.d.ts +55 -0
  79. package/dist/api/types/storageProvider.d.ts +19 -0
  80. package/dist/api/types/storyblok.d.ts +27 -0
  81. package/dist/api/types/streaming.d.ts +97 -0
  82. package/dist/api/types/systemCheck.d.ts +11 -0
  83. package/dist/api/types/tag.d.ts +12 -0
  84. package/dist/api/types/time.d.ts +7 -0
  85. package/dist/{types → api/types}/timelapse.d.ts +22 -11
  86. package/dist/{types → api/types}/user.d.ts +106 -40
  87. package/dist/api/types/videoWall.d.ts +66 -0
  88. package/dist/api/types/weather.d.ts +153 -0
  89. package/dist/{types → api/types}/widget.d.ts +106 -20
  90. package/dist/api/types/xweather.d.ts +12 -0
  91. package/dist/index.d.ts +2 -3
  92. package/dist/index.js +3014 -1059
  93. package/dist/index.js.map +1 -1
  94. package/dist/index.umd.cjs +1 -1
  95. package/dist/index.umd.cjs.map +1 -1
  96. package/dist/shared/api/index.d.ts +3 -0
  97. package/dist/shared/components/timelinePlayer/providers/index.d.ts +3 -0
  98. package/dist/shared/components/timelinePlayer/providers/timelineAnprProvider.d.ts +17 -0
  99. package/dist/shared/components/timelinePlayer/providers/timelineDataProvider.d.ts +13 -0
  100. package/dist/shared/components/timelinePlayer/providers/timelineLuminanceProvider.d.ts +16 -0
  101. package/dist/shared/types/components.d.ts +370 -0
  102. package/dist/shared/types/customDataTableFilters.d.ts +10 -0
  103. package/dist/shared/types/imagePlayer.d.ts +41 -0
  104. package/dist/shared/types/index.d.ts +7 -0
  105. package/dist/shared/types/observations.d.ts +21 -0
  106. package/dist/shared/types/rbac.d.ts +67 -0
  107. package/dist/shared/types/timeline.d.ts +10 -0
  108. package/package.json +10 -7
  109. package/dist/api/3dFirebaseApi.d.ts +0 -9
  110. package/dist/api/adminApi.d.ts +0 -281
  111. package/dist/api/aiApi.d.ts +0 -73
  112. package/dist/api/authzApi.d.ts +0 -21
  113. package/dist/api/evercamApi.d.ts +0 -266
  114. package/dist/api/evercamLabsApi.d.ts +0 -50
  115. package/dist/api/ingestApi.d.ts +0 -65
  116. package/dist/api/videoWallApi.d.ts +0 -9
  117. package/dist/api/weatherApi.d.ts +0 -25
  118. package/dist/types/360.d.ts +0 -83
  119. package/dist/types/aconex.d.ts +0 -45
  120. package/dist/types/automation.d.ts +0 -6
  121. package/dist/types/comments.d.ts +0 -36
  122. package/dist/types/company.d.ts +0 -46
  123. package/dist/types/connector.d.ts +0 -16
  124. package/dist/types/detections.d.ts +0 -62
  125. package/dist/types/devices.d.ts +0 -228
  126. package/dist/types/drone.d.ts +0 -17
  127. package/dist/types/ingest.d.ts +0 -43
  128. package/dist/types/map.d.ts +0 -4
  129. package/dist/types/notification.d.ts +0 -27
  130. package/dist/types/procore.d.ts +0 -76
  131. package/dist/types/project.d.ts +0 -120
  132. package/dist/types/shares.d.ts +0 -192
  133. package/dist/types/siteAnalytics.d.ts +0 -5
  134. package/dist/types/sitePlanner.d.ts +0 -23
  135. package/dist/types/snapshots.d.ts +0 -50
  136. package/dist/types/storageServers.d.ts +0 -4
  137. package/dist/types/streaming.d.ts +0 -120
  138. package/dist/types/time.d.ts +0 -19
  139. package/dist/types/vendorModel.d.ts +0 -15
  140. package/dist/types/videoWall.d.ts +0 -33
  141. package/dist/types/weather.d.ts +0 -83
  142. /package/dist/api/{client → api/client}/index.d.ts +0 -0
  143. /package/dist/api/{webRtcApi.d.ts → api/webRtcApi.d.ts} +0 -0
  144. /package/dist/{types → api/types}/voyageControl.d.ts +0 -0
  145. /package/dist/{utils.d.ts → api/utils.d.ts} +0 -0
@@ -1,19 +0,0 @@
1
- export type DateType = Date | string | number;
2
- type YYYY = number;
3
- type MM = number;
4
- type DD = number;
5
- type HH = number;
6
- type mm = number;
7
- type ss = number;
8
- type microS = number;
9
- export type Date_YYYY = `${YYYY}` | string;
10
- export type Date_YYYY_MM = `${YYYY}-${MM}` | string;
11
- export type Date_YYYY_MM_DD = `${YYYY}-${MM}-${DD}` | string;
12
- export type Time_HH_mm_ss = `${HH}:${mm}:${ss}` | string;
13
- export type Date_HH = `${HH}` | string;
14
- export type DateTime = `${Date_YYYY_MM_DD}T${Time_HH_mm_ss}` | string;
15
- export type DateTime_tz = `${Date_YYYY_MM_DD}T${Time_HH_mm_ss}${"+" | "-"}${HH}:${mm}` | string;
16
- export type DateTime_Z = `${Date_YYYY_MM_DD}T${Time_HH_mm_ss}Z` | string;
17
- export type DateTime_Z_micros = `${Date_YYYY_MM_DD}T${Time_HH_mm_ss}.${microS}Z` | string;
18
- export type DateTimeSpaceSeparated = `${Date_YYYY_MM_DD} ${Time_HH_mm_ss}` | string;
19
- export {};
@@ -1,15 +0,0 @@
1
- export type VendorModel = {
2
- cameraCount: number;
3
- exid: string;
4
- h264Url: string;
5
- jpgUrl: string;
6
- name: string;
7
- online: number;
8
- playbackUrl: string;
9
- };
10
- export type VendorModelRequestPayload = {
11
- sort: string;
12
- };
13
- export type VendorModelResponsePayload = {
14
- data: VendorModel[];
15
- };
@@ -1,33 +0,0 @@
1
- import { Camera, Media } from "@/types";
2
- export declare enum VideoWallItemType {
3
- LiveView = "live",
4
- Video = "video",
5
- Image = "image"
6
- }
7
- export type VideoWallItem<T extends Camera | Media> = {
8
- value: T;
9
- type: VideoWallItemType;
10
- };
11
- export type VideoWallPresetItemConfig = {
12
- camera: Camera;
13
- h: number;
14
- i: string | number;
15
- moved: boolean;
16
- w: number;
17
- x: number;
18
- y: number;
19
- };
20
- export type VideoWallPreset = {
21
- name?: string;
22
- configuration: Array<VideoWallPresetItemConfig>;
23
- };
24
- export type VideoWallPresetItem = {
25
- i: string | number;
26
- x: number;
27
- y: number;
28
- w: number;
29
- h: number;
30
- camera: Camera;
31
- weather?: Record<string, unknown>;
32
- media?: Media;
33
- };
@@ -1,83 +0,0 @@
1
- import { Date_YYYY_MM_DD, DateType } from "@/types/time";
2
- export type HistoryWeatherRequestPayload = {
3
- day: string;
4
- };
5
- export type WeatherResponsePayload = Array<{
6
- hour?: number;
7
- temp?: number;
8
- clouds?: number;
9
- feelsLike?: number;
10
- pressure?: number;
11
- humidity?: number;
12
- windSpeed?: number;
13
- windDegree?: number;
14
- weather?: [WeatherSummary];
15
- rain?: HourlyReading;
16
- snow?: HourlyReading;
17
- }>;
18
- export type WeatherSummary = {
19
- id?: number;
20
- main?: string;
21
- description?: string;
22
- icon?: string;
23
- };
24
- export type HourlyReading = {
25
- "1h"?: number;
26
- "3h"?: number;
27
- };
28
- export declare enum WeatherProvider {
29
- WeatherStack = "WeatherStack",
30
- AerisWeather = "AerisWeather"
31
- }
32
- export type Weatherstatus = {
33
- description: string;
34
- hour: DateType;
35
- id: number;
36
- temp: number;
37
- };
38
- export type WeatherDataResponse = {
39
- minFeelsLike: number;
40
- id: number;
41
- sunhour: number;
42
- maxFeelsLike: number;
43
- minWindchill: number;
44
- minPressure: number;
45
- minWindDegree: number;
46
- minDewpoint: number;
47
- maxClouds: number;
48
- maxWindgust: number;
49
- minWindSpeed: number;
50
- astro: {
51
- moonIllumination: number;
52
- moonPhase: string;
53
- moonrise: string;
54
- moonset: string;
55
- sunrise: string;
56
- sunset: string;
57
- };
58
- insertedAt: string;
59
- maxDewpoint: number;
60
- maxTemp: number;
61
- minClouds: number;
62
- weather: Weatherstatus[];
63
- minHeatindex: number;
64
- minPrecip: number;
65
- maxWindDegree: number;
66
- maxUvIndex: number;
67
- minHumidity: number;
68
- maxWindSpeed: number;
69
- minWindgust: number;
70
- updatedAt: DateType;
71
- maxPrecip: number;
72
- uvIndex: number;
73
- maxHeatindex: number;
74
- minTemp: number;
75
- date: Date_YYYY_MM_DD;
76
- totalsnow: number;
77
- maxPressure: number;
78
- maxWindchill: number;
79
- maxHumidity: number;
80
- avgtemp: number;
81
- projectId: number;
82
- minUvIndex: number;
83
- };
File without changes
File without changes
File without changes
File without changes