@ray-js/api 1.7.30 → 1.7.32

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.
@@ -43,6 +43,12 @@ declare function aiVisualNeedCopyQuery(params: AiVisualNeedCopyQueryParams): Pro
43
43
  declare function getStorageSecret(params: {
44
44
  gid: string;
45
45
  }): Promise<string>;
46
+ /**
47
+ * 以设备维度获取文件解密密钥接口
48
+ */
49
+ declare function getStorageSecretByDeviceId(params: {
50
+ devId: string;
51
+ }): Promise<string>;
46
52
  /**
47
53
  * 查看单个设备设备详情
48
54
  */
@@ -149,4 +155,4 @@ declare function getMovePathList(params: GetMovePathList): Promise<GetMovePathLi
149
155
  * 获取移动摄像机点位列表
150
156
  */
151
157
  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, };
158
+ 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, getStorageSecretByDeviceId, };
@@ -120,6 +120,13 @@ function getStorageSecret(params) {
120
120
  return requestFunc('m.ipc.storage.secret.get', params, '1.0');
121
121
  }
122
122
 
123
+ /**
124
+ * 以设备维度获取文件解密密钥接口
125
+ */
126
+ function getStorageSecretByDeviceId(params) {
127
+ return requestFunc(`${THING}.m.ipc.storage.secret.get`, params, '1.0');
128
+ }
129
+
123
130
  /**
124
131
  * 查看单个设备设备详情
125
132
  */
@@ -301,4 +308,4 @@ function getMovePathList(params) {
301
308
  function getMovePointDetails(params) {
302
309
  return requestFunc('m.ipc.move.point.by.mpid.get', params, '1.0');
303
310
  }
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 };
311
+ 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, getStorageSecretByDeviceId };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/api",
3
- "version": "1.7.30",
3
+ "version": "1.7.32",
4
4
  "description": "Ray universal api",
5
5
  "keywords": [
6
6
  "ray"
@@ -29,8 +29,8 @@
29
29
  "watch": "ray start --type=component"
30
30
  },
31
31
  "dependencies": {
32
- "@ray-js/framework": "1.7.30",
33
- "@ray-js/router": "1.7.30",
32
+ "@ray-js/framework": "1.7.32",
33
+ "@ray-js/router": "1.7.32",
34
34
  "base64-browser": "^1.0.1",
35
35
  "query-string": "^7.1.3"
36
36
  },
@@ -38,7 +38,7 @@
38
38
  "@ray-js/wechat": "^0.3.13"
39
39
  },
40
40
  "devDependencies": {
41
- "@ray-js/cli": "1.7.30",
41
+ "@ray-js/cli": "1.7.32",
42
42
  "art-template": "^4.13.4",
43
43
  "fs-extra": "^10.1.0",
44
44
  "miniprogram-api-typings": "^3.12.3",
@@ -48,5 +48,5 @@
48
48
  "access": "public",
49
49
  "registry": "https://registry.npmjs.org"
50
50
  },
51
- "gitHead": "bb0afb2ed249e1cb42628e2311b5b61a129ba63e"
51
+ "gitHead": "f3f14f9cb2c82e3b90ff58a4fd30b5ca09df7495"
52
52
  }