@ray-js/api 0.3.21-beta-a85b04d0 → 0.3.23

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.
Files changed (1764) hide show
  1. package/@types/BaseKit.d.ts +2172 -0
  2. package/@types/DeviceKit.d.ts +4387 -0
  3. package/@types/MiniKit.d.ts +914 -0
  4. package/@types/TYKit.d.ts +1218 -0
  5. package/@types/all-kits.d.ts +4 -0
  6. package/@types/{api.extend.d.ts → api-extend.d.ts} +0 -0
  7. package/@types/api.d.ts +2 -6
  8. package/README.md +20 -2
  9. package/lib/BaseKit-2.3.11.android.js +1 -0
  10. package/lib/BaseKit-2.3.11.d.ts +65 -0
  11. package/lib/BaseKit-2.3.11.ios.js +1 -0
  12. package/lib/BaseKit-2.3.11.js +66 -0
  13. package/lib/BaseKit-2.3.11.tuya.js +66 -0
  14. package/lib/BaseKit-2.3.11.web.js +66 -0
  15. package/lib/BaseKit-2.3.11.wechat.js +66 -0
  16. package/lib/DeviceKit-2.3.3.android.js +1 -0
  17. package/lib/DeviceKit-2.3.3.d.ts +136 -0
  18. package/lib/DeviceKit-2.3.3.ios.js +1 -0
  19. package/lib/DeviceKit-2.3.3.js +407 -0
  20. package/lib/DeviceKit-2.3.3.tuya.js +407 -0
  21. package/lib/DeviceKit-2.3.3.web.js +407 -0
  22. package/lib/DeviceKit-2.3.3.wechat.js +407 -0
  23. package/lib/MiniKit-2.4.3.android.js +1 -0
  24. package/lib/MiniKit-2.4.3.d.ts +43 -0
  25. package/lib/MiniKit-2.4.3.ios.js +1 -0
  26. package/lib/MiniKit-2.4.3.js +44 -0
  27. package/lib/MiniKit-2.4.3.tuya.js +44 -0
  28. package/lib/MiniKit-2.4.3.web.js +44 -0
  29. package/lib/MiniKit-2.4.3.wechat.js +44 -0
  30. package/lib/TYKit-2.2.6.android.js +1 -0
  31. package/lib/TYKit-2.2.6.d.ts +40 -0
  32. package/lib/TYKit-2.2.6.ios.js +1 -0
  33. package/lib/TYKit-2.2.6.js +53 -0
  34. package/lib/TYKit-2.2.6.tuya.js +53 -0
  35. package/lib/TYKit-2.2.6.web.js +53 -0
  36. package/lib/TYKit-2.2.6.wechat.js +53 -0
  37. package/lib/all-kits.android.js +1 -0
  38. package/lib/all-kits.d.ts +6 -0
  39. package/lib/all-kits.ios.js +1 -0
  40. package/lib/all-kits.js +6 -0
  41. package/lib/all-kits.tuya.js +6 -0
  42. package/lib/all-kits.web.js +6 -0
  43. package/lib/all-kits.wechat.js +6 -0
  44. package/lib/getApp/index.d.ts +1 -1
  45. package/lib/getApp/index.tuya.d.ts +1 -2
  46. package/lib/getApp/index.wechat.d.ts +1 -2
  47. package/lib/getBoundingClientRect/index.tuya.d.ts +0 -1
  48. package/lib/getBoundingClientRect/index.wechat.d.ts +0 -1
  49. package/lib/getCurrentPages/index.tuya.d.ts +1 -2
  50. package/lib/getCurrentPages/index.wechat.d.ts +1 -2
  51. package/lib/getElementById/index.tuya.d.ts +0 -1
  52. package/lib/getElementById/index.wechat.d.ts +0 -1
  53. package/lib/hideTabBar/index.d.ts +1 -7
  54. package/lib/hideTabBar/index.tuya.d.ts +0 -1
  55. package/lib/hideTabBar/index.wechat.d.ts +1 -2
  56. package/lib/index.android.js +1 -1
  57. package/lib/index.d.ts +11 -65
  58. package/lib/index.ios.js +1 -1
  59. package/lib/index.js +11 -72
  60. package/lib/index.tuya.js +11 -72
  61. package/lib/index.web.js +11 -72
  62. package/lib/index.wechat.js +11 -72
  63. package/lib/navigateBack/index.d.ts +0 -1
  64. package/lib/navigateBack/index.tuya.d.ts +0 -1
  65. package/lib/navigateBack/index.wechat.d.ts +1 -2
  66. package/lib/navigateTo/index.tuya.d.ts +0 -1
  67. package/lib/navigateTo/index.wechat.d.ts +1 -2
  68. package/lib/reLaunch/index.tuya.d.ts +0 -1
  69. package/lib/reLaunch/index.wechat.d.ts +1 -2
  70. package/lib/redirectTo/index.tuya.d.ts +0 -1
  71. package/lib/redirectTo/index.wechat.d.ts +1 -2
  72. package/lib/setNavigationBarColor/index.d.ts +0 -1
  73. package/lib/setNavigationBarColor/index.wechat.d.ts +1 -2
  74. package/lib/setNavigationBarTitle/index.d.ts +0 -1
  75. package/lib/setNavigationBarTitle/index.wechat.d.ts +1 -2
  76. package/lib/showTabBar/index.d.ts +1 -7
  77. package/lib/showTabBar/index.tuya.d.ts +0 -1
  78. package/lib/showTabBar/index.wechat.d.ts +1 -2
  79. package/lib/switchTab/index.d.ts +0 -1
  80. package/lib/switchTab/index.tuya.d.ts +0 -1
  81. package/lib/switchTab/index.wechat.d.ts +1 -2
  82. package/lib/utils.android.js +1 -0
  83. package/lib/utils.d.ts +6 -0
  84. package/lib/utils.ios.js +1 -0
  85. package/lib/utils.js +30 -0
  86. package/lib/utils.tuya.js +21 -0
  87. package/lib/utils.web.js +21 -0
  88. package/lib/utils.wechat.js +20 -0
  89. package/package.json +11 -10
  90. package/lib/authorize/index.android.js +0 -1
  91. package/lib/authorize/index.d.ts +0 -3
  92. package/lib/authorize/index.ios.js +0 -1
  93. package/lib/authorize/index.js +0 -6
  94. package/lib/authorize/index.md +0 -20
  95. package/lib/authorize/index.native.d.ts +0 -1
  96. package/lib/authorize/index.tuya.d.ts +0 -1
  97. package/lib/authorize/index.tuya.js +0 -8
  98. package/lib/authorize/index.web.js +0 -6
  99. package/lib/authorize/index.wechat.d.ts +0 -1
  100. package/lib/authorize/index.wechat.js +0 -8
  101. package/lib/authorizeStatus/index.android.js +0 -1
  102. package/lib/authorizeStatus/index.d.ts +0 -3
  103. package/lib/authorizeStatus/index.ios.js +0 -1
  104. package/lib/authorizeStatus/index.js +0 -6
  105. package/lib/authorizeStatus/index.md +0 -20
  106. package/lib/authorizeStatus/index.native.d.ts +0 -1
  107. package/lib/authorizeStatus/index.tuya.d.ts +0 -1
  108. package/lib/authorizeStatus/index.tuya.js +0 -8
  109. package/lib/authorizeStatus/index.web.js +0 -6
  110. package/lib/authorizeStatus/index.wechat.d.ts +0 -1
  111. package/lib/authorizeStatus/index.wechat.js +0 -8
  112. package/lib/chooseImage/index.android.js +0 -1
  113. package/lib/chooseImage/index.d.ts +0 -3
  114. package/lib/chooseImage/index.ios.js +0 -1
  115. package/lib/chooseImage/index.js +0 -6
  116. package/lib/chooseImage/index.md +0 -20
  117. package/lib/chooseImage/index.native.d.ts +0 -1
  118. package/lib/chooseImage/index.tuya.d.ts +0 -1
  119. package/lib/chooseImage/index.tuya.js +0 -8
  120. package/lib/chooseImage/index.web.js +0 -6
  121. package/lib/chooseImage/index.wechat.d.ts +0 -1
  122. package/lib/chooseImage/index.wechat.js +0 -8
  123. package/lib/clearStorage/index.android.js +0 -1
  124. package/lib/clearStorage/index.d.ts +0 -3
  125. package/lib/clearStorage/index.ios.js +0 -1
  126. package/lib/clearStorage/index.js +0 -6
  127. package/lib/clearStorage/index.md +0 -20
  128. package/lib/clearStorage/index.native.d.ts +0 -1
  129. package/lib/clearStorage/index.tuya.d.ts +0 -1
  130. package/lib/clearStorage/index.tuya.js +0 -8
  131. package/lib/clearStorage/index.web.js +0 -6
  132. package/lib/clearStorage/index.wechat.d.ts +0 -1
  133. package/lib/clearStorage/index.wechat.js +0 -8
  134. package/lib/clearStorageSync/index.android.js +0 -1
  135. package/lib/clearStorageSync/index.d.ts +0 -3
  136. package/lib/clearStorageSync/index.ios.js +0 -1
  137. package/lib/clearStorageSync/index.js +0 -6
  138. package/lib/clearStorageSync/index.md +0 -20
  139. package/lib/clearStorageSync/index.native.d.ts +0 -1
  140. package/lib/clearStorageSync/index.tuya.d.ts +0 -1
  141. package/lib/clearStorageSync/index.tuya.js +0 -8
  142. package/lib/clearStorageSync/index.web.js +0 -6
  143. package/lib/clearStorageSync/index.wechat.d.ts +0 -1
  144. package/lib/clearStorageSync/index.wechat.js +0 -8
  145. package/lib/device-kit/addTimer/index.android.js +0 -1
  146. package/lib/device-kit/addTimer/index.d.ts +0 -3
  147. package/lib/device-kit/addTimer/index.ios.js +0 -1
  148. package/lib/device-kit/addTimer/index.js +0 -6
  149. package/lib/device-kit/addTimer/index.md +0 -20
  150. package/lib/device-kit/addTimer/index.native.d.ts +0 -1
  151. package/lib/device-kit/addTimer/index.tuya.d.ts +0 -1
  152. package/lib/device-kit/addTimer/index.tuya.js +0 -13
  153. package/lib/device-kit/addTimer/index.web.js +0 -6
  154. package/lib/device-kit/addTimer/index.wechat.d.ts +0 -1
  155. package/lib/device-kit/addTimer/index.wechat.js +0 -3
  156. package/lib/device-kit/bluetoothCapabilityOfBLEBeacon/index.android.js +0 -1
  157. package/lib/device-kit/bluetoothCapabilityOfBLEBeacon/index.d.ts +0 -3
  158. package/lib/device-kit/bluetoothCapabilityOfBLEBeacon/index.ios.js +0 -1
  159. package/lib/device-kit/bluetoothCapabilityOfBLEBeacon/index.js +0 -6
  160. package/lib/device-kit/bluetoothCapabilityOfBLEBeacon/index.md +0 -20
  161. package/lib/device-kit/bluetoothCapabilityOfBLEBeacon/index.native.d.ts +0 -1
  162. package/lib/device-kit/bluetoothCapabilityOfBLEBeacon/index.tuya.d.ts +0 -1
  163. package/lib/device-kit/bluetoothCapabilityOfBLEBeacon/index.tuya.js +0 -13
  164. package/lib/device-kit/bluetoothCapabilityOfBLEBeacon/index.web.js +0 -6
  165. package/lib/device-kit/bluetoothCapabilityOfBLEBeacon/index.wechat.d.ts +0 -1
  166. package/lib/device-kit/bluetoothCapabilityOfBLEBeacon/index.wechat.js +0 -3
  167. package/lib/device-kit/bluetoothIsPowerOn/index.android.js +0 -1
  168. package/lib/device-kit/bluetoothIsPowerOn/index.d.ts +0 -3
  169. package/lib/device-kit/bluetoothIsPowerOn/index.ios.js +0 -1
  170. package/lib/device-kit/bluetoothIsPowerOn/index.js +0 -6
  171. package/lib/device-kit/bluetoothIsPowerOn/index.md +0 -20
  172. package/lib/device-kit/bluetoothIsPowerOn/index.native.d.ts +0 -1
  173. package/lib/device-kit/bluetoothIsPowerOn/index.tuya.d.ts +0 -1
  174. package/lib/device-kit/bluetoothIsPowerOn/index.tuya.js +0 -13
  175. package/lib/device-kit/bluetoothIsPowerOn/index.web.js +0 -6
  176. package/lib/device-kit/bluetoothIsPowerOn/index.wechat.d.ts +0 -1
  177. package/lib/device-kit/bluetoothIsPowerOn/index.wechat.js +0 -3
  178. package/lib/device-kit/checkOTAUpdateInfo/index.android.js +0 -1
  179. package/lib/device-kit/checkOTAUpdateInfo/index.d.ts +0 -3
  180. package/lib/device-kit/checkOTAUpdateInfo/index.ios.js +0 -1
  181. package/lib/device-kit/checkOTAUpdateInfo/index.js +0 -6
  182. package/lib/device-kit/checkOTAUpdateInfo/index.md +0 -20
  183. package/lib/device-kit/checkOTAUpdateInfo/index.native.d.ts +0 -1
  184. package/lib/device-kit/checkOTAUpdateInfo/index.tuya.d.ts +0 -1
  185. package/lib/device-kit/checkOTAUpdateInfo/index.tuya.js +0 -13
  186. package/lib/device-kit/checkOTAUpdateInfo/index.web.js +0 -6
  187. package/lib/device-kit/checkOTAUpdateInfo/index.wechat.d.ts +0 -1
  188. package/lib/device-kit/checkOTAUpdateInfo/index.wechat.js +0 -3
  189. package/lib/device-kit/connectTYBLEDevice/index.android.js +0 -1
  190. package/lib/device-kit/connectTYBLEDevice/index.d.ts +0 -3
  191. package/lib/device-kit/connectTYBLEDevice/index.ios.js +0 -1
  192. package/lib/device-kit/connectTYBLEDevice/index.js +0 -6
  193. package/lib/device-kit/connectTYBLEDevice/index.md +0 -20
  194. package/lib/device-kit/connectTYBLEDevice/index.native.d.ts +0 -1
  195. package/lib/device-kit/connectTYBLEDevice/index.tuya.d.ts +0 -1
  196. package/lib/device-kit/connectTYBLEDevice/index.tuya.js +0 -13
  197. package/lib/device-kit/connectTYBLEDevice/index.web.js +0 -6
  198. package/lib/device-kit/connectTYBLEDevice/index.wechat.d.ts +0 -1
  199. package/lib/device-kit/connectTYBLEDevice/index.wechat.js +0 -3
  200. package/lib/device-kit/deviceIsSupportThingModel/index.android.js +0 -1
  201. package/lib/device-kit/deviceIsSupportThingModel/index.d.ts +0 -3
  202. package/lib/device-kit/deviceIsSupportThingModel/index.ios.js +0 -1
  203. package/lib/device-kit/deviceIsSupportThingModel/index.js +0 -6
  204. package/lib/device-kit/deviceIsSupportThingModel/index.md +0 -20
  205. package/lib/device-kit/deviceIsSupportThingModel/index.native.d.ts +0 -1
  206. package/lib/device-kit/deviceIsSupportThingModel/index.tuya.d.ts +0 -1
  207. package/lib/device-kit/deviceIsSupportThingModel/index.tuya.js +0 -13
  208. package/lib/device-kit/deviceIsSupportThingModel/index.web.js +0 -6
  209. package/lib/device-kit/deviceIsSupportThingModel/index.wechat.d.ts +0 -1
  210. package/lib/device-kit/deviceIsSupportThingModel/index.wechat.js +0 -3
  211. package/lib/device-kit/directConnectBLEDevice/index.android.js +0 -1
  212. package/lib/device-kit/directConnectBLEDevice/index.d.ts +0 -3
  213. package/lib/device-kit/directConnectBLEDevice/index.ios.js +0 -1
  214. package/lib/device-kit/directConnectBLEDevice/index.js +0 -6
  215. package/lib/device-kit/directConnectBLEDevice/index.md +0 -20
  216. package/lib/device-kit/directConnectBLEDevice/index.native.d.ts +0 -1
  217. package/lib/device-kit/directConnectBLEDevice/index.tuya.d.ts +0 -1
  218. package/lib/device-kit/directConnectBLEDevice/index.tuya.js +0 -13
  219. package/lib/device-kit/directConnectBLEDevice/index.web.js +0 -6
  220. package/lib/device-kit/directConnectBLEDevice/index.wechat.d.ts +0 -1
  221. package/lib/device-kit/directConnectBLEDevice/index.wechat.js +0 -3
  222. package/lib/device-kit/disconnectTYBLEDevice/index.android.js +0 -1
  223. package/lib/device-kit/disconnectTYBLEDevice/index.d.ts +0 -3
  224. package/lib/device-kit/disconnectTYBLEDevice/index.ios.js +0 -1
  225. package/lib/device-kit/disconnectTYBLEDevice/index.js +0 -6
  226. package/lib/device-kit/disconnectTYBLEDevice/index.md +0 -20
  227. package/lib/device-kit/disconnectTYBLEDevice/index.native.d.ts +0 -1
  228. package/lib/device-kit/disconnectTYBLEDevice/index.tuya.d.ts +0 -1
  229. package/lib/device-kit/disconnectTYBLEDevice/index.tuya.js +0 -13
  230. package/lib/device-kit/disconnectTYBLEDevice/index.web.js +0 -6
  231. package/lib/device-kit/disconnectTYBLEDevice/index.wechat.d.ts +0 -1
  232. package/lib/device-kit/disconnectTYBLEDevice/index.wechat.js +0 -3
  233. package/lib/device-kit/getBLEDeviceRSSI/index.android.js +0 -1
  234. package/lib/device-kit/getBLEDeviceRSSI/index.d.ts +0 -3
  235. package/lib/device-kit/getBLEDeviceRSSI/index.ios.js +0 -1
  236. package/lib/device-kit/getBLEDeviceRSSI/index.js +0 -6
  237. package/lib/device-kit/getBLEDeviceRSSI/index.md +0 -20
  238. package/lib/device-kit/getBLEDeviceRSSI/index.native.d.ts +0 -1
  239. package/lib/device-kit/getBLEDeviceRSSI/index.tuya.d.ts +0 -1
  240. package/lib/device-kit/getBLEDeviceRSSI/index.tuya.js +0 -13
  241. package/lib/device-kit/getBLEDeviceRSSI/index.web.js +0 -6
  242. package/lib/device-kit/getBLEDeviceRSSI/index.wechat.d.ts +0 -1
  243. package/lib/device-kit/getBLEDeviceRSSI/index.wechat.js +0 -3
  244. package/lib/device-kit/getDeviceInfo/index.android.js +0 -1
  245. package/lib/device-kit/getDeviceInfo/index.d.ts +0 -3
  246. package/lib/device-kit/getDeviceInfo/index.ios.js +0 -1
  247. package/lib/device-kit/getDeviceInfo/index.js +0 -6
  248. package/lib/device-kit/getDeviceInfo/index.md +0 -20
  249. package/lib/device-kit/getDeviceInfo/index.native.d.ts +0 -1
  250. package/lib/device-kit/getDeviceInfo/index.tuya.d.ts +0 -1
  251. package/lib/device-kit/getDeviceInfo/index.tuya.js +0 -13
  252. package/lib/device-kit/getDeviceInfo/index.web.js +0 -6
  253. package/lib/device-kit/getDeviceInfo/index.wechat.d.ts +0 -1
  254. package/lib/device-kit/getDeviceInfo/index.wechat.js +0 -3
  255. package/lib/device-kit/getDeviceOnlineType/index.android.js +0 -1
  256. package/lib/device-kit/getDeviceOnlineType/index.d.ts +0 -3
  257. package/lib/device-kit/getDeviceOnlineType/index.ios.js +0 -1
  258. package/lib/device-kit/getDeviceOnlineType/index.js +0 -6
  259. package/lib/device-kit/getDeviceOnlineType/index.md +0 -20
  260. package/lib/device-kit/getDeviceOnlineType/index.native.d.ts +0 -1
  261. package/lib/device-kit/getDeviceOnlineType/index.tuya.d.ts +0 -1
  262. package/lib/device-kit/getDeviceOnlineType/index.tuya.js +0 -13
  263. package/lib/device-kit/getDeviceOnlineType/index.web.js +0 -6
  264. package/lib/device-kit/getDeviceOnlineType/index.wechat.d.ts +0 -1
  265. package/lib/device-kit/getDeviceOnlineType/index.wechat.js +0 -3
  266. package/lib/device-kit/getDeviceProperty/index.android.js +0 -1
  267. package/lib/device-kit/getDeviceProperty/index.d.ts +0 -3
  268. package/lib/device-kit/getDeviceProperty/index.ios.js +0 -1
  269. package/lib/device-kit/getDeviceProperty/index.js +0 -6
  270. package/lib/device-kit/getDeviceProperty/index.md +0 -20
  271. package/lib/device-kit/getDeviceProperty/index.native.d.ts +0 -1
  272. package/lib/device-kit/getDeviceProperty/index.tuya.d.ts +0 -1
  273. package/lib/device-kit/getDeviceProperty/index.tuya.js +0 -13
  274. package/lib/device-kit/getDeviceProperty/index.web.js +0 -6
  275. package/lib/device-kit/getDeviceProperty/index.wechat.d.ts +0 -1
  276. package/lib/device-kit/getDeviceProperty/index.wechat.js +0 -3
  277. package/lib/device-kit/getDeviceThingModelInfo/index.android.js +0 -1
  278. package/lib/device-kit/getDeviceThingModelInfo/index.d.ts +0 -3
  279. package/lib/device-kit/getDeviceThingModelInfo/index.ios.js +0 -1
  280. package/lib/device-kit/getDeviceThingModelInfo/index.js +0 -6
  281. package/lib/device-kit/getDeviceThingModelInfo/index.md +0 -20
  282. package/lib/device-kit/getDeviceThingModelInfo/index.native.d.ts +0 -1
  283. package/lib/device-kit/getDeviceThingModelInfo/index.tuya.d.ts +0 -1
  284. package/lib/device-kit/getDeviceThingModelInfo/index.tuya.js +0 -13
  285. package/lib/device-kit/getDeviceThingModelInfo/index.web.js +0 -6
  286. package/lib/device-kit/getDeviceThingModelInfo/index.wechat.d.ts +0 -1
  287. package/lib/device-kit/getDeviceThingModelInfo/index.wechat.js +0 -3
  288. package/lib/device-kit/getEncryptLocalKeyWithData/index.android.js +0 -1
  289. package/lib/device-kit/getEncryptLocalKeyWithData/index.d.ts +0 -3
  290. package/lib/device-kit/getEncryptLocalKeyWithData/index.ios.js +0 -1
  291. package/lib/device-kit/getEncryptLocalKeyWithData/index.js +0 -6
  292. package/lib/device-kit/getEncryptLocalKeyWithData/index.md +0 -20
  293. package/lib/device-kit/getEncryptLocalKeyWithData/index.native.d.ts +0 -1
  294. package/lib/device-kit/getEncryptLocalKeyWithData/index.tuya.d.ts +0 -1
  295. package/lib/device-kit/getEncryptLocalKeyWithData/index.tuya.js +0 -13
  296. package/lib/device-kit/getEncryptLocalKeyWithData/index.web.js +0 -6
  297. package/lib/device-kit/getEncryptLocalKeyWithData/index.wechat.d.ts +0 -1
  298. package/lib/device-kit/getEncryptLocalKeyWithData/index.wechat.js +0 -3
  299. package/lib/device-kit/getProductInfo/index.android.js +0 -1
  300. package/lib/device-kit/getProductInfo/index.d.ts +0 -3
  301. package/lib/device-kit/getProductInfo/index.ios.js +0 -1
  302. package/lib/device-kit/getProductInfo/index.js +0 -6
  303. package/lib/device-kit/getProductInfo/index.md +0 -20
  304. package/lib/device-kit/getProductInfo/index.native.d.ts +0 -1
  305. package/lib/device-kit/getProductInfo/index.tuya.d.ts +0 -1
  306. package/lib/device-kit/getProductInfo/index.tuya.js +0 -13
  307. package/lib/device-kit/getProductInfo/index.web.js +0 -6
  308. package/lib/device-kit/getProductInfo/index.wechat.d.ts +0 -1
  309. package/lib/device-kit/getProductInfo/index.wechat.js +0 -3
  310. package/lib/device-kit/getSubDeviceInfoList/index.android.js +0 -1
  311. package/lib/device-kit/getSubDeviceInfoList/index.d.ts +0 -3
  312. package/lib/device-kit/getSubDeviceInfoList/index.ios.js +0 -1
  313. package/lib/device-kit/getSubDeviceInfoList/index.js +0 -6
  314. package/lib/device-kit/getSubDeviceInfoList/index.md +0 -20
  315. package/lib/device-kit/getSubDeviceInfoList/index.native.d.ts +0 -1
  316. package/lib/device-kit/getSubDeviceInfoList/index.tuya.d.ts +0 -1
  317. package/lib/device-kit/getSubDeviceInfoList/index.tuya.js +0 -13
  318. package/lib/device-kit/getSubDeviceInfoList/index.web.js +0 -6
  319. package/lib/device-kit/getSubDeviceInfoList/index.wechat.d.ts +0 -1
  320. package/lib/device-kit/getSubDeviceInfoList/index.wechat.js +0 -3
  321. package/lib/device-kit/getTYBLEOnlineState/index.android.js +0 -1
  322. package/lib/device-kit/getTYBLEOnlineState/index.d.ts +0 -3
  323. package/lib/device-kit/getTYBLEOnlineState/index.ios.js +0 -1
  324. package/lib/device-kit/getTYBLEOnlineState/index.js +0 -6
  325. package/lib/device-kit/getTYBLEOnlineState/index.md +0 -20
  326. package/lib/device-kit/getTYBLEOnlineState/index.native.d.ts +0 -1
  327. package/lib/device-kit/getTYBLEOnlineState/index.tuya.d.ts +0 -1
  328. package/lib/device-kit/getTYBLEOnlineState/index.tuya.js +0 -13
  329. package/lib/device-kit/getTYBLEOnlineState/index.web.js +0 -6
  330. package/lib/device-kit/getTYBLEOnlineState/index.wechat.d.ts +0 -1
  331. package/lib/device-kit/getTYBLEOnlineState/index.wechat.js +0 -3
  332. package/lib/device-kit/index.android.js +0 -1
  333. package/lib/device-kit/index.d.ts +0 -91
  334. package/lib/device-kit/index.ios.js +0 -1
  335. package/lib/device-kit/index.js +0 -91
  336. package/lib/device-kit/index.tuya.js +0 -91
  337. package/lib/device-kit/index.web.js +0 -91
  338. package/lib/device-kit/index.wechat.js +0 -91
  339. package/lib/device-kit/offDeviceActivatorNeedResetEvent/index.android.js +0 -1
  340. package/lib/device-kit/offDeviceActivatorNeedResetEvent/index.d.ts +0 -3
  341. package/lib/device-kit/offDeviceActivatorNeedResetEvent/index.ios.js +0 -1
  342. package/lib/device-kit/offDeviceActivatorNeedResetEvent/index.js +0 -6
  343. package/lib/device-kit/offDeviceActivatorNeedResetEvent/index.md +0 -20
  344. package/lib/device-kit/offDeviceActivatorNeedResetEvent/index.native.d.ts +0 -1
  345. package/lib/device-kit/offDeviceActivatorNeedResetEvent/index.tuya.d.ts +0 -1
  346. package/lib/device-kit/offDeviceActivatorNeedResetEvent/index.tuya.js +0 -13
  347. package/lib/device-kit/offDeviceActivatorNeedResetEvent/index.web.js +0 -6
  348. package/lib/device-kit/offDeviceActivatorNeedResetEvent/index.wechat.d.ts +0 -1
  349. package/lib/device-kit/offDeviceActivatorNeedResetEvent/index.wechat.js +0 -3
  350. package/lib/device-kit/offDeviceInfoUpdated/index.android.js +0 -1
  351. package/lib/device-kit/offDeviceInfoUpdated/index.d.ts +0 -3
  352. package/lib/device-kit/offDeviceInfoUpdated/index.ios.js +0 -1
  353. package/lib/device-kit/offDeviceInfoUpdated/index.js +0 -6
  354. package/lib/device-kit/offDeviceInfoUpdated/index.md +0 -20
  355. package/lib/device-kit/offDeviceInfoUpdated/index.native.d.ts +0 -1
  356. package/lib/device-kit/offDeviceInfoUpdated/index.tuya.d.ts +0 -1
  357. package/lib/device-kit/offDeviceInfoUpdated/index.tuya.js +0 -13
  358. package/lib/device-kit/offDeviceInfoUpdated/index.web.js +0 -6
  359. package/lib/device-kit/offDeviceInfoUpdated/index.wechat.d.ts +0 -1
  360. package/lib/device-kit/offDeviceInfoUpdated/index.wechat.js +0 -3
  361. package/lib/device-kit/offDeviceOnlineStatusUpdate/index.android.js +0 -1
  362. package/lib/device-kit/offDeviceOnlineStatusUpdate/index.d.ts +0 -3
  363. package/lib/device-kit/offDeviceOnlineStatusUpdate/index.ios.js +0 -1
  364. package/lib/device-kit/offDeviceOnlineStatusUpdate/index.js +0 -6
  365. package/lib/device-kit/offDeviceOnlineStatusUpdate/index.md +0 -20
  366. package/lib/device-kit/offDeviceOnlineStatusUpdate/index.native.d.ts +0 -1
  367. package/lib/device-kit/offDeviceOnlineStatusUpdate/index.tuya.d.ts +0 -1
  368. package/lib/device-kit/offDeviceOnlineStatusUpdate/index.tuya.js +0 -13
  369. package/lib/device-kit/offDeviceOnlineStatusUpdate/index.web.js +0 -6
  370. package/lib/device-kit/offDeviceOnlineStatusUpdate/index.wechat.d.ts +0 -1
  371. package/lib/device-kit/offDeviceOnlineStatusUpdate/index.wechat.js +0 -3
  372. package/lib/device-kit/offDeviceRemoved/index.android.js +0 -1
  373. package/lib/device-kit/offDeviceRemoved/index.d.ts +0 -3
  374. package/lib/device-kit/offDeviceRemoved/index.ios.js +0 -1
  375. package/lib/device-kit/offDeviceRemoved/index.js +0 -6
  376. package/lib/device-kit/offDeviceRemoved/index.md +0 -20
  377. package/lib/device-kit/offDeviceRemoved/index.native.d.ts +0 -1
  378. package/lib/device-kit/offDeviceRemoved/index.tuya.d.ts +0 -1
  379. package/lib/device-kit/offDeviceRemoved/index.tuya.js +0 -13
  380. package/lib/device-kit/offDeviceRemoved/index.web.js +0 -6
  381. package/lib/device-kit/offDeviceRemoved/index.wechat.d.ts +0 -1
  382. package/lib/device-kit/offDeviceRemoved/index.wechat.js +0 -3
  383. package/lib/device-kit/offDpDataChange/index.android.js +0 -1
  384. package/lib/device-kit/offDpDataChange/index.d.ts +0 -3
  385. package/lib/device-kit/offDpDataChange/index.ios.js +0 -1
  386. package/lib/device-kit/offDpDataChange/index.js +0 -6
  387. package/lib/device-kit/offDpDataChange/index.md +0 -20
  388. package/lib/device-kit/offDpDataChange/index.native.d.ts +0 -1
  389. package/lib/device-kit/offDpDataChange/index.tuya.d.ts +0 -1
  390. package/lib/device-kit/offDpDataChange/index.tuya.js +0 -13
  391. package/lib/device-kit/offDpDataChange/index.web.js +0 -6
  392. package/lib/device-kit/offDpDataChange/index.wechat.d.ts +0 -1
  393. package/lib/device-kit/offDpDataChange/index.wechat.js +0 -3
  394. package/lib/device-kit/offMqttMessageReceived/index.android.js +0 -1
  395. package/lib/device-kit/offMqttMessageReceived/index.d.ts +0 -3
  396. package/lib/device-kit/offMqttMessageReceived/index.ios.js +0 -1
  397. package/lib/device-kit/offMqttMessageReceived/index.js +0 -6
  398. package/lib/device-kit/offMqttMessageReceived/index.md +0 -20
  399. package/lib/device-kit/offMqttMessageReceived/index.native.d.ts +0 -1
  400. package/lib/device-kit/offMqttMessageReceived/index.tuya.d.ts +0 -1
  401. package/lib/device-kit/offMqttMessageReceived/index.tuya.js +0 -13
  402. package/lib/device-kit/offMqttMessageReceived/index.web.js +0 -6
  403. package/lib/device-kit/offMqttMessageReceived/index.wechat.d.ts +0 -1
  404. package/lib/device-kit/offMqttMessageReceived/index.wechat.js +0 -3
  405. package/lib/device-kit/offReceivedThingModelMessage/index.android.js +0 -1
  406. package/lib/device-kit/offReceivedThingModelMessage/index.d.ts +0 -3
  407. package/lib/device-kit/offReceivedThingModelMessage/index.ios.js +0 -1
  408. package/lib/device-kit/offReceivedThingModelMessage/index.js +0 -6
  409. package/lib/device-kit/offReceivedThingModelMessage/index.md +0 -20
  410. package/lib/device-kit/offReceivedThingModelMessage/index.native.d.ts +0 -1
  411. package/lib/device-kit/offReceivedThingModelMessage/index.tuya.d.ts +0 -1
  412. package/lib/device-kit/offReceivedThingModelMessage/index.tuya.js +0 -13
  413. package/lib/device-kit/offReceivedThingModelMessage/index.web.js +0 -6
  414. package/lib/device-kit/offReceivedThingModelMessage/index.wechat.d.ts +0 -1
  415. package/lib/device-kit/offReceivedThingModelMessage/index.wechat.js +0 -3
  416. package/lib/device-kit/offSocketMessageReceived/index.android.js +0 -1
  417. package/lib/device-kit/offSocketMessageReceived/index.d.ts +0 -3
  418. package/lib/device-kit/offSocketMessageReceived/index.ios.js +0 -1
  419. package/lib/device-kit/offSocketMessageReceived/index.js +0 -6
  420. package/lib/device-kit/offSocketMessageReceived/index.md +0 -20
  421. package/lib/device-kit/offSocketMessageReceived/index.native.d.ts +0 -1
  422. package/lib/device-kit/offSocketMessageReceived/index.tuya.d.ts +0 -1
  423. package/lib/device-kit/offSocketMessageReceived/index.tuya.js +0 -13
  424. package/lib/device-kit/offSocketMessageReceived/index.web.js +0 -6
  425. package/lib/device-kit/offSocketMessageReceived/index.wechat.d.ts +0 -1
  426. package/lib/device-kit/offSocketMessageReceived/index.wechat.js +0 -3
  427. package/lib/device-kit/offSubDeviceInfoUpdateEvent/index.android.js +0 -1
  428. package/lib/device-kit/offSubDeviceInfoUpdateEvent/index.d.ts +0 -3
  429. package/lib/device-kit/offSubDeviceInfoUpdateEvent/index.ios.js +0 -1
  430. package/lib/device-kit/offSubDeviceInfoUpdateEvent/index.js +0 -6
  431. package/lib/device-kit/offSubDeviceInfoUpdateEvent/index.md +0 -20
  432. package/lib/device-kit/offSubDeviceInfoUpdateEvent/index.native.d.ts +0 -1
  433. package/lib/device-kit/offSubDeviceInfoUpdateEvent/index.tuya.d.ts +0 -1
  434. package/lib/device-kit/offSubDeviceInfoUpdateEvent/index.tuya.js +0 -13
  435. package/lib/device-kit/offSubDeviceInfoUpdateEvent/index.web.js +0 -6
  436. package/lib/device-kit/offSubDeviceInfoUpdateEvent/index.wechat.d.ts +0 -1
  437. package/lib/device-kit/offSubDeviceInfoUpdateEvent/index.wechat.js +0 -3
  438. package/lib/device-kit/offTYBLEBigDataChannelProgressEvent/index.android.js +0 -1
  439. package/lib/device-kit/offTYBLEBigDataChannelProgressEvent/index.d.ts +0 -3
  440. package/lib/device-kit/offTYBLEBigDataChannelProgressEvent/index.ios.js +0 -1
  441. package/lib/device-kit/offTYBLEBigDataChannelProgressEvent/index.js +0 -6
  442. package/lib/device-kit/offTYBLEBigDataChannelProgressEvent/index.md +0 -20
  443. package/lib/device-kit/offTYBLEBigDataChannelProgressEvent/index.native.d.ts +0 -1
  444. package/lib/device-kit/offTYBLEBigDataChannelProgressEvent/index.tuya.d.ts +0 -1
  445. package/lib/device-kit/offTYBLEBigDataChannelProgressEvent/index.tuya.js +0 -13
  446. package/lib/device-kit/offTYBLEBigDataChannelProgressEvent/index.web.js +0 -6
  447. package/lib/device-kit/offTYBLEBigDataChannelProgressEvent/index.wechat.d.ts +0 -1
  448. package/lib/device-kit/offTYBLEBigDataChannelProgressEvent/index.wechat.js +0 -3
  449. package/lib/device-kit/offTYBLEConnectStatusChange/index.android.js +0 -1
  450. package/lib/device-kit/offTYBLEConnectStatusChange/index.d.ts +0 -3
  451. package/lib/device-kit/offTYBLEConnectStatusChange/index.ios.js +0 -1
  452. package/lib/device-kit/offTYBLEConnectStatusChange/index.js +0 -6
  453. package/lib/device-kit/offTYBLEConnectStatusChange/index.md +0 -20
  454. package/lib/device-kit/offTYBLEConnectStatusChange/index.native.d.ts +0 -1
  455. package/lib/device-kit/offTYBLEConnectStatusChange/index.tuya.d.ts +0 -1
  456. package/lib/device-kit/offTYBLEConnectStatusChange/index.tuya.js +0 -13
  457. package/lib/device-kit/offTYBLEConnectStatusChange/index.web.js +0 -6
  458. package/lib/device-kit/offTYBLEConnectStatusChange/index.wechat.d.ts +0 -1
  459. package/lib/device-kit/offTYBLEConnectStatusChange/index.wechat.js +0 -3
  460. package/lib/device-kit/offTYBLEScanBindDevice/index.android.js +0 -1
  461. package/lib/device-kit/offTYBLEScanBindDevice/index.d.ts +0 -3
  462. package/lib/device-kit/offTYBLEScanBindDevice/index.ios.js +0 -1
  463. package/lib/device-kit/offTYBLEScanBindDevice/index.js +0 -6
  464. package/lib/device-kit/offTYBLEScanBindDevice/index.md +0 -20
  465. package/lib/device-kit/offTYBLEScanBindDevice/index.native.d.ts +0 -1
  466. package/lib/device-kit/offTYBLEScanBindDevice/index.tuya.d.ts +0 -1
  467. package/lib/device-kit/offTYBLEScanBindDevice/index.tuya.js +0 -13
  468. package/lib/device-kit/offTYBLEScanBindDevice/index.web.js +0 -6
  469. package/lib/device-kit/offTYBLEScanBindDevice/index.wechat.d.ts +0 -1
  470. package/lib/device-kit/offTYBLEScanBindDevice/index.wechat.js +0 -3
  471. package/lib/device-kit/offTYBLETransparentDataReport/index.android.js +0 -1
  472. package/lib/device-kit/offTYBLETransparentDataReport/index.d.ts +0 -3
  473. package/lib/device-kit/offTYBLETransparentDataReport/index.ios.js +0 -1
  474. package/lib/device-kit/offTYBLETransparentDataReport/index.js +0 -6
  475. package/lib/device-kit/offTYBLETransparentDataReport/index.md +0 -20
  476. package/lib/device-kit/offTYBLETransparentDataReport/index.native.d.ts +0 -1
  477. package/lib/device-kit/offTYBLETransparentDataReport/index.tuya.d.ts +0 -1
  478. package/lib/device-kit/offTYBLETransparentDataReport/index.tuya.js +0 -13
  479. package/lib/device-kit/offTYBLETransparentDataReport/index.web.js +0 -6
  480. package/lib/device-kit/offTYBLETransparentDataReport/index.wechat.d.ts +0 -1
  481. package/lib/device-kit/offTYBLETransparentDataReport/index.wechat.js +0 -3
  482. package/lib/device-kit/offTimerUpdate/index.android.js +0 -1
  483. package/lib/device-kit/offTimerUpdate/index.d.ts +0 -3
  484. package/lib/device-kit/offTimerUpdate/index.ios.js +0 -1
  485. package/lib/device-kit/offTimerUpdate/index.js +0 -6
  486. package/lib/device-kit/offTimerUpdate/index.md +0 -20
  487. package/lib/device-kit/offTimerUpdate/index.native.d.ts +0 -1
  488. package/lib/device-kit/offTimerUpdate/index.tuya.d.ts +0 -1
  489. package/lib/device-kit/offTimerUpdate/index.tuya.js +0 -13
  490. package/lib/device-kit/offTimerUpdate/index.web.js +0 -6
  491. package/lib/device-kit/offTimerUpdate/index.wechat.d.ts +0 -1
  492. package/lib/device-kit/offTimerUpdate/index.wechat.js +0 -3
  493. package/lib/device-kit/onDeviceActivatorNeedResetEvent/index.android.js +0 -1
  494. package/lib/device-kit/onDeviceActivatorNeedResetEvent/index.d.ts +0 -3
  495. package/lib/device-kit/onDeviceActivatorNeedResetEvent/index.ios.js +0 -1
  496. package/lib/device-kit/onDeviceActivatorNeedResetEvent/index.js +0 -6
  497. package/lib/device-kit/onDeviceActivatorNeedResetEvent/index.md +0 -20
  498. package/lib/device-kit/onDeviceActivatorNeedResetEvent/index.native.d.ts +0 -1
  499. package/lib/device-kit/onDeviceActivatorNeedResetEvent/index.tuya.d.ts +0 -1
  500. package/lib/device-kit/onDeviceActivatorNeedResetEvent/index.tuya.js +0 -13
  501. package/lib/device-kit/onDeviceActivatorNeedResetEvent/index.web.js +0 -6
  502. package/lib/device-kit/onDeviceActivatorNeedResetEvent/index.wechat.d.ts +0 -1
  503. package/lib/device-kit/onDeviceActivatorNeedResetEvent/index.wechat.js +0 -3
  504. package/lib/device-kit/onDeviceInfoUpdated/index.android.js +0 -1
  505. package/lib/device-kit/onDeviceInfoUpdated/index.d.ts +0 -3
  506. package/lib/device-kit/onDeviceInfoUpdated/index.ios.js +0 -1
  507. package/lib/device-kit/onDeviceInfoUpdated/index.js +0 -6
  508. package/lib/device-kit/onDeviceInfoUpdated/index.md +0 -20
  509. package/lib/device-kit/onDeviceInfoUpdated/index.native.d.ts +0 -1
  510. package/lib/device-kit/onDeviceInfoUpdated/index.tuya.d.ts +0 -1
  511. package/lib/device-kit/onDeviceInfoUpdated/index.tuya.js +0 -13
  512. package/lib/device-kit/onDeviceInfoUpdated/index.web.js +0 -6
  513. package/lib/device-kit/onDeviceInfoUpdated/index.wechat.d.ts +0 -1
  514. package/lib/device-kit/onDeviceInfoUpdated/index.wechat.js +0 -3
  515. package/lib/device-kit/onDeviceOnlineStatusUpdate/index.android.js +0 -1
  516. package/lib/device-kit/onDeviceOnlineStatusUpdate/index.d.ts +0 -3
  517. package/lib/device-kit/onDeviceOnlineStatusUpdate/index.ios.js +0 -1
  518. package/lib/device-kit/onDeviceOnlineStatusUpdate/index.js +0 -6
  519. package/lib/device-kit/onDeviceOnlineStatusUpdate/index.md +0 -20
  520. package/lib/device-kit/onDeviceOnlineStatusUpdate/index.native.d.ts +0 -1
  521. package/lib/device-kit/onDeviceOnlineStatusUpdate/index.tuya.d.ts +0 -1
  522. package/lib/device-kit/onDeviceOnlineStatusUpdate/index.tuya.js +0 -13
  523. package/lib/device-kit/onDeviceOnlineStatusUpdate/index.web.js +0 -6
  524. package/lib/device-kit/onDeviceOnlineStatusUpdate/index.wechat.d.ts +0 -1
  525. package/lib/device-kit/onDeviceOnlineStatusUpdate/index.wechat.js +0 -3
  526. package/lib/device-kit/onDeviceRemoved/index.android.js +0 -1
  527. package/lib/device-kit/onDeviceRemoved/index.d.ts +0 -3
  528. package/lib/device-kit/onDeviceRemoved/index.ios.js +0 -1
  529. package/lib/device-kit/onDeviceRemoved/index.js +0 -6
  530. package/lib/device-kit/onDeviceRemoved/index.md +0 -20
  531. package/lib/device-kit/onDeviceRemoved/index.native.d.ts +0 -1
  532. package/lib/device-kit/onDeviceRemoved/index.tuya.d.ts +0 -1
  533. package/lib/device-kit/onDeviceRemoved/index.tuya.js +0 -13
  534. package/lib/device-kit/onDeviceRemoved/index.web.js +0 -6
  535. package/lib/device-kit/onDeviceRemoved/index.wechat.d.ts +0 -1
  536. package/lib/device-kit/onDeviceRemoved/index.wechat.js +0 -3
  537. package/lib/device-kit/onDpDataChange/index.android.js +0 -1
  538. package/lib/device-kit/onDpDataChange/index.d.ts +0 -3
  539. package/lib/device-kit/onDpDataChange/index.ios.js +0 -1
  540. package/lib/device-kit/onDpDataChange/index.js +0 -6
  541. package/lib/device-kit/onDpDataChange/index.md +0 -20
  542. package/lib/device-kit/onDpDataChange/index.native.d.ts +0 -1
  543. package/lib/device-kit/onDpDataChange/index.tuya.d.ts +0 -1
  544. package/lib/device-kit/onDpDataChange/index.tuya.js +0 -13
  545. package/lib/device-kit/onDpDataChange/index.web.js +0 -6
  546. package/lib/device-kit/onDpDataChange/index.wechat.d.ts +0 -1
  547. package/lib/device-kit/onDpDataChange/index.wechat.js +0 -3
  548. package/lib/device-kit/onMqttMessageReceived/index.android.js +0 -1
  549. package/lib/device-kit/onMqttMessageReceived/index.d.ts +0 -3
  550. package/lib/device-kit/onMqttMessageReceived/index.ios.js +0 -1
  551. package/lib/device-kit/onMqttMessageReceived/index.js +0 -6
  552. package/lib/device-kit/onMqttMessageReceived/index.md +0 -20
  553. package/lib/device-kit/onMqttMessageReceived/index.native.d.ts +0 -1
  554. package/lib/device-kit/onMqttMessageReceived/index.tuya.d.ts +0 -1
  555. package/lib/device-kit/onMqttMessageReceived/index.tuya.js +0 -13
  556. package/lib/device-kit/onMqttMessageReceived/index.web.js +0 -6
  557. package/lib/device-kit/onMqttMessageReceived/index.wechat.d.ts +0 -1
  558. package/lib/device-kit/onMqttMessageReceived/index.wechat.js +0 -3
  559. package/lib/device-kit/onReceivedThingModelMessage/index.android.js +0 -1
  560. package/lib/device-kit/onReceivedThingModelMessage/index.d.ts +0 -3
  561. package/lib/device-kit/onReceivedThingModelMessage/index.ios.js +0 -1
  562. package/lib/device-kit/onReceivedThingModelMessage/index.js +0 -6
  563. package/lib/device-kit/onReceivedThingModelMessage/index.md +0 -20
  564. package/lib/device-kit/onReceivedThingModelMessage/index.native.d.ts +0 -1
  565. package/lib/device-kit/onReceivedThingModelMessage/index.tuya.d.ts +0 -1
  566. package/lib/device-kit/onReceivedThingModelMessage/index.tuya.js +0 -13
  567. package/lib/device-kit/onReceivedThingModelMessage/index.web.js +0 -6
  568. package/lib/device-kit/onReceivedThingModelMessage/index.wechat.d.ts +0 -1
  569. package/lib/device-kit/onReceivedThingModelMessage/index.wechat.js +0 -3
  570. package/lib/device-kit/onSocketMessageReceived/index.android.js +0 -1
  571. package/lib/device-kit/onSocketMessageReceived/index.d.ts +0 -3
  572. package/lib/device-kit/onSocketMessageReceived/index.ios.js +0 -1
  573. package/lib/device-kit/onSocketMessageReceived/index.js +0 -6
  574. package/lib/device-kit/onSocketMessageReceived/index.md +0 -20
  575. package/lib/device-kit/onSocketMessageReceived/index.native.d.ts +0 -1
  576. package/lib/device-kit/onSocketMessageReceived/index.tuya.d.ts +0 -1
  577. package/lib/device-kit/onSocketMessageReceived/index.tuya.js +0 -13
  578. package/lib/device-kit/onSocketMessageReceived/index.web.js +0 -6
  579. package/lib/device-kit/onSocketMessageReceived/index.wechat.d.ts +0 -1
  580. package/lib/device-kit/onSocketMessageReceived/index.wechat.js +0 -3
  581. package/lib/device-kit/onSubDeviceInfoUpdateEvent/index.android.js +0 -1
  582. package/lib/device-kit/onSubDeviceInfoUpdateEvent/index.d.ts +0 -3
  583. package/lib/device-kit/onSubDeviceInfoUpdateEvent/index.ios.js +0 -1
  584. package/lib/device-kit/onSubDeviceInfoUpdateEvent/index.js +0 -6
  585. package/lib/device-kit/onSubDeviceInfoUpdateEvent/index.md +0 -20
  586. package/lib/device-kit/onSubDeviceInfoUpdateEvent/index.native.d.ts +0 -1
  587. package/lib/device-kit/onSubDeviceInfoUpdateEvent/index.tuya.d.ts +0 -1
  588. package/lib/device-kit/onSubDeviceInfoUpdateEvent/index.tuya.js +0 -13
  589. package/lib/device-kit/onSubDeviceInfoUpdateEvent/index.web.js +0 -6
  590. package/lib/device-kit/onSubDeviceInfoUpdateEvent/index.wechat.d.ts +0 -1
  591. package/lib/device-kit/onSubDeviceInfoUpdateEvent/index.wechat.js +0 -3
  592. package/lib/device-kit/onTYBLEBigDataChannelProgressEvent/index.android.js +0 -1
  593. package/lib/device-kit/onTYBLEBigDataChannelProgressEvent/index.d.ts +0 -3
  594. package/lib/device-kit/onTYBLEBigDataChannelProgressEvent/index.ios.js +0 -1
  595. package/lib/device-kit/onTYBLEBigDataChannelProgressEvent/index.js +0 -6
  596. package/lib/device-kit/onTYBLEBigDataChannelProgressEvent/index.md +0 -20
  597. package/lib/device-kit/onTYBLEBigDataChannelProgressEvent/index.native.d.ts +0 -1
  598. package/lib/device-kit/onTYBLEBigDataChannelProgressEvent/index.tuya.d.ts +0 -1
  599. package/lib/device-kit/onTYBLEBigDataChannelProgressEvent/index.tuya.js +0 -13
  600. package/lib/device-kit/onTYBLEBigDataChannelProgressEvent/index.web.js +0 -6
  601. package/lib/device-kit/onTYBLEBigDataChannelProgressEvent/index.wechat.d.ts +0 -1
  602. package/lib/device-kit/onTYBLEBigDataChannelProgressEvent/index.wechat.js +0 -3
  603. package/lib/device-kit/onTYBLEConnectStatusChange/index.android.js +0 -1
  604. package/lib/device-kit/onTYBLEConnectStatusChange/index.d.ts +0 -3
  605. package/lib/device-kit/onTYBLEConnectStatusChange/index.ios.js +0 -1
  606. package/lib/device-kit/onTYBLEConnectStatusChange/index.js +0 -6
  607. package/lib/device-kit/onTYBLEConnectStatusChange/index.md +0 -20
  608. package/lib/device-kit/onTYBLEConnectStatusChange/index.native.d.ts +0 -1
  609. package/lib/device-kit/onTYBLEConnectStatusChange/index.tuya.d.ts +0 -1
  610. package/lib/device-kit/onTYBLEConnectStatusChange/index.tuya.js +0 -13
  611. package/lib/device-kit/onTYBLEConnectStatusChange/index.web.js +0 -6
  612. package/lib/device-kit/onTYBLEConnectStatusChange/index.wechat.d.ts +0 -1
  613. package/lib/device-kit/onTYBLEConnectStatusChange/index.wechat.js +0 -3
  614. package/lib/device-kit/onTYBLEScanBindDevice/index.android.js +0 -1
  615. package/lib/device-kit/onTYBLEScanBindDevice/index.d.ts +0 -3
  616. package/lib/device-kit/onTYBLEScanBindDevice/index.ios.js +0 -1
  617. package/lib/device-kit/onTYBLEScanBindDevice/index.js +0 -6
  618. package/lib/device-kit/onTYBLEScanBindDevice/index.md +0 -20
  619. package/lib/device-kit/onTYBLEScanBindDevice/index.native.d.ts +0 -1
  620. package/lib/device-kit/onTYBLEScanBindDevice/index.tuya.d.ts +0 -1
  621. package/lib/device-kit/onTYBLEScanBindDevice/index.tuya.js +0 -13
  622. package/lib/device-kit/onTYBLEScanBindDevice/index.web.js +0 -6
  623. package/lib/device-kit/onTYBLEScanBindDevice/index.wechat.d.ts +0 -1
  624. package/lib/device-kit/onTYBLEScanBindDevice/index.wechat.js +0 -3
  625. package/lib/device-kit/onTYBLETransparentDataReport/index.android.js +0 -1
  626. package/lib/device-kit/onTYBLETransparentDataReport/index.d.ts +0 -3
  627. package/lib/device-kit/onTYBLETransparentDataReport/index.ios.js +0 -1
  628. package/lib/device-kit/onTYBLETransparentDataReport/index.js +0 -6
  629. package/lib/device-kit/onTYBLETransparentDataReport/index.md +0 -20
  630. package/lib/device-kit/onTYBLETransparentDataReport/index.native.d.ts +0 -1
  631. package/lib/device-kit/onTYBLETransparentDataReport/index.tuya.d.ts +0 -1
  632. package/lib/device-kit/onTYBLETransparentDataReport/index.tuya.js +0 -13
  633. package/lib/device-kit/onTYBLETransparentDataReport/index.web.js +0 -6
  634. package/lib/device-kit/onTYBLETransparentDataReport/index.wechat.d.ts +0 -1
  635. package/lib/device-kit/onTYBLETransparentDataReport/index.wechat.js +0 -3
  636. package/lib/device-kit/onTimerUpdate/index.android.js +0 -1
  637. package/lib/device-kit/onTimerUpdate/index.d.ts +0 -3
  638. package/lib/device-kit/onTimerUpdate/index.ios.js +0 -1
  639. package/lib/device-kit/onTimerUpdate/index.js +0 -6
  640. package/lib/device-kit/onTimerUpdate/index.md +0 -20
  641. package/lib/device-kit/onTimerUpdate/index.native.d.ts +0 -1
  642. package/lib/device-kit/onTimerUpdate/index.tuya.d.ts +0 -1
  643. package/lib/device-kit/onTimerUpdate/index.tuya.js +0 -13
  644. package/lib/device-kit/onTimerUpdate/index.web.js +0 -6
  645. package/lib/device-kit/onTimerUpdate/index.wechat.d.ts +0 -1
  646. package/lib/device-kit/onTimerUpdate/index.wechat.js +0 -3
  647. package/lib/device-kit/openDeviceDetailPage/index.android.js +0 -1
  648. package/lib/device-kit/openDeviceDetailPage/index.d.ts +0 -3
  649. package/lib/device-kit/openDeviceDetailPage/index.ios.js +0 -1
  650. package/lib/device-kit/openDeviceDetailPage/index.js +0 -6
  651. package/lib/device-kit/openDeviceDetailPage/index.md +0 -20
  652. package/lib/device-kit/openDeviceDetailPage/index.native.d.ts +0 -1
  653. package/lib/device-kit/openDeviceDetailPage/index.tuya.d.ts +0 -1
  654. package/lib/device-kit/openDeviceDetailPage/index.tuya.js +0 -13
  655. package/lib/device-kit/openDeviceDetailPage/index.web.js +0 -6
  656. package/lib/device-kit/openDeviceDetailPage/index.wechat.d.ts +0 -1
  657. package/lib/device-kit/openDeviceDetailPage/index.wechat.js +0 -3
  658. package/lib/device-kit/openDeviceWifiNetworkMonitorPage/index.android.js +0 -1
  659. package/lib/device-kit/openDeviceWifiNetworkMonitorPage/index.d.ts +0 -3
  660. package/lib/device-kit/openDeviceWifiNetworkMonitorPage/index.ios.js +0 -1
  661. package/lib/device-kit/openDeviceWifiNetworkMonitorPage/index.js +0 -6
  662. package/lib/device-kit/openDeviceWifiNetworkMonitorPage/index.md +0 -20
  663. package/lib/device-kit/openDeviceWifiNetworkMonitorPage/index.native.d.ts +0 -1
  664. package/lib/device-kit/openDeviceWifiNetworkMonitorPage/index.tuya.d.ts +0 -1
  665. package/lib/device-kit/openDeviceWifiNetworkMonitorPage/index.tuya.js +0 -13
  666. package/lib/device-kit/openDeviceWifiNetworkMonitorPage/index.web.js +0 -6
  667. package/lib/device-kit/openDeviceWifiNetworkMonitorPage/index.wechat.d.ts +0 -1
  668. package/lib/device-kit/openDeviceWifiNetworkMonitorPage/index.wechat.js +0 -3
  669. package/lib/device-kit/openReconnectPage/index.android.js +0 -1
  670. package/lib/device-kit/openReconnectPage/index.d.ts +0 -3
  671. package/lib/device-kit/openReconnectPage/index.ios.js +0 -1
  672. package/lib/device-kit/openReconnectPage/index.js +0 -6
  673. package/lib/device-kit/openReconnectPage/index.md +0 -20
  674. package/lib/device-kit/openReconnectPage/index.native.d.ts +0 -1
  675. package/lib/device-kit/openReconnectPage/index.tuya.d.ts +0 -1
  676. package/lib/device-kit/openReconnectPage/index.tuya.js +0 -13
  677. package/lib/device-kit/openReconnectPage/index.web.js +0 -6
  678. package/lib/device-kit/openReconnectPage/index.wechat.d.ts +0 -1
  679. package/lib/device-kit/openReconnectPage/index.wechat.js +0 -3
  680. package/lib/device-kit/openTimerPage/index.android.js +0 -1
  681. package/lib/device-kit/openTimerPage/index.d.ts +0 -3
  682. package/lib/device-kit/openTimerPage/index.ios.js +0 -1
  683. package/lib/device-kit/openTimerPage/index.js +0 -6
  684. package/lib/device-kit/openTimerPage/index.md +0 -20
  685. package/lib/device-kit/openTimerPage/index.native.d.ts +0 -1
  686. package/lib/device-kit/openTimerPage/index.tuya.d.ts +0 -1
  687. package/lib/device-kit/openTimerPage/index.tuya.js +0 -13
  688. package/lib/device-kit/openTimerPage/index.web.js +0 -6
  689. package/lib/device-kit/openTimerPage/index.wechat.d.ts +0 -1
  690. package/lib/device-kit/openTimerPage/index.wechat.js +0 -3
  691. package/lib/device-kit/postTYBLEBigDataChannelWithProgress/index.android.js +0 -1
  692. package/lib/device-kit/postTYBLEBigDataChannelWithProgress/index.d.ts +0 -3
  693. package/lib/device-kit/postTYBLEBigDataChannelWithProgress/index.ios.js +0 -1
  694. package/lib/device-kit/postTYBLEBigDataChannelWithProgress/index.js +0 -6
  695. package/lib/device-kit/postTYBLEBigDataChannelWithProgress/index.md +0 -20
  696. package/lib/device-kit/postTYBLEBigDataChannelWithProgress/index.native.d.ts +0 -1
  697. package/lib/device-kit/postTYBLEBigDataChannelWithProgress/index.tuya.d.ts +0 -1
  698. package/lib/device-kit/postTYBLEBigDataChannelWithProgress/index.tuya.js +0 -13
  699. package/lib/device-kit/postTYBLEBigDataChannelWithProgress/index.web.js +0 -6
  700. package/lib/device-kit/postTYBLEBigDataChannelWithProgress/index.wechat.d.ts +0 -1
  701. package/lib/device-kit/postTYBLEBigDataChannelWithProgress/index.wechat.js +0 -3
  702. package/lib/device-kit/publishCommands/index.android.js +0 -1
  703. package/lib/device-kit/publishCommands/index.d.ts +0 -3
  704. package/lib/device-kit/publishCommands/index.ios.js +0 -1
  705. package/lib/device-kit/publishCommands/index.js +0 -6
  706. package/lib/device-kit/publishCommands/index.md +0 -20
  707. package/lib/device-kit/publishCommands/index.native.d.ts +0 -1
  708. package/lib/device-kit/publishCommands/index.tuya.d.ts +0 -1
  709. package/lib/device-kit/publishCommands/index.tuya.js +0 -13
  710. package/lib/device-kit/publishCommands/index.web.js +0 -6
  711. package/lib/device-kit/publishCommands/index.wechat.d.ts +0 -1
  712. package/lib/device-kit/publishCommands/index.wechat.js +0 -3
  713. package/lib/device-kit/publishDps/index.android.js +0 -1
  714. package/lib/device-kit/publishDps/index.d.ts +0 -3
  715. package/lib/device-kit/publishDps/index.ios.js +0 -1
  716. package/lib/device-kit/publishDps/index.js +0 -6
  717. package/lib/device-kit/publishDps/index.md +0 -20
  718. package/lib/device-kit/publishDps/index.native.d.ts +0 -1
  719. package/lib/device-kit/publishDps/index.tuya.d.ts +0 -1
  720. package/lib/device-kit/publishDps/index.tuya.js +0 -13
  721. package/lib/device-kit/publishDps/index.web.js +0 -6
  722. package/lib/device-kit/publishDps/index.wechat.d.ts +0 -1
  723. package/lib/device-kit/publishDps/index.wechat.js +0 -3
  724. package/lib/device-kit/publishDpsWithPipeType/index.android.js +0 -1
  725. package/lib/device-kit/publishDpsWithPipeType/index.d.ts +0 -3
  726. package/lib/device-kit/publishDpsWithPipeType/index.ios.js +0 -1
  727. package/lib/device-kit/publishDpsWithPipeType/index.js +0 -6
  728. package/lib/device-kit/publishDpsWithPipeType/index.md +0 -20
  729. package/lib/device-kit/publishDpsWithPipeType/index.native.d.ts +0 -1
  730. package/lib/device-kit/publishDpsWithPipeType/index.tuya.d.ts +0 -1
  731. package/lib/device-kit/publishDpsWithPipeType/index.tuya.js +0 -13
  732. package/lib/device-kit/publishDpsWithPipeType/index.web.js +0 -6
  733. package/lib/device-kit/publishDpsWithPipeType/index.wechat.d.ts +0 -1
  734. package/lib/device-kit/publishDpsWithPipeType/index.wechat.js +0 -3
  735. package/lib/device-kit/publishLanMessage/index.android.js +0 -1
  736. package/lib/device-kit/publishLanMessage/index.d.ts +0 -3
  737. package/lib/device-kit/publishLanMessage/index.ios.js +0 -1
  738. package/lib/device-kit/publishLanMessage/index.js +0 -6
  739. package/lib/device-kit/publishLanMessage/index.md +0 -20
  740. package/lib/device-kit/publishLanMessage/index.native.d.ts +0 -1
  741. package/lib/device-kit/publishLanMessage/index.tuya.d.ts +0 -1
  742. package/lib/device-kit/publishLanMessage/index.tuya.js +0 -13
  743. package/lib/device-kit/publishLanMessage/index.web.js +0 -6
  744. package/lib/device-kit/publishLanMessage/index.wechat.d.ts +0 -1
  745. package/lib/device-kit/publishLanMessage/index.wechat.js +0 -3
  746. package/lib/device-kit/publishMqttMessage/index.android.js +0 -1
  747. package/lib/device-kit/publishMqttMessage/index.d.ts +0 -3
  748. package/lib/device-kit/publishMqttMessage/index.ios.js +0 -1
  749. package/lib/device-kit/publishMqttMessage/index.js +0 -6
  750. package/lib/device-kit/publishMqttMessage/index.md +0 -20
  751. package/lib/device-kit/publishMqttMessage/index.native.d.ts +0 -1
  752. package/lib/device-kit/publishMqttMessage/index.tuya.d.ts +0 -1
  753. package/lib/device-kit/publishMqttMessage/index.tuya.js +0 -13
  754. package/lib/device-kit/publishMqttMessage/index.web.js +0 -6
  755. package/lib/device-kit/publishMqttMessage/index.wechat.d.ts +0 -1
  756. package/lib/device-kit/publishMqttMessage/index.wechat.js +0 -3
  757. package/lib/device-kit/publishSocketMessage/index.android.js +0 -1
  758. package/lib/device-kit/publishSocketMessage/index.d.ts +0 -3
  759. package/lib/device-kit/publishSocketMessage/index.ios.js +0 -1
  760. package/lib/device-kit/publishSocketMessage/index.js +0 -6
  761. package/lib/device-kit/publishSocketMessage/index.md +0 -20
  762. package/lib/device-kit/publishSocketMessage/index.native.d.ts +0 -1
  763. package/lib/device-kit/publishSocketMessage/index.tuya.d.ts +0 -1
  764. package/lib/device-kit/publishSocketMessage/index.tuya.js +0 -13
  765. package/lib/device-kit/publishSocketMessage/index.web.js +0 -6
  766. package/lib/device-kit/publishSocketMessage/index.wechat.d.ts +0 -1
  767. package/lib/device-kit/publishSocketMessage/index.wechat.js +0 -3
  768. package/lib/device-kit/publishTYBLETransparentData/index.android.js +0 -1
  769. package/lib/device-kit/publishTYBLETransparentData/index.d.ts +0 -3
  770. package/lib/device-kit/publishTYBLETransparentData/index.ios.js +0 -1
  771. package/lib/device-kit/publishTYBLETransparentData/index.js +0 -6
  772. package/lib/device-kit/publishTYBLETransparentData/index.md +0 -20
  773. package/lib/device-kit/publishTYBLETransparentData/index.native.d.ts +0 -1
  774. package/lib/device-kit/publishTYBLETransparentData/index.tuya.d.ts +0 -1
  775. package/lib/device-kit/publishTYBLETransparentData/index.tuya.js +0 -13
  776. package/lib/device-kit/publishTYBLETransparentData/index.web.js +0 -6
  777. package/lib/device-kit/publishTYBLETransparentData/index.wechat.d.ts +0 -1
  778. package/lib/device-kit/publishTYBLETransparentData/index.wechat.js +0 -3
  779. package/lib/device-kit/publishThingModelMessage/index.android.js +0 -1
  780. package/lib/device-kit/publishThingModelMessage/index.d.ts +0 -3
  781. package/lib/device-kit/publishThingModelMessage/index.ios.js +0 -1
  782. package/lib/device-kit/publishThingModelMessage/index.js +0 -6
  783. package/lib/device-kit/publishThingModelMessage/index.md +0 -20
  784. package/lib/device-kit/publishThingModelMessage/index.native.d.ts +0 -1
  785. package/lib/device-kit/publishThingModelMessage/index.tuya.d.ts +0 -1
  786. package/lib/device-kit/publishThingModelMessage/index.tuya.js +0 -13
  787. package/lib/device-kit/publishThingModelMessage/index.web.js +0 -6
  788. package/lib/device-kit/publishThingModelMessage/index.wechat.d.ts +0 -1
  789. package/lib/device-kit/publishThingModelMessage/index.wechat.js +0 -3
  790. package/lib/device-kit/pushRNPanel/index.android.js +0 -1
  791. package/lib/device-kit/pushRNPanel/index.d.ts +0 -3
  792. package/lib/device-kit/pushRNPanel/index.ios.js +0 -1
  793. package/lib/device-kit/pushRNPanel/index.js +0 -6
  794. package/lib/device-kit/pushRNPanel/index.md +0 -20
  795. package/lib/device-kit/pushRNPanel/index.native.d.ts +0 -1
  796. package/lib/device-kit/pushRNPanel/index.tuya.d.ts +0 -1
  797. package/lib/device-kit/pushRNPanel/index.tuya.js +0 -13
  798. package/lib/device-kit/pushRNPanel/index.web.js +0 -6
  799. package/lib/device-kit/pushRNPanel/index.wechat.d.ts +0 -1
  800. package/lib/device-kit/pushRNPanel/index.wechat.js +0 -3
  801. package/lib/device-kit/queryDps/index.android.js +0 -1
  802. package/lib/device-kit/queryDps/index.d.ts +0 -3
  803. package/lib/device-kit/queryDps/index.ios.js +0 -1
  804. package/lib/device-kit/queryDps/index.js +0 -6
  805. package/lib/device-kit/queryDps/index.md +0 -20
  806. package/lib/device-kit/queryDps/index.native.d.ts +0 -1
  807. package/lib/device-kit/queryDps/index.tuya.d.ts +0 -1
  808. package/lib/device-kit/queryDps/index.tuya.js +0 -13
  809. package/lib/device-kit/queryDps/index.web.js +0 -6
  810. package/lib/device-kit/queryDps/index.wechat.d.ts +0 -1
  811. package/lib/device-kit/queryDps/index.wechat.js +0 -3
  812. package/lib/device-kit/registerZigbeeGateWaySubDeviceListener/index.android.js +0 -1
  813. package/lib/device-kit/registerZigbeeGateWaySubDeviceListener/index.d.ts +0 -3
  814. package/lib/device-kit/registerZigbeeGateWaySubDeviceListener/index.ios.js +0 -1
  815. package/lib/device-kit/registerZigbeeGateWaySubDeviceListener/index.js +0 -6
  816. package/lib/device-kit/registerZigbeeGateWaySubDeviceListener/index.md +0 -20
  817. package/lib/device-kit/registerZigbeeGateWaySubDeviceListener/index.native.d.ts +0 -1
  818. package/lib/device-kit/registerZigbeeGateWaySubDeviceListener/index.tuya.d.ts +0 -1
  819. package/lib/device-kit/registerZigbeeGateWaySubDeviceListener/index.tuya.js +0 -13
  820. package/lib/device-kit/registerZigbeeGateWaySubDeviceListener/index.web.js +0 -6
  821. package/lib/device-kit/registerZigbeeGateWaySubDeviceListener/index.wechat.d.ts +0 -1
  822. package/lib/device-kit/registerZigbeeGateWaySubDeviceListener/index.wechat.js +0 -3
  823. package/lib/device-kit/removeDevice/index.android.js +0 -1
  824. package/lib/device-kit/removeDevice/index.d.ts +0 -3
  825. package/lib/device-kit/removeDevice/index.ios.js +0 -1
  826. package/lib/device-kit/removeDevice/index.js +0 -6
  827. package/lib/device-kit/removeDevice/index.md +0 -20
  828. package/lib/device-kit/removeDevice/index.native.d.ts +0 -1
  829. package/lib/device-kit/removeDevice/index.tuya.d.ts +0 -1
  830. package/lib/device-kit/removeDevice/index.tuya.js +0 -13
  831. package/lib/device-kit/removeDevice/index.web.js +0 -6
  832. package/lib/device-kit/removeDevice/index.wechat.d.ts +0 -1
  833. package/lib/device-kit/removeDevice/index.wechat.js +0 -3
  834. package/lib/device-kit/removeTimer/index.android.js +0 -1
  835. package/lib/device-kit/removeTimer/index.d.ts +0 -3
  836. package/lib/device-kit/removeTimer/index.ios.js +0 -1
  837. package/lib/device-kit/removeTimer/index.js +0 -6
  838. package/lib/device-kit/removeTimer/index.md +0 -20
  839. package/lib/device-kit/removeTimer/index.native.d.ts +0 -1
  840. package/lib/device-kit/removeTimer/index.tuya.d.ts +0 -1
  841. package/lib/device-kit/removeTimer/index.tuya.js +0 -13
  842. package/lib/device-kit/removeTimer/index.web.js +0 -6
  843. package/lib/device-kit/removeTimer/index.wechat.d.ts +0 -1
  844. package/lib/device-kit/removeTimer/index.wechat.js +0 -3
  845. package/lib/device-kit/resetFactory/index.android.js +0 -1
  846. package/lib/device-kit/resetFactory/index.d.ts +0 -3
  847. package/lib/device-kit/resetFactory/index.ios.js +0 -1
  848. package/lib/device-kit/resetFactory/index.js +0 -6
  849. package/lib/device-kit/resetFactory/index.md +0 -20
  850. package/lib/device-kit/resetFactory/index.native.d.ts +0 -1
  851. package/lib/device-kit/resetFactory/index.tuya.d.ts +0 -1
  852. package/lib/device-kit/resetFactory/index.tuya.js +0 -13
  853. package/lib/device-kit/resetFactory/index.web.js +0 -6
  854. package/lib/device-kit/resetFactory/index.wechat.d.ts +0 -1
  855. package/lib/device-kit/resetFactory/index.wechat.js +0 -3
  856. package/lib/device-kit/setDeviceProperty/index.android.js +0 -1
  857. package/lib/device-kit/setDeviceProperty/index.d.ts +0 -3
  858. package/lib/device-kit/setDeviceProperty/index.ios.js +0 -1
  859. package/lib/device-kit/setDeviceProperty/index.js +0 -6
  860. package/lib/device-kit/setDeviceProperty/index.md +0 -20
  861. package/lib/device-kit/setDeviceProperty/index.native.d.ts +0 -1
  862. package/lib/device-kit/setDeviceProperty/index.tuya.d.ts +0 -1
  863. package/lib/device-kit/setDeviceProperty/index.tuya.js +0 -13
  864. package/lib/device-kit/setDeviceProperty/index.web.js +0 -6
  865. package/lib/device-kit/setDeviceProperty/index.wechat.d.ts +0 -1
  866. package/lib/device-kit/setDeviceProperty/index.wechat.js +0 -3
  867. package/lib/device-kit/startBLEScan/index.android.js +0 -1
  868. package/lib/device-kit/startBLEScan/index.d.ts +0 -3
  869. package/lib/device-kit/startBLEScan/index.ios.js +0 -1
  870. package/lib/device-kit/startBLEScan/index.js +0 -6
  871. package/lib/device-kit/startBLEScan/index.md +0 -20
  872. package/lib/device-kit/startBLEScan/index.native.d.ts +0 -1
  873. package/lib/device-kit/startBLEScan/index.tuya.d.ts +0 -1
  874. package/lib/device-kit/startBLEScan/index.tuya.js +0 -13
  875. package/lib/device-kit/startBLEScan/index.web.js +0 -6
  876. package/lib/device-kit/startBLEScan/index.wechat.d.ts +0 -1
  877. package/lib/device-kit/startBLEScan/index.wechat.js +0 -3
  878. package/lib/device-kit/startBLEScanBeacon/index.android.js +0 -1
  879. package/lib/device-kit/startBLEScanBeacon/index.d.ts +0 -3
  880. package/lib/device-kit/startBLEScanBeacon/index.ios.js +0 -1
  881. package/lib/device-kit/startBLEScanBeacon/index.js +0 -6
  882. package/lib/device-kit/startBLEScanBeacon/index.md +0 -20
  883. package/lib/device-kit/startBLEScanBeacon/index.native.d.ts +0 -1
  884. package/lib/device-kit/startBLEScanBeacon/index.tuya.d.ts +0 -1
  885. package/lib/device-kit/startBLEScanBeacon/index.tuya.js +0 -13
  886. package/lib/device-kit/startBLEScanBeacon/index.web.js +0 -6
  887. package/lib/device-kit/startBLEScanBeacon/index.wechat.d.ts +0 -1
  888. package/lib/device-kit/startBLEScanBeacon/index.wechat.js +0 -3
  889. package/lib/device-kit/startBLEScanBindDevice/index.android.js +0 -1
  890. package/lib/device-kit/startBLEScanBindDevice/index.d.ts +0 -3
  891. package/lib/device-kit/startBLEScanBindDevice/index.ios.js +0 -1
  892. package/lib/device-kit/startBLEScanBindDevice/index.js +0 -6
  893. package/lib/device-kit/startBLEScanBindDevice/index.md +0 -20
  894. package/lib/device-kit/startBLEScanBindDevice/index.native.d.ts +0 -1
  895. package/lib/device-kit/startBLEScanBindDevice/index.tuya.d.ts +0 -1
  896. package/lib/device-kit/startBLEScanBindDevice/index.tuya.js +0 -13
  897. package/lib/device-kit/startBLEScanBindDevice/index.web.js +0 -6
  898. package/lib/device-kit/startBLEScanBindDevice/index.wechat.d.ts +0 -1
  899. package/lib/device-kit/startBLEScanBindDevice/index.wechat.js +0 -3
  900. package/lib/device-kit/startBLEScanSync/index.android.js +0 -1
  901. package/lib/device-kit/startBLEScanSync/index.d.ts +0 -3
  902. package/lib/device-kit/startBLEScanSync/index.ios.js +0 -1
  903. package/lib/device-kit/startBLEScanSync/index.js +0 -6
  904. package/lib/device-kit/startBLEScanSync/index.md +0 -20
  905. package/lib/device-kit/startBLEScanSync/index.native.d.ts +0 -1
  906. package/lib/device-kit/startBLEScanSync/index.tuya.d.ts +0 -1
  907. package/lib/device-kit/startBLEScanSync/index.tuya.js +0 -13
  908. package/lib/device-kit/startBLEScanSync/index.web.js +0 -6
  909. package/lib/device-kit/startBLEScanSync/index.wechat.d.ts +0 -1
  910. package/lib/device-kit/startBLEScanSync/index.wechat.js +0 -3
  911. package/lib/device-kit/startDirectlyConnectedDeviceActivator/index.android.js +0 -1
  912. package/lib/device-kit/startDirectlyConnectedDeviceActivator/index.d.ts +0 -3
  913. package/lib/device-kit/startDirectlyConnectedDeviceActivator/index.ios.js +0 -1
  914. package/lib/device-kit/startDirectlyConnectedDeviceActivator/index.js +0 -6
  915. package/lib/device-kit/startDirectlyConnectedDeviceActivator/index.md +0 -20
  916. package/lib/device-kit/startDirectlyConnectedDeviceActivator/index.native.d.ts +0 -1
  917. package/lib/device-kit/startDirectlyConnectedDeviceActivator/index.tuya.d.ts +0 -1
  918. package/lib/device-kit/startDirectlyConnectedDeviceActivator/index.tuya.js +0 -13
  919. package/lib/device-kit/startDirectlyConnectedDeviceActivator/index.web.js +0 -6
  920. package/lib/device-kit/startDirectlyConnectedDeviceActivator/index.wechat.d.ts +0 -1
  921. package/lib/device-kit/startDirectlyConnectedDeviceActivator/index.wechat.js +0 -3
  922. package/lib/device-kit/startGWActivation/index.android.js +0 -1
  923. package/lib/device-kit/startGWActivation/index.d.ts +0 -3
  924. package/lib/device-kit/startGWActivation/index.ios.js +0 -1
  925. package/lib/device-kit/startGWActivation/index.js +0 -6
  926. package/lib/device-kit/startGWActivation/index.md +0 -20
  927. package/lib/device-kit/startGWActivation/index.native.d.ts +0 -1
  928. package/lib/device-kit/startGWActivation/index.tuya.d.ts +0 -1
  929. package/lib/device-kit/startGWActivation/index.tuya.js +0 -13
  930. package/lib/device-kit/startGWActivation/index.web.js +0 -6
  931. package/lib/device-kit/startGWActivation/index.wechat.d.ts +0 -1
  932. package/lib/device-kit/startGWActivation/index.wechat.js +0 -3
  933. package/lib/device-kit/stopBLEScan/index.android.js +0 -1
  934. package/lib/device-kit/stopBLEScan/index.d.ts +0 -3
  935. package/lib/device-kit/stopBLEScan/index.ios.js +0 -1
  936. package/lib/device-kit/stopBLEScan/index.js +0 -6
  937. package/lib/device-kit/stopBLEScan/index.md +0 -20
  938. package/lib/device-kit/stopBLEScan/index.native.d.ts +0 -1
  939. package/lib/device-kit/stopBLEScan/index.tuya.d.ts +0 -1
  940. package/lib/device-kit/stopBLEScan/index.tuya.js +0 -13
  941. package/lib/device-kit/stopBLEScan/index.web.js +0 -6
  942. package/lib/device-kit/stopBLEScan/index.wechat.d.ts +0 -1
  943. package/lib/device-kit/stopBLEScan/index.wechat.js +0 -3
  944. package/lib/device-kit/stopBLEScanBeacon/index.android.js +0 -1
  945. package/lib/device-kit/stopBLEScanBeacon/index.d.ts +0 -3
  946. package/lib/device-kit/stopBLEScanBeacon/index.ios.js +0 -1
  947. package/lib/device-kit/stopBLEScanBeacon/index.js +0 -6
  948. package/lib/device-kit/stopBLEScanBeacon/index.md +0 -20
  949. package/lib/device-kit/stopBLEScanBeacon/index.native.d.ts +0 -1
  950. package/lib/device-kit/stopBLEScanBeacon/index.tuya.d.ts +0 -1
  951. package/lib/device-kit/stopBLEScanBeacon/index.tuya.js +0 -13
  952. package/lib/device-kit/stopBLEScanBeacon/index.web.js +0 -6
  953. package/lib/device-kit/stopBLEScanBeacon/index.wechat.d.ts +0 -1
  954. package/lib/device-kit/stopBLEScanBeacon/index.wechat.js +0 -3
  955. package/lib/device-kit/stopBLEScanSync/index.android.js +0 -1
  956. package/lib/device-kit/stopBLEScanSync/index.d.ts +0 -3
  957. package/lib/device-kit/stopBLEScanSync/index.ios.js +0 -1
  958. package/lib/device-kit/stopBLEScanSync/index.js +0 -6
  959. package/lib/device-kit/stopBLEScanSync/index.md +0 -20
  960. package/lib/device-kit/stopBLEScanSync/index.native.d.ts +0 -1
  961. package/lib/device-kit/stopBLEScanSync/index.tuya.d.ts +0 -1
  962. package/lib/device-kit/stopBLEScanSync/index.tuya.js +0 -13
  963. package/lib/device-kit/stopBLEScanSync/index.web.js +0 -6
  964. package/lib/device-kit/stopBLEScanSync/index.wechat.d.ts +0 -1
  965. package/lib/device-kit/stopBLEScanSync/index.wechat.js +0 -3
  966. package/lib/device-kit/stopDirectlyConnectedDeviceActivator/index.android.js +0 -1
  967. package/lib/device-kit/stopDirectlyConnectedDeviceActivator/index.d.ts +0 -3
  968. package/lib/device-kit/stopDirectlyConnectedDeviceActivator/index.ios.js +0 -1
  969. package/lib/device-kit/stopDirectlyConnectedDeviceActivator/index.js +0 -6
  970. package/lib/device-kit/stopDirectlyConnectedDeviceActivator/index.md +0 -20
  971. package/lib/device-kit/stopDirectlyConnectedDeviceActivator/index.native.d.ts +0 -1
  972. package/lib/device-kit/stopDirectlyConnectedDeviceActivator/index.tuya.d.ts +0 -1
  973. package/lib/device-kit/stopDirectlyConnectedDeviceActivator/index.tuya.js +0 -13
  974. package/lib/device-kit/stopDirectlyConnectedDeviceActivator/index.web.js +0 -6
  975. package/lib/device-kit/stopDirectlyConnectedDeviceActivator/index.wechat.d.ts +0 -1
  976. package/lib/device-kit/stopDirectlyConnectedDeviceActivator/index.wechat.js +0 -3
  977. package/lib/device-kit/stopGWActivation/index.android.js +0 -1
  978. package/lib/device-kit/stopGWActivation/index.d.ts +0 -3
  979. package/lib/device-kit/stopGWActivation/index.ios.js +0 -1
  980. package/lib/device-kit/stopGWActivation/index.js +0 -6
  981. package/lib/device-kit/stopGWActivation/index.md +0 -20
  982. package/lib/device-kit/stopGWActivation/index.native.d.ts +0 -1
  983. package/lib/device-kit/stopGWActivation/index.tuya.d.ts +0 -1
  984. package/lib/device-kit/stopGWActivation/index.tuya.js +0 -13
  985. package/lib/device-kit/stopGWActivation/index.web.js +0 -6
  986. package/lib/device-kit/stopGWActivation/index.wechat.d.ts +0 -1
  987. package/lib/device-kit/stopGWActivation/index.wechat.js +0 -3
  988. package/lib/device-kit/subscribeDeviceRemoved/index.android.js +0 -1
  989. package/lib/device-kit/subscribeDeviceRemoved/index.d.ts +0 -3
  990. package/lib/device-kit/subscribeDeviceRemoved/index.ios.js +0 -1
  991. package/lib/device-kit/subscribeDeviceRemoved/index.js +0 -6
  992. package/lib/device-kit/subscribeDeviceRemoved/index.md +0 -20
  993. package/lib/device-kit/subscribeDeviceRemoved/index.native.d.ts +0 -1
  994. package/lib/device-kit/subscribeDeviceRemoved/index.tuya.d.ts +0 -1
  995. package/lib/device-kit/subscribeDeviceRemoved/index.tuya.js +0 -13
  996. package/lib/device-kit/subscribeDeviceRemoved/index.web.js +0 -6
  997. package/lib/device-kit/subscribeDeviceRemoved/index.wechat.d.ts +0 -1
  998. package/lib/device-kit/subscribeDeviceRemoved/index.wechat.js +0 -3
  999. package/lib/device-kit/subscribeReceivedThingModelMessage/index.android.js +0 -1
  1000. package/lib/device-kit/subscribeReceivedThingModelMessage/index.d.ts +0 -3
  1001. package/lib/device-kit/subscribeReceivedThingModelMessage/index.ios.js +0 -1
  1002. package/lib/device-kit/subscribeReceivedThingModelMessage/index.js +0 -6
  1003. package/lib/device-kit/subscribeReceivedThingModelMessage/index.md +0 -20
  1004. package/lib/device-kit/subscribeReceivedThingModelMessage/index.native.d.ts +0 -1
  1005. package/lib/device-kit/subscribeReceivedThingModelMessage/index.tuya.d.ts +0 -1
  1006. package/lib/device-kit/subscribeReceivedThingModelMessage/index.tuya.js +0 -13
  1007. package/lib/device-kit/subscribeReceivedThingModelMessage/index.web.js +0 -6
  1008. package/lib/device-kit/subscribeReceivedThingModelMessage/index.wechat.d.ts +0 -1
  1009. package/lib/device-kit/subscribeReceivedThingModelMessage/index.wechat.js +0 -3
  1010. package/lib/device-kit/subscribeTYBLEConnectStatus/index.android.js +0 -1
  1011. package/lib/device-kit/subscribeTYBLEConnectStatus/index.d.ts +0 -3
  1012. package/lib/device-kit/subscribeTYBLEConnectStatus/index.ios.js +0 -1
  1013. package/lib/device-kit/subscribeTYBLEConnectStatus/index.js +0 -6
  1014. package/lib/device-kit/subscribeTYBLEConnectStatus/index.md +0 -20
  1015. package/lib/device-kit/subscribeTYBLEConnectStatus/index.native.d.ts +0 -1
  1016. package/lib/device-kit/subscribeTYBLEConnectStatus/index.tuya.d.ts +0 -1
  1017. package/lib/device-kit/subscribeTYBLEConnectStatus/index.tuya.js +0 -13
  1018. package/lib/device-kit/subscribeTYBLEConnectStatus/index.web.js +0 -6
  1019. package/lib/device-kit/subscribeTYBLEConnectStatus/index.wechat.d.ts +0 -1
  1020. package/lib/device-kit/subscribeTYBLEConnectStatus/index.wechat.js +0 -3
  1021. package/lib/device-kit/subscribeTYBLETransparentDataReport/index.android.js +0 -1
  1022. package/lib/device-kit/subscribeTYBLETransparentDataReport/index.d.ts +0 -3
  1023. package/lib/device-kit/subscribeTYBLETransparentDataReport/index.ios.js +0 -1
  1024. package/lib/device-kit/subscribeTYBLETransparentDataReport/index.js +0 -6
  1025. package/lib/device-kit/subscribeTYBLETransparentDataReport/index.md +0 -20
  1026. package/lib/device-kit/subscribeTYBLETransparentDataReport/index.native.d.ts +0 -1
  1027. package/lib/device-kit/subscribeTYBLETransparentDataReport/index.tuya.d.ts +0 -1
  1028. package/lib/device-kit/subscribeTYBLETransparentDataReport/index.tuya.js +0 -13
  1029. package/lib/device-kit/subscribeTYBLETransparentDataReport/index.web.js +0 -6
  1030. package/lib/device-kit/subscribeTYBLETransparentDataReport/index.wechat.d.ts +0 -1
  1031. package/lib/device-kit/subscribeTYBLETransparentDataReport/index.wechat.js +0 -3
  1032. package/lib/device-kit/syncDeviceInfo/index.android.js +0 -1
  1033. package/lib/device-kit/syncDeviceInfo/index.d.ts +0 -3
  1034. package/lib/device-kit/syncDeviceInfo/index.ios.js +0 -1
  1035. package/lib/device-kit/syncDeviceInfo/index.js +0 -6
  1036. package/lib/device-kit/syncDeviceInfo/index.md +0 -20
  1037. package/lib/device-kit/syncDeviceInfo/index.native.d.ts +0 -1
  1038. package/lib/device-kit/syncDeviceInfo/index.tuya.d.ts +0 -1
  1039. package/lib/device-kit/syncDeviceInfo/index.tuya.js +0 -13
  1040. package/lib/device-kit/syncDeviceInfo/index.web.js +0 -6
  1041. package/lib/device-kit/syncDeviceInfo/index.wechat.d.ts +0 -1
  1042. package/lib/device-kit/syncDeviceInfo/index.wechat.js +0 -3
  1043. package/lib/device-kit/syncTimerTask/index.android.js +0 -1
  1044. package/lib/device-kit/syncTimerTask/index.d.ts +0 -3
  1045. package/lib/device-kit/syncTimerTask/index.ios.js +0 -1
  1046. package/lib/device-kit/syncTimerTask/index.js +0 -6
  1047. package/lib/device-kit/syncTimerTask/index.md +0 -20
  1048. package/lib/device-kit/syncTimerTask/index.native.d.ts +0 -1
  1049. package/lib/device-kit/syncTimerTask/index.tuya.d.ts +0 -1
  1050. package/lib/device-kit/syncTimerTask/index.tuya.js +0 -13
  1051. package/lib/device-kit/syncTimerTask/index.web.js +0 -6
  1052. package/lib/device-kit/syncTimerTask/index.wechat.d.ts +0 -1
  1053. package/lib/device-kit/syncTimerTask/index.wechat.js +0 -3
  1054. package/lib/device-kit/unSubscribeDeviceRemoved/index.android.js +0 -1
  1055. package/lib/device-kit/unSubscribeDeviceRemoved/index.d.ts +0 -3
  1056. package/lib/device-kit/unSubscribeDeviceRemoved/index.ios.js +0 -1
  1057. package/lib/device-kit/unSubscribeDeviceRemoved/index.js +0 -6
  1058. package/lib/device-kit/unSubscribeDeviceRemoved/index.md +0 -20
  1059. package/lib/device-kit/unSubscribeDeviceRemoved/index.native.d.ts +0 -1
  1060. package/lib/device-kit/unSubscribeDeviceRemoved/index.tuya.d.ts +0 -1
  1061. package/lib/device-kit/unSubscribeDeviceRemoved/index.tuya.js +0 -13
  1062. package/lib/device-kit/unSubscribeDeviceRemoved/index.web.js +0 -6
  1063. package/lib/device-kit/unSubscribeDeviceRemoved/index.wechat.d.ts +0 -1
  1064. package/lib/device-kit/unSubscribeDeviceRemoved/index.wechat.js +0 -3
  1065. package/lib/device-kit/unSubscribeReceivedThingModelMessage/index.android.js +0 -1
  1066. package/lib/device-kit/unSubscribeReceivedThingModelMessage/index.d.ts +0 -3
  1067. package/lib/device-kit/unSubscribeReceivedThingModelMessage/index.ios.js +0 -1
  1068. package/lib/device-kit/unSubscribeReceivedThingModelMessage/index.js +0 -6
  1069. package/lib/device-kit/unSubscribeReceivedThingModelMessage/index.md +0 -20
  1070. package/lib/device-kit/unSubscribeReceivedThingModelMessage/index.native.d.ts +0 -1
  1071. package/lib/device-kit/unSubscribeReceivedThingModelMessage/index.tuya.d.ts +0 -1
  1072. package/lib/device-kit/unSubscribeReceivedThingModelMessage/index.tuya.js +0 -13
  1073. package/lib/device-kit/unSubscribeReceivedThingModelMessage/index.web.js +0 -6
  1074. package/lib/device-kit/unSubscribeReceivedThingModelMessage/index.wechat.d.ts +0 -1
  1075. package/lib/device-kit/unSubscribeReceivedThingModelMessage/index.wechat.js +0 -3
  1076. package/lib/device-kit/unregisterZigbeeGateWaySubDeviceListener/index.android.js +0 -1
  1077. package/lib/device-kit/unregisterZigbeeGateWaySubDeviceListener/index.d.ts +0 -3
  1078. package/lib/device-kit/unregisterZigbeeGateWaySubDeviceListener/index.ios.js +0 -1
  1079. package/lib/device-kit/unregisterZigbeeGateWaySubDeviceListener/index.js +0 -6
  1080. package/lib/device-kit/unregisterZigbeeGateWaySubDeviceListener/index.md +0 -20
  1081. package/lib/device-kit/unregisterZigbeeGateWaySubDeviceListener/index.native.d.ts +0 -1
  1082. package/lib/device-kit/unregisterZigbeeGateWaySubDeviceListener/index.tuya.d.ts +0 -1
  1083. package/lib/device-kit/unregisterZigbeeGateWaySubDeviceListener/index.tuya.js +0 -13
  1084. package/lib/device-kit/unregisterZigbeeGateWaySubDeviceListener/index.web.js +0 -6
  1085. package/lib/device-kit/unregisterZigbeeGateWaySubDeviceListener/index.wechat.d.ts +0 -1
  1086. package/lib/device-kit/unregisterZigbeeGateWaySubDeviceListener/index.wechat.js +0 -3
  1087. package/lib/device-kit/unsubscribeTYBLEConnectStatus/index.android.js +0 -1
  1088. package/lib/device-kit/unsubscribeTYBLEConnectStatus/index.d.ts +0 -3
  1089. package/lib/device-kit/unsubscribeTYBLEConnectStatus/index.ios.js +0 -1
  1090. package/lib/device-kit/unsubscribeTYBLEConnectStatus/index.js +0 -6
  1091. package/lib/device-kit/unsubscribeTYBLEConnectStatus/index.md +0 -20
  1092. package/lib/device-kit/unsubscribeTYBLEConnectStatus/index.native.d.ts +0 -1
  1093. package/lib/device-kit/unsubscribeTYBLEConnectStatus/index.tuya.d.ts +0 -1
  1094. package/lib/device-kit/unsubscribeTYBLEConnectStatus/index.tuya.js +0 -13
  1095. package/lib/device-kit/unsubscribeTYBLEConnectStatus/index.web.js +0 -6
  1096. package/lib/device-kit/unsubscribeTYBLEConnectStatus/index.wechat.d.ts +0 -1
  1097. package/lib/device-kit/unsubscribeTYBLEConnectStatus/index.wechat.js +0 -3
  1098. package/lib/device-kit/unsubscribeTYBLETransparentDataReport/index.android.js +0 -1
  1099. package/lib/device-kit/unsubscribeTYBLETransparentDataReport/index.d.ts +0 -3
  1100. package/lib/device-kit/unsubscribeTYBLETransparentDataReport/index.ios.js +0 -1
  1101. package/lib/device-kit/unsubscribeTYBLETransparentDataReport/index.js +0 -6
  1102. package/lib/device-kit/unsubscribeTYBLETransparentDataReport/index.md +0 -20
  1103. package/lib/device-kit/unsubscribeTYBLETransparentDataReport/index.native.d.ts +0 -1
  1104. package/lib/device-kit/unsubscribeTYBLETransparentDataReport/index.tuya.d.ts +0 -1
  1105. package/lib/device-kit/unsubscribeTYBLETransparentDataReport/index.tuya.js +0 -13
  1106. package/lib/device-kit/unsubscribeTYBLETransparentDataReport/index.web.js +0 -6
  1107. package/lib/device-kit/unsubscribeTYBLETransparentDataReport/index.wechat.d.ts +0 -1
  1108. package/lib/device-kit/unsubscribeTYBLETransparentDataReport/index.wechat.js +0 -3
  1109. package/lib/device-kit/updateDeviceThingModelInfo/index.android.js +0 -1
  1110. package/lib/device-kit/updateDeviceThingModelInfo/index.d.ts +0 -3
  1111. package/lib/device-kit/updateDeviceThingModelInfo/index.ios.js +0 -1
  1112. package/lib/device-kit/updateDeviceThingModelInfo/index.js +0 -6
  1113. package/lib/device-kit/updateDeviceThingModelInfo/index.md +0 -20
  1114. package/lib/device-kit/updateDeviceThingModelInfo/index.native.d.ts +0 -1
  1115. package/lib/device-kit/updateDeviceThingModelInfo/index.tuya.d.ts +0 -1
  1116. package/lib/device-kit/updateDeviceThingModelInfo/index.tuya.js +0 -13
  1117. package/lib/device-kit/updateDeviceThingModelInfo/index.web.js +0 -6
  1118. package/lib/device-kit/updateDeviceThingModelInfo/index.wechat.d.ts +0 -1
  1119. package/lib/device-kit/updateDeviceThingModelInfo/index.wechat.js +0 -3
  1120. package/lib/device-kit/updateTimer/index.android.js +0 -1
  1121. package/lib/device-kit/updateTimer/index.d.ts +0 -3
  1122. package/lib/device-kit/updateTimer/index.ios.js +0 -1
  1123. package/lib/device-kit/updateTimer/index.js +0 -6
  1124. package/lib/device-kit/updateTimer/index.md +0 -20
  1125. package/lib/device-kit/updateTimer/index.native.d.ts +0 -1
  1126. package/lib/device-kit/updateTimer/index.tuya.d.ts +0 -1
  1127. package/lib/device-kit/updateTimer/index.tuya.js +0 -13
  1128. package/lib/device-kit/updateTimer/index.web.js +0 -6
  1129. package/lib/device-kit/updateTimer/index.wechat.d.ts +0 -1
  1130. package/lib/device-kit/updateTimer/index.wechat.js +0 -3
  1131. package/lib/device-kit/updateTimerStatus/index.android.js +0 -1
  1132. package/lib/device-kit/updateTimerStatus/index.d.ts +0 -3
  1133. package/lib/device-kit/updateTimerStatus/index.ios.js +0 -1
  1134. package/lib/device-kit/updateTimerStatus/index.js +0 -6
  1135. package/lib/device-kit/updateTimerStatus/index.md +0 -20
  1136. package/lib/device-kit/updateTimerStatus/index.native.d.ts +0 -1
  1137. package/lib/device-kit/updateTimerStatus/index.tuya.d.ts +0 -1
  1138. package/lib/device-kit/updateTimerStatus/index.tuya.js +0 -13
  1139. package/lib/device-kit/updateTimerStatus/index.web.js +0 -6
  1140. package/lib/device-kit/updateTimerStatus/index.wechat.d.ts +0 -1
  1141. package/lib/device-kit/updateTimerStatus/index.wechat.js +0 -3
  1142. package/lib/device-kit/validDeviceOnlineType/index.android.js +0 -1
  1143. package/lib/device-kit/validDeviceOnlineType/index.d.ts +0 -3
  1144. package/lib/device-kit/validDeviceOnlineType/index.ios.js +0 -1
  1145. package/lib/device-kit/validDeviceOnlineType/index.js +0 -6
  1146. package/lib/device-kit/validDeviceOnlineType/index.md +0 -20
  1147. package/lib/device-kit/validDeviceOnlineType/index.native.d.ts +0 -1
  1148. package/lib/device-kit/validDeviceOnlineType/index.tuya.d.ts +0 -1
  1149. package/lib/device-kit/validDeviceOnlineType/index.tuya.js +0 -13
  1150. package/lib/device-kit/validDeviceOnlineType/index.web.js +0 -6
  1151. package/lib/device-kit/validDeviceOnlineType/index.wechat.d.ts +0 -1
  1152. package/lib/device-kit/validDeviceOnlineType/index.wechat.js +0 -3
  1153. package/lib/exitMiniProgram/index.android.js +0 -1
  1154. package/lib/exitMiniProgram/index.d.ts +0 -3
  1155. package/lib/exitMiniProgram/index.ios.js +0 -1
  1156. package/lib/exitMiniProgram/index.js +0 -6
  1157. package/lib/exitMiniProgram/index.md +0 -20
  1158. package/lib/exitMiniProgram/index.native.d.ts +0 -1
  1159. package/lib/exitMiniProgram/index.tuya.d.ts +0 -1
  1160. package/lib/exitMiniProgram/index.tuya.js +0 -8
  1161. package/lib/exitMiniProgram/index.web.js +0 -6
  1162. package/lib/exitMiniProgram/index.wechat.d.ts +0 -1
  1163. package/lib/exitMiniProgram/index.wechat.js +0 -8
  1164. package/lib/getApp/index.md +0 -24
  1165. package/lib/getAppInfo/index.android.js +0 -1
  1166. package/lib/getAppInfo/index.d.ts +0 -3
  1167. package/lib/getAppInfo/index.ios.js +0 -1
  1168. package/lib/getAppInfo/index.js +0 -6
  1169. package/lib/getAppInfo/index.md +0 -20
  1170. package/lib/getAppInfo/index.native.d.ts +0 -3
  1171. package/lib/getAppInfo/index.tuya.d.ts +0 -3
  1172. package/lib/getAppInfo/index.tuya.js +0 -1
  1173. package/lib/getAppInfo/index.web.js +0 -6
  1174. package/lib/getAppInfo/index.wechat.d.ts +0 -1
  1175. package/lib/getAppInfo/index.wechat.js +0 -3
  1176. package/lib/getBoundingClientRect/index.md +0 -37
  1177. package/lib/getClipboardData/index.android.js +0 -1
  1178. package/lib/getClipboardData/index.d.ts +0 -3
  1179. package/lib/getClipboardData/index.ios.js +0 -1
  1180. package/lib/getClipboardData/index.js +0 -6
  1181. package/lib/getClipboardData/index.md +0 -20
  1182. package/lib/getClipboardData/index.native.d.ts +0 -1
  1183. package/lib/getClipboardData/index.tuya.d.ts +0 -1
  1184. package/lib/getClipboardData/index.tuya.js +0 -8
  1185. package/lib/getClipboardData/index.web.js +0 -6
  1186. package/lib/getClipboardData/index.wechat.d.ts +0 -1
  1187. package/lib/getClipboardData/index.wechat.js +0 -8
  1188. package/lib/getCurrentPages/index.md +0 -24
  1189. package/lib/getElementById/index.md +0 -24
  1190. package/lib/getEnterOptions/index.android.js +0 -1
  1191. package/lib/getEnterOptions/index.d.ts +0 -3
  1192. package/lib/getEnterOptions/index.ios.js +0 -1
  1193. package/lib/getEnterOptions/index.js +0 -6
  1194. package/lib/getEnterOptions/index.md +0 -20
  1195. package/lib/getEnterOptions/index.native.d.ts +0 -1
  1196. package/lib/getEnterOptions/index.tuya.d.ts +0 -1
  1197. package/lib/getEnterOptions/index.tuya.js +0 -8
  1198. package/lib/getEnterOptions/index.web.js +0 -6
  1199. package/lib/getEnterOptions/index.wechat.d.ts +0 -1
  1200. package/lib/getEnterOptions/index.wechat.js +0 -8
  1201. package/lib/getEnterOptionsSync/index.android.js +0 -1
  1202. package/lib/getEnterOptionsSync/index.d.ts +0 -3
  1203. package/lib/getEnterOptionsSync/index.ios.js +0 -1
  1204. package/lib/getEnterOptionsSync/index.js +0 -6
  1205. package/lib/getEnterOptionsSync/index.md +0 -20
  1206. package/lib/getEnterOptionsSync/index.native.d.ts +0 -1
  1207. package/lib/getEnterOptionsSync/index.tuya.d.ts +0 -1
  1208. package/lib/getEnterOptionsSync/index.tuya.js +0 -8
  1209. package/lib/getEnterOptionsSync/index.web.js +0 -6
  1210. package/lib/getEnterOptionsSync/index.wechat.d.ts +0 -1
  1211. package/lib/getEnterOptionsSync/index.wechat.js +0 -8
  1212. package/lib/getI18nInfo/index.md +0 -24
  1213. package/lib/getLangContent/index.android.js +0 -1
  1214. package/lib/getLangContent/index.d.ts +0 -3
  1215. package/lib/getLangContent/index.ios.js +0 -1
  1216. package/lib/getLangContent/index.js +0 -6
  1217. package/lib/getLangContent/index.md +0 -20
  1218. package/lib/getLangContent/index.native.d.ts +0 -1
  1219. package/lib/getLangContent/index.tuya.d.ts +0 -1
  1220. package/lib/getLangContent/index.tuya.js +0 -8
  1221. package/lib/getLangContent/index.web.js +0 -6
  1222. package/lib/getLangContent/index.wechat.d.ts +0 -1
  1223. package/lib/getLangContent/index.wechat.js +0 -8
  1224. package/lib/getLangKey/index.android.js +0 -1
  1225. package/lib/getLangKey/index.d.ts +0 -3
  1226. package/lib/getLangKey/index.ios.js +0 -1
  1227. package/lib/getLangKey/index.js +0 -6
  1228. package/lib/getLangKey/index.md +0 -20
  1229. package/lib/getLangKey/index.native.d.ts +0 -1
  1230. package/lib/getLangKey/index.tuya.d.ts +0 -1
  1231. package/lib/getLangKey/index.tuya.js +0 -8
  1232. package/lib/getLangKey/index.web.js +0 -6
  1233. package/lib/getLangKey/index.wechat.d.ts +0 -1
  1234. package/lib/getLangKey/index.wechat.js +0 -8
  1235. package/lib/getLaunchOptions/index.android.js +0 -1
  1236. package/lib/getLaunchOptions/index.d.ts +0 -3
  1237. package/lib/getLaunchOptions/index.ios.js +0 -1
  1238. package/lib/getLaunchOptions/index.js +0 -6
  1239. package/lib/getLaunchOptions/index.md +0 -20
  1240. package/lib/getLaunchOptions/index.native.d.ts +0 -1
  1241. package/lib/getLaunchOptions/index.tuya.d.ts +0 -1
  1242. package/lib/getLaunchOptions/index.tuya.js +0 -8
  1243. package/lib/getLaunchOptions/index.web.js +0 -6
  1244. package/lib/getLaunchOptions/index.wechat.d.ts +0 -1
  1245. package/lib/getLaunchOptions/index.wechat.js +0 -8
  1246. package/lib/getLaunchOptionsSync/index.android.js +0 -1
  1247. package/lib/getLaunchOptionsSync/index.d.ts +0 -4
  1248. package/lib/getLaunchOptionsSync/index.ios.js +0 -1
  1249. package/lib/getLaunchOptionsSync/index.js +0 -6
  1250. package/lib/getLaunchOptionsSync/index.md +0 -20
  1251. package/lib/getLaunchOptionsSync/index.native.d.ts +0 -1
  1252. package/lib/getLaunchOptionsSync/index.tuya.d.ts +0 -3
  1253. package/lib/getLaunchOptionsSync/index.tuya.js +0 -1
  1254. package/lib/getLaunchOptionsSync/index.web.js +0 -6
  1255. package/lib/getLaunchOptionsSync/index.wechat.d.ts +0 -3
  1256. package/lib/getLaunchOptionsSync/index.wechat.js +0 -1
  1257. package/lib/getNetworkType/index.android.js +0 -1
  1258. package/lib/getNetworkType/index.d.ts +0 -3
  1259. package/lib/getNetworkType/index.ios.js +0 -1
  1260. package/lib/getNetworkType/index.js +0 -6
  1261. package/lib/getNetworkType/index.md +0 -20
  1262. package/lib/getNetworkType/index.native.d.ts +0 -1
  1263. package/lib/getNetworkType/index.tuya.d.ts +0 -1
  1264. package/lib/getNetworkType/index.tuya.js +0 -8
  1265. package/lib/getNetworkType/index.web.js +0 -6
  1266. package/lib/getNetworkType/index.wechat.d.ts +0 -1
  1267. package/lib/getNetworkType/index.wechat.js +0 -8
  1268. package/lib/getStorage/index.android.js +0 -1
  1269. package/lib/getStorage/index.d.ts +0 -3
  1270. package/lib/getStorage/index.ios.js +0 -1
  1271. package/lib/getStorage/index.js +0 -6
  1272. package/lib/getStorage/index.md +0 -20
  1273. package/lib/getStorage/index.native.d.ts +0 -1
  1274. package/lib/getStorage/index.tuya.d.ts +0 -1
  1275. package/lib/getStorage/index.tuya.js +0 -8
  1276. package/lib/getStorage/index.web.js +0 -6
  1277. package/lib/getStorage/index.wechat.d.ts +0 -1
  1278. package/lib/getStorage/index.wechat.js +0 -8
  1279. package/lib/getStorageSync/index.android.js +0 -1
  1280. package/lib/getStorageSync/index.d.ts +0 -3
  1281. package/lib/getStorageSync/index.ios.js +0 -1
  1282. package/lib/getStorageSync/index.js +0 -6
  1283. package/lib/getStorageSync/index.md +0 -20
  1284. package/lib/getStorageSync/index.native.d.ts +0 -1
  1285. package/lib/getStorageSync/index.tuya.d.ts +0 -1
  1286. package/lib/getStorageSync/index.tuya.js +0 -8
  1287. package/lib/getStorageSync/index.web.js +0 -6
  1288. package/lib/getStorageSync/index.wechat.d.ts +0 -1
  1289. package/lib/getStorageSync/index.wechat.js +0 -8
  1290. package/lib/getSystemInfo/index.android.js +0 -1
  1291. package/lib/getSystemInfo/index.d.ts +0 -3
  1292. package/lib/getSystemInfo/index.ios.js +0 -1
  1293. package/lib/getSystemInfo/index.js +0 -6
  1294. package/lib/getSystemInfo/index.md +0 -20
  1295. package/lib/getSystemInfo/index.native.d.ts +0 -3
  1296. package/lib/getSystemInfo/index.tuya.d.ts +0 -3
  1297. package/lib/getSystemInfo/index.tuya.js +0 -1
  1298. package/lib/getSystemInfo/index.web.js +0 -6
  1299. package/lib/getSystemInfo/index.wechat.d.ts +0 -3
  1300. package/lib/getSystemInfo/index.wechat.js +0 -1
  1301. package/lib/getSystemInfoSync/index.android.js +0 -1
  1302. package/lib/getSystemInfoSync/index.d.ts +0 -3
  1303. package/lib/getSystemInfoSync/index.ios.js +0 -1
  1304. package/lib/getSystemInfoSync/index.js +0 -6
  1305. package/lib/getSystemInfoSync/index.md +0 -20
  1306. package/lib/getSystemInfoSync/index.native.d.ts +0 -3
  1307. package/lib/getSystemInfoSync/index.tuya.d.ts +0 -3
  1308. package/lib/getSystemInfoSync/index.tuya.js +0 -1
  1309. package/lib/getSystemInfoSync/index.web.js +0 -6
  1310. package/lib/getSystemInfoSync/index.wechat.d.ts +0 -3
  1311. package/lib/getSystemInfoSync/index.wechat.js +0 -1
  1312. package/lib/goDeviceAlarm/index.android.js +0 -1
  1313. package/lib/goDeviceAlarm/index.d.ts +0 -3
  1314. package/lib/goDeviceAlarm/index.ios.js +0 -1
  1315. package/lib/goDeviceAlarm/index.js +0 -6
  1316. package/lib/goDeviceAlarm/index.md +0 -20
  1317. package/lib/goDeviceAlarm/index.native.d.ts +0 -1
  1318. package/lib/goDeviceAlarm/index.tuya.d.ts +0 -1
  1319. package/lib/goDeviceAlarm/index.tuya.js +0 -8
  1320. package/lib/goDeviceAlarm/index.web.js +0 -6
  1321. package/lib/goDeviceAlarm/index.wechat.d.ts +0 -1
  1322. package/lib/goDeviceAlarm/index.wechat.js +0 -8
  1323. package/lib/goDeviceDetail/index.android.js +0 -1
  1324. package/lib/goDeviceDetail/index.d.ts +0 -3
  1325. package/lib/goDeviceDetail/index.ios.js +0 -1
  1326. package/lib/goDeviceDetail/index.js +0 -6
  1327. package/lib/goDeviceDetail/index.md +0 -20
  1328. package/lib/goDeviceDetail/index.native.d.ts +0 -1
  1329. package/lib/goDeviceDetail/index.tuya.d.ts +0 -1
  1330. package/lib/goDeviceDetail/index.tuya.js +0 -8
  1331. package/lib/goDeviceDetail/index.web.js +0 -6
  1332. package/lib/goDeviceDetail/index.wechat.d.ts +0 -1
  1333. package/lib/goDeviceDetail/index.wechat.js +0 -8
  1334. package/lib/hideHomeButton/index.android.js +0 -1
  1335. package/lib/hideHomeButton/index.d.ts +0 -3
  1336. package/lib/hideHomeButton/index.ios.js +0 -1
  1337. package/lib/hideHomeButton/index.js +0 -6
  1338. package/lib/hideHomeButton/index.md +0 -20
  1339. package/lib/hideHomeButton/index.native.d.ts +0 -1
  1340. package/lib/hideHomeButton/index.tuya.d.ts +0 -1
  1341. package/lib/hideHomeButton/index.tuya.js +0 -8
  1342. package/lib/hideHomeButton/index.web.js +0 -6
  1343. package/lib/hideHomeButton/index.wechat.d.ts +0 -1
  1344. package/lib/hideHomeButton/index.wechat.js +0 -8
  1345. package/lib/hideLoading/index.android.js +0 -1
  1346. package/lib/hideLoading/index.d.ts +0 -3
  1347. package/lib/hideLoading/index.ios.js +0 -1
  1348. package/lib/hideLoading/index.js +0 -6
  1349. package/lib/hideLoading/index.md +0 -20
  1350. package/lib/hideLoading/index.native.d.ts +0 -3
  1351. package/lib/hideLoading/index.tuya.d.ts +0 -3
  1352. package/lib/hideLoading/index.tuya.js +0 -1
  1353. package/lib/hideLoading/index.web.js +0 -6
  1354. package/lib/hideLoading/index.wechat.d.ts +0 -3
  1355. package/lib/hideLoading/index.wechat.js +0 -1
  1356. package/lib/hideNavigationBarLoading/index.android.js +0 -1
  1357. package/lib/hideNavigationBarLoading/index.d.ts +0 -3
  1358. package/lib/hideNavigationBarLoading/index.ios.js +0 -1
  1359. package/lib/hideNavigationBarLoading/index.js +0 -6
  1360. package/lib/hideNavigationBarLoading/index.md +0 -20
  1361. package/lib/hideNavigationBarLoading/index.native.d.ts +0 -3
  1362. package/lib/hideNavigationBarLoading/index.tuya.d.ts +0 -3
  1363. package/lib/hideNavigationBarLoading/index.tuya.js +0 -1
  1364. package/lib/hideNavigationBarLoading/index.web.js +0 -6
  1365. package/lib/hideNavigationBarLoading/index.wechat.d.ts +0 -3
  1366. package/lib/hideNavigationBarLoading/index.wechat.js +0 -1
  1367. package/lib/hideNotification/index.md +0 -24
  1368. package/lib/hideTabBar/index.md +0 -20
  1369. package/lib/hideTabBarRedDot/index.android.js +0 -1
  1370. package/lib/hideTabBarRedDot/index.d.ts +0 -3
  1371. package/lib/hideTabBarRedDot/index.ios.js +0 -1
  1372. package/lib/hideTabBarRedDot/index.js +0 -6
  1373. package/lib/hideTabBarRedDot/index.md +0 -20
  1374. package/lib/hideTabBarRedDot/index.native.d.ts +0 -1
  1375. package/lib/hideTabBarRedDot/index.tuya.d.ts +0 -1
  1376. package/lib/hideTabBarRedDot/index.tuya.js +0 -8
  1377. package/lib/hideTabBarRedDot/index.web.js +0 -6
  1378. package/lib/hideTabBarRedDot/index.wechat.d.ts +0 -1
  1379. package/lib/hideTabBarRedDot/index.wechat.js +0 -8
  1380. package/lib/hideToast/index.android.js +0 -1
  1381. package/lib/hideToast/index.d.ts +0 -3
  1382. package/lib/hideToast/index.ios.js +0 -1
  1383. package/lib/hideToast/index.js +0 -6
  1384. package/lib/hideToast/index.md +0 -20
  1385. package/lib/hideToast/index.native.d.ts +0 -3
  1386. package/lib/hideToast/index.tuya.d.ts +0 -3
  1387. package/lib/hideToast/index.tuya.js +0 -1
  1388. package/lib/hideToast/index.web.js +0 -6
  1389. package/lib/hideToast/index.wechat.d.ts +0 -3
  1390. package/lib/hideToast/index.wechat.js +0 -1
  1391. package/lib/makePhoneCall/index.android.js +0 -1
  1392. package/lib/makePhoneCall/index.d.ts +0 -3
  1393. package/lib/makePhoneCall/index.ios.js +0 -1
  1394. package/lib/makePhoneCall/index.js +0 -6
  1395. package/lib/makePhoneCall/index.md +0 -20
  1396. package/lib/makePhoneCall/index.native.d.ts +0 -1
  1397. package/lib/makePhoneCall/index.tuya.d.ts +0 -1
  1398. package/lib/makePhoneCall/index.tuya.js +0 -8
  1399. package/lib/makePhoneCall/index.web.js +0 -6
  1400. package/lib/makePhoneCall/index.wechat.d.ts +0 -1
  1401. package/lib/makePhoneCall/index.wechat.js +0 -8
  1402. package/lib/navigateBack/index.md +0 -20
  1403. package/lib/navigateBackMiniProgram/index.android.js +0 -1
  1404. package/lib/navigateBackMiniProgram/index.d.ts +0 -3
  1405. package/lib/navigateBackMiniProgram/index.ios.js +0 -1
  1406. package/lib/navigateBackMiniProgram/index.js +0 -6
  1407. package/lib/navigateBackMiniProgram/index.md +0 -20
  1408. package/lib/navigateBackMiniProgram/index.native.d.ts +0 -1
  1409. package/lib/navigateBackMiniProgram/index.tuya.d.ts +0 -1
  1410. package/lib/navigateBackMiniProgram/index.tuya.js +0 -8
  1411. package/lib/navigateBackMiniProgram/index.web.js +0 -6
  1412. package/lib/navigateBackMiniProgram/index.wechat.d.ts +0 -1
  1413. package/lib/navigateBackMiniProgram/index.wechat.js +0 -8
  1414. package/lib/navigateTo/index.md +0 -20
  1415. package/lib/navigateToMiniProgram/index.android.js +0 -1
  1416. package/lib/navigateToMiniProgram/index.d.ts +0 -3
  1417. package/lib/navigateToMiniProgram/index.ios.js +0 -1
  1418. package/lib/navigateToMiniProgram/index.js +0 -6
  1419. package/lib/navigateToMiniProgram/index.md +0 -20
  1420. package/lib/navigateToMiniProgram/index.native.d.ts +0 -1
  1421. package/lib/navigateToMiniProgram/index.tuya.d.ts +0 -1
  1422. package/lib/navigateToMiniProgram/index.tuya.js +0 -8
  1423. package/lib/navigateToMiniProgram/index.web.js +0 -6
  1424. package/lib/navigateToMiniProgram/index.wechat.d.ts +0 -1
  1425. package/lib/navigateToMiniProgram/index.wechat.js +0 -8
  1426. package/lib/offBluetoothAdapterStateChange/index.android.js +0 -1
  1427. package/lib/offBluetoothAdapterStateChange/index.d.ts +0 -3
  1428. package/lib/offBluetoothAdapterStateChange/index.ios.js +0 -1
  1429. package/lib/offBluetoothAdapterStateChange/index.js +0 -6
  1430. package/lib/offBluetoothAdapterStateChange/index.md +0 -20
  1431. package/lib/offBluetoothAdapterStateChange/index.native.d.ts +0 -1
  1432. package/lib/offBluetoothAdapterStateChange/index.tuya.d.ts +0 -1
  1433. package/lib/offBluetoothAdapterStateChange/index.tuya.js +0 -8
  1434. package/lib/offBluetoothAdapterStateChange/index.web.js +0 -6
  1435. package/lib/offBluetoothAdapterStateChange/index.wechat.d.ts +0 -1
  1436. package/lib/offBluetoothAdapterStateChange/index.wechat.js +0 -8
  1437. package/lib/offNetworkStatusChange/index.android.js +0 -1
  1438. package/lib/offNetworkStatusChange/index.d.ts +0 -3
  1439. package/lib/offNetworkStatusChange/index.ios.js +0 -1
  1440. package/lib/offNetworkStatusChange/index.js +0 -6
  1441. package/lib/offNetworkStatusChange/index.md +0 -20
  1442. package/lib/offNetworkStatusChange/index.native.d.ts +0 -1
  1443. package/lib/offNetworkStatusChange/index.tuya.d.ts +0 -1
  1444. package/lib/offNetworkStatusChange/index.tuya.js +0 -8
  1445. package/lib/offNetworkStatusChange/index.web.js +0 -6
  1446. package/lib/offNetworkStatusChange/index.wechat.d.ts +0 -1
  1447. package/lib/offNetworkStatusChange/index.wechat.js +0 -8
  1448. package/lib/offProgressUpdate/index.android.js +0 -1
  1449. package/lib/offProgressUpdate/index.d.ts +0 -3
  1450. package/lib/offProgressUpdate/index.ios.js +0 -1
  1451. package/lib/offProgressUpdate/index.js +0 -6
  1452. package/lib/offProgressUpdate/index.md +0 -20
  1453. package/lib/offProgressUpdate/index.native.d.ts +0 -1
  1454. package/lib/offProgressUpdate/index.tuya.d.ts +0 -1
  1455. package/lib/offProgressUpdate/index.tuya.js +0 -8
  1456. package/lib/offProgressUpdate/index.web.js +0 -6
  1457. package/lib/offProgressUpdate/index.wechat.d.ts +0 -1
  1458. package/lib/offProgressUpdate/index.wechat.js +0 -8
  1459. package/lib/onBluetoothAdapterStateChange/index.android.js +0 -1
  1460. package/lib/onBluetoothAdapterStateChange/index.d.ts +0 -3
  1461. package/lib/onBluetoothAdapterStateChange/index.ios.js +0 -1
  1462. package/lib/onBluetoothAdapterStateChange/index.js +0 -6
  1463. package/lib/onBluetoothAdapterStateChange/index.md +0 -20
  1464. package/lib/onBluetoothAdapterStateChange/index.native.d.ts +0 -1
  1465. package/lib/onBluetoothAdapterStateChange/index.tuya.d.ts +0 -1
  1466. package/lib/onBluetoothAdapterStateChange/index.tuya.js +0 -8
  1467. package/lib/onBluetoothAdapterStateChange/index.web.js +0 -6
  1468. package/lib/onBluetoothAdapterStateChange/index.wechat.d.ts +0 -1
  1469. package/lib/onBluetoothAdapterStateChange/index.wechat.js +0 -8
  1470. package/lib/onNetworkStatusChange/index.android.js +0 -1
  1471. package/lib/onNetworkStatusChange/index.d.ts +0 -3
  1472. package/lib/onNetworkStatusChange/index.ios.js +0 -1
  1473. package/lib/onNetworkStatusChange/index.js +0 -6
  1474. package/lib/onNetworkStatusChange/index.md +0 -20
  1475. package/lib/onNetworkStatusChange/index.native.d.ts +0 -1
  1476. package/lib/onNetworkStatusChange/index.tuya.d.ts +0 -1
  1477. package/lib/onNetworkStatusChange/index.tuya.js +0 -8
  1478. package/lib/onNetworkStatusChange/index.web.js +0 -6
  1479. package/lib/onNetworkStatusChange/index.wechat.d.ts +0 -1
  1480. package/lib/onNetworkStatusChange/index.wechat.js +0 -8
  1481. package/lib/onProgressUpdate/index.android.js +0 -1
  1482. package/lib/onProgressUpdate/index.d.ts +0 -3
  1483. package/lib/onProgressUpdate/index.ios.js +0 -1
  1484. package/lib/onProgressUpdate/index.js +0 -6
  1485. package/lib/onProgressUpdate/index.md +0 -20
  1486. package/lib/onProgressUpdate/index.native.d.ts +0 -1
  1487. package/lib/onProgressUpdate/index.tuya.d.ts +0 -1
  1488. package/lib/onProgressUpdate/index.tuya.js +0 -8
  1489. package/lib/onProgressUpdate/index.web.js +0 -6
  1490. package/lib/onProgressUpdate/index.wechat.d.ts +0 -1
  1491. package/lib/onProgressUpdate/index.wechat.js +0 -8
  1492. package/lib/onRouterEvent/index.android.js +0 -1
  1493. package/lib/onRouterEvent/index.d.ts +0 -3
  1494. package/lib/onRouterEvent/index.ios.js +0 -1
  1495. package/lib/onRouterEvent/index.js +0 -6
  1496. package/lib/onRouterEvent/index.md +0 -20
  1497. package/lib/onRouterEvent/index.native.d.ts +0 -1
  1498. package/lib/onRouterEvent/index.tuya.d.ts +0 -1
  1499. package/lib/onRouterEvent/index.tuya.js +0 -8
  1500. package/lib/onRouterEvent/index.web.js +0 -6
  1501. package/lib/onRouterEvent/index.wechat.d.ts +0 -1
  1502. package/lib/onRouterEvent/index.wechat.js +0 -8
  1503. package/lib/previewImage/index.android.js +0 -1
  1504. package/lib/previewImage/index.d.ts +0 -3
  1505. package/lib/previewImage/index.ios.js +0 -1
  1506. package/lib/previewImage/index.js +0 -6
  1507. package/lib/previewImage/index.md +0 -20
  1508. package/lib/previewImage/index.native.d.ts +0 -1
  1509. package/lib/previewImage/index.tuya.d.ts +0 -1
  1510. package/lib/previewImage/index.tuya.js +0 -8
  1511. package/lib/previewImage/index.web.js +0 -6
  1512. package/lib/previewImage/index.wechat.d.ts +0 -1
  1513. package/lib/previewImage/index.wechat.js +0 -8
  1514. package/lib/reLaunch/index.md +0 -20
  1515. package/lib/readFile/index.android.js +0 -1
  1516. package/lib/readFile/index.d.ts +0 -3
  1517. package/lib/readFile/index.ios.js +0 -1
  1518. package/lib/readFile/index.js +0 -6
  1519. package/lib/readFile/index.md +0 -20
  1520. package/lib/readFile/index.native.d.ts +0 -1
  1521. package/lib/readFile/index.tuya.d.ts +0 -1
  1522. package/lib/readFile/index.tuya.js +0 -8
  1523. package/lib/readFile/index.web.js +0 -6
  1524. package/lib/readFile/index.wechat.d.ts +0 -1
  1525. package/lib/readFile/index.wechat.js +0 -8
  1526. package/lib/readFileSync/index.md +0 -20
  1527. package/lib/redirectTo/index.md +0 -20
  1528. package/lib/removeStorage/index.android.js +0 -1
  1529. package/lib/removeStorage/index.d.ts +0 -3
  1530. package/lib/removeStorage/index.ios.js +0 -1
  1531. package/lib/removeStorage/index.js +0 -6
  1532. package/lib/removeStorage/index.md +0 -20
  1533. package/lib/removeStorage/index.native.d.ts +0 -1
  1534. package/lib/removeStorage/index.tuya.d.ts +0 -1
  1535. package/lib/removeStorage/index.tuya.js +0 -8
  1536. package/lib/removeStorage/index.web.js +0 -6
  1537. package/lib/removeStorage/index.wechat.d.ts +0 -1
  1538. package/lib/removeStorage/index.wechat.js +0 -8
  1539. package/lib/removeStorageSync/index.android.js +0 -1
  1540. package/lib/removeStorageSync/index.d.ts +0 -3
  1541. package/lib/removeStorageSync/index.ios.js +0 -1
  1542. package/lib/removeStorageSync/index.js +0 -6
  1543. package/lib/removeStorageSync/index.md +0 -20
  1544. package/lib/removeStorageSync/index.native.d.ts +0 -1
  1545. package/lib/removeStorageSync/index.tuya.d.ts +0 -1
  1546. package/lib/removeStorageSync/index.tuya.js +0 -8
  1547. package/lib/removeStorageSync/index.web.js +0 -6
  1548. package/lib/removeStorageSync/index.wechat.d.ts +0 -1
  1549. package/lib/removeStorageSync/index.wechat.js +0 -8
  1550. package/lib/removeTabBarBadge/index.android.js +0 -1
  1551. package/lib/removeTabBarBadge/index.d.ts +0 -3
  1552. package/lib/removeTabBarBadge/index.ios.js +0 -1
  1553. package/lib/removeTabBarBadge/index.js +0 -6
  1554. package/lib/removeTabBarBadge/index.md +0 -20
  1555. package/lib/removeTabBarBadge/index.native.d.ts +0 -1
  1556. package/lib/removeTabBarBadge/index.tuya.d.ts +0 -1
  1557. package/lib/removeTabBarBadge/index.tuya.js +0 -8
  1558. package/lib/removeTabBarBadge/index.web.js +0 -6
  1559. package/lib/removeTabBarBadge/index.wechat.d.ts +0 -1
  1560. package/lib/removeTabBarBadge/index.wechat.js +0 -8
  1561. package/lib/request/index.android.js +0 -1
  1562. package/lib/request/index.d.ts +0 -3
  1563. package/lib/request/index.ios.js +0 -1
  1564. package/lib/request/index.js +0 -6
  1565. package/lib/request/index.md +0 -20
  1566. package/lib/request/index.native.d.ts +0 -1
  1567. package/lib/request/index.tuya.d.ts +0 -1
  1568. package/lib/request/index.tuya.js +0 -8
  1569. package/lib/request/index.web.js +0 -6
  1570. package/lib/request/index.wechat.d.ts +0 -1
  1571. package/lib/request/index.wechat.js +0 -8
  1572. package/lib/requestCloud/index.md +0 -18
  1573. package/lib/resizeImage/index.android.js +0 -1
  1574. package/lib/resizeImage/index.d.ts +0 -3
  1575. package/lib/resizeImage/index.ios.js +0 -1
  1576. package/lib/resizeImage/index.js +0 -6
  1577. package/lib/resizeImage/index.md +0 -20
  1578. package/lib/resizeImage/index.native.d.ts +0 -1
  1579. package/lib/resizeImage/index.tuya.d.ts +0 -1
  1580. package/lib/resizeImage/index.tuya.js +0 -8
  1581. package/lib/resizeImage/index.web.js +0 -6
  1582. package/lib/resizeImage/index.wechat.d.ts +0 -1
  1583. package/lib/resizeImage/index.wechat.js +0 -8
  1584. package/lib/router/index.android.js +0 -1
  1585. package/lib/router/index.d.ts +0 -3
  1586. package/lib/router/index.ios.js +0 -1
  1587. package/lib/router/index.js +0 -6
  1588. package/lib/router/index.md +0 -20
  1589. package/lib/router/index.native.d.ts +0 -1
  1590. package/lib/router/index.tuya.d.ts +0 -1
  1591. package/lib/router/index.tuya.js +0 -8
  1592. package/lib/router/index.web.js +0 -6
  1593. package/lib/router/index.wechat.d.ts +0 -1
  1594. package/lib/router/index.wechat.js +0 -8
  1595. package/lib/setClipboardData/index.android.js +0 -1
  1596. package/lib/setClipboardData/index.d.ts +0 -3
  1597. package/lib/setClipboardData/index.ios.js +0 -1
  1598. package/lib/setClipboardData/index.js +0 -6
  1599. package/lib/setClipboardData/index.md +0 -20
  1600. package/lib/setClipboardData/index.native.d.ts +0 -1
  1601. package/lib/setClipboardData/index.tuya.d.ts +0 -1
  1602. package/lib/setClipboardData/index.tuya.js +0 -8
  1603. package/lib/setClipboardData/index.web.js +0 -6
  1604. package/lib/setClipboardData/index.wechat.d.ts +0 -1
  1605. package/lib/setClipboardData/index.wechat.js +0 -8
  1606. package/lib/setNavigationBarColor/index.md +0 -20
  1607. package/lib/setNavigationBarTitle/index.md +0 -20
  1608. package/lib/setStorage/index.android.js +0 -1
  1609. package/lib/setStorage/index.d.ts +0 -3
  1610. package/lib/setStorage/index.ios.js +0 -1
  1611. package/lib/setStorage/index.js +0 -6
  1612. package/lib/setStorage/index.md +0 -20
  1613. package/lib/setStorage/index.native.d.ts +0 -1
  1614. package/lib/setStorage/index.tuya.d.ts +0 -1
  1615. package/lib/setStorage/index.tuya.js +0 -8
  1616. package/lib/setStorage/index.web.js +0 -6
  1617. package/lib/setStorage/index.wechat.d.ts +0 -1
  1618. package/lib/setStorage/index.wechat.js +0 -8
  1619. package/lib/setStorageSync/index.android.js +0 -1
  1620. package/lib/setStorageSync/index.d.ts +0 -3
  1621. package/lib/setStorageSync/index.ios.js +0 -1
  1622. package/lib/setStorageSync/index.js +0 -6
  1623. package/lib/setStorageSync/index.md +0 -20
  1624. package/lib/setStorageSync/index.native.d.ts +0 -1
  1625. package/lib/setStorageSync/index.tuya.d.ts +0 -1
  1626. package/lib/setStorageSync/index.tuya.js +0 -8
  1627. package/lib/setStorageSync/index.web.js +0 -6
  1628. package/lib/setStorageSync/index.wechat.d.ts +0 -1
  1629. package/lib/setStorageSync/index.wechat.js +0 -8
  1630. package/lib/setTabBarBadge/index.android.js +0 -1
  1631. package/lib/setTabBarBadge/index.d.ts +0 -3
  1632. package/lib/setTabBarBadge/index.ios.js +0 -1
  1633. package/lib/setTabBarBadge/index.js +0 -6
  1634. package/lib/setTabBarBadge/index.md +0 -20
  1635. package/lib/setTabBarBadge/index.native.d.ts +0 -1
  1636. package/lib/setTabBarBadge/index.tuya.d.ts +0 -1
  1637. package/lib/setTabBarBadge/index.tuya.js +0 -8
  1638. package/lib/setTabBarBadge/index.web.js +0 -6
  1639. package/lib/setTabBarBadge/index.wechat.d.ts +0 -1
  1640. package/lib/setTabBarBadge/index.wechat.js +0 -8
  1641. package/lib/setTabBarItem/index.android.js +0 -1
  1642. package/lib/setTabBarItem/index.d.ts +0 -3
  1643. package/lib/setTabBarItem/index.ios.js +0 -1
  1644. package/lib/setTabBarItem/index.js +0 -6
  1645. package/lib/setTabBarItem/index.md +0 -20
  1646. package/lib/setTabBarItem/index.native.d.ts +0 -1
  1647. package/lib/setTabBarItem/index.tuya.d.ts +0 -1
  1648. package/lib/setTabBarItem/index.tuya.js +0 -8
  1649. package/lib/setTabBarItem/index.web.js +0 -6
  1650. package/lib/setTabBarItem/index.wechat.d.ts +0 -1
  1651. package/lib/setTabBarItem/index.wechat.js +0 -8
  1652. package/lib/setTabBarStyle/index.android.js +0 -1
  1653. package/lib/setTabBarStyle/index.d.ts +0 -3
  1654. package/lib/setTabBarStyle/index.ios.js +0 -1
  1655. package/lib/setTabBarStyle/index.js +0 -6
  1656. package/lib/setTabBarStyle/index.md +0 -20
  1657. package/lib/setTabBarStyle/index.native.d.ts +0 -1
  1658. package/lib/setTabBarStyle/index.tuya.d.ts +0 -1
  1659. package/lib/setTabBarStyle/index.tuya.js +0 -8
  1660. package/lib/setTabBarStyle/index.web.js +0 -6
  1661. package/lib/setTabBarStyle/index.wechat.d.ts +0 -1
  1662. package/lib/setTabBarStyle/index.wechat.js +0 -8
  1663. package/lib/showActionSheet/index.android.js +0 -1
  1664. package/lib/showActionSheet/index.d.ts +0 -3
  1665. package/lib/showActionSheet/index.ios.js +0 -1
  1666. package/lib/showActionSheet/index.js +0 -6
  1667. package/lib/showActionSheet/index.md +0 -20
  1668. package/lib/showActionSheet/index.native.d.ts +0 -3
  1669. package/lib/showActionSheet/index.tuya.d.ts +0 -3
  1670. package/lib/showActionSheet/index.tuya.js +0 -1
  1671. package/lib/showActionSheet/index.web.js +0 -6
  1672. package/lib/showActionSheet/index.wechat.d.ts +0 -3
  1673. package/lib/showActionSheet/index.wechat.js +0 -1
  1674. package/lib/showLoading/index.android.js +0 -1
  1675. package/lib/showLoading/index.d.ts +0 -3
  1676. package/lib/showLoading/index.ios.js +0 -1
  1677. package/lib/showLoading/index.js +0 -6
  1678. package/lib/showLoading/index.md +0 -20
  1679. package/lib/showLoading/index.native.d.ts +0 -3
  1680. package/lib/showLoading/index.tuya.d.ts +0 -3
  1681. package/lib/showLoading/index.tuya.js +0 -1
  1682. package/lib/showLoading/index.web.js +0 -6
  1683. package/lib/showLoading/index.wechat.d.ts +0 -3
  1684. package/lib/showLoading/index.wechat.js +0 -1
  1685. package/lib/showModal/index.android.js +0 -1
  1686. package/lib/showModal/index.d.ts +0 -3
  1687. package/lib/showModal/index.ios.js +0 -1
  1688. package/lib/showModal/index.js +0 -6
  1689. package/lib/showModal/index.md +0 -20
  1690. package/lib/showModal/index.native.d.ts +0 -3
  1691. package/lib/showModal/index.tuya.d.ts +0 -3
  1692. package/lib/showModal/index.tuya.js +0 -1
  1693. package/lib/showModal/index.web.js +0 -6
  1694. package/lib/showModal/index.wechat.d.ts +0 -3
  1695. package/lib/showModal/index.wechat.js +0 -1
  1696. package/lib/showNavigationBarLoading/index.android.js +0 -1
  1697. package/lib/showNavigationBarLoading/index.d.ts +0 -3
  1698. package/lib/showNavigationBarLoading/index.ios.js +0 -1
  1699. package/lib/showNavigationBarLoading/index.js +0 -6
  1700. package/lib/showNavigationBarLoading/index.md +0 -20
  1701. package/lib/showNavigationBarLoading/index.native.d.ts +0 -3
  1702. package/lib/showNavigationBarLoading/index.tuya.d.ts +0 -3
  1703. package/lib/showNavigationBarLoading/index.tuya.js +0 -1
  1704. package/lib/showNavigationBarLoading/index.web.js +0 -6
  1705. package/lib/showNavigationBarLoading/index.wechat.d.ts +0 -3
  1706. package/lib/showNavigationBarLoading/index.wechat.js +0 -1
  1707. package/lib/showNotification/index.md +0 -40
  1708. package/lib/showTabBar/index.md +0 -20
  1709. package/lib/showTabBarRedDot/index.android.js +0 -1
  1710. package/lib/showTabBarRedDot/index.d.ts +0 -3
  1711. package/lib/showTabBarRedDot/index.ios.js +0 -1
  1712. package/lib/showTabBarRedDot/index.js +0 -6
  1713. package/lib/showTabBarRedDot/index.md +0 -20
  1714. package/lib/showTabBarRedDot/index.native.d.ts +0 -1
  1715. package/lib/showTabBarRedDot/index.tuya.d.ts +0 -1
  1716. package/lib/showTabBarRedDot/index.tuya.js +0 -8
  1717. package/lib/showTabBarRedDot/index.web.js +0 -6
  1718. package/lib/showTabBarRedDot/index.wechat.d.ts +0 -1
  1719. package/lib/showTabBarRedDot/index.wechat.js +0 -8
  1720. package/lib/showToast/index.android.js +0 -1
  1721. package/lib/showToast/index.d.ts +0 -3
  1722. package/lib/showToast/index.ios.js +0 -1
  1723. package/lib/showToast/index.js +0 -6
  1724. package/lib/showToast/index.md +0 -20
  1725. package/lib/showToast/index.native.d.ts +0 -3
  1726. package/lib/showToast/index.tuya.d.ts +0 -1
  1727. package/lib/showToast/index.tuya.js +0 -28
  1728. package/lib/showToast/index.web.js +0 -6
  1729. package/lib/showToast/index.wechat.d.ts +0 -1
  1730. package/lib/showToast/index.wechat.js +0 -28
  1731. package/lib/startPullDownRefresh/index.android.js +0 -1
  1732. package/lib/startPullDownRefresh/index.d.ts +0 -3
  1733. package/lib/startPullDownRefresh/index.ios.js +0 -1
  1734. package/lib/startPullDownRefresh/index.js +0 -6
  1735. package/lib/startPullDownRefresh/index.md +0 -20
  1736. package/lib/startPullDownRefresh/index.native.d.ts +0 -1
  1737. package/lib/startPullDownRefresh/index.tuya.d.ts +0 -1
  1738. package/lib/startPullDownRefresh/index.tuya.js +0 -8
  1739. package/lib/startPullDownRefresh/index.web.js +0 -6
  1740. package/lib/startPullDownRefresh/index.wechat.d.ts +0 -1
  1741. package/lib/startPullDownRefresh/index.wechat.js +0 -8
  1742. package/lib/stopPullDownRefresh/index.android.js +0 -1
  1743. package/lib/stopPullDownRefresh/index.d.ts +0 -3
  1744. package/lib/stopPullDownRefresh/index.ios.js +0 -1
  1745. package/lib/stopPullDownRefresh/index.js +0 -6
  1746. package/lib/stopPullDownRefresh/index.md +0 -20
  1747. package/lib/stopPullDownRefresh/index.native.d.ts +0 -1
  1748. package/lib/stopPullDownRefresh/index.tuya.d.ts +0 -1
  1749. package/lib/stopPullDownRefresh/index.tuya.js +0 -8
  1750. package/lib/stopPullDownRefresh/index.web.js +0 -6
  1751. package/lib/stopPullDownRefresh/index.wechat.d.ts +0 -1
  1752. package/lib/stopPullDownRefresh/index.wechat.js +0 -8
  1753. package/lib/switchTab/index.md +0 -20
  1754. package/lib/uploadFile/index.android.js +0 -1
  1755. package/lib/uploadFile/index.d.ts +0 -3
  1756. package/lib/uploadFile/index.ios.js +0 -1
  1757. package/lib/uploadFile/index.js +0 -6
  1758. package/lib/uploadFile/index.md +0 -20
  1759. package/lib/uploadFile/index.native.d.ts +0 -1
  1760. package/lib/uploadFile/index.tuya.d.ts +0 -1
  1761. package/lib/uploadFile/index.tuya.js +0 -8
  1762. package/lib/uploadFile/index.web.js +0 -6
  1763. package/lib/uploadFile/index.wechat.d.ts +0 -1
  1764. package/lib/uploadFile/index.wechat.js +0 -8
@@ -0,0 +1,4387 @@
1
+ /**
2
+ * DeviceKit
3
+ *
4
+ * @version 2.3.3
5
+ */
6
+ declare namespace ty.device {
7
+ /**
8
+ * 获取BLE外设的信号
9
+ */
10
+ export function getBLEDeviceRSSI(params: {
11
+ /**
12
+ * 设备模型
13
+ * deviceId 设备Id
14
+ */
15
+ deviceId: string
16
+ complete?: () => void
17
+ success?: (params: {
18
+ /**
19
+ * 设备信号
20
+ * signal 若为 0,则获取失败
21
+ */
22
+ signal: number
23
+ }) => void
24
+ fail?: (params: {
25
+ errorMsg: string
26
+ errorCode: string | number
27
+ innerError: {
28
+ errorCode: string | number
29
+ errorMsg: string
30
+ }
31
+ }) => void
32
+ }): void
33
+
34
+ /**
35
+ * 开始监听BLE(tuya)连接状态
36
+ */
37
+ export function subscribeTYBLEConnectStatus(params: {
38
+ /**
39
+ * 设备模型
40
+ * deviceId 设备Id
41
+ */
42
+ deviceId: string
43
+ complete?: () => void
44
+ success?: (params: null) => void
45
+ fail?: (params: {
46
+ errorMsg: string
47
+ errorCode: string | number
48
+ innerError: {
49
+ errorCode: string | number
50
+ errorMsg: string
51
+ }
52
+ }) => void
53
+ }): void
54
+
55
+ /**
56
+ * 停止监听BLE(tuya)连接状态
57
+ */
58
+ export function unsubscribeTYBLEConnectStatus(params: {
59
+ /**
60
+ * 设备模型
61
+ * deviceId 设备Id
62
+ */
63
+ deviceId: string
64
+ complete?: () => void
65
+ success?: (params: null) => void
66
+ fail?: (params: {
67
+ errorMsg: string
68
+ errorCode: string | number
69
+ innerError: {
70
+ errorCode: string | number
71
+ errorMsg: string
72
+ }
73
+ }) => void
74
+ }): void
75
+
76
+ /**
77
+ * 连接BLE(tuya)设备,【Android特有:与directConnectBLEDevice方法的区别在于,该方法会先进行扫描的动作,扫描到设备之后才会进行连接。】
78
+ */
79
+ export function connectTYBLEDevice(params: {
80
+ /**
81
+ * 设备模型
82
+ * deviceId 设备Id
83
+ */
84
+ deviceId: string
85
+ complete?: () => void
86
+ success?: (params: null) => void
87
+ fail?: (params: {
88
+ errorMsg: string
89
+ errorCode: string | number
90
+ innerError: {
91
+ errorCode: string | number
92
+ errorMsg: string
93
+ }
94
+ }) => void
95
+ }): void
96
+
97
+ /**
98
+ * 直连BLE(tuya)设备,【Android特有:与connectTYBLEDevice方法的区别在于,该方法在连接设备时并不会进行扫描的动作。换言之,需要先扫描到设备之后,方可调用该方法进行连接】
99
+ */
100
+ export function directConnectBLEDevice(params: {
101
+ /**
102
+ * 设备模型
103
+ * deviceId 设备Id
104
+ */
105
+ deviceId: string
106
+ complete?: () => void
107
+ success?: (params: null) => void
108
+ fail?: (params: {
109
+ errorMsg: string
110
+ errorCode: string | number
111
+ innerError: {
112
+ errorCode: string | number
113
+ errorMsg: string
114
+ }
115
+ }) => void
116
+ }): void
117
+
118
+ /**
119
+ * 断开BLE(tuya)设备
120
+ */
121
+ export function disconnectTYBLEDevice(params: {
122
+ /**
123
+ * 设备模型
124
+ * deviceId 设备Id
125
+ */
126
+ deviceId: string
127
+ complete?: () => void
128
+ success?: (params: null) => void
129
+ fail?: (params: {
130
+ errorMsg: string
131
+ errorCode: string | number
132
+ innerError: {
133
+ errorCode: string | number
134
+ errorMsg: string
135
+ }
136
+ }) => void
137
+ }): void
138
+
139
+ /**
140
+ * 查询BLE(tuya)本地在线状态
141
+ */
142
+ export function getTYBLEOnlineState(params: {
143
+ /**
144
+ * 设备模型
145
+ * deviceId 设备Id
146
+ */
147
+ deviceId: string
148
+ complete?: () => void
149
+ success?: (params: {
150
+ /**
151
+ * 蓝牙在线状态的回调boolean值
152
+ * isOnline 是否在线
153
+ */
154
+ isOnline: boolean
155
+ }) => void
156
+ fail?: (params: {
157
+ errorMsg: string
158
+ errorCode: string | number
159
+ innerError: {
160
+ errorCode: string | number
161
+ errorMsg: string
162
+ }
163
+ }) => void
164
+ }): void
165
+
166
+ /**
167
+ * 开始监听BLE(tuya)设备数据透传通道上报
168
+ */
169
+ export function subscribeTYBLETransparentDataReport(params: {
170
+ /**
171
+ * 设备模型
172
+ * deviceId 设备Id
173
+ */
174
+ deviceId: string
175
+ complete?: () => void
176
+ success?: (params: null) => void
177
+ fail?: (params: {
178
+ errorMsg: string
179
+ errorCode: string | number
180
+ innerError: {
181
+ errorCode: string | number
182
+ errorMsg: string
183
+ }
184
+ }) => void
185
+ }): void
186
+
187
+ /**
188
+ * 停止监听BLE(tuya)设备数据透传通道上报
189
+ */
190
+ export function unsubscribeTYBLETransparentDataReport(params: {
191
+ /**
192
+ * 设备模型
193
+ * deviceId 设备Id
194
+ */
195
+ deviceId: string
196
+ complete?: () => void
197
+ success?: (params: null) => void
198
+ fail?: (params: {
199
+ errorMsg: string
200
+ errorCode: string | number
201
+ innerError: {
202
+ errorCode: string | number
203
+ errorMsg: string
204
+ }
205
+ }) => void
206
+ }): void
207
+
208
+ /**
209
+ * BLE(tuya)下发透传数据
210
+ */
211
+ export function publishTYBLETransparentData(params: {
212
+ /**
213
+ * 蓝牙透传数据
214
+ * deviceId: 设备 id
215
+ */
216
+ deviceId: string
217
+ /** data: 透传内容 */
218
+ data: string
219
+ complete?: () => void
220
+ success?: (params: null) => void
221
+ fail?: (params: {
222
+ errorMsg: string
223
+ errorCode: string | number
224
+ innerError: {
225
+ errorCode: string | number
226
+ errorMsg: string
227
+ }
228
+ }) => void
229
+ }): void
230
+
231
+ /**
232
+ * 获取加密过的设备 localKey
233
+ *BLE(tuya)蓝牙大数据通道传输过程中需要用到的特殊加密操作
234
+ */
235
+ export function getEncryptLocalKeyWithData(params: {
236
+ /**
237
+ * 大数据通道加密计算结构
238
+ * deviceId 设备 id
239
+ */
240
+ deviceId: string
241
+ /** keyDeviceId 需要传输加密密钥的设备Id */
242
+ keyDeviceId: string
243
+ complete?: () => void
244
+ success?: (params: string) => void
245
+ fail?: (params: {
246
+ errorMsg: string
247
+ errorCode: string | number
248
+ innerError: {
249
+ errorCode: string | number
250
+ errorMsg: string
251
+ }
252
+ }) => void
253
+ }): void
254
+
255
+ /**
256
+ * 大数据通道操作,支持进度反馈
257
+ */
258
+ export function postTYBLEBigDataChannelWithProgress(params: {
259
+ /** deviceId 设备 id */
260
+ deviceId: string
261
+ /**
262
+ * 建立数据传输所需相关参数
263
+ * command:通道操作的具体指令;start/stop:开启/关闭大数据通道;type:要上传的数据类型
264
+ * requestParams 通道指令集
265
+ * {
266
+ * "command": "start",
267
+ * "type": "1"
268
+ * }
269
+ */
270
+ requestParams: Record<string, {}>
271
+ complete?: () => void
272
+ success?: (params: {
273
+ /** deviceId 设备 id */
274
+ deviceId: string
275
+ /**
276
+ * 数据传输完毕相关参数(type dps fileUrl)
277
+ * resultParams 数据传输完毕相关参数
278
+ */
279
+ resultParams: Record<string, {}>
280
+ }) => void
281
+ fail?: (params: {
282
+ errorMsg: string
283
+ errorCode: string | number
284
+ innerError: {
285
+ errorCode: string | number
286
+ errorMsg: string
287
+ }
288
+ }) => void
289
+ }): void
290
+
291
+ /**
292
+ * 发起蓝牙mesh设备直连
293
+ */
294
+ export function startBLEMeshLowPowerConnection(params: {
295
+ /** deviceId 设备 id */
296
+ deviceId: string
297
+ complete?: () => void
298
+ success?: (params: null) => void
299
+ fail?: (params: {
300
+ errorMsg: string
301
+ errorCode: string | number
302
+ innerError: {
303
+ errorCode: string | number
304
+ errorMsg: string
305
+ }
306
+ }) => void
307
+ }): void
308
+
309
+ /**
310
+ * 断开蓝牙mesh设备连接
311
+ */
312
+ export function stopBLEMeshLowPowerConnection(params: {
313
+ /** deviceId 设备 id */
314
+ deviceId: string
315
+ complete?: () => void
316
+ success?: (params: null) => void
317
+ fail?: (params: {
318
+ errorMsg: string
319
+ errorCode: string | number
320
+ innerError: {
321
+ errorCode: string | number
322
+ errorMsg: string
323
+ }
324
+ }) => void
325
+ }): void
326
+
327
+ /**
328
+ * 启动扫描Beacon扫描
329
+ */
330
+ export function startBLEScanBeacon(params: {
331
+ /**
332
+ * 设备模型
333
+ * deviceId 设备Id
334
+ */
335
+ deviceId: string
336
+ complete?: () => void
337
+ success?: (params: null) => void
338
+ fail?: (params: {
339
+ errorMsg: string
340
+ errorCode: string | number
341
+ innerError: {
342
+ errorCode: string | number
343
+ errorMsg: string
344
+ }
345
+ }) => void
346
+ }): void
347
+
348
+ /**
349
+ * 停止扫描Beacon扫描。
350
+ */
351
+ export function stopBLEScanBeacon(params: {
352
+ /**
353
+ * 设备模型
354
+ * deviceId 设备Id
355
+ */
356
+ deviceId: string
357
+ complete?: () => void
358
+ success?: (params: null) => void
359
+ fail?: (params: {
360
+ errorMsg: string
361
+ errorCode: string | number
362
+ innerError: {
363
+ errorCode: string | number
364
+ errorMsg: string
365
+ }
366
+ }) => void
367
+ }): void
368
+
369
+ /**
370
+ * 设备是否支持BLEBeacon能力
371
+ */
372
+ export function bluetoothCapabilityOfBLEBeacon(params: {
373
+ /**
374
+ * 设备模型
375
+ * deviceId 设备Id
376
+ */
377
+ deviceId: string
378
+ complete?: () => void
379
+ success?: (params: boolean) => void
380
+ fail?: (params: {
381
+ errorMsg: string
382
+ errorCode: string | number
383
+ innerError: {
384
+ errorCode: string | number
385
+ errorMsg: string
386
+ }
387
+ }) => void
388
+ }): void
389
+
390
+ /**
391
+ * 判断手机蓝牙是否打开
392
+ */
393
+ export function bluetoothIsPowerOn(params?: {
394
+ complete?: () => void
395
+ success?: (params: boolean) => void
396
+ fail?: (params: {
397
+ errorMsg: string
398
+ errorCode: string | number
399
+ innerError: {
400
+ errorCode: string | number
401
+ errorMsg: string
402
+ }
403
+ }) => void
404
+ }): void
405
+
406
+ /**
407
+ * 在指定时间内扫描已配网设备
408
+ */
409
+ export function startBLEScanBindDevice(params: {
410
+ /** 间隔扫描时间。如果<0,则返回错误 */
411
+ interval: number
412
+ /**
413
+ * 扫描类型
414
+ * SINGLE -> "SINGLE"
415
+ * SINGLE_QR -> "SINGLE_QR"
416
+ * MESH -> "MESH"
417
+ * SIG_MESH -> "SIG_MESH"
418
+ * NORMAL -> "NORMAL"
419
+ * TY_BEACON -> "TY_BEACON"
420
+ */
421
+ scanType: string
422
+ complete?: () => void
423
+ success?: (params: null) => void
424
+ fail?: (params: {
425
+ errorMsg: string
426
+ errorCode: string | number
427
+ innerError: {
428
+ errorCode: string | number
429
+ errorMsg: string
430
+ }
431
+ }) => void
432
+ }): void
433
+
434
+ /**
435
+ * iOS单端插件方法。调用 connectTYBLEDevice 连接蓝牙设备前需要先调用该方法开启扫描。
436
+ *开启扫描
437
+ */
438
+ export function startBLEScan(params?: {
439
+ complete?: () => void
440
+ success?: (params: null) => void
441
+ fail?: (params: {
442
+ errorMsg: string
443
+ errorCode: string | number
444
+ innerError: {
445
+ errorCode: string | number
446
+ errorMsg: string
447
+ }
448
+ }) => void
449
+ }): void
450
+
451
+ /**
452
+ * iOS单端插件方法。调用 connectTYBLEDevice 连接蓝牙设备前需要先调用该方法开启扫描。
453
+ *开启扫描
454
+ */
455
+ export function startBLEScanSync(): null
456
+
457
+ /**
458
+ * iOS单端插件方法。不需要连接设备时调用该方法关闭扫描。
459
+ *关闭扫描
460
+ */
461
+ export function stopBLEScan(params?: {
462
+ complete?: () => void
463
+ success?: (params: null) => void
464
+ fail?: (params: {
465
+ errorMsg: string
466
+ errorCode: string | number
467
+ innerError: {
468
+ errorCode: string | number
469
+ errorMsg: string
470
+ }
471
+ }) => void
472
+ }): void
473
+
474
+ /**
475
+ * iOS单端插件方法。不需要连接设备时调用该方法关闭扫描。
476
+ *关闭扫描
477
+ */
478
+ export function stopBLEScanSync(): null
479
+
480
+ /**
481
+ *
482
+ *蓝牙设备是否支持某个能力 5->定时 6->BT
483
+ */
484
+ export function bluetoothCapabilityIsSupport(params: {
485
+ /** 设备Id */
486
+ deviceId: string
487
+ /**
488
+ * 能力值标位
489
+ * 5:定时
490
+ */
491
+ capability: number
492
+ complete?: () => void
493
+ success?: (params: {
494
+ /**
495
+ * 是否支持蓝牙相关能力的结果回调
496
+ * isSupport 是否支持
497
+ */
498
+ isSupport: boolean
499
+ }) => void
500
+ fail?: (params: {
501
+ errorMsg: string
502
+ errorCode: string | number
503
+ innerError: {
504
+ errorCode: string | number
505
+ errorMsg: string
506
+ }
507
+ }) => void
508
+ }): void
509
+
510
+ /**
511
+ * 获取设备BT信息
512
+ */
513
+ export function getBTDeviceInfo(params: {
514
+ /**
515
+ * 设备模型
516
+ * deviceId 设备Id
517
+ */
518
+ deviceId: string
519
+ complete?: () => void
520
+ success?: (params: {
521
+ /** 设备名称 */
522
+ deviceName?: string
523
+ /** 是否连接 */
524
+ isConnected?: boolean
525
+ /** 是否配对 */
526
+ isBond?: boolean
527
+ /** mac */
528
+ mac?: string
529
+ }) => void
530
+ fail?: (params: {
531
+ errorMsg: string
532
+ errorCode: string | number
533
+ innerError: {
534
+ errorCode: string | number
535
+ errorMsg: string
536
+ }
537
+ }) => void
538
+ }): void
539
+
540
+ /**
541
+ * 使网关进入配网模式,对其子设备进行配网
542
+ */
543
+ export function startGWActivation(params: {
544
+ /**
545
+ * 网关子设备激活数据
546
+ * gateway Gateway 网关模型
547
+ */
548
+ gateway: Gateway
549
+ /** timeout 超时时间设定(秒),建议值120 */
550
+ timeout: number
551
+ complete?: () => void
552
+ success?: (params: null) => void
553
+ fail?: (params: {
554
+ errorMsg: string
555
+ errorCode: string | number
556
+ innerError: {
557
+ errorCode: string | number
558
+ errorMsg: string
559
+ }
560
+ }) => void
561
+ }): void
562
+
563
+ /**
564
+ * 停止网关的配网模式
565
+ */
566
+ export function stopGWActivation(params: {
567
+ /**
568
+ * 网关模型
569
+ * gwId 网关设备Id
570
+ */
571
+ gwId: string
572
+ complete?: () => void
573
+ success?: (params: null) => void
574
+ fail?: (params: {
575
+ errorMsg: string
576
+ errorCode: string | number
577
+ innerError: {
578
+ errorCode: string | number
579
+ errorMsg: string
580
+ }
581
+ }) => void
582
+ }): void
583
+
584
+ /**
585
+ * 跳转设备断线重连页面
586
+ */
587
+ export function openReconnectPage(params: {
588
+ /**
589
+ * 设备模型
590
+ * deviceId 设备Id
591
+ */
592
+ deviceId: string
593
+ complete?: () => void
594
+ success?: (params: null) => void
595
+ fail?: (params: {
596
+ errorMsg: string
597
+ errorCode: string | number
598
+ innerError: {
599
+ errorCode: string | number
600
+ errorMsg: string
601
+ }
602
+ }) => void
603
+ }): void
604
+
605
+ /**
606
+ * 免配网-开始设备激活
607
+ */
608
+ export function startDirectlyConnectedDeviceActivator(params: {
609
+ /**
610
+ * 设备Id
611
+ * device Device 设备模型
612
+ */
613
+ device: Device
614
+ /** timeout 超时时间设定(秒),建议值120 */
615
+ timeout: number
616
+ complete?: () => void
617
+ success?: (params: null) => void
618
+ fail?: (params: {
619
+ errorMsg: string
620
+ errorCode: string | number
621
+ innerError: {
622
+ errorCode: string | number
623
+ errorMsg: string
624
+ }
625
+ }) => void
626
+ }): void
627
+
628
+ /**
629
+ * 免配网-停止设备激活
630
+ */
631
+ export function stopDirectlyConnectedDeviceActivator(params: {
632
+ /**
633
+ * 设备Id
634
+ * device Device 设备模型
635
+ */
636
+ device: Device
637
+ /** timeout 超时时间设定(秒),建议值120 */
638
+ timeout: number
639
+ complete?: () => void
640
+ success?: (params: null) => void
641
+ fail?: (params: {
642
+ errorMsg: string
643
+ errorCode: string | number
644
+ innerError: {
645
+ errorCode: string | number
646
+ errorMsg: string
647
+ }
648
+ }) => void
649
+ }): void
650
+
651
+ /**
652
+ * 进入配网-选品类首页
653
+ */
654
+ export function openCategoryActivatorPage(params?: {
655
+ complete?: () => void
656
+ success?: (params: null) => void
657
+ fail?: (params: {
658
+ errorMsg: string
659
+ errorCode: string | number
660
+ innerError: {
661
+ errorCode: string | number
662
+ errorMsg: string
663
+ }
664
+ }) => void
665
+ }): void
666
+
667
+ /**
668
+ * 免配网-开始设备扫描
669
+ */
670
+ export function startDirectlyConnectedSearchDevice(params: {
671
+ /**
672
+ * 设备Id
673
+ * device Device 设备模型
674
+ */
675
+ device: Device
676
+ /** timeout 超时时间设定(秒),建议值120 */
677
+ timeout: number
678
+ complete?: () => void
679
+ success?: (params: null) => void
680
+ fail?: (params: {
681
+ errorMsg: string
682
+ errorCode: string | number
683
+ innerError: {
684
+ errorCode: string | number
685
+ errorMsg: string
686
+ }
687
+ }) => void
688
+ }): void
689
+
690
+ /**
691
+ * 免配网-结束设备扫描
692
+ */
693
+ export function stopDirectlyConnectedSearchDevice(params: {
694
+ /**
695
+ * 设备Id
696
+ * device Device 设备模型
697
+ */
698
+ device: Device
699
+ /** timeout 超时时间设定(秒),建议值120 */
700
+ timeout: number
701
+ complete?: () => void
702
+ success?: (params: null) => void
703
+ fail?: (params: {
704
+ errorMsg: string
705
+ errorCode: string | number
706
+ innerError: {
707
+ errorCode: string | number
708
+ errorMsg: string
709
+ }
710
+ }) => void
711
+ }): void
712
+
713
+ /**
714
+ * 重置设备并恢复出厂设置。
715
+ *设备数据会被清除并进入待配网状态。
716
+ */
717
+ export function resetFactory(params: {
718
+ /**
719
+ * deviceId 设备id
720
+ * 支持跨面板获取其他的设备信息,当前面板可以传当前设备的 id 来进行获取
721
+ */
722
+ deviceId: string
723
+ /** dps 科学变化的数据 */
724
+ dps?: Record<string, {}>
725
+ complete?: () => void
726
+ success?: (params: null) => void
727
+ fail?: (params: {
728
+ errorMsg: string
729
+ errorCode: string | number
730
+ innerError: {
731
+ errorCode: string | number
732
+ errorMsg: string
733
+ }
734
+ }) => void
735
+ }): void
736
+
737
+ /**
738
+ * 移除设备
739
+ */
740
+ export function removeDevice(params: {
741
+ /**
742
+ * deviceId 设备id
743
+ * 支持跨面板获取其他的设备信息,当前面板可以传当前设备的 id 来进行获取
744
+ */
745
+ deviceId: string
746
+ /** dps 科学变化的数据 */
747
+ dps?: Record<string, {}>
748
+ complete?: () => void
749
+ success?: (params: null) => void
750
+ fail?: (params: {
751
+ errorMsg: string
752
+ errorCode: string | number
753
+ innerError: {
754
+ errorCode: string | number
755
+ errorMsg: string
756
+ }
757
+ }) => void
758
+ }): void
759
+
760
+ /**
761
+ * 注册Zigbee网关子设备监听器
762
+ */
763
+ export function registerZigbeeGateWaySubDeviceListener(params: {
764
+ /**
765
+ * deviceId 设备id
766
+ * 支持跨面板获取其他的设备信息,当前面板可以传当前设备的 id 来进行获取
767
+ */
768
+ deviceId: string
769
+ /** dps 科学变化的数据 */
770
+ dps?: Record<string, {}>
771
+ complete?: () => void
772
+ success?: (params: null) => void
773
+ fail?: (params: {
774
+ errorMsg: string
775
+ errorCode: string | number
776
+ innerError: {
777
+ errorCode: string | number
778
+ errorMsg: string
779
+ }
780
+ }) => void
781
+ }): void
782
+
783
+ /**
784
+ * 注销Zigbee网关子设备监听器
785
+ */
786
+ export function unregisterZigbeeGateWaySubDeviceListener(params: {
787
+ /**
788
+ * deviceId 设备id
789
+ * 支持跨面板获取其他的设备信息,当前面板可以传当前设备的 id 来进行获取
790
+ */
791
+ deviceId: string
792
+ /** dps 科学变化的数据 */
793
+ dps?: Record<string, {}>
794
+ complete?: () => void
795
+ success?: (params: null) => void
796
+ fail?: (params: {
797
+ errorMsg: string
798
+ errorCode: string | number
799
+ innerError: {
800
+ errorCode: string | number
801
+ errorMsg: string
802
+ }
803
+ }) => void
804
+ }): void
805
+
806
+ /**
807
+ * 检查设备某个通道是否在线
808
+ */
809
+ export function getDeviceOnlineType(params: {
810
+ /**
811
+ * deviceId 设备id
812
+ * 支持跨面板获取其他的设备信息,当前面板可以传当前设备的 id 来进行获取
813
+ */
814
+ deviceId: string
815
+ /** dps 科学变化的数据 */
816
+ dps?: Record<string, {}>
817
+ complete?: () => void
818
+ success?: (params: {
819
+ /** 设备网络在线类型 */
820
+ onlineType: number
821
+ }) => void
822
+ fail?: (params: {
823
+ errorMsg: string
824
+ errorCode: string | number
825
+ innerError: {
826
+ errorCode: string | number
827
+ errorMsg: string
828
+ }
829
+ }) => void
830
+ }): void
831
+
832
+ /**
833
+ * 获取设备的设备信息
834
+ */
835
+ export function getDeviceInfo(params: {
836
+ /**
837
+ * deviceId 设备id
838
+ * 支持跨面板获取其他的设备信息,当前面板可以传当前设备的 id 来进行获取
839
+ */
840
+ deviceId: string
841
+ /** dps 科学变化的数据 */
842
+ dps?: Record<string, {}>
843
+ complete?: () => void
844
+ success?: (params: {
845
+ /** 产品信息,schema,功能定义都在里面 */
846
+ schema: {}[]
847
+ /**
848
+ * dps
849
+ * 设备的功能点状态,可以根据对应的 dpid 拿到具体的状态值去做业务逻辑
850
+ */
851
+ dps: Record<string, {}>
852
+ /**
853
+ * attribute
854
+ * 产品属性定义,在 backend-ng 平台上可查到对应配置,使用二进制位运算的方式进行管理
855
+ */
856
+ attribute: number
857
+ /**
858
+ * capability
859
+ * 产品能力值,在 backend-ng 平台上可以查询对应的勾选项,整体业务逻辑会根据该数据进行划分
860
+ * 区分设备类型也可以根据该属性进行调整,按二进制位运算的方式进行管理
861
+ */
862
+ capability: number
863
+ /**
864
+ * dpName
865
+ * 自定义 dp 的名字,通常在面板里会使用到
866
+ */
867
+ dpName: Record<string, string>
868
+ /**
869
+ * ability
870
+ * 目前业务很少使用,用于区分特殊类型的设备
871
+ */
872
+ ability: number
873
+ /**
874
+ * icon
875
+ * 设备的 icon url
876
+ */
877
+ icon: string
878
+ /**
879
+ * devId
880
+ * 设备的唯一 id
881
+ */
882
+ devId: string
883
+ /**
884
+ * verSw
885
+ * 设备固件版本号
886
+ */
887
+ verSw: string
888
+ /**
889
+ * isShare
890
+ * 是否为分享设备,true 则是分享设备
891
+ */
892
+ isShare: boolean
893
+ /**
894
+ * bv
895
+ * 设备的基线版本号
896
+ */
897
+ bv: string
898
+ /**
899
+ * uuid
900
+ * 设备的固件唯一标识
901
+ */
902
+ uuid: string
903
+ /**
904
+ * panelConfig
905
+ * 产品面板里的配置项,通常在 IoT 平台上可以查看到对应的配置
906
+ */
907
+ panelConfig: Record<string, {}>
908
+ /**
909
+ * activeTime
910
+ * 设备激活时间,时间戳
911
+ */
912
+ activeTime: number
913
+ /**
914
+ * devAttribute
915
+ * 设备的业务能力拓展,二进制位的方式进行运算
916
+ */
917
+ devAttribute: number
918
+ /**
919
+ * pcc
920
+ * 涂鸦自研蓝牙 mesh 产品的分类标识
921
+ */
922
+ pcc: string
923
+ /**
924
+ * nodeId
925
+ * 子设备的短地址
926
+ */
927
+ nodeId: string
928
+ /**
929
+ * parentId
930
+ * 上级节点 id,子设备/或蓝牙 mesh 设备通常会有该字段,用于内部寻找相关的网关或上级模型来进行业务处理
931
+ */
932
+ parentId: string
933
+ /**
934
+ * category
935
+ * 产品的分类
936
+ */
937
+ category: string
938
+ /**
939
+ * standSchemaModel
940
+ * 标准产品功能集定义模型
941
+ */
942
+ standSchemaModel: {}
943
+ /**
944
+ * productId
945
+ * 设备对应的产品 id
946
+ */
947
+ productId: string
948
+ /**
949
+ * bizAttribute
950
+ * 设备自主上报的能力位
951
+ */
952
+ bizAttribute: number
953
+ /**
954
+ * meshId
955
+ * 涂鸦自研的蓝牙 mesh id
956
+ */
957
+ meshId: string
958
+ /**
959
+ * sigmeshId
960
+ * 当前设备所属行业属性对应的蓝牙 mesh id
961
+ */
962
+ sigmeshId: string
963
+ /**
964
+ * meta
965
+ * 设备自定义配置元属性,用于存放业务数据
966
+ */
967
+ meta: Record<string, {}>
968
+ /**
969
+ * isLocalOnline
970
+ * 本地局域网是否在线
971
+ */
972
+ isLocalOnline: boolean
973
+ /**
974
+ * isOnline
975
+ * 设备总的在线情况,只要一个情况在线,就是在线,复合在线情况
976
+ */
977
+ isOnline: boolean
978
+ /**
979
+ * name
980
+ * 设备名称
981
+ */
982
+ name: string
983
+ /** groupId */
984
+ groupId: string
985
+ /**
986
+ * dpCodes
987
+ * 标准功能集 code
988
+ */
989
+ dpCodes: Record<string, {}>
990
+ /** 原始 json,业务来不及拓展更新的时候,可以根据这个来获取处理 */
991
+ originJson: Record<string, {}>
992
+ }) => void
993
+ fail?: (params: {
994
+ errorMsg: string
995
+ errorCode: string | number
996
+ innerError: {
997
+ errorCode: string | number
998
+ errorMsg: string
999
+ }
1000
+ }) => void
1001
+ }): void
1002
+
1003
+ /**
1004
+ * 获取产品信息
1005
+ */
1006
+ export function getProductInfo(params: {
1007
+ /** 产品id */
1008
+ productId: string
1009
+ complete?: () => void
1010
+ success?: (params: {
1011
+ /** 产品原始 json 信息 */
1012
+ originJson: Record<string, {}>
1013
+ /** 面板配置项,可以在平台进行配置 */
1014
+ panelConfig: Record<string, {}>
1015
+ /** 产品功能定义集合 */
1016
+ schema: string
1017
+ /** 产品功能定义集合拓展 */
1018
+ schemaExt: string
1019
+ /**
1020
+ * capability
1021
+ * 产品能力值,在 backend-ng 平台上可以查询对应的勾选项,整体业务逻辑会根据该数据进行划分
1022
+ * 区分设备类型也可以根据该属性进行调整,按二进制位运算的方式进行管理
1023
+ */
1024
+ capability: number
1025
+ /**
1026
+ * attribute
1027
+ * 产品属性定义,在 backend-ng 平台上可查到对应配置,使用二进制位运算的方式进行管理
1028
+ */
1029
+ attribute: number
1030
+ /**
1031
+ * productId
1032
+ * 产品 id
1033
+ */
1034
+ productId: string
1035
+ /**
1036
+ * category
1037
+ * 产品的分类
1038
+ */
1039
+ category: string
1040
+ /**
1041
+ * categoryCode
1042
+ * 产品的二级分类
1043
+ */
1044
+ categoryCode: string
1045
+ /**
1046
+ * standard
1047
+ * 是否为标准产品
1048
+ */
1049
+ standard: boolean
1050
+ /**
1051
+ * pcc
1052
+ * 涂鸦自研蓝牙 mesh 产品的分类标识
1053
+ */
1054
+ pcc: string
1055
+ /**
1056
+ * vendorInfo
1057
+ * 涂鸦自研蓝牙 mesh 产品的分类标识,融合类使用
1058
+ */
1059
+ vendorInfo: string
1060
+ /**
1061
+ * quickOpDps
1062
+ * 快捷操作的 dp ids
1063
+ */
1064
+ quickOpDps: string[]
1065
+ /**
1066
+ * faultDps
1067
+ * 告警/错误的显示 dp ids
1068
+ */
1069
+ faultDps: string[]
1070
+ /**
1071
+ * displayDps
1072
+ * 快捷操作的 dp ids
1073
+ */
1074
+ displayDps: string[]
1075
+ /**
1076
+ * displayMsgs
1077
+ * 快捷操作显示文案
1078
+ */
1079
+ displayMsgs: Record<string, {}>
1080
+ /**
1081
+ * uiPhase
1082
+ * ui 包当前环境,预览包或线上包
1083
+ */
1084
+ uiPhase: string
1085
+ /**
1086
+ * uiId
1087
+ * ui 包唯一包名识别
1088
+ */
1089
+ uiId: string
1090
+ /**
1091
+ * uiVersion
1092
+ * ui 包版本号
1093
+ */
1094
+ uiVersion: string
1095
+ /**
1096
+ * ui
1097
+ * ui 小标识
1098
+ */
1099
+ ui: string
1100
+ /**
1101
+ * rnFind
1102
+ * 是否有包含 RN 包
1103
+ */
1104
+ rnFind: boolean
1105
+ /**
1106
+ * uiType
1107
+ * ui 包类型
1108
+ */
1109
+ uiType: string
1110
+ /**
1111
+ * uiName
1112
+ * ui 包名称
1113
+ */
1114
+ uiName: string
1115
+ /**
1116
+ * i18nTime
1117
+ * 产品语言包最新更新时间
1118
+ */
1119
+ i18nTime: number
1120
+ /**
1121
+ * supportGroup
1122
+ * 是否支持创建群组
1123
+ */
1124
+ supportGroup: boolean
1125
+ /**
1126
+ * supportSGroup
1127
+ * 是否支持创建标准群组
1128
+ */
1129
+ supportSGroup: boolean
1130
+ /**
1131
+ * configMetas
1132
+ * 产品特殊配置项,一些功能业务的特殊配置
1133
+ */
1134
+ configMetas: Record<string, {}>
1135
+ /**
1136
+ * productVer
1137
+ * 产品版本
1138
+ */
1139
+ productVer: string
1140
+ }) => void
1141
+ fail?: (params: {
1142
+ errorMsg: string
1143
+ errorCode: string | number
1144
+ innerError: {
1145
+ errorCode: string | number
1146
+ errorMsg: string
1147
+ }
1148
+ }) => void
1149
+ }): void
1150
+
1151
+ /**
1152
+ * 获取子设备信息
1153
+ */
1154
+ export function getSubDeviceInfoList(params: {
1155
+ /** 网关设备id或上级节点id */
1156
+ meshId: string
1157
+ complete?: () => void
1158
+ success?: (params: DeviceInfo[]) => void
1159
+ fail?: (params: {
1160
+ errorMsg: string
1161
+ errorCode: string | number
1162
+ innerError: {
1163
+ errorCode: string | number
1164
+ errorMsg: string
1165
+ }
1166
+ }) => void
1167
+ }): void
1168
+
1169
+ /**
1170
+ * 判断设备上网类型是否与deviceModel物模型一致
1171
+ */
1172
+ export function validDeviceOnlineType(params: {
1173
+ /** 设备id */
1174
+ deviceId: string
1175
+ /**
1176
+ * 设备在线类型,
1177
+ * Wi-Fi online 1 << 0
1178
+ * Local online 1 << 1
1179
+ * Bluetooth LE online 1 << 2
1180
+ * Bluetooth LE mesh online 1 << 3
1181
+ */
1182
+ onlineType: number
1183
+ complete?: () => void
1184
+ success?: (params: boolean) => void
1185
+ fail?: (params: {
1186
+ errorMsg: string
1187
+ errorCode: string | number
1188
+ innerError: {
1189
+ errorCode: string | number
1190
+ errorMsg: string
1191
+ }
1192
+ }) => void
1193
+ }): void
1194
+
1195
+ /**
1196
+ * 发送 dps
1197
+ */
1198
+ export function publishDps(params: {
1199
+ /** 设备id */
1200
+ deviceId: string
1201
+ /** dps */
1202
+ dps: Record<string, {}>
1203
+ /**
1204
+ * 下发通道类型
1205
+ * 0: 局域网
1206
+ * 1: 网络
1207
+ * 2: 自动
1208
+ */
1209
+ mode: number
1210
+ /**
1211
+ * 下发通道的优先级
1212
+ * LAN = 0, // LAN
1213
+ * MQTT = 1, // MQTT
1214
+ * HTTP = 2, // Http
1215
+ * BLE = 3, // Single Point Bluetooth
1216
+ * SIGMesh = 4, // Sig Mesh
1217
+ * BLEMesh = 5, // Tuya Private Mesh
1218
+ * BLEBeacon = 6, // Beacon
1219
+ */
1220
+ pipelines: number[]
1221
+ /** 预留下发逻辑配置标记,后续可以拓展,例如下发声音,下发操作后续动作等等 */
1222
+ options: Record<string, {}>
1223
+ complete?: () => void
1224
+ success?: (params: boolean) => void
1225
+ fail?: (params: {
1226
+ errorMsg: string
1227
+ errorCode: string | number
1228
+ innerError: {
1229
+ errorCode: string | number
1230
+ errorMsg: string
1231
+ }
1232
+ }) => void
1233
+ }): void
1234
+
1235
+ /**
1236
+ * 发送 标准dp
1237
+ */
1238
+ export function publishCommands(params: {
1239
+ /** 设备id */
1240
+ deviceId: string
1241
+ /** dps */
1242
+ dps: Record<string, {}>
1243
+ /**
1244
+ * 下发通道类型
1245
+ * 0: 局域网
1246
+ * 1: 网络
1247
+ * 2: 自动
1248
+ */
1249
+ mode: number
1250
+ /**
1251
+ * 下发通道的优先级
1252
+ * LAN = 0, // LAN
1253
+ * MQTT = 1, // MQTT
1254
+ * HTTP = 2, // Http
1255
+ * BLE = 3, // Single Point Bluetooth
1256
+ * SIGMesh = 4, // Sig Mesh
1257
+ * BLEMesh = 5, // Tuya Private Mesh
1258
+ * BLEBeacon = 6, // Beacon
1259
+ */
1260
+ pipelines: number[]
1261
+ /** 预留下发逻辑配置标记,后续可以拓展,例如下发声音,下发操作后续动作等等 */
1262
+ options: Record<string, {}>
1263
+ complete?: () => void
1264
+ success?: (params: boolean) => void
1265
+ fail?: (params: {
1266
+ errorMsg: string
1267
+ errorCode: string | number
1268
+ innerError: {
1269
+ errorCode: string | number
1270
+ errorMsg: string
1271
+ }
1272
+ }) => void
1273
+ }): void
1274
+
1275
+ /**
1276
+ * 指定通道发送dps控制指令
1277
+ */
1278
+ export function publishDpsWithPipeType(params: {
1279
+ /** 设备id */
1280
+ deviceId: string
1281
+ /** dps */
1282
+ dps: Record<string, {}>
1283
+ /**
1284
+ * 下发通道类型
1285
+ * 0: 局域网
1286
+ * 1: 网络
1287
+ * 2: 自动
1288
+ */
1289
+ mode: number
1290
+ /**
1291
+ * 下发通道的优先级
1292
+ * LAN = 0, // LAN
1293
+ * MQTT = 1, // MQTT
1294
+ * HTTP = 2, // Http
1295
+ * BLE = 3, // Single Point Bluetooth
1296
+ * SIGMesh = 4, // Sig Mesh
1297
+ * BLEMesh = 5, // Tuya Private Mesh
1298
+ * BLEBeacon = 6, // Beacon
1299
+ */
1300
+ pipelines: number[]
1301
+ /** 预留下发逻辑配置标记,后续可以拓展,例如下发声音,下发操作后续动作等等 */
1302
+ options: Record<string, {}>
1303
+ complete?: () => void
1304
+ success?: (params: boolean) => void
1305
+ fail?: (params: {
1306
+ errorMsg: string
1307
+ errorCode: string | number
1308
+ innerError: {
1309
+ errorCode: string | number
1310
+ errorMsg: string
1311
+ }
1312
+ }) => void
1313
+ }): void
1314
+
1315
+ /**
1316
+ * 查询 dps
1317
+ */
1318
+ export function queryDps(params: {
1319
+ /** 设备id */
1320
+ deviceId: string
1321
+ /** dpids 数组 */
1322
+ dpIds: number[]
1323
+ complete?: () => void
1324
+ success?: (params: boolean) => void
1325
+ fail?: (params: {
1326
+ errorMsg: string
1327
+ errorCode: string | number
1328
+ innerError: {
1329
+ errorCode: string | number
1330
+ errorMsg: string
1331
+ }
1332
+ }) => void
1333
+ }): void
1334
+
1335
+ /**
1336
+ * 通过 MQTT 消息通道下发消息
1337
+ */
1338
+ export function publishMqttMessage(params: {
1339
+ /** 消息内容 */
1340
+ message: Record<string, {}>
1341
+ /** 设备id */
1342
+ deviceId: string
1343
+ /** 协议号 */
1344
+ protocol: number
1345
+ /** 预留下发逻辑配置标记,后续可以拓展,例如下发声音,下发操作后续动作等等 */
1346
+ options: Record<string, {}>
1347
+ complete?: () => void
1348
+ success?: (params: boolean) => void
1349
+ fail?: (params: {
1350
+ errorMsg: string
1351
+ errorCode: string | number
1352
+ innerError: {
1353
+ errorCode: string | number
1354
+ errorMsg: string
1355
+ }
1356
+ }) => void
1357
+ }): void
1358
+
1359
+ /**
1360
+ * 通过 局域网 消息通道下发消息
1361
+ */
1362
+ export function publishLanMessage(params: {
1363
+ /** 消息内容 */
1364
+ message: string
1365
+ /** 设备id */
1366
+ deviceId: string
1367
+ /** 协议号 */
1368
+ protocol: number
1369
+ /** 预留下发逻辑配置标记,后续可以拓展,例如下发声音,下发操作后续动作等等 */
1370
+ options?: Record<string, {}>
1371
+ complete?: () => void
1372
+ success?: (params: boolean) => void
1373
+ fail?: (params: {
1374
+ errorMsg: string
1375
+ errorCode: string | number
1376
+ innerError: {
1377
+ errorCode: string | number
1378
+ errorMsg: string
1379
+ }
1380
+ }) => void
1381
+ }): void
1382
+
1383
+ /**
1384
+ * 通过 Socket 消息通道下发消息
1385
+ */
1386
+ export function publishSocketMessage(params: {
1387
+ /** 消息内容 */
1388
+ message: Record<string, {}>
1389
+ /** 设备id */
1390
+ deviceId: string
1391
+ /** 局域网消息 type */
1392
+ type: number
1393
+ /** 预留下发逻辑配置标记,后续可以拓展,例如下发声音,下发操作后续动作等等 */
1394
+ options: Record<string, {}>
1395
+ complete?: () => void
1396
+ success?: (params: boolean) => void
1397
+ fail?: (params: {
1398
+ errorMsg: string
1399
+ errorCode: string | number
1400
+ innerError: {
1401
+ errorCode: string | number
1402
+ errorMsg: string
1403
+ }
1404
+ }) => void
1405
+ }): void
1406
+
1407
+ /**
1408
+ * 获取设备属性
1409
+ */
1410
+ export function getDeviceProperty(params: {
1411
+ /**
1412
+ * deviceId 设备id
1413
+ * 支持跨面板获取其他的设备信息,当前面板可以传当前设备的 id 来进行获取
1414
+ */
1415
+ deviceId: string
1416
+ /** dps 科学变化的数据 */
1417
+ dps?: Record<string, {}>
1418
+ complete?: () => void
1419
+ success?: (params: {
1420
+ /** the properties map */
1421
+ properties: Record<string, Object>
1422
+ }) => void
1423
+ fail?: (params: {
1424
+ errorMsg: string
1425
+ errorCode: string | number
1426
+ innerError: {
1427
+ errorCode: string | number
1428
+ errorMsg: string
1429
+ }
1430
+ }) => void
1431
+ }): void
1432
+
1433
+ /**
1434
+ * 设置设备属性
1435
+ */
1436
+ export function setDeviceProperty(params: {
1437
+ /** deviceId */
1438
+ deviceId: string
1439
+ /** the custom data key */
1440
+ code: string
1441
+ /** the custom data value */
1442
+ value: string
1443
+ complete?: () => void
1444
+ success?: (params: {
1445
+ /** deviceId */
1446
+ deviceId: string
1447
+ /** set DeviceProperty successfully */
1448
+ result: boolean
1449
+ }) => void
1450
+ fail?: (params: {
1451
+ errorMsg: string
1452
+ errorCode: string | number
1453
+ innerError: {
1454
+ errorCode: string | number
1455
+ errorMsg: string
1456
+ }
1457
+ }) => void
1458
+ }): void
1459
+
1460
+ /**
1461
+ * 同步设备信息
1462
+ */
1463
+ export function syncDeviceInfo(params: {
1464
+ /** 设备id */
1465
+ deviceId: string
1466
+ complete?: () => void
1467
+ success?: (params: null) => void
1468
+ fail?: (params: {
1469
+ errorMsg: string
1470
+ errorCode: string | number
1471
+ innerError: {
1472
+ errorCode: string | number
1473
+ errorMsg: string
1474
+ }
1475
+ }) => void
1476
+ }): void
1477
+
1478
+ /**
1479
+ * 订阅设备移除事件
1480
+ */
1481
+ export function subscribeDeviceRemoved(params: {
1482
+ /** 设备id */
1483
+ deviceId: string
1484
+ complete?: () => void
1485
+ success?: (params: null) => void
1486
+ fail?: (params: {
1487
+ errorMsg: string
1488
+ errorCode: string | number
1489
+ innerError: {
1490
+ errorCode: string | number
1491
+ errorMsg: string
1492
+ }
1493
+ }) => void
1494
+ }): void
1495
+
1496
+ /**
1497
+ * 取消订阅设备移除事件
1498
+ */
1499
+ export function unSubscribeDeviceRemoved(params: {
1500
+ /** 设备id */
1501
+ deviceId: string
1502
+ complete?: () => void
1503
+ success?: (params: null) => void
1504
+ fail?: (params: {
1505
+ errorMsg: string
1506
+ errorCode: string | number
1507
+ innerError: {
1508
+ errorCode: string | number
1509
+ errorMsg: string
1510
+ }
1511
+ }) => void
1512
+ }): void
1513
+
1514
+ /**
1515
+ * 注册设备的MQTT信息监听
1516
+ */
1517
+ export function registerMQTTDeviceListener(params: {
1518
+ /**
1519
+ * deviceId 设备id
1520
+ * 支持跨面板获取其他的设备信息,当前面板可以传当前设备的 id 来进行获取
1521
+ */
1522
+ deviceId: string
1523
+ complete?: () => void
1524
+ success?: (params: null) => void
1525
+ fail?: (params: {
1526
+ errorMsg: string
1527
+ errorCode: string | number
1528
+ innerError: {
1529
+ errorCode: string | number
1530
+ errorMsg: string
1531
+ }
1532
+ }) => void
1533
+ }): void
1534
+
1535
+ /**
1536
+ * 注销设备的MQTT信息监听
1537
+ */
1538
+ export function unregisterMQTTDeviceListener(params: {
1539
+ /**
1540
+ * deviceId 设备id
1541
+ * 支持跨面板获取其他的设备信息,当前面板可以传当前设备的 id 来进行获取
1542
+ */
1543
+ deviceId: string
1544
+ complete?: () => void
1545
+ success?: (params: null) => void
1546
+ fail?: (params: {
1547
+ errorMsg: string
1548
+ errorCode: string | number
1549
+ innerError: {
1550
+ errorCode: string | number
1551
+ errorMsg: string
1552
+ }
1553
+ }) => void
1554
+ }): void
1555
+
1556
+ /**
1557
+ * 注册MQTT协议监听
1558
+ */
1559
+ export function registerMQTTProtocolListener(params: {
1560
+ /**
1561
+ * protocol 协议号
1562
+ * MQTT预定义的协议号
1563
+ */
1564
+ protocol: number
1565
+ complete?: () => void
1566
+ success?: (params: null) => void
1567
+ fail?: (params: {
1568
+ errorMsg: string
1569
+ errorCode: string | number
1570
+ innerError: {
1571
+ errorCode: string | number
1572
+ errorMsg: string
1573
+ }
1574
+ }) => void
1575
+ }): void
1576
+
1577
+ /**
1578
+ * 注销MQTT协议监听
1579
+ */
1580
+ export function unregisterMQTTProtocolListener(params: {
1581
+ /**
1582
+ * protocol 协议号
1583
+ * MQTT预定义的协议号
1584
+ */
1585
+ protocol: number
1586
+ complete?: () => void
1587
+ success?: (params: null) => void
1588
+ fail?: (params: {
1589
+ errorMsg: string
1590
+ errorCode: string | number
1591
+ innerError: {
1592
+ errorCode: string | number
1593
+ errorMsg: string
1594
+ }
1595
+ }) => void
1596
+ }): void
1597
+
1598
+ /**
1599
+ * 注册需要监听的设备列表的监听器
1600
+ */
1601
+ export function registerDeviceListListener(params: {
1602
+ /** 需注册的设备列表 */
1603
+ deviceIdList: string[]
1604
+ complete?: () => void
1605
+ success?: (params: null) => void
1606
+ fail?: (params: {
1607
+ errorMsg: string
1608
+ errorCode: string | number
1609
+ innerError: {
1610
+ errorCode: string | number
1611
+ errorMsg: string
1612
+ }
1613
+ }) => void
1614
+ }): void
1615
+
1616
+ /**
1617
+ * 注销需要监听的设备列表的监听器
1618
+ */
1619
+ export function unregisterDeviceListListener(params?: {
1620
+ complete?: () => void
1621
+ success?: (params: null) => void
1622
+ fail?: (params: {
1623
+ errorMsg: string
1624
+ errorCode: string | number
1625
+ innerError: {
1626
+ errorCode: string | number
1627
+ errorMsg: string
1628
+ }
1629
+ }) => void
1630
+ }): void
1631
+
1632
+ /**
1633
+ * 检查固件升级信息
1634
+ */
1635
+ export function checkOTAUpdateInfo(params: {
1636
+ /**
1637
+ * deviceId
1638
+ * 设备 id
1639
+ */
1640
+ deviceId: string
1641
+ complete?: () => void
1642
+ success?: (params: null) => void
1643
+ fail?: (params: {
1644
+ errorMsg: string
1645
+ errorCode: string | number
1646
+ innerError: {
1647
+ errorCode: string | number
1648
+ errorMsg: string
1649
+ }
1650
+ }) => void
1651
+ }): void
1652
+
1653
+ /**
1654
+ * 跳转设备详情
1655
+ */
1656
+ export function openDeviceDetailPage(params: {
1657
+ /**
1658
+ * deviceId
1659
+ * 设备 id
1660
+ */
1661
+ deviceId: string
1662
+ complete?: () => void
1663
+ success?: (params: null) => void
1664
+ fail?: (params: {
1665
+ errorMsg: string
1666
+ errorCode: string | number
1667
+ innerError: {
1668
+ errorCode: string | number
1669
+ errorMsg: string
1670
+ }
1671
+ }) => void
1672
+ }): void
1673
+
1674
+ /**
1675
+ * 跳转群组详情
1676
+ */
1677
+ export function openGroupDetailPage(params: {
1678
+ /**
1679
+ * groupId
1680
+ * 群组 id
1681
+ */
1682
+ groupId: string
1683
+ complete?: () => void
1684
+ success?: (params: null) => void
1685
+ fail?: (params: {
1686
+ errorMsg: string
1687
+ errorCode: string | number
1688
+ innerError: {
1689
+ errorCode: string | number
1690
+ errorMsg: string
1691
+ }
1692
+ }) => void
1693
+ }): void
1694
+
1695
+ /**
1696
+ * 跳转定时界面
1697
+ */
1698
+ export function openTimerPage(params: {
1699
+ /**
1700
+ * deviceId
1701
+ * 设备 id ,deviceId 和 groupId 至少传一个
1702
+ */
1703
+ deviceId: string
1704
+ /**
1705
+ * category
1706
+ * 定时分类
1707
+ */
1708
+ category: string
1709
+ /**
1710
+ * repeat
1711
+ * 0表示需要选择重复,1表示不需要
1712
+ */
1713
+ repeat?: number
1714
+ /**
1715
+ * data
1716
+ * dp 数据
1717
+ * {
1718
+ * "dpName": dp 点名称,string
1719
+ * "dpId": dp 点 id,string
1720
+ * "selected": dp 点默认值的 index,t.Integer
1721
+ * "rangeKeys": dp 点的值范围,Array<object>
1722
+ * "rangeValues": dp 点的显示数据范围,Array<string>
1723
+ * }
1724
+ */
1725
+ data: {}[]
1726
+ /**
1727
+ * timerConfig
1728
+ * UI配置
1729
+ */
1730
+ timerConfig?: TimerConfig
1731
+ complete?: () => void
1732
+ success?: (params: null) => void
1733
+ fail?: (params: {
1734
+ errorMsg: string
1735
+ errorCode: string | number
1736
+ innerError: {
1737
+ errorCode: string | number
1738
+ errorMsg: string
1739
+ }
1740
+ }) => void
1741
+ }): void
1742
+
1743
+ /**
1744
+ * 跳转定时界面
1745
+ */
1746
+ export function openGroupTimerPage(params: {
1747
+ /**
1748
+ * groupId
1749
+ * 群组 id
1750
+ */
1751
+ groupId: string
1752
+ /**
1753
+ * category
1754
+ * 定时分类
1755
+ */
1756
+ category: string
1757
+ /**
1758
+ * repeat
1759
+ * 0表示需要选择重复,1表示不需要
1760
+ */
1761
+ repeat?: number
1762
+ /**
1763
+ * data
1764
+ * dp 数据
1765
+ * {
1766
+ * "dpName": dp 点名称,string
1767
+ * "dpId": dp 点 id,string
1768
+ * "selected": dp 点默认值的 index,t.Integer
1769
+ * "rangeKeys": dp 点的值范围,Array<object>
1770
+ * "rangeValues": dp 点的显示数据范围,Array<string>
1771
+ * }
1772
+ */
1773
+ data: {}[]
1774
+ /**
1775
+ * timerConfig
1776
+ * UI配置
1777
+ */
1778
+ timerConfig?: TimerConfig
1779
+ complete?: () => void
1780
+ success?: (params: null) => void
1781
+ fail?: (params: {
1782
+ errorMsg: string
1783
+ errorCode: string | number
1784
+ innerError: {
1785
+ errorCode: string | number
1786
+ errorMsg: string
1787
+ }
1788
+ }) => void
1789
+ }): void
1790
+
1791
+ /**
1792
+ * 跳转设备 wifi 网络监测页面
1793
+ */
1794
+ export function openDeviceWifiNetworkMonitorPage(params: {
1795
+ /**
1796
+ * deviceId
1797
+ * 设备 id
1798
+ */
1799
+ deviceId: string
1800
+ complete?: () => void
1801
+ success?: (params: null) => void
1802
+ fail?: (params: {
1803
+ errorMsg: string
1804
+ errorCode: string | number
1805
+ innerError: {
1806
+ errorCode: string | number
1807
+ errorMsg: string
1808
+ }
1809
+ }) => void
1810
+ }): void
1811
+
1812
+ /**
1813
+ * 同步定时任务
1814
+ */
1815
+ export function syncTimerTask(params: {
1816
+ /**
1817
+ * deviceId
1818
+ * 设备 id ,deviceId 和 groupId 至少传一个
1819
+ */
1820
+ deviceId?: string
1821
+ /**
1822
+ * groupId
1823
+ * 群组 id ,deviceId 和 groupId 至少传一个
1824
+ */
1825
+ groupId?: string
1826
+ /**
1827
+ * category
1828
+ * 定时分类
1829
+ */
1830
+ category: string
1831
+ complete?: () => void
1832
+ success?: (params: {
1833
+ /**
1834
+ * timers
1835
+ * 定时列表
1836
+ */
1837
+ timers: TimerModel[]
1838
+ }) => void
1839
+ fail?: (params: {
1840
+ errorMsg: string
1841
+ errorCode: string | number
1842
+ innerError: {
1843
+ errorCode: string | number
1844
+ errorMsg: string
1845
+ }
1846
+ }) => void
1847
+ }): void
1848
+
1849
+ /**
1850
+ * 添加定时
1851
+ */
1852
+ export function addTimer(params: {
1853
+ /**
1854
+ * deviceId
1855
+ * 设备 id ,deviceId 和 groupId 至少传一个
1856
+ */
1857
+ deviceId?: string
1858
+ /**
1859
+ * groupId
1860
+ * 群组 id ,deviceId 和 groupId 至少传一个
1861
+ */
1862
+ groupId?: string
1863
+ /**
1864
+ * category
1865
+ * 定时分类
1866
+ */
1867
+ category: string
1868
+ /**
1869
+ * timer
1870
+ * 添加定时模型
1871
+ */
1872
+ timer: AddTimerModel
1873
+ complete?: () => void
1874
+ success?: (params: {
1875
+ /**
1876
+ * timerId
1877
+ * 定时器 id
1878
+ */
1879
+ timerId: string
1880
+ }) => void
1881
+ fail?: (params: {
1882
+ errorMsg: string
1883
+ errorCode: string | number
1884
+ innerError: {
1885
+ errorCode: string | number
1886
+ errorMsg: string
1887
+ }
1888
+ }) => void
1889
+ }): void
1890
+
1891
+ /**
1892
+ * 更新定时
1893
+ */
1894
+ export function updateTimer(params: {
1895
+ /**
1896
+ * deviceId
1897
+ * 设备 id,deviceId 和 groupId 至少传一个
1898
+ */
1899
+ deviceId?: string
1900
+ /**
1901
+ * groupId
1902
+ * 群组 id,deviceId 和 groupId 至少传一个
1903
+ */
1904
+ groupId?: string
1905
+ /**
1906
+ * timer
1907
+ * 更新定时模型
1908
+ */
1909
+ timer: UpdateTimerModel
1910
+ complete?: () => void
1911
+ success?: (params: null) => void
1912
+ fail?: (params: {
1913
+ errorMsg: string
1914
+ errorCode: string | number
1915
+ innerError: {
1916
+ errorCode: string | number
1917
+ errorMsg: string
1918
+ }
1919
+ }) => void
1920
+ }): void
1921
+
1922
+ /**
1923
+ * 更新定时状态
1924
+ */
1925
+ export function updateTimerStatus(params: {
1926
+ /**
1927
+ * deviceId
1928
+ * 设备 id,deviceId 和 groupId 至少传一个
1929
+ */
1930
+ deviceId?: string
1931
+ /**
1932
+ * groupId
1933
+ * 群组 id,deviceId 和 groupId 至少传一个
1934
+ */
1935
+ groupId?: string
1936
+ /**
1937
+ * timerId
1938
+ * 定时 id
1939
+ */
1940
+ timerId: string
1941
+ /**
1942
+ * status
1943
+ * 状态
1944
+ */
1945
+ status: boolean
1946
+ complete?: () => void
1947
+ success?: (params: null) => void
1948
+ fail?: (params: {
1949
+ errorMsg: string
1950
+ errorCode: string | number
1951
+ innerError: {
1952
+ errorCode: string | number
1953
+ errorMsg: string
1954
+ }
1955
+ }) => void
1956
+ }): void
1957
+
1958
+ /**
1959
+ * 删除定时
1960
+ */
1961
+ export function removeTimer(params: {
1962
+ /**
1963
+ * deviceId
1964
+ * 设备 id,deviceId 和 groupId 至少传一个
1965
+ */
1966
+ deviceId?: string
1967
+ /**
1968
+ * groupId
1969
+ * 群组 id,deviceId 和 groupId 至少传一个
1970
+ */
1971
+ groupId?: string
1972
+ /**
1973
+ * timerId
1974
+ * 定时器 id
1975
+ */
1976
+ timerId: string
1977
+ complete?: () => void
1978
+ success?: (params: null) => void
1979
+ fail?: (params: {
1980
+ errorMsg: string
1981
+ errorCode: string | number
1982
+ innerError: {
1983
+ errorCode: string | number
1984
+ errorMsg: string
1985
+ }
1986
+ }) => void
1987
+ }): void
1988
+
1989
+ /**
1990
+ * 获取共享设备信息
1991
+ */
1992
+ export function getShareDeviceInfo(params: {
1993
+ /**
1994
+ * deviceId
1995
+ * 设备 id
1996
+ */
1997
+ deviceId: string
1998
+ complete?: () => void
1999
+ success?: (params: {
2000
+ /** 姓名 */
2001
+ name: string
2002
+ /** 手机号 */
2003
+ mobile: string
2004
+ /** 邮件 */
2005
+ email: string
2006
+ }) => void
2007
+ fail?: (params: {
2008
+ errorMsg: string
2009
+ errorCode: string | number
2010
+ innerError: {
2011
+ errorCode: string | number
2012
+ errorMsg: string
2013
+ }
2014
+ }) => void
2015
+ }): void
2016
+
2017
+ /**
2018
+ * 跳转设备编辑页面
2019
+ */
2020
+ export function openDeviceEdit(params: {
2021
+ /**
2022
+ * deviceId
2023
+ * 设备 id
2024
+ */
2025
+ deviceId: string
2026
+ complete?: () => void
2027
+ success?: (params: null) => void
2028
+ fail?: (params: {
2029
+ errorMsg: string
2030
+ errorCode: string | number
2031
+ innerError: {
2032
+ errorCode: string | number
2033
+ errorMsg: string
2034
+ }
2035
+ }) => void
2036
+ }): void
2037
+
2038
+ /**
2039
+ * 跳转群组编辑页面
2040
+ */
2041
+ export function openGroupEdit(params: {
2042
+ /**
2043
+ * groupId
2044
+ * 设备 id
2045
+ */
2046
+ groupId: string
2047
+ complete?: () => void
2048
+ success?: (params: null) => void
2049
+ fail?: (params: {
2050
+ errorMsg: string
2051
+ errorCode: string | number
2052
+ innerError: {
2053
+ errorCode: string | number
2054
+ errorMsg: string
2055
+ }
2056
+ }) => void
2057
+ }): void
2058
+
2059
+ /**
2060
+ * 跳转设备信息页面
2061
+ */
2062
+ export function openDeviceInfo(params: {
2063
+ /**
2064
+ * deviceId
2065
+ * 设备 id
2066
+ */
2067
+ deviceId: string
2068
+ complete?: () => void
2069
+ success?: (params: null) => void
2070
+ fail?: (params: {
2071
+ errorMsg: string
2072
+ errorCode: string | number
2073
+ innerError: {
2074
+ errorCode: string | number
2075
+ errorMsg: string
2076
+ }
2077
+ }) => void
2078
+ }): void
2079
+
2080
+ /**
2081
+ * 设备是否支持离线提醒
2082
+ */
2083
+ export function isDeviceSupportOfflineReminder(params: {
2084
+ /**
2085
+ * deviceId
2086
+ * 设备 id
2087
+ */
2088
+ deviceId: string
2089
+ complete?: () => void
2090
+ success?: (params: {
2091
+ /**
2092
+ * support
2093
+ * 是否支持设备离线提醒
2094
+ */
2095
+ isSupport: boolean
2096
+ }) => void
2097
+ fail?: (params: {
2098
+ errorMsg: string
2099
+ errorCode: string | number
2100
+ innerError: {
2101
+ errorCode: string | number
2102
+ errorMsg: string
2103
+ }
2104
+ }) => void
2105
+ }): void
2106
+
2107
+ /**
2108
+ * 获取设备离线提醒的开关状态
2109
+ */
2110
+ export function getDeviceOfflineReminderState(params: {
2111
+ /**
2112
+ * deviceId
2113
+ * 设备 id
2114
+ */
2115
+ deviceId: string
2116
+ complete?: () => void
2117
+ success?: (params: {
2118
+ /**
2119
+ * state
2120
+ * 设备离线提醒的开关状态 0:关 1:开
2121
+ */
2122
+ state: number
2123
+ }) => void
2124
+ fail?: (params: {
2125
+ errorMsg: string
2126
+ errorCode: string | number
2127
+ innerError: {
2128
+ errorCode: string | number
2129
+ errorMsg: string
2130
+ }
2131
+ }) => void
2132
+ }): void
2133
+
2134
+ /**
2135
+ * 离线提醒开关
2136
+ */
2137
+ export function toggleDeviceOfflineReminder(params: {
2138
+ /**
2139
+ * deviceId
2140
+ * 设备 id
2141
+ */
2142
+ deviceId: string
2143
+ /**
2144
+ * state
2145
+ * 设备离线提醒的开关状态 0:关 1:开
2146
+ */
2147
+ state: number
2148
+ complete?: () => void
2149
+ success?: (params: null) => void
2150
+ fail?: (params: {
2151
+ errorMsg: string
2152
+ errorCode: string | number
2153
+ innerError: {
2154
+ errorCode: string | number
2155
+ errorMsg: string
2156
+ }
2157
+ }) => void
2158
+ }): void
2159
+
2160
+ /**
2161
+ * 获取离线提醒警告内容(关闭离线提醒开关后的警告)
2162
+ */
2163
+ export function getDeviceOfflineReminderWarningText(params?: {
2164
+ complete?: () => void
2165
+ success?: (params: {
2166
+ /** 离线提醒关闭警告文案 */
2167
+ warningText: string
2168
+ }) => void
2169
+ fail?: (params: {
2170
+ errorMsg: string
2171
+ errorCode: string | number
2172
+ innerError: {
2173
+ errorCode: string | number
2174
+ errorMsg: string
2175
+ }
2176
+ }) => void
2177
+ }): void
2178
+
2179
+ /**
2180
+ * 跳转常见问题与反馈页面
2181
+ */
2182
+ export function openDeviceQuestionsAndFeedback(params: {
2183
+ /**
2184
+ * deviceId
2185
+ * 设备 id
2186
+ */
2187
+ deviceId: string
2188
+ complete?: () => void
2189
+ success?: (params: null) => void
2190
+ fail?: (params: {
2191
+ errorMsg: string
2192
+ errorCode: string | number
2193
+ innerError: {
2194
+ errorCode: string | number
2195
+ errorMsg: string
2196
+ }
2197
+ }) => void
2198
+ }): void
2199
+
2200
+ /**
2201
+ * 跳转共享设备页面
2202
+ */
2203
+ export function openShareDevice(params: {
2204
+ /**
2205
+ * deviceId
2206
+ * 设备 id
2207
+ */
2208
+ deviceId: string
2209
+ complete?: () => void
2210
+ success?: (params: null) => void
2211
+ fail?: (params: {
2212
+ errorMsg: string
2213
+ errorCode: string | number
2214
+ innerError: {
2215
+ errorCode: string | number
2216
+ errorMsg: string
2217
+ }
2218
+ }) => void
2219
+ }): void
2220
+
2221
+ /**
2222
+ * 添加设备到桌面
2223
+ */
2224
+ export function addDeviceToDesk(params: {
2225
+ /**
2226
+ * deviceId
2227
+ * 设备 id
2228
+ */
2229
+ deviceId: string
2230
+ complete?: () => void
2231
+ success?: (params: null) => void
2232
+ fail?: (params: {
2233
+ errorMsg: string
2234
+ errorCode: string | number
2235
+ innerError: {
2236
+ errorCode: string | number
2237
+ errorMsg: string
2238
+ }
2239
+ }) => void
2240
+ }): void
2241
+
2242
+ /**
2243
+ * 移除共享设备
2244
+ */
2245
+ export function removeShareDevice(params: {
2246
+ /**
2247
+ * deviceId
2248
+ * 设备 id
2249
+ */
2250
+ deviceId: string
2251
+ complete?: () => void
2252
+ success?: (params: null) => void
2253
+ fail?: (params: {
2254
+ errorMsg: string
2255
+ errorCode: string | number
2256
+ innerError: {
2257
+ errorCode: string | number
2258
+ errorMsg: string
2259
+ }
2260
+ }) => void
2261
+ }): void
2262
+
2263
+ /**
2264
+ * 获取设备支持的三方服务
2265
+ */
2266
+ export function getSupportedThirdPartyServices(params: {
2267
+ /**
2268
+ * deviceId
2269
+ * 设备 id
2270
+ */
2271
+ deviceId: string
2272
+ complete?: () => void
2273
+ success?: (params: {
2274
+ /** 服务列表 */
2275
+ services: ThirdPartyService[]
2276
+ }) => void
2277
+ fail?: (params: {
2278
+ errorMsg: string
2279
+ errorCode: string | number
2280
+ innerError: {
2281
+ errorCode: string | number
2282
+ errorMsg: string
2283
+ }
2284
+ }) => void
2285
+ }): void
2286
+
2287
+ /**
2288
+ * 获取 group 信息
2289
+ */
2290
+ export function getGroupInfo(params: {
2291
+ /** 群组id */
2292
+ groupId: string
2293
+ complete?: () => void
2294
+ success?: (params: {
2295
+ /**
2296
+ * groupId
2297
+ * The group ID.
2298
+ */
2299
+ groupId: string
2300
+ /**
2301
+ * productId
2302
+ * The product ID.
2303
+ */
2304
+ productId: string
2305
+ /**
2306
+ * name
2307
+ * The name of the group.
2308
+ */
2309
+ name: string
2310
+ /**
2311
+ * time
2312
+ * The time when the group was created.
2313
+ */
2314
+ time: number
2315
+ /**
2316
+ * iconUrl
2317
+ * The URL of the icon.
2318
+ */
2319
+ iconUrl: string
2320
+ /**
2321
+ * type
2322
+ * The type of group.
2323
+ * Wifi = 0, Mesh = 1, Zigbee = 2, SIGMesh = 3, Beacon = 4,
2324
+ */
2325
+ type: number
2326
+ /** isShare */
2327
+ isShare: boolean
2328
+ /** dps */
2329
+ dps: {}
2330
+ /** dpCodes */
2331
+ dpCodes: {}
2332
+ /**
2333
+ * deviceNum
2334
+ * The number of devices,
2335
+ */
2336
+ deviceNum: number
2337
+ /**
2338
+ * localKey
2339
+ * The local key.
2340
+ */
2341
+ localKey: string
2342
+ /** The protocol version. */
2343
+ pv: number
2344
+ /** The product information. */
2345
+ productInfo: {}
2346
+ /** The custom DP name. */
2347
+ dpName: {}
2348
+ /** The device list. */
2349
+ deviceList: DeviceInfo_mScpag[]
2350
+ /** The local short address of groups. */
2351
+ localId: string
2352
+ /** The subclass. */
2353
+ pcc: string
2354
+ /** The mesh ID or gateway ID. */
2355
+ meshId: string
2356
+ /** Add the beacon beaconKey. */
2357
+ groupKey: string
2358
+ /** The schema array. */
2359
+ schema: {}[]
2360
+ }) => void
2361
+ fail?: (params: {
2362
+ errorMsg: string
2363
+ errorCode: string | number
2364
+ innerError: {
2365
+ errorCode: string | number
2366
+ errorMsg: string
2367
+ }
2368
+ }) => void
2369
+ }): void
2370
+
2371
+ /**
2372
+ * 群组控制
2373
+ */
2374
+ export function publishGroupDps(params: {
2375
+ /** groupId 群组id */
2376
+ groupId: string
2377
+ /**
2378
+ * dp信息
2379
+ * 示例: dps: {"1" : true}
2380
+ */
2381
+ dps: {}
2382
+ complete?: () => void
2383
+ success?: (params: null) => void
2384
+ fail?: (params: {
2385
+ errorMsg: string
2386
+ errorCode: string | number
2387
+ innerError: {
2388
+ errorCode: string | number
2389
+ errorMsg: string
2390
+ }
2391
+ }) => void
2392
+ }): void
2393
+
2394
+ /**
2395
+ * 获取群组的属性
2396
+ */
2397
+ export function getGroupProperty(params: {
2398
+ /** 群组id */
2399
+ groupId: string
2400
+ complete?: () => void
2401
+ success?: (params: {
2402
+ /** 群组属性信息 */
2403
+ result: Record<string, {}>
2404
+ }) => void
2405
+ fail?: (params: {
2406
+ errorMsg: string
2407
+ errorCode: string | number
2408
+ innerError: {
2409
+ errorCode: string | number
2410
+ errorMsg: string
2411
+ }
2412
+ }) => void
2413
+ }): void
2414
+
2415
+ /**
2416
+ * 设置群组的属性
2417
+ */
2418
+ export function setGroupProperty(params: {
2419
+ /** 群组id */
2420
+ groupId: string
2421
+ /** code 属性code */
2422
+ code: string
2423
+ /** value */
2424
+ value: string
2425
+ complete?: () => void
2426
+ success?: (params: null) => void
2427
+ fail?: (params: {
2428
+ errorMsg: string
2429
+ errorCode: string | number
2430
+ innerError: {
2431
+ errorCode: string | number
2432
+ errorMsg: string
2433
+ }
2434
+ }) => void
2435
+ }): void
2436
+
2437
+ /**
2438
+ * 开启对群组事件的监听
2439
+ */
2440
+ export function registerGroupChange(params: {
2441
+ /** groupIdList 群组id 列表 */
2442
+ groupIdList: string[]
2443
+ complete?: () => void
2444
+ success?: (params: null) => void
2445
+ fail?: (params: {
2446
+ errorMsg: string
2447
+ errorCode: string | number
2448
+ innerError: {
2449
+ errorCode: string | number
2450
+ errorMsg: string
2451
+ }
2452
+ }) => void
2453
+ }): void
2454
+
2455
+ /**
2456
+ * 关闭对群组事件的监听
2457
+ */
2458
+ export function unRegisterGroupChange(params?: {
2459
+ complete?: () => void
2460
+ success?: (params: null) => void
2461
+ fail?: (params: {
2462
+ errorMsg: string
2463
+ errorCode: string | number
2464
+ innerError: {
2465
+ errorCode: string | number
2466
+ errorMsg: string
2467
+ }
2468
+ }) => void
2469
+ }): void
2470
+
2471
+ /**
2472
+ * 获取设备的固件版本状态
2473
+ */
2474
+ export function checkOTAUpgradeStatus(params: {
2475
+ /**
2476
+ * deviceId
2477
+ * 设备 id
2478
+ */
2479
+ deviceId: string
2480
+ complete?: () => void
2481
+ success?: (params: {
2482
+ /**
2483
+ * status
2484
+ * 设备的固件版本状态 0已是最新版本、1有待升级的固件、2正在升级
2485
+ */
2486
+ status: number
2487
+ }) => void
2488
+ fail?: (params: {
2489
+ errorMsg: string
2490
+ errorCode: string | number
2491
+ innerError: {
2492
+ errorCode: string | number
2493
+ errorMsg: string
2494
+ }
2495
+ }) => void
2496
+ }): void
2497
+
2498
+ /**
2499
+ * 跳转设备升级页面
2500
+ */
2501
+ export function openOTAUpgrade(params: {
2502
+ /**
2503
+ * deviceId
2504
+ * 设备 id
2505
+ */
2506
+ deviceId: string
2507
+ complete?: () => void
2508
+ success?: (params: null) => void
2509
+ fail?: (params: {
2510
+ errorMsg: string
2511
+ errorCode: string | number
2512
+ innerError: {
2513
+ errorCode: string | number
2514
+ errorMsg: string
2515
+ }
2516
+ }) => void
2517
+ }): void
2518
+
2519
+ /**
2520
+ * 打开一个指定的RN面板
2521
+ */
2522
+ export function pushRNPanel(params: {
2523
+ /**
2524
+ * RN设备面板属性
2525
+ * 设备模型
2526
+ * deviceId 设备Id
2527
+ */
2528
+ deviceId: string
2529
+ /**
2530
+ * 面板初始化参数
2531
+ * initialProps 初始化参数
2532
+ */
2533
+ initialProps?: Record<string, {}>
2534
+ complete?: () => void
2535
+ success?: (params: null) => void
2536
+ fail?: (params: {}) => void
2537
+ }): void
2538
+
2539
+ /**
2540
+ * 设备是否支持物模型
2541
+ */
2542
+ export function deviceIsSupportThingModel(params: {
2543
+ /** 设备id */
2544
+ devId: string
2545
+ complete?: () => void
2546
+ success?: (params: {
2547
+ /** 是否支持物模型控制 */
2548
+ isSupport: boolean
2549
+ }) => void
2550
+ fail?: (params: {
2551
+ errorMsg: string
2552
+ errorCode: string | number
2553
+ innerError: {
2554
+ errorCode: string | number
2555
+ errorMsg: string
2556
+ }
2557
+ }) => void
2558
+ }): void
2559
+
2560
+ /**
2561
+ * 更新物模型信息
2562
+ */
2563
+ export function updateDeviceThingModelInfo(params: {
2564
+ /** 产品id */
2565
+ pid: string
2566
+ /** 产品版本号 */
2567
+ productVersion: string
2568
+ complete?: () => void
2569
+ success?: (params: null) => void
2570
+ fail?: (params: {
2571
+ errorMsg: string
2572
+ errorCode: string | number
2573
+ innerError: {
2574
+ errorCode: string | number
2575
+ errorMsg: string
2576
+ }
2577
+ }) => void
2578
+ }): void
2579
+
2580
+ /**
2581
+ * 获取设备物模型信息
2582
+ */
2583
+ export function getDeviceThingModelInfo(params: {
2584
+ /** 设备id */
2585
+ devId: string
2586
+ complete?: () => void
2587
+ success?: (params: {
2588
+ /** 物模型id */
2589
+ modelId: string
2590
+ /** 产品id */
2591
+ productId: string
2592
+ /** 产品版本 */
2593
+ productVersion: string
2594
+ /** 服务列表 */
2595
+ services: ServiceModel[]
2596
+ /** 扩展属性 */
2597
+ extensions: Record<string, any>
2598
+ }) => void
2599
+ fail?: (params: {
2600
+ errorMsg: string
2601
+ errorCode: string | number
2602
+ innerError: {
2603
+ errorCode: string | number
2604
+ errorMsg: string
2605
+ }
2606
+ }) => void
2607
+ }): void
2608
+
2609
+ /**
2610
+ * 通过物模型投递消息
2611
+ */
2612
+ export function publishThingModelMessage(params: {
2613
+ /** 设备id */
2614
+ devId: string
2615
+ /**
2616
+ * 类型
2617
+ * 0:属性, 1:动作, 2:事件
2618
+ */
2619
+ type: number
2620
+ /** payload */
2621
+ payload: Record<string, any>
2622
+ complete?: () => void
2623
+ success?: (params: null) => void
2624
+ fail?: (params: {
2625
+ errorMsg: string
2626
+ errorCode: string | number
2627
+ innerError: {
2628
+ errorCode: string | number
2629
+ errorMsg: string
2630
+ }
2631
+ }) => void
2632
+ }): void
2633
+
2634
+ /**
2635
+ * 订阅接受物模型消息。订阅之后才可以接收到onReceivedThingModelMessage事件。
2636
+ */
2637
+ export function subscribeReceivedThingModelMessage(params: {
2638
+ /** 设备id */
2639
+ devId: string
2640
+ complete?: () => void
2641
+ success?: (params: null) => void
2642
+ fail?: (params: {
2643
+ errorMsg: string
2644
+ errorCode: string | number
2645
+ innerError: {
2646
+ errorCode: string | number
2647
+ errorMsg: string
2648
+ }
2649
+ }) => void
2650
+ }): void
2651
+
2652
+ /**
2653
+ * 取消订阅接收物模型消息。取消订阅之后接收不到onReceivedThingModelMessage事件。
2654
+ */
2655
+ export function unSubscribeReceivedThingModelMessage(params: {
2656
+ /** 设备id */
2657
+ devId: string
2658
+ complete?: () => void
2659
+ success?: (params: null) => void
2660
+ fail?: (params: {
2661
+ errorMsg: string
2662
+ errorCode: string | number
2663
+ innerError: {
2664
+ errorCode: string | number
2665
+ errorMsg: string
2666
+ }
2667
+ }) => void
2668
+ }): void
2669
+
2670
+ /**
2671
+ * BLE(tuya)连接状态变更通知事件
2672
+ */
2673
+ export function onTYBLEConnectStatusChange(
2674
+ listener: (params: TYBLEConnectStatusEvent) => void
2675
+ ): void
2676
+
2677
+ /**
2678
+ * BLE(tuya)连接状态变更通知事件
2679
+ */
2680
+ export function offTYBLEConnectStatusChange(
2681
+ listener: (params: TYBLEConnectStatusEvent) => void
2682
+ ): void
2683
+
2684
+ /**
2685
+ * BLE(tuya)设备数据透传通道上报通知
2686
+ */
2687
+ export function onTYBLETransparentDataReport(
2688
+ listener: (params: TYBLETransparentDataBean) => void
2689
+ ): void
2690
+
2691
+ /**
2692
+ * BLE(tuya)设备数据透传通道上报通知
2693
+ */
2694
+ export function offTYBLETransparentDataReport(
2695
+ listener: (params: TYBLETransparentDataBean) => void
2696
+ ): void
2697
+
2698
+ /**
2699
+ * BLE(tuya)大数据通道传输进度
2700
+ */
2701
+ export function onTYBLEBigDataChannelProgressEvent(
2702
+ listener: (params: TYBLEBigDataProgressEvent) => void
2703
+ ): void
2704
+
2705
+ /**
2706
+ * BLE(tuya)大数据通道传输进度
2707
+ */
2708
+ export function offTYBLEBigDataChannelProgressEvent(
2709
+ listener: (params: TYBLEBigDataProgressEvent) => void
2710
+ ): void
2711
+
2712
+ /**
2713
+ * 扫描到设备后进行通知
2714
+ */
2715
+ export function onTYBLEScanBindDevice(listener: (params: TYBLEScanDeviceEvent) => void): void
2716
+
2717
+ /**
2718
+ * 扫描到设备后进行通知
2719
+ */
2720
+ export function offTYBLEScanBindDevice(listener: (params: TYBLEScanDeviceEvent) => void): void
2721
+
2722
+ /**
2723
+ * 大数据从设备传输到App成功的事件
2724
+ */
2725
+ export function onBLEBigDataChannelDeviceToAppSuccess(
2726
+ listener: (params: BLEBigDataChannelDeviceToAppSuccessResponse) => void
2727
+ ): void
2728
+
2729
+ /**
2730
+ * 大数据从设备传输到App成功的事件
2731
+ */
2732
+ export function offBLEBigDataChannelDeviceToAppSuccess(
2733
+ listener: (params: BLEBigDataChannelDeviceToAppSuccessResponse) => void
2734
+ ): void
2735
+
2736
+ /**
2737
+ * 大数据上传到云端进度的事件
2738
+ */
2739
+ export function onBLEBigDataChannelUploadCloudProgress(
2740
+ listener: (params: TYBLEBigDataProgressEvent) => void
2741
+ ): void
2742
+
2743
+ /**
2744
+ * 大数据上传到云端进度的事件
2745
+ */
2746
+ export function offBLEBigDataChannelUploadCloudProgress(
2747
+ listener: (params: TYBLEBigDataProgressEvent) => void
2748
+ ): void
2749
+
2750
+ /**
2751
+ * 子设备配网结果事件
2752
+ */
2753
+ export function onSubDeviceInfoUpdateEvent(listener: (params: Device) => void): void
2754
+
2755
+ /**
2756
+ * 子设备配网结果事件
2757
+ */
2758
+ export function offSubDeviceInfoUpdateEvent(listener: (params: Device) => void): void
2759
+
2760
+ /**
2761
+ * 免配网-设备扫描结果事件
2762
+ */
2763
+ export function onDirectlyConnectedSearchDeviceEvent(
2764
+ listener: (params: DirectlyConnectedSearchRespond) => void
2765
+ ): void
2766
+
2767
+ /**
2768
+ * 免配网-设备扫描结果事件
2769
+ */
2770
+ export function offDirectlyConnectedSearchDeviceEvent(
2771
+ listener: (params: DirectlyConnectedSearchRespond) => void
2772
+ ): void
2773
+
2774
+ /**
2775
+ * dp点变更
2776
+ */
2777
+ export function onDpDataChange(listener: (params: DpsChanged) => void): void
2778
+
2779
+ /**
2780
+ * dp点变更
2781
+ */
2782
+ export function offDpDataChange(listener: (params: DpsChanged) => void): void
2783
+
2784
+ /**
2785
+ * MQTT消息通道消息上报
2786
+ */
2787
+ export function onMqttMessageReceived(listener: (params: MqttResponse) => void): void
2788
+
2789
+ /**
2790
+ * MQTT消息通道消息上报
2791
+ */
2792
+ export function offMqttMessageReceived(listener: (params: MqttResponse) => void): void
2793
+
2794
+ /**
2795
+ * socket消息通道消息上报
2796
+ */
2797
+ export function onSocketMessageReceived(listener: (params: SocketResponse) => void): void
2798
+
2799
+ /**
2800
+ * socket消息通道消息上报
2801
+ */
2802
+ export function offSocketMessageReceived(listener: (params: SocketResponse) => void): void
2803
+
2804
+ /**
2805
+ * 设备上下线状态变更
2806
+ */
2807
+ export function onDeviceOnlineStatusUpdate(listener: (params: Online) => void): void
2808
+
2809
+ /**
2810
+ * 设备上下线状态变更
2811
+ */
2812
+ export function offDeviceOnlineStatusUpdate(listener: (params: Online) => void): void
2813
+
2814
+ /**
2815
+ * 设备 dp 名字和设备名字触发
2816
+ */
2817
+ export function onDeviceInfoUpdated(listener: (params: Device_elDqwU) => void): void
2818
+
2819
+ /**
2820
+ * 设备 dp 名字和设备名字触发
2821
+ */
2822
+ export function offDeviceInfoUpdated(listener: (params: Device_elDqwU) => void): void
2823
+
2824
+ /**
2825
+ * 设备移除事件
2826
+ */
2827
+ export function onDeviceRemoved(listener: (params: OnDeviceRemovedBody) => void): void
2828
+
2829
+ /**
2830
+ * 设备移除事件
2831
+ */
2832
+ export function offDeviceRemoved(listener: (params: OnDeviceRemovedBody) => void): void
2833
+
2834
+ /**
2835
+ * 定时变化事件
2836
+ */
2837
+ export function onTimerUpdate(listener: (params: {}) => void): void
2838
+
2839
+ /**
2840
+ * 定时变化事件
2841
+ */
2842
+ export function offTimerUpdate(listener: (params: {}) => void): void
2843
+
2844
+ /**
2845
+ * 群组移除事件
2846
+ */
2847
+ export function onGroupRemovedEvent(listener: (params: GroupBean) => void): void
2848
+
2849
+ /**
2850
+ * 群组移除事件
2851
+ */
2852
+ export function offGroupRemovedEvent(listener: (params: GroupBean) => void): void
2853
+
2854
+ /**
2855
+ * 群组DP变更事件
2856
+ */
2857
+ export function onGroupDpDataChangeEvent(listener: (params: GroupDpDataBean) => void): void
2858
+
2859
+ /**
2860
+ * 群组DP变更事件
2861
+ */
2862
+ export function offGroupDpDataChangeEvent(listener: (params: GroupDpDataBean) => void): void
2863
+
2864
+ /**
2865
+ * 接收物模型消息事件。只有subscribeReceivedThingModelMessage订阅了,才会收到该事件。
2866
+ */
2867
+ export function onReceivedThingModelMessage(
2868
+ listener: (params: OnReceivedThingModelMessageBody) => void
2869
+ ): void
2870
+
2871
+ /**
2872
+ * 接收物模型消息事件。只有subscribeReceivedThingModelMessage订阅了,才会收到该事件。
2873
+ */
2874
+ export function offReceivedThingModelMessage(
2875
+ listener: (params: OnReceivedThingModelMessageBody) => void
2876
+ ): void
2877
+
2878
+ export type Gateway = {
2879
+ /**
2880
+ * 网关模型
2881
+ * gwId 网关设备Id
2882
+ */
2883
+ gwId: string
2884
+ }
2885
+
2886
+ export type Device = {
2887
+ /**
2888
+ * 设备模型
2889
+ * deviceId 设备Id
2890
+ */
2891
+ deviceId: string
2892
+ }
2893
+
2894
+ export type DeviceInfo = {
2895
+ /** 产品信息,schema,功能定义都在里面 */
2896
+ schema: {}[]
2897
+ /**
2898
+ * dps
2899
+ * 设备的功能点状态,可以根据对应的 dpid 拿到具体的状态值去做业务逻辑
2900
+ */
2901
+ dps: Record<string, {}>
2902
+ /**
2903
+ * attribute
2904
+ * 产品属性定义,在 backend-ng 平台上可查到对应配置,使用二进制位运算的方式进行管理
2905
+ */
2906
+ attribute: number
2907
+ /**
2908
+ * capability
2909
+ * 产品能力值,在 backend-ng 平台上可以查询对应的勾选项,整体业务逻辑会根据该数据进行划分
2910
+ * 区分设备类型也可以根据该属性进行调整,按二进制位运算的方式进行管理
2911
+ */
2912
+ capability: number
2913
+ /**
2914
+ * dpName
2915
+ * 自定义 dp 的名字,通常在面板里会使用到
2916
+ */
2917
+ dpName: Record<string, string>
2918
+ /**
2919
+ * ability
2920
+ * 目前业务很少使用,用于区分特殊类型的设备
2921
+ */
2922
+ ability: number
2923
+ /**
2924
+ * icon
2925
+ * 设备的 icon url
2926
+ */
2927
+ icon: string
2928
+ /**
2929
+ * devId
2930
+ * 设备的唯一 id
2931
+ */
2932
+ devId: string
2933
+ /**
2934
+ * verSw
2935
+ * 设备固件版本号
2936
+ */
2937
+ verSw: string
2938
+ /**
2939
+ * isShare
2940
+ * 是否为分享设备,true 则是分享设备
2941
+ */
2942
+ isShare: boolean
2943
+ /**
2944
+ * bv
2945
+ * 设备的基线版本号
2946
+ */
2947
+ bv: string
2948
+ /**
2949
+ * uuid
2950
+ * 设备的固件唯一标识
2951
+ */
2952
+ uuid: string
2953
+ /**
2954
+ * panelConfig
2955
+ * 产品面板里的配置项,通常在 IoT 平台上可以查看到对应的配置
2956
+ */
2957
+ panelConfig: Record<string, {}>
2958
+ /**
2959
+ * activeTime
2960
+ * 设备激活时间,时间戳
2961
+ */
2962
+ activeTime: number
2963
+ /**
2964
+ * devAttribute
2965
+ * 设备的业务能力拓展,二进制位的方式进行运算
2966
+ */
2967
+ devAttribute: number
2968
+ /**
2969
+ * pcc
2970
+ * 涂鸦自研蓝牙 mesh 产品的分类标识
2971
+ */
2972
+ pcc: string
2973
+ /**
2974
+ * nodeId
2975
+ * 子设备的短地址
2976
+ */
2977
+ nodeId: string
2978
+ /**
2979
+ * parentId
2980
+ * 上级节点 id,子设备/或蓝牙 mesh 设备通常会有该字段,用于内部寻找相关的网关或上级模型来进行业务处理
2981
+ */
2982
+ parentId: string
2983
+ /**
2984
+ * category
2985
+ * 产品的分类
2986
+ */
2987
+ category: string
2988
+ /**
2989
+ * standSchemaModel
2990
+ * 标准产品功能集定义模型
2991
+ */
2992
+ standSchemaModel: {}
2993
+ /**
2994
+ * productId
2995
+ * 设备对应的产品 id
2996
+ */
2997
+ productId: string
2998
+ /**
2999
+ * bizAttribute
3000
+ * 设备自主上报的能力位
3001
+ */
3002
+ bizAttribute: number
3003
+ /**
3004
+ * meshId
3005
+ * 涂鸦自研的蓝牙 mesh id
3006
+ */
3007
+ meshId: string
3008
+ /**
3009
+ * sigmeshId
3010
+ * 当前设备所属行业属性对应的蓝牙 mesh id
3011
+ */
3012
+ sigmeshId: string
3013
+ /**
3014
+ * meta
3015
+ * 设备自定义配置元属性,用于存放业务数据
3016
+ */
3017
+ meta: Record<string, {}>
3018
+ /**
3019
+ * isLocalOnline
3020
+ * 本地局域网是否在线
3021
+ */
3022
+ isLocalOnline: boolean
3023
+ /**
3024
+ * isOnline
3025
+ * 设备总的在线情况,只要一个情况在线,就是在线,复合在线情况
3026
+ */
3027
+ isOnline: boolean
3028
+ /**
3029
+ * name
3030
+ * 设备名称
3031
+ */
3032
+ name: string
3033
+ /** groupId */
3034
+ groupId: string
3035
+ /**
3036
+ * dpCodes
3037
+ * 标准功能集 code
3038
+ */
3039
+ dpCodes: Record<string, {}>
3040
+ /** 原始 json,业务来不及拓展更新的时候,可以根据这个来获取处理 */
3041
+ originJson: Record<string, {}>
3042
+ }
3043
+
3044
+ export type Object = {}
3045
+
3046
+ export type TimerConfig = {
3047
+ /**
3048
+ * background
3049
+ * 定时界面导航栏的背景颜色,十六进制,例如:FFFFFF
3050
+ */
3051
+ background?: string
3052
+ }
3053
+
3054
+ export type TimerModel = {
3055
+ /**
3056
+ * timerId
3057
+ * 定时器 id
3058
+ */
3059
+ timerId: string
3060
+ /**
3061
+ * date
3062
+ * 日期
3063
+ */
3064
+ date: string
3065
+ /**
3066
+ * time
3067
+ * 定时器运行的时间
3068
+ */
3069
+ time: string
3070
+ /**
3071
+ * status
3072
+ * 状态
3073
+ */
3074
+ status: boolean
3075
+ /**
3076
+ * loops
3077
+ * 七位数字字符串,"1000000" 代表周日,"0100000" 代表周一
3078
+ */
3079
+ loops: string
3080
+ /**
3081
+ * dps
3082
+ * dp 点数据,示例:
3083
+ * {
3084
+ * "1": true,
3085
+ * "2": false
3086
+ * }
3087
+ */
3088
+ dps: Record<string, {}>
3089
+ /**
3090
+ * timezoneId
3091
+ * 时区
3092
+ */
3093
+ timezoneId: string
3094
+ /**
3095
+ * aliasName
3096
+ * 别名
3097
+ */
3098
+ aliasName: string
3099
+ /**
3100
+ * isAppPush
3101
+ * 是否发送执行通知
3102
+ */
3103
+ isAppPush: boolean
3104
+ /**
3105
+ * id
3106
+ * 任务 id
3107
+ */
3108
+ id: string
3109
+ }
3110
+
3111
+ export type AddTimerModel = {
3112
+ /**
3113
+ * time
3114
+ * 定时器运行的时间
3115
+ */
3116
+ time: string
3117
+ /**
3118
+ * loops
3119
+ * 七位数字字符串,"1000000" 代表周日,"0100000" 代表周一
3120
+ */
3121
+ loops: string
3122
+ /**
3123
+ * dps
3124
+ * dp 点数据,示例:
3125
+ * {
3126
+ * "1": true,
3127
+ * "2": false
3128
+ * }
3129
+ */
3130
+ dps: Record<string, {}>
3131
+ /**
3132
+ * aliasName
3133
+ * 别名
3134
+ */
3135
+ aliasName: string
3136
+ /**
3137
+ * isAppPush
3138
+ * 是否发送执行通知
3139
+ */
3140
+ isAppPush: boolean
3141
+ }
3142
+
3143
+ export type UpdateTimerModel = {
3144
+ /**
3145
+ * timerId
3146
+ * 定时器 id
3147
+ */
3148
+ timerId: string
3149
+ /**
3150
+ * time
3151
+ * 定时器运行的时间
3152
+ */
3153
+ time: string
3154
+ /**
3155
+ * loops
3156
+ * 七位数字字符串,"1000000" 代表周日,"0100000" 代表周一
3157
+ */
3158
+ loops: string
3159
+ /**
3160
+ * dps
3161
+ * dp 点数据,示例:
3162
+ * {
3163
+ * "1": true,
3164
+ * "2": false
3165
+ * }
3166
+ */
3167
+ dps: Record<string, {}>
3168
+ /**
3169
+ * aliasName
3170
+ * 别名
3171
+ */
3172
+ aliasName: string
3173
+ /**
3174
+ * isAppPush
3175
+ * 是否发送执行通知
3176
+ */
3177
+ isAppPush: boolean
3178
+ }
3179
+
3180
+ export type ThirdPartyService = {
3181
+ /** 服务 id */
3182
+ serviceId: number
3183
+ /** 服务名称 */
3184
+ name: string
3185
+ /** 图标 url */
3186
+ iconUrl: string
3187
+ /** 服务 url */
3188
+ url: string
3189
+ /** attributeKey */
3190
+ attributeKey: string
3191
+ /** attributeSign */
3192
+ attributeSign: number
3193
+ /** 包含云端完整字段的 json 对象 */
3194
+ originJson: Record<string, {}>
3195
+ }
3196
+
3197
+ export type DeviceInfo_mScpag = {
3198
+ /** 产品信息,schema,功能定义都在里面 */
3199
+ schema: {}[]
3200
+ /**
3201
+ * dps
3202
+ * 设备的功能点状态,可以根据对应的 dpid 拿到具体的状态值去做业务逻辑
3203
+ */
3204
+ dps: Record<string, {}>
3205
+ /**
3206
+ * attribute
3207
+ * 产品属性定义,在 backend-ng 平台上可查到对应配置,使用二进制位运算的方式进行管理
3208
+ */
3209
+ attribute: number
3210
+ /**
3211
+ * capability
3212
+ * 产品能力值,在 backend-ng 平台上可以查询对应的勾选项,整体业务逻辑会根据该数据进行划分
3213
+ * 区分设备类型也可以根据该属性进行调整,按二进制位运算的方式进行管理
3214
+ */
3215
+ capability: number
3216
+ /**
3217
+ * dpName
3218
+ * 自定义 dp 的名字,通常在面板里会使用到
3219
+ */
3220
+ dpName: Record<string, string>
3221
+ /**
3222
+ * ability
3223
+ * 目前业务很少使用,用于区分特殊类型的设备
3224
+ */
3225
+ ability: number
3226
+ /**
3227
+ * icon
3228
+ * 设备的 icon url
3229
+ */
3230
+ icon: string
3231
+ /**
3232
+ * devId
3233
+ * 设备的唯一 id
3234
+ */
3235
+ devId: string
3236
+ /**
3237
+ * verSw
3238
+ * 设备固件版本号
3239
+ */
3240
+ verSw: string
3241
+ /**
3242
+ * isShare
3243
+ * 是否为分享设备,true 则是分享设备
3244
+ */
3245
+ isShare: boolean
3246
+ /**
3247
+ * bv
3248
+ * 设备的基线版本号
3249
+ */
3250
+ bv: string
3251
+ /**
3252
+ * uuid
3253
+ * 设备的固件唯一标识
3254
+ */
3255
+ uuid: string
3256
+ /**
3257
+ * panelConfig
3258
+ * 产品面板里的配置项,通常在 IoT 平台上可以查看到对应的配置
3259
+ */
3260
+ panelConfig: Record<string, {}>
3261
+ /**
3262
+ * activeTime
3263
+ * 设备激活时间,时间戳
3264
+ */
3265
+ activeTime: number
3266
+ /**
3267
+ * devAttribute
3268
+ * 设备的业务能力拓展,二进制位的方式进行运算
3269
+ */
3270
+ devAttribute: number
3271
+ /**
3272
+ * pcc
3273
+ * 涂鸦自研蓝牙 mesh 产品的分类标识
3274
+ */
3275
+ pcc: string
3276
+ /**
3277
+ * nodeId
3278
+ * 子设备的短地址
3279
+ */
3280
+ nodeId: string
3281
+ /**
3282
+ * parentId
3283
+ * 上级节点 id,子设备/或蓝牙 mesh 设备通常会有该字段,用于内部寻找相关的网关或上级模型来进行业务处理
3284
+ */
3285
+ parentId: string
3286
+ /**
3287
+ * category
3288
+ * 产品的分类
3289
+ */
3290
+ category: string
3291
+ /**
3292
+ * standSchemaModel
3293
+ * 标准产品功能集定义模型
3294
+ */
3295
+ standSchemaModel: {}
3296
+ /**
3297
+ * productId
3298
+ * 设备对应的产品 id
3299
+ */
3300
+ productId: string
3301
+ /**
3302
+ * bizAttribute
3303
+ * 设备自主上报的能力位
3304
+ */
3305
+ bizAttribute: number
3306
+ /**
3307
+ * meshId
3308
+ * 涂鸦自研的蓝牙 mesh id
3309
+ */
3310
+ meshId: string
3311
+ /**
3312
+ * sigmeshId
3313
+ * 当前设备所属行业属性对应的蓝牙 mesh id
3314
+ */
3315
+ sigmeshId: string
3316
+ /**
3317
+ * meta
3318
+ * 设备自定义配置元属性,用于存放业务数据
3319
+ */
3320
+ meta: Record<string, {}>
3321
+ /**
3322
+ * isLocalOnline
3323
+ * 本地局域网是否在线
3324
+ */
3325
+ isLocalOnline: boolean
3326
+ /**
3327
+ * isOnline
3328
+ * 设备总的在线情况,只要一个情况在线,就是在线,复合在线情况
3329
+ */
3330
+ isOnline: boolean
3331
+ /**
3332
+ * name
3333
+ * 设备名称
3334
+ */
3335
+ name: string
3336
+ /** groupId */
3337
+ groupId: string
3338
+ /**
3339
+ * dpCodes
3340
+ * 标准功能集 code
3341
+ */
3342
+ dpCodes: Record<string, {}>
3343
+ /** 原始 json,业务来不及拓展更新的时候,可以根据这个来获取处理 */
3344
+ originJson: Record<string, {}>
3345
+ /**
3346
+ * dpsTime
3347
+ * 设备DP的执行时间
3348
+ */
3349
+ dpsTime: {}
3350
+ }
3351
+
3352
+ export type ServiceModel = {
3353
+ /** 属性列表 */
3354
+ properties: ThingProperty[]
3355
+ /** 动作列表 */
3356
+ actions: ThingAction[]
3357
+ /** 事件列表 */
3358
+ events: ThingEvent[]
3359
+ }
3360
+
3361
+ export type TYBLEConnectStatusEvent = {
3362
+ /**
3363
+ * BLE(tuya)连接状态
3364
+ * deviceId: 设备 id
3365
+ */
3366
+ deviceId: string
3367
+ /**
3368
+ * status 状态值
3369
+ * CONNECTED:已连接
3370
+ * CONNECTING:连接中
3371
+ * CONNECT_BREAK:连接失败
3372
+ */
3373
+ status: string
3374
+ }
3375
+
3376
+ export type TYBLETransparentDataBean = {
3377
+ /**
3378
+ * 蓝牙透传数据
3379
+ * deviceId: 设备 id
3380
+ */
3381
+ deviceId: string
3382
+ /** data: 透传内容 */
3383
+ data: string
3384
+ }
3385
+
3386
+ export type TYBLEBigDataProgressEvent = {
3387
+ /**
3388
+ * 大数据通道传输进度
3389
+ * deviceId 设备 id
3390
+ */
3391
+ deviceId: string
3392
+ /** progress 传输进度,范围: 0 - 100 */
3393
+ progress: number
3394
+ }
3395
+
3396
+ export type TYBLEScanDeviceEvent = {
3397
+ /** 扫描到的设备ID */
3398
+ deviceId: string
3399
+ }
3400
+
3401
+ export type BLEBigDataChannelDeviceToAppSuccessResponse = {
3402
+ /** data */
3403
+ data: BLEBigDataChannelData[]
3404
+ }
3405
+
3406
+ export type DirectlyConnectedSearchRespond = {
3407
+ /**
3408
+ * 设备是否激活
3409
+ * isActive 激活结果
3410
+ */
3411
+ isActive: boolean
3412
+ }
3413
+
3414
+ export type DpsChanged = {
3415
+ /** dps 对应的设备 id */
3416
+ deviceId: string
3417
+ /** 子设备对应的网关设备 id,可以根据此进行网关面板的状态刷新 */
3418
+ gwId: string
3419
+ /**
3420
+ * dps
3421
+ * 变化的数据
3422
+ */
3423
+ dps: Record<string, {}>
3424
+ /**
3425
+ * options
3426
+ * 预留的标记位,后续可以区分来源等
3427
+ */
3428
+ options: Record<string, {}>
3429
+ }
3430
+
3431
+ export type MqttResponse = {
3432
+ /** 设备 id */
3433
+ deviceId?: string
3434
+ /** 原始消息数据 */
3435
+ message: Record<string, {}>
3436
+ /** 双端抹平后的消息数据 */
3437
+ messageData: Record<string, {}>
3438
+ /** 消息类型 */
3439
+ type: string
3440
+ /** 协议号 */
3441
+ protocol: number
3442
+ }
3443
+
3444
+ export type SocketResponse = {
3445
+ /** 消息内容 */
3446
+ message: Record<string, {}>
3447
+ /** 设备 id */
3448
+ deviceId: string
3449
+ /** 局域网消息 type */
3450
+ type: number
3451
+ }
3452
+
3453
+ export type Online = {
3454
+ /** 在线状态 */
3455
+ online: boolean
3456
+ /** 设备 id */
3457
+ deviceId: string
3458
+ /**
3459
+ * 设备在线类型(预留,后期使用)
3460
+ * Wi-Fi online 1 << 0
3461
+ * Local online 1 << 1
3462
+ * Bluetooth LE online 1 << 2
3463
+ * Bluetooth LE mesh online 1 << 3
3464
+ */
3465
+ onlineType: number
3466
+ }
3467
+
3468
+ export type Device_elDqwU = {
3469
+ /**
3470
+ * deviceId 设备id
3471
+ * 支持跨面板获取其他的设备信息,当前面板可以传当前设备的 id 来进行获取
3472
+ */
3473
+ deviceId: string
3474
+ /** dps 科学变化的数据 */
3475
+ dps?: Record<string, {}>
3476
+ }
3477
+
3478
+ export type OnDeviceRemovedBody = {
3479
+ /** 设备id */
3480
+ deviceId: string
3481
+ }
3482
+
3483
+ export type GroupBean = {
3484
+ /** 群组id */
3485
+ groupId: string
3486
+ }
3487
+
3488
+ export type GroupDpDataBean = {
3489
+ /** groupId 群组id */
3490
+ groupId: string
3491
+ /**
3492
+ * dp信息
3493
+ * 示例: dps: {"1" : true}
3494
+ */
3495
+ dps: {}
3496
+ }
3497
+
3498
+ export type OnReceivedThingModelMessageBody = {
3499
+ /**
3500
+ * 类型
3501
+ * 0:属性, 1:动作, 2:事件
3502
+ */
3503
+ type: number
3504
+ /** payload */
3505
+ payload: Record<string, any>
3506
+ }
3507
+
3508
+ export type BLEBigDataChannelData = {
3509
+ /** dpsTime */
3510
+ dpsTime: string
3511
+ /** dps */
3512
+ dps: Record<string, {}>
3513
+ }
3514
+
3515
+ export type ActivationInfoBean = {
3516
+ /**
3517
+ * 网关子设备激活数据
3518
+ * gateway Gateway 网关模型
3519
+ */
3520
+ gateway: Gateway
3521
+ /** timeout 超时时间设定(秒),建议值120 */
3522
+ timeout: number
3523
+ }
3524
+
3525
+ export type DirectlyConnectedActivationBean = {
3526
+ /**
3527
+ * 设备Id
3528
+ * device Device 设备模型
3529
+ */
3530
+ device: Device
3531
+ /** timeout 超时时间设定(秒),建议值120 */
3532
+ timeout: number
3533
+ }
3534
+
3535
+ export type DeviceOnlineTypeResponse = {
3536
+ /** 设备网络在线类型 */
3537
+ onlineType: number
3538
+ }
3539
+
3540
+ export type Product = {
3541
+ /** 产品id */
3542
+ productId: string
3543
+ }
3544
+
3545
+ export type ProductInfo = {
3546
+ /** 产品原始 json 信息 */
3547
+ originJson: Record<string, {}>
3548
+ /** 面板配置项,可以在平台进行配置 */
3549
+ panelConfig: Record<string, {}>
3550
+ /** 产品功能定义集合 */
3551
+ schema: string
3552
+ /** 产品功能定义集合拓展 */
3553
+ schemaExt: string
3554
+ /**
3555
+ * capability
3556
+ * 产品能力值,在 backend-ng 平台上可以查询对应的勾选项,整体业务逻辑会根据该数据进行划分
3557
+ * 区分设备类型也可以根据该属性进行调整,按二进制位运算的方式进行管理
3558
+ */
3559
+ capability: number
3560
+ /**
3561
+ * attribute
3562
+ * 产品属性定义,在 backend-ng 平台上可查到对应配置,使用二进制位运算的方式进行管理
3563
+ */
3564
+ attribute: number
3565
+ /**
3566
+ * productId
3567
+ * 产品 id
3568
+ */
3569
+ productId: string
3570
+ /**
3571
+ * category
3572
+ * 产品的分类
3573
+ */
3574
+ category: string
3575
+ /**
3576
+ * categoryCode
3577
+ * 产品的二级分类
3578
+ */
3579
+ categoryCode: string
3580
+ /**
3581
+ * standard
3582
+ * 是否为标准产品
3583
+ */
3584
+ standard: boolean
3585
+ /**
3586
+ * pcc
3587
+ * 涂鸦自研蓝牙 mesh 产品的分类标识
3588
+ */
3589
+ pcc: string
3590
+ /**
3591
+ * vendorInfo
3592
+ * 涂鸦自研蓝牙 mesh 产品的分类标识,融合类使用
3593
+ */
3594
+ vendorInfo: string
3595
+ /**
3596
+ * quickOpDps
3597
+ * 快捷操作的 dp ids
3598
+ */
3599
+ quickOpDps: string[]
3600
+ /**
3601
+ * faultDps
3602
+ * 告警/错误的显示 dp ids
3603
+ */
3604
+ faultDps: string[]
3605
+ /**
3606
+ * displayDps
3607
+ * 快捷操作的 dp ids
3608
+ */
3609
+ displayDps: string[]
3610
+ /**
3611
+ * displayMsgs
3612
+ * 快捷操作显示文案
3613
+ */
3614
+ displayMsgs: Record<string, {}>
3615
+ /**
3616
+ * uiPhase
3617
+ * ui 包当前环境,预览包或线上包
3618
+ */
3619
+ uiPhase: string
3620
+ /**
3621
+ * uiId
3622
+ * ui 包唯一包名识别
3623
+ */
3624
+ uiId: string
3625
+ /**
3626
+ * uiVersion
3627
+ * ui 包版本号
3628
+ */
3629
+ uiVersion: string
3630
+ /**
3631
+ * ui
3632
+ * ui 小标识
3633
+ */
3634
+ ui: string
3635
+ /**
3636
+ * rnFind
3637
+ * 是否有包含 RN 包
3638
+ */
3639
+ rnFind: boolean
3640
+ /**
3641
+ * uiType
3642
+ * ui 包类型
3643
+ */
3644
+ uiType: string
3645
+ /**
3646
+ * uiName
3647
+ * ui 包名称
3648
+ */
3649
+ uiName: string
3650
+ /**
3651
+ * i18nTime
3652
+ * 产品语言包最新更新时间
3653
+ */
3654
+ i18nTime: number
3655
+ /**
3656
+ * supportGroup
3657
+ * 是否支持创建群组
3658
+ */
3659
+ supportGroup: boolean
3660
+ /**
3661
+ * supportSGroup
3662
+ * 是否支持创建标准群组
3663
+ */
3664
+ supportSGroup: boolean
3665
+ /**
3666
+ * configMetas
3667
+ * 产品特殊配置项,一些功能业务的特殊配置
3668
+ */
3669
+ configMetas: Record<string, {}>
3670
+ /**
3671
+ * productVer
3672
+ * 产品版本
3673
+ */
3674
+ productVer: string
3675
+ }
3676
+
3677
+ export type Mesh = {
3678
+ /** 网关设备id或上级节点id */
3679
+ meshId: string
3680
+ }
3681
+
3682
+ export type DeviceOnline = {
3683
+ /** 设备id */
3684
+ deviceId: string
3685
+ /**
3686
+ * 设备在线类型,
3687
+ * Wi-Fi online 1 << 0
3688
+ * Local online 1 << 1
3689
+ * Bluetooth LE online 1 << 2
3690
+ * Bluetooth LE mesh online 1 << 3
3691
+ */
3692
+ onlineType: number
3693
+ }
3694
+
3695
+ export type DpsPublish = {
3696
+ /** 设备id */
3697
+ deviceId: string
3698
+ /** dps */
3699
+ dps: Record<string, {}>
3700
+ /**
3701
+ * 下发通道类型
3702
+ * 0: 局域网
3703
+ * 1: 网络
3704
+ * 2: 自动
3705
+ */
3706
+ mode: number
3707
+ /**
3708
+ * 下发通道的优先级
3709
+ * LAN = 0, // LAN
3710
+ * MQTT = 1, // MQTT
3711
+ * HTTP = 2, // Http
3712
+ * BLE = 3, // Single Point Bluetooth
3713
+ * SIGMesh = 4, // Sig Mesh
3714
+ * BLEMesh = 5, // Tuya Private Mesh
3715
+ * BLEBeacon = 6, // Beacon
3716
+ */
3717
+ pipelines: number[]
3718
+ /** 预留下发逻辑配置标记,后续可以拓展,例如下发声音,下发操作后续动作等等 */
3719
+ options: Record<string, {}>
3720
+ }
3721
+
3722
+ export type QueryDps = {
3723
+ /** 设备id */
3724
+ deviceId: string
3725
+ /** dpids 数组 */
3726
+ dpIds: number[]
3727
+ }
3728
+
3729
+ export type MqttMessage = {
3730
+ /** 消息内容 */
3731
+ message: Record<string, {}>
3732
+ /** 设备id */
3733
+ deviceId: string
3734
+ /** 协议号 */
3735
+ protocol: number
3736
+ /** 预留下发逻辑配置标记,后续可以拓展,例如下发声音,下发操作后续动作等等 */
3737
+ options: Record<string, {}>
3738
+ }
3739
+
3740
+ export type LanMessageParams = {
3741
+ /** 消息内容 */
3742
+ message: string
3743
+ /** 设备id */
3744
+ deviceId: string
3745
+ /** 协议号 */
3746
+ protocol: number
3747
+ /** 预留下发逻辑配置标记,后续可以拓展,例如下发声音,下发操作后续动作等等 */
3748
+ options?: Record<string, {}>
3749
+ }
3750
+
3751
+ export type SocketMessage = {
3752
+ /** 消息内容 */
3753
+ message: Record<string, {}>
3754
+ /** 设备id */
3755
+ deviceId: string
3756
+ /** 局域网消息 type */
3757
+ type: number
3758
+ /** 预留下发逻辑配置标记,后续可以拓展,例如下发声音,下发操作后续动作等等 */
3759
+ options: Record<string, {}>
3760
+ }
3761
+
3762
+ export type DeviceProperties = {
3763
+ /** the properties map */
3764
+ properties: Record<string, Object>
3765
+ }
3766
+
3767
+ export type DeviceProperty = {
3768
+ /** deviceId */
3769
+ deviceId: string
3770
+ /** the custom data key */
3771
+ code: string
3772
+ /** the custom data value */
3773
+ value: string
3774
+ }
3775
+
3776
+ export type DevicePropertyCB = {
3777
+ /** deviceId */
3778
+ deviceId: string
3779
+ /** set DeviceProperty successfully */
3780
+ result: boolean
3781
+ }
3782
+
3783
+ export type SyncDeviceInfoParams = {
3784
+ /** 设备id */
3785
+ deviceId: string
3786
+ }
3787
+
3788
+ export type SubscribeDeviceRemovedParams = {
3789
+ /** 设备id */
3790
+ deviceId: string
3791
+ }
3792
+
3793
+ export type UnSubscribeDeviceRemovedParams = {
3794
+ /** 设备id */
3795
+ deviceId: string
3796
+ }
3797
+
3798
+ export type MQTTDeviceListenerParams = {
3799
+ /**
3800
+ * deviceId 设备id
3801
+ * 支持跨面板获取其他的设备信息,当前面板可以传当前设备的 id 来进行获取
3802
+ */
3803
+ deviceId: string
3804
+ }
3805
+
3806
+ export type MQTTProtocolListenerParams = {
3807
+ /**
3808
+ * protocol 协议号
3809
+ * MQTT预定义的协议号
3810
+ */
3811
+ protocol: number
3812
+ }
3813
+
3814
+ export type DeviceListListenerParams = {
3815
+ /** 需注册的设备列表 */
3816
+ deviceIdList: string[]
3817
+ }
3818
+
3819
+ export type OTAUpdateInfoParams = {
3820
+ /**
3821
+ * deviceId
3822
+ * 设备 id
3823
+ */
3824
+ deviceId: string
3825
+ }
3826
+
3827
+ export type DeviceDetailParams = {
3828
+ /**
3829
+ * deviceId
3830
+ * 设备 id
3831
+ */
3832
+ deviceId: string
3833
+ }
3834
+
3835
+ export type GroupDetailParams = {
3836
+ /**
3837
+ * groupId
3838
+ * 群组 id
3839
+ */
3840
+ groupId: string
3841
+ }
3842
+
3843
+ export type TimerParams = {
3844
+ /**
3845
+ * deviceId
3846
+ * 设备 id ,deviceId 和 groupId 至少传一个
3847
+ */
3848
+ deviceId: string
3849
+ /**
3850
+ * category
3851
+ * 定时分类
3852
+ */
3853
+ category: string
3854
+ /**
3855
+ * repeat
3856
+ * 0表示需要选择重复,1表示不需要
3857
+ */
3858
+ repeat?: number
3859
+ /**
3860
+ * data
3861
+ * dp 数据
3862
+ * {
3863
+ * "dpName": dp 点名称,string
3864
+ * "dpId": dp 点 id,string
3865
+ * "selected": dp 点默认值的 index,t.Integer
3866
+ * "rangeKeys": dp 点的值范围,Array<object>
3867
+ * "rangeValues": dp 点的显示数据范围,Array<string>
3868
+ * }
3869
+ */
3870
+ data: {}[]
3871
+ /**
3872
+ * timerConfig
3873
+ * UI配置
3874
+ */
3875
+ timerConfig?: TimerConfig
3876
+ }
3877
+
3878
+ export type GroupTimerParams = {
3879
+ /**
3880
+ * groupId
3881
+ * 群组 id
3882
+ */
3883
+ groupId: string
3884
+ /**
3885
+ * category
3886
+ * 定时分类
3887
+ */
3888
+ category: string
3889
+ /**
3890
+ * repeat
3891
+ * 0表示需要选择重复,1表示不需要
3892
+ */
3893
+ repeat?: number
3894
+ /**
3895
+ * data
3896
+ * dp 数据
3897
+ * {
3898
+ * "dpName": dp 点名称,string
3899
+ * "dpId": dp 点 id,string
3900
+ * "selected": dp 点默认值的 index,t.Integer
3901
+ * "rangeKeys": dp 点的值范围,Array<object>
3902
+ * "rangeValues": dp 点的显示数据范围,Array<string>
3903
+ * }
3904
+ */
3905
+ data: {}[]
3906
+ /**
3907
+ * timerConfig
3908
+ * UI配置
3909
+ */
3910
+ timerConfig?: TimerConfig
3911
+ }
3912
+
3913
+ export type WifiNetworkParams = {
3914
+ /**
3915
+ * deviceId
3916
+ * 设备 id
3917
+ */
3918
+ deviceId: string
3919
+ }
3920
+
3921
+ export type SyncTimerParams = {
3922
+ /**
3923
+ * deviceId
3924
+ * 设备 id ,deviceId 和 groupId 至少传一个
3925
+ */
3926
+ deviceId?: string
3927
+ /**
3928
+ * groupId
3929
+ * 群组 id ,deviceId 和 groupId 至少传一个
3930
+ */
3931
+ groupId?: string
3932
+ /**
3933
+ * category
3934
+ * 定时分类
3935
+ */
3936
+ category: string
3937
+ }
3938
+
3939
+ export type SyncTimerResult = {
3940
+ /**
3941
+ * timers
3942
+ * 定时列表
3943
+ */
3944
+ timers: TimerModel[]
3945
+ }
3946
+
3947
+ export type AddTimerParams = {
3948
+ /**
3949
+ * deviceId
3950
+ * 设备 id ,deviceId 和 groupId 至少传一个
3951
+ */
3952
+ deviceId?: string
3953
+ /**
3954
+ * groupId
3955
+ * 群组 id ,deviceId 和 groupId 至少传一个
3956
+ */
3957
+ groupId?: string
3958
+ /**
3959
+ * category
3960
+ * 定时分类
3961
+ */
3962
+ category: string
3963
+ /**
3964
+ * timer
3965
+ * 添加定时模型
3966
+ */
3967
+ timer: AddTimerModel
3968
+ }
3969
+
3970
+ export type AddNewTimerModel = {
3971
+ /**
3972
+ * timerId
3973
+ * 定时器 id
3974
+ */
3975
+ timerId: string
3976
+ }
3977
+
3978
+ export type UpdateTimerParams = {
3979
+ /**
3980
+ * deviceId
3981
+ * 设备 id,deviceId 和 groupId 至少传一个
3982
+ */
3983
+ deviceId?: string
3984
+ /**
3985
+ * groupId
3986
+ * 群组 id,deviceId 和 groupId 至少传一个
3987
+ */
3988
+ groupId?: string
3989
+ /**
3990
+ * timer
3991
+ * 更新定时模型
3992
+ */
3993
+ timer: UpdateTimerModel
3994
+ }
3995
+
3996
+ export type UpdateTimerStatusParams = {
3997
+ /**
3998
+ * deviceId
3999
+ * 设备 id,deviceId 和 groupId 至少传一个
4000
+ */
4001
+ deviceId?: string
4002
+ /**
4003
+ * groupId
4004
+ * 群组 id,deviceId 和 groupId 至少传一个
4005
+ */
4006
+ groupId?: string
4007
+ /**
4008
+ * timerId
4009
+ * 定时 id
4010
+ */
4011
+ timerId: string
4012
+ /**
4013
+ * status
4014
+ * 状态
4015
+ */
4016
+ status: boolean
4017
+ }
4018
+
4019
+ export type RemoveTimerParams = {
4020
+ /**
4021
+ * deviceId
4022
+ * 设备 id,deviceId 和 groupId 至少传一个
4023
+ */
4024
+ deviceId?: string
4025
+ /**
4026
+ * groupId
4027
+ * 群组 id,deviceId 和 groupId 至少传一个
4028
+ */
4029
+ groupId?: string
4030
+ /**
4031
+ * timerId
4032
+ * 定时器 id
4033
+ */
4034
+ timerId: string
4035
+ }
4036
+
4037
+ export type GetShareDeviceInfoParams = {
4038
+ /**
4039
+ * deviceId
4040
+ * 设备 id
4041
+ */
4042
+ deviceId: string
4043
+ }
4044
+
4045
+ export type GetShareDeviceInfoResponse = {
4046
+ /** 姓名 */
4047
+ name: string
4048
+ /** 手机号 */
4049
+ mobile: string
4050
+ /** 邮件 */
4051
+ email: string
4052
+ }
4053
+
4054
+ export type OpenDeviceEditParams = {
4055
+ /**
4056
+ * deviceId
4057
+ * 设备 id
4058
+ */
4059
+ deviceId: string
4060
+ }
4061
+
4062
+ export type OpenGroupEditParams = {
4063
+ /**
4064
+ * groupId
4065
+ * 设备 id
4066
+ */
4067
+ groupId: string
4068
+ }
4069
+
4070
+ export type OpenDeviceInfoParams = {
4071
+ /**
4072
+ * deviceId
4073
+ * 设备 id
4074
+ */
4075
+ deviceId: string
4076
+ }
4077
+
4078
+ export type IsDeviceSupportOfflineReminderParams = {
4079
+ /**
4080
+ * deviceId
4081
+ * 设备 id
4082
+ */
4083
+ deviceId: string
4084
+ }
4085
+
4086
+ export type IsDeviceSupportOfflineReminderResponse = {
4087
+ /**
4088
+ * support
4089
+ * 是否支持设备离线提醒
4090
+ */
4091
+ isSupport: boolean
4092
+ }
4093
+
4094
+ export type GetDeviceOfflineReminderStateParams = {
4095
+ /**
4096
+ * deviceId
4097
+ * 设备 id
4098
+ */
4099
+ deviceId: string
4100
+ }
4101
+
4102
+ export type GetDeviceOfflineReminderStateResponse = {
4103
+ /**
4104
+ * state
4105
+ * 设备离线提醒的开关状态 0:关 1:开
4106
+ */
4107
+ state: number
4108
+ }
4109
+
4110
+ export type ToggleDeviceOfflineReminderParams = {
4111
+ /**
4112
+ * deviceId
4113
+ * 设备 id
4114
+ */
4115
+ deviceId: string
4116
+ /**
4117
+ * state
4118
+ * 设备离线提醒的开关状态 0:关 1:开
4119
+ */
4120
+ state: number
4121
+ }
4122
+
4123
+ export type GetDeviceOfflineReminderWarningTextResponse = {
4124
+ /** 离线提醒关闭警告文案 */
4125
+ warningText: string
4126
+ }
4127
+
4128
+ export type Device_iLmqmD = {
4129
+ /**
4130
+ * deviceId
4131
+ * 设备 id
4132
+ */
4133
+ deviceId: string
4134
+ }
4135
+
4136
+ export type OpenShareDeviceParams = {
4137
+ /**
4138
+ * deviceId
4139
+ * 设备 id
4140
+ */
4141
+ deviceId: string
4142
+ }
4143
+
4144
+ export type AddDeviceToDeskParams = {
4145
+ /**
4146
+ * deviceId
4147
+ * 设备 id
4148
+ */
4149
+ deviceId: string
4150
+ }
4151
+
4152
+ export type RemoveShareDeviceParams = {
4153
+ /**
4154
+ * deviceId
4155
+ * 设备 id
4156
+ */
4157
+ deviceId: string
4158
+ }
4159
+
4160
+ export type GetSupportedThirdPartyServicesParams = {
4161
+ /**
4162
+ * deviceId
4163
+ * 设备 id
4164
+ */
4165
+ deviceId: string
4166
+ }
4167
+
4168
+ export type GetSupportedThirdPartyServicesResponse = {
4169
+ /** 服务列表 */
4170
+ services: ThirdPartyService[]
4171
+ }
4172
+
4173
+ export type GroupInfo = {
4174
+ /**
4175
+ * groupId
4176
+ * The group ID.
4177
+ */
4178
+ groupId: string
4179
+ /**
4180
+ * productId
4181
+ * The product ID.
4182
+ */
4183
+ productId: string
4184
+ /**
4185
+ * name
4186
+ * The name of the group.
4187
+ */
4188
+ name: string
4189
+ /**
4190
+ * time
4191
+ * The time when the group was created.
4192
+ */
4193
+ time: number
4194
+ /**
4195
+ * iconUrl
4196
+ * The URL of the icon.
4197
+ */
4198
+ iconUrl: string
4199
+ /**
4200
+ * type
4201
+ * The type of group.
4202
+ * Wifi = 0, Mesh = 1, Zigbee = 2, SIGMesh = 3, Beacon = 4,
4203
+ */
4204
+ type: number
4205
+ /** isShare */
4206
+ isShare: boolean
4207
+ /** dps */
4208
+ dps: {}
4209
+ /** dpCodes */
4210
+ dpCodes: {}
4211
+ /**
4212
+ * deviceNum
4213
+ * The number of devices,
4214
+ */
4215
+ deviceNum: number
4216
+ /**
4217
+ * localKey
4218
+ * The local key.
4219
+ */
4220
+ localKey: string
4221
+ /** The protocol version. */
4222
+ pv: number
4223
+ /** The product information. */
4224
+ productInfo: {}
4225
+ /** The custom DP name. */
4226
+ dpName: {}
4227
+ /** The device list. */
4228
+ deviceList: DeviceInfo_mScpag[]
4229
+ /** The local short address of groups. */
4230
+ localId: string
4231
+ /** The subclass. */
4232
+ pcc: string
4233
+ /** The mesh ID or gateway ID. */
4234
+ meshId: string
4235
+ /** Add the beacon beaconKey. */
4236
+ groupKey: string
4237
+ /** The schema array. */
4238
+ schema: {}[]
4239
+ }
4240
+
4241
+ export type GetGroupPropertyResponse = {
4242
+ /** 群组属性信息 */
4243
+ result: Record<string, {}>
4244
+ }
4245
+
4246
+ export type SetGroupPropertyBean = {
4247
+ /** 群组id */
4248
+ groupId: string
4249
+ /** code 属性code */
4250
+ code: string
4251
+ /** value */
4252
+ value: string
4253
+ }
4254
+
4255
+ export type GroupIdListBean = {
4256
+ /** groupIdList 群组id 列表 */
4257
+ groupIdList: string[]
4258
+ }
4259
+
4260
+ export type CheckOTAUpgradeStatusParams = {
4261
+ /**
4262
+ * deviceId
4263
+ * 设备 id
4264
+ */
4265
+ deviceId: string
4266
+ }
4267
+
4268
+ export type CheckOTAUpgradeStatusResponse = {
4269
+ /**
4270
+ * status
4271
+ * 设备的固件版本状态 0已是最新版本、1有待升级的固件、2正在升级
4272
+ */
4273
+ status: number
4274
+ }
4275
+
4276
+ export type OpenOTAUpgradeParams = {
4277
+ /**
4278
+ * deviceId
4279
+ * 设备 id
4280
+ */
4281
+ deviceId: string
4282
+ }
4283
+
4284
+ export type RNPanelInfoBean = {
4285
+ /**
4286
+ * RN设备面板属性
4287
+ * 设备模型
4288
+ * deviceId 设备Id
4289
+ */
4290
+ deviceId: string
4291
+ /**
4292
+ * 面板初始化参数
4293
+ * initialProps 初始化参数
4294
+ */
4295
+ initialProps?: Record<string, {}>
4296
+ }
4297
+
4298
+ export type ThingProperty = {
4299
+ /** 属性id */
4300
+ abilityId: number
4301
+ /** 访问模式: ro-只读, wr-只写, rw-读写 */
4302
+ accessMode: string
4303
+ /** 属性类型 */
4304
+ typeSpec: Record<string, any>
4305
+ /** 属性默认值 */
4306
+ defaultValue: {}
4307
+ /** 标识代码 */
4308
+ code: string
4309
+ }
4310
+
4311
+ export type ThingAction = {
4312
+ /** 动作id */
4313
+ abilityId: number
4314
+ /** 动作的输入参数列表 */
4315
+ inputParams: {}[]
4316
+ /** 动作的输出参数列表 */
4317
+ outputParams: {}[]
4318
+ /** 标识代码 */
4319
+ code: string
4320
+ }
4321
+
4322
+ export type ThingEvent = {
4323
+ /** 事件id */
4324
+ abilityId: number
4325
+ /** 事件的输出参数列表 */
4326
+ outputParams: {}[]
4327
+ /** 标识代码 */
4328
+ code: string
4329
+ }
4330
+
4331
+ export type DeviceIsSupportThingModelParams = {
4332
+ /** 设备id */
4333
+ devId: string
4334
+ }
4335
+
4336
+ export type DeviceIsSupportThingModelResponse = {
4337
+ /** 是否支持物模型控制 */
4338
+ isSupport: boolean
4339
+ }
4340
+
4341
+ export type UpdateThingModelInfoParams = {
4342
+ /** 产品id */
4343
+ pid: string
4344
+ /** 产品版本号 */
4345
+ productVersion: string
4346
+ }
4347
+
4348
+ export type GetDeviceThingModelInfoParams = {
4349
+ /** 设备id */
4350
+ devId: string
4351
+ }
4352
+
4353
+ export type GetDeviceThingModelInfoResponse = {
4354
+ /** 物模型id */
4355
+ modelId: string
4356
+ /** 产品id */
4357
+ productId: string
4358
+ /** 产品版本 */
4359
+ productVersion: string
4360
+ /** 服务列表 */
4361
+ services: ServiceModel[]
4362
+ /** 扩展属性 */
4363
+ extensions: Record<string, any>
4364
+ }
4365
+
4366
+ export type PublishThingModelMessageParams = {
4367
+ /** 设备id */
4368
+ devId: string
4369
+ /**
4370
+ * 类型
4371
+ * 0:属性, 1:动作, 2:事件
4372
+ */
4373
+ type: number
4374
+ /** payload */
4375
+ payload: Record<string, any>
4376
+ }
4377
+
4378
+ export type SubscribeReceivedThingModelMessageParams = {
4379
+ /** 设备id */
4380
+ devId: string
4381
+ }
4382
+
4383
+ export type UnSubscribeReceivedThingModelMessageParams = {
4384
+ /** 设备id */
4385
+ devId: string
4386
+ }
4387
+ }