@dcloudio/uni-app-x 0.7.122 → 0.7.124

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 (545) hide show
  1. package/package.json +1 -1
  2. package/types/dom2-internal/UniTextLayout.d.ts +5 -0
  3. package/types/native/IUniElement.d.ts +253 -13
  4. package/types/native/UniAnimation.d.ts +63 -9
  5. package/types/page.d.ts +6 -5
  6. package/types/uni/uts-plugin-api/global.d.ts +1 -2
  7. package/types/uni/uts-plugin-api/index.d.ts +1 -2
  8. package/types/uni/uts-plugin-api/lib/uni-accelerometer/utssdk/global.d.ts +36 -12
  9. package/types/uni/uts-plugin-api/lib/uni-accelerometer/utssdk/index.d.ts +18 -6
  10. package/types/uni/uts-plugin-api/lib/uni-accelerometer/utssdk/interface.d.ts +84 -13
  11. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/global.d.ts +6 -0
  12. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/index.d.ts +3 -0
  13. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +22 -6
  14. package/types/uni/uts-plugin-api/lib/uni-calendar/utssdk/global.d.ts +28 -12
  15. package/types/uni/uts-plugin-api/lib/uni-calendar/utssdk/index.d.ts +14 -6
  16. package/types/uni/uts-plugin-api/lib/uni-calendar/utssdk/interface.d.ts +203 -178
  17. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/global.d.ts +0 -2
  18. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/index.d.ts +0 -1
  19. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/interface.d.ts +7 -559
  20. package/types/uni/uts-plugin-api/lib/uni-compass/utssdk/global.d.ts +38 -14
  21. package/types/uni/uts-plugin-api/lib/uni-compass/utssdk/index.d.ts +19 -7
  22. package/types/uni/uts-plugin-api/lib/uni-compass/utssdk/interface.d.ts +415 -350
  23. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/global.d.ts +4 -2
  24. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/index.d.ts +2 -1
  25. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +75 -23
  26. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/interface.d.ts +720 -0
  27. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +154 -20
  28. package/types/uni/uts-plugin-api/lib/uni-gyroscope/utssdk/global.d.ts +36 -12
  29. package/types/uni/uts-plugin-api/lib/uni-gyroscope/utssdk/index.d.ts +18 -6
  30. package/types/uni/uts-plugin-api/lib/uni-gyroscope/utssdk/interface.d.ts +91 -16
  31. package/types/uni/{uts-plugin-component/lib/uni-memorywarning → uts-plugin-api/lib/uni-memory}/utssdk/global.d.ts +2 -2
  32. package/types/uni/{uts-plugin-component/lib/uni-memorywarning → uts-plugin-api/lib/uni-memory}/utssdk/index.d.ts +1 -1
  33. package/types/uni/uts-plugin-api/lib/uni-memory/utssdk/interface.d.ts +178 -0
  34. package/types/uni/uts-plugin-api/lib/uni-openLocation/utssdk/interface.d.ts +69 -67
  35. package/types/uni/uts-plugin-api/lib/uni-phoneContact/utssdk/interface.d.ts +14 -4
  36. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/global.d.ts +4 -0
  37. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/index.d.ts +2 -0
  38. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +22 -5
  39. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/global.d.ts +6 -0
  40. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/index.d.ts +3 -0
  41. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/interface.d.ts +15 -3
  42. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +19 -18
  43. package/types/uni/uts-plugin-api/lib/uni-vibrate/utssdk/global.d.ts +24 -2
  44. package/types/uni/uts-plugin-api/lib/uni-vibrate/utssdk/index.d.ts +12 -1
  45. package/types/uni/uts-plugin-api/lib/uni-vibrate/utssdk/interface.d.ts +158 -47
  46. package/types/uni/uts-plugin-api/lib/uni-video/utssdk/interface.d.ts +68 -67
  47. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/global.d.ts +0 -2
  48. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/index.d.ts +0 -1
  49. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/interface.d.ts +3 -3
  50. package/types/uni/uts-plugin-biz/global.d.ts +2 -1
  51. package/types/uni/uts-plugin-biz/index.d.ts +2 -1
  52. package/types/uni/uts-plugin-biz/lib/uni-accelerometer/utssdk/global.d.ts +36 -12
  53. package/types/uni/uts-plugin-biz/lib/uni-accelerometer/utssdk/index.d.ts +18 -6
  54. package/types/uni/uts-plugin-biz/lib/uni-accelerometer/utssdk/interface.d.ts +772 -257
  55. package/types/uni/uts-plugin-biz/lib/uni-ad-dom2/utssdk/global.d.ts +45 -0
  56. package/types/uni/uts-plugin-biz/lib/uni-ad-dom2/utssdk/index.d.ts +22 -0
  57. package/types/uni/uts-plugin-biz/lib/uni-ad-dom2/utssdk/interface.d.ts +732 -0
  58. package/types/uni/uts-plugin-biz/lib/uni-authentication/utssdk/global.d.ts +6 -0
  59. package/types/uni/uts-plugin-biz/lib/uni-authentication/utssdk/index.d.ts +3 -0
  60. package/types/uni/uts-plugin-biz/lib/uni-authentication/utssdk/interface.d.ts +22 -6
  61. package/types/uni/uts-plugin-biz/lib/uni-calendar/utssdk/global.d.ts +28 -12
  62. package/types/uni/uts-plugin-biz/lib/uni-calendar/utssdk/index.d.ts +14 -6
  63. package/types/uni/uts-plugin-biz/lib/uni-calendar/utssdk/interface.d.ts +203 -178
  64. package/types/uni/uts-plugin-biz/lib/uni-compass/utssdk/global.d.ts +38 -14
  65. package/types/uni/uts-plugin-biz/lib/uni-compass/utssdk/index.d.ts +19 -7
  66. package/types/uni/uts-plugin-biz/lib/uni-compass/utssdk/interface.d.ts +415 -350
  67. package/types/uni/uts-plugin-biz/lib/uni-gyroscope/utssdk/global.d.ts +36 -12
  68. package/types/uni/uts-plugin-biz/lib/uni-gyroscope/utssdk/index.d.ts +18 -6
  69. package/types/uni/uts-plugin-biz/lib/uni-gyroscope/utssdk/interface.d.ts +91 -16
  70. package/types/uni/uts-plugin-biz/lib/uni-memory/utssdk/global.d.ts +21 -0
  71. package/types/uni/uts-plugin-biz/lib/uni-memory/utssdk/index.d.ts +10 -0
  72. package/types/uni/uts-plugin-biz/lib/uni-memory/utssdk/interface.d.ts +178 -0
  73. package/types/uni/uts-plugin-biz/lib/uni-phoneContact/utssdk/interface.d.ts +14 -4
  74. package/types/uni/uts-plugin-biz/lib/uni-screenBrightness/utssdk/global.d.ts +6 -0
  75. package/types/uni/uts-plugin-biz/lib/uni-screenBrightness/utssdk/index.d.ts +3 -0
  76. package/types/uni/uts-plugin-biz/lib/uni-screenBrightness/utssdk/interface.d.ts +15 -3
  77. package/types/uni/uts-plugin-biz/lib/uni-vibrate/utssdk/global.d.ts +24 -2
  78. package/types/uni/uts-plugin-biz/lib/uni-vibrate/utssdk/index.d.ts +12 -1
  79. package/types/uni/uts-plugin-biz/lib/uni-vibrate/utssdk/interface.d.ts +132 -19
  80. package/types/uni/uts-plugin-component/global.d.ts +23 -112
  81. package/types/uni/uts-plugin-component/index.d.ts +23 -112
  82. package/types/uni/uts-plugin-component/lib/{uni-editor-global → uni-editor-editor-global}/utssdk/interface.d.ts +2 -0
  83. package/types/uni/uts-plugin-component/lib/uni-form-checkbox-global/utssdk/global.d.ts +9 -0
  84. package/types/uni/uts-plugin-component/lib/uni-form-checkbox-global/utssdk/index.d.ts +5 -0
  85. package/types/uni/uts-plugin-component/lib/uni-form-checkbox-global/utssdk/interface.d.ts +7 -0
  86. package/types/uni/uts-plugin-component/lib/uni-form-checkbox-group-global/utssdk/global.d.ts +9 -0
  87. package/types/uni/uts-plugin-component/lib/uni-form-checkbox-group-global/utssdk/index.d.ts +5 -0
  88. package/types/uni/uts-plugin-component/lib/uni-form-checkbox-group-global/utssdk/interface.d.ts +2 -0
  89. package/types/uni/uts-plugin-component/lib/uni-form-form-global/utssdk/global.d.ts +9 -0
  90. package/types/uni/uts-plugin-component/lib/{uni-getElementById → uni-form-form-global}/utssdk/index.d.ts +1 -1
  91. package/types/uni/uts-plugin-component/lib/uni-form-form-global/utssdk/interface.d.ts +2 -0
  92. package/types/uni/uts-plugin-component/lib/uni-form-label-global/utssdk/global.d.ts +9 -0
  93. package/types/uni/uts-plugin-component/lib/{uni-page-container-global → uni-form-label-global}/utssdk/index.d.ts +1 -1
  94. package/types/uni/uts-plugin-component/lib/uni-form-label-global/utssdk/interface.d.ts +2 -0
  95. package/types/uni/uts-plugin-component/lib/uni-form-picker-global/utssdk/global.d.ts +9 -0
  96. package/types/uni/uts-plugin-component/lib/uni-form-picker-global/utssdk/index.d.ts +5 -0
  97. package/types/uni/uts-plugin-component/lib/uni-form-picker-global/utssdk/interface.d.ts +2 -0
  98. package/types/uni/uts-plugin-component/lib/uni-form-picker-view-column-global/utssdk/global.d.ts +9 -0
  99. package/types/uni/uts-plugin-component/lib/uni-form-picker-view-column-global/utssdk/index.d.ts +5 -0
  100. package/types/uni/uts-plugin-component/lib/uni-form-picker-view-column-global/utssdk/interface.d.ts +2 -0
  101. package/types/uni/uts-plugin-component/lib/uni-form-picker-view-global/utssdk/global.d.ts +9 -0
  102. package/types/uni/uts-plugin-component/lib/{uni-arrayBufferToBase64 → uni-form-picker-view-global}/utssdk/index.d.ts +1 -1
  103. package/types/uni/uts-plugin-component/lib/uni-form-picker-view-global/utssdk/interface.d.ts +2 -0
  104. package/types/uni/uts-plugin-component/lib/uni-form-radio-global/utssdk/global.d.ts +9 -0
  105. package/types/uni/uts-plugin-component/lib/{uni-input → uni-form-radio-global}/utssdk/index.d.ts +1 -1
  106. package/types/uni/uts-plugin-component/lib/uni-form-radio-global/utssdk/interface.d.ts +7 -0
  107. package/types/uni/uts-plugin-component/lib/uni-form-radio-group-global/utssdk/global.d.ts +9 -0
  108. package/types/uni/uts-plugin-component/lib/{uni-base64ToArrayBuffer → uni-form-radio-group-global}/utssdk/index.d.ts +1 -1
  109. package/types/uni/uts-plugin-component/lib/uni-form-radio-group-global/utssdk/interface.d.ts +2 -0
  110. package/types/uni/uts-plugin-component/lib/uni-form-slider-global/utssdk/global.d.ts +13 -0
  111. package/types/uni/uts-plugin-component/lib/uni-form-slider-global/utssdk/index.d.ts +7 -0
  112. package/types/uni/uts-plugin-component/lib/uni-form-slider-global/utssdk/interface.d.ts +18 -0
  113. package/types/uni/uts-plugin-component/lib/uni-form-switch-global/utssdk/global.d.ts +9 -0
  114. package/types/uni/uts-plugin-component/lib/uni-form-switch-global/utssdk/index.d.ts +5 -0
  115. package/types/uni/uts-plugin-component/lib/uni-form-switch-global/utssdk/interface.d.ts +7 -0
  116. package/types/vue/LifeCycle.d.ts +2 -2
  117. package/types/node_modules/.package-lock.json +0 -20
  118. package/types/node_modules/typescript/LICENSE.txt +0 -55
  119. package/types/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
  120. package/types/node_modules/typescript/bin/tsc +0 -2
  121. package/types/node_modules/typescript/bin/tsserver +0 -2
  122. package/types/node_modules/typescript/lib/cancellationToken.js +0 -90
  123. package/types/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -1880
  124. package/types/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -1880
  125. package/types/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -1880
  126. package/types/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -1880
  127. package/types/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -1880
  128. package/types/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -1880
  129. package/types/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -1880
  130. package/types/node_modules/typescript/lib/lib.d.ts +0 -22
  131. package/types/node_modules/typescript/lib/lib.decorators.d.ts +0 -386
  132. package/types/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -22
  133. package/types/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -33
  134. package/types/node_modules/typescript/lib/lib.dom.d.ts +0 -28596
  135. package/types/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -475
  136. package/types/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -147
  137. package/types/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -597
  138. package/types/node_modules/typescript/lib/lib.es2015.d.ts +0 -28
  139. package/types/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -77
  140. package/types/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -495
  141. package/types/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -81
  142. package/types/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -128
  143. package/types/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -144
  144. package/types/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -46
  145. package/types/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -326
  146. package/types/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -116
  147. package/types/node_modules/typescript/lib/lib.es2016.d.ts +0 -21
  148. package/types/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -23
  149. package/types/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -31
  150. package/types/node_modules/typescript/lib/lib.es2017.d.ts +0 -25
  151. package/types/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -31
  152. package/types/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -23
  153. package/types/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -44
  154. package/types/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -49
  155. package/types/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -135
  156. package/types/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -45
  157. package/types/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -53
  158. package/types/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -77
  159. package/types/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -43
  160. package/types/node_modules/typescript/lib/lib.es2018.d.ts +0 -24
  161. package/types/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -24
  162. package/types/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -83
  163. package/types/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -30
  164. package/types/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -37
  165. package/types/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -79
  166. package/types/node_modules/typescript/lib/lib.es2019.d.ts +0 -24
  167. package/types/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -24
  168. package/types/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -23
  169. package/types/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -33
  170. package/types/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -37
  171. package/types/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -24
  172. package/types/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -727
  173. package/types/node_modules/typescript/lib/lib.es2020.d.ts +0 -27
  174. package/types/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -42
  175. package/types/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -24
  176. package/types/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -474
  177. package/types/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -28
  178. package/types/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -47
  179. package/types/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -97
  180. package/types/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -42
  181. package/types/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -37
  182. package/types/node_modules/typescript/lib/lib.es2021.d.ts +0 -23
  183. package/types/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -24
  184. package/types/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -166
  185. package/types/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -48
  186. package/types/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -33
  187. package/types/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -76
  188. package/types/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -121
  189. package/types/node_modules/typescript/lib/lib.es2022.d.ts +0 -26
  190. package/types/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -73
  191. package/types/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -24
  192. package/types/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -117
  193. package/types/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -26
  194. package/types/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -39
  195. package/types/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts +0 -39
  196. package/types/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -25
  197. package/types/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -924
  198. package/types/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -21
  199. package/types/node_modules/typescript/lib/lib.es2023.d.ts +0 -22
  200. package/types/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -24
  201. package/types/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -56
  202. package/types/node_modules/typescript/lib/lib.es5.d.ts +0 -4585
  203. package/types/node_modules/typescript/lib/lib.es6.d.ts +0 -23
  204. package/types/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -35
  205. package/types/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -106
  206. package/types/node_modules/typescript/lib/lib.esnext.d.ts +0 -28
  207. package/types/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -28
  208. package/types/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -185
  209. package/types/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -24
  210. package/types/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -21
  211. package/types/node_modules/typescript/lib/lib.esnext.object.d.ts +0 -29
  212. package/types/node_modules/typescript/lib/lib.esnext.promise.d.ts +0 -35
  213. package/types/node_modules/typescript/lib/lib.esnext.regexp.d.ts +0 -25
  214. package/types/node_modules/typescript/lib/lib.esnext.string.d.ts +0 -29
  215. package/types/node_modules/typescript/lib/lib.scripthost.d.ts +0 -322
  216. package/types/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -33
  217. package/types/node_modules/typescript/lib/lib.webworker.d.ts +0 -9431
  218. package/types/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -23
  219. package/types/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -276
  220. package/types/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -1880
  221. package/types/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -1880
  222. package/types/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -1880
  223. package/types/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -1880
  224. package/types/node_modules/typescript/lib/tsc.js +0 -129741
  225. package/types/node_modules/typescript/lib/tsserver.js +0 -621
  226. package/types/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
  227. package/types/node_modules/typescript/lib/tsserverlibrary.js +0 -21
  228. package/types/node_modules/typescript/lib/typesMap.json +0 -497
  229. package/types/node_modules/typescript/lib/typescript.d.ts +0 -11240
  230. package/types/node_modules/typescript/lib/typescript.js +0 -194910
  231. package/types/node_modules/typescript/lib/typingsInstaller.js +0 -236
  232. package/types/node_modules/typescript/lib/watchGuard.js +0 -53
  233. package/types/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -1880
  234. package/types/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -1880
  235. package/types/node_modules/typescript/package.json +0 -116
  236. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/global.d.ts +0 -25
  237. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/index.d.ts +0 -12
  238. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +0 -1767
  239. package/types/uni/uts-plugin-component/lib/uni-accelerometer/utssdk/global.d.ts +0 -35
  240. package/types/uni/uts-plugin-component/lib/uni-accelerometer/utssdk/index.d.ts +0 -17
  241. package/types/uni/uts-plugin-component/lib/uni-accelerometer/utssdk/interface.d.ts +0 -359
  242. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/global.d.ts +0 -29
  243. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/index.d.ts +0 -14
  244. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/interface.d.ts +0 -1673
  245. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/global.d.ts +0 -25
  246. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/index.d.ts +0 -12
  247. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/interface.d.ts +0 -226
  248. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/global.d.ts +0 -11
  249. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +0 -79
  250. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/global.d.ts +0 -59
  251. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/index.d.ts +0 -29
  252. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/interface.d.ts +0 -1342
  253. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/global.d.ts +0 -11
  254. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +0 -79
  255. package/types/uni/uts-plugin-component/lib/uni-calendar/utssdk/global.d.ts +0 -35
  256. package/types/uni/uts-plugin-component/lib/uni-calendar/utssdk/index.d.ts +0 -17
  257. package/types/uni/uts-plugin-component/lib/uni-calendar/utssdk/interface.d.ts +0 -944
  258. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/global.d.ts +0 -55
  259. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/index.d.ts +0 -27
  260. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +0 -1330
  261. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/global.d.ts +0 -25
  262. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/index.d.ts +0 -12
  263. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +0 -978
  264. package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/global.d.ts +0 -25
  265. package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/index.d.ts +0 -12
  266. package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/interface.d.ts +0 -979
  267. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/global.d.ts +0 -25
  268. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/index.d.ts +0 -12
  269. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/interface.d.ts +0 -423
  270. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/global.d.ts +0 -33
  271. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/index.d.ts +0 -16
  272. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/interface.d.ts +0 -499
  273. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/global.d.ts +0 -45
  274. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/index.d.ts +0 -22
  275. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/interface.d.ts +0 -217
  276. package/types/uni/uts-plugin-component/lib/uni-compass/utssdk/global.d.ts +0 -35
  277. package/types/uni/uts-plugin-component/lib/uni-compass/utssdk/index.d.ts +0 -17
  278. package/types/uni/uts-plugin-component/lib/uni-compass/utssdk/interface.d.ts +0 -353
  279. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/global.d.ts +0 -33
  280. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/index.d.ts +0 -16
  281. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +0 -3379
  282. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/global.d.ts +0 -21
  283. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/index.d.ts +0 -10
  284. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +0 -153
  285. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/global.d.ts +0 -19
  286. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/index.d.ts +0 -9
  287. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +0 -61
  288. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/global.d.ts +0 -21
  289. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/index.d.ts +0 -10
  290. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/interface.d.ts +0 -560
  291. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/global.d.ts +0 -15
  292. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/index.d.ts +0 -7
  293. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/interface.d.ts +0 -214
  294. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/global.d.ts +0 -23
  295. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/index.d.ts +0 -11
  296. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/interface.d.ts +0 -158
  297. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/global.d.ts +0 -27
  298. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/index.d.ts +0 -13
  299. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/interface.d.ts +0 -2303
  300. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/global.d.ts +0 -43
  301. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/index.d.ts +0 -21
  302. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/interface.d.ts +0 -943
  303. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/global.d.ts +0 -17
  304. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/index.d.ts +0 -8
  305. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/interface.d.ts +0 -338
  306. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/global.d.ts +0 -27
  307. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/index.d.ts +0 -13
  308. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/interface.d.ts +0 -147
  309. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/global.d.ts +0 -81
  310. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/index.d.ts +0 -40
  311. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/interface.d.ts +0 -397
  312. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/global.d.ts +0 -151
  313. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/index.d.ts +0 -75
  314. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/interface.d.ts +0 -6428
  315. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/global.d.ts +0 -11
  316. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/index.d.ts +0 -5
  317. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +0 -37
  318. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/global.d.ts +0 -13
  319. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/index.d.ts +0 -6
  320. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +0 -620
  321. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/global.d.ts +0 -15
  322. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/index.d.ts +0 -7
  323. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +0 -2220
  324. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +0 -17
  325. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +0 -8
  326. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +0 -1406
  327. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/global.d.ts +0 -15
  328. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/index.d.ts +0 -7
  329. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/interface.d.ts +0 -1774
  330. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/global.d.ts +0 -11
  331. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/interface.d.ts +0 -83
  332. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/global.d.ts +0 -13
  333. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/index.d.ts +0 -6
  334. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +0 -833
  335. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/global.d.ts +0 -13
  336. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/index.d.ts +0 -6
  337. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +0 -836
  338. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/global.d.ts +0 -21
  339. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/index.d.ts +0 -11
  340. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/interface.d.ts +0 -736
  341. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/global.d.ts +0 -33
  342. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/index.d.ts +0 -16
  343. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/interface.d.ts +0 -420
  344. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/global.d.ts +0 -23
  345. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/index.d.ts +0 -11
  346. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/interface.d.ts +0 -199
  347. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/global.d.ts +0 -37
  348. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/index.d.ts +0 -18
  349. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/interface.d.ts +0 -757
  350. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/global.d.ts +0 -33
  351. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/index.d.ts +0 -16
  352. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/interface.d.ts +0 -6084
  353. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/global.d.ts +0 -13
  354. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/index.d.ts +0 -6
  355. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/interface.d.ts +0 -508
  356. package/types/uni/uts-plugin-component/lib/uni-gyroscope/utssdk/global.d.ts +0 -35
  357. package/types/uni/uts-plugin-component/lib/uni-gyroscope/utssdk/index.d.ts +0 -17
  358. package/types/uni/uts-plugin-component/lib/uni-gyroscope/utssdk/interface.d.ts +0 -362
  359. package/types/uni/uts-plugin-component/lib/uni-input/utssdk/global.d.ts +0 -9
  360. package/types/uni/uts-plugin-component/lib/uni-input/utssdk/interface.d.ts +0 -0
  361. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/global.d.ts +0 -25
  362. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/index.d.ts +0 -12
  363. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/interface.d.ts +0 -125
  364. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/global.d.ts +0 -17
  365. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/index.d.ts +0 -8
  366. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/interface.d.ts +0 -171
  367. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/global.d.ts +0 -45
  368. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/index.d.ts +0 -22
  369. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/interface.d.ts +0 -693
  370. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/global.d.ts +0 -29
  371. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/index.d.ts +0 -14
  372. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/interface.d.ts +0 -603
  373. package/types/uni/uts-plugin-component/lib/uni-loading-global/utssdk/global.d.ts +0 -9
  374. package/types/uni/uts-plugin-component/lib/uni-loading-global/utssdk/index.d.ts +0 -5
  375. package/types/uni/uts-plugin-component/lib/uni-loading-global/utssdk/interface.d.ts +0 -5
  376. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/global.d.ts +0 -61
  377. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/index.d.ts +0 -30
  378. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/interface.d.ts +0 -3443
  379. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/global.d.ts +0 -9
  380. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/index.d.ts +0 -5
  381. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/interface.d.ts +0 -3
  382. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/global.d.ts +0 -9
  383. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/index.d.ts +0 -5
  384. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/interface.d.ts +0 -3
  385. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/global.d.ts +0 -29
  386. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/index.d.ts +0 -14
  387. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/interface.d.ts +0 -392
  388. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/global.d.ts +0 -157
  389. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/index.d.ts +0 -78
  390. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/interface.d.ts +0 -5245
  391. package/types/uni/uts-plugin-component/lib/uni-memorywarning/utssdk/interface.d.ts +0 -20
  392. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/global.d.ts +0 -39
  393. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/index.d.ts +0 -19
  394. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/interface.d.ts +0 -1743
  395. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/global.d.ts +0 -69
  396. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/index.d.ts +0 -34
  397. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/interface.d.ts +0 -1047
  398. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/global.d.ts +0 -109
  399. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/index.d.ts +0 -54
  400. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/interface.d.ts +0 -4462
  401. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/global.d.ts +0 -71
  402. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/index.d.ts +0 -35
  403. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/interface.d.ts +0 -3031
  404. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/global.d.ts +0 -9
  405. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/index.d.ts +0 -5
  406. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/interface.d.ts +0 -1
  407. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/global.d.ts +0 -17
  408. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/index.d.ts +0 -9
  409. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/interface.d.ts +0 -48
  410. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/global.d.ts +0 -25
  411. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/index.d.ts +0 -12
  412. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +0 -256
  413. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/global.d.ts +0 -29
  414. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/index.d.ts +0 -14
  415. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/interface.d.ts +0 -823
  416. package/types/uni/uts-plugin-component/lib/uni-openLocation/utssdk/global.d.ts +0 -23
  417. package/types/uni/uts-plugin-component/lib/uni-openLocation/utssdk/index.d.ts +0 -11
  418. package/types/uni/uts-plugin-component/lib/uni-openLocation/utssdk/interface.d.ts +0 -420
  419. package/types/uni/uts-plugin-component/lib/uni-page-container-global/utssdk/global.d.ts +0 -9
  420. package/types/uni/uts-plugin-component/lib/uni-page-container-global/utssdk/interface.d.ts +0 -0
  421. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/global.d.ts +0 -27
  422. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/index.d.ts +0 -13
  423. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/interface.d.ts +0 -618
  424. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/global.d.ts +0 -33
  425. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/index.d.ts +0 -16
  426. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/interface.d.ts +0 -856
  427. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/global.d.ts +0 -9
  428. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/index.d.ts +0 -5
  429. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/interface.d.ts +0 -3
  430. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/global.d.ts +0 -9
  431. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/index.d.ts +0 -5
  432. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/interface.d.ts +0 -1
  433. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/global.d.ts +0 -9
  434. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/index.d.ts +0 -5
  435. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/interface.d.ts +0 -5
  436. package/types/uni/uts-plugin-component/lib/uni-phoneContact/utssdk/global.d.ts +0 -49
  437. package/types/uni/uts-plugin-component/lib/uni-phoneContact/utssdk/index.d.ts +0 -24
  438. package/types/uni/uts-plugin-component/lib/uni-phoneContact/utssdk/interface.d.ts +0 -349
  439. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/global.d.ts +0 -47
  440. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/index.d.ts +0 -23
  441. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/interface.d.ts +0 -520
  442. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/global.d.ts +0 -33
  443. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/index.d.ts +0 -16
  444. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/interface.d.ts +0 -625
  445. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/global.d.ts +0 -33
  446. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/index.d.ts +0 -16
  447. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/interface.d.ts +0 -1693
  448. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/global.d.ts +0 -29
  449. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/index.d.ts +0 -14
  450. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/interface.d.ts +0 -191
  451. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/global.d.ts +0 -21
  452. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/index.d.ts +0 -10
  453. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/interface.d.ts +0 -2999
  454. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/global.d.ts +0 -21
  455. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/index.d.ts +0 -10
  456. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +0 -713
  457. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/global.d.ts +0 -59
  458. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/index.d.ts +0 -29
  459. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/interface.d.ts +0 -2731
  460. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/global.d.ts +0 -11
  461. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/index.d.ts +0 -5
  462. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/interface.d.ts +0 -81
  463. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/global.d.ts +0 -25
  464. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/index.d.ts +0 -12
  465. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/interface.d.ts +0 -429
  466. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/global.d.ts +0 -57
  467. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/index.d.ts +0 -28
  468. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/interface.d.ts +0 -1175
  469. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/global.d.ts +0 -41
  470. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/index.d.ts +0 -20
  471. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/interface.d.ts +0 -1192
  472. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/global.d.ts +0 -9
  473. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/index.d.ts +0 -5
  474. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/interface.d.ts +0 -5
  475. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/global.d.ts +0 -27
  476. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/index.d.ts +0 -13
  477. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/interface.d.ts +0 -722
  478. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/global.d.ts +0 -55
  479. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/index.d.ts +0 -27
  480. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/interface.d.ts +0 -1617
  481. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/global.d.ts +0 -21
  482. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/index.d.ts +0 -10
  483. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/interface.d.ts +0 -330
  484. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/global.d.ts +0 -79
  485. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/index.d.ts +0 -39
  486. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/interface.d.ts +0 -1030
  487. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/global.d.ts +0 -149
  488. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/index.d.ts +0 -74
  489. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/interface.d.ts +0 -1221
  490. package/types/uni/uts-plugin-component/lib/uni-textarea/utssdk/global.d.ts +0 -9
  491. package/types/uni/uts-plugin-component/lib/uni-textarea/utssdk/index.d.ts +0 -5
  492. package/types/uni/uts-plugin-component/lib/uni-textarea/utssdk/interface.d.ts +0 -0
  493. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/global.d.ts +0 -53
  494. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/index.d.ts +0 -26
  495. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/interface.d.ts +0 -1141
  496. package/types/uni/uts-plugin-component/lib/uni-vibrate/utssdk/global.d.ts +0 -27
  497. package/types/uni/uts-plugin-component/lib/uni-vibrate/utssdk/index.d.ts +0 -13
  498. package/types/uni/uts-plugin-component/lib/uni-vibrate/utssdk/interface.d.ts +0 -88
  499. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +0 -47
  500. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +0 -23
  501. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +0 -926
  502. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/global.d.ts +0 -113
  503. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/index.d.ts +0 -56
  504. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/interface.d.ts +0 -1661
  505. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/global.d.ts +0 -29
  506. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/index.d.ts +0 -14
  507. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/interface.d.ts +0 -452
  508. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/global.d.ts +0 -59
  509. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/index.d.ts +0 -29
  510. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/interface.d.ts +0 -1939
  511. /package/types/uni/uts-plugin-component/lib/{uni-camera-global → uni-camera-camera-global}/utssdk/global.d.ts +0 -0
  512. /package/types/uni/uts-plugin-component/lib/{uni-camera-global → uni-camera-camera-global}/utssdk/index.d.ts +0 -0
  513. /package/types/uni/uts-plugin-component/lib/{uni-camera-global → uni-camera-camera-global}/utssdk/interface.d.ts +0 -0
  514. /package/types/uni/uts-plugin-component/lib/{uni-editor-global → uni-editor-editor-global}/utssdk/global.d.ts +0 -0
  515. /package/types/uni/uts-plugin-component/lib/{uni-editor-global → uni-editor-editor-global}/utssdk/index.d.ts +0 -0
  516. /package/types/uni/uts-plugin-component/lib/{uni-form-global → uni-form-button-global}/utssdk/global.d.ts +0 -0
  517. /package/types/uni/uts-plugin-component/lib/{uni-form-global → uni-form-button-global}/utssdk/index.d.ts +0 -0
  518. /package/types/uni/uts-plugin-component/lib/{uni-form-global → uni-form-button-global}/utssdk/interface.d.ts +0 -0
  519. /package/types/uni/uts-plugin-component/lib/{uni-map-tencent-global → uni-map-tencent-map-global}/utssdk/global.d.ts +0 -0
  520. /package/types/uni/uts-plugin-component/lib/{uni-map-tencent-global → uni-map-tencent-map-global}/utssdk/index.d.ts +0 -0
  521. /package/types/uni/uts-plugin-component/lib/{uni-map-tencent-global → uni-map-tencent-map-global}/utssdk/interface.d.ts +0 -0
  522. /package/types/uni/uts-plugin-component/lib/{uni-match-media-global → uni-match-media-match-media-global}/utssdk/global.d.ts +0 -0
  523. /package/types/uni/uts-plugin-component/lib/{uni-match-media-global → uni-match-media-match-media-global}/utssdk/index.d.ts +0 -0
  524. /package/types/uni/uts-plugin-component/lib/{uni-match-media-global → uni-match-media-match-media-global}/utssdk/interface.d.ts +0 -0
  525. /package/types/uni/uts-plugin-component/lib/{uni-navigator-global → uni-navigator-navigator-global}/utssdk/global.d.ts +0 -0
  526. /package/types/uni/uts-plugin-component/lib/{uni-navigator-global → uni-navigator-navigator-global}/utssdk/index.d.ts +0 -0
  527. /package/types/uni/uts-plugin-component/lib/{uni-navigator-global → uni-navigator-navigator-global}/utssdk/interface.d.ts +0 -0
  528. /package/types/uni/uts-plugin-component/lib/{uni-barcode-scanning → uni-page-container-page-container-global}/utssdk/global.d.ts +0 -0
  529. /package/types/uni/uts-plugin-component/lib/{uni-barcode-scanning → uni-page-container-page-container-global}/utssdk/index.d.ts +0 -0
  530. /package/types/uni/uts-plugin-component/lib/{uni-barcode-scanning → uni-page-container-page-container-global}/utssdk/interface.d.ts +0 -0
  531. /package/types/uni/uts-plugin-component/lib/{uni-picker-global → uni-picker-picker-global}/utssdk/global.d.ts +0 -0
  532. /package/types/uni/uts-plugin-component/lib/{uni-picker-global → uni-picker-picker-global}/utssdk/index.d.ts +0 -0
  533. /package/types/uni/uts-plugin-component/lib/{uni-picker-global → uni-picker-picker-global}/utssdk/interface.d.ts +0 -0
  534. /package/types/uni/uts-plugin-component/lib/{uni-progress-global → uni-progress-progress-global}/utssdk/global.d.ts +0 -0
  535. /package/types/uni/uts-plugin-component/lib/{uni-progress-global → uni-progress-progress-global}/utssdk/index.d.ts +0 -0
  536. /package/types/uni/uts-plugin-component/lib/{uni-progress-global → uni-progress-progress-global}/utssdk/interface.d.ts +0 -0
  537. /package/types/uni/uts-plugin-component/lib/{uni-rich-text-global → uni-rich-text-rich-text-global}/utssdk/global.d.ts +0 -0
  538. /package/types/uni/uts-plugin-component/lib/{uni-rich-text-global → uni-rich-text-rich-text-global}/utssdk/index.d.ts +0 -0
  539. /package/types/uni/uts-plugin-component/lib/{uni-rich-text-global → uni-rich-text-rich-text-global}/utssdk/interface.d.ts +0 -0
  540. /package/types/uni/uts-plugin-component/lib/{uni-video-global → uni-video-video-global}/utssdk/global.d.ts +0 -0
  541. /package/types/uni/uts-plugin-component/lib/{uni-video-global → uni-video-video-global}/utssdk/index.d.ts +0 -0
  542. /package/types/uni/uts-plugin-component/lib/{uni-video-global → uni-video-video-global}/utssdk/interface.d.ts +0 -0
  543. /package/types/uni/uts-plugin-component/lib/{uni-web-view-global → uni-web-view-web-view-global}/utssdk/global.d.ts +0 -0
  544. /package/types/uni/uts-plugin-component/lib/{uni-web-view-global → uni-web-view-web-view-global}/utssdk/index.d.ts +0 -0
  545. /package/types/uni/uts-plugin-component/lib/{uni-web-view-global → uni-web-view-web-view-global}/utssdk/interface.d.ts +0 -0
@@ -1,3031 +0,0 @@
1
- export interface Uni {
2
- /**
3
- * 登录
4
- *
5
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/sign-in.html
6
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/sign-in.html
7
- * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/plugins/login.html#login
8
- *
9
- * @uniPlatform {
10
- * "app": {
11
- * "android": {
12
- * "osVer": "5.0",
13
- * "uniVer": "√",
14
- * "unixVer": "5.08"
15
- * },
16
- * "ios": {
17
- * "osVer": "12.0",
18
- * "uniVer": "√",
19
- * "unixVer": "5.08"
20
- * },
21
- * "harmony": {
22
- * "osVer": "3.0",
23
- * "uniVer": "4.31",
24
- * "unixVer": "4.61",
25
- * "unixVaporVer": "5.0"
26
- * }
27
- * },
28
- * "mp": {
29
- * "360": {
30
- * "hostVer": "√",
31
- * "uniVer": "√",
32
- * "unixVer": "x"
33
- * },
34
- * "weixin": {
35
- * "hostVer": "2.3.1",
36
- * "uniVer": "√",
37
- * "unixVer": "4.41"
38
- * },
39
- * "alipay": {
40
- * "hostVer": "√",
41
- * "uniVer": "√",
42
- * "unixVer": "x"
43
- * },
44
- * "baidu": {
45
- * "hostVer": "√",
46
- * "uniVer": "√",
47
- * "unixVer": "x"
48
- * },
49
- * "toutiao": {
50
- * "hostVer": "√",
51
- * "uniVer": "√",
52
- * "unixVer": "x"
53
- * },
54
- * "lark": {
55
- * "hostVer": "√",
56
- * "uniVer": "√",
57
- * "unixVer": "x"
58
- * },
59
- * "qq": {
60
- * "hostVer": "√",
61
- * "uniVer": "√",
62
- * "unixVer": "x"
63
- * },
64
- * "kuaishou": {
65
- * "hostVer": "√",
66
- * "uniVer": "√",
67
- * "unixVer": "x"
68
- * },
69
- * "jd": {
70
- * "hostVer": "√",
71
- * "uniVer": "√",
72
- * "unixVer": "x"
73
- * }
74
- * },
75
- * "quickapp": {
76
- * "uniVer": "√",
77
- * "unixVer": "√"
78
- * },
79
- * "web": {
80
- * "uniVer": "x",
81
- * "unixVer": "x"
82
- * }
83
- * }
84
- * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/open-api/login/wx.login.html
85
- */
86
- login(options: LoginOptions): void;
87
- /**
88
- * 获取用户信息
89
- *
90
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/sign-in.html#getuserinfo
91
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/sign-in.html#getuserinfo
92
- * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/plugins/login.html#getuserinfo
93
- *
94
- * @uniPlatform {
95
- * "app": {
96
- * "android": {
97
- * "osVer": "5.0",
98
- * "uniVer": "√",
99
- * "unixVer": "x"
100
- * },
101
- * "ios": {
102
- * "osVer": "12.0",
103
- * "uniVer": "√",
104
- * "unixVer": "x"
105
- * },
106
- * "harmony": {
107
- * "osVer": "3.0",
108
- * "uniVer": "4.31",
109
- * "unixVer": "4.61",
110
- * "unixVaporVer": "5.0"
111
- * }
112
- * },
113
- * "mp": {
114
- * "360": {
115
- * "hostVer": "√",
116
- * "uniVer": "√",
117
- * "unixVer": "x"
118
- * },
119
- * "weixin": {
120
- * "hostVer": "2.3.1",
121
- * "uniVer": "√",
122
- * "unixVer": "4.41"
123
- * },
124
- * "alipay": {
125
- * "hostVer": "√",
126
- * "uniVer": "√",
127
- * "unixVer": "x"
128
- * },
129
- * "baidu": {
130
- * "hostVer": "√",
131
- * "uniVer": "√",
132
- * "unixVer": "x"
133
- * },
134
- * "toutiao": {
135
- * "hostVer": "√",
136
- * "uniVer": "√",
137
- * "unixVer": "x"
138
- * },
139
- * "lark": {
140
- * "hostVer": "√",
141
- * "uniVer": "√",
142
- * "unixVer": "x"
143
- * },
144
- * "qq": {
145
- * "hostVer": "√",
146
- * "uniVer": "√",
147
- * "unixVer": "x"
148
- * },
149
- * "kuaishou": {
150
- * "hostVer": "√",
151
- * "uniVer": "√",
152
- * "unixVer": "x"
153
- * },
154
- * "jd": {
155
- * "hostVer": "√",
156
- * "uniVer": "√",
157
- * "unixVer": "x"
158
- * }
159
- * },
160
- * "quickapp": {
161
- * "uniVer": "√",
162
- * "unixVer": "√"
163
- * },
164
- * "web": {
165
- * "uniVer": "x",
166
- * "unixVer": "x"
167
- * }
168
- * }
169
- * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/open-api/user-info/wx.getUserInfo.html
170
- */
171
- getUserInfo(options: GetUserInfoOptions): void;
172
- }
173
-
174
-
175
- export interface UniOAuthProvider extends UniProvider {
176
- login(options: LoginOptions): void;
177
- getUserInfo(options: GetUserInfoOptions): void;
178
- }
179
-
180
-
181
-
182
- export type Login = (options: LoginOptions) => void;
183
-
184
- export type AppleLoginAppleInfo = {
185
- /**
186
- * 应用程序用来与服务器交互的令牌
187
- */
188
- authorizationCode?: string | null,
189
- /**
190
- * 返回身份的全名
191
- */
192
- fullName?: any | null,
193
- /**
194
- * 一个JSON Web令牌(JWT),可以安全地将用户信息传递给应用程序
195
- */
196
- identityToken?: string | null,
197
- /**
198
- * 指示用户是否为真人
199
- */
200
- realUserStatus?: number | null,
201
- /**
202
- * 验证用户的标识符
203
- */
204
- user?: string | null
205
- };
206
- export type LoginSuccess = {
207
- /**
208
- * 描述信息
209
- * @uniPlatform {
210
- * "mp": {
211
- * "weixin": {
212
- * "hostVer": "√",
213
- * "uniVer": "√",
214
- * "unixVer": "4.41"
215
- * },
216
- * "alipay": {
217
- * "hostVer": "-",
218
- * "uniVer": "-",
219
- * "unixVer": "-"
220
- * },
221
- * "baidu": {
222
- * "hostVer": "-",
223
- * "uniVer": "-",
224
- * "unixVer": "-"
225
- * },
226
- * "toutiao": {
227
- * "hostVer": "-",
228
- * "uniVer": "-",
229
- * "unixVer": "-"
230
- * },
231
- * "lark": {
232
- * "hostVer": "-",
233
- * "uniVer": "-",
234
- * "unixVer": "-"
235
- * },
236
- * "qq": {
237
- * "hostVer": "-",
238
- * "uniVer": "-",
239
- * "unixVer": "-"
240
- * },
241
- * "kuaishou": {
242
- * "hostVer": "-",
243
- * "uniVer": "-",
244
- * "unixVer": "-"
245
- * },
246
- * "jd": {
247
- * "hostVer": "-",
248
- * "uniVer": "-",
249
- * "unixVer": "-"
250
- * }
251
- * }
252
- * }
253
- */
254
- errMsg?: string | null,
255
- /**
256
- * 登录服务商提供的登录信息,服务商不同返回的结果不完全相同
257
- * @uniPlatform {
258
- * "app": {
259
- * "android": {
260
- * "osVer": "5.0",
261
- * "uniVer": "√",
262
- * "unixVer": "5.08"
263
- * },
264
- * "ios": {
265
- * "osVer": "12.0",
266
- * "uniVer": "√",
267
- * "unixVer": "5.08"
268
- * },
269
- * "harmony": {
270
- * "osVer": "3.0",
271
- * "uniVer": "4.31",
272
- * "unixVer": "4.61",
273
- * "unixVaporVer": "5.0"
274
- * }
275
- * }
276
- * }
277
- */
278
- authResult: any,
279
- /**
280
- * 小程序用户临时登录凭证
281
- * @uniPlatform {
282
- * "app": {
283
- * "android": {
284
- * "osVer": "5.0",
285
- * "uniVer": "√",
286
- * "unixVer": "5.08"
287
- * },
288
- * "ios": {
289
- * "osVer": "12.0",
290
- * "uniVer": "√",
291
- * "unixVer": "5.08"
292
- * },
293
- * "harmony": {
294
- * "osVer": "3.0",
295
- * "uniVer": "4.31",
296
- * "unixVer": "4.61",
297
- * "unixVaporVer": "5.0"
298
- * }
299
- * }
300
- * }
301
- */
302
- code: string,
303
- /**
304
- * 头条小程序当前设备标识
305
- * @uniPlatform {
306
- * "app": {
307
- * "android": {
308
- * "osVer": "x",
309
- * "uniVer": "x",
310
- * "unixVer": "x"
311
- * },
312
- * "ios": {
313
- * "osVer": "x",
314
- * "uniVer": "x",
315
- * "unixVer": "x"
316
- * },
317
- * "harmony": {
318
- * "osVer": "x",
319
- * "uniVer": "x",
320
- * "unixVer": "x"
321
- * }
322
- * }
323
- * }
324
- */
325
- anonymousCode?: string | null,
326
- /**
327
- * 支付宝小程序授权码
328
- * @uniPlatform {
329
- * "app": {
330
- * "android": {
331
- * "osVer": "x",
332
- * "uniVer": "x",
333
- * "unixVer": "x"
334
- * },
335
- * "ios": {
336
- * "osVer": "x",
337
- * "uniVer": "x",
338
- * "unixVer": "x"
339
- * },
340
- * "harmony": {
341
- * "osVer": "x",
342
- * "uniVer": "x",
343
- * "unixVer": "x"
344
- * }
345
- * }
346
- * }
347
- */
348
- authCode?: string | null,
349
- /**
350
- * 支付宝小程序登录失败的授权类型,key是授权失败的 scope,value 是对应的错误码
351
- * @uniPlatform {
352
- * "app": {
353
- * "android": {
354
- * "osVer": "x",
355
- * "uniVer": "x",
356
- * "unixVer": "x"
357
- * },
358
- * "ios": {
359
- * "osVer": "x",
360
- * "uniVer": "x",
361
- * "unixVer": "x"
362
- * },
363
- * "harmony": {
364
- * "osVer": "x",
365
- * "uniVer": "x",
366
- * "unixVer": "x"
367
- * }
368
- * }
369
- * }
370
- */
371
- authErrorScope?: any | null,
372
- /**
373
- * 支付宝小程序登录成功的授权 scope
374
- * @uniPlatform {
375
- * "app": {
376
- * "android": {
377
- * "osVer": "x",
378
- * "uniVer": "x",
379
- * "unixVer": "x"
380
- * },
381
- * "ios": {
382
- * "osVer": "x",
383
- * "uniVer": "x",
384
- * "unixVer": "x"
385
- * },
386
- * "harmony": {
387
- * "osVer": "x",
388
- * "uniVer": "x",
389
- * "unixVer": "x"
390
- * }
391
- * }
392
- * }
393
- */
394
- authSucessScope?: (string[]) | null,
395
- /**
396
- * 苹果登录成功返回的信息
397
- * @uniPlatform {
398
- * "app": {
399
- * "android": {
400
- * "osVer": "x",
401
- * "uniVer": "x",
402
- * "unixVer": "x"
403
- * },
404
- * "ios": {
405
- * "osVer": "x",
406
- * "uniVer": "x",
407
- * "unixVer": "x"
408
- * },
409
- * "harmony": {
410
- * "osVer": "x",
411
- * "uniVer": "x",
412
- * "unixVer": "x"
413
- * }
414
- * }
415
- * }
416
- */
417
- appleInfo?: AppleLoginAppleInfo | null
418
- };
419
- export type LoginSuccessCallback = (result: LoginSuccess) => void;
420
- export type LoginFail = IOauthFail;
421
- export type LoginFailCallback = (result: LoginFail) => void;
422
- export type LoginComplete = any;
423
- export type LoginCompleteCallback = (result: LoginComplete) => void;
424
- export type LoginOptions = {
425
- /**
426
- * 授权登录服务提供商,通过uni.getProvider获取,如果不设置则弹出分享列表选择界面
427
- *
428
- * @uniPlatform {
429
- * "app": {
430
- * "android": {
431
- * "osVer": "5.0",
432
- * "uniVer": "√",
433
- * "unixVer": "5.08"
434
- * },
435
- * "ios": {
436
- * "osVer": "12.0",
437
- * "uniVer": "√",
438
- * "unixVer": "5.08"
439
- * },
440
- * "harmony": {
441
- * "osVer": "3.0",
442
- * "uniVer": "4.31",
443
- * "unixVer": "4.61",
444
- * "unixVaporVer": "5.0"
445
- * }
446
- * },
447
- * "mp": {
448
- * "weixin": {
449
- * "hostVer": "x",
450
- * "uniVer": "x",
451
- * "unixVer": "x"
452
- * },
453
- * "alipay": {
454
- * "hostVer": "x",
455
- * "uniVer": "x",
456
- * "unixVer": "x"
457
- * },
458
- * "baidu": {
459
- * "hostVer": "x",
460
- * "uniVer": "x",
461
- * "unixVer": "x"
462
- * },
463
- * "toutiao": {
464
- * "hostVer": "x",
465
- * "uniVer": "x",
466
- * "unixVer": "x"
467
- * },
468
- * "lark": {
469
- * "hostVer": "x",
470
- * "uniVer": "x",
471
- * "unixVer": "x"
472
- * },
473
- * "qq": {
474
- * "hostVer": "x",
475
- * "uniVer": "x",
476
- * "unixVer": "x"
477
- * },
478
- * "kuaishou": {
479
- * "hostVer": "x",
480
- * "uniVer": "x",
481
- * "unixVer": "x"
482
- * },
483
- * "jd": {
484
- * "hostVer": "x",
485
- * "uniVer": "x",
486
- * "unixVer": "x"
487
- * },
488
- * "360": {
489
- * "hostVer": "x",
490
- * "uniVer": "x",
491
- * "unixVer": "x"
492
- * }
493
- * },
494
- * "quickapp": {
495
- * "uniVer": "x",
496
- * "unixVer": "x"
497
- * },
498
- * "web": {
499
- * "uniVer": "x",
500
- * "unixVer": "x"
501
- * }
502
- * }
503
- */
504
- provider?:
505
- /**
506
- * 微信登录
507
- * @uniPlatform {
508
- * "app": {
509
- * "android": {
510
- * "osVer": "5.0",
511
- * "uniVer": "√",
512
- * "unixVer": "5.08"
513
- * },
514
- * "ios": {
515
- * "osVer": "12.0",
516
- * "uniVer": "√",
517
- * "unixVer": "5.08"
518
- * },
519
- * "harmony": {
520
- * "osVer": "5.0.0",
521
- * "uniVer": "4.76",
522
- * "unixVer": "4.81",
523
- * "unixVaporVer": "5.0"
524
- * }
525
- * }
526
- * }
527
- */
528
- 'weixin' |
529
- /**
530
- * QQ登录
531
- * @uniPlatform {
532
- * "app": {
533
- * "android": {
534
- * "osVer": "5.0",
535
- * "uniVer": "√",
536
- * "unixVer": "x"
537
- * },
538
- * "ios": {
539
- * "osVer": "12.0",
540
- * "uniVer": "√",
541
- * "unixVer": "x"
542
- * },
543
- * "harmony": {
544
- * "osVer": "x",
545
- * "uniVer": "x",
546
- * "unixVer": "x"
547
- * }
548
- * }
549
- * }
550
- */
551
- 'qq' |
552
- /**
553
- * 新浪微博登录
554
- * @uniPlatform {
555
- * "app": {
556
- * "android": {
557
- * "osVer": "5.0",
558
- * "uniVer": "√",
559
- * "unixVer": "x"
560
- * },
561
- * "ios": {
562
- * "osVer": "12.0",
563
- * "uniVer": "√",
564
- * "unixVer": "x"
565
- * },
566
- * "harmony": {
567
- * "osVer": "x",
568
- * "uniVer": "x",
569
- * "unixVer": "x"
570
- * }
571
- * }
572
- * }
573
- */
574
- 'sinaweibo' |
575
- /**
576
- * 小米登录
577
- * @uniPlatform {
578
- * "app": {
579
- * "android": {
580
- * "osVer": "x",
581
- * "uniVer": "x",
582
- * "unixVer": "x"
583
- * },
584
- * "ios": {
585
- * "osVer": "x",
586
- * "uniVer": "x",
587
- * "unixVer": "x"
588
- * },
589
- * "harmony": {
590
- * "osVer": "x",
591
- * "uniVer": "x",
592
- * "unixVer": "x"
593
- * }
594
- * }
595
- * }
596
- */
597
- 'xiaomi' |
598
- /**
599
- * Apple登录
600
- * @uniPlatform {
601
- * "app": {
602
- * "android": {
603
- * "osVer": "x",
604
- * "uniVer": "x",
605
- * "unixVer": "x"
606
- * },
607
- * "ios": {
608
- * "osVer": "x",
609
- * "uniVer": "x",
610
- * "unixVer": "x"
611
- * },
612
- * "harmony": {
613
- * "osVer": "x",
614
- * "uniVer": "x",
615
- * "unixVer": "x"
616
- * }
617
- * }
618
- * }
619
- */
620
- 'apple' |
621
- /**
622
- * 华为 HarmonyOS 华为账号登录
623
- * @uniPlatform {
624
- * "app": {
625
- * "android": {
626
- * "osVer": "x",
627
- * "uniVer": "x",
628
- * "unixVer": "x"
629
- * },
630
- * "ios": {
631
- * "osVer": "x",
632
- * "uniVer": "x",
633
- * "unixVer": "x"
634
- * },
635
- * "harmony": {
636
- * "osVer": "3.0",
637
- * "uniVer": "x",
638
- * "unixVer": "4.61",
639
- * "unixVaporVer": "5.0"
640
- * }
641
- * }
642
- * }
643
- */
644
- 'huawei' | null,
645
- /**
646
- * 授权类型,默认 auth_base。支持 auth_base(静默授权)/ auth_user(主动授权) / auth_zhima(芝麻信用)
647
- *
648
- * @uniPlatform {
649
- * "app": {
650
- * "android": {
651
- * "osVer": "x",
652
- * "uniVer": "x",
653
- * "unixVer": "x"
654
- * },
655
- * "ios": {
656
- * "osVer": "x",
657
- * "uniVer": "x",
658
- * "unixVer": "x"
659
- * },
660
- * "harmony": {
661
- * "osVer": "x",
662
- * "uniVer": "x",
663
- * "unixVer": "x"
664
- * }
665
- * }
666
- * "mp": {
667
- * "alipay": {
668
- * "hostVer": "√",
669
- * "uniVer": "√",
670
- * "unixVer": "x"
671
- * }
672
- * }
673
- * }
674
- */
675
- scopes?: any | null,
676
- /**
677
- * 超时时间,单位 ms
678
- * @uniPlatform {
679
- * "app": {
680
- * "android": {
681
- * "osVer": "x",
682
- * "uniVer": "x",
683
- * "unixVer": "x"
684
- * },
685
- * "ios": {
686
- * "osVer": "x",
687
- * "uniVer": "x",
688
- * "unixVer": "x"
689
- * },
690
- * "harmony": {
691
- * "osVer": "x",
692
- * "uniVer": "x",
693
- * "unixVer": "x"
694
- * }
695
- * }
696
- * "mp": {
697
- * "weixin": {
698
- * "hostVer": "√",
699
- * "uniVer": "√",
700
- * "unixVer": "2.35"
701
- * },
702
- * "baidu": {
703
- * "hostVer": "√",
704
- * "uniVer": "√",
705
- * "unixVer": "x"
706
- * },
707
- * "jd": {
708
- * "hostVer": "√",
709
- * "uniVer": "√",
710
- * "unixVer": "x"
711
- * }
712
- * }
713
- * }
714
- */
715
- timeout?: number | null,
716
- /**
717
- * 微信登录仅请求授权认证
718
- *
719
- * @uniPlatform {
720
- * "app": {
721
- * "android": {
722
- * "osVer": "5.0",
723
- * "uniVer": "3.2.6",
724
- * "unixVer": "5.08"
725
- * },
726
- * "ios": {
727
- * "osVer": "12.0",
728
- * "uniVer": "3.2.6",
729
- * "unixVer": "5.08"
730
- * },
731
- * "harmony": {
732
- * "osVer": "5.0.0",
733
- * "uniVer": "4.76",
734
- * "unixVer": "4.81",
735
- * "unixVaporVer": "5.0"
736
- * }
737
- * },
738
- * "web": {
739
- * "uniVer": "x",
740
- * "unixVer": "x"
741
- * }
742
- * }
743
- */
744
- onlyAuthorize?: boolean | null,
745
- /**
746
- * 接口调用成功的回调函数
747
- * @uniPlatform {
748
- * "mp": {
749
- * "weixin": {
750
- * "hostVer": "√",
751
- * "uniVer": "√",
752
- * "unixVer": "4.41"
753
- * },
754
- * "alipay": {
755
- * "hostVer": "-",
756
- * "uniVer": "-",
757
- * "unixVer": "-"
758
- * },
759
- * "baidu": {
760
- * "hostVer": "-",
761
- * "uniVer": "-",
762
- * "unixVer": "-"
763
- * },
764
- * "toutiao": {
765
- * "hostVer": "-",
766
- * "uniVer": "-",
767
- * "unixVer": "-"
768
- * },
769
- * "lark": {
770
- * "hostVer": "-",
771
- * "uniVer": "-",
772
- * "unixVer": "-"
773
- * },
774
- * "qq": {
775
- * "hostVer": "-",
776
- * "uniVer": "-",
777
- * "unixVer": "-"
778
- * },
779
- * "kuaishou": {
780
- * "hostVer": "-",
781
- * "uniVer": "-",
782
- * "unixVer": "-"
783
- * },
784
- * "jd": {
785
- * "hostVer": "-",
786
- * "uniVer": "-",
787
- * "unixVer": "-"
788
- * }
789
- * }
790
- * }
791
- */
792
- success?: LoginSuccessCallback | null,
793
- /**
794
- * 接口调用失败的回调函数
795
- * @uniPlatform {
796
- * "mp": {
797
- * "weixin": {
798
- * "hostVer": "√",
799
- * "uniVer": "√",
800
- * "unixVer": "4.41"
801
- * },
802
- * "alipay": {
803
- * "hostVer": "-",
804
- * "uniVer": "-",
805
- * "unixVer": "-"
806
- * },
807
- * "baidu": {
808
- * "hostVer": "-",
809
- * "uniVer": "-",
810
- * "unixVer": "-"
811
- * },
812
- * "toutiao": {
813
- * "hostVer": "-",
814
- * "uniVer": "-",
815
- * "unixVer": "-"
816
- * },
817
- * "lark": {
818
- * "hostVer": "-",
819
- * "uniVer": "-",
820
- * "unixVer": "-"
821
- * },
822
- * "qq": {
823
- * "hostVer": "-",
824
- * "uniVer": "-",
825
- * "unixVer": "-"
826
- * },
827
- * "kuaishou": {
828
- * "hostVer": "-",
829
- * "uniVer": "-",
830
- * "unixVer": "-"
831
- * },
832
- * "jd": {
833
- * "hostVer": "-",
834
- * "uniVer": "-",
835
- * "unixVer": "-"
836
- * }
837
- * }
838
- * }
839
- */
840
- fail?: LoginFailCallback | null,
841
- /**
842
- * 接口调用结束的回调函数(调用成功、失败都会执行)
843
- * @uniPlatform {
844
- * "mp": {
845
- * "weixin": {
846
- * "hostVer": "√",
847
- * "uniVer": "√",
848
- * "unixVer": "4.41"
849
- * },
850
- * "alipay": {
851
- * "hostVer": "-",
852
- * "uniVer": "-",
853
- * "unixVer": "-"
854
- * },
855
- * "baidu": {
856
- * "hostVer": "-",
857
- * "uniVer": "-",
858
- * "unixVer": "-"
859
- * },
860
- * "toutiao": {
861
- * "hostVer": "-",
862
- * "uniVer": "-",
863
- * "unixVer": "-"
864
- * },
865
- * "lark": {
866
- * "hostVer": "-",
867
- * "uniVer": "-",
868
- * "unixVer": "-"
869
- * },
870
- * "qq": {
871
- * "hostVer": "-",
872
- * "uniVer": "-",
873
- * "unixVer": "-"
874
- * },
875
- * "kuaishou": {
876
- * "hostVer": "-",
877
- * "uniVer": "-",
878
- * "unixVer": "-"
879
- * },
880
- * "jd": {
881
- * "hostVer": "-",
882
- * "uniVer": "-",
883
- * "unixVer": "-"
884
- * }
885
- * }
886
- * }
887
- */
888
- complete?: LoginCompleteCallback | null
889
- };
890
-
891
- export type UniverifyIconStyles = {
892
- /**
893
- * 图标地址
894
- *
895
- * 仅支持本地路径,默认为应用图标。
896
- */
897
- path: string,
898
- /**
899
- * 图标宽度
900
- *
901
- * 格式为“XXpx",默认值为"60px"。
902
- */
903
- width?: string | null,
904
- /**
905
- * 图标高度
906
- *
907
- * 格式为“XXpx",默认值为"60px"。
908
- */
909
- height?: string | null
910
- };
911
- export type UniverifyPhoneNumStyles = {
912
- /**
913
- * 字体颜色
914
- *
915
- * 格式为"#RRGGBB",默认值为"#000000"。
916
- */
917
- color?: string | null,
918
- /**
919
- * 字体大小
920
- *
921
- * 格式为“XXpx",默认值为"18px"。注意:字体加粗显示。
922
- */
923
- fontSize?: string | null
924
- };
925
- export type UniverifySloganStyles = {
926
- /**
927
- * 字体颜色
928
- *
929
- * 格式为"#RRGGBB",默认值为"#8a8b90"。
930
- */
931
- color?: string | null,
932
- /**
933
- * 字体大小
934
- *
935
- * 格式为“XXpx",默认值为"12px"。
936
- */
937
- fontSize?: string | null
938
- };
939
- export type UniverifyAuthButtonStyles = {
940
- /**
941
- * 正常状态按钮颜色
942
- *
943
- * 格式为"#RRGGBB",默认值为"#3479f5"。
944
- */
945
- normalColor?: string | null,
946
- /**
947
- * 按下状态按钮颜色
948
- *
949
- * 格式为"#RRGGBB",默认值为"#2861c5"。
950
- */
951
- highlightColor?: string | null,
952
- /**
953
- * 不可点击状态按钮颜色
954
- *
955
- * 格式为"#RRGGBB",默认值为"#73aaf5"。 注意:仅iOS平台支持。
956
- */
957
- disabledColor?: string | null,
958
- /**
959
- * 按钮宽度
960
- *
961
- * 格式为“XXpx",默认值为自适应,距离屏幕左右"32px"。
962
- */
963
- width?: string | null,
964
- /**
965
- * 按钮高度
966
- *
967
- * 格式为“XXpx",默认值为"94px"。
968
- */
969
- height?: string | null,
970
- /**
971
- * 按钮上文字颜色
972
- *
973
- * 格式为"#RRGGBB",默认值为"#ffffff"。
974
- */
975
- textColor?: string | null,
976
- /**
977
- * 按钮上文字内容
978
- *
979
- * 默认值为"本机号码一键登录"。
980
- */
981
- title?: string | null,
982
- /**
983
- * 授权按钮圆角
984
- *
985
- * 格式为“XXpx",默认值:"24px" (按钮高度的一半)
986
- */
987
- borderRadius?: string | null
988
- };
989
- export type UniverifyOtherButtonStyles = {
990
- /**
991
- * 是否显示其它按钮
992
- *
993
- * 可取值: true - 显示其它按钮;false - 不显示其它按钮。 默认值为true。
994
- * @type boolean
995
- */
996
- visible?: boolean | null,
997
- /**
998
- * 正常状态按钮颜色
999
- *
1000
- * 格式为"#RRGGBB",默认值为"#f8f8f8"。
1001
- */
1002
- normalColor?: string | null,
1003
- /**
1004
- * 按下状态按钮颜色
1005
- *
1006
- * 格式为"#RRGGBB",默认值为"#dedede"。
1007
- */
1008
- highlightColor?: string | null,
1009
- /**
1010
- * 按钮宽度
1011
- *
1012
- * 格式为“XXpx",默认值为自适应,距离屏幕左右"32px"。
1013
- */
1014
- width?: string | null,
1015
- /**
1016
- * 按钮高度
1017
- *
1018
- * 格式为“XXpx",默认值为"94px"。
1019
- */
1020
- height?: string | null,
1021
- /**
1022
- * 按钮上文字颜色
1023
- *
1024
- * 格式为"#RRGGBB",默认值为"#000000"。
1025
- */
1026
- textColor?: string | null,
1027
- /**
1028
- * 按钮上文字内容
1029
- *
1030
- * 默认值为"本机号码一键登录"。
1031
- */
1032
- title?: string | null,
1033
- /**
1034
- * 按钮边框宽度
1035
- *
1036
- * 格式为“XXpx",默认值为"1px"。 注意:仅iOS平台支持。
1037
- */
1038
- borderWidth?: string | null,
1039
- /**
1040
- * 按钮边框颜色
1041
- *
1042
- * 格式为"#RRGGBB",默认值为"#c5c5c5"。 注意:仅iOS平台支持。
1043
- */
1044
- borderColor?: string | null,
1045
- /**
1046
- * 其他登录按钮圆角
1047
- *
1048
- * 格式为“XXpx",默认值:"24px" (按钮高度的一半)
1049
- */
1050
- borderRadius?: string | null
1051
- };
1052
- export type UniverifyPrivacyItemStyles = {
1053
- /**
1054
- * 链接地址
1055
- *
1056
- * http/https开头的协议链接地址。
1057
- */
1058
- url: string,
1059
- /**
1060
- * 协议链接文字
1061
- */
1062
- title: string
1063
- };
1064
- export type UniverifyPrivacyTermsStyles = {
1065
- /**
1066
- * 默认是否勾选同意协议选择框
1067
- *
1068
- * ture表示勾选,false表示不勾选。默认值为true。
1069
- * HBuilderX3.1.0+版本新增支持。
1070
- * @type boolean
1071
- */
1072
- defaultCheckBoxState?: boolean | null,
1073
- /**
1074
- * 普通文字颜色
1075
- *
1076
- * 格式为"#RRGGBB",默认值为"#8a8b90"。
1077
- */
1078
- textColor?: string | null,
1079
- /**
1080
- * 协议链接文字颜色
1081
- *
1082
- * 格式为"#RRGGBB",默认值为"#1d4788"。
1083
- */
1084
- termsColor?: string | null,
1085
- /**
1086
- * 服务协议前文本内容
1087
- *
1088
- * 默认值为"我已阅读并同意"。
1089
- */
1090
- prefix?: string | null,
1091
- /**
1092
- * 服务协议后文本内容
1093
- *
1094
- * 默认值为"并使用本机号码登录"。
1095
- */
1096
- suffix?: string | null,
1097
- /**
1098
- * 字体大小
1099
- *
1100
- * 格式为“XXpx",默认值为"12px"。
1101
- */
1102
- fontSize?: string | null,
1103
- /**
1104
- * 服务协议
1105
- *
1106
- * 自定义服务协议,可设置使用手机号码登录的协议,最多可设置两个协议。 注意:运营商的服务协议链接会自动添加到自定义服务协议之前。
1107
- */
1108
- privacyItems?: (UniverifyPrivacyItemStyles[]) | null
1109
- };
1110
- export type UniVerifyButtonListItem = {
1111
- /**
1112
- * 该按钮标识,会原样返回。
1113
- */
1114
- provider: string,
1115
- /**
1116
- * 图片路径
1117
- *
1118
- * 仅支持本地图片
1119
- */
1120
- iconPath: string
1121
- };
1122
- export type UniVerifyButtonsStyles = {
1123
- /**
1124
- * 自定义登录按钮图标宽度
1125
- *
1126
- * 单位为px,默认值为45px。
1127
- * 按指定宽度缩放,高度等比例缩放。
1128
- */
1129
- iconWidth?: string | null,
1130
- /**
1131
- * 自定义登录按钮列表
1132
- */
1133
- list: UniVerifyButtonListItem[]
1134
- };
1135
- export type UniverifyStyle = {
1136
- /**
1137
- * 是否全屏模式。
1138
- *
1139
- * true表示全屏模式,false表示非全屏模式,默认值为false。
1140
- * @type boolean
1141
- */
1142
- fullScreen?: boolean | null,
1143
- /**
1144
- * 授权界面背景颜色。
1145
- *
1146
- * 格式为"#RRGGBB",默认值为"#FFFFF"。
1147
- */
1148
- backgroundColor?: string | null,
1149
- /**
1150
- * 背景图片
1151
- */
1152
- backgroundImage?: string | null,
1153
- /**
1154
- * 授权界面图标样式。
1155
- *
1156
- * 可设置自定义图标,默认为应用图标。
1157
- */
1158
- icon?: UniverifyIconStyles | null,
1159
- /**
1160
- * 授权界面电话号码样式
1161
- *
1162
- * 可设置自定义电话号码文字颜色、大小等。
1163
- */
1164
- phoneNum?: UniverifyPhoneNumStyles | null,
1165
- /**
1166
- * 授权界面服务说明样式
1167
- *
1168
- * 可设置自定义服务说明文字颜色、大小等。
1169
- */
1170
- slogan?: UniverifySloganStyles | null,
1171
- /**
1172
- * 授权界面其他登录按钮样式
1173
- *
1174
- * 可设置自定义其他登录按钮背景颜色、文本内容、大小等。
1175
- */
1176
- authButton?: UniverifyAuthButtonStyles | null,
1177
- /**
1178
- * 支付宝小程序登录成功的授权 scope
1179
- */
1180
- otherLoginButton?: UniverifyOtherButtonStyles | null,
1181
- /**
1182
- * 授权界面服务协议样式
1183
- *
1184
- * 自定义设置服务器协议文字颜色、文本内容,添加自定义服务协议链接等。
1185
- */
1186
- privacyTerms?: UniverifyPrivacyTermsStyles | null,
1187
- /**
1188
- * 自定义登录按钮列表样式
1189
- *
1190
- * 自定义设置更多登录按钮列表,如其它三方登录等。
1191
- * 注意:HBuilderX3.1.14+版本支持。
1192
- */
1193
- buttons?: UniVerifyButtonsStyles | null
1194
- };
1195
-
1196
- export type GetUserInfo = (options: GetUserInfoOptions) => void;
1197
- export type UserInfo = {
1198
- /**
1199
- * 用户昵称
1200
- * @uniPlatform {
1201
- * "mp": {
1202
- * "weixin": {
1203
- * "hostVer": "√",
1204
- * "uniVer": "√",
1205
- * "unixVer": "4.41"
1206
- * },
1207
- * "alipay": {
1208
- * "hostVer": "-",
1209
- * "uniVer": "-",
1210
- * "unixVer": "-"
1211
- * },
1212
- * "baidu": {
1213
- * "hostVer": "-",
1214
- * "uniVer": "-",
1215
- * "unixVer": "-"
1216
- * },
1217
- * "toutiao": {
1218
- * "hostVer": "-",
1219
- * "uniVer": "-",
1220
- * "unixVer": "-"
1221
- * },
1222
- * "lark": {
1223
- * "hostVer": "-",
1224
- * "uniVer": "-",
1225
- * "unixVer": "-"
1226
- * },
1227
- * "qq": {
1228
- * "hostVer": "-",
1229
- * "uniVer": "-",
1230
- * "unixVer": "-"
1231
- * },
1232
- * "kuaishou": {
1233
- * "hostVer": "-",
1234
- * "uniVer": "-",
1235
- * "unixVer": "-"
1236
- * },
1237
- * "jd": {
1238
- * "hostVer": "-",
1239
- * "uniVer": "-",
1240
- * "unixVer": "-"
1241
- * }
1242
- * }
1243
- * }
1244
- */
1245
- nickName: string,
1246
- /**
1247
- * 该服务商唯一用户标识
1248
- * @uniPlatform {
1249
- * "app": {
1250
- * "android": {
1251
- * "osVer": "5.0",
1252
- * "uniVer": "√",
1253
- * "unixVer": "x"
1254
- * },
1255
- * "ios": {
1256
- * "osVer": "12.0",
1257
- * "uniVer": "√",
1258
- * "unixVer": "x"
1259
- * },
1260
- * "harmony": {
1261
- * "osVer": "3.0",
1262
- * "uniVer": "4.31",
1263
- * "unixVer": "4.61",
1264
- * "unixVaporVer": "5.0"
1265
- * }
1266
- * },
1267
- * "mp": {
1268
- * "weixin": {
1269
- * "hostVer": "x",
1270
- * "uniVer": "x",
1271
- * "unixVer": "x"
1272
- * },
1273
- * "alipay": {
1274
- * "hostVer": "x",
1275
- * "uniVer": "x",
1276
- * "unixVer": "x"
1277
- * },
1278
- * "baidu": {
1279
- * "hostVer": "x",
1280
- * "uniVer": "x",
1281
- * "unixVer": "x"
1282
- * },
1283
- * "toutiao": {
1284
- * "hostVer": "x",
1285
- * "uniVer": "x",
1286
- * "unixVer": "x"
1287
- * },
1288
- * "lark": {
1289
- * "hostVer": "x",
1290
- * "uniVer": "x",
1291
- * "unixVer": "x"
1292
- * },
1293
- * "qq": {
1294
- * "hostVer": "x",
1295
- * "uniVer": "x",
1296
- * "unixVer": "x"
1297
- * },
1298
- * "kuaishou": {
1299
- * "hostVer": "x",
1300
- * "uniVer": "x",
1301
- * "unixVer": "x"
1302
- * },
1303
- * "jd": {
1304
- * "hostVer": "x",
1305
- * "uniVer": "x",
1306
- * "unixVer": "x"
1307
- * },
1308
- * "360": {
1309
- * "hostVer": "x",
1310
- * "uniVer": "x",
1311
- * "unixVer": "x"
1312
- * }
1313
- * },
1314
- * "quickapp": {
1315
- * "uniVer": "x",
1316
- * "unixVer": "x"
1317
- * },
1318
- * "web": {
1319
- * "uniVer": "x",
1320
- * "unixVer": "x"
1321
- * }
1322
- * }
1323
- */
1324
- openId?: string | null,
1325
- /**
1326
- * 用户头像
1327
- * @uniPlatform {
1328
- * "mp": {
1329
- * "weixin": {
1330
- * "hostVer": "√",
1331
- * "uniVer": "√",
1332
- * "unixVer": "4.41"
1333
- * },
1334
- * "alipay": {
1335
- * "hostVer": "-",
1336
- * "uniVer": "-",
1337
- * "unixVer": "-"
1338
- * },
1339
- * "baidu": {
1340
- * "hostVer": "-",
1341
- * "uniVer": "-",
1342
- * "unixVer": "-"
1343
- * },
1344
- * "toutiao": {
1345
- * "hostVer": "-",
1346
- * "uniVer": "-",
1347
- * "unixVer": "-"
1348
- * },
1349
- * "lark": {
1350
- * "hostVer": "-",
1351
- * "uniVer": "-",
1352
- * "unixVer": "-"
1353
- * },
1354
- * "qq": {
1355
- * "hostVer": "-",
1356
- * "uniVer": "-",
1357
- * "unixVer": "-"
1358
- * },
1359
- * "kuaishou": {
1360
- * "hostVer": "-",
1361
- * "uniVer": "-",
1362
- * "unixVer": "-"
1363
- * },
1364
- * "jd": {
1365
- * "hostVer": "-",
1366
- * "uniVer": "-",
1367
- * "unixVer": "-"
1368
- * }
1369
- * }
1370
- * }
1371
- */
1372
- avatarUrl: string,
1373
- /**
1374
- * 用户性别(仅微信登录支持)
1375
- * @uniPlatform {
1376
- * "app": {
1377
- * "android": {
1378
- * "osVer": "x",
1379
- * "uniVer": "x",
1380
- * "unixVer": "x"
1381
- * },
1382
- * "ios": {
1383
- * "osVer": "x",
1384
- * "uniVer": "x",
1385
- * "unixVer": "x"
1386
- * },
1387
- * "harmony": {
1388
- * "osVer": "5.0.0",
1389
- * "uniVer": "4.76",
1390
- * "unixVer": "4.81",
1391
- * "unixVaporVer": "5.0"
1392
- * }
1393
- * },
1394
- * "mp": {
1395
- * "weixin": {
1396
- * "hostVer": "x",
1397
- * "uniVer": "x",
1398
- * "unixVer": "x"
1399
- * },
1400
- * "alipay": {
1401
- * "hostVer": "x",
1402
- * "uniVer": "x",
1403
- * "unixVer": "x"
1404
- * },
1405
- * "baidu": {
1406
- * "hostVer": "x",
1407
- * "uniVer": "x",
1408
- * "unixVer": "x"
1409
- * },
1410
- * "toutiao": {
1411
- * "hostVer": "x",
1412
- * "uniVer": "x",
1413
- * "unixVer": "x"
1414
- * },
1415
- * "lark": {
1416
- * "hostVer": "x",
1417
- * "uniVer": "x",
1418
- * "unixVer": "x"
1419
- * },
1420
- * "qq": {
1421
- * "hostVer": "x",
1422
- * "uniVer": "x",
1423
- * "unixVer": "x"
1424
- * },
1425
- * "kuaishou": {
1426
- * "hostVer": "x",
1427
- * "uniVer": "x",
1428
- * "unixVer": "x"
1429
- * },
1430
- * "jd": {
1431
- * "hostVer": "x",
1432
- * "uniVer": "x",
1433
- * "unixVer": "x"
1434
- * },
1435
- * "360": {
1436
- * "hostVer": "x",
1437
- * "uniVer": "x",
1438
- * "unixVer": "x"
1439
- * }
1440
- * },
1441
- * "quickapp": {
1442
- * "uniVer": "x",
1443
- * "unixVer": "x"
1444
- * },
1445
- * "web": {
1446
- * "uniVer": "x",
1447
- * "unixVer": "x"
1448
- * }
1449
- * }
1450
- */
1451
- gender?:
1452
- /**
1453
- * 男
1454
- */
1455
- '0' |
1456
-
1457
- /**
1458
- * 女
1459
- */
1460
- '1' |
1461
-
1462
- /**
1463
- * 保密
1464
- */
1465
- '2' |
1466
- null |
1467
- /**
1468
- * @uniPlatform {
1469
- * "mp": {
1470
- * "weixin": {
1471
- * "hostVer": "√",
1472
- * "uniVer": "√",
1473
- * "unixVer": "4.41"
1474
- * },
1475
- * "alipay": {
1476
- * "hostVer": "-",
1477
- * "uniVer": "-",
1478
- * "unixVer": "-"
1479
- * },
1480
- * "baidu": {
1481
- * "hostVer": "-",
1482
- * "uniVer": "-",
1483
- * "unixVer": "-"
1484
- * },
1485
- * "toutiao": {
1486
- * "hostVer": "-",
1487
- * "uniVer": "-",
1488
- * "unixVer": "-"
1489
- * },
1490
- * "lark": {
1491
- * "hostVer": "-",
1492
- * "uniVer": "-",
1493
- * "unixVer": "-"
1494
- * },
1495
- * "qq": {
1496
- * "hostVer": "-",
1497
- * "uniVer": "-",
1498
- * "unixVer": "-"
1499
- * },
1500
- * "kuaishou": {
1501
- * "hostVer": "-",
1502
- * "uniVer": "-",
1503
- * "unixVer": "-"
1504
- * },
1505
- * "jd": {
1506
- * "hostVer": "-",
1507
- * "uniVer": "-",
1508
- * "unixVer": "-"
1509
- * }
1510
- * }
1511
- * }
1512
- */
1513
- 0 |
1514
- /**
1515
- * @uniPlatform {
1516
- * "mp": {
1517
- * "weixin": {
1518
- * "hostVer": "√",
1519
- * "uniVer": "√",
1520
- * "unixVer": "4.41"
1521
- * },
1522
- * "alipay": {
1523
- * "hostVer": "-",
1524
- * "uniVer": "-",
1525
- * "unixVer": "-"
1526
- * },
1527
- * "baidu": {
1528
- * "hostVer": "-",
1529
- * "uniVer": "-",
1530
- * "unixVer": "-"
1531
- * },
1532
- * "toutiao": {
1533
- * "hostVer": "-",
1534
- * "uniVer": "-",
1535
- * "unixVer": "-"
1536
- * },
1537
- * "lark": {
1538
- * "hostVer": "-",
1539
- * "uniVer": "-",
1540
- * "unixVer": "-"
1541
- * },
1542
- * "qq": {
1543
- * "hostVer": "-",
1544
- * "uniVer": "-",
1545
- * "unixVer": "-"
1546
- * },
1547
- * "kuaishou": {
1548
- * "hostVer": "-",
1549
- * "uniVer": "-",
1550
- * "unixVer": "-"
1551
- * },
1552
- * "jd": {
1553
- * "hostVer": "-",
1554
- * "uniVer": "-",
1555
- * "unixVer": "-"
1556
- * }
1557
- * }
1558
- * }
1559
- */
1560
- 1 |
1561
- /**
1562
- * @uniPlatform {
1563
- * "mp": {
1564
- * "weixin": {
1565
- * "hostVer": "√",
1566
- * "uniVer": "√",
1567
- * "unixVer": "4.41"
1568
- * },
1569
- * "alipay": {
1570
- * "hostVer": "-",
1571
- * "uniVer": "-",
1572
- * "unixVer": "-"
1573
- * },
1574
- * "baidu": {
1575
- * "hostVer": "-",
1576
- * "uniVer": "-",
1577
- * "unixVer": "-"
1578
- * },
1579
- * "toutiao": {
1580
- * "hostVer": "-",
1581
- * "uniVer": "-",
1582
- * "unixVer": "-"
1583
- * },
1584
- * "lark": {
1585
- * "hostVer": "-",
1586
- * "uniVer": "-",
1587
- * "unixVer": "-"
1588
- * },
1589
- * "qq": {
1590
- * "hostVer": "-",
1591
- * "uniVer": "-",
1592
- * "unixVer": "-"
1593
- * },
1594
- * "kuaishou": {
1595
- * "hostVer": "-",
1596
- * "uniVer": "-",
1597
- * "unixVer": "-"
1598
- * },
1599
- * "jd": {
1600
- * "hostVer": "-",
1601
- * "uniVer": "-",
1602
- * "unixVer": "-"
1603
- * }
1604
- * }
1605
- * }
1606
- */
1607
- 2;
1608
- /**
1609
- * @tutorial_weixin https://developers.weixin.qq.com/community/develop/doc/00028edbe3c58081e7cc834705b801
1610
- *
1611
- * @uniPlatform {
1612
- * "mp": {
1613
- * "weixin": {
1614
- * "hostVer": "√",
1615
- * "uniVer": "√",
1616
- * "unixVer": "4.41"
1617
- * },
1618
- * "alipay": {
1619
- * "hostVer": "-",
1620
- * "uniVer": "-",
1621
- * "unixVer": "-"
1622
- * },
1623
- * "baidu": {
1624
- * "hostVer": "-",
1625
- * "uniVer": "-",
1626
- * "unixVer": "-"
1627
- * },
1628
- * "toutiao": {
1629
- * "hostVer": "-",
1630
- * "uniVer": "-",
1631
- * "unixVer": "-"
1632
- * },
1633
- * "lark": {
1634
- * "hostVer": "-",
1635
- * "uniVer": "-",
1636
- * "unixVer": "-"
1637
- * },
1638
- * "qq": {
1639
- * "hostVer": "-",
1640
- * "uniVer": "-",
1641
- * "unixVer": "-"
1642
- * },
1643
- * "kuaishou": {
1644
- * "hostVer": "-",
1645
- * "uniVer": "-",
1646
- * "unixVer": "-"
1647
- * },
1648
- * "jd": {
1649
- * "hostVer": "-",
1650
- * "uniVer": "-",
1651
- * "unixVer": "-"
1652
- * }
1653
- * }
1654
- * }
1655
- */
1656
- city?: string | null;
1657
- /**
1658
- * @tutorial_weixin https://developers.weixin.qq.com/community/develop/doc/00028edbe3c58081e7cc834705b801
1659
- *
1660
- * @uniPlatform {
1661
- * "mp": {
1662
- * "weixin": {
1663
- * "hostVer": "√",
1664
- * "uniVer": "√",
1665
- * "unixVer": "4.41"
1666
- * },
1667
- * "alipay": {
1668
- * "hostVer": "-",
1669
- * "uniVer": "-",
1670
- * "unixVer": "-"
1671
- * },
1672
- * "baidu": {
1673
- * "hostVer": "-",
1674
- * "uniVer": "-",
1675
- * "unixVer": "-"
1676
- * },
1677
- * "toutiao": {
1678
- * "hostVer": "-",
1679
- * "uniVer": "-",
1680
- * "unixVer": "-"
1681
- * },
1682
- * "lark": {
1683
- * "hostVer": "-",
1684
- * "uniVer": "-",
1685
- * "unixVer": "-"
1686
- * },
1687
- * "qq": {
1688
- * "hostVer": "-",
1689
- * "uniVer": "-",
1690
- * "unixVer": "-"
1691
- * },
1692
- * "kuaishou": {
1693
- * "hostVer": "-",
1694
- * "uniVer": "-",
1695
- * "unixVer": "-"
1696
- * },
1697
- * "jd": {
1698
- * "hostVer": "-",
1699
- * "uniVer": "-",
1700
- * "unixVer": "-"
1701
- * }
1702
- * }
1703
- * }
1704
- */
1705
- country?: string | null;
1706
- /**
1707
- * 可选值:
1708
- * - 'en': 英文;
1709
- * - 'zh_CN': 简体中文;
1710
- * - 'zh_TW': 繁体中文;
1711
- *
1712
- * @tutorial_weixin https://developers.weixin.qq.com/community/develop/doc/00028edbe3c58081e7cc834705b801
1713
- *
1714
- * @uniPlatform {
1715
- * "mp": {
1716
- * "weixin": {
1717
- * "hostVer": "√",
1718
- * "uniVer": "√",
1719
- * "unixVer": "4.41"
1720
- * },
1721
- * "alipay": {
1722
- * "hostVer": "-",
1723
- * "uniVer": "-",
1724
- * "unixVer": "-"
1725
- * },
1726
- * "baidu": {
1727
- * "hostVer": "-",
1728
- * "uniVer": "-",
1729
- * "unixVer": "-"
1730
- * },
1731
- * "toutiao": {
1732
- * "hostVer": "-",
1733
- * "uniVer": "-",
1734
- * "unixVer": "-"
1735
- * },
1736
- * "lark": {
1737
- * "hostVer": "-",
1738
- * "uniVer": "-",
1739
- * "unixVer": "-"
1740
- * },
1741
- * "qq": {
1742
- * "hostVer": "-",
1743
- * "uniVer": "-",
1744
- * "unixVer": "-"
1745
- * },
1746
- * "kuaishou": {
1747
- * "hostVer": "-",
1748
- * "uniVer": "-",
1749
- * "unixVer": "-"
1750
- * },
1751
- * "jd": {
1752
- * "hostVer": "-",
1753
- * "uniVer": "-",
1754
- * "unixVer": "-"
1755
- * }
1756
- * }
1757
- * }
1758
- */
1759
- language?: "en" | "zh_CN" | "zh_TW" | null;
1760
- /**
1761
- * @tutorial_weixin https://developers.weixin.qq.com/community/develop/doc/00028edbe3c58081e7cc834705b801
1762
- *
1763
- * @uniPlatform {
1764
- * "mp": {
1765
- * "weixin": {
1766
- * "hostVer": "√",
1767
- * "uniVer": "√",
1768
- * "unixVer": "4.41"
1769
- * },
1770
- * "alipay": {
1771
- * "hostVer": "-",
1772
- * "uniVer": "-",
1773
- * "unixVer": "-"
1774
- * },
1775
- * "baidu": {
1776
- * "hostVer": "-",
1777
- * "uniVer": "-",
1778
- * "unixVer": "-"
1779
- * },
1780
- * "toutiao": {
1781
- * "hostVer": "-",
1782
- * "uniVer": "-",
1783
- * "unixVer": "-"
1784
- * },
1785
- * "lark": {
1786
- * "hostVer": "-",
1787
- * "uniVer": "-",
1788
- * "unixVer": "-"
1789
- * },
1790
- * "qq": {
1791
- * "hostVer": "-",
1792
- * "uniVer": "-",
1793
- * "unixVer": "-"
1794
- * },
1795
- * "kuaishou": {
1796
- * "hostVer": "-",
1797
- * "uniVer": "-",
1798
- * "unixVer": "-"
1799
- * },
1800
- * "jd": {
1801
- * "hostVer": "-",
1802
- * "uniVer": "-",
1803
- * "unixVer": "-"
1804
- * }
1805
- * }
1806
- * }
1807
- */
1808
- province?: string | null;
1809
- };
1810
- export type GetUserInfoSuccess = {
1811
- /**
1812
- * 用户信息对象,不包含 openid 等敏感信息
1813
- * @uniPlatform {
1814
- * "app": {
1815
- * "android": {
1816
- * "osVer": "5.0",
1817
- * "uniVer": "√",
1818
- * "unixVer": "x"
1819
- * },
1820
- * "ios": {
1821
- * "osVer": "12.0",
1822
- * "uniVer": "√",
1823
- * "unixVer": "x"
1824
- * },
1825
- * "harmony": {
1826
- * "osVer": "3.0",
1827
- * "uniVer": "4.31",
1828
- * "unixVer": "4.61",
1829
- * "unixVaporVer": "5.0"
1830
- * }
1831
- * },
1832
- * "mp": {
1833
- * "weixin": {
1834
- * "hostVer": "√",
1835
- * "uniVer": "√",
1836
- * "unixVer": "4.41"
1837
- * },
1838
- * "alipay": {
1839
- * "hostVer": "√",
1840
- * "uniVer": "√",
1841
- * "unixVer": "x"
1842
- * },
1843
- * "baidu": {
1844
- * "hostVer": "√",
1845
- * "uniVer": "√",
1846
- * "unixVer": "x"
1847
- * },
1848
- * "toutiao": {
1849
- * "hostVer": "√",
1850
- * "uniVer": "√",
1851
- * "unixVer": "x"
1852
- * },
1853
- * "lark": {
1854
- * "hostVer": "√",
1855
- * "uniVer": "√",
1856
- * "unixVer": "x"
1857
- * },
1858
- * "qq": {
1859
- * "hostVer": "√",
1860
- * "uniVer": "√",
1861
- * "unixVer": "x"
1862
- * },
1863
- * "kuaishou": {
1864
- * "hostVer": "√",
1865
- * "uniVer": "√",
1866
- * "unixVer": "x"
1867
- * },
1868
- * "jd": {
1869
- * "hostVer": "√",
1870
- * "uniVer": "√",
1871
- * "unixVer": "x"
1872
- * },
1873
- * "360": {
1874
- * "hostVer": "x",
1875
- * "uniVer": "x",
1876
- * "unixVer": "x"
1877
- * }
1878
- * },
1879
- * "quickapp": {
1880
- * "uniVer": "x",
1881
- * "unixVer": "x"
1882
- * },
1883
- * "web": {
1884
- * "uniVer": "x",
1885
- * "unixVer": "x"
1886
- * }
1887
- * }
1888
- */
1889
- userInfo: UserInfo,
1890
- /**
1891
- * 不包括敏感信息的原始数据字符串,用于计算签名。
1892
- * @uniPlatform {
1893
- * "app": {
1894
- * "android": {
1895
- * "osVer": "5.0",
1896
- * "uniVer": "x",
1897
- * "unixVer": "x"
1898
- * },
1899
- * "ios": {
1900
- * "osVer": "12.0",
1901
- * "uniVer": "x",
1902
- * "unixVer": "x"
1903
- * },
1904
- * "harmony": {
1905
- * "osVer": "3.0",
1906
- * "uniVer": "x",
1907
- * "unixVer": "x"
1908
- * }
1909
- * },
1910
- * "mp": {
1911
- * "weixin": {
1912
- * "hostVer": "√",
1913
- * "uniVer": "√",
1914
- * "unixVer": "4.41"
1915
- * },
1916
- * "alipay": {
1917
- * "hostVer": "x",
1918
- * "uniVer": "x",
1919
- * "unixVer": "x"
1920
- * },
1921
- * "baidu": {
1922
- * "hostVer": "x",
1923
- * "uniVer": "x",
1924
- * "unixVer": "x"
1925
- * },
1926
- * "toutiao": {
1927
- * "hostVer": "√",
1928
- * "uniVer": "√",
1929
- * "unixVer": "x"
1930
- * },
1931
- * "lark": {
1932
- * "hostVer": "√",
1933
- * "uniVer": "√",
1934
- * "unixVer": "x"
1935
- * },
1936
- * "qq": {
1937
- * "hostVer": "x",
1938
- * "uniVer": "x",
1939
- * "unixVer": "x"
1940
- * },
1941
- * "kuaishou": {
1942
- * "hostVer": "√",
1943
- * "uniVer": "√",
1944
- * "unixVer": "x"
1945
- * },
1946
- * "jd": {
1947
- * "hostVer": "√",
1948
- * "uniVer": "√",
1949
- * "unixVer": "x"
1950
- * },
1951
- * "360": {
1952
- * "hostVer": "x",
1953
- * "uniVer": "x",
1954
- * "unixVer": "x"
1955
- * }
1956
- * },
1957
- * "quickapp": {
1958
- * "uniVer": "x",
1959
- * "unixVer": "x"
1960
- * },
1961
- * "web": {
1962
- * "uniVer": "x",
1963
- * "unixVer": "x"
1964
- * }
1965
- * }
1966
- */
1967
- rawData?: string | null,
1968
- /**
1969
- * 使用 sha1( rawData + sessionkey ) 得到字符串,用于校验用户信息,仅微信小程序生效。
1970
- * @uniPlatform {
1971
- * "app": {
1972
- * "android": {
1973
- * "osVer": "5.0",
1974
- * "uniVer": "x",
1975
- * "unixVer": "x"
1976
- * },
1977
- * "ios": {
1978
- * "osVer": "12.0",
1979
- * "uniVer": "x",
1980
- * "unixVer": "x"
1981
- * },
1982
- * "harmony": {
1983
- * "osVer": "3.0",
1984
- * "uniVer": "x",
1985
- * "unixVer": "x"
1986
- * }
1987
- * },
1988
- * "mp": {
1989
- * "weixin": {
1990
- * "hostVer": "√",
1991
- * "uniVer": "√",
1992
- * "unixVer": "4.41"
1993
- * },
1994
- * "alipay": {
1995
- * "hostVer": "x",
1996
- * "uniVer": "x",
1997
- * "unixVer": "x"
1998
- * },
1999
- * "baidu": {
2000
- * "hostVer": "x",
2001
- * "uniVer": "x",
2002
- * "unixVer": "x"
2003
- * },
2004
- * "toutiao": {
2005
- * "hostVer": "√",
2006
- * "uniVer": "√",
2007
- * "unixVer": "x"
2008
- * },
2009
- * "lark": {
2010
- * "hostVer": "√",
2011
- * "uniVer": "√",
2012
- * "unixVer": "x"
2013
- * },
2014
- * "qq": {
2015
- * "hostVer": "x",
2016
- * "uniVer": "x",
2017
- * "unixVer": "x"
2018
- * },
2019
- * "kuaishou": {
2020
- * "hostVer": "√",
2021
- * "uniVer": "√",
2022
- * "unixVer": "x"
2023
- * },
2024
- * "jd": {
2025
- * "hostVer": "√",
2026
- * "uniVer": "√",
2027
- * "unixVer": "x"
2028
- * },
2029
- * "360": {
2030
- * "hostVer": "x",
2031
- * "uniVer": "x",
2032
- * "unixVer": "x"
2033
- * }
2034
- * },
2035
- * "quickapp": {
2036
- * "uniVer": "x",
2037
- * "unixVer": "x"
2038
- * },
2039
- * "web": {
2040
- * "uniVer": "x",
2041
- * "unixVer": "x"
2042
- * }
2043
- * }
2044
- */
2045
- signature?: string | null,
2046
- /**
2047
- * 包括敏感数据在内的完整用户信息的加密数据,详细见加密数据解密算法,仅微信小程序生效。
2048
- * @uniPlatform {
2049
- * "app": {
2050
- * "android": {
2051
- * "osVer": "5.0",
2052
- * "uniVer": "x",
2053
- * "unixVer": "x"
2054
- * },
2055
- * "ios": {
2056
- * "osVer": "12.0",
2057
- * "uniVer": "x",
2058
- * "unixVer": "x"
2059
- * },
2060
- * "harmony": {
2061
- * "osVer": "3.0",
2062
- * "uniVer": "x",
2063
- * "unixVer": "x"
2064
- * }
2065
- * },
2066
- * "mp": {
2067
- * "weixin": {
2068
- * "hostVer": "√",
2069
- * "uniVer": "√",
2070
- * "unixVer": "4.41"
2071
- * },
2072
- * "alipay": {
2073
- * "hostVer": "x",
2074
- * "uniVer": "x",
2075
- * "unixVer": "x"
2076
- * },
2077
- * "baidu": {
2078
- * "hostVer": "x",
2079
- * "uniVer": "x",
2080
- * "unixVer": "x"
2081
- * },
2082
- * "toutiao": {
2083
- * "hostVer": "√",
2084
- * "uniVer": "√",
2085
- * "unixVer": "x"
2086
- * },
2087
- * "lark": {
2088
- * "hostVer": "√",
2089
- * "uniVer": "√",
2090
- * "unixVer": "x"
2091
- * },
2092
- * "qq": {
2093
- * "hostVer": "x",
2094
- * "uniVer": "x",
2095
- * "unixVer": "x"
2096
- * },
2097
- * "kuaishou": {
2098
- * "hostVer": "√",
2099
- * "uniVer": "√",
2100
- * "unixVer": "x"
2101
- * },
2102
- * "jd": {
2103
- * "hostVer": "√",
2104
- * "uniVer": "√",
2105
- * "unixVer": "x"
2106
- * },
2107
- * "360": {
2108
- * "hostVer": "x",
2109
- * "uniVer": "x",
2110
- * "unixVer": "x"
2111
- * }
2112
- * },
2113
- * "quickapp": {
2114
- * "uniVer": "x",
2115
- * "unixVer": "x"
2116
- * },
2117
- * "web": {
2118
- * "uniVer": "x",
2119
- * "unixVer": "x"
2120
- * }
2121
- * }
2122
- */
2123
- encryptedData?: string | null,
2124
- /**
2125
- * 加密算法的初始向量,详细见加密数据解密算法,仅微信小程序生效。
2126
- * @uniPlatform {
2127
- * "app": {
2128
- * "android": {
2129
- * "osVer": "5.0",
2130
- * "uniVer": "x",
2131
- * "unixVer": "x"
2132
- * },
2133
- * "ios": {
2134
- * "osVer": "12.0",
2135
- * "uniVer": "x",
2136
- * "unixVer": "x"
2137
- * },
2138
- * "harmony": {
2139
- * "osVer": "3.0",
2140
- * "uniVer": "x",
2141
- * "unixVer": "x"
2142
- * }
2143
- * },
2144
- * "mp": {
2145
- * "weixin": {
2146
- * "hostVer": "√",
2147
- * "uniVer": "√",
2148
- * "unixVer": "4.41"
2149
- * },
2150
- * "alipay": {
2151
- * "hostVer": "x",
2152
- * "uniVer": "x",
2153
- * "unixVer": "x"
2154
- * },
2155
- * "baidu": {
2156
- * "hostVer": "x",
2157
- * "uniVer": "x",
2158
- * "unixVer": "x"
2159
- * },
2160
- * "toutiao": {
2161
- * "hostVer": "√",
2162
- * "uniVer": "√",
2163
- * "unixVer": "x"
2164
- * },
2165
- * "lark": {
2166
- * "hostVer": "√",
2167
- * "uniVer": "√",
2168
- * "unixVer": "x"
2169
- * },
2170
- * "qq": {
2171
- * "hostVer": "x",
2172
- * "uniVer": "x",
2173
- * "unixVer": "x"
2174
- * },
2175
- * "kuaishou": {
2176
- * "hostVer": "√",
2177
- * "uniVer": "√",
2178
- * "unixVer": "x"
2179
- * },
2180
- * "jd": {
2181
- * "hostVer": "√",
2182
- * "uniVer": "√",
2183
- * "unixVer": "x"
2184
- * },
2185
- * "360": {
2186
- * "hostVer": "x",
2187
- * "uniVer": "x",
2188
- * "unixVer": "x"
2189
- * }
2190
- * },
2191
- * "quickapp": {
2192
- * "uniVer": "x",
2193
- * "unixVer": "x"
2194
- * },
2195
- * "web": {
2196
- * "uniVer": "x",
2197
- * "unixVer": "x"
2198
- * }
2199
- * }
2200
- */
2201
- iv?: string | null,
2202
- /**
2203
- * 描述信息
2204
- * @uniPlatform {
2205
- * "mp": {
2206
- * "weixin": {
2207
- * "hostVer": "√",
2208
- * "uniVer": "√",
2209
- * "unixVer": "4.41"
2210
- * },
2211
- * "alipay": {
2212
- * "hostVer": "-",
2213
- * "uniVer": "-",
2214
- * "unixVer": "-"
2215
- * },
2216
- * "baidu": {
2217
- * "hostVer": "-",
2218
- * "uniVer": "-",
2219
- * "unixVer": "-"
2220
- * },
2221
- * "toutiao": {
2222
- * "hostVer": "-",
2223
- * "uniVer": "-",
2224
- * "unixVer": "-"
2225
- * },
2226
- * "lark": {
2227
- * "hostVer": "-",
2228
- * "uniVer": "-",
2229
- * "unixVer": "-"
2230
- * },
2231
- * "qq": {
2232
- * "hostVer": "-",
2233
- * "uniVer": "-",
2234
- * "unixVer": "-"
2235
- * },
2236
- * "kuaishou": {
2237
- * "hostVer": "-",
2238
- * "uniVer": "-",
2239
- * "unixVer": "-"
2240
- * },
2241
- * "jd": {
2242
- * "hostVer": "-",
2243
- * "uniVer": "-",
2244
- * "unixVer": "-"
2245
- * }
2246
- * }
2247
- * }
2248
- */
2249
- errMsg: string
2250
- /**
2251
- * 需要基础库: `2.7.0`
2252
- *
2253
- * 敏感数据对应的云 ID,开通[云开发](https://developers.weixin.qq.com/miniprogram/dev/wxcloudservice/wxcloud/basis/getting-started.html)的小程序才会返回,可通过云调用直接获取开放数据,详细见[云调用直接获取开放数据](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/signature.html#method-cloud)
2254
- *
2255
- * @uniPlatform {
2256
- * "mp": {
2257
- * "weixin": {
2258
- * "hostVer": "2.7.0",
2259
- * "uniVer": "√",
2260
- * "unixVer": "4.41"
2261
- * },
2262
- * "alipay": {
2263
- * "hostVer": "-",
2264
- * "uniVer": "-",
2265
- * "unixVer": "-"
2266
- * },
2267
- * "baidu": {
2268
- * "hostVer": "-",
2269
- * "uniVer": "-",
2270
- * "unixVer": "-"
2271
- * },
2272
- * "toutiao": {
2273
- * "hostVer": "-",
2274
- * "uniVer": "-",
2275
- * "unixVer": "-"
2276
- * },
2277
- * "lark": {
2278
- * "hostVer": "-",
2279
- * "uniVer": "-",
2280
- * "unixVer": "-"
2281
- * },
2282
- * "qq": {
2283
- * "hostVer": "-",
2284
- * "uniVer": "-",
2285
- * "unixVer": "-"
2286
- * },
2287
- * "kuaishou": {
2288
- * "hostVer": "-",
2289
- * "uniVer": "-",
2290
- * "unixVer": "-"
2291
- * },
2292
- * "jd": {
2293
- * "hostVer": "-",
2294
- * "uniVer": "-",
2295
- * "unixVer": "-"
2296
- * }
2297
- * }
2298
- * }
2299
- */
2300
- cloudID?: string | null;
2301
- };
2302
- export type GetUserInfoSuccessCallback = (result: GetUserInfoSuccess) => void;
2303
- export type GetUserInfoFail = IUniError;
2304
- export type GetUserInfoFailCallback = (result: GetUserInfoFail) => void;
2305
- export type GetUserInfoComplete = any;
2306
- export type GetUserInfoCompleteCallback = (result: GetUserInfoComplete) => void;
2307
- export type GetUserInfoOptions = {
2308
- /**
2309
- * 授权登录服务提供商,通过uni.getProvider获取
2310
- * @uniPlatform {
2311
- * "app": {
2312
- * "android": {
2313
- * "osVer": "5.0",
2314
- * "uniVer": "√",
2315
- * "unixVer": "x"
2316
- * },
2317
- * "ios": {
2318
- * "osVer": "12.0",
2319
- * "uniVer": "√",
2320
- * "unixVer": "x"
2321
- * },
2322
- * "harmony": {
2323
- * "osVer": "3.0",
2324
- * "uniVer": "4.31",
2325
- * "unixVer": "4.61",
2326
- * "unixVaporVer": "5.0"
2327
- * }
2328
- * },
2329
- * "mp": {
2330
- * "weixin": {
2331
- * "hostVer": "x",
2332
- * "uniVer": "x",
2333
- * "unixVer": "x"
2334
- * },
2335
- * "alipay": {
2336
- * "hostVer": "x",
2337
- * "uniVer": "x",
2338
- * "unixVer": "x"
2339
- * },
2340
- * "baidu": {
2341
- * "hostVer": "x",
2342
- * "uniVer": "x",
2343
- * "unixVer": "x"
2344
- * },
2345
- * "toutiao": {
2346
- * "hostVer": "x",
2347
- * "uniVer": "x",
2348
- * "unixVer": "x"
2349
- * },
2350
- * "lark": {
2351
- * "hostVer": "x",
2352
- * "uniVer": "x",
2353
- * "unixVer": "x"
2354
- * },
2355
- * "qq": {
2356
- * "hostVer": "x",
2357
- * "uniVer": "x",
2358
- * "unixVer": "x"
2359
- * },
2360
- * "kuaishou": {
2361
- * "hostVer": "x",
2362
- * "uniVer": "x",
2363
- * "unixVer": "x"
2364
- * },
2365
- * "jd": {
2366
- * "hostVer": "x",
2367
- * "uniVer": "x",
2368
- * "unixVer": "x"
2369
- * },
2370
- * "360": {
2371
- * "hostVer": "x",
2372
- * "uniVer": "x",
2373
- * "unixVer": "x"
2374
- * }
2375
- * },
2376
- * "quickapp": {
2377
- * "uniVer": "x",
2378
- * "unixVer": "x"
2379
- * },
2380
- * "web": {
2381
- * "uniVer": "x",
2382
- * "unixVer": "x"
2383
- * }
2384
- * }
2385
- */
2386
- provider?:
2387
- /**
2388
- * 微信登录。
2389
- * - **推荐**: 使用 uniCloud 提供的云函数登录方式,避免在客户端暴露 appSecret。
2390
- * 1. [获取微信openid](https://doc.dcloud.net.cn/uniCloud/uni-id/old.html#获取微信openid)
2391
- * 2. [获取App平台微信登录用户信息](https://doc.dcloud.net.cn/uniCloud/uni-id/old.html#get-weixin-user-info)
2392
- * @uniPlatform {
2393
- * "app": {
2394
- * "android": {
2395
- * "osVer": "x",
2396
- * "uniVer": "x",
2397
- * "unixVer": "x"
2398
- * },
2399
- * "ios": {
2400
- * "osVer": "x",
2401
- * "uniVer": "x",
2402
- * "unixVer": "x"
2403
- * },
2404
- * "harmony": {
2405
- * "osVer": "x",
2406
- * "uniVer": "x",
2407
- * "unixVer": "x"
2408
- * }
2409
- * }
2410
- * }
2411
- */
2412
- 'weixin' |
2413
- /**
2414
- * QQ登录
2415
- * @uniPlatform {
2416
- * "app": {
2417
- * "android": {
2418
- * "osVer": "x",
2419
- * "uniVer": "x",
2420
- * "unixVer": "x"
2421
- * },
2422
- * "ios": {
2423
- * "osVer": "x",
2424
- * "uniVer": "x",
2425
- * "unixVer": "x"
2426
- * },
2427
- * "harmony": {
2428
- * "osVer": "x",
2429
- * "uniVer": "x",
2430
- * "unixVer": "x"
2431
- * }
2432
- * }
2433
- * }
2434
- */
2435
- 'qq' |
2436
- /**
2437
- * 新浪微博登录
2438
- * @uniPlatform {
2439
- * "app": {
2440
- * "android": {
2441
- * "osVer": "x",
2442
- * "uniVer": "x",
2443
- * "unixVer": "x"
2444
- * },
2445
- * "ios": {
2446
- * "osVer": "x",
2447
- * "uniVer": "x",
2448
- * "unixVer": "x"
2449
- * },
2450
- * "harmony": {
2451
- * "osVer": "x",
2452
- * "uniVer": "x",
2453
- * "unixVer": "x"
2454
- * }
2455
- * }
2456
- * }
2457
- */
2458
- 'sinaweibo' |
2459
- /**
2460
- * 小米登录
2461
- * @uniPlatform {
2462
- * "app": {
2463
- * "android": {
2464
- * "osVer": "x",
2465
- * "uniVer": "x",
2466
- * "unixVer": "x"
2467
- * },
2468
- * "ios": {
2469
- * "osVer": "x",
2470
- * "uniVer": "x",
2471
- * "unixVer": "x"
2472
- * },
2473
- * "harmony": {
2474
- * "osVer": "x",
2475
- * "uniVer": "x",
2476
- * "unixVer": "x"
2477
- * }
2478
- * }
2479
- * }
2480
- */
2481
- 'xiaomi' |
2482
- /**
2483
- * Apple登录
2484
- * @uniPlatform {
2485
- * "app": {
2486
- * "android": {
2487
- * "osVer": "x",
2488
- * "uniVer": "x",
2489
- * "unixVer": "x"
2490
- * },
2491
- * "ios": {
2492
- * "osVer": "x",
2493
- * "uniVer": "x",
2494
- * "unixVer": "x"
2495
- * },
2496
- * "harmony": {
2497
- * "osVer": "x",
2498
- * "uniVer": "x",
2499
- * "unixVer": "x"
2500
- * }
2501
- * }
2502
- * }
2503
- */
2504
- 'apple' |
2505
- /**
2506
- * 华为 HarmonyOS 华为账号登录
2507
- * @uniPlatform {
2508
- * "app": {
2509
- * "android": {
2510
- * "osVer": "x",
2511
- * "uniVer": "x",
2512
- * "unixVer": "x"
2513
- * },
2514
- * "ios": {
2515
- * "osVer": "x",
2516
- * "uniVer": "x",
2517
- * "unixVer": "x"
2518
- * },
2519
- * "harmony": {
2520
- * "osVer": "3.0",
2521
- * "uniVer": "4.31",
2522
- * "unixVer": "4.61",
2523
- * "unixVaporVer": "5.0"
2524
- * }
2525
- * }
2526
- * }
2527
- */
2528
- 'huawei' | null,
2529
- /**
2530
- * 是否带上登录态信息,仅微信小程序生效。
2531
- * @uniPlatform {
2532
- * "app": {
2533
- * "android": {
2534
- * "osVer": "x",
2535
- * "uniVer": "x",
2536
- * "unixVer": "x"
2537
- * },
2538
- * "ios": {
2539
- * "osVer": "x",
2540
- * "uniVer": "x",
2541
- * "unixVer": "x"
2542
- * },
2543
- * "harmony": {
2544
- * "osVer": "x",
2545
- * "uniVer": "x",
2546
- * "unixVer": "x"
2547
- * }
2548
- * },
2549
- * "mp": {
2550
- * "weixin": {
2551
- * "hostVer": "√",
2552
- * "uniVer": "√",
2553
- * "unixVer": "4.41"
2554
- * },
2555
- * "alipay": {
2556
- * "hostVer": "x",
2557
- * "uniVer": "x",
2558
- * "unixVer": "x"
2559
- * },
2560
- * "baidu": {
2561
- * "hostVer": "x",
2562
- * "uniVer": "x",
2563
- * "unixVer": "x"
2564
- * },
2565
- * "toutiao": {
2566
- * "hostVer": "√",
2567
- * "uniVer": "√",
2568
- * "unixVer": "x"
2569
- * },
2570
- * "lark": {
2571
- * "hostVer": "√",
2572
- * "uniVer": "√",
2573
- * "unixVer": "x"
2574
- * },
2575
- * "qq": {
2576
- * "hostVer": "x",
2577
- * "uniVer": "x",
2578
- * "unixVer": "x"
2579
- * },
2580
- * "kuaishou": {
2581
- * "hostVer": "√",
2582
- * "uniVer": "√",
2583
- * "unixVer": "x"
2584
- * },
2585
- * "jd": {
2586
- * "hostVer": "x",
2587
- * "uniVer": "x",
2588
- * "unixVer": "x"
2589
- * },
2590
- * "360": {
2591
- * "hostVer": "x",
2592
- * "uniVer": "x",
2593
- * "unixVer": "x"
2594
- * }
2595
- * },
2596
- * "quickapp": {
2597
- * "uniVer": "x",
2598
- * "unixVer": "x"
2599
- * },
2600
- * "web": {
2601
- * "uniVer": "x",
2602
- * "unixVer": "x"
2603
- * }
2604
- * }
2605
- */
2606
- withCredentials?: boolean | null,
2607
- /**
2608
- * 指定返回用户信息的语言,zh_CN 简体中文,zh_TW 繁体中文,en 英文。默认为en,仅微信小程序生效。
2609
- * @uniPlatform {
2610
- * "app": {
2611
- * "android": {
2612
- * "osVer": "x",
2613
- * "uniVer": "x",
2614
- * "unixVer": "x"
2615
- * },
2616
- * "ios": {
2617
- * "osVer": "x",
2618
- * "uniVer": "x",
2619
- * "unixVer": "x"
2620
- * },
2621
- * "harmony": {
2622
- * "osVer": "x",
2623
- * "uniVer": "x",
2624
- * "unixVer": "x"
2625
- * }
2626
- * },
2627
- * "mp": {
2628
- * "weixin": {
2629
- * "hostVer": "√",
2630
- * "uniVer": "√",
2631
- * "unixVer": "4.41"
2632
- * },
2633
- * "alipay": {
2634
- * "hostVer": "x",
2635
- * "uniVer": "x",
2636
- * "unixVer": "x"
2637
- * },
2638
- * "baidu": {
2639
- * "hostVer": "x",
2640
- * "uniVer": "x",
2641
- * "unixVer": "x"
2642
- * },
2643
- * "toutiao": {
2644
- * "hostVer": "x",
2645
- * "uniVer": "x",
2646
- * "unixVer": "x"
2647
- * },
2648
- * "lark": {
2649
- * "hostVer": "x",
2650
- * "uniVer": "x",
2651
- * "unixVer": "x"
2652
- * },
2653
- * "qq": {
2654
- * "hostVer": "x",
2655
- * "uniVer": "x",
2656
- * "unixVer": "x"
2657
- * },
2658
- * "kuaishou": {
2659
- * "hostVer": "x",
2660
- * "uniVer": "x",
2661
- * "unixVer": "x"
2662
- * },
2663
- * "jd": {
2664
- * "hostVer": "x",
2665
- * "uniVer": "x",
2666
- * "unixVer": "x"
2667
- * },
2668
- * "360": {
2669
- * "hostVer": "x",
2670
- * "uniVer": "x",
2671
- * "unixVer": "x"
2672
- * }
2673
- * },
2674
- * "quickapp": {
2675
- * "uniVer": "x",
2676
- * "unixVer": "x"
2677
- * },
2678
- * "web": {
2679
- * "uniVer": "x",
2680
- * "unixVer": "x"
2681
- * }
2682
- * }
2683
- */
2684
- lang?: string | null,
2685
- /**
2686
- * 超时时间,单位 ms
2687
- * @uniPlatform {
2688
- * "app": {
2689
- * "android": {
2690
- * "osVer": "x",
2691
- * "uniVer": "x",
2692
- * "unixVer": "x"
2693
- * },
2694
- * "ios": {
2695
- * "osVer": "x",
2696
- * "uniVer": "x",
2697
- * "unixVer": "x"
2698
- * },
2699
- * "harmony": {
2700
- * "osVer": "x",
2701
- * "uniVer": "x",
2702
- * "unixVer": "x"
2703
- * }
2704
- * },
2705
- * "mp": {
2706
- * "weixin": {
2707
- * "hostVer": "√",
2708
- * "uniVer": "√",
2709
- * "unixVer": "4.41"
2710
- * },
2711
- * "alipay": {
2712
- * "hostVer": "x",
2713
- * "uniVer": "x",
2714
- * "unixVer": "x"
2715
- * },
2716
- * "baidu": {
2717
- * "hostVer": "x",
2718
- * "uniVer": "x",
2719
- * "unixVer": "x"
2720
- * },
2721
- * "toutiao": {
2722
- * "hostVer": "x",
2723
- * "uniVer": "x",
2724
- * "unixVer": "x"
2725
- * },
2726
- * "lark": {
2727
- * "hostVer": "x",
2728
- * "uniVer": "x",
2729
- * "unixVer": "x"
2730
- * },
2731
- * "qq": {
2732
- * "hostVer": "x",
2733
- * "uniVer": "x",
2734
- * "unixVer": "x"
2735
- * },
2736
- * "kuaishou": {
2737
- * "hostVer": "x",
2738
- * "uniVer": "x",
2739
- * "unixVer": "x"
2740
- * },
2741
- * "jd": {
2742
- * "hostVer": "x",
2743
- * "uniVer": "x",
2744
- * "unixVer": "x"
2745
- * },
2746
- * "360": {
2747
- * "hostVer": "x",
2748
- * "uniVer": "x",
2749
- * "unixVer": "x"
2750
- * }
2751
- * },
2752
- * "quickapp": {
2753
- * "uniVer": "x",
2754
- * "unixVer": "x"
2755
- * },
2756
- * "web": {
2757
- * "uniVer": "x",
2758
- * "unixVer": "x"
2759
- * }
2760
- * }
2761
- */
2762
- timeout?: number | null,
2763
- /**
2764
- * 接口调用成功的回调函数
2765
- * @uniPlatform {
2766
- * "mp": {
2767
- * "weixin": {
2768
- * "hostVer": "√",
2769
- * "uniVer": "√",
2770
- * "unixVer": "4.41"
2771
- * },
2772
- * "alipay": {
2773
- * "hostVer": "-",
2774
- * "uniVer": "-",
2775
- * "unixVer": "-"
2776
- * },
2777
- * "baidu": {
2778
- * "hostVer": "-",
2779
- * "uniVer": "-",
2780
- * "unixVer": "-"
2781
- * },
2782
- * "toutiao": {
2783
- * "hostVer": "-",
2784
- * "uniVer": "-",
2785
- * "unixVer": "-"
2786
- * },
2787
- * "lark": {
2788
- * "hostVer": "-",
2789
- * "uniVer": "-",
2790
- * "unixVer": "-"
2791
- * },
2792
- * "qq": {
2793
- * "hostVer": "-",
2794
- * "uniVer": "-",
2795
- * "unixVer": "-"
2796
- * },
2797
- * "kuaishou": {
2798
- * "hostVer": "-",
2799
- * "uniVer": "-",
2800
- * "unixVer": "-"
2801
- * },
2802
- * "jd": {
2803
- * "hostVer": "-",
2804
- * "uniVer": "-",
2805
- * "unixVer": "-"
2806
- * }
2807
- * }
2808
- * }
2809
- */
2810
- success?: GetUserInfoSuccessCallback | null,
2811
- /**
2812
- * 接口调用失败的回调函数
2813
- * @uniPlatform {
2814
- * "mp": {
2815
- * "weixin": {
2816
- * "hostVer": "√",
2817
- * "uniVer": "√",
2818
- * "unixVer": "4.41"
2819
- * },
2820
- * "alipay": {
2821
- * "hostVer": "-",
2822
- * "uniVer": "-",
2823
- * "unixVer": "-"
2824
- * },
2825
- * "baidu": {
2826
- * "hostVer": "-",
2827
- * "uniVer": "-",
2828
- * "unixVer": "-"
2829
- * },
2830
- * "toutiao": {
2831
- * "hostVer": "-",
2832
- * "uniVer": "-",
2833
- * "unixVer": "-"
2834
- * },
2835
- * "lark": {
2836
- * "hostVer": "-",
2837
- * "uniVer": "-",
2838
- * "unixVer": "-"
2839
- * },
2840
- * "qq": {
2841
- * "hostVer": "-",
2842
- * "uniVer": "-",
2843
- * "unixVer": "-"
2844
- * },
2845
- * "kuaishou": {
2846
- * "hostVer": "-",
2847
- * "uniVer": "-",
2848
- * "unixVer": "-"
2849
- * },
2850
- * "jd": {
2851
- * "hostVer": "-",
2852
- * "uniVer": "-",
2853
- * "unixVer": "-"
2854
- * }
2855
- * }
2856
- * }
2857
- */
2858
- fail?: GetUserInfoFailCallback | null,
2859
- /**
2860
- * 接口调用结束的回调函数(调用成功、失败都会执行)
2861
- * @uniPlatform {
2862
- * "mp": {
2863
- * "weixin": {
2864
- * "hostVer": "√",
2865
- * "uniVer": "√",
2866
- * "unixVer": "4.41"
2867
- * },
2868
- * "alipay": {
2869
- * "hostVer": "-",
2870
- * "uniVer": "-",
2871
- * "unixVer": "-"
2872
- * },
2873
- * "baidu": {
2874
- * "hostVer": "-",
2875
- * "uniVer": "-",
2876
- * "unixVer": "-"
2877
- * },
2878
- * "toutiao": {
2879
- * "hostVer": "-",
2880
- * "uniVer": "-",
2881
- * "unixVer": "-"
2882
- * },
2883
- * "lark": {
2884
- * "hostVer": "-",
2885
- * "uniVer": "-",
2886
- * "unixVer": "-"
2887
- * },
2888
- * "qq": {
2889
- * "hostVer": "-",
2890
- * "uniVer": "-",
2891
- * "unixVer": "-"
2892
- * },
2893
- * "kuaishou": {
2894
- * "hostVer": "-",
2895
- * "uniVer": "-",
2896
- * "unixVer": "-"
2897
- * },
2898
- * "jd": {
2899
- * "hostVer": "-",
2900
- * "uniVer": "-",
2901
- * "unixVer": "-"
2902
- * }
2903
- * }
2904
- * }
2905
- */
2906
- complete?: GetUserInfoCompleteCallback | null
2907
- };
2908
-
2909
- export interface IOauthFail extends IUniError {
2910
- errCode : OauthErrorCode
2911
- /**
2912
- * 需要基础库: `2.24.0`
2913
- *
2914
- * errno 错误码,错误码的详细说明参考 [Errno错误码](https://developers.weixin.qq.com/miniprogram/dev/framework/usability/PublicErrno.html)
2915
- *
2916
- * @uniPlatform {
2917
- * "mp": {
2918
- * "weixin": {
2919
- * "hostVer": "2.24.0",
2920
- * "uniVer": "√",
2921
- * "unixVer": "4.41"
2922
- * },
2923
- * "alipay": {
2924
- * "hostVer": "-",
2925
- * "uniVer": "-",
2926
- * "unixVer": "-"
2927
- * },
2928
- * "baidu": {
2929
- * "hostVer": "-",
2930
- * "uniVer": "-",
2931
- * "unixVer": "-"
2932
- * },
2933
- * "toutiao": {
2934
- * "hostVer": "-",
2935
- * "uniVer": "-",
2936
- * "unixVer": "-"
2937
- * },
2938
- * "lark": {
2939
- * "hostVer": "-",
2940
- * "uniVer": "-",
2941
- * "unixVer": "-"
2942
- * },
2943
- * "qq": {
2944
- * "hostVer": "-",
2945
- * "uniVer": "-",
2946
- * "unixVer": "-"
2947
- * },
2948
- * "kuaishou": {
2949
- * "hostVer": "-",
2950
- * "uniVer": "-",
2951
- * "unixVer": "-"
2952
- * },
2953
- * "jd": {
2954
- * "hostVer": "-",
2955
- * "uniVer": "-",
2956
- * "unixVer": "-"
2957
- * }
2958
- * }
2959
- * }
2960
- */
2961
- errno?: number | null;
2962
- };
2963
-
2964
- /**
2965
- * 微信登录错误码
2966
- */
2967
- export type OauthErrorCode =
2968
- /**
2969
- * 未找到微信 APPID
2970
- */
2971
- 1310500 |
2972
- /**
2973
- * APPID、appIdentifier、bundleId不匹配
2974
- */
2975
- 1310501 |
2976
- /**
2977
- * 微信可能未安装
2978
- */
2979
- 1310502 |
2980
- /**
2981
- * 未获取到授权凭证
2982
- */
2983
- 1310503 |
2984
- /**
2985
- * 未获取到授权 code
2986
- */
2987
- 1310504 |
2988
- /**
2989
- * 授权凭证无效
2990
- */
2991
- 1310505 |
2992
- /**
2993
- * 获取用户信息失败
2994
- */
2995
- 1310506 |
2996
- /**
2997
- * 微信 API 请求失败
2998
- */
2999
- 1310507 |
3000
- /**
3001
- * 微信登录state验证失败
3002
- */
3003
- 1310508 |
3004
- /**
3005
- * 用户取消登录
3006
- */
3007
- 1310509 |
3008
- /**
3009
- * 超时时间必须为正整数
3010
- */
3011
- 1310510 |
3012
- /**
3013
- * 获取用户信息请求超时
3014
- */
3015
- 1310511 |
3016
- /**
3017
- * iOS 没有配置对应的URL Scheme
3018
- */
3019
- 1310512 |
3020
- /**
3021
- * iOS 没有配置对应的Universal Link
3022
- */
3023
- 1310513 |
3024
- /**
3025
- * 登录请求可能被跨站攻击
3026
- */
3027
- 1001502040 |
3028
- /**
3029
- * 服务供应商获取失败
3030
- */
3031
- 1310600