@ray-js/api 1.7.35 → 1.7.37
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.
- package/lib/{AIKit-1.3.3.d.ts → AIKit-1.4.3.d.ts} +8 -0
- package/lib/{AIKit-1.3.3.js → AIKit-1.4.3.js} +24 -0
- package/lib/all-kits.d.ts +1 -1
- package/lib/all-kits.js +1 -1
- package/lib/cloud/highlights.d.ts +6 -2
- package/lib/cloud/highlights.js +8 -1
- package/lib/cloud/interface.d.ts +6 -0
- package/package.json +5 -5
@@ -27,4 +27,12 @@ export declare const ai: {
|
|
27
27
|
destroyForegroundVideoService: typeof ty.ai.destroyForegroundVideoService;
|
28
28
|
processForegroundMediaByTemplate: typeof ty.ai.processForegroundMediaByTemplate;
|
29
29
|
processPetForegroundMediaByTemplate: typeof ty.ai.processPetForegroundMediaByTemplate;
|
30
|
+
imageEnhanceCreate: typeof ty.ai.imageEnhanceCreate;
|
31
|
+
imageEnhanceDestroy: typeof ty.ai.imageEnhanceDestroy;
|
32
|
+
enhanceClarityForImage: typeof ty.ai.enhanceClarityForImage;
|
33
|
+
enhanceClarityCancel: typeof ty.ai.enhanceClarityCancel;
|
34
|
+
onEnhanceClarityProgress: typeof ty.ai.onEnhanceClarityProgress;
|
35
|
+
offEnhanceClarityProgress: typeof ty.ai.offEnhanceClarityProgress;
|
36
|
+
enhanceCalibrationForImage: typeof ty.ai.enhanceCalibrationForImage;
|
37
|
+
enhanceCalibrationCancel: typeof ty.ai.enhanceCalibrationCancel;
|
30
38
|
};
|
@@ -85,5 +85,29 @@ export const ai = {
|
|
85
85
|
}),
|
86
86
|
processPetForegroundMediaByTemplate: factory('processPetForegroundMediaByTemplate', {
|
87
87
|
"namespace": "ai"
|
88
|
+
}),
|
89
|
+
imageEnhanceCreate: factory('imageEnhanceCreate', {
|
90
|
+
"namespace": "ai"
|
91
|
+
}),
|
92
|
+
imageEnhanceDestroy: factory('imageEnhanceDestroy', {
|
93
|
+
"namespace": "ai"
|
94
|
+
}),
|
95
|
+
enhanceClarityForImage: factory('enhanceClarityForImage', {
|
96
|
+
"namespace": "ai"
|
97
|
+
}),
|
98
|
+
enhanceClarityCancel: factory('enhanceClarityCancel', {
|
99
|
+
"namespace": "ai"
|
100
|
+
}),
|
101
|
+
onEnhanceClarityProgress: factory('onEnhanceClarityProgress', {
|
102
|
+
"namespace": "ai"
|
103
|
+
}),
|
104
|
+
offEnhanceClarityProgress: factory('offEnhanceClarityProgress', {
|
105
|
+
"namespace": "ai"
|
106
|
+
}),
|
107
|
+
enhanceCalibrationForImage: factory('enhanceCalibrationForImage', {
|
108
|
+
"namespace": "ai"
|
109
|
+
}),
|
110
|
+
enhanceCalibrationCancel: factory('enhanceCalibrationCancel', {
|
111
|
+
"namespace": "ai"
|
88
112
|
})
|
89
113
|
};
|
package/lib/all-kits.d.ts
CHANGED
@@ -10,6 +10,6 @@ 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.
|
13
|
+
export * from './AIKit-1.4.3';
|
14
14
|
export * from './IPCKit-6.4.5';
|
15
15
|
export * from './WearKit-1.1.6';
|
package/lib/all-kits.js
CHANGED
@@ -10,6 +10,6 @@ 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.
|
13
|
+
export * from './AIKit-1.4.3';
|
14
14
|
export * from './IPCKit-6.4.5';
|
15
15
|
export * from './WearKit-1.1.6';
|
@@ -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
|
-
|
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 };
|
package/lib/cloud/highlights.js
CHANGED
@@ -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
|
-
|
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 };
|
package/lib/cloud/interface.d.ts
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ray-js/api",
|
3
|
-
"version": "1.7.
|
3
|
+
"version": "1.7.37",
|
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.
|
33
|
-
"@ray-js/router": "1.7.
|
32
|
+
"@ray-js/framework": "1.7.37",
|
33
|
+
"@ray-js/router": "1.7.37",
|
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.
|
41
|
+
"@ray-js/cli": "1.7.37",
|
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": "
|
51
|
+
"gitHead": "b27ef8f72efef08ba6f3727fe068e2a92a190a20"
|
52
52
|
}
|