@evercam/api 1.0.0-ba2cdcb68 → 1.0.0-babd9ee76

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 (59) hide show
  1. package/README.md +3 -0
  2. package/dist/api/api/3dFirebaseApi.d.ts +16 -1
  3. package/dist/api/api/adminApi.d.ts +66 -12
  4. package/dist/api/api/aiApi.d.ts +26 -45
  5. package/dist/api/api/authzApi.d.ts +10 -1
  6. package/dist/api/api/client/axios.d.ts +1 -0
  7. package/dist/api/api/client/swr/Swr.d.ts +14 -0
  8. package/dist/api/api/client/swr/SwrStore.d.ts +10 -0
  9. package/dist/api/api/evercamApi.d.ts +42 -21
  10. package/dist/api/api/evercamLabsApi.d.ts +5 -2
  11. package/dist/api/api/ingestApi.d.ts +39 -11
  12. package/dist/api/api/ptzApi.d.ts +4 -0
  13. package/dist/api/api/videoWallApi.d.ts +7 -7
  14. package/dist/api/types/360.d.ts +188 -3
  15. package/dist/api/types/aconex.d.ts +102 -4
  16. package/dist/api/types/analytics.d.ts +89 -6
  17. package/dist/api/types/anpr.d.ts +5 -11
  18. package/dist/api/types/authz.d.ts +23 -0
  19. package/dist/api/types/automation.d.ts +51 -0
  20. package/dist/api/types/axios.d.ts +15 -0
  21. package/dist/api/types/camera.d.ts +23 -5
  22. package/dist/api/types/comments.d.ts +18 -2
  23. package/dist/api/types/company.d.ts +29 -1
  24. package/dist/api/types/coolify.d.ts +2 -0
  25. package/dist/api/types/countries.d.ts +0 -7
  26. package/dist/api/types/credentials.d.ts +1 -0
  27. package/dist/api/types/detections.d.ts +5 -20
  28. package/dist/api/types/errors.d.ts +1 -0
  29. package/dist/api/types/gateReport.d.ts +4 -101
  30. package/dist/api/types/index.d.ts +3 -0
  31. package/dist/api/types/ingest.d.ts +4 -0
  32. package/dist/api/types/kit.d.ts +55 -7
  33. package/dist/api/types/planner.d.ts +4 -1
  34. package/dist/api/types/procore.d.ts +13 -10
  35. package/dist/api/types/progressPhoto.d.ts +5 -23
  36. package/dist/api/types/project.d.ts +47 -3
  37. package/dist/api/types/recording.d.ts +1 -0
  38. package/dist/api/types/recycleBin.d.ts +14 -0
  39. package/dist/api/types/routeParams.d.ts +2 -1
  40. package/dist/api/types/router.d.ts +19 -0
  41. package/dist/api/types/shared.d.ts +1 -6
  42. package/dist/api/types/shares.d.ts +5 -5
  43. package/dist/api/types/siteAnalytics.d.ts +135 -29
  44. package/dist/api/types/snapshots.d.ts +9 -0
  45. package/dist/api/types/sso.d.ts +55 -0
  46. package/dist/api/types/streaming.d.ts +1 -2
  47. package/dist/api/types/time.d.ts +4 -0
  48. package/dist/api/types/user.d.ts +4 -0
  49. package/dist/api/types/videoWall.d.ts +34 -1
  50. package/dist/api/types/weather.d.ts +2 -0
  51. package/dist/api/types/widget.d.ts +27 -6
  52. package/dist/api/utils.d.ts +1 -0
  53. package/dist/index.js +1209 -806
  54. package/dist/index.js.map +1 -1
  55. package/dist/index.umd.cjs +1 -1
  56. package/dist/index.umd.cjs.map +1 -1
  57. package/dist/shared/types/components.d.ts +18 -3
  58. package/dist/shared/types/imagePlayer.d.ts +1 -1
  59. package/package.json +5 -4
@@ -5,6 +5,8 @@ export type HistoryWeatherRequestPayload = {
5
5
  };
6
6
  export type CurrentWeatherRequestPayload = {
7
7
  provider: WeatherProvider;
8
+ includeForecast?: boolean;
9
+ forecastDays?: number;
8
10
  };
9
11
  export type WeatherResponsePayload = Array<{
10
12
  hour?: number;
@@ -53,6 +53,19 @@ export declare enum VideoWallWidgetSettingsKeys {
53
53
  Height = "height",
54
54
  HeightResolution = "heightResolution"
55
55
  }
56
+ export declare enum ThreeSixtyKeys {
57
+ DateId = "dateId",
58
+ DateLocked = "dateLocked",
59
+ FloorId = "floorId",
60
+ FloorLocked = "floorLocked",
61
+ Marker = "markerId",
62
+ MarkerLocked = "markerLocked",
63
+ MediaLocked = "mediaLocked",
64
+ Width = "width",
65
+ WidthResolution = "resolution",
66
+ Height = "height",
67
+ HeightResolution = "heightResolution"
68
+ }
56
69
  export type CommonWidgetSettings = {
57
70
  width: number;
58
71
  resolution: string;
@@ -65,6 +78,8 @@ export type RecordingsWidgetSettings = CommonWidgetSettings & {
65
78
  hasDelay: boolean;
66
79
  delay: number;
67
80
  delayUnit: DelayUnit;
81
+ hasRange: boolean;
82
+ dateRange: [DateTime, DateTime] | null;
68
83
  };
69
84
  export type LiveViewWidgetSettings = CommonWidgetSettings & {
70
85
  fullscreen: boolean;
@@ -81,12 +96,18 @@ export type VideoWallWidgetSettings = CommonWidgetSettings & {
81
96
  preset: VideoWallPresetItemConfig;
82
97
  refreshRate: number;
83
98
  };
84
- export type WidgetSettings = RecordingsWidgetSettings | LiveViewWidgetSettings | BimCompareWidgetSettings | VideoWallWidgetSettings;
99
+ export type ThreeSixtyWidgetSettings = CommonWidgetSettings & {
100
+ dateId: string;
101
+ floorId: string;
102
+ markerId: string;
103
+ };
104
+ export type WidgetSettings = RecordingsWidgetSettings | LiveViewWidgetSettings | BimCompareWidgetSettings | VideoWallWidgetSettings | ThreeSixtyWidgetSettings;
85
105
  export declare enum WidgetType {
86
106
  LiveWidget = "Live View",
87
107
  Recording = "Recordings",
88
108
  BimCompare = "BIM Compare",
89
- VideoWall = "Video Wall"
109
+ VideoWall = "Video Wall",
110
+ ThreeSixty = "360"
90
111
  }
91
112
  export declare const WidgetTypesByResource: {
92
113
  camera: WidgetType[];
@@ -99,7 +120,7 @@ export type WidgetsListRequestPayload = PaginationParams & {
99
120
  active: boolean;
100
121
  settings: WidgetSettings;
101
122
  widgetType: WidgetType;
102
- isPublic: boolean;
123
+ domainRestricted: boolean;
103
124
  allowedOrigin: string;
104
125
  };
105
126
  export type Widget = {
@@ -119,7 +140,7 @@ export type Widget = {
119
140
  widgetType: WidgetType;
120
141
  settings: WidgetSettings;
121
142
  allowedOrigin: string;
122
- isPublic: boolean;
143
+ domainRestricted: boolean;
123
144
  active: boolean;
124
145
  user: {
125
146
  id: number;
@@ -155,7 +176,7 @@ export type WidgetFull = {
155
176
  settings: WidgetSettings;
156
177
  sessionSettings: any;
157
178
  allowedOrigin: string;
158
- isPublic: boolean;
179
+ domainRestricted: boolean;
159
180
  insertedAt: DateTime;
160
181
  updatedAt: DateTime;
161
182
  };
@@ -167,6 +188,6 @@ export type WidgetPayload = {
167
188
  widgetType: WidgetType;
168
189
  active: boolean;
169
190
  settings: WidgetSettings;
170
- isPublic: boolean;
191
+ domainRestricted: boolean;
171
192
  allowedOrigin: string;
172
193
  };
@@ -7,3 +7,4 @@ export declare const toQueryString: <T extends Record<string, unknown>>(paramsOb
7
7
  forceArrayBrackets?: boolean | undefined;
8
8
  }) => string | undefined;
9
9
  export declare function queryStringToObject(queryString?: string): QueryParams;
10
+ export declare function capitalizeFirstLetter(inputString: string): string;