@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.
- package/README.md +1 -0
- package/dist/api/api/3dFirebaseApi.d.ts +209 -15
- package/dist/api/api/adminApi.d.ts +96 -56
- package/dist/api/api/aiApi.d.ts +182 -55
- package/dist/api/api/authzApi.d.ts +26 -16
- package/dist/api/api/client/axios.d.ts +1 -1
- package/dist/api/api/client/swr/Swr.d.ts +1 -1
- package/dist/api/api/evercamApi.d.ts +152 -90
- package/dist/api/api/evercamLabsApi.d.ts +6 -18
- package/dist/api/api/exNvrApi.d.ts +1 -1
- package/dist/api/api/index.d.ts +1 -0
- package/dist/api/api/ingestApi.d.ts +123 -58
- package/dist/api/api/ptzApi.d.ts +9 -4
- package/dist/api/api/videoWallApi.d.ts +2 -2
- package/dist/api/api/weatherApi.d.ts +2 -2
- package/dist/api/api/workflowsApi.d.ts +15 -0
- package/dist/api/types/360.d.ts +176 -85
- package/dist/api/types/aconex.d.ts +9 -9
- package/dist/api/types/admin.d.ts +51 -0
- package/dist/api/types/aiConfigs.d.ts +244 -0
- package/dist/api/types/analytics.d.ts +128 -74
- package/dist/api/types/anpr.d.ts +48 -2
- package/dist/api/types/auditLogs.d.ts +20 -5
- package/dist/api/types/authz.d.ts +116 -12
- package/dist/api/types/autodesk.d.ts +7 -7
- package/dist/api/types/automation.d.ts +65 -3
- package/dist/api/types/axios.d.ts +20 -15
- package/dist/api/types/bim.d.ts +39 -10
- package/dist/api/types/camera.d.ts +120 -115
- package/dist/api/types/comments.d.ts +16 -11
- package/dist/api/types/company.d.ts +43 -3
- package/dist/api/types/compare.d.ts +21 -6
- package/dist/api/types/connector.d.ts +5 -5
- package/dist/api/types/coolify.d.ts +18 -2
- package/dist/api/types/detections.d.ts +23 -18
- package/dist/api/types/drone.d.ts +95 -6
- package/dist/api/types/errors.d.ts +18 -2
- package/dist/api/types/gateReport.d.ts +46 -68
- package/dist/api/types/gateReportManagement.d.ts +170 -0
- package/dist/api/types/hammertech.d.ts +98 -0
- package/dist/api/types/hdd.d.ts +26 -1
- package/dist/api/types/index.d.ts +15 -3
- package/dist/api/types/ingest.d.ts +267 -17
- package/dist/api/types/kit.d.ts +55 -105
- package/dist/api/types/map.d.ts +12 -0
- package/dist/api/types/media.d.ts +9 -3
- package/dist/api/types/notification.d.ts +83 -3
- package/dist/api/types/oauth.d.ts +62 -0
- package/dist/api/types/observationEvents.d.ts +141 -0
- package/dist/api/types/observations.d.ts +84 -0
- package/dist/api/types/planner.d.ts +98 -8
- package/dist/api/types/posthog.d.ts +35 -0
- package/dist/api/types/procore.d.ts +13 -6
- package/dist/api/types/progressPhoto.d.ts +6 -2
- package/dist/api/types/project.d.ts +111 -25
- package/dist/api/types/recording.d.ts +9 -15
- package/dist/api/types/recycleBin.d.ts +1 -1
- package/dist/api/types/ring.d.ts +53 -0
- package/dist/api/types/roi.d.ts +3 -11
- package/dist/api/types/routeParams.d.ts +1 -0
- package/dist/api/types/router.d.ts +1 -1
- package/dist/api/types/shared.d.ts +33 -24
- package/dist/api/types/shares.d.ts +1 -14
- package/dist/api/types/sim.d.ts +6 -6
- package/dist/api/types/siteAnalytics.d.ts +81 -43
- package/dist/api/types/siteAnalyticsManagement.d.ts +127 -0
- package/dist/api/types/siteView.d.ts +78 -0
- package/dist/api/types/smartSeach.d.ts +5 -0
- package/dist/api/types/snapshots.d.ts +49 -4
- package/dist/api/types/socket.d.ts +4 -0
- package/dist/api/types/storageProvider.d.ts +19 -0
- package/dist/api/types/storyblok.d.ts +27 -0
- package/dist/api/types/streaming.d.ts +3 -3
- package/dist/api/types/tag.d.ts +1 -1
- package/dist/api/types/time.d.ts +0 -18
- package/dist/api/types/timelapse.d.ts +7 -11
- package/dist/api/types/user.d.ts +106 -37
- package/dist/api/types/videoWall.d.ts +21 -21
- package/dist/api/types/weather.d.ts +75 -11
- package/dist/api/types/widget.d.ts +71 -12
- package/dist/api/types/workflows.d.ts +108 -0
- package/dist/api/types/xweather.d.ts +4 -4
- package/dist/api/utils.d.ts +1 -1
- package/dist/index.js +2431 -965
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/dist/shared/types/components.d.ts +336 -34
- package/dist/shared/types/customDataTableFilters.d.ts +10 -0
- package/dist/shared/types/droneUpload.d.ts +67 -0
- package/dist/shared/types/imagePlayer.d.ts +9 -2
- package/dist/shared/types/index.d.ts +5 -0
- package/dist/shared/types/observations.d.ts +25 -0
- package/dist/shared/types/rbac.d.ts +67 -0
- package/dist/shared/types/report.d.ts +101 -0
- package/dist/shared/types/timeline.d.ts +2 -1
- package/dist/shared/utils/datePickerValue.d.ts +36 -0
- package/dist/shared/utils/datePresets.d.ts +31 -0
- package/package.json +4 -2
- package/dist/api/types/copilot.d.ts +0 -157
- package/dist/api/types/storageServers.d.ts +0 -4
- package/dist/api/types/vendorModel.d.ts +0 -15
|
@@ -1,96 +1,161 @@
|
|
|
1
1
|
import type { AxiosRequestConfig } from "axios";
|
|
2
|
-
import type {
|
|
3
|
-
import {
|
|
4
|
-
|
|
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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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<
|
|
26
|
+
}): Promise<DroneUploadsResponse>;
|
|
27
|
+
getProcessingProgress(id: number): Promise<IngestProcessingProgress>;
|
|
14
28
|
getArchive(id: number, params: {
|
|
15
29
|
dataType: string;
|
|
16
|
-
}): Promise<
|
|
17
|
-
deleteUpload(id: number): Promise<
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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
|
-
}
|
|
41
|
+
}): Promise<_360AssetsResponse>;
|
|
40
42
|
get360AssetsCounts(projectId: string, params: {
|
|
41
43
|
uploadedBy: string;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
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
|
-
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
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
|
-
}
|
|
62
|
+
}): Promise<JsonObject>;
|
|
59
63
|
getDrawings(payload: {
|
|
60
64
|
params: DrawingsRequestPayload;
|
|
61
|
-
config
|
|
62
|
-
}
|
|
63
|
-
getDrawingById(id: number, projectExid: string
|
|
64
|
-
updateDrawing(id: number, projectExid: string, payload: GenerateFloorPayload
|
|
65
|
-
deleteDrawing(id: number
|
|
66
|
-
|
|
67
|
-
|
|
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
|
-
|
|
71
|
-
|
|
72
|
-
|
|
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<
|
|
84
|
+
}): Promise<IngestUploadInitResponse>;
|
|
78
85
|
getBIMs(params: {
|
|
79
86
|
params: Partial<BimUploadsQueryParams>;
|
|
80
|
-
}): Promise<
|
|
81
|
-
getArchive(id: number): Promise<
|
|
82
|
-
deleteUpload(id: number): Promise<
|
|
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<
|
|
93
|
+
}, payload: BimUploadPayload): Promise<void>;
|
|
94
|
+
};
|
|
95
|
+
webhook: {
|
|
96
|
+
notifyBimUpdated(projectId: string, bimIdentifier: string): Promise<void>;
|
|
87
97
|
};
|
|
88
98
|
mobileCapture: {
|
|
89
|
-
getProjectMobileAssets(params:
|
|
90
|
-
getMobileAssetPhoto(assetId: string | number, params:
|
|
91
|
-
|
|
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<
|
|
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
|
};
|
package/dist/api/api/ptzApi.d.ts
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
import { MoveParams, ZoomParams } from "
|
|
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<
|
|
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,
|
|
2
|
+
import { VideoWall, VideoWallListParams, VideoWallCreateUpdatePayload } from "@evercam/api/types/videoWall";
|
|
3
3
|
export declare const VideoWallApi: {
|
|
4
|
-
list(params?:
|
|
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:
|
|
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
|
+
};
|