@ray-js/api 1.7.42 → 1.7.43
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.4.3.d.ts → AIKit-1.6.0.d.ts} +4 -0
- package/lib/{AIKit-1.4.3.js → AIKit-1.6.0.js} +12 -0
- package/lib/all-kits.d.ts +1 -1
- package/lib/all-kits.js +1 -1
- package/lib/cloud/deviceFile.js +24 -8
- package/lib/cloud/highlights.d.ts +1 -1
- package/lib/cloud/highlights.js +111 -38
- package/lib/cloud/interface.d.ts +1 -0
- package/package.json +5 -5
@@ -35,4 +35,8 @@ export declare const ai: {
|
|
35
35
|
offEnhanceClarityProgress: typeof ty.ai.offEnhanceClarityProgress;
|
36
36
|
enhanceCalibrationForImage: typeof ty.ai.enhanceCalibrationForImage;
|
37
37
|
enhanceCalibrationCancel: typeof ty.ai.enhanceCalibrationCancel;
|
38
|
+
oralDiseaseInit: typeof ty.ai.oralDiseaseInit;
|
39
|
+
onOralModelDownProgress: typeof ty.ai.onOralModelDownProgress;
|
40
|
+
offOralModelDownProgress: typeof ty.ai.offOralModelDownProgress;
|
41
|
+
oralDiseasePredictionRun: typeof ty.ai.oralDiseasePredictionRun;
|
38
42
|
};
|
@@ -109,5 +109,17 @@ export const ai = {
|
|
109
109
|
}),
|
110
110
|
enhanceCalibrationCancel: factory('enhanceCalibrationCancel', {
|
111
111
|
"namespace": "ai"
|
112
|
+
}),
|
113
|
+
oralDiseaseInit: factory('oralDiseaseInit', {
|
114
|
+
"namespace": "ai"
|
115
|
+
}),
|
116
|
+
onOralModelDownProgress: factory('onOralModelDownProgress', {
|
117
|
+
"namespace": "ai"
|
118
|
+
}),
|
119
|
+
offOralModelDownProgress: factory('offOralModelDownProgress', {
|
120
|
+
"namespace": "ai"
|
121
|
+
}),
|
122
|
+
oralDiseasePredictionRun: factory('oralDiseasePredictionRun', {
|
123
|
+
"namespace": "ai"
|
112
124
|
})
|
113
125
|
};
|
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.6.0';
|
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.6.0';
|
14
14
|
export * from './IPCKit-6.4.5';
|
15
15
|
export * from './WearKit-1.1.6';
|
package/lib/cloud/deviceFile.js
CHANGED
@@ -12,7 +12,9 @@ const deleteDeviceFile = (fileNos, devId) => {
|
|
12
12
|
fileNos,
|
13
13
|
sceneCode: 'pet_media-device'
|
14
14
|
}
|
15
|
-
}, '1.0'
|
15
|
+
}, '1.0', {
|
16
|
+
apiName: 'deleteDeviceFile'
|
17
|
+
});
|
16
18
|
};
|
17
19
|
|
18
20
|
/**
|
@@ -24,7 +26,9 @@ const fetchDeviceFileDetail = (fileNo, devId) => {
|
|
24
26
|
fileInfo: {
|
25
27
|
fileNo
|
26
28
|
}
|
27
|
-
}, '1.0'
|
29
|
+
}, '1.0', {
|
30
|
+
apiName: 'fetchDeviceFileDetail'
|
31
|
+
});
|
28
32
|
};
|
29
33
|
|
30
34
|
/**
|
@@ -35,7 +39,9 @@ const fetchDeviceFileSign = (bizType, fileName, contentType) => {
|
|
35
39
|
biz: bizType,
|
36
40
|
uploadFileName: fileName,
|
37
41
|
contentType
|
38
|
-
}, '3.0'
|
42
|
+
}, '3.0', {
|
43
|
+
apiName: 'fetchDeviceFileSign'
|
44
|
+
});
|
39
45
|
};
|
40
46
|
|
41
47
|
/**
|
@@ -44,7 +50,9 @@ const fetchDeviceFileSign = (bizType, fileName, contentType) => {
|
|
44
50
|
const fetchDeviceFileUploadState = uploadToken => {
|
45
51
|
return requestFunc(`${THING}.open.iot.upload.file.check`, {
|
46
52
|
uploadToken
|
47
|
-
}, '1.0'
|
53
|
+
}, '1.0', {
|
54
|
+
apiName: 'fetchDeviceFileUploadState'
|
55
|
+
});
|
48
56
|
};
|
49
57
|
|
50
58
|
/**
|
@@ -53,7 +61,9 @@ const fetchDeviceFileUploadState = uploadToken => {
|
|
53
61
|
const fetchBigPublicFileUploadState = pollingToken => {
|
54
62
|
return requestFunc(`${THING}.open.iot.upload.file.big.public.get`, {
|
55
63
|
pollingToken
|
56
|
-
}, '1.0'
|
64
|
+
}, '1.0', {
|
65
|
+
apiName: 'fetchBigPublicFileUploadState'
|
66
|
+
});
|
57
67
|
};
|
58
68
|
|
59
69
|
/**
|
@@ -67,7 +77,9 @@ const fetchPetAudios = devId => {
|
|
67
77
|
pageNo: 1,
|
68
78
|
pageSize: 10
|
69
79
|
}
|
70
|
-
}, '1.0'
|
80
|
+
}, '1.0', {
|
81
|
+
apiName: 'fetchPetAudios'
|
82
|
+
});
|
71
83
|
};
|
72
84
|
|
73
85
|
/**
|
@@ -80,7 +92,9 @@ const notifyDownload = (fileNo, devId) => {
|
|
80
92
|
fileNos: fileNo,
|
81
93
|
sceneCode: 'pet_media-device'
|
82
94
|
}
|
83
|
-
}, '1.0'
|
95
|
+
}, '1.0', {
|
96
|
+
apiName: 'notifyDownload'
|
97
|
+
});
|
84
98
|
};
|
85
99
|
|
86
100
|
/**
|
@@ -94,6 +108,8 @@ const fileRelationSave = (fileInfo, devId) => {
|
|
94
108
|
fileType: 'wav',
|
95
109
|
sceneCode: 'pet_media-device'
|
96
110
|
}, fileInfo)
|
97
|
-
}, '1.0'
|
111
|
+
}, '1.0', {
|
112
|
+
apiName: 'fileRelationSave'
|
113
|
+
});
|
98
114
|
};
|
99
115
|
export { deleteDeviceFile, fetchDeviceFileDetail, fetchPetAudios, notifyDownload, fileRelationSave, fetchDeviceFileSign, fetchDeviceFileUploadState, fetchBigPublicFileUploadState };
|
@@ -159,4 +159,4 @@ declare function getMovePointDetails(params: GetMovePointDetails): Promise<GetMo
|
|
159
159
|
* 获取用户增值服务服务单状态
|
160
160
|
*/
|
161
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 };
|
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
@@ -37,9 +37,10 @@ export const requestFunc = function (api, postData) {
|
|
37
37
|
const errObj = err.innerError || err;
|
38
38
|
const {
|
39
39
|
toastError = true,
|
40
|
-
transError = true
|
40
|
+
transError = true,
|
41
|
+
apiName = ''
|
41
42
|
} = options || {};
|
42
|
-
console.error(`Atop fetch "${
|
43
|
+
console.error(`Atop fetch "${apiName}" fail:`, errObj);
|
43
44
|
if (transError) {
|
44
45
|
resolve(false);
|
45
46
|
} else {
|
@@ -66,7 +67,9 @@ function getMessageList(params) {
|
|
66
67
|
msgType: 4
|
67
68
|
}, params))
|
68
69
|
};
|
69
|
-
return requestFunc(`${THING}.m.msg.list.by.json`, _params, '2.0'
|
70
|
+
return requestFunc(`${THING}.m.msg.list.by.json`, _params, '2.0', {
|
71
|
+
apiName: 'getMessageList'
|
72
|
+
});
|
70
73
|
}
|
71
74
|
|
72
75
|
/**
|
@@ -75,244 +78,314 @@ function getMessageList(params) {
|
|
75
78
|
function getAiVisualMessageKey(params) {
|
76
79
|
return requestFunc(`${THING}.m.ipc.biz.key.get`, {
|
77
80
|
input: JSON.stringify(params)
|
78
|
-
}, '1.0'
|
81
|
+
}, '1.0', {
|
82
|
+
apiName: 'getAiVisualMessageKey'
|
83
|
+
});
|
79
84
|
}
|
80
85
|
|
81
86
|
/**
|
82
87
|
* 查询智能视觉魔方报告列表
|
83
88
|
*/
|
84
89
|
function getAiVisualReportList(params) {
|
85
|
-
return requestFunc('m.ipc.smart.vision.box.report.list', params, '1.0'
|
90
|
+
return requestFunc('m.ipc.smart.vision.box.report.list', params, '1.0', {
|
91
|
+
apiName: 'getAiVisualReportList'
|
92
|
+
});
|
86
93
|
}
|
87
94
|
|
88
95
|
/**
|
89
96
|
* 刪除消息,用于批量删除分类消息,也可用于批量删除消息
|
90
97
|
*/
|
91
98
|
function deleteAiVisualMessage(params) {
|
92
|
-
return requestFunc(`${THING}.m.msg.remove`, params, '2.0'
|
99
|
+
return requestFunc(`${THING}.m.msg.remove`, params, '2.0', {
|
100
|
+
apiName: 'deleteAiVisualMessage'
|
101
|
+
});
|
93
102
|
}
|
94
103
|
|
95
104
|
/**
|
96
105
|
* 查询视觉魔方信息
|
97
106
|
*/
|
98
107
|
function getAiVisualBoxInfo(params) {
|
99
|
-
return requestFunc('m.ipc.smart.vision.box.info.query', params, '1.0'
|
108
|
+
return requestFunc('m.ipc.smart.vision.box.info.query', params, '1.0', {
|
109
|
+
apiName: 'getAiVisualBoxInfo'
|
110
|
+
});
|
100
111
|
}
|
101
112
|
|
102
113
|
/**
|
103
114
|
* 保存视觉魔方信息
|
104
115
|
*/
|
105
116
|
function saveAiVisualBoxInfo(params, atopOptions) {
|
106
|
-
return requestFunc('m.ipc.smart.vision.box.info.save', params, '1.0', atopOptions)
|
117
|
+
return requestFunc('m.ipc.smart.vision.box.info.save', params, '1.0', _objectSpread(_objectSpread({}, atopOptions), {}, {
|
118
|
+
apiName: 'saveAiVisualBoxInfo'
|
119
|
+
}));
|
107
120
|
}
|
108
121
|
|
109
122
|
/**
|
110
123
|
* 查询其对应的视觉魔方是否有正在同步的配置
|
111
124
|
*/
|
112
125
|
function aiVisualNeedCopyQuery(params) {
|
113
|
-
return requestFunc('m.ipc.smart.vision.box.record.query', params, '1.0'
|
126
|
+
return requestFunc('m.ipc.smart.vision.box.record.query', params, '1.0', {
|
127
|
+
apiName: 'aiVisualNeedCopyQuery'
|
128
|
+
});
|
114
129
|
}
|
115
130
|
|
116
131
|
/**
|
117
132
|
* 以家庭维度获取文件解密密钥接口
|
118
133
|
*/
|
119
134
|
function getStorageSecret(params) {
|
120
|
-
return requestFunc('m.ipc.storage.secret.get', params, '1.0'
|
135
|
+
return requestFunc('m.ipc.storage.secret.get', params, '1.0', {
|
136
|
+
apiName: 'getStorageSecret'
|
137
|
+
});
|
121
138
|
}
|
122
139
|
|
123
140
|
/**
|
124
141
|
* 以设备维度获取文件解密密钥接口
|
125
142
|
*/
|
126
143
|
function getStorageSecretByDeviceId(params) {
|
127
|
-
return requestFunc(`${THING}.m.ipc.storage.secret.get`, params, '1.0'
|
144
|
+
return requestFunc(`${THING}.m.ipc.storage.secret.get`, params, '1.0', {
|
145
|
+
apiName: 'getStorageSecretByDeviceId'
|
146
|
+
});
|
128
147
|
}
|
129
148
|
|
130
149
|
/**
|
131
150
|
* 查看单个设备设备详情
|
132
151
|
*/
|
133
152
|
function getDeviceDetailsById(params) {
|
134
|
-
return requestFunc('m.ecm.cvas.camera.bind.detail', params, '2.0'
|
153
|
+
return requestFunc('m.ecm.cvas.camera.bind.detail', params, '2.0', {
|
154
|
+
apiName: 'getDeviceDetailsById'
|
155
|
+
});
|
135
156
|
}
|
136
157
|
|
137
158
|
/**
|
138
159
|
* 获取家庭摄像头设备列表
|
139
160
|
*/
|
140
161
|
function getCameraList(params) {
|
141
|
-
return requestFunc('m.ecm.cvas.h5.home.camera.list', params, '1.0'
|
162
|
+
return requestFunc('m.ecm.cvas.h5.home.camera.list', params, '1.0', {
|
163
|
+
apiName: 'getCameraList'
|
164
|
+
});
|
142
165
|
}
|
143
166
|
|
144
167
|
/**
|
145
168
|
* 绑定或解绑设备
|
146
169
|
*/
|
147
170
|
function bindDevice(params) {
|
148
|
-
return requestFunc('m.ecm.cvas.device.bind', params, '1.0'
|
171
|
+
return requestFunc('m.ecm.cvas.device.bind', params, '1.0', {
|
172
|
+
apiName: 'bindDevice'
|
173
|
+
});
|
149
174
|
}
|
150
175
|
|
151
176
|
/**
|
152
177
|
* 自定义事件校验
|
153
178
|
*/
|
154
179
|
function customEventCheck(params) {
|
155
|
-
return requestFunc('m.ipc.smart.event.check', params, '1.0'
|
180
|
+
return requestFunc('m.ipc.smart.event.check', params, '1.0', {
|
181
|
+
apiName: 'customEventCheck'
|
182
|
+
});
|
156
183
|
}
|
157
184
|
|
158
185
|
/**
|
159
186
|
* 查询智能事件开关
|
160
187
|
*/
|
161
188
|
function getSmartEventSwitchState(params) {
|
162
|
-
return requestFunc('m.ipc.service.device.config.switch.query', params, '1.0'
|
189
|
+
return requestFunc('m.ipc.service.device.config.switch.query', params, '1.0', {
|
190
|
+
apiName: 'getSmartEventSwitchState'
|
191
|
+
});
|
163
192
|
}
|
164
193
|
|
165
194
|
/**
|
166
195
|
* 查询智能事件开关
|
167
196
|
*/
|
168
197
|
function updateSmartEventSwitchState(params) {
|
169
|
-
return requestFunc('m.ipc.service.device.config.switch.update', params, '2.0'
|
198
|
+
return requestFunc('m.ipc.service.device.config.switch.update', params, '2.0', {
|
199
|
+
apiName: 'updateSmartEventSwitchState'
|
200
|
+
});
|
170
201
|
}
|
171
202
|
|
172
203
|
/**
|
173
204
|
* 获取设备服务配置项
|
174
205
|
*/
|
175
206
|
function getDeviceConfig(params) {
|
176
|
-
return requestFunc('m.ipc.service.device.config.query', params, '1.0'
|
207
|
+
return requestFunc('m.ipc.service.device.config.query', params, '1.0', {
|
208
|
+
apiName: 'getDeviceConfig'
|
209
|
+
});
|
177
210
|
}
|
178
211
|
|
179
212
|
/**
|
180
213
|
* 设备服务配置项修改
|
181
214
|
*/
|
182
215
|
function updateDeviceConfig(params) {
|
183
|
-
return requestFunc('m.ipc.service.device.config.update', params, '2.0'
|
216
|
+
return requestFunc('m.ipc.service.device.config.update', params, '2.0', {
|
217
|
+
apiName: 'updateDeviceConfig'
|
218
|
+
});
|
184
219
|
}
|
185
220
|
|
186
221
|
/**
|
187
222
|
* 服务详情信息
|
188
223
|
*/
|
189
224
|
function getServiceDetail(params) {
|
190
|
-
return requestFunc('m.ecm.cvas.my.service.detail', params, '1.0'
|
225
|
+
return requestFunc('m.ecm.cvas.my.service.detail', params, '1.0', {
|
226
|
+
apiName: 'getServiceDetail'
|
227
|
+
});
|
191
228
|
}
|
192
229
|
|
193
230
|
/**
|
194
231
|
* 时光相册智能视频日期统计
|
195
232
|
*/
|
196
233
|
function albumVideoDateCount(params) {
|
197
|
-
return requestFunc('m.ipc.time.album.video.date.count', params, '1.0'
|
234
|
+
return requestFunc('m.ipc.time.album.video.date.count', params, '1.0', {
|
235
|
+
apiName: 'albumVideoDateCount'
|
236
|
+
});
|
198
237
|
}
|
199
238
|
|
200
239
|
/**
|
201
240
|
* 时光相册录像文件列表
|
202
241
|
*/
|
203
242
|
function albumVideoFileList(params) {
|
204
|
-
return requestFunc('m.ipc.time.album.video.file.list', params, '1.0'
|
243
|
+
return requestFunc('m.ipc.time.album.video.file.list', params, '1.0', {
|
244
|
+
apiName: 'albumVideoFileList'
|
245
|
+
});
|
205
246
|
}
|
206
247
|
|
207
248
|
/**
|
208
249
|
* 时光相册录像文件详情
|
209
250
|
*/
|
210
251
|
function albumVideoFileDetail(params) {
|
211
|
-
return requestFunc('m.ipc.time.album.video.file.detail', params, '1.0'
|
252
|
+
return requestFunc('m.ipc.time.album.video.file.detail', params, '1.0', {
|
253
|
+
apiName: 'albumVideoFileDetail'
|
254
|
+
});
|
212
255
|
}
|
213
256
|
|
214
257
|
/**
|
215
258
|
* 删除时光相册相簿文件
|
216
259
|
*/
|
217
260
|
function albumFileDelete(params) {
|
218
|
-
return requestFunc('m.ipc.time.album.file.delete', params, '1.0'
|
261
|
+
return requestFunc('m.ipc.time.album.file.delete', params, '1.0', {
|
262
|
+
apiName: 'albumFileDelete'
|
263
|
+
});
|
219
264
|
}
|
220
265
|
|
221
266
|
/**
|
222
267
|
* 时光相册配置保存
|
223
268
|
*/
|
224
269
|
function albumSettingSave(params) {
|
225
|
-
return requestFunc('m.ipc.time.album.config.save', params, '1.0'
|
270
|
+
return requestFunc('m.ipc.time.album.config.save', params, '1.0', {
|
271
|
+
apiName: 'albumSettingSave'
|
272
|
+
});
|
226
273
|
}
|
227
274
|
|
228
275
|
/**
|
229
276
|
* 时光相册配置修改
|
230
277
|
*/
|
231
278
|
function albumSettingEdit(params) {
|
232
|
-
return requestFunc('m.ipc.time.album.config.edit', params, '1.0'
|
279
|
+
return requestFunc('m.ipc.time.album.config.edit', params, '1.0', {
|
280
|
+
apiName: 'albumSettingEdit'
|
281
|
+
});
|
233
282
|
}
|
234
283
|
|
235
284
|
/**
|
236
285
|
* 时光相册配置查询
|
237
286
|
*/
|
238
287
|
function getAlbumSetting(params) {
|
239
|
-
return requestFunc('m.ipc.time.album.config.get', params, '1.0'
|
288
|
+
return requestFunc('m.ipc.time.album.config.get', params, '1.0', {
|
289
|
+
apiName: 'getAlbumSetting'
|
290
|
+
});
|
240
291
|
}
|
241
292
|
|
242
293
|
/**
|
243
294
|
* 查询智能视觉魔方列表(关联服务)
|
244
295
|
*/
|
245
296
|
function getVisualBoxList(params) {
|
246
|
-
return requestFunc('m.ipc.smart.vision.box.list', params, '1.0'
|
297
|
+
return requestFunc('m.ipc.smart.vision.box.list', params, '1.0', {
|
298
|
+
apiName: 'getVisualBoxList'
|
299
|
+
});
|
247
300
|
}
|
248
301
|
|
249
302
|
/**
|
250
303
|
* 查询智能视觉魔方列表预置事件
|
251
304
|
*/
|
252
305
|
function getPresetEvent(params) {
|
253
|
-
return requestFunc('m.ipc.service.business.config.query', params, '1.0'
|
306
|
+
return requestFunc('m.ipc.service.business.config.query', params, '1.0', {
|
307
|
+
apiName: 'getPresetEvent'
|
308
|
+
});
|
254
309
|
}
|
255
310
|
|
256
311
|
/**
|
257
312
|
* 视觉魔方自定义语义校验
|
258
313
|
*/
|
259
314
|
function visualBoxEventCheck(params) {
|
260
|
-
return requestFunc('m.ipc.smart.vision.box.event.check', params, '1.0'
|
315
|
+
return requestFunc('m.ipc.smart.vision.box.event.check', params, '1.0', {
|
316
|
+
apiName: 'visualBoxEventCheck'
|
317
|
+
});
|
261
318
|
}
|
262
319
|
|
263
320
|
/**
|
264
321
|
* 获取摄像头配置信息
|
265
322
|
*/
|
266
323
|
function getIpcRtcConfig(params) {
|
267
|
-
return requestFunc('m.ipc.v4.rtc.config.get', params, '1.0'
|
324
|
+
return requestFunc('m.ipc.v4.rtc.config.get', params, '1.0', {
|
325
|
+
apiName: 'getIpcRtcConfig'
|
326
|
+
});
|
268
327
|
}
|
269
328
|
|
270
329
|
/**
|
271
330
|
* 获取摄像头收藏点列表
|
272
331
|
*/
|
273
332
|
function getIpcPointList(params) {
|
274
|
-
return requestFunc(`${THING}.m.ipc.memory.point.list`, params, '2.0'
|
333
|
+
return requestFunc(`${THING}.m.ipc.memory.point.list`, params, '2.0', {
|
334
|
+
apiName: 'getIpcPointList'
|
335
|
+
});
|
275
336
|
}
|
276
337
|
|
277
338
|
/**
|
278
339
|
* 更新摄像头收藏点信息
|
279
340
|
*/
|
280
341
|
function updateIpcPointInfo(params) {
|
281
|
-
return requestFunc(`${THING}.m.ipc.memory.point.rename`, params, '1.0'
|
342
|
+
return requestFunc(`${THING}.m.ipc.memory.point.rename`, params, '1.0', {
|
343
|
+
apiName: 'updateIpcPointInfo'
|
344
|
+
});
|
282
345
|
}
|
283
346
|
|
284
347
|
/**
|
285
348
|
* 获取增值服务跳转URL接口
|
286
349
|
*/
|
287
350
|
function getVasUrlInfo(params) {
|
288
|
-
return requestFunc('m.ecm.cvas.basic.url.config.get', params, '1.0'
|
351
|
+
return requestFunc('m.ecm.cvas.basic.url.config.get', params, '1.0', {
|
352
|
+
apiName: 'getVasUrlInfo'
|
353
|
+
});
|
289
354
|
}
|
290
355
|
|
291
356
|
/**
|
292
357
|
* 获取增值服务运营列表接口
|
293
358
|
*/
|
294
359
|
function getVasServiceConfigList(params) {
|
295
|
-
return requestFunc('m.ecm.cvas.service.config.get', params, '3.0'
|
360
|
+
return requestFunc('m.ecm.cvas.service.config.get', params, '3.0', {
|
361
|
+
apiName: 'getVasServiceConfigList'
|
362
|
+
});
|
296
363
|
}
|
297
364
|
|
298
365
|
/**
|
299
366
|
* 获取移动摄像机轨迹路径列表
|
300
367
|
*/
|
301
368
|
function getMovePathList(params) {
|
302
|
-
return requestFunc('m.ipc.move.point.by.path.list', params, '1.0'
|
369
|
+
return requestFunc('m.ipc.move.point.by.path.list', params, '1.0', {
|
370
|
+
apiName: 'getMovePathList'
|
371
|
+
});
|
303
372
|
}
|
304
373
|
|
305
374
|
/**
|
306
375
|
* 获取移动摄像机点位列表
|
307
376
|
*/
|
308
377
|
function getMovePointDetails(params) {
|
309
|
-
return requestFunc('m.ipc.move.point.by.mpid.get', params, '1.0'
|
378
|
+
return requestFunc('m.ipc.move.point.by.mpid.get', params, '1.0', {
|
379
|
+
apiName: 'getMovePointDetails'
|
380
|
+
});
|
310
381
|
}
|
311
382
|
|
312
383
|
/**
|
313
384
|
* 获取用户增值服务服务单状态
|
314
385
|
*/
|
315
386
|
function getVasServiceStatus(params) {
|
316
|
-
return requestFunc('m.ecm.cvas.service.user.check', params, '1.0'
|
387
|
+
return requestFunc('m.ecm.cvas.service.user.check', params, '1.0', {
|
388
|
+
apiName: 'getVasServiceStatus'
|
389
|
+
});
|
317
390
|
}
|
318
391
|
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.43",
|
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.43",
|
33
|
+
"@ray-js/router": "1.7.43",
|
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.43",
|
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": "c64482aada57e26a24aa9b85c1a77355de3a8b7f"
|
52
52
|
}
|