@ray-js/api 1.7.58 → 1.7.60-beta.1

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.
@@ -9,154 +9,154 @@ export declare const requestFunc: <T = any>(api: string, postData: Record<string
9
9
  /**
10
10
  * 获取 App 面板内静态资源地址
11
11
  */
12
- declare function getMessageList(params: QueryGetMessageList): Promise<GetMessageListRes>;
12
+ declare function getMessageList(params: QueryGetMessageList, options?: Options): Promise<GetMessageListRes>;
13
13
  /**
14
14
  * 获取ipc业务数据密钥 获取消息图片的密钥
15
15
  */
16
- declare function getAiVisualMessageKey(params: GetAiVisualMessageKey[]): Promise<GetAiVisualMessageKeyRes[]>;
16
+ declare function getAiVisualMessageKey(params: GetAiVisualMessageKey[], options?: Options): Promise<GetAiVisualMessageKeyRes[]>;
17
17
  /**
18
18
  * 查询智能视觉魔方报告列表
19
19
  */
20
- declare function getAiVisualReportList(params: QueryGetAiVisualReportList): Promise<VisionBoxReport[]>;
20
+ declare function getAiVisualReportList(params: QueryGetAiVisualReportList, options?: Options): Promise<VisionBoxReport[]>;
21
21
  /**
22
22
  * 刪除消息,用于批量删除分类消息,也可用于批量删除消息
23
23
  */
24
- declare function deleteAiVisualMessage(params: DeleteAiVisualMessageList): Promise<{
24
+ declare function deleteAiVisualMessage(params: DeleteAiVisualMessageList, options?: Options): Promise<{
25
25
  result: string;
26
26
  success: boolean;
27
27
  }>;
28
28
  /**
29
29
  * 查询视觉魔方信息
30
30
  */
31
- declare function getAiVisualBoxInfo(params: GetAiVisualBoxInfoParams): Promise<AiVisualBox>;
31
+ declare function getAiVisualBoxInfo(params: GetAiVisualBoxInfoParams, options?: Options): Promise<AiVisualBox>;
32
32
  /**
33
33
  * 保存视觉魔方信息
34
34
  */
35
- declare function saveAiVisualBoxInfo(params: SaveAiVisualBoxInfoParams, atopOptions?: Options): Promise<string | number>;
35
+ declare function saveAiVisualBoxInfo(params: SaveAiVisualBoxInfoParams, options?: Options): Promise<string | number>;
36
36
  /**
37
37
  * 查询其对应的视觉魔方是否有正在同步的配置
38
38
  */
39
- declare function aiVisualNeedCopyQuery(params: AiVisualNeedCopyQueryParams): Promise<AiVisualNeedCopyQueryResult>;
39
+ declare function aiVisualNeedCopyQuery(params: AiVisualNeedCopyQueryParams, options?: Options): Promise<AiVisualNeedCopyQueryResult>;
40
40
  /**
41
41
  * 以家庭维度获取文件解密密钥接口
42
42
  */
43
43
  declare function getStorageSecret(params: {
44
44
  gid: string;
45
- }): Promise<string>;
45
+ }, options?: Options): Promise<string>;
46
46
  /**
47
47
  * 以设备维度获取文件解密密钥接口
48
48
  */
49
49
  declare function getStorageSecretByDeviceId(params: {
50
50
  devId: string;
51
- }): Promise<string>;
51
+ }, options?: Options): Promise<string>;
52
52
  /**
53
53
  * 查看单个设备设备详情
54
54
  */
55
- declare function getDeviceDetailsById(params: QueryGetDeviceDetailsById): Promise<DeviceDetails>;
55
+ declare function getDeviceDetailsById(params: QueryGetDeviceDetailsById, options?: Options): Promise<DeviceDetails>;
56
56
  /**
57
57
  * 获取家庭摄像头设备列表
58
58
  */
59
- declare function getCameraList(params: QueryCameraListDto): Promise<ResBindDeviceDto>;
59
+ declare function getCameraList(params: QueryCameraListDto, options?: Options): Promise<ResBindDeviceDto>;
60
60
  /**
61
61
  * 绑定或解绑设备
62
62
  */
63
- declare function bindDevice(params: QueryBindDeviceDto): Promise<boolean>;
63
+ declare function bindDevice(params: QueryBindDeviceDto, options?: Options): Promise<boolean>;
64
64
  /**
65
65
  * 自定义事件校验
66
66
  */
67
- declare function customEventCheck(params: CustomEventCheckParams): Promise<CustomEventCheckResult>;
67
+ declare function customEventCheck(params: CustomEventCheckParams, options?: Options): Promise<CustomEventCheckResult>;
68
68
  /**
69
69
  * 查询智能事件开关
70
70
  */
71
- declare function getSmartEventSwitchState(params: GetSmartEventSwitchStateParams): Promise<GetSmartEventSwitchStateResult>;
71
+ declare function getSmartEventSwitchState(params: GetSmartEventSwitchStateParams, options?: Options): Promise<GetSmartEventSwitchStateResult>;
72
72
  /**
73
73
  * 查询智能事件开关
74
74
  */
75
- declare function updateSmartEventSwitchState(params: UpdateSwitchStateParams): Promise<boolean>;
75
+ declare function updateSmartEventSwitchState(params: UpdateSwitchStateParams, options?: Options): Promise<boolean>;
76
76
  /**
77
77
  * 获取设备服务配置项
78
78
  */
79
- declare function getDeviceConfig(params: GetDeviceConfigParams): Promise<GetDeviceConfigResult & {
79
+ declare function getDeviceConfig(params: GetDeviceConfigParams, options?: Options): Promise<GetDeviceConfigResult & {
80
80
  uuid: string;
81
81
  }>;
82
82
  /**
83
83
  * 设备服务配置项修改
84
84
  */
85
- declare function updateDeviceConfig(params: UpdateDeviceConfigParams): Promise<DeviceServiceConfigItemDto['configId']>;
85
+ declare function updateDeviceConfig(params: UpdateDeviceConfigParams, options?: Options): Promise<DeviceServiceConfigItemDto['configId']>;
86
86
  /**
87
87
  * 服务详情信息
88
88
  */
89
- declare function getServiceDetail(params: QueryServiceDetailDto): Promise<ServiceDetailDto>;
89
+ declare function getServiceDetail(params: QueryServiceDetailDto, options?: Options): Promise<ServiceDetailDto>;
90
90
  /**
91
91
  * 时光相册智能视频日期统计
92
92
  */
93
- declare function albumVideoDateCount(params: IAlbumVideoDateCountReq): Promise<IAlbumVideoDateCountRes[]>;
93
+ declare function albumVideoDateCount(params: IAlbumVideoDateCountReq, options?: Options): Promise<IAlbumVideoDateCountRes[]>;
94
94
  /**
95
95
  * 时光相册录像文件列表
96
96
  */
97
- declare function albumVideoFileList(params: IAlbumVideoFileListReq): Promise<IAlbumVideoFileListRes>;
97
+ declare function albumVideoFileList(params: IAlbumVideoFileListReq, options?: Options): Promise<IAlbumVideoFileListRes>;
98
98
  /**
99
99
  * 时光相册录像文件详情
100
100
  */
101
- declare function albumVideoFileDetail(params: IAlbumVideoFileDetailReq): Promise<IAlbumVideoFileDetailRes>;
101
+ declare function albumVideoFileDetail(params: IAlbumVideoFileDetailReq, options?: Options): Promise<IAlbumVideoFileDetailRes>;
102
102
  /**
103
103
  * 删除时光相册相簿文件
104
104
  */
105
- declare function albumFileDelete(params: IAlbumFileDeleteReq): Promise<IAlbumFileDeleteRes>;
105
+ declare function albumFileDelete(params: IAlbumFileDeleteReq, options?: Options): Promise<IAlbumFileDeleteRes>;
106
106
  /**
107
107
  * 时光相册配置保存
108
108
  */
109
- declare function albumSettingSave(params: AlbumSettingSaveReq): Promise<boolean>;
109
+ declare function albumSettingSave(params: AlbumSettingSaveReq, options?: Options): Promise<boolean>;
110
110
  /**
111
111
  * 时光相册配置修改
112
112
  */
113
- declare function albumSettingEdit(params: AlbumSettingEditReq): Promise<boolean>;
113
+ declare function albumSettingEdit(params: AlbumSettingEditReq, options?: Options): Promise<boolean>;
114
114
  /**
115
115
  * 时光相册配置查询
116
116
  */
117
- declare function getAlbumSetting(params: GetAlbumSettingReq): Promise<TimeAlbumSettingDto>;
117
+ declare function getAlbumSetting(params: GetAlbumSettingReq, options?: Options): Promise<TimeAlbumSettingDto>;
118
118
  /**
119
119
  * 查询智能视觉魔方列表(关联服务)
120
120
  */
121
- declare function getVisualBoxList(params: QueryGetAiVisualList): Promise<VisionBoxDto[]>;
121
+ declare function getVisualBoxList(params: QueryGetAiVisualList, options?: Options): Promise<VisionBoxDto[]>;
122
122
  /**
123
123
  * 查询智能视觉魔方列表预置事件
124
124
  */
125
- declare function getPresetEvent(params: GetAiVisualPresetEventParams): Promise<PresetEvent[]>;
125
+ declare function getPresetEvent(params: GetAiVisualPresetEventParams, options?: Options): Promise<PresetEvent[]>;
126
126
  /**
127
127
  * 视觉魔方自定义语义校验
128
128
  */
129
- declare function visualBoxEventCheck(params: CustomVisionEventCheckParams): Promise<CustomVisionEventCheckRet>;
129
+ declare function visualBoxEventCheck(params: CustomVisionEventCheckParams, options?: Options): Promise<CustomVisionEventCheckRet>;
130
130
  /**
131
131
  * 获取摄像头配置信息
132
132
  */
133
- declare function getIpcRtcConfig(params: GetIpcRtcConfig): Promise<GetIpcRtcConfigRet>;
133
+ declare function getIpcRtcConfig(params: GetIpcRtcConfig, options?: Options): Promise<GetIpcRtcConfigRet>;
134
134
  /**
135
135
  * 获取摄像头收藏点列表
136
136
  */
137
- declare function getIpcPointList(params: GetIpcPointList): Promise<GetIpcPointListRet>;
137
+ declare function getIpcPointList(params: GetIpcPointList, options?: Options): Promise<GetIpcPointListRet>;
138
138
  /**
139
139
  * 更新摄像头收藏点信息
140
140
  */
141
- declare function updateIpcPointInfo(params: UpdateIpcPointInfo): Promise<UpdateIpcPointInfoRet>;
141
+ declare function updateIpcPointInfo(params: UpdateIpcPointInfo, options?: Options): Promise<UpdateIpcPointInfoRet>;
142
142
  /**
143
143
  * 获取增值服务跳转URL接口
144
144
  */
145
- declare function getVasUrlInfo(params: GetVasUrlInfo): Promise<GetVasUrlInfoRet>;
145
+ declare function getVasUrlInfo(params: GetVasUrlInfo, options?: Options): Promise<GetVasUrlInfoRet>;
146
146
  /**
147
147
  * 获取增值服务运营列表接口
148
148
  */
149
- declare function getVasServiceConfigList(params: GetVasServiceConfigList): Promise<GetVasServiceConfigListRet>;
149
+ declare function getVasServiceConfigList(params: GetVasServiceConfigList, options?: Options): Promise<GetVasServiceConfigListRet>;
150
150
  /**
151
151
  * 获取移动摄像机轨迹路径列表
152
152
  */
153
- declare function getMovePathList(params: GetMovePathList): Promise<GetMovePathListRet>;
153
+ declare function getMovePathList(params: GetMovePathList, options?: Options): Promise<GetMovePathListRet>;
154
154
  /**
155
155
  * 获取移动摄像机点位列表
156
156
  */
157
- declare function getMovePointDetails(params: GetMovePointDetails): Promise<GetMovePointDetailsRet>;
157
+ declare function getMovePointDetails(params: GetMovePointDetails, options?: Options): Promise<GetMovePointDetailsRet>;
158
158
  /**
159
159
  * 获取用户增值服务服务单状态
160
160
  */
161
- declare function getVasServiceStatus(params: GetVasServiceStatus): Promise<GetVasServiceStatusRet>;
161
+ declare function getVasServiceStatus(params: GetVasServiceStatus, options?: Options): Promise<GetVasServiceStatusRet>;
162
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, };
@@ -61,332 +61,332 @@ export const requestFunc = function (api, postData) {
61
61
  /**
62
62
  * 获取 App 面板内静态资源地址
63
63
  */
64
- function getMessageList(params) {
64
+ function getMessageList(params, options) {
65
65
  const _params = {
66
66
  json: JSON.stringify(_objectSpread({
67
67
  keepOrig: true,
68
68
  msgType: 4
69
69
  }, params))
70
70
  };
71
- return requestFunc("".concat(THING, ".m.msg.list.by.json"), _params, '2.0', {
71
+ return requestFunc("".concat(THING, ".m.msg.list.by.json"), _params, '2.0', _objectSpread({
72
72
  apiName: 'getMessageList'
73
- });
73
+ }, options));
74
74
  }
75
75
 
76
76
  /**
77
77
  * 获取ipc业务数据密钥 获取消息图片的密钥
78
78
  */
79
- function getAiVisualMessageKey(params) {
79
+ function getAiVisualMessageKey(params, options) {
80
80
  return requestFunc("".concat(THING, ".m.ipc.biz.key.get"), {
81
81
  input: JSON.stringify(params)
82
- }, '1.0', {
82
+ }, '1.0', _objectSpread({
83
83
  apiName: 'getAiVisualMessageKey'
84
- });
84
+ }, options));
85
85
  }
86
86
 
87
87
  /**
88
88
  * 查询智能视觉魔方报告列表
89
89
  */
90
- function getAiVisualReportList(params) {
91
- return requestFunc('m.ipc.smart.vision.box.report.list', params, '1.0', {
90
+ function getAiVisualReportList(params, options) {
91
+ return requestFunc('m.ipc.smart.vision.box.report.list', params, '1.0', _objectSpread({
92
92
  apiName: 'getAiVisualReportList'
93
- });
93
+ }, options));
94
94
  }
95
95
 
96
96
  /**
97
97
  * 刪除消息,用于批量删除分类消息,也可用于批量删除消息
98
98
  */
99
- function deleteAiVisualMessage(params) {
100
- return requestFunc("".concat(THING, ".m.msg.remove"), params, '2.0', {
99
+ function deleteAiVisualMessage(params, options) {
100
+ return requestFunc("".concat(THING, ".m.msg.remove"), params, '2.0', _objectSpread({
101
101
  apiName: 'deleteAiVisualMessage'
102
- });
102
+ }, options));
103
103
  }
104
104
 
105
105
  /**
106
106
  * 查询视觉魔方信息
107
107
  */
108
- function getAiVisualBoxInfo(params) {
109
- return requestFunc('m.ipc.smart.vision.box.info.query', params, '1.0', {
108
+ function getAiVisualBoxInfo(params, options) {
109
+ return requestFunc('m.ipc.smart.vision.box.info.query', params, '1.0', _objectSpread({
110
110
  apiName: 'getAiVisualBoxInfo'
111
- });
111
+ }, options));
112
112
  }
113
113
 
114
114
  /**
115
115
  * 保存视觉魔方信息
116
116
  */
117
- function saveAiVisualBoxInfo(params, atopOptions) {
118
- return requestFunc('m.ipc.smart.vision.box.info.save', params, '1.0', _objectSpread(_objectSpread({}, atopOptions), {}, {
117
+ function saveAiVisualBoxInfo(params, options) {
118
+ return requestFunc('m.ipc.smart.vision.box.info.save', params, '1.0', _objectSpread({
119
119
  apiName: 'saveAiVisualBoxInfo'
120
- }));
120
+ }, options));
121
121
  }
122
122
 
123
123
  /**
124
124
  * 查询其对应的视觉魔方是否有正在同步的配置
125
125
  */
126
- function aiVisualNeedCopyQuery(params) {
127
- return requestFunc('m.ipc.smart.vision.box.record.query', params, '1.0', {
126
+ function aiVisualNeedCopyQuery(params, options) {
127
+ return requestFunc('m.ipc.smart.vision.box.record.query', params, '1.0', _objectSpread({
128
128
  apiName: 'aiVisualNeedCopyQuery'
129
- });
129
+ }, options));
130
130
  }
131
131
 
132
132
  /**
133
133
  * 以家庭维度获取文件解密密钥接口
134
134
  */
135
- function getStorageSecret(params) {
136
- return requestFunc('m.ipc.storage.secret.get', params, '1.0', {
135
+ function getStorageSecret(params, options) {
136
+ return requestFunc('m.ipc.storage.secret.get', params, '1.0', _objectSpread({
137
137
  apiName: 'getStorageSecret'
138
- });
138
+ }, options));
139
139
  }
140
140
 
141
141
  /**
142
142
  * 以设备维度获取文件解密密钥接口
143
143
  */
144
- function getStorageSecretByDeviceId(params) {
145
- return requestFunc("".concat(THING, ".m.ipc.storage.secret.get"), params, '1.0', {
144
+ function getStorageSecretByDeviceId(params, options) {
145
+ return requestFunc("".concat(THING, ".m.ipc.storage.secret.get"), params, '1.0', _objectSpread({
146
146
  apiName: 'getStorageSecretByDeviceId'
147
- });
147
+ }, options));
148
148
  }
149
149
 
150
150
  /**
151
151
  * 查看单个设备设备详情
152
152
  */
153
- function getDeviceDetailsById(params) {
154
- return requestFunc('m.ecm.cvas.camera.bind.detail', params, '2.0', {
153
+ function getDeviceDetailsById(params, options) {
154
+ return requestFunc('m.ecm.cvas.camera.bind.detail', params, '2.0', _objectSpread({
155
155
  apiName: 'getDeviceDetailsById'
156
- });
156
+ }, options));
157
157
  }
158
158
 
159
159
  /**
160
160
  * 获取家庭摄像头设备列表
161
161
  */
162
- function getCameraList(params) {
163
- return requestFunc('m.ecm.cvas.h5.home.camera.list', params, '1.0', {
162
+ function getCameraList(params, options) {
163
+ return requestFunc('m.ecm.cvas.h5.home.camera.list', params, '1.0', _objectSpread({
164
164
  apiName: 'getCameraList'
165
- });
165
+ }, options));
166
166
  }
167
167
 
168
168
  /**
169
169
  * 绑定或解绑设备
170
170
  */
171
- function bindDevice(params) {
172
- return requestFunc('m.ecm.cvas.device.bind', params, '1.0', {
171
+ function bindDevice(params, options) {
172
+ return requestFunc('m.ecm.cvas.device.bind', params, '1.0', _objectSpread({
173
173
  apiName: 'bindDevice'
174
- });
174
+ }, options));
175
175
  }
176
176
 
177
177
  /**
178
178
  * 自定义事件校验
179
179
  */
180
- function customEventCheck(params) {
181
- return requestFunc('m.ipc.smart.event.check', params, '1.0', {
180
+ function customEventCheck(params, options) {
181
+ return requestFunc('m.ipc.smart.event.check', params, '1.0', _objectSpread({
182
182
  apiName: 'customEventCheck'
183
- });
183
+ }, options));
184
184
  }
185
185
 
186
186
  /**
187
187
  * 查询智能事件开关
188
188
  */
189
- function getSmartEventSwitchState(params) {
190
- return requestFunc('m.ipc.service.device.config.switch.query', params, '1.0', {
189
+ function getSmartEventSwitchState(params, options) {
190
+ return requestFunc('m.ipc.service.device.config.switch.query', params, '1.0', _objectSpread({
191
191
  apiName: 'getSmartEventSwitchState'
192
- });
192
+ }, options));
193
193
  }
194
194
 
195
195
  /**
196
196
  * 查询智能事件开关
197
197
  */
198
- function updateSmartEventSwitchState(params) {
199
- return requestFunc('m.ipc.service.device.config.switch.update', params, '2.0', {
198
+ function updateSmartEventSwitchState(params, options) {
199
+ return requestFunc('m.ipc.service.device.config.switch.update', params, '2.0', _objectSpread({
200
200
  apiName: 'updateSmartEventSwitchState'
201
- });
201
+ }, options));
202
202
  }
203
203
 
204
204
  /**
205
205
  * 获取设备服务配置项
206
206
  */
207
- function getDeviceConfig(params) {
208
- return requestFunc('m.ipc.service.device.config.query', params, '1.0', {
207
+ function getDeviceConfig(params, options) {
208
+ return requestFunc('m.ipc.service.device.config.query', params, '1.0', _objectSpread({
209
209
  apiName: 'getDeviceConfig'
210
- });
210
+ }, options));
211
211
  }
212
212
 
213
213
  /**
214
214
  * 设备服务配置项修改
215
215
  */
216
- function updateDeviceConfig(params) {
217
- return requestFunc('m.ipc.service.device.config.update', params, '2.0', {
216
+ function updateDeviceConfig(params, options) {
217
+ return requestFunc('m.ipc.service.device.config.update', params, '2.0', _objectSpread({
218
218
  apiName: 'updateDeviceConfig'
219
- });
219
+ }, options));
220
220
  }
221
221
 
222
222
  /**
223
223
  * 服务详情信息
224
224
  */
225
- function getServiceDetail(params) {
226
- return requestFunc('m.ecm.cvas.my.service.detail', params, '1.0', {
225
+ function getServiceDetail(params, options) {
226
+ return requestFunc('m.ecm.cvas.my.service.detail', params, '1.0', _objectSpread({
227
227
  apiName: 'getServiceDetail'
228
- });
228
+ }, options));
229
229
  }
230
230
 
231
231
  /**
232
232
  * 时光相册智能视频日期统计
233
233
  */
234
- function albumVideoDateCount(params) {
235
- return requestFunc('m.ipc.time.album.video.date.count', params, '1.0', {
234
+ function albumVideoDateCount(params, options) {
235
+ return requestFunc('m.ipc.time.album.video.date.count', params, '1.0', _objectSpread({
236
236
  apiName: 'albumVideoDateCount'
237
- });
237
+ }, options));
238
238
  }
239
239
 
240
240
  /**
241
241
  * 时光相册录像文件列表
242
242
  */
243
- function albumVideoFileList(params) {
244
- return requestFunc('m.ipc.time.album.video.file.list', params, '1.0', {
243
+ function albumVideoFileList(params, options) {
244
+ return requestFunc('m.ipc.time.album.video.file.list', params, '1.0', _objectSpread({
245
245
  apiName: 'albumVideoFileList'
246
- });
246
+ }, options));
247
247
  }
248
248
 
249
249
  /**
250
250
  * 时光相册录像文件详情
251
251
  */
252
- function albumVideoFileDetail(params) {
253
- return requestFunc('m.ipc.time.album.video.file.detail', params, '1.0', {
252
+ function albumVideoFileDetail(params, options) {
253
+ return requestFunc('m.ipc.time.album.video.file.detail', params, '1.0', _objectSpread({
254
254
  apiName: 'albumVideoFileDetail'
255
- });
255
+ }, options));
256
256
  }
257
257
 
258
258
  /**
259
259
  * 删除时光相册相簿文件
260
260
  */
261
- function albumFileDelete(params) {
262
- return requestFunc('m.ipc.time.album.file.delete', params, '1.0', {
261
+ function albumFileDelete(params, options) {
262
+ return requestFunc('m.ipc.time.album.file.delete', params, '1.0', _objectSpread({
263
263
  apiName: 'albumFileDelete'
264
- });
264
+ }, options));
265
265
  }
266
266
 
267
267
  /**
268
268
  * 时光相册配置保存
269
269
  */
270
- function albumSettingSave(params) {
271
- return requestFunc('m.ipc.time.album.config.save', params, '1.0', {
270
+ function albumSettingSave(params, options) {
271
+ return requestFunc('m.ipc.time.album.config.save', params, '1.0', _objectSpread({
272
272
  apiName: 'albumSettingSave'
273
- });
273
+ }, options));
274
274
  }
275
275
 
276
276
  /**
277
277
  * 时光相册配置修改
278
278
  */
279
- function albumSettingEdit(params) {
280
- return requestFunc('m.ipc.time.album.config.edit', params, '1.0', {
279
+ function albumSettingEdit(params, options) {
280
+ return requestFunc('m.ipc.time.album.config.edit', params, '1.0', _objectSpread({
281
281
  apiName: 'albumSettingEdit'
282
- });
282
+ }, options));
283
283
  }
284
284
 
285
285
  /**
286
286
  * 时光相册配置查询
287
287
  */
288
- function getAlbumSetting(params) {
289
- return requestFunc('m.ipc.time.album.config.get', params, '1.0', {
288
+ function getAlbumSetting(params, options) {
289
+ return requestFunc('m.ipc.time.album.config.get', params, '1.0', _objectSpread({
290
290
  apiName: 'getAlbumSetting'
291
- });
291
+ }, options));
292
292
  }
293
293
 
294
294
  /**
295
295
  * 查询智能视觉魔方列表(关联服务)
296
296
  */
297
- function getVisualBoxList(params) {
298
- return requestFunc('m.ipc.smart.vision.box.list', params, '1.0', {
297
+ function getVisualBoxList(params, options) {
298
+ return requestFunc('m.ipc.smart.vision.box.list', params, '1.0', _objectSpread({
299
299
  apiName: 'getVisualBoxList'
300
- });
300
+ }, options));
301
301
  }
302
302
 
303
303
  /**
304
304
  * 查询智能视觉魔方列表预置事件
305
305
  */
306
- function getPresetEvent(params) {
307
- return requestFunc('m.ipc.service.business.config.query', params, '1.0', {
306
+ function getPresetEvent(params, options) {
307
+ return requestFunc('m.ipc.service.business.config.query', params, '1.0', _objectSpread({
308
308
  apiName: 'getPresetEvent'
309
- });
309
+ }, options));
310
310
  }
311
311
 
312
312
  /**
313
313
  * 视觉魔方自定义语义校验
314
314
  */
315
- function visualBoxEventCheck(params) {
316
- return requestFunc('m.ipc.smart.vision.box.event.check', params, '1.0', {
315
+ function visualBoxEventCheck(params, options) {
316
+ return requestFunc('m.ipc.smart.vision.box.event.check', params, '1.0', _objectSpread({
317
317
  apiName: 'visualBoxEventCheck'
318
- });
318
+ }, options));
319
319
  }
320
320
 
321
321
  /**
322
322
  * 获取摄像头配置信息
323
323
  */
324
- function getIpcRtcConfig(params) {
325
- return requestFunc('m.ipc.v4.rtc.config.get', params, '1.0', {
324
+ function getIpcRtcConfig(params, options) {
325
+ return requestFunc('m.ipc.v4.rtc.config.get', params, '1.0', _objectSpread({
326
326
  apiName: 'getIpcRtcConfig'
327
- });
327
+ }, options));
328
328
  }
329
329
 
330
330
  /**
331
331
  * 获取摄像头收藏点列表
332
332
  */
333
- function getIpcPointList(params) {
334
- return requestFunc("".concat(THING, ".m.ipc.memory.point.list"), params, '2.0', {
333
+ function getIpcPointList(params, options) {
334
+ return requestFunc("".concat(THING, ".m.ipc.memory.point.list"), params, '2.0', _objectSpread({
335
335
  apiName: 'getIpcPointList'
336
- });
336
+ }, options));
337
337
  }
338
338
 
339
339
  /**
340
340
  * 更新摄像头收藏点信息
341
341
  */
342
- function updateIpcPointInfo(params) {
343
- return requestFunc("".concat(THING, ".m.ipc.memory.point.rename"), params, '1.0', {
342
+ function updateIpcPointInfo(params, options) {
343
+ return requestFunc("".concat(THING, ".m.ipc.memory.point.rename"), params, '1.0', _objectSpread({
344
344
  apiName: 'updateIpcPointInfo'
345
- });
345
+ }, options));
346
346
  }
347
347
 
348
348
  /**
349
349
  * 获取增值服务跳转URL接口
350
350
  */
351
- function getVasUrlInfo(params) {
352
- return requestFunc('m.ecm.cvas.basic.url.config.get', params, '1.0', {
351
+ function getVasUrlInfo(params, options) {
352
+ return requestFunc('m.ecm.cvas.basic.url.config.get', params, '1.0', _objectSpread({
353
353
  apiName: 'getVasUrlInfo'
354
- });
354
+ }, options));
355
355
  }
356
356
 
357
357
  /**
358
358
  * 获取增值服务运营列表接口
359
359
  */
360
- function getVasServiceConfigList(params) {
361
- return requestFunc('m.ecm.cvas.service.config.get', params, '3.0', {
360
+ function getVasServiceConfigList(params, options) {
361
+ return requestFunc('m.ecm.cvas.service.config.get', params, '3.0', _objectSpread({
362
362
  apiName: 'getVasServiceConfigList'
363
- });
363
+ }, options));
364
364
  }
365
365
 
366
366
  /**
367
367
  * 获取移动摄像机轨迹路径列表
368
368
  */
369
- function getMovePathList(params) {
370
- return requestFunc('m.ipc.move.point.by.path.list', params, '1.0', {
369
+ function getMovePathList(params, options) {
370
+ return requestFunc('m.ipc.move.point.by.path.list', params, '1.0', _objectSpread({
371
371
  apiName: 'getMovePathList'
372
- });
372
+ }, options));
373
373
  }
374
374
 
375
375
  /**
376
376
  * 获取移动摄像机点位列表
377
377
  */
378
- function getMovePointDetails(params) {
379
- return requestFunc('m.ipc.move.point.by.mpid.get', params, '1.0', {
378
+ function getMovePointDetails(params, options) {
379
+ return requestFunc('m.ipc.move.point.by.mpid.get', params, '1.0', _objectSpread({
380
380
  apiName: 'getMovePointDetails'
381
- });
381
+ }, options));
382
382
  }
383
383
 
384
384
  /**
385
385
  * 获取用户增值服务服务单状态
386
386
  */
387
- function getVasServiceStatus(params) {
388
- return requestFunc('m.ecm.cvas.service.user.check', params, '1.0', {
387
+ function getVasServiceStatus(params, options) {
388
+ return requestFunc('m.ecm.cvas.service.user.check', params, '1.0', _objectSpread({
389
389
  apiName: 'getVasServiceStatus'
390
- });
390
+ }, options));
391
391
  }
392
392
  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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/api",
3
- "version": "1.7.58",
3
+ "version": "1.7.60-beta.1",
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.58",
33
- "@ray-js/router": "1.7.58",
32
+ "@ray-js/framework": "1.7.60-beta.1",
33
+ "@ray-js/router": "1.7.60-beta.1",
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.58",
41
+ "@ray-js/cli": "1.7.60-beta.1",
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": "cf61887d10a578b5eabfd74886fed8a706059d3d"
51
+ "gitHead": "eb30ef815423329cff589b5afb9f9c9d748f247e"
52
52
  }