@ray-js/api 1.8.0-beta.0 → 1.8.0-beta.10

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 (69) hide show
  1. package/@types/IPCKit.d.ts +15 -39
  2. package/@types/WearKit.d.ts +607 -0
  3. package/@types/all-kits.d.ts +1 -0
  4. package/@types/api-cloud.d.ts +48 -44
  5. package/@types/api-extend.d.ts +1 -0
  6. package/lib/{AIKit-1.0.0.d.ts → AIKit-1.2.0.d.ts} +2 -0
  7. package/lib/{AIKit-1.0.0.js → AIKit-1.2.0.js} +3 -0
  8. package/lib/BaseKit-3.17.7.d.ts +1 -0
  9. package/lib/BizKit-4.10.4.d.ts +1 -0
  10. package/lib/DeviceKit-4.13.1.d.ts +1 -0
  11. package/lib/HealthKit-6.5.0.d.ts +1 -0
  12. package/lib/HomeKit-3.1.4.d.ts +1 -0
  13. package/lib/{IPCKit-6.2.3.d.ts → IPCKit-6.4.5.d.ts} +4 -0
  14. package/lib/{IPCKit-6.2.3.js → IPCKit-6.4.5.js} +9 -0
  15. package/lib/MapKit-3.4.13.d.ts +1 -0
  16. package/lib/MediaKit-3.4.1.d.ts +1 -0
  17. package/lib/MiniKit-3.14.1.d.ts +1 -0
  18. package/lib/OutdoorKit-1.0.4.d.ts +1 -0
  19. package/lib/P2PKit-2.0.3.d.ts +1 -0
  20. package/lib/PlayNetKit-1.3.30.d.ts +1 -0
  21. package/lib/WearKit-1.1.6.d.ts +28 -0
  22. package/lib/WearKit-1.1.6.js +81 -0
  23. package/lib/all-kits.d.ts +3 -2
  24. package/lib/all-kits.js +3 -2
  25. package/lib/cloud/deviceFile.d.ts +40 -0
  26. package/lib/cloud/deviceFile.js +99 -0
  27. package/lib/cloud/doorlock/offline-pwd.d.ts +1 -1
  28. package/lib/cloud/electrician/index.d.ts +1 -0
  29. package/lib/cloud/electrician/index.js +2 -0
  30. package/lib/cloud/electrician/tariffService.d.ts +35 -0
  31. package/lib/cloud/electrician/tariffService.js +34 -0
  32. package/lib/cloud/energy.d.ts +1 -0
  33. package/lib/cloud/gateway.d.ts +1 -0
  34. package/lib/cloud/highlights.d.ts +152 -0
  35. package/lib/cloud/highlights.js +304 -0
  36. package/lib/cloud/index.d.ts +3 -0
  37. package/lib/cloud/index.js +4 -0
  38. package/lib/cloud/interface.d.ts +575 -0
  39. package/lib/cloud/interface.js +47 -1
  40. package/lib/cloud/laser-clean/index.d.ts +1 -1
  41. package/lib/cloud/laser-clean/map.d.ts +1 -0
  42. package/lib/cloud/laser-clean/record.d.ts +1 -0
  43. package/lib/cloud/laser-clean/voice.d.ts +1 -0
  44. package/lib/hideTabBar/index.d.ts +1 -0
  45. package/lib/index.d.ts +1 -0
  46. package/lib/lifecycles/offAppEvent/index.d.ts +1 -0
  47. package/lib/lifecycles/offAppHide/index.d.ts +1 -0
  48. package/lib/lifecycles/offAppShow/index.d.ts +1 -0
  49. package/lib/lifecycles/offError/index.d.ts +1 -0
  50. package/lib/lifecycles/offThemeChange/index.d.ts +1 -0
  51. package/lib/lifecycles/offWindowResize/index.d.ts +1 -0
  52. package/lib/lifecycles/onAppEvent/index.d.ts +1 -0
  53. package/lib/lifecycles/onAppHide/index.d.ts +1 -0
  54. package/lib/lifecycles/onAppShow/index.d.ts +1 -0
  55. package/lib/lifecycles/onError/index.d.ts +1 -0
  56. package/lib/lifecycles/onPageNotFound/index.d.ts +1 -0
  57. package/lib/lifecycles/onThemeChange/index.d.ts +1 -0
  58. package/lib/lifecycles/onWindowResize/index.d.ts +1 -0
  59. package/lib/navigateBack/index.d.ts +1 -0
  60. package/lib/navigateTo/index.d.ts +1 -0
  61. package/lib/reLaunch/index.d.ts +1 -0
  62. package/lib/redirectTo/index.d.ts +1 -0
  63. package/lib/requestCloud/index.d.ts +1 -0
  64. package/lib/setNavigationBarColor/index.d.ts +1 -0
  65. package/lib/setNavigationBarTitle/index.d.ts +1 -0
  66. package/lib/showTabBar/index.d.ts +1 -0
  67. package/lib/switchTab/index.d.ts +1 -0
  68. package/lib/viewAPI.d.ts +1 -0
  69. package/package.json +6 -6
@@ -1,3 +1,4 @@
1
+ /// <reference path="../../@types/energy.d.ts" />
1
2
  export declare const energy: {
2
3
  getDeviceDataMultipleSum: typeof ty.energy.getDeviceDataMultipleSum;
3
4
  getInverterDeviceInfo: typeof ty.energy.getInverterDeviceInfo;
@@ -1,3 +1,4 @@
1
+ /// <reference path="../../@types/gateway.d.ts" />
1
2
  export declare const gateway: {
2
3
  sendCmdForRefreshDeviceLQI: typeof ty.gateway.sendCmdForRefreshDeviceLQI;
3
4
  getLastDeviceLQI: typeof ty.gateway.getLastDeviceLQI;
@@ -0,0 +1,152 @@
1
+ import type { AiVisualBox, AiVisualNeedCopyQueryParams, AiVisualNeedCopyQueryResult, AlbumSettingEditReq, AlbumSettingSaveReq, CustomEventCheckParams, CustomEventCheckResult, CustomVisionEventCheckParams, CustomVisionEventCheckRet, DeleteAiVisualMessageList, DeviceDetails, DeviceServiceConfigItemDto, GetAiVisualBoxInfoParams, GetAiVisualMessageKey, GetAiVisualMessageKeyRes, GetAiVisualPresetEventParams, GetAlbumSettingReq, GetDeviceConfigParams, GetDeviceConfigResult, GetIpcPointList, GetIpcPointListRet, GetIpcRtcConfig, GetIpcRtcConfigRet, GetMessageListRes, GetMovePathList, GetMovePathListRet, GetMovePointDetails, GetMovePointDetailsRet, GetSmartEventSwitchStateParams, GetSmartEventSwitchStateResult, GetVasServiceConfigList, GetVasServiceConfigListRet, GetVasUrlInfo, GetVasUrlInfoRet, IAlbumFileDeleteReq, IAlbumFileDeleteRes, IAlbumVideoDateCountReq, IAlbumVideoDateCountRes, IAlbumVideoFileDetailReq, IAlbumVideoFileDetailRes, IAlbumVideoFileListReq, IAlbumVideoFileListRes, Options, PresetEvent, QueryBindDeviceDto, QueryCameraListDto, QueryGetAiVisualList, QueryGetAiVisualReportList, QueryGetDeviceDetailsById, QueryGetMessageList, QueryServiceDetailDto, ResBindDeviceDto, SaveAiVisualBoxInfoParams, ServiceDetailDto, TimeAlbumSettingDto, UpdateDeviceConfigParams, UpdateIpcPointInfo, UpdateIpcPointInfoRet, UpdateSwitchStateParams, VisionBoxDto, VisionBoxReport } from './interface';
2
+ /**
3
+ transError 为 true 的情况下走到
4
+ apiRequestByAtop 的 fail 回调时
5
+ 会 resolve false
6
+ 为 false 的情况下则 reject 错误信息
7
+ */
8
+ export declare const requestFunc: <T = any>(api: string, postData: Record<string, any> | undefined, v?: string, options?: Options) => Promise<T>;
9
+ /**
10
+ * 获取 App 面板内静态资源地址
11
+ */
12
+ declare function getMessageList(params: QueryGetMessageList): Promise<GetMessageListRes>;
13
+ /**
14
+ * 获取ipc业务数据密钥 获取消息图片的密钥
15
+ */
16
+ declare function getAiVisualMessageKey(params: GetAiVisualMessageKey[]): Promise<GetAiVisualMessageKeyRes[]>;
17
+ /**
18
+ * 查询智能视觉魔方报告列表
19
+ */
20
+ declare function getAiVisualReportList(params: QueryGetAiVisualReportList): Promise<VisionBoxReport[]>;
21
+ /**
22
+ * 刪除消息,用于批量删除分类消息,也可用于批量删除消息
23
+ */
24
+ declare function deleteAiVisualMessage(params: DeleteAiVisualMessageList): Promise<{
25
+ result: string;
26
+ success: boolean;
27
+ }>;
28
+ /**
29
+ * 查询视觉魔方信息
30
+ */
31
+ declare function getAiVisualBoxInfo(params: GetAiVisualBoxInfoParams): Promise<AiVisualBox>;
32
+ /**
33
+ * 保存视觉魔方信息
34
+ */
35
+ declare function saveAiVisualBoxInfo(params: SaveAiVisualBoxInfoParams, atopOptions?: Options): Promise<string | number>;
36
+ /**
37
+ * 查询其对应的视觉魔方是否有正在同步的配置
38
+ */
39
+ declare function aiVisualNeedCopyQuery(params: AiVisualNeedCopyQueryParams): Promise<AiVisualNeedCopyQueryResult>;
40
+ /**
41
+ * 以家庭维度获取文件解密密钥接口
42
+ */
43
+ declare function getStorageSecret(params: {
44
+ gid: string;
45
+ }): Promise<string>;
46
+ /**
47
+ * 查看单个设备设备详情
48
+ */
49
+ declare function getDeviceDetailsById(params: QueryGetDeviceDetailsById): Promise<DeviceDetails>;
50
+ /**
51
+ * 获取家庭摄像头设备列表
52
+ */
53
+ declare function getCameraList(params: QueryCameraListDto): Promise<ResBindDeviceDto>;
54
+ /**
55
+ * 绑定或解绑设备
56
+ */
57
+ declare function bindDevice(params: QueryBindDeviceDto): Promise<boolean>;
58
+ /**
59
+ * 自定义事件校验
60
+ */
61
+ declare function customEventCheck(params: CustomEventCheckParams): Promise<CustomEventCheckResult>;
62
+ /**
63
+ * 查询智能事件开关
64
+ */
65
+ declare function getSmartEventSwitchState(params: GetSmartEventSwitchStateParams): Promise<GetSmartEventSwitchStateResult>;
66
+ /**
67
+ * 查询智能事件开关
68
+ */
69
+ declare function updateSmartEventSwitchState(params: UpdateSwitchStateParams): Promise<boolean>;
70
+ /**
71
+ * 获取设备服务配置项
72
+ */
73
+ declare function getDeviceConfig(params: GetDeviceConfigParams): Promise<GetDeviceConfigResult & {
74
+ uuid: string;
75
+ }>;
76
+ /**
77
+ * 设备服务配置项修改
78
+ */
79
+ declare function updateDeviceConfig(params: UpdateDeviceConfigParams): Promise<DeviceServiceConfigItemDto['configId']>;
80
+ /**
81
+ * 服务详情信息
82
+ */
83
+ declare function getServiceDetail(params: QueryServiceDetailDto): Promise<ServiceDetailDto>;
84
+ /**
85
+ * 时光相册智能视频日期统计
86
+ */
87
+ declare function albumVideoDateCount(params: IAlbumVideoDateCountReq): Promise<IAlbumVideoDateCountRes[]>;
88
+ /**
89
+ * 时光相册录像文件列表
90
+ */
91
+ declare function albumVideoFileList(params: IAlbumVideoFileListReq): Promise<IAlbumVideoFileListRes>;
92
+ /**
93
+ * 时光相册录像文件详情
94
+ */
95
+ declare function albumVideoFileDetail(params: IAlbumVideoFileDetailReq): Promise<IAlbumVideoFileDetailRes>;
96
+ /**
97
+ * 删除时光相册相簿文件
98
+ */
99
+ declare function albumFileDelete(params: IAlbumFileDeleteReq): Promise<IAlbumFileDeleteRes>;
100
+ /**
101
+ * 时光相册配置保存
102
+ */
103
+ declare function albumSettingSave(params: AlbumSettingSaveReq): Promise<boolean>;
104
+ /**
105
+ * 时光相册配置修改
106
+ */
107
+ declare function albumSettingEdit(params: AlbumSettingEditReq): Promise<boolean>;
108
+ /**
109
+ * 时光相册配置查询
110
+ */
111
+ declare function getAlbumSetting(params: GetAlbumSettingReq): Promise<TimeAlbumSettingDto>;
112
+ /**
113
+ * 查询智能视觉魔方列表(关联服务)
114
+ */
115
+ declare function getVisualBoxList(params: QueryGetAiVisualList): Promise<VisionBoxDto[]>;
116
+ /**
117
+ * 查询智能视觉魔方列表预置事件
118
+ */
119
+ declare function getPresetEvent(params: GetAiVisualPresetEventParams): Promise<PresetEvent[]>;
120
+ /**
121
+ * 视觉魔方自定义语义校验
122
+ */
123
+ declare function visualBoxEventCheck(params: CustomVisionEventCheckParams): Promise<CustomVisionEventCheckRet>;
124
+ /**
125
+ * 获取摄像头配置信息
126
+ */
127
+ declare function getIpcRtcConfig(params: GetIpcRtcConfig): Promise<GetIpcRtcConfigRet>;
128
+ /**
129
+ * 获取摄像头收藏点列表
130
+ */
131
+ declare function getIpcPointList(params: GetIpcPointList): Promise<GetIpcPointListRet>;
132
+ /**
133
+ * 更新摄像头收藏点信息
134
+ */
135
+ declare function updateIpcPointInfo(params: UpdateIpcPointInfo): Promise<UpdateIpcPointInfoRet>;
136
+ /**
137
+ * 获取增值服务跳转URL接口
138
+ */
139
+ declare function getVasUrlInfo(params: GetVasUrlInfo): Promise<GetVasUrlInfoRet>;
140
+ /**
141
+ * 获取增值服务运营列表接口
142
+ */
143
+ declare function getVasServiceConfigList(params: GetVasServiceConfigList): Promise<GetVasServiceConfigListRet>;
144
+ /**
145
+ * 获取移动摄像机轨迹路径列表
146
+ */
147
+ declare function getMovePathList(params: GetMovePathList): Promise<GetMovePathListRet>;
148
+ /**
149
+ * 获取移动摄像机点位列表
150
+ */
151
+ declare function getMovePointDetails(params: GetMovePointDetails): Promise<GetMovePointDetailsRet>;
152
+ export { getMessageList, getAiVisualMessageKey, getAiVisualReportList, deleteAiVisualMessage, getAiVisualBoxInfo, saveAiVisualBoxInfo, aiVisualNeedCopyQuery, getStorageSecret, getDeviceDetailsById, getCameraList, bindDevice, customEventCheck, getSmartEventSwitchState, updateSmartEventSwitchState, getDeviceConfig, updateDeviceConfig, getServiceDetail, albumVideoDateCount, albumVideoFileList, albumVideoFileDetail, albumFileDelete, albumSettingSave, albumSettingEdit, getAlbumSetting, getVisualBoxList, getPresetEvent, visualBoxEventCheck, getIpcRtcConfig, getIpcPointList, updateIpcPointInfo, getVasUrlInfo, getVasServiceConfigList, getMovePathList, getMovePointDetails, };
@@ -0,0 +1,304 @@
1
+ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
2
+ // 通用核心接口
3
+ import { THING } from '../constants';
4
+ const parseJSON = str => {
5
+ let rst;
6
+ if (str && 'string' === typeof str) {
7
+ try {
8
+ rst = JSON.parse(str);
9
+ } catch (e) {
10
+ rst = str;
11
+ }
12
+ } else {
13
+ rst = typeof str === 'undefined' ? {} : str;
14
+ }
15
+ return rst;
16
+ };
17
+
18
+ /**
19
+ transError 为 true 的情况下走到
20
+ apiRequestByAtop 的 fail 回调时
21
+ 会 resolve false
22
+ 为 false 的情况下则 reject 错误信息
23
+ */
24
+ export const requestFunc = function (api, postData) {
25
+ let v = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '1.0';
26
+ let options = arguments.length > 3 ? arguments[3] : undefined;
27
+ return new Promise((resolve, reject) => {
28
+ ty.apiRequestByAtop({
29
+ api: api,
30
+ postData: postData,
31
+ version: v,
32
+ success: d => {
33
+ const data = typeof d === 'string' ? parseJSON(d) : d;
34
+ resolve(data);
35
+ },
36
+ fail: err => {
37
+ const errObj = err.innerError || err;
38
+ const {
39
+ toastError = true,
40
+ transError = true
41
+ } = options || {};
42
+ console.error(`Atop fetch "${api}" fail:`, errObj);
43
+ if (transError) {
44
+ resolve(false);
45
+ } else {
46
+ reject(errObj);
47
+ }
48
+ if (toastError) {
49
+ ty.showToast({
50
+ title: errObj.errorMsg,
51
+ icon: 'error'
52
+ });
53
+ }
54
+ }
55
+ });
56
+ });
57
+ };
58
+
59
+ /**
60
+ * 获取 App 面板内静态资源地址
61
+ */
62
+ function getMessageList(params) {
63
+ const _params = {
64
+ json: JSON.stringify(_objectSpread({
65
+ keepOrig: true,
66
+ msgType: 4
67
+ }, params))
68
+ };
69
+ return requestFunc(`${THING}.m.msg.list.by.json`, _params, '2.0');
70
+ }
71
+
72
+ /**
73
+ * 获取ipc业务数据密钥 获取消息图片的密钥
74
+ */
75
+ function getAiVisualMessageKey(params) {
76
+ return requestFunc(`${THING}.m.ipc.biz.key.get`, {
77
+ input: JSON.stringify(params)
78
+ }, '1.0');
79
+ }
80
+
81
+ /**
82
+ * 查询智能视觉魔方报告列表
83
+ */
84
+ function getAiVisualReportList(params) {
85
+ return requestFunc('m.ipc.smart.vision.box.report.list', params, '1.0');
86
+ }
87
+
88
+ /**
89
+ * 刪除消息,用于批量删除分类消息,也可用于批量删除消息
90
+ */
91
+ function deleteAiVisualMessage(params) {
92
+ return requestFunc(`${THING}.m.msg.remove`, params, '2.0');
93
+ }
94
+
95
+ /**
96
+ * 查询视觉魔方信息
97
+ */
98
+ function getAiVisualBoxInfo(params) {
99
+ return requestFunc('m.ipc.smart.vision.box.info.query', params, '1.0');
100
+ }
101
+
102
+ /**
103
+ * 保存视觉魔方信息
104
+ */
105
+ function saveAiVisualBoxInfo(params, atopOptions) {
106
+ return requestFunc('m.ipc.smart.vision.box.info.save', params, '1.0', atopOptions);
107
+ }
108
+
109
+ /**
110
+ * 查询其对应的视觉魔方是否有正在同步的配置
111
+ */
112
+ function aiVisualNeedCopyQuery(params) {
113
+ return requestFunc('m.ipc.smart.vision.box.record.query', params, '1.0');
114
+ }
115
+
116
+ /**
117
+ * 以家庭维度获取文件解密密钥接口
118
+ */
119
+ function getStorageSecret(params) {
120
+ return requestFunc('m.ipc.storage.secret.get', params, '1.0');
121
+ }
122
+
123
+ /**
124
+ * 查看单个设备设备详情
125
+ */
126
+ function getDeviceDetailsById(params) {
127
+ return requestFunc('m.ecm.cvas.camera.bind.detail', params, '2.0');
128
+ }
129
+
130
+ /**
131
+ * 获取家庭摄像头设备列表
132
+ */
133
+ function getCameraList(params) {
134
+ return requestFunc('m.ecm.cvas.h5.home.camera.list', params, '1.0');
135
+ }
136
+
137
+ /**
138
+ * 绑定或解绑设备
139
+ */
140
+ function bindDevice(params) {
141
+ return requestFunc('m.ecm.cvas.device.bind', params, '1.0');
142
+ }
143
+
144
+ /**
145
+ * 自定义事件校验
146
+ */
147
+ function customEventCheck(params) {
148
+ return requestFunc('m.ipc.smart.event.check', params, '1.0');
149
+ }
150
+
151
+ /**
152
+ * 查询智能事件开关
153
+ */
154
+ function getSmartEventSwitchState(params) {
155
+ return requestFunc('m.ipc.service.device.config.switch.query', params, '1.0');
156
+ }
157
+
158
+ /**
159
+ * 查询智能事件开关
160
+ */
161
+ function updateSmartEventSwitchState(params) {
162
+ return requestFunc('m.ipc.service.device.config.switch.update', params, '2.0');
163
+ }
164
+
165
+ /**
166
+ * 获取设备服务配置项
167
+ */
168
+ function getDeviceConfig(params) {
169
+ return requestFunc('m.ipc.service.device.config.query', params, '1.0');
170
+ }
171
+
172
+ /**
173
+ * 设备服务配置项修改
174
+ */
175
+ function updateDeviceConfig(params) {
176
+ return requestFunc('m.ipc.service.device.config.update', params, '2.0');
177
+ }
178
+
179
+ /**
180
+ * 服务详情信息
181
+ */
182
+ function getServiceDetail(params) {
183
+ return requestFunc('m.ecm.cvas.my.service.detail', params, '1.0');
184
+ }
185
+
186
+ /**
187
+ * 时光相册智能视频日期统计
188
+ */
189
+ function albumVideoDateCount(params) {
190
+ return requestFunc('m.ipc.time.album.video.date.count', params, '1.0');
191
+ }
192
+
193
+ /**
194
+ * 时光相册录像文件列表
195
+ */
196
+ function albumVideoFileList(params) {
197
+ return requestFunc('m.ipc.time.album.video.file.list', params, '1.0');
198
+ }
199
+
200
+ /**
201
+ * 时光相册录像文件详情
202
+ */
203
+ function albumVideoFileDetail(params) {
204
+ return requestFunc('m.ipc.time.album.video.file.detail', params, '1.0');
205
+ }
206
+
207
+ /**
208
+ * 删除时光相册相簿文件
209
+ */
210
+ function albumFileDelete(params) {
211
+ return requestFunc('m.ipc.time.album.file.delete', params, '1.0');
212
+ }
213
+
214
+ /**
215
+ * 时光相册配置保存
216
+ */
217
+ function albumSettingSave(params) {
218
+ return requestFunc('m.ipc.time.album.config.save', params, '1.0');
219
+ }
220
+
221
+ /**
222
+ * 时光相册配置修改
223
+ */
224
+ function albumSettingEdit(params) {
225
+ return requestFunc('m.ipc.time.album.config.edit', params, '1.0');
226
+ }
227
+
228
+ /**
229
+ * 时光相册配置查询
230
+ */
231
+ function getAlbumSetting(params) {
232
+ return requestFunc('m.ipc.time.album.config.get', params, '1.0');
233
+ }
234
+
235
+ /**
236
+ * 查询智能视觉魔方列表(关联服务)
237
+ */
238
+ function getVisualBoxList(params) {
239
+ return requestFunc('m.ipc.smart.vision.box.list', params, '1.0');
240
+ }
241
+
242
+ /**
243
+ * 查询智能视觉魔方列表预置事件
244
+ */
245
+ function getPresetEvent(params) {
246
+ return requestFunc('m.ipc.service.business.config.query', params, '1.0');
247
+ }
248
+
249
+ /**
250
+ * 视觉魔方自定义语义校验
251
+ */
252
+ function visualBoxEventCheck(params) {
253
+ return requestFunc('m.ipc.smart.vision.box.event.check', params, '1.0');
254
+ }
255
+
256
+ /**
257
+ * 获取摄像头配置信息
258
+ */
259
+ function getIpcRtcConfig(params) {
260
+ return requestFunc('m.ipc.v4.rtc.config.get', params, '1.0');
261
+ }
262
+
263
+ /**
264
+ * 获取摄像头收藏点列表
265
+ */
266
+ function getIpcPointList(params) {
267
+ return requestFunc(`${THING}.m.ipc.memory.point.list`, params, '2.0');
268
+ }
269
+
270
+ /**
271
+ * 更新摄像头收藏点信息
272
+ */
273
+ function updateIpcPointInfo(params) {
274
+ return requestFunc(`${THING}.m.ipc.memory.point.rename`, params, '1.0');
275
+ }
276
+
277
+ /**
278
+ * 获取增值服务跳转URL接口
279
+ */
280
+ function getVasUrlInfo(params) {
281
+ return requestFunc('m.ecm.cvas.basic.url.config.get', params, '1.0');
282
+ }
283
+
284
+ /**
285
+ * 获取增值服务运营列表接口
286
+ */
287
+ function getVasServiceConfigList(params) {
288
+ return requestFunc('m.ecm.cvas.service.config.get', params, '3.0');
289
+ }
290
+
291
+ /**
292
+ * 获取移动摄像机轨迹路径列表
293
+ */
294
+ function getMovePathList(params) {
295
+ return requestFunc('m.ipc.move.point.by.path.list', params, '1.0');
296
+ }
297
+
298
+ /**
299
+ * 获取移动摄像机点位列表
300
+ */
301
+ function getMovePointDetails(params) {
302
+ return requestFunc('m.ipc.move.point.by.mpid.get', params, '1.0');
303
+ }
304
+ export { getMessageList, getAiVisualMessageKey, getAiVisualReportList, deleteAiVisualMessage, getAiVisualBoxInfo, saveAiVisualBoxInfo, aiVisualNeedCopyQuery, getStorageSecret, getDeviceDetailsById, getCameraList, bindDevice, customEventCheck, getSmartEventSwitchState, updateSmartEventSwitchState, getDeviceConfig, updateDeviceConfig, getServiceDetail, albumVideoDateCount, albumVideoFileList, albumVideoFileDetail, albumFileDelete, albumSettingSave, albumSettingEdit, getAlbumSetting, getVisualBoxList, getPresetEvent, visualBoxEventCheck, getIpcRtcConfig, getIpcPointList, updateIpcPointInfo, getVasUrlInfo, getVasServiceConfigList, getMovePathList, getMovePointDetails };
@@ -4,10 +4,13 @@ export * from './alarm';
4
4
  export * from './statistic';
5
5
  export * from './device';
6
6
  export * from './linkage';
7
+ export * from './highlights';
8
+ export * from './deviceFile';
7
9
  export * from './remoteGroup';
8
10
  export * from './outdoor';
9
11
  export * from './doorlock';
10
12
  export * from './recipe';
13
+ export * from './electrician';
11
14
  export * from './laser-clean';
12
15
  export * from './gateway';
13
16
  export * from './energy';
@@ -4,6 +4,8 @@ export * from './alarm';
4
4
  export * from './statistic';
5
5
  export * from './device';
6
6
  export * from './linkage';
7
+ export * from './highlights';
8
+ export * from './deviceFile';
7
9
  export * from './remoteGroup';
8
10
 
9
11
  // 仅用于出行产品
@@ -13,6 +15,8 @@ export * from './outdoor';
13
15
  export * from './doorlock';
14
16
  // 菜谱
15
17
  export * from './recipe';
18
+ // 电工
19
+ export * from './electrician';
16
20
 
17
21
  // 激光清洁
18
22
  export * from './laser-clean';