@evercam/api 1.0.0-eea993f14 → 1.0.0-eefb67c4d

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 (102) hide show
  1. package/README.md +1 -0
  2. package/dist/api/api/3dFirebaseApi.d.ts +209 -15
  3. package/dist/api/api/adminApi.d.ts +96 -56
  4. package/dist/api/api/aiApi.d.ts +182 -55
  5. package/dist/api/api/authzApi.d.ts +26 -16
  6. package/dist/api/api/client/axios.d.ts +1 -1
  7. package/dist/api/api/client/swr/Swr.d.ts +1 -1
  8. package/dist/api/api/evercamApi.d.ts +152 -90
  9. package/dist/api/api/evercamLabsApi.d.ts +6 -18
  10. package/dist/api/api/exNvrApi.d.ts +1 -1
  11. package/dist/api/api/index.d.ts +1 -0
  12. package/dist/api/api/ingestApi.d.ts +123 -58
  13. package/dist/api/api/ptzApi.d.ts +9 -4
  14. package/dist/api/api/videoWallApi.d.ts +2 -2
  15. package/dist/api/api/weatherApi.d.ts +2 -2
  16. package/dist/api/api/workflowsApi.d.ts +15 -0
  17. package/dist/api/types/360.d.ts +176 -85
  18. package/dist/api/types/aconex.d.ts +9 -9
  19. package/dist/api/types/admin.d.ts +51 -0
  20. package/dist/api/types/aiConfigs.d.ts +244 -0
  21. package/dist/api/types/analytics.d.ts +128 -74
  22. package/dist/api/types/anpr.d.ts +48 -2
  23. package/dist/api/types/auditLogs.d.ts +20 -5
  24. package/dist/api/types/authz.d.ts +116 -12
  25. package/dist/api/types/autodesk.d.ts +7 -7
  26. package/dist/api/types/automation.d.ts +65 -3
  27. package/dist/api/types/axios.d.ts +20 -15
  28. package/dist/api/types/bim.d.ts +39 -10
  29. package/dist/api/types/camera.d.ts +120 -115
  30. package/dist/api/types/comments.d.ts +16 -11
  31. package/dist/api/types/company.d.ts +43 -3
  32. package/dist/api/types/compare.d.ts +21 -6
  33. package/dist/api/types/connector.d.ts +5 -5
  34. package/dist/api/types/coolify.d.ts +18 -2
  35. package/dist/api/types/detections.d.ts +23 -18
  36. package/dist/api/types/drone.d.ts +95 -6
  37. package/dist/api/types/errors.d.ts +18 -2
  38. package/dist/api/types/gateReport.d.ts +46 -68
  39. package/dist/api/types/gateReportManagement.d.ts +170 -0
  40. package/dist/api/types/hammertech.d.ts +98 -0
  41. package/dist/api/types/hdd.d.ts +26 -1
  42. package/dist/api/types/index.d.ts +15 -3
  43. package/dist/api/types/ingest.d.ts +267 -17
  44. package/dist/api/types/kit.d.ts +55 -105
  45. package/dist/api/types/map.d.ts +12 -0
  46. package/dist/api/types/media.d.ts +9 -3
  47. package/dist/api/types/notification.d.ts +83 -3
  48. package/dist/api/types/oauth.d.ts +62 -0
  49. package/dist/api/types/observationEvents.d.ts +141 -0
  50. package/dist/api/types/observations.d.ts +84 -0
  51. package/dist/api/types/planner.d.ts +98 -8
  52. package/dist/api/types/posthog.d.ts +35 -0
  53. package/dist/api/types/procore.d.ts +13 -6
  54. package/dist/api/types/progressPhoto.d.ts +6 -2
  55. package/dist/api/types/project.d.ts +111 -25
  56. package/dist/api/types/recording.d.ts +9 -15
  57. package/dist/api/types/recycleBin.d.ts +1 -1
  58. package/dist/api/types/ring.d.ts +53 -0
  59. package/dist/api/types/roi.d.ts +3 -11
  60. package/dist/api/types/routeParams.d.ts +1 -0
  61. package/dist/api/types/router.d.ts +1 -1
  62. package/dist/api/types/shared.d.ts +33 -24
  63. package/dist/api/types/shares.d.ts +1 -14
  64. package/dist/api/types/sim.d.ts +6 -6
  65. package/dist/api/types/siteAnalytics.d.ts +81 -43
  66. package/dist/api/types/siteAnalyticsManagement.d.ts +127 -0
  67. package/dist/api/types/siteView.d.ts +78 -0
  68. package/dist/api/types/smartSeach.d.ts +5 -0
  69. package/dist/api/types/snapshots.d.ts +49 -4
  70. package/dist/api/types/socket.d.ts +4 -0
  71. package/dist/api/types/storageProvider.d.ts +19 -0
  72. package/dist/api/types/storyblok.d.ts +27 -0
  73. package/dist/api/types/streaming.d.ts +3 -3
  74. package/dist/api/types/tag.d.ts +1 -1
  75. package/dist/api/types/time.d.ts +0 -18
  76. package/dist/api/types/timelapse.d.ts +7 -11
  77. package/dist/api/types/user.d.ts +106 -37
  78. package/dist/api/types/videoWall.d.ts +21 -21
  79. package/dist/api/types/weather.d.ts +75 -11
  80. package/dist/api/types/widget.d.ts +71 -12
  81. package/dist/api/types/workflows.d.ts +108 -0
  82. package/dist/api/types/xweather.d.ts +4 -4
  83. package/dist/api/utils.d.ts +1 -1
  84. package/dist/index.js +2431 -965
  85. package/dist/index.js.map +1 -1
  86. package/dist/index.umd.cjs +1 -1
  87. package/dist/index.umd.cjs.map +1 -1
  88. package/dist/shared/types/components.d.ts +336 -34
  89. package/dist/shared/types/customDataTableFilters.d.ts +10 -0
  90. package/dist/shared/types/droneUpload.d.ts +67 -0
  91. package/dist/shared/types/imagePlayer.d.ts +9 -2
  92. package/dist/shared/types/index.d.ts +5 -0
  93. package/dist/shared/types/observations.d.ts +25 -0
  94. package/dist/shared/types/rbac.d.ts +67 -0
  95. package/dist/shared/types/report.d.ts +101 -0
  96. package/dist/shared/types/timeline.d.ts +2 -1
  97. package/dist/shared/utils/datePickerValue.d.ts +36 -0
  98. package/dist/shared/utils/datePresets.d.ts +31 -0
  99. package/package.json +4 -2
  100. package/dist/api/types/copilot.d.ts +0 -157
  101. package/dist/api/types/storageServers.d.ts +0 -4
  102. package/dist/api/types/vendorModel.d.ts +0 -15
@@ -1,96 +1,161 @@
1
1
  import type { AxiosRequestConfig } from "axios";
2
- import type { _360AssetsQueryParams, _360AssetsRequestPayload, _360QueueQueryParams, _360AssetsUploadPayload, BimUploadPayload, BimUploadsQueryParams, CalculateMeasuringOperationRequestPayload, DrawingsRequestPayload, DronesQueryParams, DroneUploadUpdateRequestPayload, FlightImagesQueryParams, Generate360MapRequestPayload, GenerateFloorPayload, InspectionToolRequestPayload, MobileCaptureSnapshot } from "@evercam/api/types";
3
- import { IngestVersions } from "@evercam/api/types";
4
- export declare const getIngestApiUrl: (version: string) => string | undefined | null;
2
+ import type { SwrRequestConfig } from "@evercam/api/types";
3
+ import type { _360AssetsQueryParams, _360AssetsRequestPayload, _360QueueQueryParams, _360AssetsUploadPayload, _360AssetsResponse, _360AssetsCountsResponse, _360QueueResponse, _360FloorsResponse, DroneQueueResponse, DroneUploadsResponse, IngestUploadInitResponse, BimUploadsResponse, MobileAssetsQueryParams, MobileCaptureAssetsResponse, BimUploadPayload, BimUploadsQueryParams, CalculateMeasuringOperationRequestPayload, DrawingsRequestPayload, DronesQueryParams, DroneCreation, DroneCreated, DroneProcessingTarget, DroneUploadItem, DroneFileAllocation, DroneFileStates, DroneCompletion, DroneDeletion, DroneReprocessResponse, AerialAllocation, AerialUploadStates, AerialShotPage, IngestProcessingProgress, FlightImagesQueryParams, Generate360MapRequestPayload, GenerateFloorPayload, InspectionToolRequestPayload, JsonObject, _360WalkV2, _360FloorV2 } from "@evercam/api/types";
4
+ import { IngestTypes } from "@evercam/api/types";
5
+ export declare const getIngestApiUrls: (type: string) => string[];
5
6
  export declare const IngestApi: {
6
7
  drone: {
7
- createUpload(projectId: string, params: {
8
- uploadedBy: string;
9
- }): Promise<import("axios").AxiosResponse<any, any>>;
10
- reprocessDrone(id: number, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
8
+ createProcessing(ingestUrl: string, payload: DroneCreation, signal?: AbortSignal): Promise<DroneCreated>;
9
+ getProcessing({ ingestUrl, id }: DroneProcessingTarget, signal?: AbortSignal): Promise<DroneUploadItem>;
10
+ getFlightProcessing(projectId: string, date: string): Promise<DroneUploadItem>;
11
+ allocateFiles({ ingestUrl, id }: DroneProcessingTarget, files: DroneFileAllocation[], signal?: AbortSignal): Promise<DroneFileStates>;
12
+ acknowledgeFiles({ ingestUrl, id }: DroneProcessingTarget, filenames: string[], signal?: AbortSignal): Promise<DroneCompletion>;
13
+ completeProcessing({ ingestUrl, id }: DroneProcessingTarget, signal?: AbortSignal): Promise<DroneCompletion>;
14
+ deleteFiles(id: number, filenames?: string[]): Promise<DroneDeletion>;
15
+ allocateAerialShots({ ingestUrl, id }: DroneProcessingTarget, aerialShots: AerialAllocation[], signal?: AbortSignal): Promise<AerialUploadStates>;
16
+ acknowledgeAerialShots({ ingestUrl, id }: DroneProcessingTarget, filenames: string[], signal?: AbortSignal): Promise<AerialUploadStates>;
17
+ getAerialShots(id: number, params?: {
18
+ cursor?: string;
19
+ limit?: number;
20
+ processingStatus?: string;
21
+ }): Promise<AerialShotPage>;
22
+ deleteAerialShots(id: number, filenames?: string[]): Promise<DroneDeletion>;
23
+ reprocessDrone(id: number, params?: JsonObject): Promise<DroneReprocessResponse>;
11
24
  getDrones(params: {
12
25
  params: Partial<DronesQueryParams>;
13
- }): Promise<import("axios").AxiosResponse<any, any>>;
26
+ }): Promise<DroneUploadsResponse>;
27
+ getProcessingProgress(id: number): Promise<IngestProcessingProgress>;
14
28
  getArchive(id: number, params: {
15
29
  dataType: string;
16
- }): Promise<import("axios").AxiosResponse<any, any>>;
17
- deleteUpload(id: number): Promise<import("axios").AxiosResponse<any, any>>;
18
- prepareForUpload(projectId: string, params: {
19
- uploadedBy: string;
20
- token: string;
21
- }): Promise<import("axios").AxiosResponse<any, any>>;
22
- upload(projectId: string, params: {
23
- uploadedBy: string;
24
- token: string;
25
- }, payload: DroneUploadUpdateRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
26
- verifyToken(projectId: string, params: {
27
- token: string;
28
- }): Promise<import("axios").AxiosResponse<any, any>>;
29
- calculateMeasuringOperation(projectId: string, params: CalculateMeasuringOperationRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
30
- inspectionTool(projectId: string, params: InspectionToolRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
31
- isInspectionEnabled(projectId: string, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
32
- getDroneQueueSize(version?: IngestVersions): Promise<Record<string, any>>;
33
- getFlightImages(projectId: string, params: FlightImagesQueryParams): Promise<import("axios").AxiosResponse<any, any>>;
34
- checkFlightAvailableFeatures(projectId: string, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
30
+ }): Promise<string>;
31
+ deleteUpload(id: number): Promise<void>;
32
+ calculateMeasuringOperation(projectId: string, params: CalculateMeasuringOperationRequestPayload, ingestUrl?: string): Promise<JsonObject>;
33
+ inspectionTool(projectId: string, params: InspectionToolRequestPayload): Promise<JsonObject>;
34
+ getDroneQueueSize(droneUrl: string): Promise<DroneQueueResponse>;
35
+ getFlightImages(projectId: string, params: FlightImagesQueryParams): Promise<JsonObject>;
36
+ checkFlightAvailableFeatures(projectId: string, params: JsonObject): Promise<JsonObject>;
35
37
  };
36
38
  assets360: {
37
39
  get360Assets(params: {
38
40
  params: Partial<_360AssetsQueryParams>;
39
- }, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
41
+ }): Promise<_360AssetsResponse>;
40
42
  get360AssetsCounts(projectId: string, params: {
41
43
  uploadedBy: string;
42
- }, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
43
- get360AssetLink(projectId: string, date: string, floor: string, assetType: string, drawingId: string, marker: string | null): Promise<import("axios").AxiosResponse<any, any>>;
44
- update360(id: number, payload: _360AssetsRequestPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
45
- update360ByProjectDateName(projectId: string, date: string, floor: string, payload: _360AssetsRequestPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
46
- deleteUpload(id: number, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
44
+ }): Promise<_360AssetsCountsResponse>;
45
+ update360(id: number, payload: _360AssetsRequestPayload): Promise<_360WalkV2>;
46
+ update360ByProjectDateName(projectId: string, date: string, floor: string, payload: Partial<_360AssetsRequestPayload> & {
47
+ drawingId?: number;
48
+ }): Promise<_360WalkV2>;
49
+ deleteUpload(id: number): Promise<void>;
47
50
  getArchive(id: number, params: {
48
- dateType: string;
49
- }, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
50
- createUpload(projectId: string, params: _360AssetsRequestPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
51
- upload(id: number, params: Record<string, unknown>, payload: _360AssetsUploadPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
52
- reprocess360(id: number, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
51
+ dataType: string;
52
+ }): Promise<string>;
53
+ get360Progress(id: number): Promise<IngestProcessingProgress>;
54
+ createUpload(projectId: string, params: _360AssetsRequestPayload): Promise<IngestUploadInitResponse>;
55
+ upload(id: number, params: JsonObject, payload: _360AssetsUploadPayload): Promise<_360WalkV2>;
56
+ reprocess360(id: number): Promise<void>;
53
57
  drawingExists(payload: {
54
58
  params: {
55
59
  name: string;
56
60
  project_id: string;
57
61
  };
58
- }, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
62
+ }): Promise<JsonObject>;
59
63
  getDrawings(payload: {
60
64
  params: DrawingsRequestPayload;
61
- config: AxiosRequestConfig;
62
- }, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
63
- getDrawingById(id: number, projectExid: string, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
64
- updateDrawing(id: number, projectExid: string, payload: GenerateFloorPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
65
- deleteDrawing(id: number, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
66
- transferWalks(sourceId: number, targetId: number, projectExid: string, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
67
- createDrawing(projectExid: string, payload: GenerateFloorPayload, createdBy: string, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
65
+ config?: SwrRequestConfig<_360FloorsResponse>;
66
+ }): Promise<_360FloorsResponse>;
67
+ getDrawingById(id: number, projectExid: string): Promise<_360FloorV2>;
68
+ updateDrawing(id: number, projectExid: string, payload: GenerateFloorPayload): Promise<_360FloorV2>;
69
+ deleteDrawing(id: number): Promise<void>;
70
+ restoreDrawing(id: number): Promise<void>;
71
+ transferWalks(sourceId: number, targetId: number, projectExid: string): Promise<void>;
72
+ createDrawing(projectExid: string, payload: GenerateFloorPayload, createdBy: string): Promise<_360FloorV2>;
68
73
  fetchDrawingOverlay(id: number, params: {
69
74
  view: boolean;
70
- }, onDownloadProgress: (_progress: any) => {}, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
71
- generate360map(projectId: string, params: Generate360MapRequestPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
72
- get360QueueSize(params: _360QueueQueryParams, version?: IngestVersions): Promise<Record<string, any>>;
75
+ thumbnail?: boolean;
76
+ }, onDownloadProgress?: (progress: ProgressEvent) => void, extraConfig?: AxiosRequestConfig): Promise<string>;
77
+ getFloorArchive(id: number): Promise<string>;
78
+ generate360map(projectId: string, params: Generate360MapRequestPayload): Promise<JsonObject>;
79
+ get360QueueSize(ingestUrl: string, params?: _360QueueQueryParams): Promise<_360QueueResponse>;
73
80
  };
74
81
  bim: {
75
82
  createUpload(projectId: string, params: {
76
83
  uploadedBy: string;
77
- }): Promise<import("axios").AxiosResponse<any, any>>;
84
+ }): Promise<IngestUploadInitResponse>;
78
85
  getBIMs(params: {
79
86
  params: Partial<BimUploadsQueryParams>;
80
- }): Promise<import("axios").AxiosResponse<any, any>>;
81
- getArchive(id: number): Promise<import("axios").AxiosResponse<any, any>>;
82
- deleteUpload(id: number): Promise<import("axios").AxiosResponse<any, any>>;
87
+ }): Promise<BimUploadsResponse>;
88
+ getArchive(id: number): Promise<Blob>;
89
+ deleteUpload(id: number): Promise<void>;
83
90
  upload(projectId: string, params: {
84
91
  id: string;
85
92
  name: string;
86
- }, payload: BimUploadPayload): Promise<import("axios").AxiosResponse<any, any>>;
93
+ }, payload: BimUploadPayload): Promise<void>;
94
+ };
95
+ webhook: {
96
+ notifyBimUpdated(projectId: string, bimIdentifier: string): Promise<void>;
87
97
  };
88
98
  mobileCapture: {
89
- getProjectMobileAssets(params: Record<string, unknown>, extraConfig?: AxiosRequestConfig, version?: IngestVersions): Promise<MobileCaptureSnapshot[]>;
90
- getMobileAssetPhoto(assetId: string | number, params: Record<string, unknown>, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
91
- deleteAsset(assetId: string | number, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
99
+ getProjectMobileAssets(params: MobileAssetsQueryParams, extraConfig?: AxiosRequestConfig): Promise<MobileCaptureAssetsResponse>;
100
+ getMobileAssetPhoto(assetId: string | number, params: {
101
+ projectId?: string;
102
+ project_id?: string;
103
+ isThumbnail?: boolean;
104
+ is_thumbnail?: boolean;
105
+ }): Promise<string>;
106
+ deleteAsset(assetId: string | number): Promise<void>;
92
107
  };
93
108
  utils: {
94
- loadAllAssetsInQueue(): Promise<any[]>;
109
+ loadAllAssetsInQueue(): Promise<({
110
+ ingestVersion: string;
111
+ id: number;
112
+ projectId: string;
113
+ flightDate: string;
114
+ flightGeolocation: string;
115
+ modelZip: string;
116
+ orthomosaicZip: string;
117
+ reportPdf: string;
118
+ processingLog: string;
119
+ uploadedBy: string;
120
+ processingStatus: import("@evercam/api/types").IngestProcessingStatus | string;
121
+ modelCesiumAssetId: string;
122
+ updatedAt: string;
123
+ canDelete: boolean;
124
+ canReprocess: boolean;
125
+ hasSteps: boolean;
126
+ aerialShotsCount: number;
127
+ } | {
128
+ ingestVersion: string;
129
+ archive: string;
130
+ date: string;
131
+ deviceSerial: string | null;
132
+ endPosition: string | null;
133
+ floor: string;
134
+ floorId: number;
135
+ id: number;
136
+ images: string[];
137
+ insertedAt: string;
138
+ mobileAudios: string[];
139
+ mobileAudiosArchive: string;
140
+ mobilePhotos: string[];
141
+ mobilePhotosArchive: string;
142
+ model: string;
143
+ name: string;
144
+ processingStatus: string;
145
+ projectId: string;
146
+ report: string;
147
+ processingLog: string;
148
+ hasSteps?: boolean;
149
+ route: unknown | null;
150
+ startPosition: string | null;
151
+ tusLinks: unknown | null;
152
+ updatedAt: string;
153
+ uploadedBy: string;
154
+ videoArchive: string;
155
+ videos: string[];
156
+ })[]>;
157
+ getIngestNumber(ingestUrl: string): number;
158
+ getIngestVersion(ingestUrl: string): string;
159
+ chooseIngestApiUrl(type: IngestTypes, isTieToNewest?: boolean): Promise<string>;
95
160
  };
96
161
  };
@@ -1,9 +1,14 @@
1
- import { MoveParams, ZoomParams } from "@/types";
1
+ import { MoveParams, ZoomParams } from "@evercam/api/types";
2
2
  export declare const PtzApi: {
3
3
  presets: {
4
- index({ cameraExid }: {
5
- cameraExid: string;
6
- }): Promise<import("axios").AxiosResponse<any, any>>;
4
+ index({ cameraExid, }: {
5
+ cameraExid: string;
6
+ }): Promise<{
7
+ presets: Array<{
8
+ name: string;
9
+ token: string;
10
+ }>;
11
+ }>;
7
12
  go({ cameraExid, presetId, }: {
8
13
  cameraExid: string;
9
14
  presetId: string | number;
@@ -1,7 +1,7 @@
1
1
  import { type PaginatedItems } from "@evercam/shared/types";
2
- import { VideoWall, ListParams, VideoWallCreateUpdatePayload } from "@evercam/api/types/videoWall";
2
+ import { VideoWall, VideoWallListParams, VideoWallCreateUpdatePayload } from "@evercam/api/types/videoWall";
3
3
  export declare const VideoWallApi: {
4
- list(params?: ListParams): Promise<import("axios").AxiosResponse<PaginatedItems<VideoWall>, any>>;
4
+ list(params?: VideoWallListParams): Promise<import("axios").AxiosResponse<PaginatedItems<VideoWall>, any>>;
5
5
  create(body: VideoWallCreateUpdatePayload): Promise<import("axios").AxiosResponse<VideoWall, any>>;
6
6
  get(exid: string | number): Promise<import("axios").AxiosResponse<VideoWall, any>>;
7
7
  update(exid: string | number, body: Partial<VideoWallCreateUpdatePayload>): Promise<import("axios").AxiosResponse<VideoWall, any>>;
@@ -1,9 +1,9 @@
1
- import { CurrentWeatherRequestPayload, HistoryWeatherRequestPayload, WeatherDataResponse, WeatherResponsePayload } from "@evercam/api/types";
1
+ import { CurrentWeatherRequestPayload, HistoryWeatherRequestPayload, WeatherDataResponse, WeatherReportRequestPayload, WeatherResponsePayload } from "@evercam/api/types";
2
2
  import { AxiosRequestConfig } from "axios";
3
3
  export declare const WeatherApi: {
4
4
  current(projectExid: string, payload: CurrentWeatherRequestPayload): Promise<WeatherResponsePayload> | undefined;
5
5
  historical(projectExid: string, payload: HistoryWeatherRequestPayload): Promise<WeatherResponsePayload> | undefined;
6
- report(projectExid: string, payload: HistoryWeatherRequestPayload, config?: AxiosRequestConfig): Promise<{
6
+ report(projectExid: string, payload: WeatherReportRequestPayload, config?: AxiosRequestConfig): Promise<{
7
7
  data: WeatherDataResponse[];
8
8
  }> | undefined;
9
9
  };
@@ -0,0 +1,15 @@
1
+ import { type ChatListPage, type ChatListParams, type ChatSession } from "@evercam/api/types";
2
+ /**
3
+ * The Evercam Workflows engine, for the admin Chat conversations viewer.
4
+ *
5
+ * The engine speaks camelCase natively, so every call preserves casing rather than
6
+ * running the snake conversion the media API needs. The admin's bearer is attached
7
+ * by the shared request interceptor — an admin resolves `is_admin` on the engine, so
8
+ * `scope=all` returns every user's conversations.
9
+ */
10
+ export declare const WorkflowsApi: {
11
+ chat: {
12
+ listConversations(params?: ChatListParams): Promise<ChatListPage>;
13
+ getConversation(id: string): Promise<ChatSession>;
14
+ };
15
+ };