@dcloudio/uni-app-x 0.7.57 → 0.7.59

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 (138) hide show
  1. package/package.json +6 -2
  2. package/types/index.d.ts +1 -0
  3. package/types/native/CSSStyleDeclaration.d.ts +31 -6
  4. package/types/native/DOMRect.d.ts +60 -10
  5. package/types/native/IUniElement.d.ts +460 -2
  6. package/types/native/UniElement.d.ts +3 -2
  7. package/types/native/UniPage.d.ts +2 -2
  8. package/types/native/UniWebViewContentHeightChangeEvent.d.ts +31 -0
  9. package/types/native/UniWebViewElement.d.ts +3 -1
  10. package/types/native/global.d.ts +8 -0
  11. package/types/native/index.d.ts +1 -0
  12. package/types/uni/env/index.d.ts +5 -5
  13. package/types/uni/uts-plugin-api/.temp/uni-actionSheet/utssdk/interface.uts +554 -0
  14. package/types/uni/uts-plugin-api/.temp/uni-addPhoneContact/utssdk/interface.uts +224 -0
  15. package/types/uni/uts-plugin-api/.temp/uni-arrayBufferToBase64/utssdk/interface.uts +77 -0
  16. package/types/uni/uts-plugin-api/.temp/uni-authentication/utssdk/interface.uts +365 -0
  17. package/types/uni/uts-plugin-api/.temp/uni-base64ToArrayBuffer/utssdk/interface.uts +77 -0
  18. package/types/uni/uts-plugin-api/.temp/uni-canvas/utssdk/interface.uts +972 -0
  19. package/types/uni/uts-plugin-api/.temp/uni-chooseLocation/utssdk/interface.uts +410 -0
  20. package/types/uni/uts-plugin-api/.temp/uni-chooseMedia/utssdk/interface.uts +459 -0
  21. package/types/uni/uts-plugin-api/.temp/uni-clipboard/utssdk/interface.uts +203 -0
  22. package/types/uni/uts-plugin-api/.temp/uni-createInnerAudioContext/utssdk/interface.uts +2613 -0
  23. package/types/uni/uts-plugin-api/.temp/uni-createIntersectionObserver/utssdk/interface.uts +152 -0
  24. package/types/uni/uts-plugin-api/.temp/uni-createRequestPermissionListener/utssdk/interface.uts +61 -0
  25. package/types/uni/uts-plugin-api/.temp/uni-createSelectorQuery/utssdk/interface.uts +548 -0
  26. package/types/uni/uts-plugin-api/.temp/uni-createWebviewContext/utssdk/interface.uts +137 -0
  27. package/types/uni/uts-plugin-api/.temp/uni-dialogPage/utssdk/interface.uts +1380 -0
  28. package/types/uni/uts-plugin-api/.temp/uni-document/utssdk/interface.uts +76 -0
  29. package/types/uni/uts-plugin-api/.temp/uni-event/utssdk/interface.uts +338 -0
  30. package/types/uni/uts-plugin-api/.temp/uni-exit/utssdk/interface.uts +102 -0
  31. package/types/uni/uts-plugin-api/.temp/uni-file/utssdk/interface.uts +384 -0
  32. package/types/uni/uts-plugin-api/.temp/uni-fileSystemManager/utssdk/interface.uts +5316 -0
  33. package/types/uni/uts-plugin-api/.temp/uni-getAccessibilityInfo/utssdk/interface.uts +35 -0
  34. package/types/uni/uts-plugin-api/.temp/uni-getAppAuthorizeSetting/utssdk/interface.uts +616 -0
  35. package/types/uni/uts-plugin-api/.temp/uni-getAppBaseInfo/utssdk/interface.uts +2157 -0
  36. package/types/uni/uts-plugin-api/.temp/uni-getBackgroundAudioManager/utssdk/interface.uts +895 -0
  37. package/types/uni/uts-plugin-api/.temp/uni-getDeviceInfo/utssdk/interface.uts +1755 -0
  38. package/types/uni/uts-plugin-api/.temp/uni-getElementById/utssdk/interface.uts +82 -0
  39. package/types/uni/uts-plugin-api/.temp/uni-getEnterOptionsSync/utssdk/interface.uts +295 -0
  40. package/types/uni/uts-plugin-api/.temp/uni-getLaunchOptionsSync/utssdk/interface.uts +299 -0
  41. package/types/uni/uts-plugin-api/.temp/uni-getLocation/utssdk/interface.uts +1764 -0
  42. package/types/uni/uts-plugin-api/.temp/uni-getLocation-system/utssdk/interface.uts +1 -0
  43. package/types/uni/uts-plugin-api/.temp/uni-getLocation-tencent/utssdk/interface.uts +1 -0
  44. package/types/uni/uts-plugin-api/.temp/uni-getLocation-tencent-uni1/utssdk/interface.uts +736 -0
  45. package/types/uni/uts-plugin-api/.temp/uni-getNetworkType/utssdk/interface.uts +274 -0
  46. package/types/uni/uts-plugin-api/.temp/uni-getPerformance/utssdk/interface.uts +198 -0
  47. package/types/uni/uts-plugin-api/.temp/uni-getProvider/utssdk/interface.uts +634 -0
  48. package/types/uni/uts-plugin-api/.temp/uni-getRecorderManager/utssdk/interface.uts +980 -0
  49. package/types/uni/uts-plugin-api/.temp/uni-getSystemInfo/utssdk/interface.uts +5550 -0
  50. package/types/uni/uts-plugin-api/.temp/uni-getSystemSetting/utssdk/interface.uts +501 -0
  51. package/types/uni/uts-plugin-api/.temp/uni-installApk/utssdk/interface.uts +83 -0
  52. package/types/uni/uts-plugin-api/.temp/uni-interceptor/utssdk/interface.uts +169 -0
  53. package/types/uni/uts-plugin-api/.temp/uni-keyboard/utssdk/interface.uts +102 -0
  54. package/types/uni/uts-plugin-api/.temp/uni-loadFontFace/utssdk/interface.uts +580 -0
  55. package/types/uni/uts-plugin-api/.temp/uni-makePhoneCall/utssdk/interface.uts +100 -0
  56. package/types/uni/uts-plugin-api/.temp/uni-media/utssdk/interface.uts +2980 -0
  57. package/types/uni/uts-plugin-api/.temp/uni-modal/utssdk/interface.uts +190 -0
  58. package/types/uni/uts-plugin-api/.temp/uni-navigationBar/utssdk/interface.uts +1002 -0
  59. package/types/uni/uts-plugin-api/.temp/uni-network/utssdk/interface.uts +3620 -0
  60. package/types/uni/uts-plugin-api/.temp/uni-oauth/utssdk/interface.uts +1592 -0
  61. package/types/uni/uts-plugin-api/.temp/uni-oauth-huawei/utssdk/interface.uts +1 -0
  62. package/types/uni/uts-plugin-api/.temp/uni-openAppAuthorizeSetting/utssdk/interface.uts +254 -0
  63. package/types/uni/uts-plugin-api/.temp/uni-openDocument/utssdk/interface.uts +112 -0
  64. package/types/uni/uts-plugin-api/.temp/uni-pageScrollTo/utssdk/interface.uts +153 -0
  65. package/types/uni/uts-plugin-api/.temp/uni-payment/utssdk/interface.uts +833 -0
  66. package/types/uni/uts-plugin-api/.temp/uni-payment-alipay/utssdk/interface.uts +1 -0
  67. package/types/uni/uts-plugin-api/.temp/uni-payment-huawei/utssdk/interface.uts +1 -0
  68. package/types/uni/uts-plugin-api/.temp/uni-payment-wxpay/utssdk/interface.uts +3 -0
  69. package/types/uni/uts-plugin-api/.temp/uni-previewImage/utssdk/interface.uts +518 -0
  70. package/types/uni/uts-plugin-api/.temp/uni-privacy/utssdk/interface.uts +560 -0
  71. package/types/uni/uts-plugin-api/.temp/uni-prompt/utssdk/interface.uts +2607 -0
  72. package/types/uni/uts-plugin-api/.temp/uni-pullDownRefresh/utssdk/interface.uts +189 -0
  73. package/types/uni/uts-plugin-api/.temp/uni-requestMerchantTransfer/utssdk/interface.uts +710 -0
  74. package/types/uni/uts-plugin-api/.temp/uni-route/utssdk/interface.uts +2695 -0
  75. package/types/uni/uts-plugin-api/.temp/uni-rpx2px/utssdk/interface.uts +80 -0
  76. package/types/uni/uts-plugin-api/.temp/uni-scanCode/utssdk/interface.uts +130 -0
  77. package/types/uni/uts-plugin-api/.temp/uni-shareWithSystem/utssdk/interface.uts +719 -0
  78. package/types/uni/uts-plugin-api/.temp/uni-sse/utssdk/interface.uts +277 -0
  79. package/types/uni/uts-plugin-api/.temp/uni-storage/utssdk/interface.uts +1020 -0
  80. package/types/uni/uts-plugin-api/.temp/uni-tabBar/utssdk/interface.uts +1148 -0
  81. package/types/uni/uts-plugin-api/.temp/uni-theme/utssdk/interface.uts +1059 -0
  82. package/types/uni/uts-plugin-api/.temp/uni-virtualPayment/utssdk/interface.uts +1660 -0
  83. package/types/uni/uts-plugin-api/.temp/uni-websocket/utssdk/interface.uts +1941 -0
  84. package/types/uni/uts-plugin-api/global.d.ts +3 -0
  85. package/types/uni/uts-plugin-api/index.d.ts +3 -0
  86. package/types/uni/uts-plugin-api/lib/uni-barcode-scanning/utssdk/global.d.ts +8 -0
  87. package/types/uni/uts-plugin-api/lib/uni-barcode-scanning/utssdk/index.d.ts +4 -0
  88. package/types/uni/uts-plugin-api/lib/uni-barcode-scanning/utssdk/interface.d.ts +0 -0
  89. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/global.d.ts +4 -0
  90. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/index.d.ts +2 -0
  91. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +16 -6
  92. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +1 -1
  93. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/global.d.ts +2 -0
  94. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/index.d.ts +1 -0
  95. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +45 -0
  96. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +3 -0
  97. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +238 -233
  98. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1 -1
  99. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +28 -1
  100. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +0 -9
  101. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +67 -239
  102. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +24 -4
  103. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/global.d.ts +4 -0
  104. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/index.d.ts +2 -0
  105. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +293 -179
  106. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +118 -78
  107. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/global.d.ts +8 -0
  108. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/index.d.ts +4 -0
  109. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +3932 -3514
  110. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/global.d.ts +4 -0
  111. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/index.d.ts +2 -0
  112. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +778 -290
  113. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/global.d.ts +4 -0
  114. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/index.d.ts +2 -0
  115. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +2254 -1281
  116. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +1 -1
  117. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/global.d.ts +36 -0
  118. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/index.d.ts +17 -0
  119. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +180 -0
  120. package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/global.d.ts +8 -0
  121. package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/index.d.ts +4 -0
  122. package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/interface.d.ts +1 -0
  123. package/types/uni/uts-plugin-api/lib/uni-sse/utssdk/interface.d.ts +2 -2
  124. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +126 -67
  125. package/types/uni/uts-plugin-biz/.temp/uni-ad/utssdk/interface.uts +726 -0
  126. package/types/uni/uts-plugin-biz/.temp/uni-crash/utssdk/interface.uts +89 -0
  127. package/types/uni/uts-plugin-biz/.temp/uni-facialRecognitionVerify/utssdk/interface.uts +212 -0
  128. package/types/uni/uts-plugin-biz/.temp/uni-map-tencent/utssdk/interface.uts +2359 -0
  129. package/types/uni/uts-plugin-biz/.temp/uni-push/utssdk/interface.uts +960 -0
  130. package/types/uni/uts-plugin-biz/.temp/uni-secure-network/utssdk/interface.uts +204 -0
  131. package/types/uni/uts-plugin-biz/.temp/uni-verify/utssdk/interface.uts +730 -0
  132. package/types/uni/uts-plugin-component/.temp/uni-camera/utssdk/interface.uts +221 -0
  133. package/types/uni/uts-plugin-component/.temp/uni-video/utssdk/interface.uts +935 -0
  134. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/global.d.ts +16 -0
  135. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/index.d.ts +8 -0
  136. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +203 -1
  137. package/types/uni-cloud/interface.d.ts +229 -0
  138. package/types/vite.d.ts +269 -0
@@ -0,0 +1,710 @@
1
+ export interface Uni {
2
+ /**
3
+ 商家转账用户确认模式下,拉起页面请求用户确认收款
4
+ @uniPlatform {
5
+ "app": {
6
+ "android": {
7
+ "osVer": "5.0",
8
+ "uniVer": "4.54",
9
+ "unixVer": "4.54"
10
+ },
11
+ "ios": {
12
+ "osVer": "12.0",
13
+ "uniVer": "4.54",
14
+ "unixVer": "4.54"
15
+ },
16
+ "harmony": {
17
+ "osVer": "3.0",
18
+ "uniVer": "x",
19
+ "unixVer": "x"
20
+ }
21
+ },
22
+ "web": {
23
+ "uniVer": "x",
24
+ "unixVer": "x"
25
+ },
26
+ "mp": {
27
+ "weixin": {
28
+ "hostVer": "√",
29
+ "uniVer": "√",
30
+ "unixVer": "4.54"
31
+ },
32
+ "alipay": {
33
+ "hostVer": "x",
34
+ "uniVer": "x",
35
+ "unixVer": "x"
36
+ },
37
+ "baidu": {
38
+ "hostVer": "x",
39
+ "uniVer": "x",
40
+ "unixVer": "x"
41
+ },
42
+ "toutiao": {
43
+ "hostVer": "x",
44
+ "uniVer": "x",
45
+ "unixVer": "x"
46
+ },
47
+ "lark": {
48
+ "hostVer": "x",
49
+ "uniVer": "x",
50
+ "unixVer": "x"
51
+ },
52
+ "qq": {
53
+ "hostVer": "x",
54
+ "uniVer": "x",
55
+ "unixVer": "x"
56
+ },
57
+ "kuaishou": {
58
+ "hostVer": "x",
59
+ "uniVer": "x",
60
+ "unixVer": "x"
61
+ },
62
+ "jd": {
63
+ "hostVer": "x",
64
+ "uniVer": "x",
65
+ "unixVer": "x"
66
+ }
67
+ }
68
+ }
69
+ */
70
+ requestMerchantTransfer(options : RequestMerchantTransferOptions) : void;
71
+ }
72
+
73
+ export type RequestMerchantTransfer = (options : RequestMerchantTransferOptions) => void;
74
+ export type RequestMerchantTransferOptions = {
75
+ /**
76
+ 商户号
77
+ @uniPlatform {
78
+ "app": {
79
+ "android": {
80
+ "osVer": "5.0",
81
+ "uniVer": "4.54",
82
+ "unixVer": "4.54"
83
+ },
84
+ "ios": {
85
+ "osVer": "12.0",
86
+ "uniVer": "4.54",
87
+ "unixVer": "4.54"
88
+ },
89
+ "harmony": {
90
+ "osVer": "3.0",
91
+ "uniVer": "x",
92
+ "unixVer": "x"
93
+ }
94
+ },
95
+ "web": {
96
+ "uniVer": "x",
97
+ "unixVer": "x"
98
+ },
99
+ "mp": {
100
+ "weixin": {
101
+ "hostVer": "√",
102
+ "uniVer": "√",
103
+ "unixVer": "4.54"
104
+ },
105
+ "alipay": {
106
+ "hostVer": "x",
107
+ "uniVer": "x",
108
+ "unixVer": "x"
109
+ },
110
+ "baidu": {
111
+ "hostVer": "x",
112
+ "uniVer": "x",
113
+ "unixVer": "x"
114
+ },
115
+ "toutiao": {
116
+ "hostVer": "x",
117
+ "uniVer": "x",
118
+ "unixVer": "x"
119
+ },
120
+ "lark": {
121
+ "hostVer": "x",
122
+ "uniVer": "x",
123
+ "unixVer": "x"
124
+ },
125
+ "qq": {
126
+ "hostVer": "x",
127
+ "uniVer": "x",
128
+ "unixVer": "x"
129
+ },
130
+ "kuaishou": {
131
+ "hostVer": "x",
132
+ "uniVer": "x",
133
+ "unixVer": "x"
134
+ },
135
+ "jd": {
136
+ "hostVer": "x",
137
+ "uniVer": "x",
138
+ "unixVer": "x"
139
+ }
140
+ }
141
+ }
142
+ */
143
+ mchId : string
144
+ /**
145
+ 商家转账付款单跳转收款页 pkg 信息,商家转账付款单受理成功时返回给商户
146
+ @uniPlatform {
147
+ "app": {
148
+ "android": {
149
+ "osVer": "5.0",
150
+ "uniVer": "4.54",
151
+ "unixVer": "4.54"
152
+ },
153
+ "ios": {
154
+ "osVer": "12.0",
155
+ "uniVer": "4.54",
156
+ "unixVer": "4.54"
157
+ },
158
+ "harmony": {
159
+ "osVer": "3.0",
160
+ "uniVer": "x",
161
+ "unixVer": "x"
162
+ }
163
+ },
164
+ "web": {
165
+ "uniVer": "x",
166
+ "unixVer": "x"
167
+ },
168
+ "mp": {
169
+ "weixin": {
170
+ "hostVer": "√",
171
+ "uniVer": "√",
172
+ "unixVer": "4.54"
173
+ },
174
+ "alipay": {
175
+ "hostVer": "x",
176
+ "uniVer": "x",
177
+ "unixVer": "x"
178
+ },
179
+ "baidu": {
180
+ "hostVer": "x",
181
+ "uniVer": "x",
182
+ "unixVer": "x"
183
+ },
184
+ "toutiao": {
185
+ "hostVer": "x",
186
+ "uniVer": "x",
187
+ "unixVer": "x"
188
+ },
189
+ "lark": {
190
+ "hostVer": "x",
191
+ "uniVer": "x",
192
+ "unixVer": "x"
193
+ },
194
+ "qq": {
195
+ "hostVer": "x",
196
+ "uniVer": "x",
197
+ "unixVer": "x"
198
+ },
199
+ "kuaishou": {
200
+ "hostVer": "x",
201
+ "uniVer": "x",
202
+ "unixVer": "x"
203
+ },
204
+ "jd": {
205
+ "hostVer": "x",
206
+ "uniVer": "x",
207
+ "unixVer": "x"
208
+ }
209
+ }
210
+ }
211
+ */
212
+ package : string
213
+ /**
214
+ 商户 appId(微信平台appid),普通模式下必填,服务商模式下,appId 和 subAppId 二选一填写
215
+ @uniPlatform {
216
+ "app": {
217
+ "android": {
218
+ "osVer": "5.0",
219
+ "uniVer": "4.54",
220
+ "unixVer": "4.54"
221
+ },
222
+ "ios": {
223
+ "osVer": "12.0",
224
+ "uniVer": "4.54",
225
+ "unixVer": "4.54"
226
+ },
227
+ "harmony": {
228
+ "osVer": "3.0",
229
+ "uniVer": "x",
230
+ "unixVer": "x"
231
+ }
232
+ },
233
+ "web": {
234
+ "uniVer": "x",
235
+ "unixVer": "x"
236
+ },
237
+ "mp": {
238
+ "weixin": {
239
+ "hostVer": "√",
240
+ "uniVer": "√",
241
+ "unixVer": "4.54"
242
+ },
243
+ "alipay": {
244
+ "hostVer": "x",
245
+ "uniVer": "x",
246
+ "unixVer": "x"
247
+ },
248
+ "baidu": {
249
+ "hostVer": "x",
250
+ "uniVer": "x",
251
+ "unixVer": "x"
252
+ },
253
+ "toutiao": {
254
+ "hostVer": "x",
255
+ "uniVer": "x",
256
+ "unixVer": "x"
257
+ },
258
+ "lark": {
259
+ "hostVer": "x",
260
+ "uniVer": "x",
261
+ "unixVer": "x"
262
+ },
263
+ "qq": {
264
+ "hostVer": "x",
265
+ "uniVer": "x",
266
+ "unixVer": "x"
267
+ },
268
+ "kuaishou": {
269
+ "hostVer": "x",
270
+ "uniVer": "x",
271
+ "unixVer": "x"
272
+ },
273
+ "jd": {
274
+ "hostVer": "x",
275
+ "uniVer": "x",
276
+ "unixVer": "x"
277
+ }
278
+ }
279
+ }
280
+ */
281
+ appId ?: string | null
282
+ /**
283
+ 收款用户 openId, 对应传入的商户 appId 下,某用户的 openId
284
+ @uniPlatform {
285
+ "app": {
286
+ "android": {
287
+ "osVer": "5.0",
288
+ "uniVer": "4.54",
289
+ "unixVer": "4.54"
290
+ },
291
+ "ios": {
292
+ "osVer": "12.0",
293
+ "uniVer": "4.54",
294
+ "unixVer": "4.54"
295
+ },
296
+ "harmony": {
297
+ "osVer": "3.0",
298
+ "uniVer": "x",
299
+ "unixVer": "x"
300
+ }
301
+ },
302
+ "web": {
303
+ "uniVer": "x",
304
+ "unixVer": "x"
305
+ },
306
+ "mp": {
307
+ "weixin": {
308
+ "hostVer": "√",
309
+ "uniVer": "√",
310
+ "unixVer": "4.54"
311
+ },
312
+ "alipay": {
313
+ "hostVer": "x",
314
+ "uniVer": "x",
315
+ "unixVer": "x"
316
+ },
317
+ "baidu": {
318
+ "hostVer": "x",
319
+ "uniVer": "x",
320
+ "unixVer": "x"
321
+ },
322
+ "toutiao": {
323
+ "hostVer": "x",
324
+ "uniVer": "x",
325
+ "unixVer": "x"
326
+ },
327
+ "lark": {
328
+ "hostVer": "x",
329
+ "uniVer": "x",
330
+ "unixVer": "x"
331
+ },
332
+ "qq": {
333
+ "hostVer": "x",
334
+ "uniVer": "x",
335
+ "unixVer": "x"
336
+ },
337
+ "kuaishou": {
338
+ "hostVer": "x",
339
+ "uniVer": "x",
340
+ "unixVer": "x"
341
+ },
342
+ "jd": {
343
+ "hostVer": "x",
344
+ "uniVer": "x",
345
+ "unixVer": "x"
346
+ }
347
+ }
348
+ }
349
+ */
350
+ openId ?: string | null
351
+ /**
352
+ 子商户 appId(微信平台子appid),服务商模式下,appId 和 subAppId 二选一填写
353
+ @uniPlatform {
354
+ "app": {
355
+ "android": {
356
+ "osVer": "5.0",
357
+ "uniVer": "4.54",
358
+ "unixVer": "4.54"
359
+ },
360
+ "ios": {
361
+ "osVer": "12.0",
362
+ "uniVer": "4.54",
363
+ "unixVer": "4.54"
364
+ },
365
+ "harmony": {
366
+ "osVer": "3.0",
367
+ "uniVer": "x",
368
+ "unixVer": "x"
369
+ }
370
+ },
371
+ "web": {
372
+ "uniVer": "x",
373
+ "unixVer": "x"
374
+ },
375
+ "mp": {
376
+ "weixin": {
377
+ "hostVer": "√",
378
+ "uniVer": "√",
379
+ "unixVer": "4.54"
380
+ },
381
+ "alipay": {
382
+ "hostVer": "x",
383
+ "uniVer": "x",
384
+ "unixVer": "x"
385
+ },
386
+ "baidu": {
387
+ "hostVer": "x",
388
+ "uniVer": "x",
389
+ "unixVer": "x"
390
+ },
391
+ "toutiao": {
392
+ "hostVer": "x",
393
+ "uniVer": "x",
394
+ "unixVer": "x"
395
+ },
396
+ "lark": {
397
+ "hostVer": "x",
398
+ "uniVer": "x",
399
+ "unixVer": "x"
400
+ },
401
+ "qq": {
402
+ "hostVer": "x",
403
+ "uniVer": "x",
404
+ "unixVer": "x"
405
+ },
406
+ "kuaishou": {
407
+ "hostVer": "x",
408
+ "uniVer": "x",
409
+ "unixVer": "x"
410
+ },
411
+ "jd": {
412
+ "hostVer": "x",
413
+ "uniVer": "x",
414
+ "unixVer": "x"
415
+ }
416
+ }
417
+ }
418
+ */
419
+ subAppId ?: string | null
420
+ /**
421
+ 子商户号,服务商模式下必填
422
+ @uniPlatform {
423
+ "app": {
424
+ "android": {
425
+ "osVer": "5.0",
426
+ "uniVer": "4.54",
427
+ "unixVer": "4.54"
428
+ },
429
+ "ios": {
430
+ "osVer": "12.0",
431
+ "uniVer": "4.54",
432
+ "unixVer": "4.54"
433
+ },
434
+ "harmony": {
435
+ "osVer": "3.0",
436
+ "uniVer": "x",
437
+ "unixVer": "x"
438
+ }
439
+ },
440
+ "web": {
441
+ "uniVer": "x",
442
+ "unixVer": "x"
443
+ },
444
+ "mp": {
445
+ "weixin": {
446
+ "hostVer": "√",
447
+ "uniVer": "√",
448
+ "unixVer": "4.54"
449
+ },
450
+ "alipay": {
451
+ "hostVer": "x",
452
+ "uniVer": "x",
453
+ "unixVer": "x"
454
+ },
455
+ "baidu": {
456
+ "hostVer": "x",
457
+ "uniVer": "x",
458
+ "unixVer": "x"
459
+ },
460
+ "toutiao": {
461
+ "hostVer": "x",
462
+ "uniVer": "x",
463
+ "unixVer": "x"
464
+ },
465
+ "lark": {
466
+ "hostVer": "x",
467
+ "uniVer": "x",
468
+ "unixVer": "x"
469
+ },
470
+ "qq": {
471
+ "hostVer": "x",
472
+ "uniVer": "x",
473
+ "unixVer": "x"
474
+ },
475
+ "kuaishou": {
476
+ "hostVer": "x",
477
+ "uniVer": "x",
478
+ "unixVer": "x"
479
+ },
480
+ "jd": {
481
+ "hostVer": "x",
482
+ "uniVer": "x",
483
+ "unixVer": "x"
484
+ }
485
+ }
486
+ }
487
+ */
488
+ subMchId ?: string | null
489
+ /**
490
+ 接口调用成功的回调函数
491
+ @uniPlatform {
492
+ "app": {
493
+ "android": {
494
+ "osVer": "5.0",
495
+ "uniVer": "4.54",
496
+ "unixVer": "4.54"
497
+ },
498
+ "ios": {
499
+ "osVer": "12.0",
500
+ "uniVer": "4.54",
501
+ "unixVer": "4.54"
502
+ },
503
+ "harmony": {
504
+ "osVer": "3.0",
505
+ "uniVer": "x",
506
+ "unixVer": "x"
507
+ }
508
+ },
509
+ "web": {
510
+ "uniVer": "x",
511
+ "unixVer": "x"
512
+ },
513
+ "mp": {
514
+ "weixin": {
515
+ "hostVer": "√",
516
+ "uniVer": "√",
517
+ "unixVer": "4.54"
518
+ },
519
+ "alipay": {
520
+ "hostVer": "x",
521
+ "uniVer": "x",
522
+ "unixVer": "x"
523
+ },
524
+ "baidu": {
525
+ "hostVer": "x",
526
+ "uniVer": "x",
527
+ "unixVer": "x"
528
+ },
529
+ "toutiao": {
530
+ "hostVer": "x",
531
+ "uniVer": "x",
532
+ "unixVer": "x"
533
+ },
534
+ "lark": {
535
+ "hostVer": "x",
536
+ "uniVer": "x",
537
+ "unixVer": "x"
538
+ },
539
+ "qq": {
540
+ "hostVer": "x",
541
+ "uniVer": "x",
542
+ "unixVer": "x"
543
+ },
544
+ "kuaishou": {
545
+ "hostVer": "x",
546
+ "uniVer": "x",
547
+ "unixVer": "x"
548
+ },
549
+ "jd": {
550
+ "hostVer": "x",
551
+ "uniVer": "x",
552
+ "unixVer": "x"
553
+ }
554
+ }
555
+ }
556
+ */
557
+ success ?: RequestMerchantTransferSuccessCallback | null
558
+ /**
559
+ 接口调用失败的回调函数
560
+ @uniPlatform {
561
+ "app": {
562
+ "android": {
563
+ "osVer": "5.0",
564
+ "uniVer": "4.54",
565
+ "unixVer": "4.54"
566
+ },
567
+ "ios": {
568
+ "osVer": "12.0",
569
+ "uniVer": "4.54",
570
+ "unixVer": "4.54"
571
+ },
572
+ "harmony": {
573
+ "osVer": "3.0",
574
+ "uniVer": "x",
575
+ "unixVer": "x"
576
+ }
577
+ },
578
+ "web": {
579
+ "uniVer": "x",
580
+ "unixVer": "x"
581
+ },
582
+ "mp": {
583
+ "weixin": {
584
+ "hostVer": "√",
585
+ "uniVer": "√",
586
+ "unixVer": "4.54"
587
+ },
588
+ "alipay": {
589
+ "hostVer": "x",
590
+ "uniVer": "x",
591
+ "unixVer": "x"
592
+ },
593
+ "baidu": {
594
+ "hostVer": "x",
595
+ "uniVer": "x",
596
+ "unixVer": "x"
597
+ },
598
+ "toutiao": {
599
+ "hostVer": "x",
600
+ "uniVer": "x",
601
+ "unixVer": "x"
602
+ },
603
+ "lark": {
604
+ "hostVer": "x",
605
+ "uniVer": "x",
606
+ "unixVer": "x"
607
+ },
608
+ "qq": {
609
+ "hostVer": "x",
610
+ "uniVer": "x",
611
+ "unixVer": "x"
612
+ },
613
+ "kuaishou": {
614
+ "hostVer": "x",
615
+ "uniVer": "x",
616
+ "unixVer": "x"
617
+ },
618
+ "jd": {
619
+ "hostVer": "x",
620
+ "uniVer": "x",
621
+ "unixVer": "x"
622
+ }
623
+ }
624
+ }
625
+ */
626
+ fail ?: RequestMerchantTransferFailCallback | null
627
+ /**
628
+ 接口调用结束的回调函数(调用成功、失败都会执行)
629
+ @uniPlatform {
630
+ "app": {
631
+ "android": {
632
+ "osVer": "5.0",
633
+ "uniVer": "4.54",
634
+ "unixVer": "4.54"
635
+ },
636
+ "ios": {
637
+ "osVer": "12.0",
638
+ "uniVer": "4.54",
639
+ "unixVer": "4.54"
640
+ },
641
+ "harmony": {
642
+ "osVer": "3.0",
643
+ "uniVer": "x",
644
+ "unixVer": "x"
645
+ }
646
+ },
647
+ "web": {
648
+ "uniVer": "x",
649
+ "unixVer": "x"
650
+ },
651
+ "mp": {
652
+ "weixin": {
653
+ "hostVer": "√",
654
+ "uniVer": "√",
655
+ "unixVer": "4.54"
656
+ },
657
+ "alipay": {
658
+ "hostVer": "x",
659
+ "uniVer": "x",
660
+ "unixVer": "x"
661
+ },
662
+ "baidu": {
663
+ "hostVer": "x",
664
+ "uniVer": "x",
665
+ "unixVer": "x"
666
+ },
667
+ "toutiao": {
668
+ "hostVer": "x",
669
+ "uniVer": "x",
670
+ "unixVer": "x"
671
+ },
672
+ "lark": {
673
+ "hostVer": "x",
674
+ "uniVer": "x",
675
+ "unixVer": "x"
676
+ },
677
+ "qq": {
678
+ "hostVer": "x",
679
+ "uniVer": "x",
680
+ "unixVer": "x"
681
+ },
682
+ "kuaishou": {
683
+ "hostVer": "x",
684
+ "uniVer": "x",
685
+ "unixVer": "x"
686
+ },
687
+ "jd": {
688
+ "hostVer": "x",
689
+ "uniVer": "x",
690
+ "unixVer": "x"
691
+ }
692
+ }
693
+ }
694
+ */
695
+ complete ?: RequestMerchantTransferCompleteCallback | null
696
+ }
697
+ export type RequestMerchantTransferCompleteCallback = (
698
+ res : RequestMerchantTransferGeneralCallbackResult
699
+ ) => void
700
+ /** 接口调用失败的回调函数 */
701
+ export type RequestMerchantTransferFailCallback = (
702
+ res : RequestMerchantTransferGeneralCallbackResult
703
+ ) => void
704
+ /** 接口调用成功的回调函数 */
705
+ export type RequestMerchantTransferSuccessCallback = (
706
+ res : RequestMerchantTransferGeneralCallbackResult
707
+ ) => void
708
+ export type RequestMerchantTransferGeneralCallbackResult = {
709
+ errMsg : string
710
+ }