@dcloudio/uni-app-x 0.7.38 → 0.7.39

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 (104) hide show
  1. package/package.json +1 -1
  2. package/types/UniPage.d.ts +4 -0
  3. package/types/native/CanvasRenderingContext2D.d.ts +1 -1
  4. package/types/native/IUniElement.d.ts +105 -44
  5. package/types/native/global.d.ts +14 -8
  6. package/types/page.d.ts +45 -3
  7. package/types/uni/env/index.d.ts +81 -81
  8. package/types/uni/uni-map-tencent-map.d.ts +7 -7
  9. package/types/uni/uts-plugin-api/global.d.ts +0 -2
  10. package/types/uni/uts-plugin-api/index.d.ts +0 -2
  11. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +1 -1
  12. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +73 -73
  13. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +331 -331
  14. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +73 -73
  15. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +628 -628
  16. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +414 -153
  17. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +2 -2
  18. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +1218 -1987
  19. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +1 -1
  20. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +6 -6
  21. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +156 -81
  22. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +315 -315
  23. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +5 -5
  24. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +2530 -2126
  25. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +490 -490
  26. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2138 -2005
  27. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +4 -0
  28. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +2 -0
  29. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +663 -113
  30. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +20 -20
  31. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +3 -3
  32. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +217 -217
  33. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +2 -2
  34. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +809 -809
  35. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +274 -274
  36. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +1 -1
  37. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +969 -969
  38. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +106 -106
  39. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +23 -23
  40. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +2 -2
  41. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +1 -1
  42. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +41 -41
  43. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +88 -88
  44. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +1680 -1528
  45. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +16 -16
  46. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +3620 -3618
  47. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +12 -12
  48. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +1 -1
  49. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +3 -3
  50. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +621 -621
  51. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +22 -22
  52. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +2602 -2391
  53. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +2 -2
  54. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +26 -26
  55. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +77 -77
  56. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +1 -1
  57. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +857 -857
  58. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +17 -17
  59. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/global.d.ts +8 -0
  60. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/index.d.ts +4 -0
  61. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +1057 -516
  62. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +1660 -1660
  63. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +1746 -1746
  64. package/types/uni/uts-plugin-biz/global.d.ts +1 -0
  65. package/types/uni/uts-plugin-biz/index.d.ts +1 -0
  66. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +84 -0
  67. package/types/uni/{uts-plugin-api → uts-plugin-biz}/lib/uni-crash/utssdk/interface.d.ts +46 -46
  68. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +72 -20
  69. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +126 -0
  70. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/global.d.ts +2 -0
  71. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/index.d.ts +1 -0
  72. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +63 -12
  73. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +308 -308
  74. package/types/uni/uts-plugin-extend/global.d.ts +1 -0
  75. package/types/uni/uts-plugin-extend/lib/uni-__f__/utssdk/global.d.ts +7 -0
  76. package/types/uni/uts-plugin-extend/lib/uni-__f__/utssdk/index.d.ts +0 -0
  77. package/types/uni/uts-plugin-extend/lib/uni-__f__/utssdk/interface.d.ts +3 -0
  78. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +4 -4
  79. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +5 -5
  80. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +1 -1
  81. package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/interface.d.ts +77 -77
  82. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +11 -11
  83. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/interface.d.ts +3 -3
  84. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +6 -6
  85. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +2 -2
  86. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +1 -1
  87. package/types/uni-cloud/interface.d.ts +13 -13
  88. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/global.d.ts +0 -24
  89. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/index.d.ts +0 -11
  90. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +0 -217
  91. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/global.d.ts +0 -21
  92. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/index.d.ts +0 -9
  93. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/interface.d.ts +0 -151
  94. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/global.d.ts +0 -11
  95. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/index.d.ts +0 -4
  96. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +0 -224
  97. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/global.d.ts +0 -53
  98. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/index.d.ts +0 -25
  99. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/interface.d.ts +0 -487
  100. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/global.d.ts +0 -9
  101. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/index.d.ts +0 -1
  102. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/interface.d.ts +0 -165
  103. /package/types/uni/{uts-plugin-api → uts-plugin-biz}/lib/uni-crash/utssdk/global.d.ts +0 -0
  104. /package/types/uni/{uts-plugin-api → uts-plugin-biz}/lib/uni-crash/utssdk/index.d.ts +0 -0
@@ -1,224 +1,224 @@
1
1
 
2
2
  export interface Uni {
3
- /**
4
- * 开始 SOTER 生物认证
5
- *
6
- * @tutorial https://uniapp.dcloud.net.cn/api/system/authentication.html#startsoterauthentication
7
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/authentication.html#startsoterauthentication
8
- *
9
- * @uniPlatform {
10
- * "app": {
11
- * "android": {
12
- * "osVer": "5.0",
13
- * "uniVer": "√",
14
- * "unixVer": "x"
15
- * },
16
- * "ios": {
17
- * "osVer": "12.0",
18
- * "uniVer": "√",
19
- * "unixVer": "x"
20
- * },
21
- * "harmony": {
22
- * "osVer": "3.0",
23
- * "uniVer": "4.31",
24
- * "unixVer": "x"
25
- * }
26
- * },
27
- * "web": {
28
- * "uniVer": "x",
29
- * "unixVer": "x"
30
- * },
31
- * "mp":{
32
- * weixin: {
33
- * hostVer: '√',
34
- * uniVer: '√',
35
- * unixVer: '4.35'
36
- * },
37
- * alipay: {
38
- * hostVer: 'x',
39
- * uniVer: 'x',
40
- * unixVer: 'x'
41
- * },
42
- * baidu: {
43
- * hostVer: 'x',
44
- * uniVer: 'x',
45
- * unixVer: 'x'
46
- * },
47
- * toutiao: {
48
- * hostVer: 'x',
49
- * uniVer: 'x',
50
- * unixVer: 'x'
51
- * },
52
- * lark: {
53
- * hostVer: 'x',
54
- * uniVer: 'x',
55
- * unixVer: 'x'
56
- * },
57
- * qq: {
58
- * hostVer: 'x',
59
- * uniVer: 'x',
60
- * unixVer: 'x'
61
- * },
62
- * kuaishou: {
63
- * hostVer: 'x',
64
- * uniVer: 'x',
65
- * unixVer: 'x'
66
- * },
67
- * jd: {
68
- * hostVer: 'x',
69
- * uniVer: 'x',
70
- * unixVer: 'x'
71
- * }
72
- * }
73
- * }
74
- */
75
- startSoterAuthentication: StartSoterAuthentication;
76
- /**
77
- * 获取本机支持的 SOTER 生物认证方式
78
- *
79
- * @tutorial https://uniapp.dcloud.net.cn/api/system/authentication.html#checkissupportsoterauthentication
80
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/authentication.html#checkissupportsoterauthentication
81
- *
82
- * @uniPlatform {
83
- * "app": {
84
- * "android": {
85
- * "osVer": "5.0",
86
- * "uniVer": "√",
87
- * "unixVer": "x"
88
- * },
89
- * "ios": {
90
- * "osVer": "12.0",
91
- * "uniVer": "√",
92
- * "unixVer": "x"
93
- * },
94
- * "harmony": {
95
- * "osVer": "3.0",
96
- * "uniVer": "4.31",
97
- * "unixVer": "x"
98
- * }
99
- * },
100
- * "web": {
101
- * "uniVer": "x",
102
- * "unixVer": "x"
103
- * },
104
- * "mp":{
105
- * weixin: {
106
- * hostVer: '√',
107
- * uniVer: '√',
108
- * unixVer: '4.35'
109
- * },
110
- * alipay: {
111
- * hostVer: 'x',
112
- * uniVer: 'x',
113
- * unixVer: 'x'
114
- * },
115
- * baidu: {
116
- * hostVer: 'x',
117
- * uniVer: 'x',
118
- * unixVer: 'x'
119
- * },
120
- * toutiao: {
121
- * hostVer: 'x',
122
- * uniVer: 'x',
123
- * unixVer: 'x'
124
- * },
125
- * lark: {
126
- * hostVer: 'x',
127
- * uniVer: 'x',
128
- * unixVer: 'x'
129
- * },
130
- * qq: {
131
- * hostVer: 'x',
132
- * uniVer: 'x',
133
- * unixVer: 'x'
134
- * },
135
- * kuaishou: {
136
- * hostVer: 'x',
137
- * uniVer: 'x',
138
- * unixVer: 'x'
139
- * },
140
- * jd: {
141
- * hostVer: 'x',
142
- * uniVer: 'x',
143
- * unixVer: 'x'
144
- * }
145
- * }
146
- * }
147
- */
148
- checkIsSupportSoterAuthentication: CheckIsSupportSoterAuthentication;
149
- /**
150
- * 获取设备内是否录入如指纹等生物信息
151
- *
152
- * @tutorial https://uniapp.dcloud.net.cn/api/system/authentication.html#checkissoterenrolledindevice
153
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/authentication.html#checkissoterenrolledindevice
154
- *
155
- * @uniPlatform {
156
- * "app": {
157
- * "android": {
158
- * "osVer": "5.0",
159
- * "uniVer": "√",
160
- * "unixVer": "x"
161
- * },
162
- * "ios": {
163
- * "osVer": "12.0",
164
- * "uniVer": "√",
165
- * "unixVer": "x"
166
- * },
167
- * "harmony": {
168
- * "osVer": "3.0",
169
- * "uniVer": "4.31",
170
- * "unixVer": "x"
171
- * }
172
- * },
173
- * "web": {
174
- * "uniVer": "x",
175
- * "unixVer": "x"
176
- * },
177
- * "mp":{
178
- * weixin: {
179
- * hostVer: '√',
180
- * uniVer: '√',
181
- * unixVer: '4.35'
182
- * },
183
- * alipay: {
184
- * hostVer: 'x',
185
- * uniVer: 'x',
186
- * unixVer: 'x'
187
- * },
188
- * baidu: {
189
- * hostVer: 'x',
190
- * uniVer: 'x',
191
- * unixVer: 'x'
192
- * },
193
- * toutiao: {
194
- * hostVer: 'x',
195
- * uniVer: 'x',
196
- * unixVer: 'x'
197
- * },
198
- * lark: {
199
- * hostVer: 'x',
200
- * uniVer: 'x',
201
- * unixVer: 'x'
202
- * },
203
- * qq: {
204
- * hostVer: 'x',
205
- * uniVer: 'x',
206
- * unixVer: 'x'
207
- * },
208
- * kuaishou: {
209
- * hostVer: 'x',
210
- * uniVer: 'x',
211
- * unixVer: 'x'
212
- * },
213
- * jd: {
214
- * hostVer: 'x',
215
- * uniVer: 'x',
216
- * unixVer: 'x'
217
- * }
218
- * }
219
- * }
220
- */
221
- checkIsSoterEnrolledInDevice: CheckIsSoterEnrolledInDevice;
3
+ /**
4
+ * 开始 SOTER 生物认证
5
+ *
6
+ * @tutorial https://uniapp.dcloud.net.cn/api/system/authentication.html#startsoterauthentication
7
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/authentication.html#startsoterauthentication
8
+ *
9
+ * @uniPlatform {
10
+ * "app": {
11
+ * "android": {
12
+ * "osVer": "5.0",
13
+ * "uniVer": "√",
14
+ * "unixVer": "x"
15
+ * },
16
+ * "ios": {
17
+ * "osVer": "12.0",
18
+ * "uniVer": "√",
19
+ * "unixVer": "x"
20
+ * },
21
+ * "harmony": {
22
+ * "osVer": "3.0",
23
+ * "uniVer": "4.31",
24
+ * "unixVer": "x"
25
+ * }
26
+ * },
27
+ * "web": {
28
+ * "uniVer": "x",
29
+ * "unixVer": "x"
30
+ * },
31
+ * "mp":{
32
+ * weixin: {
33
+ * hostVer: '√',
34
+ * uniVer: '√',
35
+ * unixVer: '4.41'
36
+ * },
37
+ * alipay: {
38
+ * hostVer: 'x',
39
+ * uniVer: 'x',
40
+ * unixVer: 'x'
41
+ * },
42
+ * baidu: {
43
+ * hostVer: 'x',
44
+ * uniVer: 'x',
45
+ * unixVer: 'x'
46
+ * },
47
+ * toutiao: {
48
+ * hostVer: 'x',
49
+ * uniVer: 'x',
50
+ * unixVer: 'x'
51
+ * },
52
+ * lark: {
53
+ * hostVer: 'x',
54
+ * uniVer: 'x',
55
+ * unixVer: 'x'
56
+ * },
57
+ * qq: {
58
+ * hostVer: 'x',
59
+ * uniVer: 'x',
60
+ * unixVer: 'x'
61
+ * },
62
+ * kuaishou: {
63
+ * hostVer: 'x',
64
+ * uniVer: 'x',
65
+ * unixVer: 'x'
66
+ * },
67
+ * jd: {
68
+ * hostVer: 'x',
69
+ * uniVer: 'x',
70
+ * unixVer: 'x'
71
+ * }
72
+ * }
73
+ * }
74
+ */
75
+ startSoterAuthentication: StartSoterAuthentication;
76
+ /**
77
+ * 获取本机支持的 SOTER 生物认证方式
78
+ *
79
+ * @tutorial https://uniapp.dcloud.net.cn/api/system/authentication.html#checkissupportsoterauthentication
80
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/authentication.html#checkissupportsoterauthentication
81
+ *
82
+ * @uniPlatform {
83
+ * "app": {
84
+ * "android": {
85
+ * "osVer": "5.0",
86
+ * "uniVer": "√",
87
+ * "unixVer": "x"
88
+ * },
89
+ * "ios": {
90
+ * "osVer": "12.0",
91
+ * "uniVer": "√",
92
+ * "unixVer": "x"
93
+ * },
94
+ * "harmony": {
95
+ * "osVer": "3.0",
96
+ * "uniVer": "4.31",
97
+ * "unixVer": "x"
98
+ * }
99
+ * },
100
+ * "web": {
101
+ * "uniVer": "x",
102
+ * "unixVer": "x"
103
+ * },
104
+ * "mp":{
105
+ * weixin: {
106
+ * hostVer: '√',
107
+ * uniVer: '√',
108
+ * unixVer: '4.41'
109
+ * },
110
+ * alipay: {
111
+ * hostVer: 'x',
112
+ * uniVer: 'x',
113
+ * unixVer: 'x'
114
+ * },
115
+ * baidu: {
116
+ * hostVer: 'x',
117
+ * uniVer: 'x',
118
+ * unixVer: 'x'
119
+ * },
120
+ * toutiao: {
121
+ * hostVer: 'x',
122
+ * uniVer: 'x',
123
+ * unixVer: 'x'
124
+ * },
125
+ * lark: {
126
+ * hostVer: 'x',
127
+ * uniVer: 'x',
128
+ * unixVer: 'x'
129
+ * },
130
+ * qq: {
131
+ * hostVer: 'x',
132
+ * uniVer: 'x',
133
+ * unixVer: 'x'
134
+ * },
135
+ * kuaishou: {
136
+ * hostVer: 'x',
137
+ * uniVer: 'x',
138
+ * unixVer: 'x'
139
+ * },
140
+ * jd: {
141
+ * hostVer: 'x',
142
+ * uniVer: 'x',
143
+ * unixVer: 'x'
144
+ * }
145
+ * }
146
+ * }
147
+ */
148
+ checkIsSupportSoterAuthentication: CheckIsSupportSoterAuthentication;
149
+ /**
150
+ * 获取设备内是否录入如指纹等生物信息
151
+ *
152
+ * @tutorial https://uniapp.dcloud.net.cn/api/system/authentication.html#checkissoterenrolledindevice
153
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/authentication.html#checkissoterenrolledindevice
154
+ *
155
+ * @uniPlatform {
156
+ * "app": {
157
+ * "android": {
158
+ * "osVer": "5.0",
159
+ * "uniVer": "√",
160
+ * "unixVer": "x"
161
+ * },
162
+ * "ios": {
163
+ * "osVer": "12.0",
164
+ * "uniVer": "√",
165
+ * "unixVer": "x"
166
+ * },
167
+ * "harmony": {
168
+ * "osVer": "3.0",
169
+ * "uniVer": "4.31",
170
+ * "unixVer": "x"
171
+ * }
172
+ * },
173
+ * "web": {
174
+ * "uniVer": "x",
175
+ * "unixVer": "x"
176
+ * },
177
+ * "mp":{
178
+ * weixin: {
179
+ * hostVer: '√',
180
+ * uniVer: '√',
181
+ * unixVer: '4.41'
182
+ * },
183
+ * alipay: {
184
+ * hostVer: 'x',
185
+ * uniVer: 'x',
186
+ * unixVer: 'x'
187
+ * },
188
+ * baidu: {
189
+ * hostVer: 'x',
190
+ * uniVer: 'x',
191
+ * unixVer: 'x'
192
+ * },
193
+ * toutiao: {
194
+ * hostVer: 'x',
195
+ * uniVer: 'x',
196
+ * unixVer: 'x'
197
+ * },
198
+ * lark: {
199
+ * hostVer: 'x',
200
+ * uniVer: 'x',
201
+ * unixVer: 'x'
202
+ * },
203
+ * qq: {
204
+ * hostVer: 'x',
205
+ * uniVer: 'x',
206
+ * unixVer: 'x'
207
+ * },
208
+ * kuaishou: {
209
+ * hostVer: 'x',
210
+ * uniVer: 'x',
211
+ * unixVer: 'x'
212
+ * },
213
+ * jd: {
214
+ * hostVer: 'x',
215
+ * uniVer: 'x',
216
+ * unixVer: 'x'
217
+ * }
218
+ * }
219
+ * }
220
+ */
221
+ checkIsSoterEnrolledInDevice: CheckIsSoterEnrolledInDevice;
222
222
  }
223
223
 
224
224
  export type StartSoterAuthentication = (options: StartSoterAuthenticationOptions) => void;
@@ -226,92 +226,92 @@ export type StartSoterAuthentication = (options: StartSoterAuthenticationOptions
226
226
  * 生物认证方式
227
227
  */
228
228
  export type SoterAuthMode =
229
- /**
230
- * 指纹识别
231
- */
232
- 'fingerPrint' |
233
- /**
234
- * 人脸识别(暂未支持)
235
- */
236
- 'facial' |
237
- /**
238
- * 声纹识别(暂未支持)
239
- */
240
- 'speech';
229
+ /**
230
+ * 指纹识别
231
+ */
232
+ 'fingerPrint' |
233
+ /**
234
+ * 人脸识别(暂未支持)
235
+ */
236
+ 'facial' |
237
+ /**
238
+ * 声纹识别(暂未支持)
239
+ */
240
+ 'speech';
241
241
 
242
242
  export type StartSoterAuthenticationSuccess = {
243
- /**
244
- * 错误码
245
- */
246
- errCode: number,
247
- /**
248
- * 生物认证方式
249
- * - fingerPrint: 指纹识别
250
- * - facial: 人脸识别(暂未支持)
251
- * - speech: 声纹识别(暂未支持)
252
- */
253
- authMode: SoterAuthMode,
254
- /**
255
- * 在设备安全区域(TEE)内获得的本机安全信息以及本次认证信息
256
- */
257
- resultJSON?: string | null,
258
- /**
259
- * 用SOTER安全密钥对 resultJSON 的签名(SHA256 with RSA/PSS, saltlen=20)
260
- */
261
- resultJSONSignature?: string | null,
262
- /**
263
- * 接口调用结果
264
- */
265
- errMsg: string
243
+ /**
244
+ * 错误码
245
+ */
246
+ errCode: number,
247
+ /**
248
+ * 生物认证方式
249
+ * - fingerPrint: 指纹识别
250
+ * - facial: 人脸识别(暂未支持)
251
+ * - speech: 声纹识别(暂未支持)
252
+ */
253
+ authMode: SoterAuthMode,
254
+ /**
255
+ * 在设备安全区域(TEE)内获得的本机安全信息以及本次认证信息
256
+ */
257
+ resultJSON?: string | null,
258
+ /**
259
+ * 用SOTER安全密钥对 resultJSON 的签名(SHA256 with RSA/PSS, saltlen=20)
260
+ */
261
+ resultJSONSignature?: string | null,
262
+ /**
263
+ * 接口调用结果
264
+ */
265
+ errMsg: string
266
266
  };
267
267
  export type StartSoterAuthenticationSuccessCallback = (result: StartSoterAuthenticationSuccess) => void;
268
268
  export type StartSoterAuthenticationFail = UniError;
269
269
  export type UniError = {
270
- errSubject: string,
271
- errCode: number,
272
- errMsg: string,
273
- data?: object | null,
274
- cause?: any | null
270
+ errSubject: string,
271
+ errCode: number,
272
+ errMsg: string,
273
+ data?: object | null,
274
+ cause?: any | null
275
275
  };
276
276
  export type StartSoterAuthenticationFailCallback = (result: StartSoterAuthenticationFail) => void;
277
277
  export type StartSoterAuthenticationComplete = any;
278
278
  export type StartSoterAuthenticationCompleteCallback = (result: StartSoterAuthenticationComplete) => void;
279
279
  export type StartSoterAuthenticationOptions = {
280
- /**
281
- * 请求使用的可接受的生物认证方式
282
- */
283
- requestAuthModes: SoterAuthMode[],
284
- /**
285
- * 挑战因子
286
- */
287
- challenge?: string | null,
288
- /**
289
- * 验证描述,即识别过程中显示在界面上的对话框提示内容
290
- */
291
- authContent?: string | null,
292
- /**
293
- * 接口调用成功的回调函数
294
- */
295
- success?: StartSoterAuthenticationSuccessCallback | null,
296
- /**
297
- * 接口调用失败的回调函数
298
- */
299
- fail?: StartSoterAuthenticationFailCallback | null,
300
- /**
301
- * 接口调用结束的回调函数(调用成功、失败都会执行)
302
- */
303
- complete?: StartSoterAuthenticationCompleteCallback | null
280
+ /**
281
+ * 请求使用的可接受的生物认证方式
282
+ */
283
+ requestAuthModes: SoterAuthMode[],
284
+ /**
285
+ * 挑战因子
286
+ */
287
+ challenge?: string | null,
288
+ /**
289
+ * 验证描述,即识别过程中显示在界面上的对话框提示内容
290
+ */
291
+ authContent?: string | null,
292
+ /**
293
+ * 接口调用成功的回调函数
294
+ */
295
+ success?: StartSoterAuthenticationSuccessCallback | null,
296
+ /**
297
+ * 接口调用失败的回调函数
298
+ */
299
+ fail?: StartSoterAuthenticationFailCallback | null,
300
+ /**
301
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
302
+ */
303
+ complete?: StartSoterAuthenticationCompleteCallback | null
304
304
  };
305
305
  export type CheckIsSupportSoterAuthentication = (options: CheckIsSupportSoterAuthenticationOptions) => void;
306
306
  export type CheckIsSupportSoterAuthenticationSuccess = {
307
- /**
308
- * 接口调用成功的回调函数
309
- */
310
- supportMode: SoterAuthMode[],
311
- /**
312
- * 接口调用结果
313
- */
314
- errMsg: string
307
+ /**
308
+ * 接口调用成功的回调函数
309
+ */
310
+ supportMode: SoterAuthMode[],
311
+ /**
312
+ * 接口调用结果
313
+ */
314
+ errMsg: string
315
315
  };
316
316
  export type CheckIsSupportSoterAuthenticationSuccessCallback = (result: CheckIsSupportSoterAuthenticationSuccess) => void;
317
317
  export type CheckIsSupportSoterAuthenticationFail = UniError;
@@ -319,30 +319,30 @@ export type CheckIsSupportSoterAuthenticationFailCallback = (result: CheckIsSupp
319
319
  export type CheckIsSupportSoterAuthenticationComplete = any;
320
320
  export type CheckIsSupportSoterAuthenticationCompleteCallback = (result: CheckIsSupportSoterAuthenticationComplete) => void;
321
321
  export type CheckIsSupportSoterAuthenticationOptions = {
322
- /**
323
- * 接口调用成功的回调函数
324
- */
325
- success?: CheckIsSupportSoterAuthenticationSuccessCallback | null,
326
- /**
327
- * 接口调用失败的回调函数
328
- */
329
- fail?: CheckIsSupportSoterAuthenticationFailCallback | null,
330
- /**
331
- * 接口调用结束的回调函数(调用成功、失败都会执行)
332
- */
333
- complete?: CheckIsSupportSoterAuthenticationCompleteCallback | null
322
+ /**
323
+ * 接口调用成功的回调函数
324
+ */
325
+ success?: CheckIsSupportSoterAuthenticationSuccessCallback | null,
326
+ /**
327
+ * 接口调用失败的回调函数
328
+ */
329
+ fail?: CheckIsSupportSoterAuthenticationFailCallback | null,
330
+ /**
331
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
332
+ */
333
+ complete?: CheckIsSupportSoterAuthenticationCompleteCallback | null
334
334
  };
335
335
  export type CheckIsSoterEnrolledInDevice = (options: CheckIsSoterEnrolledInDeviceOptions) => void;
336
336
  export type CheckIsSoterEnrolledInDeviceSuccess = {
337
- /**
338
- * 是否已录入信息
339
- * @type boolean
340
- */
341
- isEnrolled: boolean,
342
- /**
343
- * 错误信息
344
- */
345
- errMsg: string
337
+ /**
338
+ * 是否已录入信息
339
+ * @type boolean
340
+ */
341
+ isEnrolled: boolean,
342
+ /**
343
+ * 错误信息
344
+ */
345
+ errMsg: string
346
346
  };
347
347
  export type CheckIsSoterEnrolledInDeviceSuccessCallback = (result: CheckIsSoterEnrolledInDeviceSuccess) => void;
348
348
  export type CheckIsSoterEnrolledInDeviceFail = UniError;
@@ -350,23 +350,23 @@ export type CheckIsSoterEnrolledInDeviceFailCallback = (result: CheckIsSoterEnro
350
350
  export type CheckIsSoterEnrolledInDeviceComplete = any;
351
351
  export type CheckIsSoterEnrolledInDeviceCompleteCallback = (result: CheckIsSoterEnrolledInDeviceComplete) => void;
352
352
  export type CheckIsSoterEnrolledInDeviceOptions = {
353
- /**
354
- * 生物认证方式
355
- * - fingerPrint: 指纹识别
356
- * - facial: 人脸识别(暂未支持)
357
- * - speech: 声纹识别(暂未支持)
358
- */
359
- checkAuthMode: SoterAuthMode,
360
- /**
361
- * 接口调用成功的回调函数
362
- */
363
- success?: CheckIsSoterEnrolledInDeviceSuccessCallback | null,
364
- /**
365
- * 接口调用失败的回调函数
366
- */
367
- fail?: CheckIsSoterEnrolledInDeviceFailCallback | null,
368
- /**
369
- * 接口调用结束的回调函数(调用成功、失败都会执行)
370
- */
371
- complete?: CheckIsSoterEnrolledInDeviceCompleteCallback | null
353
+ /**
354
+ * 生物认证方式
355
+ * - fingerPrint: 指纹识别
356
+ * - facial: 人脸识别(暂未支持)
357
+ * - speech: 声纹识别(暂未支持)
358
+ */
359
+ checkAuthMode: SoterAuthMode,
360
+ /**
361
+ * 接口调用成功的回调函数
362
+ */
363
+ success?: CheckIsSoterEnrolledInDeviceSuccessCallback | null,
364
+ /**
365
+ * 接口调用失败的回调函数
366
+ */
367
+ fail?: CheckIsSoterEnrolledInDeviceFailCallback | null,
368
+ /**
369
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
370
+ */
371
+ complete?: CheckIsSoterEnrolledInDeviceCompleteCallback | null
372
372
  };