@evercam/api 1.0.0-55c107e01 → 1.0.0-57d7783ef

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 (140) hide show
  1. package/README.md +5 -1
  2. package/dist/api/api/3dFirebaseApi.d.ts +210 -0
  3. package/dist/api/api/adminApi.d.ts +380 -0
  4. package/dist/api/api/aiApi.d.ts +168 -0
  5. package/dist/api/api/authzApi.d.ts +37 -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 +346 -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 +156 -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 +395 -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 +154 -0
  24. package/dist/{types → api/types}/analytics.d.ts +239 -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 +61 -0
  28. package/dist/{types → api/types}/autodesk.d.ts +7 -7
  29. package/dist/api/types/automation.d.ts +95 -0
  30. package/dist/{types → api/types}/axios.d.ts +30 -8
  31. package/dist/{types → api/types}/bim.d.ts +36 -5
  32. package/dist/{types → api/types}/camera.d.ts +119 -145
  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 +20 -0
  37. package/dist/api/types/coolify.d.ts +36 -0
  38. package/dist/{types → api/types}/copilot.d.ts +20 -13
  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 +116 -0
  42. package/dist/api/types/drone.d.ts +107 -0
  43. package/dist/{types → api/types}/errors.d.ts +24 -0
  44. package/dist/{types → api/types}/gateReport.d.ts +100 -159
  45. package/dist/api/types/gateReportManagement.d.ts +175 -0
  46. package/dist/api/types/hdd.d.ts +88 -0
  47. package/dist/{types → api/types}/index.d.ts +20 -3
  48. package/dist/api/types/ingest.d.ts +158 -0
  49. package/dist/{types → api/types}/kit.d.ts +131 -10
  50. package/dist/api/types/map.d.ts +16 -0
  51. package/dist/{types → api/types}/media.d.ts +8 -2
  52. package/dist/api/types/notification.d.ts +57 -0
  53. package/dist/{types → api/types}/nvr.d.ts +2 -1
  54. package/dist/api/types/oauth.d.ts +62 -0
  55. package/dist/api/types/planner.d.ts +132 -0
  56. package/dist/api/types/posthog.d.ts +53 -0
  57. package/dist/api/types/procore.d.ts +229 -0
  58. package/dist/{types → api/types}/progressPhoto.d.ts +11 -23
  59. package/dist/api/types/project.d.ts +247 -0
  60. package/dist/{types → api/types}/recording.d.ts +9 -13
  61. package/dist/api/types/recycleBin.d.ts +14 -0
  62. package/dist/api/types/ring.d.ts +53 -0
  63. package/dist/{types → api/types}/roi.d.ts +3 -1
  64. package/dist/{types → api/types}/routeParams.d.ts +4 -2
  65. package/dist/{types → api/types}/router.d.ts +20 -1
  66. package/dist/{types → api/types}/shared.d.ts +33 -21
  67. package/dist/api/types/shares.d.ts +58 -0
  68. package/dist/{types → api/types}/sim.d.ts +6 -6
  69. package/dist/api/types/siteAnalytics.d.ts +287 -0
  70. package/dist/api/types/siteAnalyticsManagement.d.ts +92 -0
  71. package/dist/api/types/siteView.d.ts +73 -0
  72. package/dist/api/types/smartSeach.d.ts +5 -0
  73. package/dist/api/types/snapshots.d.ts +104 -0
  74. package/dist/api/types/sso.d.ts +55 -0
  75. package/dist/api/types/storageProvider.d.ts +19 -0
  76. package/dist/api/types/storyblok.d.ts +40 -0
  77. package/dist/api/types/streaming.d.ts +97 -0
  78. package/dist/api/types/systemCheck.d.ts +11 -0
  79. package/dist/api/types/tag.d.ts +12 -0
  80. package/dist/api/types/time.d.ts +7 -0
  81. package/dist/{types → api/types}/timelapse.d.ts +23 -5
  82. package/dist/{types → api/types}/user.d.ts +106 -40
  83. package/dist/api/types/videoWall.d.ts +66 -0
  84. package/dist/api/types/weather.d.ts +153 -0
  85. package/dist/{types → api/types}/widget.d.ts +106 -20
  86. package/dist/api/types/xweather.d.ts +12 -0
  87. package/dist/index.d.ts +2 -3
  88. package/dist/index.js +2731 -1060
  89. package/dist/index.js.map +1 -1
  90. package/dist/index.umd.cjs +1 -1
  91. package/dist/index.umd.cjs.map +1 -1
  92. package/dist/shared/api/index.d.ts +3 -0
  93. package/dist/shared/components/timelinePlayer/providers/index.d.ts +3 -0
  94. package/dist/shared/components/timelinePlayer/providers/timelineAnprProvider.d.ts +17 -0
  95. package/dist/shared/components/timelinePlayer/providers/timelineDataProvider.d.ts +13 -0
  96. package/dist/shared/components/timelinePlayer/providers/timelineLuminanceProvider.d.ts +16 -0
  97. package/dist/shared/types/components.d.ts +334 -0
  98. package/dist/shared/types/customDataTableFilters.d.ts +10 -0
  99. package/dist/shared/types/imagePlayer.d.ts +41 -0
  100. package/dist/shared/types/index.d.ts +6 -0
  101. package/dist/shared/types/rbac.d.ts +67 -0
  102. package/dist/shared/types/timeline.d.ts +10 -0
  103. package/package.json +10 -7
  104. package/dist/api/3dFirebaseApi.d.ts +0 -9
  105. package/dist/api/adminApi.d.ts +0 -281
  106. package/dist/api/aiApi.d.ts +0 -73
  107. package/dist/api/authzApi.d.ts +0 -21
  108. package/dist/api/evercamApi.d.ts +0 -266
  109. package/dist/api/evercamLabsApi.d.ts +0 -50
  110. package/dist/api/ingestApi.d.ts +0 -65
  111. package/dist/api/videoWallApi.d.ts +0 -9
  112. package/dist/api/weatherApi.d.ts +0 -25
  113. package/dist/types/360.d.ts +0 -83
  114. package/dist/types/aconex.d.ts +0 -45
  115. package/dist/types/automation.d.ts +0 -6
  116. package/dist/types/comments.d.ts +0 -36
  117. package/dist/types/company.d.ts +0 -46
  118. package/dist/types/connector.d.ts +0 -16
  119. package/dist/types/detections.d.ts +0 -62
  120. package/dist/types/devices.d.ts +0 -228
  121. package/dist/types/drone.d.ts +0 -17
  122. package/dist/types/ingest.d.ts +0 -43
  123. package/dist/types/map.d.ts +0 -4
  124. package/dist/types/notification.d.ts +0 -27
  125. package/dist/types/procore.d.ts +0 -76
  126. package/dist/types/project.d.ts +0 -120
  127. package/dist/types/shares.d.ts +0 -192
  128. package/dist/types/siteAnalytics.d.ts +0 -5
  129. package/dist/types/sitePlanner.d.ts +0 -23
  130. package/dist/types/snapshots.d.ts +0 -50
  131. package/dist/types/storageServers.d.ts +0 -4
  132. package/dist/types/streaming.d.ts +0 -120
  133. package/dist/types/time.d.ts +0 -19
  134. package/dist/types/videoWall.d.ts +0 -33
  135. package/dist/types/weather.d.ts +0 -83
  136. /package/dist/api/{client → api/client}/index.d.ts +0 -0
  137. /package/dist/api/{webRtcApi.d.ts → api/webRtcApi.d.ts} +0 -0
  138. /package/dist/{types → api/types}/vendorModel.d.ts +0 -0
  139. /package/dist/{types → api/types}/voyageControl.d.ts +0 -0
  140. /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,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
File without changes