@evercam/api 1.0.0-bc5229297 → 1.0.0-bc621a120

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 (63) hide show
  1. package/README.md +1 -0
  2. package/dist/api/api/3dFirebaseApi.d.ts +60 -34
  3. package/dist/api/api/adminApi.d.ts +19 -15
  4. package/dist/api/api/aiApi.d.ts +124 -2
  5. package/dist/api/api/authzApi.d.ts +4 -1
  6. package/dist/api/api/evercamApi.d.ts +32 -12
  7. package/dist/api/api/evercamLabsApi.d.ts +5 -5
  8. package/dist/api/api/ingestApi.d.ts +21 -7
  9. package/dist/api/types/360.d.ts +122 -43
  10. package/dist/api/types/aiConfigs.d.ts +244 -0
  11. package/dist/api/types/analytics.d.ts +36 -9
  12. package/dist/api/types/anpr.d.ts +31 -2
  13. package/dist/api/types/auditLogs.d.ts +18 -0
  14. package/dist/api/types/authz.d.ts +71 -0
  15. package/dist/api/types/automation.d.ts +23 -4
  16. package/dist/api/types/axios.d.ts +8 -9
  17. package/dist/api/types/bim.d.ts +28 -5
  18. package/dist/api/types/camera.d.ts +7 -10
  19. package/dist/api/types/comments.d.ts +10 -7
  20. package/dist/api/types/connector.d.ts +2 -0
  21. package/dist/api/types/copilot.d.ts +0 -3
  22. package/dist/api/types/detections.d.ts +3 -10
  23. package/dist/api/types/drone.d.ts +7 -7
  24. package/dist/api/types/errors.d.ts +13 -1
  25. package/dist/api/types/gateReport.d.ts +1 -11
  26. package/dist/api/types/gateReportManagement.d.ts +170 -0
  27. package/dist/api/types/hammertech.d.ts +98 -0
  28. package/dist/api/types/index.d.ts +7 -1
  29. package/dist/api/types/ingest.d.ts +90 -3
  30. package/dist/api/types/kit.d.ts +41 -51
  31. package/dist/api/types/media.d.ts +8 -2
  32. package/dist/api/types/notification.d.ts +41 -2
  33. package/dist/api/types/observationEvents.d.ts +140 -0
  34. package/dist/api/types/observations.d.ts +84 -0
  35. package/dist/api/types/planner.d.ts +3 -11
  36. package/dist/api/types/posthog.d.ts +20 -0
  37. package/dist/api/types/project.d.ts +7 -0
  38. package/dist/api/types/recording.d.ts +5 -12
  39. package/dist/api/types/ring.d.ts +16 -16
  40. package/dist/api/types/roi.d.ts +2 -10
  41. package/dist/api/types/routeParams.d.ts +1 -0
  42. package/dist/api/types/shared.d.ts +1 -19
  43. package/dist/api/types/shares.d.ts +0 -13
  44. package/dist/api/types/siteAnalytics.d.ts +3 -5
  45. package/dist/api/types/siteAnalyticsManagement.d.ts +117 -0
  46. package/dist/api/types/siteView.d.ts +0 -1
  47. package/dist/api/types/snapshots.d.ts +13 -0
  48. package/dist/api/types/socket.d.ts +4 -0
  49. package/dist/api/types/storyblok.d.ts +0 -13
  50. package/dist/api/types/timelapse.d.ts +2 -13
  51. package/dist/api/types/user.d.ts +1 -4
  52. package/dist/api/utils.d.ts +0 -1
  53. package/dist/index.js +1453 -788
  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 +97 -33
  58. package/dist/shared/types/customDataTableFilters.d.ts +10 -0
  59. package/dist/shared/types/imagePlayer.d.ts +8 -1
  60. package/dist/shared/types/index.d.ts +2 -0
  61. package/dist/shared/types/observations.d.ts +25 -0
  62. package/package.json +4 -2
  63. package/dist/api/types/vendorModel.d.ts +0 -15
@@ -0,0 +1,4 @@
1
+ export type SocketAuthResponsePayload = {
2
+ wsToken: string;
3
+ expiresIn: number;
4
+ };
@@ -1,17 +1,4 @@
1
1
  import type { JsonObject, JsonValue } from "@evercam/api/types";
2
- export type StoryblokAsset = {
3
- id: number | null;
4
- alt: string | null;
5
- name: string;
6
- focus: string | null;
7
- title: string | null;
8
- filename: string;
9
- copyright: string | null;
10
- fieldtype: "asset";
11
- source?: string;
12
- metaData?: JsonObject;
13
- isExternalUrl?: boolean;
14
- };
15
2
  export type StoryblokStory<TContent extends JsonObject = JsonObject> = {
16
3
  id: number;
17
4
  uuid: string;
@@ -1,4 +1,4 @@
1
- import { DateType, Schedule } from "@evercam/api/types";
1
+ import { Point2D, Schedule } from "@evercam/api/types";
2
2
  export declare enum TimelapseStatus {
3
3
  Pending = 11,
4
4
  Completed = 5,
@@ -26,11 +26,7 @@ export type TimestampPositionCoordinates = {
26
26
  w: number;
27
27
  h: number;
28
28
  };
29
- export type BlurRegionPoint = {
30
- x: number;
31
- y: number;
32
- };
33
- export type BlurRegionCoordinates = BlurRegionPoint[];
29
+ export type BlurRegionCoordinates = Point2D[];
34
30
  export type TimelapseLogoOptions = {
35
31
  id?: number;
36
32
  x: number;
@@ -58,13 +54,6 @@ export declare enum TimelapseType {
58
54
  Year = "year",
59
55
  FullProject = "full_project"
60
56
  }
61
- export type TimelapseFilterQueryParams = {
62
- from?: DateType;
63
- to?: DateType;
64
- period?: TimelapsePeriod;
65
- duration?: number;
66
- schedule?: Schedule;
67
- };
68
57
  export type TimelapseCreationRequestPayload = {
69
58
  title: string;
70
59
  duration: number;
@@ -176,7 +176,6 @@ export type SessionActivitiesListRequestPayload = {
176
176
  };
177
177
  export type SignupUserRequestPayload = {
178
178
  telephone: string;
179
- token: string;
180
179
  firstname: string;
181
180
  lastname: string;
182
181
  email: string;
@@ -194,9 +193,6 @@ export type UserUpdateRequestPayload = {
194
193
  country: string;
195
194
  persona: string;
196
195
  };
197
- export type UserDeleteRequestPayload = {
198
- verifEmail: string;
199
- };
200
196
  export type GoogleAuthRequestPayload = {
201
197
  code: string;
202
198
  redirectUri: string;
@@ -338,6 +334,7 @@ export type ProjectUserWithRole = {
338
334
  name: string;
339
335
  exid: string;
340
336
  };
337
+ persona: Persona;
341
338
  permissions: string[];
342
339
  role: Role;
343
340
  subRoles: RoleSubRole[];
@@ -7,4 +7,3 @@ 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;