hylid-bridge 6.0.0 → 6.2.0

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 (274) hide show
  1. package/README.md +310 -310
  2. package/lib/bridges.d.ts +234 -234
  3. package/lib/bridges.js +365 -234
  4. package/lib/clients/mp_web/kakaopaysandbox/addPhoneContact.d.ts +2 -0
  5. package/lib/clients/mp_web/kakaopaysandbox/addPhoneContact.js +3 -0
  6. package/lib/clients/mp_web/kakaopaysandbox/alert.d.ts +2 -0
  7. package/lib/clients/mp_web/kakaopaysandbox/alert.js +3 -0
  8. package/lib/clients/mp_web/kakaopaysandbox/chooseFileFromDisk.d.ts +2 -0
  9. package/lib/clients/mp_web/kakaopaysandbox/chooseFileFromDisk.js +3 -0
  10. package/lib/clients/mp_web/kakaopaysandbox/chooseImage.d.ts +2 -0
  11. package/lib/clients/mp_web/kakaopaysandbox/chooseImage.js +3 -0
  12. package/lib/clients/mp_web/kakaopaysandbox/choosePhoneContact.d.ts +2 -0
  13. package/lib/clients/mp_web/kakaopaysandbox/choosePhoneContact.js +3 -0
  14. package/lib/clients/mp_web/kakaopaysandbox/chooseVideo.d.ts +2 -0
  15. package/lib/clients/mp_web/kakaopaysandbox/chooseVideo.js +3 -0
  16. package/lib/clients/mp_web/kakaopaysandbox/clearStorage.d.ts +2 -0
  17. package/lib/clients/mp_web/kakaopaysandbox/clearStorage.js +3 -0
  18. package/lib/clients/mp_web/kakaopaysandbox/closeBluetoothAdapter.d.ts +2 -0
  19. package/lib/clients/mp_web/kakaopaysandbox/closeBluetoothAdapter.js +3 -0
  20. package/lib/clients/mp_web/kakaopaysandbox/closeSocket.d.ts +2 -0
  21. package/lib/clients/mp_web/kakaopaysandbox/closeSocket.js +3 -0
  22. package/lib/clients/mp_web/kakaopaysandbox/compressImage.d.ts +2 -0
  23. package/lib/clients/mp_web/kakaopaysandbox/compressImage.js +3 -0
  24. package/lib/clients/mp_web/kakaopaysandbox/confirm.d.ts +2 -0
  25. package/lib/clients/mp_web/kakaopaysandbox/confirm.js +3 -0
  26. package/lib/clients/mp_web/kakaopaysandbox/connectBLEDevice.d.ts +2 -0
  27. package/lib/clients/mp_web/kakaopaysandbox/connectBLEDevice.js +3 -0
  28. package/lib/clients/mp_web/kakaopaysandbox/connectSocket.d.ts +2 -0
  29. package/lib/clients/mp_web/kakaopaysandbox/connectSocket.js +3 -0
  30. package/lib/clients/mp_web/kakaopaysandbox/datePicker.d.ts +2 -0
  31. package/lib/clients/mp_web/kakaopaysandbox/datePicker.js +3 -0
  32. package/lib/clients/mp_web/kakaopaysandbox/disconnectBLEDevice.d.ts +2 -0
  33. package/lib/clients/mp_web/kakaopaysandbox/disconnectBLEDevice.js +3 -0
  34. package/lib/clients/mp_web/kakaopaysandbox/downloadFile.d.ts +2 -0
  35. package/lib/clients/mp_web/kakaopaysandbox/downloadFile.js +3 -0
  36. package/lib/clients/mp_web/kakaopaysandbox/exitApp.d.ts +2 -0
  37. package/lib/clients/mp_web/kakaopaysandbox/exitApp.js +3 -0
  38. package/lib/clients/mp_web/kakaopaysandbox/getAppId.d.ts +2 -0
  39. package/lib/clients/mp_web/kakaopaysandbox/getAppId.js +3 -0
  40. package/lib/clients/mp_web/kakaopaysandbox/getAppToken.d.ts +2 -0
  41. package/lib/clients/mp_web/kakaopaysandbox/getAppToken.js +3 -0
  42. package/lib/clients/mp_web/kakaopaysandbox/getAuthCode.d.ts +2 -0
  43. package/lib/clients/mp_web/kakaopaysandbox/getAuthCode.js +3 -0
  44. package/lib/clients/mp_web/kakaopaysandbox/getBLEDeviceCharacteristics.d.ts +2 -0
  45. package/lib/clients/mp_web/kakaopaysandbox/getBLEDeviceCharacteristics.js +3 -0
  46. package/lib/clients/mp_web/kakaopaysandbox/getBLEDeviceServices.d.ts +2 -0
  47. package/lib/clients/mp_web/kakaopaysandbox/getBLEDeviceServices.js +3 -0
  48. package/lib/clients/mp_web/kakaopaysandbox/getBackgroundFetchData.d.ts +2 -0
  49. package/lib/clients/mp_web/kakaopaysandbox/getBackgroundFetchData.js +3 -0
  50. package/lib/clients/mp_web/kakaopaysandbox/getBatteryInfo.d.ts +2 -0
  51. package/lib/clients/mp_web/kakaopaysandbox/getBatteryInfo.js +3 -0
  52. package/lib/clients/mp_web/kakaopaysandbox/getBluetoothAdapterState.d.ts +2 -0
  53. package/lib/clients/mp_web/kakaopaysandbox/getBluetoothAdapterState.js +3 -0
  54. package/lib/clients/mp_web/kakaopaysandbox/getBluetoothDevices.d.ts +2 -0
  55. package/lib/clients/mp_web/kakaopaysandbox/getBluetoothDevices.js +3 -0
  56. package/lib/clients/mp_web/kakaopaysandbox/getClipboard.d.ts +2 -0
  57. package/lib/clients/mp_web/kakaopaysandbox/getClipboard.js +3 -0
  58. package/lib/clients/mp_web/kakaopaysandbox/getConnectedBluetoothDevices.d.ts +2 -0
  59. package/lib/clients/mp_web/kakaopaysandbox/getConnectedBluetoothDevices.js +3 -0
  60. package/lib/clients/mp_web/kakaopaysandbox/getCurrentPages.d.ts +2 -0
  61. package/lib/clients/mp_web/kakaopaysandbox/getCurrentPages.js +3 -0
  62. package/lib/clients/mp_web/kakaopaysandbox/getEnterOptionsSync.d.ts +2 -0
  63. package/lib/clients/mp_web/kakaopaysandbox/getEnterOptionsSync.js +3 -0
  64. package/lib/clients/mp_web/kakaopaysandbox/getFileInfo.d.ts +2 -0
  65. package/lib/clients/mp_web/kakaopaysandbox/getFileInfo.js +3 -0
  66. package/lib/clients/mp_web/kakaopaysandbox/getImageInfo.d.ts +2 -0
  67. package/lib/clients/mp_web/kakaopaysandbox/getImageInfo.js +3 -0
  68. package/lib/clients/mp_web/kakaopaysandbox/getLocation.d.ts +2 -0
  69. package/lib/clients/mp_web/kakaopaysandbox/getLocation.js +3 -0
  70. package/lib/clients/mp_web/kakaopaysandbox/getNetworkType.d.ts +2 -0
  71. package/lib/clients/mp_web/kakaopaysandbox/getNetworkType.js +3 -0
  72. package/lib/clients/mp_web/kakaopaysandbox/getOpenUserInfo.d.ts +2 -0
  73. package/lib/clients/mp_web/kakaopaysandbox/getOpenUserInfo.js +3 -0
  74. package/lib/clients/mp_web/kakaopaysandbox/getRunScene.d.ts +2 -0
  75. package/lib/clients/mp_web/kakaopaysandbox/getRunScene.js +3 -0
  76. package/lib/clients/mp_web/kakaopaysandbox/getSDKVersion.d.ts +2 -0
  77. package/lib/clients/mp_web/kakaopaysandbox/getSDKVersion.js +3 -0
  78. package/lib/clients/mp_web/kakaopaysandbox/getSavedFileInfo.d.ts +2 -0
  79. package/lib/clients/mp_web/kakaopaysandbox/getSavedFileInfo.js +3 -0
  80. package/lib/clients/mp_web/kakaopaysandbox/getSavedFileList.d.ts +2 -0
  81. package/lib/clients/mp_web/kakaopaysandbox/getSavedFileList.js +3 -0
  82. package/lib/clients/mp_web/kakaopaysandbox/getScreenBrightness.d.ts +2 -0
  83. package/lib/clients/mp_web/kakaopaysandbox/getScreenBrightness.js +3 -0
  84. package/lib/clients/mp_web/kakaopaysandbox/getServerTime.d.ts +2 -0
  85. package/lib/clients/mp_web/kakaopaysandbox/getServerTime.js +3 -0
  86. package/lib/clients/mp_web/kakaopaysandbox/getSetting.d.ts +2 -0
  87. package/lib/clients/mp_web/kakaopaysandbox/getSetting.js +3 -0
  88. package/lib/clients/mp_web/kakaopaysandbox/getSiteInfo.d.ts +2 -0
  89. package/lib/clients/mp_web/kakaopaysandbox/getSiteInfo.js +3 -0
  90. package/lib/clients/mp_web/kakaopaysandbox/getStorage.d.ts +2 -0
  91. package/lib/clients/mp_web/kakaopaysandbox/getStorage.js +3 -0
  92. package/lib/clients/mp_web/kakaopaysandbox/getSystemInfo.d.ts +2 -0
  93. package/lib/clients/mp_web/kakaopaysandbox/getSystemInfo.js +3 -0
  94. package/lib/clients/mp_web/kakaopaysandbox/hideBackHome.d.ts +2 -0
  95. package/lib/clients/mp_web/kakaopaysandbox/hideBackHome.js +3 -0
  96. package/lib/clients/mp_web/kakaopaysandbox/hideKeyboard.d.ts +2 -0
  97. package/lib/clients/mp_web/kakaopaysandbox/hideKeyboard.js +3 -0
  98. package/lib/clients/mp_web/kakaopaysandbox/hideLoading.d.ts +2 -0
  99. package/lib/clients/mp_web/kakaopaysandbox/hideLoading.js +3 -0
  100. package/lib/clients/mp_web/kakaopaysandbox/hideNavigationBarLoading.d.ts +2 -0
  101. package/lib/clients/mp_web/kakaopaysandbox/hideNavigationBarLoading.js +3 -0
  102. package/lib/clients/mp_web/kakaopaysandbox/hideTabBar.d.ts +2 -0
  103. package/lib/clients/mp_web/kakaopaysandbox/hideTabBar.js +3 -0
  104. package/lib/clients/mp_web/kakaopaysandbox/hideToast.d.ts +2 -0
  105. package/lib/clients/mp_web/kakaopaysandbox/hideToast.js +3 -0
  106. package/lib/clients/mp_web/kakaopaysandbox/index.d.ts +451 -0
  107. package/lib/clients/mp_web/kakaopaysandbox/index.js +261 -0
  108. package/lib/clients/mp_web/kakaopaysandbox/makePhoneCall.d.ts +2 -0
  109. package/lib/clients/mp_web/kakaopaysandbox/makePhoneCall.js +3 -0
  110. package/lib/clients/mp_web/kakaopaysandbox/multiLevelSelect.d.ts +2 -0
  111. package/lib/clients/mp_web/kakaopaysandbox/multiLevelSelect.js +3 -0
  112. package/lib/clients/mp_web/kakaopaysandbox/navigateBack.d.ts +2 -0
  113. package/lib/clients/mp_web/kakaopaysandbox/navigateBack.js +3 -0
  114. package/lib/clients/mp_web/kakaopaysandbox/navigateBackMiniProgram.d.ts +2 -0
  115. package/lib/clients/mp_web/kakaopaysandbox/navigateBackMiniProgram.js +3 -0
  116. package/lib/clients/mp_web/kakaopaysandbox/navigateTo.d.ts +2 -0
  117. package/lib/clients/mp_web/kakaopaysandbox/navigateTo.js +3 -0
  118. package/lib/clients/mp_web/kakaopaysandbox/navigateToBizScene.d.ts +2 -0
  119. package/lib/clients/mp_web/kakaopaysandbox/navigateToBizScene.js +3 -0
  120. package/lib/clients/mp_web/kakaopaysandbox/navigateToMiniProgram.d.ts +2 -0
  121. package/lib/clients/mp_web/kakaopaysandbox/navigateToMiniProgram.js +3 -0
  122. package/lib/clients/mp_web/kakaopaysandbox/notifyBLECharacteristicValueChange.d.ts +2 -0
  123. package/lib/clients/mp_web/kakaopaysandbox/notifyBLECharacteristicValueChange.js +3 -0
  124. package/lib/clients/mp_web/kakaopaysandbox/offAccelerometerChange.d.ts +2 -0
  125. package/lib/clients/mp_web/kakaopaysandbox/offAccelerometerChange.js +3 -0
  126. package/lib/clients/mp_web/kakaopaysandbox/offBLECharacteristicValueChange.d.ts +2 -0
  127. package/lib/clients/mp_web/kakaopaysandbox/offBLECharacteristicValueChange.js +3 -0
  128. package/lib/clients/mp_web/kakaopaysandbox/offBLEConnectionStateChanged.d.ts +2 -0
  129. package/lib/clients/mp_web/kakaopaysandbox/offBLEConnectionStateChanged.js +3 -0
  130. package/lib/clients/mp_web/kakaopaysandbox/offBluetoothAdapterStateChange.d.ts +2 -0
  131. package/lib/clients/mp_web/kakaopaysandbox/offBluetoothAdapterStateChange.js +3 -0
  132. package/lib/clients/mp_web/kakaopaysandbox/offBluetoothDeviceFound.d.ts +2 -0
  133. package/lib/clients/mp_web/kakaopaysandbox/offBluetoothDeviceFound.js +3 -0
  134. package/lib/clients/mp_web/kakaopaysandbox/offCompassChange.d.ts +2 -0
  135. package/lib/clients/mp_web/kakaopaysandbox/offCompassChange.js +3 -0
  136. package/lib/clients/mp_web/kakaopaysandbox/offMemoryWarning.d.ts +2 -0
  137. package/lib/clients/mp_web/kakaopaysandbox/offMemoryWarning.js +3 -0
  138. package/lib/clients/mp_web/kakaopaysandbox/offSocketClose.d.ts +2 -0
  139. package/lib/clients/mp_web/kakaopaysandbox/offSocketClose.js +3 -0
  140. package/lib/clients/mp_web/kakaopaysandbox/offSocketError.d.ts +2 -0
  141. package/lib/clients/mp_web/kakaopaysandbox/offSocketError.js +3 -0
  142. package/lib/clients/mp_web/kakaopaysandbox/offSocketMessage.d.ts +2 -0
  143. package/lib/clients/mp_web/kakaopaysandbox/offSocketMessage.js +3 -0
  144. package/lib/clients/mp_web/kakaopaysandbox/offSocketOpen.d.ts +2 -0
  145. package/lib/clients/mp_web/kakaopaysandbox/offSocketOpen.js +3 -0
  146. package/lib/clients/mp_web/kakaopaysandbox/offUserCaptureScreen.d.ts +2 -0
  147. package/lib/clients/mp_web/kakaopaysandbox/offUserCaptureScreen.js +3 -0
  148. package/lib/clients/mp_web/kakaopaysandbox/onAccelerometerChange.d.ts +2 -0
  149. package/lib/clients/mp_web/kakaopaysandbox/onAccelerometerChange.js +3 -0
  150. package/lib/clients/mp_web/kakaopaysandbox/onBLECharacteristicValueChange.d.ts +2 -0
  151. package/lib/clients/mp_web/kakaopaysandbox/onBLECharacteristicValueChange.js +3 -0
  152. package/lib/clients/mp_web/kakaopaysandbox/onBLEConnectionStateChanged.d.ts +2 -0
  153. package/lib/clients/mp_web/kakaopaysandbox/onBLEConnectionStateChanged.js +3 -0
  154. package/lib/clients/mp_web/kakaopaysandbox/onBluetoothAdapterStateChange.d.ts +2 -0
  155. package/lib/clients/mp_web/kakaopaysandbox/onBluetoothAdapterStateChange.js +3 -0
  156. package/lib/clients/mp_web/kakaopaysandbox/onBluetoothDeviceFound.d.ts +2 -0
  157. package/lib/clients/mp_web/kakaopaysandbox/onBluetoothDeviceFound.js +3 -0
  158. package/lib/clients/mp_web/kakaopaysandbox/onCompassChange.d.ts +2 -0
  159. package/lib/clients/mp_web/kakaopaysandbox/onCompassChange.js +3 -0
  160. package/lib/clients/mp_web/kakaopaysandbox/onMemoryWarning.d.ts +2 -0
  161. package/lib/clients/mp_web/kakaopaysandbox/onMemoryWarning.js +3 -0
  162. package/lib/clients/mp_web/kakaopaysandbox/onSocketClose.d.ts +2 -0
  163. package/lib/clients/mp_web/kakaopaysandbox/onSocketClose.js +3 -0
  164. package/lib/clients/mp_web/kakaopaysandbox/onSocketError.d.ts +2 -0
  165. package/lib/clients/mp_web/kakaopaysandbox/onSocketError.js +3 -0
  166. package/lib/clients/mp_web/kakaopaysandbox/onSocketMessage.d.ts +2 -0
  167. package/lib/clients/mp_web/kakaopaysandbox/onSocketMessage.js +3 -0
  168. package/lib/clients/mp_web/kakaopaysandbox/onSocketOpen.d.ts +2 -0
  169. package/lib/clients/mp_web/kakaopaysandbox/onSocketOpen.js +3 -0
  170. package/lib/clients/mp_web/kakaopaysandbox/onUserCaptureScreen.d.ts +2 -0
  171. package/lib/clients/mp_web/kakaopaysandbox/onUserCaptureScreen.js +3 -0
  172. package/lib/clients/mp_web/kakaopaysandbox/openBluetoothAdapter.d.ts +2 -0
  173. package/lib/clients/mp_web/kakaopaysandbox/openBluetoothAdapter.js +3 -0
  174. package/lib/clients/mp_web/kakaopaysandbox/openDocument.d.ts +2 -0
  175. package/lib/clients/mp_web/kakaopaysandbox/openDocument.js +3 -0
  176. package/lib/clients/mp_web/kakaopaysandbox/openSetting.d.ts +2 -0
  177. package/lib/clients/mp_web/kakaopaysandbox/openSetting.js +3 -0
  178. package/lib/clients/mp_web/kakaopaysandbox/pageScrollTo.d.ts +2 -0
  179. package/lib/clients/mp_web/kakaopaysandbox/pageScrollTo.js +3 -0
  180. package/lib/clients/mp_web/kakaopaysandbox/previewImage.d.ts +2 -0
  181. package/lib/clients/mp_web/kakaopaysandbox/previewImage.js +3 -0
  182. package/lib/clients/mp_web/kakaopaysandbox/prompt.d.ts +2 -0
  183. package/lib/clients/mp_web/kakaopaysandbox/prompt.js +3 -0
  184. package/lib/clients/mp_web/kakaopaysandbox/reLaunch.d.ts +2 -0
  185. package/lib/clients/mp_web/kakaopaysandbox/reLaunch.js +3 -0
  186. package/lib/clients/mp_web/kakaopaysandbox/readBLECharacteristicValue.d.ts +2 -0
  187. package/lib/clients/mp_web/kakaopaysandbox/readBLECharacteristicValue.js +3 -0
  188. package/lib/clients/mp_web/kakaopaysandbox/redirectTo.d.ts +2 -0
  189. package/lib/clients/mp_web/kakaopaysandbox/redirectTo.js +3 -0
  190. package/lib/clients/mp_web/kakaopaysandbox/removeSavedFile.d.ts +2 -0
  191. package/lib/clients/mp_web/kakaopaysandbox/removeSavedFile.js +3 -0
  192. package/lib/clients/mp_web/kakaopaysandbox/removeStorage.d.ts +2 -0
  193. package/lib/clients/mp_web/kakaopaysandbox/removeStorage.js +3 -0
  194. package/lib/clients/mp_web/kakaopaysandbox/request.d.ts +2 -0
  195. package/lib/clients/mp_web/kakaopaysandbox/request.js +3 -0
  196. package/lib/clients/mp_web/kakaopaysandbox/rpc.d.ts +2 -0
  197. package/lib/clients/mp_web/kakaopaysandbox/rpc.js +3 -0
  198. package/lib/clients/mp_web/kakaopaysandbox/saveFile.d.ts +2 -0
  199. package/lib/clients/mp_web/kakaopaysandbox/saveFile.js +3 -0
  200. package/lib/clients/mp_web/kakaopaysandbox/saveImage.d.ts +2 -0
  201. package/lib/clients/mp_web/kakaopaysandbox/saveImage.js +3 -0
  202. package/lib/clients/mp_web/kakaopaysandbox/scan.d.ts +2 -0
  203. package/lib/clients/mp_web/kakaopaysandbox/scan.js +3 -0
  204. package/lib/clients/mp_web/kakaopaysandbox/sendSocketMessage.d.ts +2 -0
  205. package/lib/clients/mp_web/kakaopaysandbox/sendSocketMessage.js +3 -0
  206. package/lib/clients/mp_web/kakaopaysandbox/setBackgroundColor.d.ts +2 -0
  207. package/lib/clients/mp_web/kakaopaysandbox/setBackgroundColor.js +3 -0
  208. package/lib/clients/mp_web/kakaopaysandbox/setCanPullDown.d.ts +2 -0
  209. package/lib/clients/mp_web/kakaopaysandbox/setCanPullDown.js +3 -0
  210. package/lib/clients/mp_web/kakaopaysandbox/setClipboard.d.ts +2 -0
  211. package/lib/clients/mp_web/kakaopaysandbox/setClipboard.js +3 -0
  212. package/lib/clients/mp_web/kakaopaysandbox/setKeepScreenOn.d.ts +2 -0
  213. package/lib/clients/mp_web/kakaopaysandbox/setKeepScreenOn.js +3 -0
  214. package/lib/clients/mp_web/kakaopaysandbox/setNavigationBar.d.ts +2 -0
  215. package/lib/clients/mp_web/kakaopaysandbox/setNavigationBar.js +3 -0
  216. package/lib/clients/mp_web/kakaopaysandbox/setScreenBrightness.d.ts +2 -0
  217. package/lib/clients/mp_web/kakaopaysandbox/setScreenBrightness.js +3 -0
  218. package/lib/clients/mp_web/kakaopaysandbox/setStorage.d.ts +2 -0
  219. package/lib/clients/mp_web/kakaopaysandbox/setStorage.js +3 -0
  220. package/lib/clients/mp_web/kakaopaysandbox/setTabBarItem.d.ts +2 -0
  221. package/lib/clients/mp_web/kakaopaysandbox/setTabBarItem.js +3 -0
  222. package/lib/clients/mp_web/kakaopaysandbox/setTabBarStyle.d.ts +2 -0
  223. package/lib/clients/mp_web/kakaopaysandbox/setTabBarStyle.js +3 -0
  224. package/lib/clients/mp_web/kakaopaysandbox/setTransparentTitle.d.ts +2 -0
  225. package/lib/clients/mp_web/kakaopaysandbox/setTransparentTitle.js +3 -0
  226. package/lib/clients/mp_web/kakaopaysandbox/showActionSheet.d.ts +2 -0
  227. package/lib/clients/mp_web/kakaopaysandbox/showActionSheet.js +3 -0
  228. package/lib/clients/mp_web/kakaopaysandbox/showAuthGuide.d.ts +2 -0
  229. package/lib/clients/mp_web/kakaopaysandbox/showAuthGuide.js +3 -0
  230. package/lib/clients/mp_web/kakaopaysandbox/showLoading.d.ts +2 -0
  231. package/lib/clients/mp_web/kakaopaysandbox/showLoading.js +3 -0
  232. package/lib/clients/mp_web/kakaopaysandbox/showNavigationBarLoading.d.ts +2 -0
  233. package/lib/clients/mp_web/kakaopaysandbox/showNavigationBarLoading.js +3 -0
  234. package/lib/clients/mp_web/kakaopaysandbox/showSharePanel.d.ts +2 -0
  235. package/lib/clients/mp_web/kakaopaysandbox/showSharePanel.js +3 -0
  236. package/lib/clients/mp_web/kakaopaysandbox/showTabBar.d.ts +2 -0
  237. package/lib/clients/mp_web/kakaopaysandbox/showTabBar.js +3 -0
  238. package/lib/clients/mp_web/kakaopaysandbox/showToast.d.ts +2 -0
  239. package/lib/clients/mp_web/kakaopaysandbox/showToast.js +3 -0
  240. package/lib/clients/mp_web/kakaopaysandbox/signContract.d.ts +2 -0
  241. package/lib/clients/mp_web/kakaopaysandbox/signContract.js +3 -0
  242. package/lib/clients/mp_web/kakaopaysandbox/startBluetoothDevicesDiscovery.d.ts +2 -0
  243. package/lib/clients/mp_web/kakaopaysandbox/startBluetoothDevicesDiscovery.js +3 -0
  244. package/lib/clients/mp_web/kakaopaysandbox/startPullDownRefresh.d.ts +2 -0
  245. package/lib/clients/mp_web/kakaopaysandbox/startPullDownRefresh.js +3 -0
  246. package/lib/clients/mp_web/kakaopaysandbox/stopBluetoothDevicesDiscovery.d.ts +2 -0
  247. package/lib/clients/mp_web/kakaopaysandbox/stopBluetoothDevicesDiscovery.js +3 -0
  248. package/lib/clients/mp_web/kakaopaysandbox/stopPullDownRefresh.d.ts +2 -0
  249. package/lib/clients/mp_web/kakaopaysandbox/stopPullDownRefresh.js +3 -0
  250. package/lib/clients/mp_web/kakaopaysandbox/switchTab.d.ts +2 -0
  251. package/lib/clients/mp_web/kakaopaysandbox/switchTab.js +3 -0
  252. package/lib/clients/mp_web/kakaopaysandbox/tradePay.d.ts +2 -0
  253. package/lib/clients/mp_web/kakaopaysandbox/tradePay.js +3 -0
  254. package/lib/clients/mp_web/kakaopaysandbox/uploadFile.d.ts +2 -0
  255. package/lib/clients/mp_web/kakaopaysandbox/uploadFile.js +3 -0
  256. package/lib/clients/mp_web/kakaopaysandbox/vibrate.d.ts +2 -0
  257. package/lib/clients/mp_web/kakaopaysandbox/vibrate.js +3 -0
  258. package/lib/clients/mp_web/kakaopaysandbox/watchShake.d.ts +2 -0
  259. package/lib/clients/mp_web/kakaopaysandbox/watchShake.js +3 -0
  260. package/lib/clients/mp_web/kakaopaysandbox/writeBLECharacteristicValue.d.ts +2 -0
  261. package/lib/clients/mp_web/kakaopaysandbox/writeBLECharacteristicValue.js +3 -0
  262. package/lib/common/apis/custom/web/changipay/getAuthCode.js +3 -0
  263. package/lib/common/apis/custom/web/h5/request.js +7 -0
  264. package/lib/dsl.d.ts +210 -210
  265. package/lib/dsl.js +210 -210
  266. package/lib/umd/index.js +1 -1
  267. package/lib/umd/mp_web_alipay.js +1 -1
  268. package/lib/umd/mp_web_kakaopaysandbox.js +1 -0
  269. package/lib/umd/mp_web_mpay.js +1 -1
  270. package/lib/umd/web_alipay.js +1 -1
  271. package/lib/umd/web_changipay.js +1 -1
  272. package/lib/umd/web_h5.js +1 -1
  273. package/lib/umd/web_kaspi.js +1 -1
  274. package/package.json +1 -1
@@ -0,0 +1,451 @@
1
+ import { addPhoneContact, addPhoneContactAsync } from '../../../common/apis/generated/mp_web/addPhoneContact';
2
+ import { alert, alertAsync } from '../../../common/apis/generated/mp_web/alert';
3
+ import { chooseImage, chooseImageAsync } from '../../../common/apis/generated/mp_web/chooseImage';
4
+ import { choosePhoneContact, choosePhoneContactAsync } from '../../../common/apis/generated/mp_web/choosePhoneContact';
5
+ import { clearStorage, clearStorageAsync } from '../../../common/apis/generated/mp_web/clearStorage';
6
+ import { closeBluetoothAdapter, closeBluetoothAdapterAsync } from '../../../common/apis/generated/mp_web/closeBluetoothAdapter';
7
+ import { closeSocket, closeSocketAsync } from '../../../common/apis/generated/mp_web/closeSocket';
8
+ import { confirm, confirmAsync } from '../../../common/apis/generated/mp_web/confirm';
9
+ import { connectBLEDevice, connectBLEDeviceAsync } from '../../../common/apis/generated/mp_web/connectBLEDevice';
10
+ import { connectSocket, connectSocketAsync } from '../../../common/apis/generated/mp_web/connectSocket';
11
+ import { datePicker, datePickerAsync } from '../../../common/apis/generated/mp_web/datePicker';
12
+ import { disconnectBLEDevice, disconnectBLEDeviceAsync } from '../../../common/apis/generated/mp_web/disconnectBLEDevice';
13
+ import { downloadFile, downloadFileAsync } from '../../../common/apis/generated/mp_web/downloadFile';
14
+ import { exitApp, exitAppAsync } from '../../../common/apis/generated/mp_web/exitApp';
15
+ import { getAppToken, getAppTokenAsync } from '../../../common/apis/generated/mp_web/getAppToken';
16
+ import { getAuthCode, getAuthCodeAsync } from '../../../common/apis/generated/mp_web/getAuthCode';
17
+ import { getBatteryInfo, getBatteryInfoAsync } from '../../../common/apis/generated/mp_web/getBatteryInfo';
18
+ import { getBLEDeviceCharacteristics, getBLEDeviceCharacteristicsAsync } from '../../../common/apis/generated/mp_web/getBLEDeviceCharacteristics';
19
+ import { getBLEDeviceServices, getBLEDeviceServicesAsync } from '../../../common/apis/generated/mp_web/getBLEDeviceServices';
20
+ import { getBluetoothAdapterState, getBluetoothAdapterStateAsync } from '../../../common/apis/generated/mp_web/getBluetoothAdapterState';
21
+ import { getBluetoothDevices, getBluetoothDevicesAsync } from '../../../common/apis/generated/mp_web/getBluetoothDevices';
22
+ import { getClipboard, getClipboardAsync } from '../../../common/apis/generated/mp_web/getClipboard';
23
+ import { getConnectedBluetoothDevices, getConnectedBluetoothDevicesAsync } from '../../../common/apis/generated/mp_web/getConnectedBluetoothDevices';
24
+ import { getFileInfo, getFileInfoAsync } from '../../../common/apis/generated/mp_web/getFileInfo';
25
+ import { getImageInfo, getImageInfoAsync } from '../../../common/apis/generated/mp_web/getImageInfo';
26
+ import { getLocation, getLocationAsync } from '../../../common/apis/generated/mp_web/getLocation';
27
+ import { getNetworkType, getNetworkTypeAsync } from '../../../common/apis/generated/mp_web/getNetworkType';
28
+ import { getOpenUserInfo, getOpenUserInfoAsync } from '../../../common/apis/generated/mp_web/getOpenUserInfo';
29
+ import { getSavedFileInfo, getSavedFileInfoAsync } from '../../../common/apis/generated/mp_web/getSavedFileInfo';
30
+ import { getSavedFileList, getSavedFileListAsync } from '../../../common/apis/generated/mp_web/getSavedFileList';
31
+ import { getScreenBrightness, getScreenBrightnessAsync } from '../../../common/apis/generated/mp_web/getScreenBrightness';
32
+ import { getServerTime, getServerTimeAsync } from '../../../common/apis/generated/mp_web/getServerTime';
33
+ import { getSetting, getSettingAsync } from '../../../common/apis/generated/mp_web/getSetting';
34
+ import { getSiteInfo, getSiteInfoAsync } from '../../../common/apis/generated/mp_web/getSiteInfo';
35
+ import { getStorage, getStorageAsync } from '../../../common/apis/generated/mp_web/getStorage';
36
+ import { getSystemInfo, getSystemInfoAsync } from '../../../common/apis/generated/mp_web/getSystemInfo';
37
+ import { hideBackHome, hideBackHomeAsync } from '../../../common/apis/generated/mp_web/hideBackHome';
38
+ import { hideKeyboard, hideKeyboardAsync } from '../../../common/apis/generated/mp_web/hideKeyboard';
39
+ import { hideLoading, hideLoadingAsync } from '../../../common/apis/generated/mp_web/hideLoading';
40
+ import { hideNavigationBarLoading, hideNavigationBarLoadingAsync } from '../../../common/apis/generated/mp_web/hideNavigationBarLoading';
41
+ import { hideTabBar, hideTabBarAsync } from '../../../common/apis/generated/mp_web/hideTabBar';
42
+ import { hideToast, hideToastAsync } from '../../../common/apis/generated/mp_web/hideToast';
43
+ import { makePhoneCall, makePhoneCallAsync } from '../../../common/apis/generated/mp_web/makePhoneCall';
44
+ import { multiLevelSelect, multiLevelSelectAsync } from '../../../common/apis/generated/mp_web/multiLevelSelect';
45
+ import { navigateBack, navigateBackAsync } from '../../../common/apis/generated/mp_web/navigateBack';
46
+ import { navigateBackMiniProgram, navigateBackMiniProgramAsync } from '../../../common/apis/generated/mp_web/navigateBackMiniProgram';
47
+ import { navigateTo, navigateToAsync } from '../../../common/apis/generated/mp_web/navigateTo';
48
+ import { navigateToBizScene, navigateToBizSceneAsync } from '../../../common/apis/generated/mp_web/navigateToBizScene';
49
+ import { navigateToMiniProgram, navigateToMiniProgramAsync } from '../../../common/apis/generated/mp_web/navigateToMiniProgram';
50
+ import { notifyBLECharacteristicValueChange, notifyBLECharacteristicValueChangeAsync } from '../../../common/apis/generated/mp_web/notifyBLECharacteristicValueChange';
51
+ import { offAccelerometerChange } from '../../../common/apis/generated/mp_web/offAccelerometerChange';
52
+ import { offBLECharacteristicValueChange } from '../../../common/apis/generated/mp_web/offBLECharacteristicValueChange';
53
+ import { offBLEConnectionStateChanged } from '../../../common/apis/generated/mp_web/offBLEConnectionStateChanged';
54
+ import { offBluetoothAdapterStateChange } from '../../../common/apis/generated/mp_web/offBluetoothAdapterStateChange';
55
+ import { offBluetoothDeviceFound } from '../../../common/apis/generated/mp_web/offBluetoothDeviceFound';
56
+ import { offCompassChange } from '../../../common/apis/generated/mp_web/offCompassChange';
57
+ import { offMemoryWarning } from '../../../common/apis/generated/mp_web/offMemoryWarning';
58
+ import { offSocketClose } from '../../../common/apis/generated/mp_web/offSocketClose';
59
+ import { offSocketError } from '../../../common/apis/generated/mp_web/offSocketError';
60
+ import { offSocketMessage } from '../../../common/apis/generated/mp_web/offSocketMessage';
61
+ import { offSocketOpen } from '../../../common/apis/generated/mp_web/offSocketOpen';
62
+ import { offUserCaptureScreen } from '../../../common/apis/generated/mp_web/offUserCaptureScreen';
63
+ import { onAccelerometerChange } from '../../../common/apis/generated/mp_web/onAccelerometerChange';
64
+ import { onBLECharacteristicValueChange } from '../../../common/apis/generated/mp_web/onBLECharacteristicValueChange';
65
+ import { onBLEConnectionStateChanged } from '../../../common/apis/generated/mp_web/onBLEConnectionStateChanged';
66
+ import { onBluetoothAdapterStateChange } from '../../../common/apis/generated/mp_web/onBluetoothAdapterStateChange';
67
+ import { onBluetoothDeviceFound } from '../../../common/apis/generated/mp_web/onBluetoothDeviceFound';
68
+ import { onCompassChange } from '../../../common/apis/generated/mp_web/onCompassChange';
69
+ import { onMemoryWarning } from '../../../common/apis/generated/mp_web/onMemoryWarning';
70
+ import { onSocketClose } from '../../../common/apis/generated/mp_web/onSocketClose';
71
+ import { onSocketError } from '../../../common/apis/generated/mp_web/onSocketError';
72
+ import { onSocketMessage } from '../../../common/apis/generated/mp_web/onSocketMessage';
73
+ import { onSocketOpen } from '../../../common/apis/generated/mp_web/onSocketOpen';
74
+ import { onUserCaptureScreen } from '../../../common/apis/generated/mp_web/onUserCaptureScreen';
75
+ import { openBluetoothAdapter, openBluetoothAdapterAsync } from '../../../common/apis/generated/mp_web/openBluetoothAdapter';
76
+ import { openDocument, openDocumentAsync } from '../../../common/apis/generated/mp_web/openDocument';
77
+ import { openSetting, openSettingAsync } from '../../../common/apis/generated/mp_web/openSetting';
78
+ import { pageScrollTo, pageScrollToAsync } from '../../../common/apis/generated/mp_web/pageScrollTo';
79
+ import { previewImage, previewImageAsync } from '../../../common/apis/generated/mp_web/previewImage';
80
+ import { prompt, promptAsync } from '../../../common/apis/generated/mp_web/prompt';
81
+ import { readBLECharacteristicValue, readBLECharacteristicValueAsync } from '../../../common/apis/generated/mp_web/readBLECharacteristicValue';
82
+ import { redirectTo, redirectToAsync } from '../../../common/apis/generated/mp_web/redirectTo';
83
+ import { reLaunch, reLaunchAsync } from '../../../common/apis/generated/mp_web/reLaunch';
84
+ import { removeSavedFile, removeSavedFileAsync } from '../../../common/apis/generated/mp_web/removeSavedFile';
85
+ import { removeStorage, removeStorageAsync } from '../../../common/apis/generated/mp_web/removeStorage';
86
+ import { request, requestAsync } from '../../../common/apis/generated/mp_web/request';
87
+ import { rpc, rpcAsync } from '../../../common/apis/generated/mp_web/rpc';
88
+ import { saveFile, saveFileAsync } from '../../../common/apis/generated/mp_web/saveFile';
89
+ import { saveImage, saveImageAsync } from '../../../common/apis/generated/mp_web/saveImage';
90
+ import { scan, scanAsync } from '../../../common/apis/generated/mp_web/scan';
91
+ import { sendSocketMessage, sendSocketMessageAsync } from '../../../common/apis/generated/mp_web/sendSocketMessage';
92
+ import { setBackgroundColor, setBackgroundColorAsync } from '../../../common/apis/generated/mp_web/setBackgroundColor';
93
+ import { setCanPullDown, setCanPullDownAsync } from '../../../common/apis/generated/mp_web/setCanPullDown';
94
+ import { setClipboard, setClipboardAsync } from '../../../common/apis/generated/mp_web/setClipboard';
95
+ import { setKeepScreenOn, setKeepScreenOnAsync } from '../../../common/apis/generated/mp_web/setKeepScreenOn';
96
+ import { setNavigationBar, setNavigationBarAsync } from '../../../common/apis/generated/mp_web/setNavigationBar';
97
+ import { setScreenBrightness, setScreenBrightnessAsync } from '../../../common/apis/generated/mp_web/setScreenBrightness';
98
+ import { setStorage, setStorageAsync } from '../../../common/apis/generated/mp_web/setStorage';
99
+ import { setTabBarStyle, setTabBarStyleAsync } from '../../../common/apis/generated/mp_web/setTabBarStyle';
100
+ import { showActionSheet, showActionSheetAsync } from '../../../common/apis/generated/mp_web/showActionSheet';
101
+ import { showAuthGuide, showAuthGuideAsync } from '../../../common/apis/generated/mp_web/showAuthGuide';
102
+ import { showLoading, showLoadingAsync } from '../../../common/apis/generated/mp_web/showLoading';
103
+ import { showNavigationBarLoading, showNavigationBarLoadingAsync } from '../../../common/apis/generated/mp_web/showNavigationBarLoading';
104
+ import { showToast, showToastAsync } from '../../../common/apis/generated/mp_web/showToast';
105
+ import { signContract, signContractAsync } from '../../../common/apis/generated/mp_web/signContract';
106
+ import { startBluetoothDevicesDiscovery, startBluetoothDevicesDiscoveryAsync } from '../../../common/apis/generated/mp_web/startBluetoothDevicesDiscovery';
107
+ import { startPullDownRefresh, startPullDownRefreshAsync } from '../../../common/apis/generated/mp_web/startPullDownRefresh';
108
+ import { stopBluetoothDevicesDiscovery, stopBluetoothDevicesDiscoveryAsync } from '../../../common/apis/generated/mp_web/stopBluetoothDevicesDiscovery';
109
+ import { stopPullDownRefresh, stopPullDownRefreshAsync } from '../../../common/apis/generated/mp_web/stopPullDownRefresh';
110
+ import { switchTab, switchTabAsync } from '../../../common/apis/generated/mp_web/switchTab';
111
+ import { tradePay, tradePayAsync } from '../../../common/apis/generated/mp_web/tradePay';
112
+ import { uploadFile, uploadFileAsync } from '../../../common/apis/generated/mp_web/uploadFile';
113
+ import { vibrate, vibrateAsync } from '../../../common/apis/generated/mp_web/vibrate';
114
+ import { watchShake, watchShakeAsync } from '../../../common/apis/generated/mp_web/watchShake';
115
+ import { writeBLECharacteristicValue, writeBLECharacteristicValueAsync } from '../../../common/apis/generated/mp_web/writeBLECharacteristicValue';
116
+ import { showSharePanel, showSharePanelAsync } from '../../../common/apis/generated/mp_web/showSharePanel';
117
+ import { setTransparentTitle, setTransparentTitleAsync } from '../../../common/apis/generated/mp_web/setTransparentTitle';
118
+ import { getRunScene, getRunSceneAsync } from '../../../common/apis/generated/mp_web/getRunScene';
119
+ import { chooseFileFromDisk, chooseFileFromDiskAsync } from '../../../common/apis/generated/mp_web/chooseFileFromDisk';
120
+ import { chooseVideo, chooseVideoAsync } from '../../../common/apis/generated/mp_web/chooseVideo';
121
+ import { compressImage, compressImageAsync } from '../../../common/apis/generated/mp_web/compressImage';
122
+ import { setTabBarItem, setTabBarItemAsync } from '../../../common/apis/generated/mp_web/setTabBarItem';
123
+ import { showTabBar, showTabBarAsync } from '../../../common/apis/generated/mp_web/showTabBar';
124
+ import { getBackgroundFetchData, getBackgroundFetchDataAsync } from '../../../common/apis/generated/mp_web/getBackgroundFetchData';
125
+ import { getEnterOptionsSync, getEnterOptionsSyncAsync } from '../../../common/apis/generated/mp_web/getEnterOptionsSync';
126
+ import getAppId from './getAppId';
127
+ import getCurrentPages from './getCurrentPages';
128
+ import getSDKVersion from './getSDKVersion';
129
+ declare const _default: {
130
+ addPhoneContact: (args: Partial<AddPhoneContactArgs>) => void;
131
+ alert: (args?: AlertArgs | undefined) => void;
132
+ chooseImage: (args: ChooseImageArgs) => void;
133
+ choosePhoneContact: (args: ChoosePhoneContactArgs) => void;
134
+ clearStorage: (args?: AsyncCallback<any> | undefined) => void;
135
+ closeBluetoothAdapter: (args?: AsyncCallback<any> | undefined) => void;
136
+ closeSocket: (args?: AsyncCallback<any> | undefined) => void;
137
+ confirm: (args: ConfirmArgs) => void;
138
+ connectBLEDevice: (args: {
139
+ deviceId: string;
140
+ } & AsyncCallback<any>) => void;
141
+ connectSocket: (args?: ConnectSocketArgs | undefined) => void;
142
+ datePicker: (args?: DatePickerArgs | undefined) => void;
143
+ disconnectBLEDevice: (args: {
144
+ deviceId: string;
145
+ } & AsyncCallback<any>) => void;
146
+ downloadFile: (args: DownloadFileArgs) => void;
147
+ exitApp: (args?: any) => void;
148
+ getAppToken: (args: {
149
+ appName: string;
150
+ appKey: string;
151
+ } & import("@hylid/types").AsyncCallback<{
152
+ appToken: string;
153
+ }>) => void;
154
+ getAuthCode: (args: {
155
+ scopes: string | string[];
156
+ appId?: string | undefined;
157
+ } & import("@hylid/types").AsyncCallback<GetAuthCodeCallbackValue>) => void;
158
+ getBatteryInfo: (args?: AsyncCallback<{
159
+ level: number;
160
+ isCharging: boolean;
161
+ }> | undefined) => void;
162
+ getBLEDeviceCharacteristics: (args: {
163
+ deviceId: string;
164
+ serviceId: string;
165
+ } & AsyncCallback<{
166
+ characteristic: {
167
+ characteristicId: string;
168
+ serviceId: string;
169
+ value: string;
170
+ properties: {
171
+ read: boolean;
172
+ write: boolean;
173
+ notify: boolean;
174
+ indicate: boolean;
175
+ };
176
+ }[];
177
+ }>) => void;
178
+ getBLEDeviceServices: (args: {
179
+ deviceId: string;
180
+ } & AsyncCallback<{
181
+ services: {
182
+ isPrimary: boolean;
183
+ serviceId: string;
184
+ }[];
185
+ }>) => void;
186
+ getBluetoothAdapterState: (args: AsyncCallback<{
187
+ discovering: boolean;
188
+ available: boolean;
189
+ }>) => void;
190
+ getBluetoothDevices: (args: AsyncCallback<{
191
+ devices: BluetoothDevices[];
192
+ }>) => void;
193
+ getClipboard: (args: GetClipboardArgs) => void;
194
+ getConnectedBluetoothDevices: (args: {
195
+ deviceId: string;
196
+ } & AsyncCallback<any>) => void;
197
+ getFileInfo: (args: GetFileArgs) => void;
198
+ getImageInfo: (args: GetImageInfo) => void;
199
+ getLocation: (args: {
200
+ bizType?: string | undefined;
201
+ requestType?: number | undefined;
202
+ timeout?: number | undefined;
203
+ horizontalAccuracy?: number | undefined;
204
+ } & GetLocationArgs) => void;
205
+ getNetworkType: (args: GetNetworkTypeArgs) => void;
206
+ getOpenUserInfo: (args: GetOpenUserInfoArgs) => void;
207
+ getSavedFileInfo: (args: GetSavedFileInfo) => void;
208
+ getSavedFileList: (args: GetSavedFileListArgs) => void;
209
+ getScreenBrightness: (args: AsyncCallback<{
210
+ brightness: number;
211
+ }>) => void;
212
+ getServerTime: (args: AsyncCallback<{
213
+ time: number;
214
+ }>) => void;
215
+ getSetting: (args?: AsyncCallback<{
216
+ authSetting: {
217
+ camera: boolean;
218
+ location: boolean;
219
+ album: boolean;
220
+ userInfo: boolean;
221
+ phoneNumber: boolean;
222
+ };
223
+ }> | undefined) => void;
224
+ getSiteInfo: (args: AsyncCallback<GetSiteInfoCallbackValue>) => void;
225
+ getStorage: (args: GetStorage) => void;
226
+ getSystemInfo: (args: GetSystemInfoArgs) => void;
227
+ hideBackHome: () => void;
228
+ hideKeyboard: () => void;
229
+ hideLoading: (args?: HideLoadingArgs | undefined) => void;
230
+ hideNavigationBarLoading: () => void;
231
+ hideTabBar: (args: HideTabBarArgs) => void;
232
+ hideToast: (args?: AsyncCallback<any> | undefined) => void;
233
+ makePhoneCall: (args: {
234
+ number: string;
235
+ }) => void;
236
+ multiLevelSelect: (args: MultiLevelSelectArgs) => void;
237
+ navigateBack: (args: NavigateBackArgs) => void;
238
+ navigateBackMiniProgram: (args: NavigateBackMiniProgramArgs) => void;
239
+ navigateTo: (args: NavigateToArgs) => void;
240
+ navigateToBizScene: (args: {
241
+ sceneCode: string;
242
+ param?: {
243
+ [key: string]: any;
244
+ scheme?: string | undefined;
245
+ } | undefined;
246
+ } & import("@hylid/types").AsyncCallback<void>) => void;
247
+ navigateToMiniProgram: (args: NavigateToMiniProgramArgs) => void;
248
+ notifyBLECharacteristicValueChange: (args: {
249
+ deviceId: string;
250
+ serviceId: string;
251
+ characteristicId: string;
252
+ descriptorId?: string | undefined;
253
+ state?: boolean | undefined;
254
+ } & AsyncCallback<any>) => void;
255
+ offAccelerometerChange: (args?: ((arg: any) => void) | undefined) => void;
256
+ offBLECharacteristicValueChange: (args?: ((arg: any) => void) | undefined) => void;
257
+ offBLEConnectionStateChanged: (args?: ((arg: any) => void) | undefined) => void;
258
+ offBluetoothAdapterStateChange: (args?: ((arg: any) => void) | undefined) => void;
259
+ offBluetoothDeviceFound: (args?: ((arg: any) => void) | undefined) => void;
260
+ offCompassChange: (args?: ((arg: any) => void) | undefined) => void;
261
+ offMemoryWarning: (arg?: ((arg: {
262
+ level: number;
263
+ }) => void) | undefined) => void;
264
+ offSocketClose: (args?: ((arg: any) => void) | undefined) => void;
265
+ offSocketError: (args?: ((arg: any) => void) | undefined) => void;
266
+ offSocketMessage: (args?: ((arg: any) => void) | undefined) => void;
267
+ offSocketOpen: (args?: ((arg: any) => void) | undefined) => void;
268
+ offUserCaptureScreen: (args?: (() => void) | undefined) => void;
269
+ onAccelerometerChange: (args: (arg: {
270
+ x: number;
271
+ y: number;
272
+ z: number;
273
+ }) => void) => void;
274
+ onBLECharacteristicValueChange: (args: (arg: {
275
+ deviceId: string;
276
+ connected: boolean;
277
+ }) => void) => void;
278
+ onBLEConnectionStateChanged: (args: (arg: {
279
+ deviceId: string;
280
+ connected: boolean;
281
+ }) => void) => void;
282
+ onBluetoothAdapterStateChange: (args?: AsyncCallback<{
283
+ discovering: boolean;
284
+ available: boolean;
285
+ }> | undefined) => void;
286
+ onBluetoothDeviceFound: (args: AsyncCallback<{
287
+ devices: BluetoothDevices[];
288
+ }>) => void;
289
+ onCompassChange: (args?: ((arg: {
290
+ direction: number;
291
+ }) => void) | undefined) => void;
292
+ onMemoryWarning: (arg: (arg: {
293
+ level: number;
294
+ }) => void) => void;
295
+ onSocketClose: (args: (arg: any) => void) => void;
296
+ onSocketError: (args: (arg: any) => void) => void;
297
+ onSocketMessage: (args: (arg: {
298
+ data: string;
299
+ isBuffer?: boolean | undefined;
300
+ }) => void) => void;
301
+ onSocketOpen: (args: (arg: any) => void) => void;
302
+ onUserCaptureScreen: (args: () => void) => void;
303
+ openBluetoothAdapter: (args: AsyncCallback<any>) => void;
304
+ openDocument: (args: {
305
+ filePath: string;
306
+ fileType: string;
307
+ } & AsyncCallback<any>) => void;
308
+ openSetting: (args?: AsyncCallback<{
309
+ authSetting: {
310
+ camera: any;
311
+ location: any;
312
+ album: any;
313
+ userInfo: any;
314
+ phoneNumber: any;
315
+ };
316
+ }> | undefined) => void;
317
+ pageScrollTo: (args: PageScrollToArgs) => void;
318
+ previewImage: (args: PreviewImageArgs) => void;
319
+ prompt: (args: PromptArgs) => void;
320
+ readBLECharacteristicValue: (args: ReadBLECharacteristicValueArgs) => void;
321
+ redirectTo: (args: RedirectToArgs) => void;
322
+ reLaunch: (args: ReLaunchArgs) => void;
323
+ removeSavedFile: (args: RemoveSavedFileArgs) => void;
324
+ removeStorage: (args: RemoveStorageArgs) => void;
325
+ request: (args: {
326
+ url: string;
327
+ headers?: {
328
+ [key: string]: string;
329
+ } | undefined;
330
+ method?: "GET" | "POST" | undefined;
331
+ data?: any;
332
+ timeout?: number | undefined;
333
+ dataType?: "json" | "text" | "base64" | "arraybuffer" | undefined;
334
+ } & import("@hylid/types").AsyncCallback<{
335
+ data: any;
336
+ status: number;
337
+ headers: any;
338
+ }>) => void;
339
+ rpc: (args: import("@hylid/types").IRPCArgs & import("@hylid/types").AsyncCallback<{
340
+ headers: Record<string, string>;
341
+ resData: object;
342
+ }>) => void;
343
+ saveFile: (args: SaveFileArgs) => void;
344
+ saveImage: (args: SaveImageArgs) => void;
345
+ scan: (args: ScanArgs) => void;
346
+ sendSocketMessage: (args?: SendSocketMessageArgs | undefined) => void;
347
+ setBackgroundColor: (args: SetBackgroundColorArgs) => void;
348
+ setCanPullDown: (args: {
349
+ canPullDown: boolean;
350
+ } & import("@hylid/types").AsyncCallback<void>) => void;
351
+ setClipboard: (args: SetClipboardArgs) => void;
352
+ setKeepScreenOn: (args: SetKeepScreenOnArgs) => void;
353
+ setNavigationBar: (args: SetNavigationBarArgs) => void;
354
+ setScreenBrightness: (args: SetScreenBrightnessArgs) => void;
355
+ setStorage: (args: SetStorage) => void;
356
+ setTabBarStyle: (args: SetTabBarStyleArgs) => void;
357
+ showActionSheet: (args: ShowActionSheetArgs) => void;
358
+ showAuthGuide: (args: import("@hylid/types").AsyncCallback<{
359
+ shown: boolean;
360
+ }> & {
361
+ authType: string;
362
+ bizType?: string | undefined;
363
+ }) => void;
364
+ showLoading: (args?: ShowLoadingArgs | undefined) => void;
365
+ showNavigationBarLoading: () => void;
366
+ showToast: (args?: ShowToastArgs | undefined) => void;
367
+ signContract: (args: SignContractArgs) => void;
368
+ startBluetoothDevicesDiscovery: (args?: StartBluetoothDevicesDiscoveryArgs | undefined) => void;
369
+ startPullDownRefresh: (args?: AsyncCallback<any> | undefined) => void;
370
+ stopBluetoothDevicesDiscovery: (args?: AsyncCallback<any> | undefined) => void;
371
+ stopPullDownRefresh: (args?: AsyncCallback<any> | undefined) => void;
372
+ switchTab: (args: SwitchTabArgs) => void;
373
+ tradePay: (args: TradePayArgs) => void;
374
+ uploadFile: (args: UploadFileArgs) => void;
375
+ vibrate: (args: AsyncCallback<void>) => void;
376
+ watchShake: (args?: AsyncCallback<any> | undefined) => void;
377
+ writeBLECharacteristicValue: (args: WriteBLECharacteristicValueArgs) => void;
378
+ showSharePanel: (args?: any) => void;
379
+ setTransparentTitle: (args: {
380
+ transparentTitle: "none" | "auto" | "always" | "custom";
381
+ } & import("@hylid/types").AsyncCallback<{
382
+ success: boolean;
383
+ }>) => void;
384
+ getRunScene: (args: import("@hylid/types").AsyncCallback<{
385
+ envVersion: "develop" | "trial" | "release";
386
+ }>) => void;
387
+ chooseFileFromDisk: (args: import("@hylid/types").AsyncCallback<{
388
+ success: boolean;
389
+ apFilePath: string;
390
+ }> & {
391
+ appId?: string | undefined;
392
+ }) => void;
393
+ chooseVideo: (args: import("@hylid/types").AsyncCallback<{
394
+ filePath: string;
395
+ duration: number;
396
+ size: number;
397
+ height: number;
398
+ width: number;
399
+ tempFilePath: string;
400
+ }> & {
401
+ sourceType?: string[] | undefined;
402
+ compressed?: boolean | undefined;
403
+ maxDuration?: number | undefined;
404
+ camera?: string | undefined;
405
+ }) => void;
406
+ compressImage: (args: import("@hylid/types").AsyncCallback<{
407
+ apFilePaths: string[];
408
+ }> & {
409
+ apFilePaths: string[];
410
+ compressLevel?: number | undefined;
411
+ compressedWidth?: number | undefined;
412
+ compressedHeight?: number | undefined;
413
+ maxWidth?: number | undefined;
414
+ maxHeight?: number | undefined;
415
+ }) => void;
416
+ setTabBarItem: (args: {
417
+ index?: number | undefined;
418
+ text: string;
419
+ iconPath: string;
420
+ selectedIconPath: string;
421
+ } & import("@hylid/types").AsyncCallback<void>) => void;
422
+ showTabBar: (args: {
423
+ animation?: boolean | undefined;
424
+ } & import("@hylid/types").AsyncCallback<void>) => void;
425
+ getBackgroundFetchData: (args: import("@hylid/types").AsyncCallback<{
426
+ fetchType: "pre" | "jsapiPre";
427
+ timestamp: number;
428
+ fetchedData: Record<string, unknown>;
429
+ } & {
430
+ fetchType: "pre" | "jsapiPre";
431
+ }>) => void;
432
+ getEnterOptionsSync: (args: import("@hylid/types").AsyncCallback<{
433
+ path?: string | undefined;
434
+ query?: Record<string, unknown> | undefined;
435
+ referrerInfo?: {
436
+ appId: string;
437
+ sourceServiceId?: string | undefined;
438
+ extraData: Record<string, unknown>;
439
+ } | undefined;
440
+ scene?: number | undefined;
441
+ apiCategory?: "default" | "embedded" | undefined;
442
+ }>) => void;
443
+ getAppId: (args: import("@hylid/types").AsyncCallback<{
444
+ appId: string;
445
+ }>) => void;
446
+ getCurrentPages: (args: import("@hylid/types").getCurrentPagesOptions) => void;
447
+ getSDKVersion: (args: import("@hylid/types").AsyncCallback<string>) => void;
448
+ };
449
+ export default _default;
450
+ export { addPhoneContact, alert, chooseImage, choosePhoneContact, clearStorage, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, datePicker, disconnectBLEDevice, downloadFile, exitApp, getAppToken, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getFileInfo, getImageInfo, getLocation, getNetworkType, getOpenUserInfo, getSavedFileInfo, getSavedFileList, getScreenBrightness, getServerTime, getSetting, getSiteInfo, getStorage, getSystemInfo, hideBackHome, hideKeyboard, hideLoading, hideNavigationBarLoading, hideTabBar, hideToast, makePhoneCall, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToBizScene, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offMemoryWarning, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, offUserCaptureScreen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onMemoryWarning, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onUserCaptureScreen, openBluetoothAdapter, openDocument, openSetting, pageScrollTo, previewImage, prompt, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, request, rpc, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setKeepScreenOn, setNavigationBar, setScreenBrightness, setStorage, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, tradePay, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, showSharePanel, setTransparentTitle, getRunScene, chooseFileFromDisk, chooseVideo, compressImage, setTabBarItem, showTabBar, getBackgroundFetchData, getEnterOptionsSync, getAppId, getCurrentPages, getSDKVersion, };
451
+ export { addPhoneContactAsync, alertAsync, chooseImageAsync, choosePhoneContactAsync, clearStorageAsync, closeBluetoothAdapterAsync, closeSocketAsync, confirmAsync, connectBLEDeviceAsync, connectSocketAsync, datePickerAsync, disconnectBLEDeviceAsync, downloadFileAsync, exitAppAsync, getAppTokenAsync, getAuthCodeAsync, getBatteryInfoAsync, getBLEDeviceCharacteristicsAsync, getBLEDeviceServicesAsync, getBluetoothAdapterStateAsync, getBluetoothDevicesAsync, getClipboardAsync, getConnectedBluetoothDevicesAsync, getFileInfoAsync, getImageInfoAsync, getLocationAsync, getNetworkTypeAsync, getOpenUserInfoAsync, getSavedFileInfoAsync, getSavedFileListAsync, getScreenBrightnessAsync, getServerTimeAsync, getSettingAsync, getSiteInfoAsync, getStorageAsync, getSystemInfoAsync, hideBackHomeAsync, hideKeyboardAsync, hideLoadingAsync, hideNavigationBarLoadingAsync, hideTabBarAsync, hideToastAsync, makePhoneCallAsync, multiLevelSelectAsync, navigateBackAsync, navigateBackMiniProgramAsync, navigateToAsync, navigateToBizSceneAsync, navigateToMiniProgramAsync, notifyBLECharacteristicValueChangeAsync, openBluetoothAdapterAsync, openDocumentAsync, openSettingAsync, pageScrollToAsync, previewImageAsync, promptAsync, readBLECharacteristicValueAsync, redirectToAsync, reLaunchAsync, removeSavedFileAsync, removeStorageAsync, requestAsync, rpcAsync, saveFileAsync, saveImageAsync, scanAsync, sendSocketMessageAsync, setBackgroundColorAsync, setCanPullDownAsync, setClipboardAsync, setKeepScreenOnAsync, setNavigationBarAsync, setScreenBrightnessAsync, setStorageAsync, setTabBarStyleAsync, showActionSheetAsync, showAuthGuideAsync, showLoadingAsync, showNavigationBarLoadingAsync, showToastAsync, signContractAsync, startBluetoothDevicesDiscoveryAsync, startPullDownRefreshAsync, stopBluetoothDevicesDiscoveryAsync, stopPullDownRefreshAsync, switchTabAsync, tradePayAsync, uploadFileAsync, vibrateAsync, watchShakeAsync, writeBLECharacteristicValueAsync, showSharePanelAsync, setTransparentTitleAsync, getRunSceneAsync, chooseFileFromDiskAsync, chooseVideoAsync, compressImageAsync, setTabBarItemAsync, showTabBarAsync, getBackgroundFetchDataAsync, getEnterOptionsSyncAsync, };