@ray-js/api 1.7.35 → 1.7.36

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.
@@ -1,4 +1,4 @@
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';
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, GetVasServiceStatus, GetVasServiceStatusRet, 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
2
  /**
3
3
  transError 为 true 的情况下走到
4
4
  apiRequestByAtop 的 fail 回调时
@@ -155,4 +155,8 @@ declare function getMovePathList(params: GetMovePathList): Promise<GetMovePathLi
155
155
  * 获取移动摄像机点位列表
156
156
  */
157
157
  declare function getMovePointDetails(params: GetMovePointDetails): Promise<GetMovePointDetailsRet>;
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, };
158
+ /**
159
+ * 获取用户增值服务服务单状态
160
+ */
161
+ declare function getVasServiceStatus(params: GetVasServiceStatus): Promise<GetVasServiceStatusRet>;
162
+ 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, getVasServiceStatus };
@@ -308,4 +308,11 @@ function getMovePathList(params) {
308
308
  function getMovePointDetails(params) {
309
309
  return requestFunc('m.ipc.move.point.by.mpid.get', params, '1.0');
310
310
  }
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 };
311
+
312
+ /**
313
+ * 获取用户增值服务服务单状态
314
+ */
315
+ function getVasServiceStatus(params) {
316
+ return requestFunc('m.ecm.cvas.service.user.check', params, '1.0');
317
+ }
318
+ 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, getVasServiceStatus };
@@ -2056,4 +2056,10 @@ export type IEatingRecord = {
2056
2056
  petName: string;
2057
2057
  }[];
2058
2058
  };
2059
+ export type GetVasServiceStatus = {
2060
+ categoryCode: string;
2061
+ };
2062
+ export type GetVasServiceStatusRet = {
2063
+ haveService: boolean;
2064
+ };
2059
2065
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/api",
3
- "version": "1.7.35",
3
+ "version": "1.7.36",
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.35",
33
- "@ray-js/router": "1.7.35",
32
+ "@ray-js/framework": "1.7.36",
33
+ "@ray-js/router": "1.7.36",
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.35",
41
+ "@ray-js/cli": "1.7.36",
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": "4883a076187a7b42d840d05f0c0bbfcf7366b400"
51
+ "gitHead": "217694b71186bf60aaa198db95c3796aff6ea665"
52
52
  }