@ray-js/api 1.7.8 → 1.7.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 (58) hide show
  1. package/@types/IPCKit.d.ts +15 -39
  2. package/@types/api-cloud.d.ts +12 -24
  3. package/lib/{AIKit-1.0.0.d.ts → AIKit-1.2.0.d.ts} +2 -0
  4. package/lib/{AIKit-1.0.0.js → AIKit-1.2.0.js} +3 -0
  5. package/lib/BaseKit-3.17.7.d.ts +1 -0
  6. package/lib/BizKit-4.10.4.d.ts +1 -0
  7. package/lib/DeviceKit-4.13.1.d.ts +1 -0
  8. package/lib/HealthKit-6.5.0.d.ts +1 -0
  9. package/lib/HomeKit-3.1.4.d.ts +1 -0
  10. package/lib/{IPCKit-6.2.3.d.ts → IPCKit-6.4.5.d.ts} +4 -0
  11. package/lib/{IPCKit-6.2.3.js → IPCKit-6.4.5.js} +9 -0
  12. package/lib/MapKit-3.4.13.d.ts +1 -0
  13. package/lib/MediaKit-3.4.1.d.ts +1 -0
  14. package/lib/MiniKit-3.14.1.d.ts +1 -0
  15. package/lib/OutdoorKit-1.0.4.d.ts +1 -0
  16. package/lib/P2PKit-2.0.3.d.ts +1 -0
  17. package/lib/PlayNetKit-1.3.30.d.ts +1 -0
  18. package/lib/all-kits.d.ts +2 -2
  19. package/lib/all-kits.js +2 -2
  20. package/lib/cloud/doorlock/offline-pwd.d.ts +1 -1
  21. package/lib/cloud/energy.d.ts +1 -0
  22. package/lib/cloud/gateway.d.ts +1 -0
  23. package/lib/cloud/highlights.d.ts +117 -0
  24. package/lib/cloud/highlights.js +265 -0
  25. package/lib/cloud/index.d.ts +1 -0
  26. package/lib/cloud/index.js +1 -0
  27. package/lib/cloud/interface.d.ts +478 -0
  28. package/lib/cloud/interface.js +47 -1
  29. package/lib/cloud/laser-clean/index.d.ts +1 -1
  30. package/lib/cloud/laser-clean/map.d.ts +1 -0
  31. package/lib/cloud/laser-clean/record.d.ts +1 -0
  32. package/lib/cloud/laser-clean/voice.d.ts +1 -0
  33. package/lib/hideTabBar/index.d.ts +1 -0
  34. package/lib/index.d.ts +1 -0
  35. package/lib/lifecycles/offAppEvent/index.d.ts +1 -0
  36. package/lib/lifecycles/offAppHide/index.d.ts +1 -0
  37. package/lib/lifecycles/offAppShow/index.d.ts +1 -0
  38. package/lib/lifecycles/offError/index.d.ts +1 -0
  39. package/lib/lifecycles/offThemeChange/index.d.ts +1 -0
  40. package/lib/lifecycles/offWindowResize/index.d.ts +1 -0
  41. package/lib/lifecycles/onAppEvent/index.d.ts +1 -0
  42. package/lib/lifecycles/onAppHide/index.d.ts +1 -0
  43. package/lib/lifecycles/onAppShow/index.d.ts +1 -0
  44. package/lib/lifecycles/onError/index.d.ts +1 -0
  45. package/lib/lifecycles/onPageNotFound/index.d.ts +1 -0
  46. package/lib/lifecycles/onThemeChange/index.d.ts +1 -0
  47. package/lib/lifecycles/onWindowResize/index.d.ts +1 -0
  48. package/lib/navigateBack/index.d.ts +1 -0
  49. package/lib/navigateTo/index.d.ts +1 -0
  50. package/lib/reLaunch/index.d.ts +1 -0
  51. package/lib/redirectTo/index.d.ts +1 -0
  52. package/lib/requestCloud/index.d.ts +1 -0
  53. package/lib/setNavigationBarColor/index.d.ts +1 -0
  54. package/lib/setNavigationBarTitle/index.d.ts +1 -0
  55. package/lib/showTabBar/index.d.ts +1 -0
  56. package/lib/switchTab/index.d.ts +1 -0
  57. package/lib/viewAPI.d.ts +1 -0
  58. package/package.json +5 -5
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * IPCKit
3
3
  *
4
- * @version 6.2.3
4
+ * @version 6.4.5
5
5
  */
6
6
  declare namespace ty.ipc {
7
7
  /**
@@ -1033,63 +1033,47 @@ declare namespace ty.ipc {
1033
1033
 
1034
1034
  /**
1035
1035
  *@description 播放完成回调*/
1036
- export function onPlayMessageVideoFinish(
1037
- listener: (params: MessageVideoFinishModel) => void
1038
- ): void;
1036
+ export function onPlayMessageVideoFinish(listener: (params: MessageVideoFinishModel) => void): void;
1039
1037
 
1040
1038
  /**
1041
1039
  *@description 移除监听:播放完成回调*/
1042
- export function offPlayMessageVideoFinish(
1043
- listener: (params: MessageVideoFinishModel) => void
1044
- ): void;
1040
+ export function offPlayMessageVideoFinish(listener: (params: MessageVideoFinishModel) => void): void;
1045
1041
 
1046
1042
  /**
1047
1043
  *@description 下载进度事件*/
1048
- export function onCloudPlayBackDownloadProgress(
1049
- listener: (params: cloudPlayBackDownloadProgressBody) => void
1050
- ): void;
1044
+ export function onCloudPlayBackDownloadProgress(listener: (params: cloudPlayBackDownloadProgressBody) => void): void;
1051
1045
 
1052
1046
  /**
1053
1047
  *@description 移除监听:下载进度事件*/
1054
- export function offCloudPlayBackDownloadProgress(
1055
- listener: (params: cloudPlayBackDownloadProgressBody) => void
1056
- ): void;
1048
+ export function offCloudPlayBackDownloadProgress(listener: (params: cloudPlayBackDownloadProgressBody) => void): void;
1057
1049
 
1058
1050
  /**
1059
1051
  *@description identifying bird view action trigger*/
1060
1052
  export function onIdentifyingBirdViewActionTrigger(
1061
- listener: (params: IdentifyBirdViewActionTriggerEvent) => void
1053
+ listener: (params: IdentifyBirdViewActionTriggerEvent) => void,
1062
1054
  ): void;
1063
1055
 
1064
1056
  /**
1065
1057
  *@description 移除监听:identifying bird view action trigger*/
1066
1058
  export function offIdentifyingBirdViewActionTrigger(
1067
- listener: (params: IdentifyBirdViewActionTriggerEvent) => void
1059
+ listener: (params: IdentifyBirdViewActionTriggerEvent) => void,
1068
1060
  ): void;
1069
1061
 
1070
1062
  /**
1071
1063
  *@description 视频下载结束*/
1072
- export function onDownloadMessageVideoFinished(
1073
- listener: (params: DownloadMessageVideoFinishedModel) => void
1074
- ): void;
1064
+ export function onDownloadMessageVideoFinished(listener: (params: DownloadMessageVideoFinishedModel) => void): void;
1075
1065
 
1076
1066
  /**
1077
1067
  *@description 移除监听:视频下载结束*/
1078
- export function offDownloadMessageVideoFinished(
1079
- listener: (params: DownloadMessageVideoFinishedModel) => void
1080
- ): void;
1068
+ export function offDownloadMessageVideoFinished(listener: (params: DownloadMessageVideoFinishedModel) => void): void;
1081
1069
 
1082
1070
  /**
1083
1071
  *@description 视频下载进度*/
1084
- export function onDownloadMessageVideoProgress(
1085
- listener: (params: DownloadMessageVideoProgressModel) => void
1086
- ): void;
1072
+ export function onDownloadMessageVideoProgress(listener: (params: DownloadMessageVideoProgressModel) => void): void;
1087
1073
 
1088
1074
  /**
1089
1075
  *@description 移除监听:视频下载进度*/
1090
- export function offDownloadMessageVideoProgress(
1091
- listener: (params: DownloadMessageVideoProgressModel) => void
1092
- ): void;
1076
+ export function offDownloadMessageVideoProgress(listener: (params: DownloadMessageVideoProgressModel) => void): void;
1093
1077
 
1094
1078
  /**
1095
1079
  *@description 面板调试日志事件*/
@@ -1105,21 +1089,15 @@ declare namespace ty.ipc {
1105
1089
 
1106
1090
  /**
1107
1091
  *@description 移除监听:门铃呼叫挂断事件*/
1108
- export function offDoorBellCallHangUp(
1109
- listener: (params: DoorbellCallEventResponse) => void
1110
- ): void;
1092
+ export function offDoorBellCallHangUp(listener: (params: DoorbellCallEventResponse) => void): void;
1111
1093
 
1112
1094
  /**
1113
1095
  *@description 其他终端挂断门铃呼叫事件*/
1114
- export function onDoorBellCallHangUpByOther(
1115
- listener: (params: DoorbellCallEventResponse) => void
1116
- ): void;
1096
+ export function onDoorBellCallHangUpByOther(listener: (params: DoorbellCallEventResponse) => void): void;
1117
1097
 
1118
1098
  /**
1119
1099
  *@description 移除监听:其他终端挂断门铃呼叫事件*/
1120
- export function offDoorBellCallHangUpByOther(
1121
- listener: (params: DoorbellCallEventResponse) => void
1122
- ): void;
1100
+ export function offDoorBellCallHangUpByOther(listener: (params: DoorbellCallEventResponse) => void): void;
1123
1101
 
1124
1102
  /**
1125
1103
  *@description 取消门铃呼叫事件*/
@@ -1127,9 +1105,7 @@ declare namespace ty.ipc {
1127
1105
 
1128
1106
  /**
1129
1107
  *@description 移除监听:取消门铃呼叫事件*/
1130
- export function offDoorBellCallCancel(
1131
- listener: (params: DoorbellCallEventResponse) => void
1132
- ): void;
1108
+ export function offDoorBellCallCancel(listener: (params: DoorbellCallEventResponse) => void): void;
1133
1109
 
1134
1110
  export type Object = {};
1135
1111
 
@@ -12,9 +12,7 @@ declare namespace ty {
12
12
  * 删除历史地图
13
13
  * @returns 删除历史地图结果的 Promise
14
14
  */
15
- function deleteMultipleMapFiles(
16
- params: DeleteMultipleMapFilesParams
17
- ): Promise<DeleteMultipleMapFilesResponse>;
15
+ export function deleteMultipleMapFiles(params: DeleteMultipleMapFilesParams): Promise<DeleteMultipleMapFilesResponse>;
18
16
 
19
17
  // #region 获取云存储配置
20
18
  type GetSweeperStorageConfigParams = {
@@ -48,8 +46,8 @@ declare namespace ty {
48
46
  * 获取云存储配置
49
47
  * @returns 获取云存储配置结果的 Promise
50
48
  */
51
- function getSweeperStorageConfig(
52
- params: GetSweeperStorageConfigParams
49
+ export function getSweeperStorageConfig(
50
+ params: GetSweeperStorageConfigParams,
53
51
  ): Promise<GetSweeperStorageConfigResponse>;
54
52
 
55
53
  // #region 获取扫地机的历史地图
@@ -75,9 +73,7 @@ declare namespace ty {
75
73
  * 获取扫地机的历史地图
76
74
  * @returns 获取扫地机的历史地图结果的 Promise
77
75
  */
78
- export function getMultipleMapFiles(
79
- params: GetMultipleMapFilesParams
80
- ): Promise<GetMultipleMapFilesResponse>;
76
+ export function getMultipleMapFiles(params: GetMultipleMapFilesParams): Promise<GetMultipleMapFilesResponse>;
81
77
 
82
78
  // #region 获取清扫记录列表
83
79
  type GetCleaningRecordsParams = {
@@ -102,9 +98,7 @@ declare namespace ty {
102
98
  totalCount: number; // 清扫记录总长度
103
99
  };
104
100
 
105
- export function getCleaningRecords(
106
- params: GetCleaningRecordsParams
107
- ): Promise<GetCleaningRecordsResponse>;
101
+ export function getCleaningRecords(params: GetCleaningRecordsParams): Promise<GetCleaningRecordsResponse>;
108
102
 
109
103
  // #region 删除清扫记录
110
104
  type DeleteCleaningRecordParams = {
@@ -118,9 +112,7 @@ declare namespace ty {
118
112
  * 删除清扫记录
119
113
  * @returns 删除清扫记录结果的 Promise
120
114
  */
121
- function deleteCleaningRecord(
122
- params: DeleteCleaningRecordParams
123
- ): Promise<DeleteCleaningRecordResponse>;
115
+ export function deleteCleaningRecord(params: DeleteCleaningRecordParams): Promise<DeleteCleaningRecordResponse>;
124
116
 
125
117
  // #region 获取扫地机的语音包列表
126
118
  type GetVoiceListParams = {
@@ -157,7 +149,7 @@ declare namespace ty {
157
149
  * 获取扫地机的语音包列表
158
150
  * @returns 获取扫地机的语音包列表结果的 Promise
159
151
  */
160
- function getVoiceList(params: GetVoiceListParams): Promise<GetVoiceListResponse>;
152
+ export function getVoiceList(params: GetVoiceListParams): Promise<GetVoiceListResponse>;
161
153
 
162
154
  // #region 获取陀螺仪扫地机的清扫记录
163
155
  type GetGyroCleanRecordsParams = {
@@ -179,9 +171,7 @@ declare namespace ty {
179
171
  * 获取陀螺仪扫地机的清扫记录
180
172
  * @returns 获取陀螺仪扫地机的清扫记录结果的 Promise
181
173
  */
182
- function getGyroCleanRecords(
183
- params: GetGyroCleanRecordsParams
184
- ): Promise<GetGyroCleanRecordsResponse>;
174
+ export function getGyroCleanRecords(params: GetGyroCleanRecordsParams): Promise<GetGyroCleanRecordsResponse>;
185
175
 
186
176
  // #endregion
187
177
 
@@ -207,8 +197,8 @@ declare namespace ty {
207
197
  * 获取陀螺仪扫地机的清扫记录详情
208
198
  * @returns 获取陀螺仪扫地机的清扫记录详情结果的 Promise
209
199
  */
210
- function getGyroCleanRecordDetail(
211
- params: GetGyroCleanRecordDetailParams
200
+ export function getGyroCleanRecordDetail(
201
+ params: GetGyroCleanRecordDetailParams,
212
202
  ): Promise<GetGyroCleanRecordDetailResponse>;
213
203
 
214
204
  // #region 获取扫地机的历史地图
@@ -233,9 +223,7 @@ declare namespace ty {
233
223
  * 获取陀螺仪扫地机的最新清扫地图
234
224
  * @returns 获取陀螺仪扫地机的最新清扫地图结果的 Promise
235
225
  */
236
- function getGyroLatestCleanMap(
237
- params: GetGyroLatestCleanMapParams
238
- ): Promise<GetGyroLatestCleanMapResponse>;
226
+ export function getGyroLatestCleanMap(params: GetGyroLatestCleanMapParams): Promise<GetGyroLatestCleanMapResponse>;
239
227
 
240
228
  // #endregion
241
229
 
@@ -252,7 +240,7 @@ declare namespace ty {
252
240
  * 修改扫地机历史地图名称
253
241
  * @returns 修改扫地机历史地图名称结果的 Promise
254
242
  */
255
- function renameHistoryMap(params: RenameHistoryMapParams): Promise<RenameHistoryMapResponse>;
243
+ export function renameHistoryMap(params: RenameHistoryMapParams): Promise<RenameHistoryMapResponse>;
256
244
 
257
245
  // #endregion
258
246
  }
@@ -1,3 +1,4 @@
1
+ /// <reference path="../@types/AIKit.d.ts" />
1
2
  export declare const ai: {
2
3
  getTranslateRecords: typeof ty.ai.getTranslateRecords;
3
4
  getTranslateRecord: typeof ty.ai.getTranslateRecord;
@@ -18,4 +19,5 @@ export declare const ai: {
18
19
  onVideoObjectDetectProgress: typeof ty.ai.onVideoObjectDetectProgress;
19
20
  offVideoObjectDetectProgress: typeof ty.ai.offVideoObjectDetectProgress;
20
21
  generateTranslateTask: typeof ty.ai.generateTranslateTask;
22
+ privacyProtectDetectForVideo: typeof ty.ai.privacyProtectDetectForVideo;
21
23
  };
@@ -61,5 +61,8 @@ export const ai = {
61
61
  }),
62
62
  generateTranslateTask: factory('generateTranslateTask', {
63
63
  "namespace": "ai"
64
+ }),
65
+ privacyProtectDetectForVideo: factory('privacyProtectDetectForVideo', {
66
+ "namespace": "ai"
64
67
  })
65
68
  };
@@ -1,3 +1,4 @@
1
+ /// <reference path="../@types/BaseKit.d.ts" />
1
2
  export declare const stopAccelerometer: typeof ty.stopAccelerometer;
2
3
  export declare const startAccelerometer: typeof ty.startAccelerometer;
3
4
  export declare const getAudioFileDuration: typeof ty.getAudioFileDuration;
@@ -1,3 +1,4 @@
1
+ /// <reference path="../@types/BizKit.d.ts" />
1
2
  export declare const apiRequestByAtop: typeof ty.apiRequestByAtop;
2
3
  export declare const event: typeof ty.event;
3
4
  export declare const beginEvent: typeof ty.beginEvent;
@@ -1,3 +1,4 @@
1
+ /// <reference path="../@types/DeviceKit.d.ts" />
1
2
  export declare const unregisterLeaveBeaconFenceEvent: typeof ty.device.unregisterLeaveBeaconFenceEvent;
2
3
  export declare const registerLeaveBeaconFenceEvent: typeof ty.device.registerLeaveBeaconFenceEvent;
3
4
  export declare const writeBeaconFenceConfig: typeof ty.device.writeBeaconFenceConfig;
@@ -1,3 +1,4 @@
1
+ /// <reference path="../@types/HealthKit.d.ts" />
1
2
  export declare const health: {
2
3
  getHealthConnectStatus: typeof ty.health.getHealthConnectStatus;
3
4
  getHealthConnectStatusSync: typeof ty.health.getHealthConnectStatusSync;
@@ -1,3 +1,4 @@
1
+ /// <reference path="../@types/HomeKit.d.ts" />
1
2
  export declare const home: {
2
3
  getCurrentHomeInfo: typeof ty.home.getCurrentHomeInfo;
3
4
  getDeviceIdList: typeof ty.home.getDeviceIdList;
@@ -1,3 +1,4 @@
1
+ /// <reference path="../@types/IPCKit.d.ts" />
1
2
  export declare const ipc: {
2
3
  acceptDoorbellCall: typeof ty.ipc.acceptDoorbellCall;
3
4
  cancelDownloadCloudPlayBack: typeof ty.ipc.cancelDownloadCloudPlayBack;
@@ -71,4 +72,7 @@ export declare const ipc: {
71
72
  uploadAppLog: typeof ty.ipc.uploadAppLog;
72
73
  uploadDeviceLog: typeof ty.ipc.uploadDeviceLog;
73
74
  wakeUpDoorBell: typeof ty.ipc.wakeUpDoorBell;
75
+ startDownloadMessageVideoForComposition: typeof ty.ipc.startDownloadMessageVideoForComposition;
76
+ destroyMediaDevice: typeof ty.ipc.destroyMediaDevice;
77
+ isSupportWonderfulMoment: typeof ty.ipc.isSupportWonderfulMoment;
74
78
  };
@@ -220,5 +220,14 @@ export const ipc = {
220
220
  }),
221
221
  wakeUpDoorBell: factory('wakeUpDoorBell', {
222
222
  "namespace": "ipc"
223
+ }),
224
+ startDownloadMessageVideoForComposition: factory('startDownloadMessageVideoForComposition', {
225
+ "namespace": "ipc"
226
+ }),
227
+ destroyMediaDevice: factory('destroyMediaDevice', {
228
+ "namespace": "ipc"
229
+ }),
230
+ isSupportWonderfulMoment: factory('isSupportWonderfulMoment', {
231
+ "namespace": "ipc"
223
232
  })
224
233
  };
@@ -1,3 +1,4 @@
1
+ /// <reference path="../@types/MapKit.d.ts" />
1
2
  export declare const map: {
2
3
  chooseLocation: typeof ty.map.chooseLocation;
3
4
  getLocation: typeof ty.map.getLocation;
@@ -1,3 +1,4 @@
1
+ /// <reference path="../@types/MediaKit.d.ts" />
1
2
  export declare const media: {
2
3
  getRGBAudioManager: typeof ty.media.getRGBAudioManager;
3
4
  };
@@ -1,3 +1,4 @@
1
+ /// <reference path="../@types/MiniKit.d.ts" />
1
2
  export declare const nativeDisabled: typeof ty.nativeDisabled;
2
3
  export declare const nativeInovke: typeof ty.nativeInovke;
3
4
  export declare const getPermissionConfig: typeof ty.getPermissionConfig;
@@ -1,3 +1,4 @@
1
+ /// <reference path="../@types/OutdoorKit.d.ts" />
1
2
  export declare const outdoor: {
2
3
  bindSlaveDevice: typeof ty.outdoor.bindSlaveDevice;
3
4
  currentDevice: typeof ty.outdoor.currentDevice;
@@ -1,3 +1,4 @@
1
+ /// <reference path="../@types/P2PKit.d.ts" />
1
2
  export declare const p2p: {
2
3
  P2PSDKInit: typeof ty.p2p.P2PSDKInit;
3
4
  deInitSDK: typeof ty.p2p.deInitSDK;
@@ -1,3 +1,4 @@
1
+ /// <reference path="../@types/PlayNetKit.d.ts" />
1
2
  export declare const playnet: {
2
3
  analysisMatterQRCode: typeof ty.playnet.analysisMatterQRCode;
3
4
  autoConnectToAp: typeof ty.playnet.autoConnectToAp;
package/lib/all-kits.d.ts CHANGED
@@ -10,5 +10,5 @@ export * from './OutdoorKit-1.0.4';
10
10
  export * from './MediaKit-3.4.1';
11
11
  import * as device from './DeviceKit-4.13.1';
12
12
  export { device };
13
- export * from './AIKit-1.0.0';
14
- export * from './IPCKit-6.2.3';
13
+ export * from './AIKit-1.2.0';
14
+ export * from './IPCKit-6.4.5';
package/lib/all-kits.js CHANGED
@@ -10,5 +10,5 @@ export * from './OutdoorKit-1.0.4';
10
10
  export * from './MediaKit-3.4.1';
11
11
  import * as device from './DeviceKit-4.13.1';
12
12
  export { device };
13
- export * from './AIKit-1.0.0';
14
- export * from './IPCKit-6.2.3';
13
+ export * from './AIKit-1.2.0';
14
+ export * from './IPCKit-6.4.5';
@@ -58,4 +58,4 @@ type RevocablePwdResult = RevocablePwdResultEntry[];
58
58
  * @returns {Promise<RevocablePwdResult>} - 响应结果的 Promise
59
59
  */
60
60
  declare const getRevocableOfflinePasswords: (params: RevocablePwdParams) => Promise<RevocablePwdResult>;
61
- export { getOfflinePassword, revokeOfflinePassword, updateOfflinePasswordName, getRevocableOfflinePasswords, };
61
+ export { getOfflinePassword, revokeOfflinePassword, updateOfflinePasswordName, getRevocableOfflinePasswords };
@@ -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,117 @@
1
+ import { AiVisualBox, AiVisualNeedCopyQueryParams, AiVisualNeedCopyQueryResult, AlbumSettingEditReq, AlbumSettingSaveReq, CustomEventCheckParams, CustomEventCheckResult, CustomVisionEventCheckParams, CustomVisionEventCheckRet, DeleteAiVisualMessageList, DeviceDetails, DeviceServiceConfigItemDto, GetAiVisualBoxInfoParams, GetAiVisualMessageKey, GetAiVisualMessageKeyRes, GetAiVisualPresetEventParams, GetAlbumSettingReq, GetDeviceConfigParams, GetDeviceConfigResult, GetMessageListRes, GetSmartEventSwitchStateParams, GetSmartEventSwitchStateResult, IAlbumFileDeleteReq, IAlbumFileDeleteRes, IAlbumVideoDateCountReq, IAlbumVideoDateCountRes, IAlbumVideoFileDetailReq, IAlbumVideoFileDetailRes, IAlbumVideoFileListReq, IAlbumVideoFileListRes, Options, PresetEvent, QueryBindDeviceDto, QueryCameraListDto, QueryGetAiVisualList, QueryGetAiVisualReportList, QueryGetDeviceDetailsById, QueryGetMessageList, QueryServiceDetailDto, ResBindDeviceDto, SaveAiVisualBoxInfoParams, ServiceDetailDto, TimeAlbumSettingDto, UpdateDeviceConfigParams, UpdateSwitchStateParams, VisionBoxDto, VisionBoxReport } from './interface';
2
+ /**
3
+ * 获取 App 面板内静态资源地址
4
+ */
5
+ declare function getMessageList(params: QueryGetMessageList): Promise<GetMessageListRes>;
6
+ /**
7
+ * 获取ipc业务数据密钥 获取消息图片的密钥
8
+ */
9
+ declare function getAiVisualMessageKey(params: GetAiVisualMessageKey[]): Promise<GetAiVisualMessageKeyRes[]>;
10
+ /**
11
+ * 查询智能视觉魔方报告列表
12
+ */
13
+ declare function getAiVisualReportList(params: QueryGetAiVisualReportList): Promise<VisionBoxReport[]>;
14
+ /**
15
+ * 刪除消息,用于批量删除分类消息,也可用于批量删除消息
16
+ */
17
+ declare function deleteAiVisualMessage(params: DeleteAiVisualMessageList): Promise<{
18
+ result: string;
19
+ success: boolean;
20
+ }>;
21
+ /**
22
+ * 查询视觉魔方信息
23
+ */
24
+ declare function getAiVisualBoxInfo(params: GetAiVisualBoxInfoParams): Promise<AiVisualBox>;
25
+ /**
26
+ * 保存视觉魔方信息
27
+ */
28
+ declare function saveAiVisualBoxInfo(params: SaveAiVisualBoxInfoParams, atopOptions?: Options): Promise<string | number>;
29
+ /**
30
+ * 查询其对应的视觉魔方是否有正在同步的配置
31
+ */
32
+ declare function aiVisualNeedCopyQuery(params: AiVisualNeedCopyQueryParams): Promise<AiVisualNeedCopyQueryResult>;
33
+ /**
34
+ * 以家庭维度获取文件解密密钥接口
35
+ */
36
+ declare function getStorageSecret(params: {
37
+ gid: string;
38
+ }): Promise<string>;
39
+ /**
40
+ * 查看单个设备设备详情
41
+ */
42
+ declare function getDeviceDetailsById(params: QueryGetDeviceDetailsById): Promise<DeviceDetails>;
43
+ /**
44
+ * 获取家庭摄像头设备列表
45
+ */
46
+ declare function getCameraList(params: QueryCameraListDto): Promise<ResBindDeviceDto>;
47
+ /**
48
+ * 绑定或解绑设备
49
+ */
50
+ declare function bindDevice(params: QueryBindDeviceDto): Promise<boolean>;
51
+ /**
52
+ * 自定义事件校验
53
+ */
54
+ declare function customEventCheck(params: CustomEventCheckParams): Promise<CustomEventCheckResult>;
55
+ /**
56
+ * 查询智能事件开关
57
+ */
58
+ declare function getSmartEventSwitchState(params: GetSmartEventSwitchStateParams): Promise<GetSmartEventSwitchStateResult>;
59
+ /**
60
+ * 查询智能事件开关
61
+ */
62
+ declare function updateSmartEventSwitchState(params: UpdateSwitchStateParams): Promise<boolean>;
63
+ /**
64
+ * 获取设备服务配置项
65
+ */
66
+ declare function getDeviceConfig(params: GetDeviceConfigParams): Promise<GetDeviceConfigResult & {
67
+ uuid: string;
68
+ }>;
69
+ /**
70
+ * 设备服务配置项修改
71
+ */
72
+ declare function updateDeviceConfig(params: UpdateDeviceConfigParams): Promise<DeviceServiceConfigItemDto['configId']>;
73
+ /**
74
+ * 服务详情信息
75
+ */
76
+ declare function getServiceDetail(params: QueryServiceDetailDto): Promise<ServiceDetailDto>;
77
+ /**
78
+ * 时光相册智能视频日期统计
79
+ */
80
+ declare function albumVideoDateCount(params: IAlbumVideoDateCountReq): Promise<IAlbumVideoDateCountRes[]>;
81
+ /**
82
+ * 时光相册录像文件列表
83
+ */
84
+ declare function albumVideoFileList(params: IAlbumVideoFileListReq): Promise<IAlbumVideoFileListRes>;
85
+ /**
86
+ * 时光相册录像文件详情
87
+ */
88
+ declare function albumVideoFileDetail(params: IAlbumVideoFileDetailReq): Promise<IAlbumVideoFileDetailRes>;
89
+ /**
90
+ * 删除时光相册相簿文件
91
+ */
92
+ declare function albumFileDelete(params: IAlbumFileDeleteReq): Promise<IAlbumFileDeleteRes>;
93
+ /**
94
+ * 时光相册配置保存
95
+ */
96
+ declare function albumSettingSave(params: AlbumSettingSaveReq): Promise<boolean>;
97
+ /**
98
+ * 时光相册配置修改
99
+ */
100
+ declare function albumSettingEdit(params: AlbumSettingEditReq): Promise<boolean>;
101
+ /**
102
+ * 时光相册配置查询
103
+ */
104
+ declare function getAlbumSetting(params: GetAlbumSettingReq): Promise<TimeAlbumSettingDto>;
105
+ /**
106
+ * 查询智能视觉魔方列表(关联服务)
107
+ */
108
+ declare function getVisualBoxList(params: QueryGetAiVisualList): Promise<VisionBoxDto[]>;
109
+ /**
110
+ * 查询智能视觉魔方列表预置事件
111
+ */
112
+ declare function getPresetEvent(params: GetAiVisualPresetEventParams): Promise<PresetEvent[]>;
113
+ /**
114
+ * 视觉魔方自定义语义校验
115
+ */
116
+ declare function visualBoxEventCheck(params: CustomVisionEventCheckParams): Promise<CustomVisionEventCheckRet>;
117
+ 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, };