@dcloudio/uni-app-x 0.7.49 → 0.7.50

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 (380) hide show
  1. package/.prettierrc +5 -5
  2. package/README.md +1 -1
  3. package/index.d.ts +1 -1
  4. package/options.d.ts +9 -9
  5. package/package.json +30 -30
  6. package/types/app.d.ts +1383 -1383
  7. package/types/index.d.ts +7 -7
  8. package/types/native/AsyncApiResult.d.ts +8 -8
  9. package/types/native/CSSStyleDeclaration.d.ts +144 -144
  10. package/types/native/CanvasRenderingContext2D.d.ts +3748 -3748
  11. package/types/native/DOMRect.d.ts +656 -656
  12. package/types/native/DrawableContext.d.ts +1722 -1722
  13. package/types/native/INavigationBar.d.ts +22 -22
  14. package/types/native/IUniElement.d.ts +6103 -6103
  15. package/types/native/IUniError.d.ts +20 -20
  16. package/types/native/IUniForm.d.ts +9 -9
  17. package/types/native/IUniNativeViewElement.d.ts +132 -130
  18. package/types/native/NativeLoadFontFaceOptions.d.ts +11 -11
  19. package/types/native/NodeData.d.ts +22 -22
  20. package/types/native/PageNode.d.ts +6 -6
  21. package/types/native/Path2D.d.ts +269 -269
  22. package/types/native/SnapshotOptions.d.ts +62 -62
  23. package/types/native/SourceError.d.ts +46 -46
  24. package/types/native/UTSAndroidHookProxy.d.ts +14 -14
  25. package/types/native/UniAggregateError.d.ts +19 -19
  26. package/types/native/UniAnimation.d.ts +583 -583
  27. package/types/native/UniAnimationPlaybackEvent.d.ts +12 -12
  28. package/types/native/UniCallbackWrapper.d.ts +7 -7
  29. package/types/native/UniCanvasElement.d.ts +9 -9
  30. package/types/native/UniCustomEvent.d.ts +24 -24
  31. package/types/native/UniDocument.d.ts +83 -83
  32. package/types/native/UniElement.d.ts +85 -85
  33. package/types/native/UniError.d.ts +70 -70
  34. package/types/native/UniEvent.d.ts +121 -121
  35. package/types/native/UniFormControl.d.ts +8 -8
  36. package/types/native/UniFormControlElement.d.ts +15 -15
  37. package/types/native/UniImageErrorEvent.d.ts +33 -33
  38. package/types/native/UniImageLoadEvent.d.ts +37 -37
  39. package/types/native/UniInputBlurEvent.d.ts +36 -36
  40. package/types/native/UniInputConfirmEvent.d.ts +30 -30
  41. package/types/native/UniInputEvent.d.ts +38 -38
  42. package/types/native/UniInputFocusEvent.d.ts +53 -53
  43. package/types/native/UniNativeApp.d.ts +205 -205
  44. package/types/native/UniNativePage.d.ts +328 -328
  45. package/types/native/UniNestedPreScrollEvent.d.ts +45 -45
  46. package/types/native/UniPage.d.ts +639 -639
  47. package/types/native/UniPageBody.d.ts +109 -109
  48. package/types/native/UniPageEvent.d.ts +10 -10
  49. package/types/native/UniPageManager.d.ts +27 -27
  50. package/types/native/UniPageScrollEvent.d.ts +13 -13
  51. package/types/native/UniPointerEvent.d.ts +74 -74
  52. package/types/native/UniProvider.d.ts +32 -32
  53. package/types/native/UniRefresherEvent.d.ts +18 -18
  54. package/types/native/UniResizeEvent.d.ts +34 -34
  55. package/types/native/UniResizeObserver.d.ts +394 -394
  56. package/types/native/UniRichTextItemClickEvent.d.ts +37 -37
  57. package/types/native/UniSafeAreaInsets.d.ts +73 -73
  58. package/types/native/UniScrollEvent.d.ts +42 -42
  59. package/types/native/UniScrollToLowerEvent.d.ts +23 -23
  60. package/types/native/UniScrollToUpperEvent.d.ts +23 -23
  61. package/types/native/UniStartNestedScrollEvent.d.ts +33 -33
  62. package/types/native/UniStopNestedScrollEvent.d.ts +28 -28
  63. package/types/native/UniSwiperAnimationFinishEvent.d.ts +44 -44
  64. package/types/native/UniSwiperChangeEvent.d.ts +44 -44
  65. package/types/native/UniSwiperTransitionEvent.d.ts +24 -24
  66. package/types/native/UniTabTapEvent.d.ts +18 -18
  67. package/types/native/UniTabsElement.d.ts +59 -59
  68. package/types/native/UniTextElement.d.ts +35 -35
  69. package/types/native/UniTextareaFocusEvent.d.ts +54 -54
  70. package/types/native/UniTouchEvent.d.ts +64 -64
  71. package/types/native/UniVideoElement.d.ts +515 -515
  72. package/types/native/UniWebViewDownloadEvent.d.ts +52 -52
  73. package/types/native/UniWebViewElement.d.ts +10 -10
  74. package/types/native/UniWebViewErrorEvent.d.ts +59 -59
  75. package/types/native/UniWebViewLoadEvent.d.ts +41 -41
  76. package/types/native/UniWebViewLoadingEvent.d.ts +41 -41
  77. package/types/native/UniWebViewMessageEvent.d.ts +36 -36
  78. package/types/native/UniWebViewServiceMessageEvent.d.ts +8 -8
  79. package/types/native/ViewToTempFilePathOptions.d.ts +47 -47
  80. package/types/native/WebViewStyles.d.ts +20 -20
  81. package/types/native/global.d.ts +662 -662
  82. package/types/native/index.d.ts +76 -76
  83. package/types/native-global/index.d.ts +1 -1
  84. package/types/page.d.ts +1731 -1731
  85. package/types/process.d.ts +5 -5
  86. package/types/uni/base/index.d.ts +3 -3
  87. package/types/uni/env/index.d.ts +117 -117
  88. package/types/uni/global.d.ts +7 -7
  89. package/types/uni/index.d.ts +5 -5
  90. package/types/uni/uni-map-tencent-global.d.ts +37 -37
  91. package/types/uni/uni-map-tencent-map.d.ts +62 -62
  92. package/types/uni/uts-plugin-api/global.d.ts +71 -71
  93. package/types/uni/uts-plugin-api/index.d.ts +71 -71
  94. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/global.d.ts +22 -22
  95. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/index.d.ts +10 -10
  96. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +554 -554
  97. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/global.d.ts +24 -24
  98. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/index.d.ts +11 -11
  99. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +1765 -1765
  100. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/global.d.ts +10 -10
  101. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/index.d.ts +4 -4
  102. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +78 -78
  103. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/global.d.ts +58 -58
  104. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/index.d.ts +28 -28
  105. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +1336 -1336
  106. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/global.d.ts +10 -10
  107. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/index.d.ts +4 -4
  108. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +78 -78
  109. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/global.d.ts +22 -22
  110. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/index.d.ts +10 -10
  111. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +972 -972
  112. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/global.d.ts +20 -20
  113. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/index.d.ts +9 -9
  114. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +411 -411
  115. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/global.d.ts +32 -32
  116. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/index.d.ts +15 -15
  117. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/global.d.ts +40 -40
  118. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/index.d.ts +19 -19
  119. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +601 -601
  120. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/global.d.ts +16 -16
  121. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/index.d.ts +7 -7
  122. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +2664 -2664
  123. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/global.d.ts +20 -20
  124. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/index.d.ts +9 -9
  125. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +512 -512
  126. package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/global.d.ts +18 -18
  127. package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/index.d.ts +8 -8
  128. package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +61 -61
  129. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/global.d.ts +20 -20
  130. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/index.d.ts +9 -9
  131. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +769 -769
  132. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/global.d.ts +12 -12
  133. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/index.d.ts +5 -5
  134. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +137 -137
  135. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/global.d.ts +28 -28
  136. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/index.d.ts +13 -13
  137. package/types/uni/uts-plugin-api/lib/uni-document/utssdk/global.d.ts +10 -10
  138. package/types/uni/uts-plugin-api/lib/uni-document/utssdk/index.d.ts +4 -4
  139. package/types/uni/uts-plugin-api/lib/uni-document/utssdk/interface.d.ts +76 -76
  140. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/global.d.ts +16 -16
  141. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/index.d.ts +7 -7
  142. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +338 -338
  143. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/global.d.ts +26 -26
  144. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/index.d.ts +12 -12
  145. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +102 -102
  146. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/global.d.ts +80 -80
  147. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/index.d.ts +39 -39
  148. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +384 -384
  149. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/global.d.ts +152 -152
  150. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/index.d.ts +75 -75
  151. package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/global.d.ts +10 -10
  152. package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/index.d.ts +4 -4
  153. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/global.d.ts +12 -12
  154. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/index.d.ts +5 -5
  155. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +616 -497
  156. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/global.d.ts +14 -14
  157. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/index.d.ts +6 -6
  158. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2557 -2557
  159. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +16 -16
  160. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +7 -7
  161. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1049 -1049
  162. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/global.d.ts +14 -14
  163. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/index.d.ts +6 -6
  164. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +2006 -2006
  165. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/global.d.ts +10 -10
  166. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/index.d.ts +4 -4
  167. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +82 -82
  168. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/global.d.ts +12 -12
  169. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/index.d.ts +5 -5
  170. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +802 -802
  171. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/global.d.ts +12 -12
  172. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/index.d.ts +5 -5
  173. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +806 -806
  174. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/global.d.ts +24 -24
  175. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/index.d.ts +11 -11
  176. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +1808 -1810
  177. package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/global.d.ts +8 -8
  178. package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/index.d.ts +4 -4
  179. package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/interface.d.ts +1 -1
  180. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent/utssdk/global.d.ts +8 -8
  181. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent/utssdk/index.d.ts +4 -4
  182. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent-uni1/utssdk/global.d.ts +20 -20
  183. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent-uni1/utssdk/index.d.ts +10 -10
  184. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent-uni1/utssdk/interface.d.ts +736 -736
  185. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/global.d.ts +32 -32
  186. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/index.d.ts +15 -15
  187. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +692 -692
  188. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/global.d.ts +22 -22
  189. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/index.d.ts +10 -10
  190. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +419 -419
  191. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/global.d.ts +36 -36
  192. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/index.d.ts +17 -17
  193. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +634 -634
  194. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/global.d.ts +16 -16
  195. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/index.d.ts +7 -7
  196. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +1024 -1024
  197. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/global.d.ts +32 -32
  198. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/index.d.ts +15 -15
  199. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +6755 -6755
  200. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/global.d.ts +12 -12
  201. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/index.d.ts +5 -5
  202. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +501 -501
  203. package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/global.d.ts +24 -24
  204. package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/index.d.ts +11 -11
  205. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/global.d.ts +16 -16
  206. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/index.d.ts +7 -7
  207. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +169 -169
  208. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/global.d.ts +22 -22
  209. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/index.d.ts +10 -10
  210. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +367 -367
  211. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/global.d.ts +28 -28
  212. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/index.d.ts +13 -13
  213. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +679 -679
  214. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/global.d.ts +24 -24
  215. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/index.d.ts +11 -11
  216. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +277 -277
  217. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +190 -190
  218. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +94 -94
  219. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +2760 -2331
  220. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/global.d.ts +18 -18
  221. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/index.d.ts +8 -8
  222. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +762 -190
  223. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/global.d.ts +68 -68
  224. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/index.d.ts +33 -33
  225. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +1210 -1210
  226. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/global.d.ts +90 -90
  227. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/index.d.ts +44 -44
  228. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +5752 -5752
  229. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/global.d.ts +66 -66
  230. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/index.d.ts +32 -32
  231. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +2648 -2648
  232. package/types/uni/uts-plugin-api/lib/uni-oauth-huawei/utssdk/global.d.ts +8 -8
  233. package/types/uni/uts-plugin-api/lib/uni-oauth-huawei/utssdk/index.d.ts +4 -4
  234. package/types/uni/uts-plugin-api/lib/uni-oauth-huawei/utssdk/interface.d.ts +1 -1
  235. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/global.d.ts +24 -24
  236. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/index.d.ts +11 -11
  237. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +296 -296
  238. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/global.d.ts +24 -24
  239. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/index.d.ts +11 -11
  240. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +516 -516
  241. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/global.d.ts +26 -26
  242. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/index.d.ts +12 -12
  243. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +418 -418
  244. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/global.d.ts +32 -32
  245. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/index.d.ts +15 -15
  246. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +1084 -1084
  247. package/types/uni/uts-plugin-api/lib/uni-payment-alipay/utssdk/global.d.ts +8 -8
  248. package/types/uni/uts-plugin-api/lib/uni-payment-alipay/utssdk/index.d.ts +4 -4
  249. package/types/uni/uts-plugin-api/lib/uni-payment-huawei/utssdk/global.d.ts +8 -8
  250. package/types/uni/uts-plugin-api/lib/uni-payment-huawei/utssdk/index.d.ts +4 -4
  251. package/types/uni/uts-plugin-api/lib/uni-payment-huawei/utssdk/interface.d.ts +1 -1
  252. package/types/uni/uts-plugin-api/lib/uni-payment-wxpay/utssdk/global.d.ts +8 -8
  253. package/types/uni/uts-plugin-api/lib/uni-payment-wxpay/utssdk/index.d.ts +4 -4
  254. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/global.d.ts +46 -46
  255. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/index.d.ts +22 -22
  256. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +878 -878
  257. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/global.d.ts +30 -30
  258. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/index.d.ts +14 -14
  259. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +609 -609
  260. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/global.d.ts +78 -78
  261. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/index.d.ts +38 -38
  262. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +4323 -4322
  263. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/global.d.ts +28 -28
  264. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/index.d.ts +13 -13
  265. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +323 -323
  266. package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/global.d.ts +20 -20
  267. package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/index.d.ts +9 -9
  268. package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +709 -521
  269. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/global.d.ts +58 -58
  270. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/index.d.ts +28 -28
  271. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +2847 -2847
  272. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/global.d.ts +10 -10
  273. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/index.d.ts +4 -4
  274. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +80 -80
  275. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/global.d.ts +24 -24
  276. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/index.d.ts +11 -11
  277. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +629 -615
  278. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/global.d.ts +26 -26
  279. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/index.d.ts +12 -12
  280. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +719 -719
  281. package/types/uni/uts-plugin-api/lib/uni-sse/utssdk/global.d.ts +18 -18
  282. package/types/uni/uts-plugin-api/lib/uni-sse/utssdk/index.d.ts +8 -8
  283. package/types/uni/uts-plugin-api/lib/uni-sse/utssdk/interface.d.ts +308 -276
  284. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/global.d.ts +78 -78
  285. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/index.d.ts +38 -38
  286. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +1998 -1998
  287. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/global.d.ts +148 -148
  288. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/index.d.ts +73 -73
  289. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +3136 -3136
  290. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/global.d.ts +54 -54
  291. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/index.d.ts +26 -26
  292. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +1105 -1105
  293. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/global.d.ts +112 -112
  294. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/index.d.ts +55 -55
  295. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +2306 -2306
  296. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/global.d.ts +58 -58
  297. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/index.d.ts +28 -28
  298. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +2717 -2717
  299. package/types/uni/uts-plugin-biz/global.d.ts +7 -7
  300. package/types/uni/uts-plugin-biz/index.d.ts +7 -7
  301. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/global.d.ts +44 -44
  302. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/index.d.ts +21 -21
  303. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +1008 -1008
  304. package/types/uni/uts-plugin-biz/lib/uni-camera/utssdk/global.d.ts +34 -34
  305. package/types/uni/uts-plugin-biz/lib/uni-camera/utssdk/index.d.ts +16 -16
  306. package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/global.d.ts +24 -24
  307. package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/index.d.ts +11 -11
  308. package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/global.d.ts +28 -28
  309. package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/index.d.ts +13 -13
  310. package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/interface.d.ts +212 -212
  311. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/global.d.ts +66 -66
  312. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/index.d.ts +32 -32
  313. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/global.d.ts +60 -60
  314. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/index.d.ts +29 -29
  315. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +960 -960
  316. package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/global.d.ts +24 -24
  317. package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/index.d.ts +11 -11
  318. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/global.d.ts +52 -52
  319. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/index.d.ts +25 -25
  320. package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/global.d.ts +64 -64
  321. package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/index.d.ts +31 -31
  322. package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/interface.d.ts +900 -900
  323. package/types/uni/uts-plugin-component/global.d.ts +2 -2
  324. package/types/uni/uts-plugin-component/index.d.ts +2 -2
  325. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/global.d.ts +34 -34
  326. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/index.d.ts +16 -16
  327. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +68 -66
  328. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +33 -32
  329. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +935 -927
  330. package/types/uni/uts-plugin-extend/README.md +3 -0
  331. package/types/uni/uts-plugin-extend/global.d.ts +11 -11
  332. package/types/uni/uts-plugin-extend/index.d.ts +10 -10
  333. package/types/uni/uts-plugin-extend/lib/uni-__f__/utssdk/global.d.ts +7 -7
  334. package/types/uni/uts-plugin-extend/lib/uni-__f__/utssdk/interface.d.ts +3 -3
  335. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/global.d.ts +12 -12
  336. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/index.d.ts +1 -1
  337. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +917 -917
  338. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/global.d.ts +23 -23
  339. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/index.d.ts +10 -10
  340. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +4770 -4770
  341. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/global.d.ts +25 -25
  342. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/index.d.ts +11 -11
  343. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +1095 -1095
  344. package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/global.d.ts +13 -13
  345. package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/index.d.ts +5 -5
  346. package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/interface.d.ts +126 -126
  347. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/global.d.ts +15 -15
  348. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/index.d.ts +1 -1
  349. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/interface.d.ts +229 -229
  350. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/global.d.ts +14 -14
  351. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/index.d.ts +1 -1
  352. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +1670 -1670
  353. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/global.d.ts +9 -9
  354. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/index.d.ts +1 -1
  355. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +253 -253
  356. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/global.d.ts +21 -21
  357. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/index.d.ts +9 -9
  358. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +999 -999
  359. package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/global.d.ts +7 -7
  360. package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/index.d.ts +1 -1
  361. package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/interface.d.ts +106 -106
  362. package/types/uni-cloud/index.d.ts +67 -67
  363. package/types/uni-cloud/interface.d.ts +1078 -1078
  364. package/types/uni-cloud/unicloud-db/index.ts +317 -317
  365. package/types/uni-global/index.d.ts +1 -1
  366. package/types/vue/CheckboxGroupChangeEvent.d.ts +41 -41
  367. package/types/vue/LifeCycle.d.ts +55 -55
  368. package/types/vue/PickerViewChangeEvent.d.ts +41 -41
  369. package/types/vue/ProgressActiveendEvent.d.ts +32 -32
  370. package/types/vue/RadioGroupChangeEvent.d.ts +41 -41
  371. package/types/vue/SliderChangeEvent.d.ts +35 -35
  372. package/types/vue/SwitchChangeEvent.d.ts +32 -32
  373. package/types/vue/UniCanvasElement.d.ts +275 -275
  374. package/types/vue/UniCloudDBElement.d.ts +217 -217
  375. package/types/vue/UniFormElement.d.ts +54 -54
  376. package/types/vue/UniNavigatorElement.d.ts +11 -11
  377. package/types/vue/global.d.ts +191 -191
  378. package/types/vue/index.d.ts +10 -10
  379. package/types/vue-global/index.d.ts +1 -1
  380. package/uts-plugin.d.ts +33 -33
@@ -1,1336 +1,1336 @@
1
-
2
- export interface Uni {
3
- /**
4
- * 开始 SOTER 生物认证
5
- *
6
- * @tutorial https://uniapp.dcloud.net.cn/api/system/authentication.html#startsoterauthentication
7
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/authentication.html#startsoterauthentication
8
- *
9
- * @uniPlatform {
10
- * "app": {
11
- * "android": {
12
- * "osVer": "5.0",
13
- * "uniVer": "√",
14
- * "unixVer": "x"
15
- * },
16
- * "ios": {
17
- * "osVer": "12.0",
18
- * "uniVer": "√",
19
- * "unixVer": "x"
20
- * },
21
- * "harmony": {
22
- * "osVer": "3.0",
23
- * "uniVer": "4.31",
24
- * "unixVer": "4.61"
25
- * }
26
- * },
27
- * "web": {
28
- * "uniVer": "x",
29
- * "unixVer": "x"
30
- * },
31
- * "mp": {
32
- * "weixin": {
33
- * "hostVer": "1.5.0",
34
- * "uniVer": "√",
35
- * "unixVer": "4.41"
36
- * },
37
- * "alipay": {
38
- * "hostVer": "x",
39
- * "uniVer": "x",
40
- * "unixVer": "x"
41
- * },
42
- * "baidu": {
43
- * "hostVer": "x",
44
- * "uniVer": "x",
45
- * "unixVer": "x"
46
- * },
47
- * "toutiao": {
48
- * "hostVer": "x",
49
- * "uniVer": "x",
50
- * "unixVer": "x"
51
- * },
52
- * "lark": {
53
- * "hostVer": "x",
54
- * "uniVer": "x",
55
- * "unixVer": "x"
56
- * },
57
- * "qq": {
58
- * "hostVer": "x",
59
- * "uniVer": "x",
60
- * "unixVer": "x"
61
- * },
62
- * "kuaishou": {
63
- * "hostVer": "x",
64
- * "uniVer": "x",
65
- * "unixVer": "x"
66
- * },
67
- * "jd": {
68
- * "hostVer": "x",
69
- * "uniVer": "x",
70
- * "unixVer": "x"
71
- * }
72
- * }
73
- * }
74
- * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/open-api/soter/wx.startSoterAuthentication.html
75
- */
76
- startSoterAuthentication(options: StartSoterAuthenticationOptions): void;
77
- /**
78
- * 获取本机支持的 SOTER 生物认证方式
79
- *
80
- * @tutorial https://uniapp.dcloud.net.cn/api/system/authentication.html#checkissupportsoterauthentication
81
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/authentication.html#checkissupportsoterauthentication
82
- *
83
- * @uniPlatform {
84
- * "app": {
85
- * "android": {
86
- * "osVer": "5.0",
87
- * "uniVer": "√",
88
- * "unixVer": "x"
89
- * },
90
- * "ios": {
91
- * "osVer": "12.0",
92
- * "uniVer": "√",
93
- * "unixVer": "x"
94
- * },
95
- * "harmony": {
96
- * "osVer": "3.0",
97
- * "uniVer": "4.31",
98
- * "unixVer": "4.61"
99
- * }
100
- * },
101
- * "web": {
102
- * "uniVer": "x",
103
- * "unixVer": "x"
104
- * },
105
- * "mp": {
106
- * "weixin": {
107
- * "hostVer": "1.5.0",
108
- * "uniVer": "√",
109
- * "unixVer": "4.41"
110
- * },
111
- * "alipay": {
112
- * "hostVer": "x",
113
- * "uniVer": "x",
114
- * "unixVer": "x"
115
- * },
116
- * "baidu": {
117
- * "hostVer": "x",
118
- * "uniVer": "x",
119
- * "unixVer": "x"
120
- * },
121
- * "toutiao": {
122
- * "hostVer": "x",
123
- * "uniVer": "x",
124
- * "unixVer": "x"
125
- * },
126
- * "lark": {
127
- * "hostVer": "x",
128
- * "uniVer": "x",
129
- * "unixVer": "x"
130
- * },
131
- * "qq": {
132
- * "hostVer": "x",
133
- * "uniVer": "x",
134
- * "unixVer": "x"
135
- * },
136
- * "kuaishou": {
137
- * "hostVer": "x",
138
- * "uniVer": "x",
139
- * "unixVer": "x"
140
- * },
141
- * "jd": {
142
- * "hostVer": "x",
143
- * "uniVer": "x",
144
- * "unixVer": "x"
145
- * }
146
- * }
147
- * }
148
- * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/open-api/soter/wx.checkIsSupportSoterAuthentication.html
149
- */
150
- checkIsSupportSoterAuthentication(options: CheckIsSupportSoterAuthenticationOptions): void;
151
- /**
152
- * 获取设备内是否录入如指纹等生物信息
153
- *
154
- * @tutorial https://uniapp.dcloud.net.cn/api/system/authentication.html#checkissoterenrolledindevice
155
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/authentication.html#checkissoterenrolledindevice
156
- *
157
- * @uniPlatform {
158
- * "app": {
159
- * "android": {
160
- * "osVer": "5.0",
161
- * "uniVer": "√",
162
- * "unixVer": "x"
163
- * },
164
- * "ios": {
165
- * "osVer": "12.0",
166
- * "uniVer": "√",
167
- * "unixVer": "x"
168
- * },
169
- * "harmony": {
170
- * "osVer": "3.0",
171
- * "uniVer": "4.31",
172
- * "unixVer": "4.61"
173
- * }
174
- * },
175
- * "web": {
176
- * "uniVer": "x",
177
- * "unixVer": "x"
178
- * },
179
- * "mp": {
180
- * "weixin": {
181
- * "hostVer": "1.6.0",
182
- * "uniVer": "√",
183
- * "unixVer": "4.41"
184
- * },
185
- * "alipay": {
186
- * "hostVer": "x",
187
- * "uniVer": "x",
188
- * "unixVer": "x"
189
- * },
190
- * "baidu": {
191
- * "hostVer": "x",
192
- * "uniVer": "x",
193
- * "unixVer": "x"
194
- * },
195
- * "toutiao": {
196
- * "hostVer": "x",
197
- * "uniVer": "x",
198
- * "unixVer": "x"
199
- * },
200
- * "lark": {
201
- * "hostVer": "x",
202
- * "uniVer": "x",
203
- * "unixVer": "x"
204
- * },
205
- * "qq": {
206
- * "hostVer": "x",
207
- * "uniVer": "x",
208
- * "unixVer": "x"
209
- * },
210
- * "kuaishou": {
211
- * "hostVer": "x",
212
- * "uniVer": "x",
213
- * "unixVer": "x"
214
- * },
215
- * "jd": {
216
- * "hostVer": "x",
217
- * "uniVer": "x",
218
- * "unixVer": "x"
219
- * }
220
- * }
221
- * }
222
- * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/open-api/soter/wx.checkIsSoterEnrolledInDevice.html
223
- */
224
- checkIsSoterEnrolledInDevice(options: CheckIsSoterEnrolledInDeviceOptions): void;
225
- }
226
-
227
- export type StartSoterAuthentication = (options: StartSoterAuthenticationOptions) => void;
228
- /**
229
- * 生物认证方式
230
- */
231
- export type SoterAuthMode =
232
- /**
233
- * 指纹识别
234
- */
235
- 'fingerPrint' |
236
- /**
237
- * 人脸识别(暂未支持)
238
- */
239
- 'facial' |
240
- /**
241
- * 声纹识别(暂未支持)
242
- */
243
- 'speech';
244
-
245
- export type StartSoterAuthenticationSuccess = {
246
- /**
247
- * 错误码
248
- * @uniPlatform {
249
- * "mp": {
250
- * "weixin": {
251
- * "hostVer": "√",
252
- * "uniVer": "√",
253
- * "unixVer": "4.41"
254
- * },
255
- * "alipay": {
256
- * "hostVer": "-",
257
- * "uniVer": "-",
258
- * "unixVer": "-"
259
- * },
260
- * "baidu": {
261
- * "hostVer": "-",
262
- * "uniVer": "-",
263
- * "unixVer": "-"
264
- * },
265
- * "toutiao": {
266
- * "hostVer": "-",
267
- * "uniVer": "-",
268
- * "unixVer": "-"
269
- * },
270
- * "lark": {
271
- * "hostVer": "-",
272
- * "uniVer": "-",
273
- * "unixVer": "-"
274
- * },
275
- * "qq": {
276
- * "hostVer": "-",
277
- * "uniVer": "-",
278
- * "unixVer": "-"
279
- * },
280
- * "kuaishou": {
281
- * "hostVer": "-",
282
- * "uniVer": "-",
283
- * "unixVer": "-"
284
- * },
285
- * "jd": {
286
- * "hostVer": "-",
287
- * "uniVer": "-",
288
- * "unixVer": "-"
289
- * }
290
- * }
291
- * }
292
- */
293
- errCode: number,
294
- /**
295
- * 生物认证方式
296
- * - fingerPrint: 指纹识别
297
- * - facial: 人脸识别(暂未支持)
298
- * - speech: 声纹识别(暂未支持)
299
- * @uniPlatform {
300
- * "mp": {
301
- * "weixin": {
302
- * "hostVer": "√",
303
- * "uniVer": "√",
304
- * "unixVer": "4.41"
305
- * },
306
- * "alipay": {
307
- * "hostVer": "-",
308
- * "uniVer": "-",
309
- * "unixVer": "-"
310
- * },
311
- * "baidu": {
312
- * "hostVer": "-",
313
- * "uniVer": "-",
314
- * "unixVer": "-"
315
- * },
316
- * "toutiao": {
317
- * "hostVer": "-",
318
- * "uniVer": "-",
319
- * "unixVer": "-"
320
- * },
321
- * "lark": {
322
- * "hostVer": "-",
323
- * "uniVer": "-",
324
- * "unixVer": "-"
325
- * },
326
- * "qq": {
327
- * "hostVer": "-",
328
- * "uniVer": "-",
329
- * "unixVer": "-"
330
- * },
331
- * "kuaishou": {
332
- * "hostVer": "-",
333
- * "uniVer": "-",
334
- * "unixVer": "-"
335
- * },
336
- * "jd": {
337
- * "hostVer": "-",
338
- * "uniVer": "-",
339
- * "unixVer": "-"
340
- * }
341
- * }
342
- * }
343
- */
344
- authMode: SoterAuthMode,
345
- /**
346
- * 在设备安全区域(TEE)内获得的本机安全信息以及本次认证信息
347
- * @uniPlatform {
348
- * "mp": {
349
- * "weixin": {
350
- * "hostVer": "√",
351
- * "uniVer": "√",
352
- * "unixVer": "4.41"
353
- * },
354
- * "alipay": {
355
- * "hostVer": "-",
356
- * "uniVer": "-",
357
- * "unixVer": "-"
358
- * },
359
- * "baidu": {
360
- * "hostVer": "-",
361
- * "uniVer": "-",
362
- * "unixVer": "-"
363
- * },
364
- * "toutiao": {
365
- * "hostVer": "-",
366
- * "uniVer": "-",
367
- * "unixVer": "-"
368
- * },
369
- * "lark": {
370
- * "hostVer": "-",
371
- * "uniVer": "-",
372
- * "unixVer": "-"
373
- * },
374
- * "qq": {
375
- * "hostVer": "-",
376
- * "uniVer": "-",
377
- * "unixVer": "-"
378
- * },
379
- * "kuaishou": {
380
- * "hostVer": "-",
381
- * "uniVer": "-",
382
- * "unixVer": "-"
383
- * },
384
- * "jd": {
385
- * "hostVer": "-",
386
- * "uniVer": "-",
387
- * "unixVer": "-"
388
- * }
389
- * }
390
- * }
391
- */
392
- resultJSON?: string | null,
393
- /**
394
- * 用SOTER安全密钥对 resultJSON 的签名(SHA256 with RSA/PSS, saltlen=20)
395
- * @uniPlatform {
396
- * "mp": {
397
- * "weixin": {
398
- * "hostVer": "√",
399
- * "uniVer": "√",
400
- * "unixVer": "4.41"
401
- * },
402
- * "alipay": {
403
- * "hostVer": "-",
404
- * "uniVer": "-",
405
- * "unixVer": "-"
406
- * },
407
- * "baidu": {
408
- * "hostVer": "-",
409
- * "uniVer": "-",
410
- * "unixVer": "-"
411
- * },
412
- * "toutiao": {
413
- * "hostVer": "-",
414
- * "uniVer": "-",
415
- * "unixVer": "-"
416
- * },
417
- * "lark": {
418
- * "hostVer": "-",
419
- * "uniVer": "-",
420
- * "unixVer": "-"
421
- * },
422
- * "qq": {
423
- * "hostVer": "-",
424
- * "uniVer": "-",
425
- * "unixVer": "-"
426
- * },
427
- * "kuaishou": {
428
- * "hostVer": "-",
429
- * "uniVer": "-",
430
- * "unixVer": "-"
431
- * },
432
- * "jd": {
433
- * "hostVer": "-",
434
- * "uniVer": "-",
435
- * "unixVer": "-"
436
- * }
437
- * }
438
- * }
439
- */
440
- resultJSONSignature?: string | null,
441
- /**
442
- * 接口调用结果
443
- * @uniPlatform {
444
- * "mp": {
445
- * "weixin": {
446
- * "hostVer": "√",
447
- * "uniVer": "√",
448
- * "unixVer": "4.41"
449
- * },
450
- * "alipay": {
451
- * "hostVer": "-",
452
- * "uniVer": "-",
453
- * "unixVer": "-"
454
- * },
455
- * "baidu": {
456
- * "hostVer": "-",
457
- * "uniVer": "-",
458
- * "unixVer": "-"
459
- * },
460
- * "toutiao": {
461
- * "hostVer": "-",
462
- * "uniVer": "-",
463
- * "unixVer": "-"
464
- * },
465
- * "lark": {
466
- * "hostVer": "-",
467
- * "uniVer": "-",
468
- * "unixVer": "-"
469
- * },
470
- * "qq": {
471
- * "hostVer": "-",
472
- * "uniVer": "-",
473
- * "unixVer": "-"
474
- * },
475
- * "kuaishou": {
476
- * "hostVer": "-",
477
- * "uniVer": "-",
478
- * "unixVer": "-"
479
- * },
480
- * "jd": {
481
- * "hostVer": "-",
482
- * "uniVer": "-",
483
- * "unixVer": "-"
484
- * }
485
- * }
486
- * }
487
- */
488
- errMsg: string
489
- };
490
- export type StartSoterAuthenticationSuccessCallback = (result: StartSoterAuthenticationSuccess) => void;
491
- export type StartSoterAuthenticationFail = UniError;
492
- export type StartSoterAuthenticationFailCallback = (result: StartSoterAuthenticationFail) => void;
493
- export type StartSoterAuthenticationComplete = any;
494
- export type StartSoterAuthenticationCompleteCallback = (result: StartSoterAuthenticationComplete) => void;
495
- export type StartSoterAuthenticationOptions = {
496
- /**
497
- * 请求使用的可接受的生物认证方式
498
- * @uniPlatform {
499
- * "mp": {
500
- * "weixin": {
501
- * "hostVer": "√",
502
- * "uniVer": "√",
503
- * "unixVer": "4.41"
504
- * },
505
- * "alipay": {
506
- * "hostVer": "-",
507
- * "uniVer": "-",
508
- * "unixVer": "-"
509
- * },
510
- * "baidu": {
511
- * "hostVer": "-",
512
- * "uniVer": "-",
513
- * "unixVer": "-"
514
- * },
515
- * "toutiao": {
516
- * "hostVer": "-",
517
- * "uniVer": "-",
518
- * "unixVer": "-"
519
- * },
520
- * "lark": {
521
- * "hostVer": "-",
522
- * "uniVer": "-",
523
- * "unixVer": "-"
524
- * },
525
- * "qq": {
526
- * "hostVer": "-",
527
- * "uniVer": "-",
528
- * "unixVer": "-"
529
- * },
530
- * "kuaishou": {
531
- * "hostVer": "-",
532
- * "uniVer": "-",
533
- * "unixVer": "-"
534
- * },
535
- * "jd": {
536
- * "hostVer": "-",
537
- * "uniVer": "-",
538
- * "unixVer": "-"
539
- * }
540
- * }
541
- * }
542
- */
543
- requestAuthModes: SoterAuthMode[],
544
- /**
545
- * 挑战因子
546
- * @uniPlatform {
547
- * "mp": {
548
- * "weixin": {
549
- * "hostVer": "√",
550
- * "uniVer": "√",
551
- * "unixVer": "4.41"
552
- * },
553
- * "alipay": {
554
- * "hostVer": "-",
555
- * "uniVer": "-",
556
- * "unixVer": "-"
557
- * },
558
- * "baidu": {
559
- * "hostVer": "-",
560
- * "uniVer": "-",
561
- * "unixVer": "-"
562
- * },
563
- * "toutiao": {
564
- * "hostVer": "-",
565
- * "uniVer": "-",
566
- * "unixVer": "-"
567
- * },
568
- * "lark": {
569
- * "hostVer": "-",
570
- * "uniVer": "-",
571
- * "unixVer": "-"
572
- * },
573
- * "qq": {
574
- * "hostVer": "-",
575
- * "uniVer": "-",
576
- * "unixVer": "-"
577
- * },
578
- * "kuaishou": {
579
- * "hostVer": "-",
580
- * "uniVer": "-",
581
- * "unixVer": "-"
582
- * },
583
- * "jd": {
584
- * "hostVer": "-",
585
- * "uniVer": "-",
586
- * "unixVer": "-"
587
- * }
588
- * }
589
- * }
590
- */
591
- challenge?: string | null,
592
- /**
593
- * 验证描述,即识别过程中显示在界面上的对话框提示内容
594
- * @uniPlatform {
595
- * "mp": {
596
- * "weixin": {
597
- * "hostVer": "√",
598
- * "uniVer": "√",
599
- * "unixVer": "4.41"
600
- * },
601
- * "alipay": {
602
- * "hostVer": "-",
603
- * "uniVer": "-",
604
- * "unixVer": "-"
605
- * },
606
- * "baidu": {
607
- * "hostVer": "-",
608
- * "uniVer": "-",
609
- * "unixVer": "-"
610
- * },
611
- * "toutiao": {
612
- * "hostVer": "-",
613
- * "uniVer": "-",
614
- * "unixVer": "-"
615
- * },
616
- * "lark": {
617
- * "hostVer": "-",
618
- * "uniVer": "-",
619
- * "unixVer": "-"
620
- * },
621
- * "qq": {
622
- * "hostVer": "-",
623
- * "uniVer": "-",
624
- * "unixVer": "-"
625
- * },
626
- * "kuaishou": {
627
- * "hostVer": "-",
628
- * "uniVer": "-",
629
- * "unixVer": "-"
630
- * },
631
- * "jd": {
632
- * "hostVer": "-",
633
- * "uniVer": "-",
634
- * "unixVer": "-"
635
- * }
636
- * }
637
- * }
638
- */
639
- authContent?: string | null,
640
- /**
641
- * 接口调用成功的回调函数
642
- * @uniPlatform {
643
- * "mp": {
644
- * "weixin": {
645
- * "hostVer": "√",
646
- * "uniVer": "√",
647
- * "unixVer": "4.41"
648
- * },
649
- * "alipay": {
650
- * "hostVer": "-",
651
- * "uniVer": "-",
652
- * "unixVer": "-"
653
- * },
654
- * "baidu": {
655
- * "hostVer": "-",
656
- * "uniVer": "-",
657
- * "unixVer": "-"
658
- * },
659
- * "toutiao": {
660
- * "hostVer": "-",
661
- * "uniVer": "-",
662
- * "unixVer": "-"
663
- * },
664
- * "lark": {
665
- * "hostVer": "-",
666
- * "uniVer": "-",
667
- * "unixVer": "-"
668
- * },
669
- * "qq": {
670
- * "hostVer": "-",
671
- * "uniVer": "-",
672
- * "unixVer": "-"
673
- * },
674
- * "kuaishou": {
675
- * "hostVer": "-",
676
- * "uniVer": "-",
677
- * "unixVer": "-"
678
- * },
679
- * "jd": {
680
- * "hostVer": "-",
681
- * "uniVer": "-",
682
- * "unixVer": "-"
683
- * }
684
- * }
685
- * }
686
- */
687
- success?: StartSoterAuthenticationSuccessCallback | null,
688
- /**
689
- * 接口调用失败的回调函数
690
- * @uniPlatform {
691
- * "mp": {
692
- * "weixin": {
693
- * "hostVer": "√",
694
- * "uniVer": "√",
695
- * "unixVer": "4.41"
696
- * },
697
- * "alipay": {
698
- * "hostVer": "-",
699
- * "uniVer": "-",
700
- * "unixVer": "-"
701
- * },
702
- * "baidu": {
703
- * "hostVer": "-",
704
- * "uniVer": "-",
705
- * "unixVer": "-"
706
- * },
707
- * "toutiao": {
708
- * "hostVer": "-",
709
- * "uniVer": "-",
710
- * "unixVer": "-"
711
- * },
712
- * "lark": {
713
- * "hostVer": "-",
714
- * "uniVer": "-",
715
- * "unixVer": "-"
716
- * },
717
- * "qq": {
718
- * "hostVer": "-",
719
- * "uniVer": "-",
720
- * "unixVer": "-"
721
- * },
722
- * "kuaishou": {
723
- * "hostVer": "-",
724
- * "uniVer": "-",
725
- * "unixVer": "-"
726
- * },
727
- * "jd": {
728
- * "hostVer": "-",
729
- * "uniVer": "-",
730
- * "unixVer": "-"
731
- * }
732
- * }
733
- * }
734
- */
735
- fail?: StartSoterAuthenticationFailCallback | null,
736
- /**
737
- * 接口调用结束的回调函数(调用成功、失败都会执行)
738
- * @uniPlatform {
739
- * "mp": {
740
- * "weixin": {
741
- * "hostVer": "√",
742
- * "uniVer": "√",
743
- * "unixVer": "4.41"
744
- * },
745
- * "alipay": {
746
- * "hostVer": "-",
747
- * "uniVer": "-",
748
- * "unixVer": "-"
749
- * },
750
- * "baidu": {
751
- * "hostVer": "-",
752
- * "uniVer": "-",
753
- * "unixVer": "-"
754
- * },
755
- * "toutiao": {
756
- * "hostVer": "-",
757
- * "uniVer": "-",
758
- * "unixVer": "-"
759
- * },
760
- * "lark": {
761
- * "hostVer": "-",
762
- * "uniVer": "-",
763
- * "unixVer": "-"
764
- * },
765
- * "qq": {
766
- * "hostVer": "-",
767
- * "uniVer": "-",
768
- * "unixVer": "-"
769
- * },
770
- * "kuaishou": {
771
- * "hostVer": "-",
772
- * "uniVer": "-",
773
- * "unixVer": "-"
774
- * },
775
- * "jd": {
776
- * "hostVer": "-",
777
- * "uniVer": "-",
778
- * "unixVer": "-"
779
- * }
780
- * }
781
- * }
782
- */
783
- complete?: StartSoterAuthenticationCompleteCallback | null
784
- };
785
- export type CheckIsSupportSoterAuthentication = (options: CheckIsSupportSoterAuthenticationOptions) => void;
786
- export type CheckIsSupportSoterAuthenticationSuccess = {
787
- /**
788
- * 接口调用成功的回调函数
789
- * @uniPlatform {
790
- * "mp": {
791
- * "weixin": {
792
- * "hostVer": "√",
793
- * "uniVer": "√",
794
- * "unixVer": "4.41"
795
- * },
796
- * "alipay": {
797
- * "hostVer": "-",
798
- * "uniVer": "-",
799
- * "unixVer": "-"
800
- * },
801
- * "baidu": {
802
- * "hostVer": "-",
803
- * "uniVer": "-",
804
- * "unixVer": "-"
805
- * },
806
- * "toutiao": {
807
- * "hostVer": "-",
808
- * "uniVer": "-",
809
- * "unixVer": "-"
810
- * },
811
- * "lark": {
812
- * "hostVer": "-",
813
- * "uniVer": "-",
814
- * "unixVer": "-"
815
- * },
816
- * "qq": {
817
- * "hostVer": "-",
818
- * "uniVer": "-",
819
- * "unixVer": "-"
820
- * },
821
- * "kuaishou": {
822
- * "hostVer": "-",
823
- * "uniVer": "-",
824
- * "unixVer": "-"
825
- * },
826
- * "jd": {
827
- * "hostVer": "-",
828
- * "uniVer": "-",
829
- * "unixVer": "-"
830
- * }
831
- * }
832
- * }
833
- */
834
- supportMode: SoterAuthMode[],
835
- /**
836
- * 接口调用结果
837
- * @uniPlatform {
838
- * "mp": {
839
- * "weixin": {
840
- * "hostVer": "√",
841
- * "uniVer": "√",
842
- * "unixVer": "4.41"
843
- * },
844
- * "alipay": {
845
- * "hostVer": "-",
846
- * "uniVer": "-",
847
- * "unixVer": "-"
848
- * },
849
- * "baidu": {
850
- * "hostVer": "-",
851
- * "uniVer": "-",
852
- * "unixVer": "-"
853
- * },
854
- * "toutiao": {
855
- * "hostVer": "-",
856
- * "uniVer": "-",
857
- * "unixVer": "-"
858
- * },
859
- * "lark": {
860
- * "hostVer": "-",
861
- * "uniVer": "-",
862
- * "unixVer": "-"
863
- * },
864
- * "qq": {
865
- * "hostVer": "-",
866
- * "uniVer": "-",
867
- * "unixVer": "-"
868
- * },
869
- * "kuaishou": {
870
- * "hostVer": "-",
871
- * "uniVer": "-",
872
- * "unixVer": "-"
873
- * },
874
- * "jd": {
875
- * "hostVer": "-",
876
- * "uniVer": "-",
877
- * "unixVer": "-"
878
- * }
879
- * }
880
- * }
881
- */
882
- errMsg: string
883
- };
884
- export type CheckIsSupportSoterAuthenticationSuccessCallback = (result: CheckIsSupportSoterAuthenticationSuccess) => void;
885
- export type CheckIsSupportSoterAuthenticationFail = UniError;
886
- export type CheckIsSupportSoterAuthenticationFailCallback = (result: CheckIsSupportSoterAuthenticationFail) => void;
887
- export type CheckIsSupportSoterAuthenticationComplete = any;
888
- export type CheckIsSupportSoterAuthenticationCompleteCallback = (result: CheckIsSupportSoterAuthenticationComplete) => void;
889
- export type CheckIsSupportSoterAuthenticationOptions = {
890
- /**
891
- * 接口调用成功的回调函数
892
- * @uniPlatform {
893
- * "mp": {
894
- * "weixin": {
895
- * "hostVer": "√",
896
- * "uniVer": "√",
897
- * "unixVer": "4.41"
898
- * },
899
- * "alipay": {
900
- * "hostVer": "-",
901
- * "uniVer": "-",
902
- * "unixVer": "-"
903
- * },
904
- * "baidu": {
905
- * "hostVer": "-",
906
- * "uniVer": "-",
907
- * "unixVer": "-"
908
- * },
909
- * "toutiao": {
910
- * "hostVer": "-",
911
- * "uniVer": "-",
912
- * "unixVer": "-"
913
- * },
914
- * "lark": {
915
- * "hostVer": "-",
916
- * "uniVer": "-",
917
- * "unixVer": "-"
918
- * },
919
- * "qq": {
920
- * "hostVer": "-",
921
- * "uniVer": "-",
922
- * "unixVer": "-"
923
- * },
924
- * "kuaishou": {
925
- * "hostVer": "-",
926
- * "uniVer": "-",
927
- * "unixVer": "-"
928
- * },
929
- * "jd": {
930
- * "hostVer": "-",
931
- * "uniVer": "-",
932
- * "unixVer": "-"
933
- * }
934
- * }
935
- * }
936
- */
937
- success?: CheckIsSupportSoterAuthenticationSuccessCallback | null,
938
- /**
939
- * 接口调用失败的回调函数
940
- * @uniPlatform {
941
- * "mp": {
942
- * "weixin": {
943
- * "hostVer": "√",
944
- * "uniVer": "√",
945
- * "unixVer": "4.41"
946
- * },
947
- * "alipay": {
948
- * "hostVer": "-",
949
- * "uniVer": "-",
950
- * "unixVer": "-"
951
- * },
952
- * "baidu": {
953
- * "hostVer": "-",
954
- * "uniVer": "-",
955
- * "unixVer": "-"
956
- * },
957
- * "toutiao": {
958
- * "hostVer": "-",
959
- * "uniVer": "-",
960
- * "unixVer": "-"
961
- * },
962
- * "lark": {
963
- * "hostVer": "-",
964
- * "uniVer": "-",
965
- * "unixVer": "-"
966
- * },
967
- * "qq": {
968
- * "hostVer": "-",
969
- * "uniVer": "-",
970
- * "unixVer": "-"
971
- * },
972
- * "kuaishou": {
973
- * "hostVer": "-",
974
- * "uniVer": "-",
975
- * "unixVer": "-"
976
- * },
977
- * "jd": {
978
- * "hostVer": "-",
979
- * "uniVer": "-",
980
- * "unixVer": "-"
981
- * }
982
- * }
983
- * }
984
- */
985
- fail?: CheckIsSupportSoterAuthenticationFailCallback | null,
986
- /**
987
- * 接口调用结束的回调函数(调用成功、失败都会执行)
988
- * @uniPlatform {
989
- * "mp": {
990
- * "weixin": {
991
- * "hostVer": "√",
992
- * "uniVer": "√",
993
- * "unixVer": "4.41"
994
- * },
995
- * "alipay": {
996
- * "hostVer": "-",
997
- * "uniVer": "-",
998
- * "unixVer": "-"
999
- * },
1000
- * "baidu": {
1001
- * "hostVer": "-",
1002
- * "uniVer": "-",
1003
- * "unixVer": "-"
1004
- * },
1005
- * "toutiao": {
1006
- * "hostVer": "-",
1007
- * "uniVer": "-",
1008
- * "unixVer": "-"
1009
- * },
1010
- * "lark": {
1011
- * "hostVer": "-",
1012
- * "uniVer": "-",
1013
- * "unixVer": "-"
1014
- * },
1015
- * "qq": {
1016
- * "hostVer": "-",
1017
- * "uniVer": "-",
1018
- * "unixVer": "-"
1019
- * },
1020
- * "kuaishou": {
1021
- * "hostVer": "-",
1022
- * "uniVer": "-",
1023
- * "unixVer": "-"
1024
- * },
1025
- * "jd": {
1026
- * "hostVer": "-",
1027
- * "uniVer": "-",
1028
- * "unixVer": "-"
1029
- * }
1030
- * }
1031
- * }
1032
- */
1033
- complete?: CheckIsSupportSoterAuthenticationCompleteCallback | null
1034
- };
1035
- export type CheckIsSoterEnrolledInDevice = (options: CheckIsSoterEnrolledInDeviceOptions) => void;
1036
- export type CheckIsSoterEnrolledInDeviceSuccess = {
1037
- /**
1038
- * 是否已录入信息
1039
- * @type boolean
1040
- * @uniPlatform {
1041
- * "mp": {
1042
- * "weixin": {
1043
- * "hostVer": "√",
1044
- * "uniVer": "√",
1045
- * "unixVer": "4.41"
1046
- * },
1047
- * "alipay": {
1048
- * "hostVer": "-",
1049
- * "uniVer": "-",
1050
- * "unixVer": "-"
1051
- * },
1052
- * "baidu": {
1053
- * "hostVer": "-",
1054
- * "uniVer": "-",
1055
- * "unixVer": "-"
1056
- * },
1057
- * "toutiao": {
1058
- * "hostVer": "-",
1059
- * "uniVer": "-",
1060
- * "unixVer": "-"
1061
- * },
1062
- * "lark": {
1063
- * "hostVer": "-",
1064
- * "uniVer": "-",
1065
- * "unixVer": "-"
1066
- * },
1067
- * "qq": {
1068
- * "hostVer": "-",
1069
- * "uniVer": "-",
1070
- * "unixVer": "-"
1071
- * },
1072
- * "kuaishou": {
1073
- * "hostVer": "-",
1074
- * "uniVer": "-",
1075
- * "unixVer": "-"
1076
- * },
1077
- * "jd": {
1078
- * "hostVer": "-",
1079
- * "uniVer": "-",
1080
- * "unixVer": "-"
1081
- * }
1082
- * }
1083
- * }
1084
- */
1085
- isEnrolled: boolean,
1086
- /**
1087
- * 错误信息
1088
- * @uniPlatform {
1089
- * "mp": {
1090
- * "weixin": {
1091
- * "hostVer": "√",
1092
- * "uniVer": "√",
1093
- * "unixVer": "4.41"
1094
- * },
1095
- * "alipay": {
1096
- * "hostVer": "-",
1097
- * "uniVer": "-",
1098
- * "unixVer": "-"
1099
- * },
1100
- * "baidu": {
1101
- * "hostVer": "-",
1102
- * "uniVer": "-",
1103
- * "unixVer": "-"
1104
- * },
1105
- * "toutiao": {
1106
- * "hostVer": "-",
1107
- * "uniVer": "-",
1108
- * "unixVer": "-"
1109
- * },
1110
- * "lark": {
1111
- * "hostVer": "-",
1112
- * "uniVer": "-",
1113
- * "unixVer": "-"
1114
- * },
1115
- * "qq": {
1116
- * "hostVer": "-",
1117
- * "uniVer": "-",
1118
- * "unixVer": "-"
1119
- * },
1120
- * "kuaishou": {
1121
- * "hostVer": "-",
1122
- * "uniVer": "-",
1123
- * "unixVer": "-"
1124
- * },
1125
- * "jd": {
1126
- * "hostVer": "-",
1127
- * "uniVer": "-",
1128
- * "unixVer": "-"
1129
- * }
1130
- * }
1131
- * }
1132
- */
1133
- errMsg: string
1134
- };
1135
- export type CheckIsSoterEnrolledInDeviceSuccessCallback = (result: CheckIsSoterEnrolledInDeviceSuccess) => void;
1136
- export type CheckIsSoterEnrolledInDeviceFail = UniError;
1137
- export type CheckIsSoterEnrolledInDeviceFailCallback = (result: CheckIsSoterEnrolledInDeviceFail) => void;
1138
- export type CheckIsSoterEnrolledInDeviceComplete = any;
1139
- export type CheckIsSoterEnrolledInDeviceCompleteCallback = (result: CheckIsSoterEnrolledInDeviceComplete) => void;
1140
- export type CheckIsSoterEnrolledInDeviceOptions = {
1141
- /**
1142
- * 生物认证方式
1143
- * - fingerPrint: 指纹识别
1144
- * - facial: 人脸识别(暂未支持)
1145
- * - speech: 声纹识别(暂未支持)
1146
- * @uniPlatform {
1147
- * "mp": {
1148
- * "weixin": {
1149
- * "hostVer": "√",
1150
- * "uniVer": "√",
1151
- * "unixVer": "4.41"
1152
- * },
1153
- * "alipay": {
1154
- * "hostVer": "-",
1155
- * "uniVer": "-",
1156
- * "unixVer": "-"
1157
- * },
1158
- * "baidu": {
1159
- * "hostVer": "-",
1160
- * "uniVer": "-",
1161
- * "unixVer": "-"
1162
- * },
1163
- * "toutiao": {
1164
- * "hostVer": "-",
1165
- * "uniVer": "-",
1166
- * "unixVer": "-"
1167
- * },
1168
- * "lark": {
1169
- * "hostVer": "-",
1170
- * "uniVer": "-",
1171
- * "unixVer": "-"
1172
- * },
1173
- * "qq": {
1174
- * "hostVer": "-",
1175
- * "uniVer": "-",
1176
- * "unixVer": "-"
1177
- * },
1178
- * "kuaishou": {
1179
- * "hostVer": "-",
1180
- * "uniVer": "-",
1181
- * "unixVer": "-"
1182
- * },
1183
- * "jd": {
1184
- * "hostVer": "-",
1185
- * "uniVer": "-",
1186
- * "unixVer": "-"
1187
- * }
1188
- * }
1189
- * }
1190
- */
1191
- checkAuthMode: SoterAuthMode,
1192
- /**
1193
- * 接口调用成功的回调函数
1194
- * @uniPlatform {
1195
- * "mp": {
1196
- * "weixin": {
1197
- * "hostVer": "√",
1198
- * "uniVer": "√",
1199
- * "unixVer": "4.41"
1200
- * },
1201
- * "alipay": {
1202
- * "hostVer": "-",
1203
- * "uniVer": "-",
1204
- * "unixVer": "-"
1205
- * },
1206
- * "baidu": {
1207
- * "hostVer": "-",
1208
- * "uniVer": "-",
1209
- * "unixVer": "-"
1210
- * },
1211
- * "toutiao": {
1212
- * "hostVer": "-",
1213
- * "uniVer": "-",
1214
- * "unixVer": "-"
1215
- * },
1216
- * "lark": {
1217
- * "hostVer": "-",
1218
- * "uniVer": "-",
1219
- * "unixVer": "-"
1220
- * },
1221
- * "qq": {
1222
- * "hostVer": "-",
1223
- * "uniVer": "-",
1224
- * "unixVer": "-"
1225
- * },
1226
- * "kuaishou": {
1227
- * "hostVer": "-",
1228
- * "uniVer": "-",
1229
- * "unixVer": "-"
1230
- * },
1231
- * "jd": {
1232
- * "hostVer": "-",
1233
- * "uniVer": "-",
1234
- * "unixVer": "-"
1235
- * }
1236
- * }
1237
- * }
1238
- */
1239
- success?: CheckIsSoterEnrolledInDeviceSuccessCallback | null,
1240
- /**
1241
- * 接口调用失败的回调函数
1242
- * @uniPlatform {
1243
- * "mp": {
1244
- * "weixin": {
1245
- * "hostVer": "√",
1246
- * "uniVer": "√",
1247
- * "unixVer": "4.41"
1248
- * },
1249
- * "alipay": {
1250
- * "hostVer": "-",
1251
- * "uniVer": "-",
1252
- * "unixVer": "-"
1253
- * },
1254
- * "baidu": {
1255
- * "hostVer": "-",
1256
- * "uniVer": "-",
1257
- * "unixVer": "-"
1258
- * },
1259
- * "toutiao": {
1260
- * "hostVer": "-",
1261
- * "uniVer": "-",
1262
- * "unixVer": "-"
1263
- * },
1264
- * "lark": {
1265
- * "hostVer": "-",
1266
- * "uniVer": "-",
1267
- * "unixVer": "-"
1268
- * },
1269
- * "qq": {
1270
- * "hostVer": "-",
1271
- * "uniVer": "-",
1272
- * "unixVer": "-"
1273
- * },
1274
- * "kuaishou": {
1275
- * "hostVer": "-",
1276
- * "uniVer": "-",
1277
- * "unixVer": "-"
1278
- * },
1279
- * "jd": {
1280
- * "hostVer": "-",
1281
- * "uniVer": "-",
1282
- * "unixVer": "-"
1283
- * }
1284
- * }
1285
- * }
1286
- */
1287
- fail?: CheckIsSoterEnrolledInDeviceFailCallback | null,
1288
- /**
1289
- * 接口调用结束的回调函数(调用成功、失败都会执行)
1290
- * @uniPlatform {
1291
- * "mp": {
1292
- * "weixin": {
1293
- * "hostVer": "√",
1294
- * "uniVer": "√",
1295
- * "unixVer": "4.41"
1296
- * },
1297
- * "alipay": {
1298
- * "hostVer": "-",
1299
- * "uniVer": "-",
1300
- * "unixVer": "-"
1301
- * },
1302
- * "baidu": {
1303
- * "hostVer": "-",
1304
- * "uniVer": "-",
1305
- * "unixVer": "-"
1306
- * },
1307
- * "toutiao": {
1308
- * "hostVer": "-",
1309
- * "uniVer": "-",
1310
- * "unixVer": "-"
1311
- * },
1312
- * "lark": {
1313
- * "hostVer": "-",
1314
- * "uniVer": "-",
1315
- * "unixVer": "-"
1316
- * },
1317
- * "qq": {
1318
- * "hostVer": "-",
1319
- * "uniVer": "-",
1320
- * "unixVer": "-"
1321
- * },
1322
- * "kuaishou": {
1323
- * "hostVer": "-",
1324
- * "uniVer": "-",
1325
- * "unixVer": "-"
1326
- * },
1327
- * "jd": {
1328
- * "hostVer": "-",
1329
- * "uniVer": "-",
1330
- * "unixVer": "-"
1331
- * }
1332
- * }
1333
- * }
1334
- */
1335
- complete?: CheckIsSoterEnrolledInDeviceCompleteCallback | null
1336
- };
1
+
2
+ export interface Uni {
3
+ /**
4
+ * 开始 SOTER 生物认证
5
+ *
6
+ * @tutorial https://uniapp.dcloud.net.cn/api/system/authentication.html#startsoterauthentication
7
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/authentication.html#startsoterauthentication
8
+ *
9
+ * @uniPlatform {
10
+ * "app": {
11
+ * "android": {
12
+ * "osVer": "5.0",
13
+ * "uniVer": "√",
14
+ * "unixVer": "x"
15
+ * },
16
+ * "ios": {
17
+ * "osVer": "12.0",
18
+ * "uniVer": "√",
19
+ * "unixVer": "x"
20
+ * },
21
+ * "harmony": {
22
+ * "osVer": "3.0",
23
+ * "uniVer": "4.31",
24
+ * "unixVer": "4.61"
25
+ * }
26
+ * },
27
+ * "web": {
28
+ * "uniVer": "x",
29
+ * "unixVer": "x"
30
+ * },
31
+ * "mp": {
32
+ * "weixin": {
33
+ * "hostVer": "1.5.0",
34
+ * "uniVer": "√",
35
+ * "unixVer": "4.41"
36
+ * },
37
+ * "alipay": {
38
+ * "hostVer": "x",
39
+ * "uniVer": "x",
40
+ * "unixVer": "x"
41
+ * },
42
+ * "baidu": {
43
+ * "hostVer": "x",
44
+ * "uniVer": "x",
45
+ * "unixVer": "x"
46
+ * },
47
+ * "toutiao": {
48
+ * "hostVer": "x",
49
+ * "uniVer": "x",
50
+ * "unixVer": "x"
51
+ * },
52
+ * "lark": {
53
+ * "hostVer": "x",
54
+ * "uniVer": "x",
55
+ * "unixVer": "x"
56
+ * },
57
+ * "qq": {
58
+ * "hostVer": "x",
59
+ * "uniVer": "x",
60
+ * "unixVer": "x"
61
+ * },
62
+ * "kuaishou": {
63
+ * "hostVer": "x",
64
+ * "uniVer": "x",
65
+ * "unixVer": "x"
66
+ * },
67
+ * "jd": {
68
+ * "hostVer": "x",
69
+ * "uniVer": "x",
70
+ * "unixVer": "x"
71
+ * }
72
+ * }
73
+ * }
74
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/open-api/soter/wx.startSoterAuthentication.html
75
+ */
76
+ startSoterAuthentication(options: StartSoterAuthenticationOptions): void;
77
+ /**
78
+ * 获取本机支持的 SOTER 生物认证方式
79
+ *
80
+ * @tutorial https://uniapp.dcloud.net.cn/api/system/authentication.html#checkissupportsoterauthentication
81
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/authentication.html#checkissupportsoterauthentication
82
+ *
83
+ * @uniPlatform {
84
+ * "app": {
85
+ * "android": {
86
+ * "osVer": "5.0",
87
+ * "uniVer": "√",
88
+ * "unixVer": "x"
89
+ * },
90
+ * "ios": {
91
+ * "osVer": "12.0",
92
+ * "uniVer": "√",
93
+ * "unixVer": "x"
94
+ * },
95
+ * "harmony": {
96
+ * "osVer": "3.0",
97
+ * "uniVer": "4.31",
98
+ * "unixVer": "4.61"
99
+ * }
100
+ * },
101
+ * "web": {
102
+ * "uniVer": "x",
103
+ * "unixVer": "x"
104
+ * },
105
+ * "mp": {
106
+ * "weixin": {
107
+ * "hostVer": "1.5.0",
108
+ * "uniVer": "√",
109
+ * "unixVer": "4.41"
110
+ * },
111
+ * "alipay": {
112
+ * "hostVer": "x",
113
+ * "uniVer": "x",
114
+ * "unixVer": "x"
115
+ * },
116
+ * "baidu": {
117
+ * "hostVer": "x",
118
+ * "uniVer": "x",
119
+ * "unixVer": "x"
120
+ * },
121
+ * "toutiao": {
122
+ * "hostVer": "x",
123
+ * "uniVer": "x",
124
+ * "unixVer": "x"
125
+ * },
126
+ * "lark": {
127
+ * "hostVer": "x",
128
+ * "uniVer": "x",
129
+ * "unixVer": "x"
130
+ * },
131
+ * "qq": {
132
+ * "hostVer": "x",
133
+ * "uniVer": "x",
134
+ * "unixVer": "x"
135
+ * },
136
+ * "kuaishou": {
137
+ * "hostVer": "x",
138
+ * "uniVer": "x",
139
+ * "unixVer": "x"
140
+ * },
141
+ * "jd": {
142
+ * "hostVer": "x",
143
+ * "uniVer": "x",
144
+ * "unixVer": "x"
145
+ * }
146
+ * }
147
+ * }
148
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/open-api/soter/wx.checkIsSupportSoterAuthentication.html
149
+ */
150
+ checkIsSupportSoterAuthentication(options: CheckIsSupportSoterAuthenticationOptions): void;
151
+ /**
152
+ * 获取设备内是否录入如指纹等生物信息
153
+ *
154
+ * @tutorial https://uniapp.dcloud.net.cn/api/system/authentication.html#checkissoterenrolledindevice
155
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/authentication.html#checkissoterenrolledindevice
156
+ *
157
+ * @uniPlatform {
158
+ * "app": {
159
+ * "android": {
160
+ * "osVer": "5.0",
161
+ * "uniVer": "√",
162
+ * "unixVer": "x"
163
+ * },
164
+ * "ios": {
165
+ * "osVer": "12.0",
166
+ * "uniVer": "√",
167
+ * "unixVer": "x"
168
+ * },
169
+ * "harmony": {
170
+ * "osVer": "3.0",
171
+ * "uniVer": "4.31",
172
+ * "unixVer": "4.61"
173
+ * }
174
+ * },
175
+ * "web": {
176
+ * "uniVer": "x",
177
+ * "unixVer": "x"
178
+ * },
179
+ * "mp": {
180
+ * "weixin": {
181
+ * "hostVer": "1.6.0",
182
+ * "uniVer": "√",
183
+ * "unixVer": "4.41"
184
+ * },
185
+ * "alipay": {
186
+ * "hostVer": "x",
187
+ * "uniVer": "x",
188
+ * "unixVer": "x"
189
+ * },
190
+ * "baidu": {
191
+ * "hostVer": "x",
192
+ * "uniVer": "x",
193
+ * "unixVer": "x"
194
+ * },
195
+ * "toutiao": {
196
+ * "hostVer": "x",
197
+ * "uniVer": "x",
198
+ * "unixVer": "x"
199
+ * },
200
+ * "lark": {
201
+ * "hostVer": "x",
202
+ * "uniVer": "x",
203
+ * "unixVer": "x"
204
+ * },
205
+ * "qq": {
206
+ * "hostVer": "x",
207
+ * "uniVer": "x",
208
+ * "unixVer": "x"
209
+ * },
210
+ * "kuaishou": {
211
+ * "hostVer": "x",
212
+ * "uniVer": "x",
213
+ * "unixVer": "x"
214
+ * },
215
+ * "jd": {
216
+ * "hostVer": "x",
217
+ * "uniVer": "x",
218
+ * "unixVer": "x"
219
+ * }
220
+ * }
221
+ * }
222
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/open-api/soter/wx.checkIsSoterEnrolledInDevice.html
223
+ */
224
+ checkIsSoterEnrolledInDevice(options: CheckIsSoterEnrolledInDeviceOptions): void;
225
+ }
226
+
227
+ export type StartSoterAuthentication = (options: StartSoterAuthenticationOptions) => void;
228
+ /**
229
+ * 生物认证方式
230
+ */
231
+ export type SoterAuthMode =
232
+ /**
233
+ * 指纹识别
234
+ */
235
+ 'fingerPrint' |
236
+ /**
237
+ * 人脸识别(暂未支持)
238
+ */
239
+ 'facial' |
240
+ /**
241
+ * 声纹识别(暂未支持)
242
+ */
243
+ 'speech';
244
+
245
+ export type StartSoterAuthenticationSuccess = {
246
+ /**
247
+ * 错误码
248
+ * @uniPlatform {
249
+ * "mp": {
250
+ * "weixin": {
251
+ * "hostVer": "√",
252
+ * "uniVer": "√",
253
+ * "unixVer": "4.41"
254
+ * },
255
+ * "alipay": {
256
+ * "hostVer": "-",
257
+ * "uniVer": "-",
258
+ * "unixVer": "-"
259
+ * },
260
+ * "baidu": {
261
+ * "hostVer": "-",
262
+ * "uniVer": "-",
263
+ * "unixVer": "-"
264
+ * },
265
+ * "toutiao": {
266
+ * "hostVer": "-",
267
+ * "uniVer": "-",
268
+ * "unixVer": "-"
269
+ * },
270
+ * "lark": {
271
+ * "hostVer": "-",
272
+ * "uniVer": "-",
273
+ * "unixVer": "-"
274
+ * },
275
+ * "qq": {
276
+ * "hostVer": "-",
277
+ * "uniVer": "-",
278
+ * "unixVer": "-"
279
+ * },
280
+ * "kuaishou": {
281
+ * "hostVer": "-",
282
+ * "uniVer": "-",
283
+ * "unixVer": "-"
284
+ * },
285
+ * "jd": {
286
+ * "hostVer": "-",
287
+ * "uniVer": "-",
288
+ * "unixVer": "-"
289
+ * }
290
+ * }
291
+ * }
292
+ */
293
+ errCode: number,
294
+ /**
295
+ * 生物认证方式
296
+ * - fingerPrint: 指纹识别
297
+ * - facial: 人脸识别(暂未支持)
298
+ * - speech: 声纹识别(暂未支持)
299
+ * @uniPlatform {
300
+ * "mp": {
301
+ * "weixin": {
302
+ * "hostVer": "√",
303
+ * "uniVer": "√",
304
+ * "unixVer": "4.41"
305
+ * },
306
+ * "alipay": {
307
+ * "hostVer": "-",
308
+ * "uniVer": "-",
309
+ * "unixVer": "-"
310
+ * },
311
+ * "baidu": {
312
+ * "hostVer": "-",
313
+ * "uniVer": "-",
314
+ * "unixVer": "-"
315
+ * },
316
+ * "toutiao": {
317
+ * "hostVer": "-",
318
+ * "uniVer": "-",
319
+ * "unixVer": "-"
320
+ * },
321
+ * "lark": {
322
+ * "hostVer": "-",
323
+ * "uniVer": "-",
324
+ * "unixVer": "-"
325
+ * },
326
+ * "qq": {
327
+ * "hostVer": "-",
328
+ * "uniVer": "-",
329
+ * "unixVer": "-"
330
+ * },
331
+ * "kuaishou": {
332
+ * "hostVer": "-",
333
+ * "uniVer": "-",
334
+ * "unixVer": "-"
335
+ * },
336
+ * "jd": {
337
+ * "hostVer": "-",
338
+ * "uniVer": "-",
339
+ * "unixVer": "-"
340
+ * }
341
+ * }
342
+ * }
343
+ */
344
+ authMode: SoterAuthMode,
345
+ /**
346
+ * 在设备安全区域(TEE)内获得的本机安全信息以及本次认证信息
347
+ * @uniPlatform {
348
+ * "mp": {
349
+ * "weixin": {
350
+ * "hostVer": "√",
351
+ * "uniVer": "√",
352
+ * "unixVer": "4.41"
353
+ * },
354
+ * "alipay": {
355
+ * "hostVer": "-",
356
+ * "uniVer": "-",
357
+ * "unixVer": "-"
358
+ * },
359
+ * "baidu": {
360
+ * "hostVer": "-",
361
+ * "uniVer": "-",
362
+ * "unixVer": "-"
363
+ * },
364
+ * "toutiao": {
365
+ * "hostVer": "-",
366
+ * "uniVer": "-",
367
+ * "unixVer": "-"
368
+ * },
369
+ * "lark": {
370
+ * "hostVer": "-",
371
+ * "uniVer": "-",
372
+ * "unixVer": "-"
373
+ * },
374
+ * "qq": {
375
+ * "hostVer": "-",
376
+ * "uniVer": "-",
377
+ * "unixVer": "-"
378
+ * },
379
+ * "kuaishou": {
380
+ * "hostVer": "-",
381
+ * "uniVer": "-",
382
+ * "unixVer": "-"
383
+ * },
384
+ * "jd": {
385
+ * "hostVer": "-",
386
+ * "uniVer": "-",
387
+ * "unixVer": "-"
388
+ * }
389
+ * }
390
+ * }
391
+ */
392
+ resultJSON?: string | null,
393
+ /**
394
+ * 用SOTER安全密钥对 resultJSON 的签名(SHA256 with RSA/PSS, saltlen=20)
395
+ * @uniPlatform {
396
+ * "mp": {
397
+ * "weixin": {
398
+ * "hostVer": "√",
399
+ * "uniVer": "√",
400
+ * "unixVer": "4.41"
401
+ * },
402
+ * "alipay": {
403
+ * "hostVer": "-",
404
+ * "uniVer": "-",
405
+ * "unixVer": "-"
406
+ * },
407
+ * "baidu": {
408
+ * "hostVer": "-",
409
+ * "uniVer": "-",
410
+ * "unixVer": "-"
411
+ * },
412
+ * "toutiao": {
413
+ * "hostVer": "-",
414
+ * "uniVer": "-",
415
+ * "unixVer": "-"
416
+ * },
417
+ * "lark": {
418
+ * "hostVer": "-",
419
+ * "uniVer": "-",
420
+ * "unixVer": "-"
421
+ * },
422
+ * "qq": {
423
+ * "hostVer": "-",
424
+ * "uniVer": "-",
425
+ * "unixVer": "-"
426
+ * },
427
+ * "kuaishou": {
428
+ * "hostVer": "-",
429
+ * "uniVer": "-",
430
+ * "unixVer": "-"
431
+ * },
432
+ * "jd": {
433
+ * "hostVer": "-",
434
+ * "uniVer": "-",
435
+ * "unixVer": "-"
436
+ * }
437
+ * }
438
+ * }
439
+ */
440
+ resultJSONSignature?: string | null,
441
+ /**
442
+ * 接口调用结果
443
+ * @uniPlatform {
444
+ * "mp": {
445
+ * "weixin": {
446
+ * "hostVer": "√",
447
+ * "uniVer": "√",
448
+ * "unixVer": "4.41"
449
+ * },
450
+ * "alipay": {
451
+ * "hostVer": "-",
452
+ * "uniVer": "-",
453
+ * "unixVer": "-"
454
+ * },
455
+ * "baidu": {
456
+ * "hostVer": "-",
457
+ * "uniVer": "-",
458
+ * "unixVer": "-"
459
+ * },
460
+ * "toutiao": {
461
+ * "hostVer": "-",
462
+ * "uniVer": "-",
463
+ * "unixVer": "-"
464
+ * },
465
+ * "lark": {
466
+ * "hostVer": "-",
467
+ * "uniVer": "-",
468
+ * "unixVer": "-"
469
+ * },
470
+ * "qq": {
471
+ * "hostVer": "-",
472
+ * "uniVer": "-",
473
+ * "unixVer": "-"
474
+ * },
475
+ * "kuaishou": {
476
+ * "hostVer": "-",
477
+ * "uniVer": "-",
478
+ * "unixVer": "-"
479
+ * },
480
+ * "jd": {
481
+ * "hostVer": "-",
482
+ * "uniVer": "-",
483
+ * "unixVer": "-"
484
+ * }
485
+ * }
486
+ * }
487
+ */
488
+ errMsg: string
489
+ };
490
+ export type StartSoterAuthenticationSuccessCallback = (result: StartSoterAuthenticationSuccess) => void;
491
+ export type StartSoterAuthenticationFail = UniError;
492
+ export type StartSoterAuthenticationFailCallback = (result: StartSoterAuthenticationFail) => void;
493
+ export type StartSoterAuthenticationComplete = any;
494
+ export type StartSoterAuthenticationCompleteCallback = (result: StartSoterAuthenticationComplete) => void;
495
+ export type StartSoterAuthenticationOptions = {
496
+ /**
497
+ * 请求使用的可接受的生物认证方式
498
+ * @uniPlatform {
499
+ * "mp": {
500
+ * "weixin": {
501
+ * "hostVer": "√",
502
+ * "uniVer": "√",
503
+ * "unixVer": "4.41"
504
+ * },
505
+ * "alipay": {
506
+ * "hostVer": "-",
507
+ * "uniVer": "-",
508
+ * "unixVer": "-"
509
+ * },
510
+ * "baidu": {
511
+ * "hostVer": "-",
512
+ * "uniVer": "-",
513
+ * "unixVer": "-"
514
+ * },
515
+ * "toutiao": {
516
+ * "hostVer": "-",
517
+ * "uniVer": "-",
518
+ * "unixVer": "-"
519
+ * },
520
+ * "lark": {
521
+ * "hostVer": "-",
522
+ * "uniVer": "-",
523
+ * "unixVer": "-"
524
+ * },
525
+ * "qq": {
526
+ * "hostVer": "-",
527
+ * "uniVer": "-",
528
+ * "unixVer": "-"
529
+ * },
530
+ * "kuaishou": {
531
+ * "hostVer": "-",
532
+ * "uniVer": "-",
533
+ * "unixVer": "-"
534
+ * },
535
+ * "jd": {
536
+ * "hostVer": "-",
537
+ * "uniVer": "-",
538
+ * "unixVer": "-"
539
+ * }
540
+ * }
541
+ * }
542
+ */
543
+ requestAuthModes: SoterAuthMode[],
544
+ /**
545
+ * 挑战因子
546
+ * @uniPlatform {
547
+ * "mp": {
548
+ * "weixin": {
549
+ * "hostVer": "√",
550
+ * "uniVer": "√",
551
+ * "unixVer": "4.41"
552
+ * },
553
+ * "alipay": {
554
+ * "hostVer": "-",
555
+ * "uniVer": "-",
556
+ * "unixVer": "-"
557
+ * },
558
+ * "baidu": {
559
+ * "hostVer": "-",
560
+ * "uniVer": "-",
561
+ * "unixVer": "-"
562
+ * },
563
+ * "toutiao": {
564
+ * "hostVer": "-",
565
+ * "uniVer": "-",
566
+ * "unixVer": "-"
567
+ * },
568
+ * "lark": {
569
+ * "hostVer": "-",
570
+ * "uniVer": "-",
571
+ * "unixVer": "-"
572
+ * },
573
+ * "qq": {
574
+ * "hostVer": "-",
575
+ * "uniVer": "-",
576
+ * "unixVer": "-"
577
+ * },
578
+ * "kuaishou": {
579
+ * "hostVer": "-",
580
+ * "uniVer": "-",
581
+ * "unixVer": "-"
582
+ * },
583
+ * "jd": {
584
+ * "hostVer": "-",
585
+ * "uniVer": "-",
586
+ * "unixVer": "-"
587
+ * }
588
+ * }
589
+ * }
590
+ */
591
+ challenge?: string | null,
592
+ /**
593
+ * 验证描述,即识别过程中显示在界面上的对话框提示内容
594
+ * @uniPlatform {
595
+ * "mp": {
596
+ * "weixin": {
597
+ * "hostVer": "√",
598
+ * "uniVer": "√",
599
+ * "unixVer": "4.41"
600
+ * },
601
+ * "alipay": {
602
+ * "hostVer": "-",
603
+ * "uniVer": "-",
604
+ * "unixVer": "-"
605
+ * },
606
+ * "baidu": {
607
+ * "hostVer": "-",
608
+ * "uniVer": "-",
609
+ * "unixVer": "-"
610
+ * },
611
+ * "toutiao": {
612
+ * "hostVer": "-",
613
+ * "uniVer": "-",
614
+ * "unixVer": "-"
615
+ * },
616
+ * "lark": {
617
+ * "hostVer": "-",
618
+ * "uniVer": "-",
619
+ * "unixVer": "-"
620
+ * },
621
+ * "qq": {
622
+ * "hostVer": "-",
623
+ * "uniVer": "-",
624
+ * "unixVer": "-"
625
+ * },
626
+ * "kuaishou": {
627
+ * "hostVer": "-",
628
+ * "uniVer": "-",
629
+ * "unixVer": "-"
630
+ * },
631
+ * "jd": {
632
+ * "hostVer": "-",
633
+ * "uniVer": "-",
634
+ * "unixVer": "-"
635
+ * }
636
+ * }
637
+ * }
638
+ */
639
+ authContent?: string | null,
640
+ /**
641
+ * 接口调用成功的回调函数
642
+ * @uniPlatform {
643
+ * "mp": {
644
+ * "weixin": {
645
+ * "hostVer": "√",
646
+ * "uniVer": "√",
647
+ * "unixVer": "4.41"
648
+ * },
649
+ * "alipay": {
650
+ * "hostVer": "-",
651
+ * "uniVer": "-",
652
+ * "unixVer": "-"
653
+ * },
654
+ * "baidu": {
655
+ * "hostVer": "-",
656
+ * "uniVer": "-",
657
+ * "unixVer": "-"
658
+ * },
659
+ * "toutiao": {
660
+ * "hostVer": "-",
661
+ * "uniVer": "-",
662
+ * "unixVer": "-"
663
+ * },
664
+ * "lark": {
665
+ * "hostVer": "-",
666
+ * "uniVer": "-",
667
+ * "unixVer": "-"
668
+ * },
669
+ * "qq": {
670
+ * "hostVer": "-",
671
+ * "uniVer": "-",
672
+ * "unixVer": "-"
673
+ * },
674
+ * "kuaishou": {
675
+ * "hostVer": "-",
676
+ * "uniVer": "-",
677
+ * "unixVer": "-"
678
+ * },
679
+ * "jd": {
680
+ * "hostVer": "-",
681
+ * "uniVer": "-",
682
+ * "unixVer": "-"
683
+ * }
684
+ * }
685
+ * }
686
+ */
687
+ success?: StartSoterAuthenticationSuccessCallback | null,
688
+ /**
689
+ * 接口调用失败的回调函数
690
+ * @uniPlatform {
691
+ * "mp": {
692
+ * "weixin": {
693
+ * "hostVer": "√",
694
+ * "uniVer": "√",
695
+ * "unixVer": "4.41"
696
+ * },
697
+ * "alipay": {
698
+ * "hostVer": "-",
699
+ * "uniVer": "-",
700
+ * "unixVer": "-"
701
+ * },
702
+ * "baidu": {
703
+ * "hostVer": "-",
704
+ * "uniVer": "-",
705
+ * "unixVer": "-"
706
+ * },
707
+ * "toutiao": {
708
+ * "hostVer": "-",
709
+ * "uniVer": "-",
710
+ * "unixVer": "-"
711
+ * },
712
+ * "lark": {
713
+ * "hostVer": "-",
714
+ * "uniVer": "-",
715
+ * "unixVer": "-"
716
+ * },
717
+ * "qq": {
718
+ * "hostVer": "-",
719
+ * "uniVer": "-",
720
+ * "unixVer": "-"
721
+ * },
722
+ * "kuaishou": {
723
+ * "hostVer": "-",
724
+ * "uniVer": "-",
725
+ * "unixVer": "-"
726
+ * },
727
+ * "jd": {
728
+ * "hostVer": "-",
729
+ * "uniVer": "-",
730
+ * "unixVer": "-"
731
+ * }
732
+ * }
733
+ * }
734
+ */
735
+ fail?: StartSoterAuthenticationFailCallback | null,
736
+ /**
737
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
738
+ * @uniPlatform {
739
+ * "mp": {
740
+ * "weixin": {
741
+ * "hostVer": "√",
742
+ * "uniVer": "√",
743
+ * "unixVer": "4.41"
744
+ * },
745
+ * "alipay": {
746
+ * "hostVer": "-",
747
+ * "uniVer": "-",
748
+ * "unixVer": "-"
749
+ * },
750
+ * "baidu": {
751
+ * "hostVer": "-",
752
+ * "uniVer": "-",
753
+ * "unixVer": "-"
754
+ * },
755
+ * "toutiao": {
756
+ * "hostVer": "-",
757
+ * "uniVer": "-",
758
+ * "unixVer": "-"
759
+ * },
760
+ * "lark": {
761
+ * "hostVer": "-",
762
+ * "uniVer": "-",
763
+ * "unixVer": "-"
764
+ * },
765
+ * "qq": {
766
+ * "hostVer": "-",
767
+ * "uniVer": "-",
768
+ * "unixVer": "-"
769
+ * },
770
+ * "kuaishou": {
771
+ * "hostVer": "-",
772
+ * "uniVer": "-",
773
+ * "unixVer": "-"
774
+ * },
775
+ * "jd": {
776
+ * "hostVer": "-",
777
+ * "uniVer": "-",
778
+ * "unixVer": "-"
779
+ * }
780
+ * }
781
+ * }
782
+ */
783
+ complete?: StartSoterAuthenticationCompleteCallback | null
784
+ };
785
+ export type CheckIsSupportSoterAuthentication = (options: CheckIsSupportSoterAuthenticationOptions) => void;
786
+ export type CheckIsSupportSoterAuthenticationSuccess = {
787
+ /**
788
+ * 接口调用成功的回调函数
789
+ * @uniPlatform {
790
+ * "mp": {
791
+ * "weixin": {
792
+ * "hostVer": "√",
793
+ * "uniVer": "√",
794
+ * "unixVer": "4.41"
795
+ * },
796
+ * "alipay": {
797
+ * "hostVer": "-",
798
+ * "uniVer": "-",
799
+ * "unixVer": "-"
800
+ * },
801
+ * "baidu": {
802
+ * "hostVer": "-",
803
+ * "uniVer": "-",
804
+ * "unixVer": "-"
805
+ * },
806
+ * "toutiao": {
807
+ * "hostVer": "-",
808
+ * "uniVer": "-",
809
+ * "unixVer": "-"
810
+ * },
811
+ * "lark": {
812
+ * "hostVer": "-",
813
+ * "uniVer": "-",
814
+ * "unixVer": "-"
815
+ * },
816
+ * "qq": {
817
+ * "hostVer": "-",
818
+ * "uniVer": "-",
819
+ * "unixVer": "-"
820
+ * },
821
+ * "kuaishou": {
822
+ * "hostVer": "-",
823
+ * "uniVer": "-",
824
+ * "unixVer": "-"
825
+ * },
826
+ * "jd": {
827
+ * "hostVer": "-",
828
+ * "uniVer": "-",
829
+ * "unixVer": "-"
830
+ * }
831
+ * }
832
+ * }
833
+ */
834
+ supportMode: SoterAuthMode[],
835
+ /**
836
+ * 接口调用结果
837
+ * @uniPlatform {
838
+ * "mp": {
839
+ * "weixin": {
840
+ * "hostVer": "√",
841
+ * "uniVer": "√",
842
+ * "unixVer": "4.41"
843
+ * },
844
+ * "alipay": {
845
+ * "hostVer": "-",
846
+ * "uniVer": "-",
847
+ * "unixVer": "-"
848
+ * },
849
+ * "baidu": {
850
+ * "hostVer": "-",
851
+ * "uniVer": "-",
852
+ * "unixVer": "-"
853
+ * },
854
+ * "toutiao": {
855
+ * "hostVer": "-",
856
+ * "uniVer": "-",
857
+ * "unixVer": "-"
858
+ * },
859
+ * "lark": {
860
+ * "hostVer": "-",
861
+ * "uniVer": "-",
862
+ * "unixVer": "-"
863
+ * },
864
+ * "qq": {
865
+ * "hostVer": "-",
866
+ * "uniVer": "-",
867
+ * "unixVer": "-"
868
+ * },
869
+ * "kuaishou": {
870
+ * "hostVer": "-",
871
+ * "uniVer": "-",
872
+ * "unixVer": "-"
873
+ * },
874
+ * "jd": {
875
+ * "hostVer": "-",
876
+ * "uniVer": "-",
877
+ * "unixVer": "-"
878
+ * }
879
+ * }
880
+ * }
881
+ */
882
+ errMsg: string
883
+ };
884
+ export type CheckIsSupportSoterAuthenticationSuccessCallback = (result: CheckIsSupportSoterAuthenticationSuccess) => void;
885
+ export type CheckIsSupportSoterAuthenticationFail = UniError;
886
+ export type CheckIsSupportSoterAuthenticationFailCallback = (result: CheckIsSupportSoterAuthenticationFail) => void;
887
+ export type CheckIsSupportSoterAuthenticationComplete = any;
888
+ export type CheckIsSupportSoterAuthenticationCompleteCallback = (result: CheckIsSupportSoterAuthenticationComplete) => void;
889
+ export type CheckIsSupportSoterAuthenticationOptions = {
890
+ /**
891
+ * 接口调用成功的回调函数
892
+ * @uniPlatform {
893
+ * "mp": {
894
+ * "weixin": {
895
+ * "hostVer": "√",
896
+ * "uniVer": "√",
897
+ * "unixVer": "4.41"
898
+ * },
899
+ * "alipay": {
900
+ * "hostVer": "-",
901
+ * "uniVer": "-",
902
+ * "unixVer": "-"
903
+ * },
904
+ * "baidu": {
905
+ * "hostVer": "-",
906
+ * "uniVer": "-",
907
+ * "unixVer": "-"
908
+ * },
909
+ * "toutiao": {
910
+ * "hostVer": "-",
911
+ * "uniVer": "-",
912
+ * "unixVer": "-"
913
+ * },
914
+ * "lark": {
915
+ * "hostVer": "-",
916
+ * "uniVer": "-",
917
+ * "unixVer": "-"
918
+ * },
919
+ * "qq": {
920
+ * "hostVer": "-",
921
+ * "uniVer": "-",
922
+ * "unixVer": "-"
923
+ * },
924
+ * "kuaishou": {
925
+ * "hostVer": "-",
926
+ * "uniVer": "-",
927
+ * "unixVer": "-"
928
+ * },
929
+ * "jd": {
930
+ * "hostVer": "-",
931
+ * "uniVer": "-",
932
+ * "unixVer": "-"
933
+ * }
934
+ * }
935
+ * }
936
+ */
937
+ success?: CheckIsSupportSoterAuthenticationSuccessCallback | null,
938
+ /**
939
+ * 接口调用失败的回调函数
940
+ * @uniPlatform {
941
+ * "mp": {
942
+ * "weixin": {
943
+ * "hostVer": "√",
944
+ * "uniVer": "√",
945
+ * "unixVer": "4.41"
946
+ * },
947
+ * "alipay": {
948
+ * "hostVer": "-",
949
+ * "uniVer": "-",
950
+ * "unixVer": "-"
951
+ * },
952
+ * "baidu": {
953
+ * "hostVer": "-",
954
+ * "uniVer": "-",
955
+ * "unixVer": "-"
956
+ * },
957
+ * "toutiao": {
958
+ * "hostVer": "-",
959
+ * "uniVer": "-",
960
+ * "unixVer": "-"
961
+ * },
962
+ * "lark": {
963
+ * "hostVer": "-",
964
+ * "uniVer": "-",
965
+ * "unixVer": "-"
966
+ * },
967
+ * "qq": {
968
+ * "hostVer": "-",
969
+ * "uniVer": "-",
970
+ * "unixVer": "-"
971
+ * },
972
+ * "kuaishou": {
973
+ * "hostVer": "-",
974
+ * "uniVer": "-",
975
+ * "unixVer": "-"
976
+ * },
977
+ * "jd": {
978
+ * "hostVer": "-",
979
+ * "uniVer": "-",
980
+ * "unixVer": "-"
981
+ * }
982
+ * }
983
+ * }
984
+ */
985
+ fail?: CheckIsSupportSoterAuthenticationFailCallback | null,
986
+ /**
987
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
988
+ * @uniPlatform {
989
+ * "mp": {
990
+ * "weixin": {
991
+ * "hostVer": "√",
992
+ * "uniVer": "√",
993
+ * "unixVer": "4.41"
994
+ * },
995
+ * "alipay": {
996
+ * "hostVer": "-",
997
+ * "uniVer": "-",
998
+ * "unixVer": "-"
999
+ * },
1000
+ * "baidu": {
1001
+ * "hostVer": "-",
1002
+ * "uniVer": "-",
1003
+ * "unixVer": "-"
1004
+ * },
1005
+ * "toutiao": {
1006
+ * "hostVer": "-",
1007
+ * "uniVer": "-",
1008
+ * "unixVer": "-"
1009
+ * },
1010
+ * "lark": {
1011
+ * "hostVer": "-",
1012
+ * "uniVer": "-",
1013
+ * "unixVer": "-"
1014
+ * },
1015
+ * "qq": {
1016
+ * "hostVer": "-",
1017
+ * "uniVer": "-",
1018
+ * "unixVer": "-"
1019
+ * },
1020
+ * "kuaishou": {
1021
+ * "hostVer": "-",
1022
+ * "uniVer": "-",
1023
+ * "unixVer": "-"
1024
+ * },
1025
+ * "jd": {
1026
+ * "hostVer": "-",
1027
+ * "uniVer": "-",
1028
+ * "unixVer": "-"
1029
+ * }
1030
+ * }
1031
+ * }
1032
+ */
1033
+ complete?: CheckIsSupportSoterAuthenticationCompleteCallback | null
1034
+ };
1035
+ export type CheckIsSoterEnrolledInDevice = (options: CheckIsSoterEnrolledInDeviceOptions) => void;
1036
+ export type CheckIsSoterEnrolledInDeviceSuccess = {
1037
+ /**
1038
+ * 是否已录入信息
1039
+ * @type boolean
1040
+ * @uniPlatform {
1041
+ * "mp": {
1042
+ * "weixin": {
1043
+ * "hostVer": "√",
1044
+ * "uniVer": "√",
1045
+ * "unixVer": "4.41"
1046
+ * },
1047
+ * "alipay": {
1048
+ * "hostVer": "-",
1049
+ * "uniVer": "-",
1050
+ * "unixVer": "-"
1051
+ * },
1052
+ * "baidu": {
1053
+ * "hostVer": "-",
1054
+ * "uniVer": "-",
1055
+ * "unixVer": "-"
1056
+ * },
1057
+ * "toutiao": {
1058
+ * "hostVer": "-",
1059
+ * "uniVer": "-",
1060
+ * "unixVer": "-"
1061
+ * },
1062
+ * "lark": {
1063
+ * "hostVer": "-",
1064
+ * "uniVer": "-",
1065
+ * "unixVer": "-"
1066
+ * },
1067
+ * "qq": {
1068
+ * "hostVer": "-",
1069
+ * "uniVer": "-",
1070
+ * "unixVer": "-"
1071
+ * },
1072
+ * "kuaishou": {
1073
+ * "hostVer": "-",
1074
+ * "uniVer": "-",
1075
+ * "unixVer": "-"
1076
+ * },
1077
+ * "jd": {
1078
+ * "hostVer": "-",
1079
+ * "uniVer": "-",
1080
+ * "unixVer": "-"
1081
+ * }
1082
+ * }
1083
+ * }
1084
+ */
1085
+ isEnrolled: boolean,
1086
+ /**
1087
+ * 错误信息
1088
+ * @uniPlatform {
1089
+ * "mp": {
1090
+ * "weixin": {
1091
+ * "hostVer": "√",
1092
+ * "uniVer": "√",
1093
+ * "unixVer": "4.41"
1094
+ * },
1095
+ * "alipay": {
1096
+ * "hostVer": "-",
1097
+ * "uniVer": "-",
1098
+ * "unixVer": "-"
1099
+ * },
1100
+ * "baidu": {
1101
+ * "hostVer": "-",
1102
+ * "uniVer": "-",
1103
+ * "unixVer": "-"
1104
+ * },
1105
+ * "toutiao": {
1106
+ * "hostVer": "-",
1107
+ * "uniVer": "-",
1108
+ * "unixVer": "-"
1109
+ * },
1110
+ * "lark": {
1111
+ * "hostVer": "-",
1112
+ * "uniVer": "-",
1113
+ * "unixVer": "-"
1114
+ * },
1115
+ * "qq": {
1116
+ * "hostVer": "-",
1117
+ * "uniVer": "-",
1118
+ * "unixVer": "-"
1119
+ * },
1120
+ * "kuaishou": {
1121
+ * "hostVer": "-",
1122
+ * "uniVer": "-",
1123
+ * "unixVer": "-"
1124
+ * },
1125
+ * "jd": {
1126
+ * "hostVer": "-",
1127
+ * "uniVer": "-",
1128
+ * "unixVer": "-"
1129
+ * }
1130
+ * }
1131
+ * }
1132
+ */
1133
+ errMsg: string
1134
+ };
1135
+ export type CheckIsSoterEnrolledInDeviceSuccessCallback = (result: CheckIsSoterEnrolledInDeviceSuccess) => void;
1136
+ export type CheckIsSoterEnrolledInDeviceFail = UniError;
1137
+ export type CheckIsSoterEnrolledInDeviceFailCallback = (result: CheckIsSoterEnrolledInDeviceFail) => void;
1138
+ export type CheckIsSoterEnrolledInDeviceComplete = any;
1139
+ export type CheckIsSoterEnrolledInDeviceCompleteCallback = (result: CheckIsSoterEnrolledInDeviceComplete) => void;
1140
+ export type CheckIsSoterEnrolledInDeviceOptions = {
1141
+ /**
1142
+ * 生物认证方式
1143
+ * - fingerPrint: 指纹识别
1144
+ * - facial: 人脸识别(暂未支持)
1145
+ * - speech: 声纹识别(暂未支持)
1146
+ * @uniPlatform {
1147
+ * "mp": {
1148
+ * "weixin": {
1149
+ * "hostVer": "√",
1150
+ * "uniVer": "√",
1151
+ * "unixVer": "4.41"
1152
+ * },
1153
+ * "alipay": {
1154
+ * "hostVer": "-",
1155
+ * "uniVer": "-",
1156
+ * "unixVer": "-"
1157
+ * },
1158
+ * "baidu": {
1159
+ * "hostVer": "-",
1160
+ * "uniVer": "-",
1161
+ * "unixVer": "-"
1162
+ * },
1163
+ * "toutiao": {
1164
+ * "hostVer": "-",
1165
+ * "uniVer": "-",
1166
+ * "unixVer": "-"
1167
+ * },
1168
+ * "lark": {
1169
+ * "hostVer": "-",
1170
+ * "uniVer": "-",
1171
+ * "unixVer": "-"
1172
+ * },
1173
+ * "qq": {
1174
+ * "hostVer": "-",
1175
+ * "uniVer": "-",
1176
+ * "unixVer": "-"
1177
+ * },
1178
+ * "kuaishou": {
1179
+ * "hostVer": "-",
1180
+ * "uniVer": "-",
1181
+ * "unixVer": "-"
1182
+ * },
1183
+ * "jd": {
1184
+ * "hostVer": "-",
1185
+ * "uniVer": "-",
1186
+ * "unixVer": "-"
1187
+ * }
1188
+ * }
1189
+ * }
1190
+ */
1191
+ checkAuthMode: SoterAuthMode,
1192
+ /**
1193
+ * 接口调用成功的回调函数
1194
+ * @uniPlatform {
1195
+ * "mp": {
1196
+ * "weixin": {
1197
+ * "hostVer": "√",
1198
+ * "uniVer": "√",
1199
+ * "unixVer": "4.41"
1200
+ * },
1201
+ * "alipay": {
1202
+ * "hostVer": "-",
1203
+ * "uniVer": "-",
1204
+ * "unixVer": "-"
1205
+ * },
1206
+ * "baidu": {
1207
+ * "hostVer": "-",
1208
+ * "uniVer": "-",
1209
+ * "unixVer": "-"
1210
+ * },
1211
+ * "toutiao": {
1212
+ * "hostVer": "-",
1213
+ * "uniVer": "-",
1214
+ * "unixVer": "-"
1215
+ * },
1216
+ * "lark": {
1217
+ * "hostVer": "-",
1218
+ * "uniVer": "-",
1219
+ * "unixVer": "-"
1220
+ * },
1221
+ * "qq": {
1222
+ * "hostVer": "-",
1223
+ * "uniVer": "-",
1224
+ * "unixVer": "-"
1225
+ * },
1226
+ * "kuaishou": {
1227
+ * "hostVer": "-",
1228
+ * "uniVer": "-",
1229
+ * "unixVer": "-"
1230
+ * },
1231
+ * "jd": {
1232
+ * "hostVer": "-",
1233
+ * "uniVer": "-",
1234
+ * "unixVer": "-"
1235
+ * }
1236
+ * }
1237
+ * }
1238
+ */
1239
+ success?: CheckIsSoterEnrolledInDeviceSuccessCallback | null,
1240
+ /**
1241
+ * 接口调用失败的回调函数
1242
+ * @uniPlatform {
1243
+ * "mp": {
1244
+ * "weixin": {
1245
+ * "hostVer": "√",
1246
+ * "uniVer": "√",
1247
+ * "unixVer": "4.41"
1248
+ * },
1249
+ * "alipay": {
1250
+ * "hostVer": "-",
1251
+ * "uniVer": "-",
1252
+ * "unixVer": "-"
1253
+ * },
1254
+ * "baidu": {
1255
+ * "hostVer": "-",
1256
+ * "uniVer": "-",
1257
+ * "unixVer": "-"
1258
+ * },
1259
+ * "toutiao": {
1260
+ * "hostVer": "-",
1261
+ * "uniVer": "-",
1262
+ * "unixVer": "-"
1263
+ * },
1264
+ * "lark": {
1265
+ * "hostVer": "-",
1266
+ * "uniVer": "-",
1267
+ * "unixVer": "-"
1268
+ * },
1269
+ * "qq": {
1270
+ * "hostVer": "-",
1271
+ * "uniVer": "-",
1272
+ * "unixVer": "-"
1273
+ * },
1274
+ * "kuaishou": {
1275
+ * "hostVer": "-",
1276
+ * "uniVer": "-",
1277
+ * "unixVer": "-"
1278
+ * },
1279
+ * "jd": {
1280
+ * "hostVer": "-",
1281
+ * "uniVer": "-",
1282
+ * "unixVer": "-"
1283
+ * }
1284
+ * }
1285
+ * }
1286
+ */
1287
+ fail?: CheckIsSoterEnrolledInDeviceFailCallback | null,
1288
+ /**
1289
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
1290
+ * @uniPlatform {
1291
+ * "mp": {
1292
+ * "weixin": {
1293
+ * "hostVer": "√",
1294
+ * "uniVer": "√",
1295
+ * "unixVer": "4.41"
1296
+ * },
1297
+ * "alipay": {
1298
+ * "hostVer": "-",
1299
+ * "uniVer": "-",
1300
+ * "unixVer": "-"
1301
+ * },
1302
+ * "baidu": {
1303
+ * "hostVer": "-",
1304
+ * "uniVer": "-",
1305
+ * "unixVer": "-"
1306
+ * },
1307
+ * "toutiao": {
1308
+ * "hostVer": "-",
1309
+ * "uniVer": "-",
1310
+ * "unixVer": "-"
1311
+ * },
1312
+ * "lark": {
1313
+ * "hostVer": "-",
1314
+ * "uniVer": "-",
1315
+ * "unixVer": "-"
1316
+ * },
1317
+ * "qq": {
1318
+ * "hostVer": "-",
1319
+ * "uniVer": "-",
1320
+ * "unixVer": "-"
1321
+ * },
1322
+ * "kuaishou": {
1323
+ * "hostVer": "-",
1324
+ * "uniVer": "-",
1325
+ * "unixVer": "-"
1326
+ * },
1327
+ * "jd": {
1328
+ * "hostVer": "-",
1329
+ * "uniVer": "-",
1330
+ * "unixVer": "-"
1331
+ * }
1332
+ * }
1333
+ * }
1334
+ */
1335
+ complete?: CheckIsSoterEnrolledInDeviceCompleteCallback | null
1336
+ };