@ray-js/api 1.7.29 → 1.7.31

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 };
@@ -6,7 +6,6 @@ export * from './device';
6
6
  export * from './linkage';
7
7
  export * from './highlights';
8
8
  export * from './deviceFile';
9
- export * from './petAIPhotos';
10
9
  export * from './remoteGroup';
11
10
  export * from './outdoor';
12
11
  export * from './doorlock';
@@ -6,7 +6,6 @@ export * from './device';
6
6
  export * from './linkage';
7
7
  export * from './highlights';
8
8
  export * from './deviceFile';
9
- export * from './petAIPhotos';
10
9
  export * from './remoteGroup';
11
10
 
12
11
  // 仅用于出行产品
@@ -1996,11 +1996,6 @@ export type GetMovePointDetails = {
1996
1996
  mpId: number;
1997
1997
  };
1998
1998
  export type GetMovePointDetailsRet = Point;
1999
- export type AiFilterResult = {
2000
- templates: any;
2001
- type: string;
2002
- style: string;
2003
- }[];
2004
1999
  type PetType = 'cat' | 'dog';
2005
2000
  export type PetAdd = {
2006
2001
  petType: PetType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/api",
3
- "version": "1.7.29",
3
+ "version": "1.7.31",
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.29",
33
- "@ray-js/router": "1.7.29",
32
+ "@ray-js/framework": "1.7.31",
33
+ "@ray-js/router": "1.7.31",
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.29",
41
+ "@ray-js/cli": "1.7.31",
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": "5caf9b8592114cca269c2df02fb7e421c9fef5e4"
51
+ "gitHead": "7b109fd6b20575e96f6ab42c4c7d10563d61f939"
52
52
  }
@@ -1,6 +0,0 @@
1
- import { AiFilterResult } from './interface';
2
- /**
3
- * 获取 AI 素材数据
4
- */
5
- declare const getAiFilterTemplateData: () => Promise<AiFilterResult>;
6
- export { getAiFilterTemplateData };
@@ -1,10 +0,0 @@
1
- import { requestFunc } from './highlights';
2
- /**
3
- * 获取 AI 素材数据
4
- */
5
- const getAiFilterTemplateData = () => {
6
- return requestFunc(`m.tc.image.style.templates.get`, {
7
- type: 'petAppAI'
8
- }, '3.0');
9
- };
10
- export { getAiFilterTemplateData };