@dcloudio/uni-app-x 0.7.30 → 0.7.31
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.
- package/package.json +1 -1
- package/types/app.d.ts +0 -144
- package/types/native/IUniElement.d.ts +22 -0
- package/types/native/IUniNativeViewElement.d.ts +8 -8
- package/types/native/UniEvent.d.ts +7 -0
- package/types/native/UniRichTextItemClickEvent.d.ts +1 -5
- package/types/native/global.d.ts +3 -0
- package/types/page.d.ts +38 -182
- package/types/uni/uts-plugin-api/global.d.ts +1 -0
- package/types/uni/uts-plugin-api/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +3 -3
- package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +55 -59
- package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +6 -7
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +30 -0
- package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +30 -7
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/global.d.ts +18 -0
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/index.d.ts +9 -0
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +136 -0
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +80 -26
- package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/global.d.ts +30 -0
- package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/index.d.ts +14 -0
- package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +273 -0
- package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-biz/global.d.ts +1 -0
- package/types/uni/uts-plugin-biz/index.d.ts +1 -0
- package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +198 -0
- package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/global.d.ts +60 -0
- package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/index.d.ts +29 -0
- package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +454 -0
- package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +7 -7
|
@@ -132,7 +132,6 @@ export type ChooseImageOptions = {
|
|
|
132
132
|
count ?: (number) | null,
|
|
133
133
|
/**
|
|
134
134
|
* original 原图,compressed 压缩图,默认二者都有
|
|
135
|
-
* @type string | string []
|
|
136
135
|
* @defaultValue ['original','compressed']
|
|
137
136
|
* @uniPlatform {
|
|
138
137
|
* "app":{
|
|
@@ -271,6 +270,30 @@ export type PreviewImageOptions = {
|
|
|
271
270
|
urls : Array<string.ImageURIString>,
|
|
272
271
|
/**
|
|
273
272
|
* 是否显示长按菜单
|
|
273
|
+
*
|
|
274
|
+
* @uniPlatform {
|
|
275
|
+
* "app": {
|
|
276
|
+
* "android": {
|
|
277
|
+
* "osVer": "5.0",
|
|
278
|
+
* "uniVer": "√",
|
|
279
|
+
* "unixVer": "x"
|
|
280
|
+
* },
|
|
281
|
+
* "ios": {
|
|
282
|
+
* "osVer": "10.0",
|
|
283
|
+
* "uniVer": "√",
|
|
284
|
+
* "unixVer": "x"
|
|
285
|
+
* },
|
|
286
|
+
* "harmony": {
|
|
287
|
+
* "osVer": "3.0",
|
|
288
|
+
* "uniVer": "4.23",
|
|
289
|
+
* "unixVer": "x"
|
|
290
|
+
* }
|
|
291
|
+
* },
|
|
292
|
+
* "web": {
|
|
293
|
+
* "uniVer": "√",
|
|
294
|
+
* "unixVer": "4.0"
|
|
295
|
+
* }
|
|
296
|
+
* }
|
|
274
297
|
*/
|
|
275
298
|
showmenu ?: boolean | null,
|
|
276
299
|
/**
|
|
@@ -1008,7 +1031,7 @@ export type ChooseMediaOptions = {
|
|
|
1008
1031
|
* "app": {
|
|
1009
1032
|
* "harmony": {
|
|
1010
1033
|
* "osVer": "3.0",
|
|
1011
|
-
* "uniVer": "4.
|
|
1034
|
+
* "uniVer": "4.31",
|
|
1012
1035
|
* "unixVer": "x"
|
|
1013
1036
|
* }
|
|
1014
1037
|
* },
|
|
@@ -1392,7 +1415,7 @@ export interface Uni {
|
|
|
1392
1415
|
* },
|
|
1393
1416
|
* "harmony": {
|
|
1394
1417
|
* "osVer": "3.0",
|
|
1395
|
-
* "uniVer": "4.
|
|
1418
|
+
* "uniVer": "4.31",
|
|
1396
1419
|
* "unixVer": "x"
|
|
1397
1420
|
* }
|
|
1398
1421
|
* },
|
|
@@ -1566,8 +1589,8 @@ export interface Uni {
|
|
|
1566
1589
|
* "unixVer": "4.25"
|
|
1567
1590
|
* },
|
|
1568
1591
|
* "harmony": {
|
|
1569
|
-
* "osVer": "
|
|
1570
|
-
* "uniVer": "
|
|
1592
|
+
* "osVer": "3,0",
|
|
1593
|
+
* "uniVer": "4.31",
|
|
1571
1594
|
* "unixVer": "x"
|
|
1572
1595
|
* }
|
|
1573
1596
|
* },
|
|
@@ -1612,7 +1635,7 @@ export interface Uni {
|
|
|
1612
1635
|
* },
|
|
1613
1636
|
* "harmony": {
|
|
1614
1637
|
* "osVer": "3.0",
|
|
1615
|
-
* "uniVer": "4.
|
|
1638
|
+
* "uniVer": "4.31",
|
|
1616
1639
|
* "unixVer": "x"
|
|
1617
1640
|
* }
|
|
1618
1641
|
* },
|
|
@@ -1642,7 +1665,7 @@ export interface Uni {
|
|
|
1642
1665
|
* },
|
|
1643
1666
|
* "harmony": {
|
|
1644
1667
|
* "osVer": "3.0",
|
|
1645
|
-
* "uniVer": "4.
|
|
1668
|
+
* "uniVer": "4.31",
|
|
1646
1669
|
* "unixVer": "x"
|
|
1647
1670
|
* }
|
|
1648
1671
|
* },
|
|
@@ -32,6 +32,15 @@ import {
|
|
|
32
32
|
OnProgressDownloadResult as OnProgressDownloadResultOrigin,
|
|
33
33
|
DownloadFileProgressUpdateCallback as DownloadFileProgressUpdateCallbackOrigin,
|
|
34
34
|
DownloadTask as DownloadTaskOrigin,
|
|
35
|
+
ConfigMTLS as ConfigMTLSOrigin,
|
|
36
|
+
Certificate as CertificateOrigin,
|
|
37
|
+
ConfigMTLSSuccess as ConfigMTLSSuccessOrigin,
|
|
38
|
+
ConfigMTLSSuccessCallback as ConfigMTLSSuccessCallbackOrigin,
|
|
39
|
+
ConfigMTLSFail as ConfigMTLSFailOrigin,
|
|
40
|
+
ConfigMTLSFailCallback as ConfigMTLSFailCallbackOrigin,
|
|
41
|
+
ConfigMTLSComplete as ConfigMTLSCompleteOrigin,
|
|
42
|
+
ConfigMTLSCompleteCallback as ConfigMTLSCompleteCallbackOrigin,
|
|
43
|
+
ConfigMTLSOptions as ConfigMTLSOptionsOrigin,
|
|
35
44
|
Uni as UniOrigin
|
|
36
45
|
} from './interface'
|
|
37
46
|
|
|
@@ -68,5 +77,14 @@ declare global {
|
|
|
68
77
|
type OnProgressDownloadResult = OnProgressDownloadResultOrigin
|
|
69
78
|
type DownloadFileProgressUpdateCallback = DownloadFileProgressUpdateCallbackOrigin
|
|
70
79
|
type DownloadTask = DownloadTaskOrigin
|
|
80
|
+
type ConfigMTLS = ConfigMTLSOrigin
|
|
81
|
+
type Certificate = CertificateOrigin
|
|
82
|
+
type ConfigMTLSSuccess = ConfigMTLSSuccessOrigin
|
|
83
|
+
type ConfigMTLSSuccessCallback = ConfigMTLSSuccessCallbackOrigin
|
|
84
|
+
type ConfigMTLSFail = ConfigMTLSFailOrigin
|
|
85
|
+
type ConfigMTLSFailCallback = ConfigMTLSFailCallbackOrigin
|
|
86
|
+
type ConfigMTLSComplete = ConfigMTLSCompleteOrigin
|
|
87
|
+
type ConfigMTLSCompleteCallback = ConfigMTLSCompleteCallbackOrigin
|
|
88
|
+
type ConfigMTLSOptions = ConfigMTLSOptionsOrigin
|
|
71
89
|
interface Uni extends UniOrigin { }
|
|
72
90
|
}
|
|
@@ -32,4 +32,13 @@ export {
|
|
|
32
32
|
OnProgressDownloadResult,
|
|
33
33
|
DownloadFileProgressUpdateCallback,
|
|
34
34
|
DownloadTask,
|
|
35
|
+
ConfigMTLS,
|
|
36
|
+
Certificate,
|
|
37
|
+
ConfigMTLSSuccess,
|
|
38
|
+
ConfigMTLSSuccessCallback,
|
|
39
|
+
ConfigMTLSFail,
|
|
40
|
+
ConfigMTLSFailCallback,
|
|
41
|
+
ConfigMTLSComplete,
|
|
42
|
+
ConfigMTLSCompleteCallback,
|
|
43
|
+
ConfigMTLSOptions,
|
|
35
44
|
} from './interface'
|
|
@@ -1390,6 +1390,111 @@ export interface DownloadTask {
|
|
|
1390
1390
|
onProgressUpdate(callback: DownloadFileProgressUpdateCallback): void,
|
|
1391
1391
|
};
|
|
1392
1392
|
|
|
1393
|
+
export type ConfigMTLS = (options: ConfigMTLSOptions) => void;
|
|
1394
|
+
export type Certificate = {
|
|
1395
|
+
/**
|
|
1396
|
+
* 对应请求的域名(注意:不要协议部分)
|
|
1397
|
+
*/
|
|
1398
|
+
host: string,
|
|
1399
|
+
/**
|
|
1400
|
+
* 客户端证书(服务器端需要验证客户端证书时需要配置此项,格式要求请参考下面的证书格式说明,注意 iOS 平台客户端证书只支持 .p12 类型的证书。HarmonyOS Next 上是证书路径 [文档](https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/js-apis-http-V5#clientcert11))
|
|
1401
|
+
*/
|
|
1402
|
+
client?: string | null,
|
|
1403
|
+
/**
|
|
1404
|
+
* 客户端证书对应的密码(客户端证书存在时必须配置此项。HarmonyOS Next 上是证书秘钥的密码 [文档](https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/js-apis-http-V5#clientcert11))
|
|
1405
|
+
*/
|
|
1406
|
+
clientPassword?: string | null,
|
|
1407
|
+
/**
|
|
1408
|
+
* 证书秘钥的路径,只支持 HarmonyOS Next
|
|
1409
|
+
*
|
|
1410
|
+
* @uniPlatform {
|
|
1411
|
+
* "app": {
|
|
1412
|
+
* "android": {
|
|
1413
|
+
* "osVer": "x",
|
|
1414
|
+
* "uniVer": "x",
|
|
1415
|
+
* "unixVer": "x"
|
|
1416
|
+
* },
|
|
1417
|
+
* "ios": {
|
|
1418
|
+
* "osVer": "x",
|
|
1419
|
+
* "uniVer": "x",
|
|
1420
|
+
* "unixVer": "x"
|
|
1421
|
+
* },
|
|
1422
|
+
* "harmony": {
|
|
1423
|
+
* "osVer": "3.0",
|
|
1424
|
+
* "uniVer": "4.31",
|
|
1425
|
+
* "unixVer": "x"
|
|
1426
|
+
* }
|
|
1427
|
+
* },
|
|
1428
|
+
* "web": {
|
|
1429
|
+
* "uniVer": "x",
|
|
1430
|
+
* "unixVer": "x"
|
|
1431
|
+
* }
|
|
1432
|
+
* }
|
|
1433
|
+
*/
|
|
1434
|
+
keyPath?: string | null,
|
|
1435
|
+
/**
|
|
1436
|
+
* 服务器端证书(客户端需要对服务器端证书做校验时需要配置此项,格式要求请参考下面的证书格式说明,注意 iOS 平台服务器端证书只支持 .cer 类型的证书。HarmonyOS Next 不支持)
|
|
1437
|
+
*
|
|
1438
|
+
* @uniPlatform {
|
|
1439
|
+
* "app": {
|
|
1440
|
+
* "android": {
|
|
1441
|
+
* "osVer": "4.4",
|
|
1442
|
+
* "uniVer": "3.2.7",
|
|
1443
|
+
* "unixVer": "x"
|
|
1444
|
+
* },
|
|
1445
|
+
* "ios": {
|
|
1446
|
+
* "osVer": "10.0",
|
|
1447
|
+
* "uniVer": "3.2.7",
|
|
1448
|
+
* "unixVer": "x"
|
|
1449
|
+
* },
|
|
1450
|
+
* "harmony": {
|
|
1451
|
+
* "osVer": "x",
|
|
1452
|
+
* "uniVer": "x",
|
|
1453
|
+
* "unixVer": "x"
|
|
1454
|
+
* }
|
|
1455
|
+
* },
|
|
1456
|
+
* "web": {
|
|
1457
|
+
* "uniVer": "x",
|
|
1458
|
+
* "unixVer": "x"
|
|
1459
|
+
* }
|
|
1460
|
+
* }
|
|
1461
|
+
*/
|
|
1462
|
+
server?: (string[]) | null
|
|
1463
|
+
};
|
|
1464
|
+
export type ConfigMTLSSuccess = {
|
|
1465
|
+
/**
|
|
1466
|
+
* 成功返回 0,失败返回相应 code 码
|
|
1467
|
+
*/
|
|
1468
|
+
code: number
|
|
1469
|
+
};
|
|
1470
|
+
export type ConfigMTLSSuccessCallback = (result: ConfigMTLSSuccess) => void;
|
|
1471
|
+
export type ConfigMTLSFail = {
|
|
1472
|
+
/**
|
|
1473
|
+
* 成功返回 0,失败返回相应 code 码
|
|
1474
|
+
*/
|
|
1475
|
+
code: number
|
|
1476
|
+
};
|
|
1477
|
+
export type ConfigMTLSFailCallback = (result: ConfigMTLSFail) => void;
|
|
1478
|
+
export type ConfigMTLSComplete = any;
|
|
1479
|
+
export type ConfigMTLSCompleteCallback = (result: ConfigMTLSComplete) => void;
|
|
1480
|
+
export type ConfigMTLSOptions = {
|
|
1481
|
+
/**
|
|
1482
|
+
* 资源url
|
|
1483
|
+
*/
|
|
1484
|
+
certificates: Certificate[],
|
|
1485
|
+
/**
|
|
1486
|
+
* 成功返回的回调函数
|
|
1487
|
+
*/
|
|
1488
|
+
success?: ConfigMTLSSuccessCallback | null,
|
|
1489
|
+
/**
|
|
1490
|
+
* 失败的回调函数
|
|
1491
|
+
*/
|
|
1492
|
+
fail?: ConfigMTLSFailCallback | null,
|
|
1493
|
+
/**
|
|
1494
|
+
* 结束的回调函数(调用成功、失败都会执行)
|
|
1495
|
+
*/
|
|
1496
|
+
complete?: ConfigMTLSCompleteCallback | null
|
|
1497
|
+
}
|
|
1393
1498
|
|
|
1394
1499
|
export interface Uni {
|
|
1395
1500
|
/**
|
|
@@ -1536,4 +1641,35 @@ export interface Uni {
|
|
|
1536
1641
|
```
|
|
1537
1642
|
*/
|
|
1538
1643
|
downloadFile(options: DownloadFileOptions): DownloadTask;
|
|
1644
|
+
/**
|
|
1645
|
+
* 配置自签名证书
|
|
1646
|
+
*
|
|
1647
|
+
* @tutorial https://uniapp.dcloud.net.cn/api/request/request.html#configmtls
|
|
1648
|
+
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/request/request.html#configmtls
|
|
1649
|
+
*
|
|
1650
|
+
* @uniPlatform {
|
|
1651
|
+
* "app": {
|
|
1652
|
+
* "android": {
|
|
1653
|
+
* "osVer": "4.4",
|
|
1654
|
+
* "uniVer": "3.2.7",
|
|
1655
|
+
* "unixVer": "x"
|
|
1656
|
+
* },
|
|
1657
|
+
* "ios": {
|
|
1658
|
+
* "osVer": "10.0",
|
|
1659
|
+
* "uniVer": "3.2.7",
|
|
1660
|
+
* "unixVer": "x"
|
|
1661
|
+
* },
|
|
1662
|
+
* "harmony": {
|
|
1663
|
+
* "osVer": "3.0",
|
|
1664
|
+
* "uniVer": "4.31",
|
|
1665
|
+
* "unixVer": "x"
|
|
1666
|
+
* }
|
|
1667
|
+
* },
|
|
1668
|
+
* "web": {
|
|
1669
|
+
* "uniVer": "x",
|
|
1670
|
+
* "unixVer": "x"
|
|
1671
|
+
* }
|
|
1672
|
+
* }
|
|
1673
|
+
*/
|
|
1674
|
+
configMTLS: ConfigMTLS;
|
|
1539
1675
|
}
|
|
@@ -19,7 +19,7 @@ export interface Uni {
|
|
|
19
19
|
* },
|
|
20
20
|
* "harmony": {
|
|
21
21
|
* "osVer": "3.0",
|
|
22
|
-
* "uniVer": "4.
|
|
22
|
+
* "uniVer": "4.31",
|
|
23
23
|
* "unixVer": "x"
|
|
24
24
|
* }
|
|
25
25
|
* },
|
|
@@ -101,7 +101,7 @@ export interface Uni {
|
|
|
101
101
|
* },
|
|
102
102
|
* "harmony": {
|
|
103
103
|
* "osVer": "3.0",
|
|
104
|
-
* "uniVer": "4.
|
|
104
|
+
* "uniVer": "4.31",
|
|
105
105
|
* "unixVer": "x"
|
|
106
106
|
* }
|
|
107
107
|
* },
|
|
@@ -34,8 +34,8 @@ export interface Uni {
|
|
|
34
34
|
* "unixVer": "4.18"
|
|
35
35
|
* },
|
|
36
36
|
* "harmony": {
|
|
37
|
-
* "osVer": "
|
|
38
|
-
* "uniVer": "
|
|
37
|
+
* "osVer": "3.0",
|
|
38
|
+
* "uniVer": "4.26",
|
|
39
39
|
* "unixVer": "x"
|
|
40
40
|
* }
|
|
41
41
|
* },
|
|
@@ -66,8 +66,8 @@ export type RequestPaymentErrorCode =
|
|
|
66
66
|
* "unixVer": "4.18"
|
|
67
67
|
* },
|
|
68
68
|
* "harmony": {
|
|
69
|
-
* "osVer": "
|
|
70
|
-
* "uniVer": "
|
|
69
|
+
* "osVer": "3.0",
|
|
70
|
+
* "uniVer": "4.27",
|
|
71
71
|
* "unixVer": "x"
|
|
72
72
|
* }
|
|
73
73
|
* },
|
|
@@ -93,8 +93,8 @@ export type RequestPaymentErrorCode =
|
|
|
93
93
|
* "unixVer": "4.18"
|
|
94
94
|
* },
|
|
95
95
|
* "harmony": {
|
|
96
|
-
* "osVer": "
|
|
97
|
-
* "uniVer": "
|
|
96
|
+
* "osVer": "3.0",
|
|
97
|
+
* "uniVer": "4.27",
|
|
98
98
|
* "unixVer": "x"
|
|
99
99
|
* }
|
|
100
100
|
* },
|
|
@@ -120,8 +120,8 @@ export type RequestPaymentErrorCode =
|
|
|
120
120
|
* "unixVer": "4.18"
|
|
121
121
|
* },
|
|
122
122
|
* "harmony": {
|
|
123
|
-
* "osVer": "
|
|
124
|
-
* "uniVer": "
|
|
123
|
+
* "osVer": "3.0",
|
|
124
|
+
* "uniVer": "4.27",
|
|
125
125
|
* "unixVer": "x"
|
|
126
126
|
* }
|
|
127
127
|
* },
|
|
@@ -147,8 +147,8 @@ export type RequestPaymentErrorCode =
|
|
|
147
147
|
* "unixVer": "4.18"
|
|
148
148
|
* },
|
|
149
149
|
* "harmony": {
|
|
150
|
-
* "osVer": "
|
|
151
|
-
* "uniVer": "
|
|
150
|
+
* "osVer": "3.0",
|
|
151
|
+
* "uniVer": "4.27",
|
|
152
152
|
* "unixVer": "x"
|
|
153
153
|
* }
|
|
154
154
|
* },
|
|
@@ -174,8 +174,8 @@ export type RequestPaymentErrorCode =
|
|
|
174
174
|
* "unixVer": "4.18"
|
|
175
175
|
* },
|
|
176
176
|
* "harmony": {
|
|
177
|
-
* "osVer": "
|
|
178
|
-
* "uniVer": "
|
|
177
|
+
* "osVer": "3.0",
|
|
178
|
+
* "uniVer": "4.27",
|
|
179
179
|
* "unixVer": "x"
|
|
180
180
|
* }
|
|
181
181
|
* },
|
|
@@ -201,8 +201,8 @@ export type RequestPaymentErrorCode =
|
|
|
201
201
|
* "unixVer": "4.18"
|
|
202
202
|
* },
|
|
203
203
|
* "harmony": {
|
|
204
|
-
* "osVer": "
|
|
205
|
-
* "uniVer": "
|
|
204
|
+
* "osVer": "3.0",
|
|
205
|
+
* "uniVer": "4.27",
|
|
206
206
|
* "unixVer": "x"
|
|
207
207
|
* }
|
|
208
208
|
* },
|
|
@@ -228,8 +228,8 @@ export type RequestPaymentErrorCode =
|
|
|
228
228
|
* "unixVer": "4.18"
|
|
229
229
|
* },
|
|
230
230
|
* "harmony": {
|
|
231
|
-
* "osVer": "
|
|
232
|
-
* "uniVer": "
|
|
231
|
+
* "osVer": "3.0",
|
|
232
|
+
* "uniVer": "4.27",
|
|
233
233
|
* "unixVer": "x"
|
|
234
234
|
* }
|
|
235
235
|
* },
|
|
@@ -255,8 +255,8 @@ export type RequestPaymentErrorCode =
|
|
|
255
255
|
* "unixVer": "4.18"
|
|
256
256
|
* },
|
|
257
257
|
* "harmony": {
|
|
258
|
-
* "osVer": "
|
|
259
|
-
* "uniVer": "
|
|
258
|
+
* "osVer": "3.0",
|
|
259
|
+
* "uniVer": "4.27",
|
|
260
260
|
* "unixVer": "x"
|
|
261
261
|
* }
|
|
262
262
|
* },
|
|
@@ -282,8 +282,62 @@ export type RequestPaymentErrorCode =
|
|
|
282
282
|
* "unixVer": "4.18"
|
|
283
283
|
* },
|
|
284
284
|
* "harmony": {
|
|
285
|
-
* "osVer": "
|
|
285
|
+
* "osVer": "3.0",
|
|
286
|
+
* "uniVer": "4.27",
|
|
287
|
+
* "unixVer": "x"
|
|
288
|
+
* }
|
|
289
|
+
* },
|
|
290
|
+
* "web": {
|
|
291
|
+
* "uniVer": "x",
|
|
292
|
+
* "unixVer": "x"
|
|
293
|
+
* }
|
|
294
|
+
* }
|
|
295
|
+
*/
|
|
296
|
+
700605 |
|
|
297
|
+
/**
|
|
298
|
+
* 支付未完成。
|
|
299
|
+
* @uniPlatform {
|
|
300
|
+
* "app": {
|
|
301
|
+
* "android": {
|
|
302
|
+
* "osVer": "5.0",
|
|
303
|
+
* "uniVer": "x",
|
|
304
|
+
* "unixVer": "4.28"
|
|
305
|
+
* },
|
|
306
|
+
* "ios": {
|
|
307
|
+
* "osVer": "12.0",
|
|
286
308
|
* "uniVer": "x",
|
|
309
|
+
* "unixVer": "4.28"
|
|
310
|
+
* },
|
|
311
|
+
* "harmony": {
|
|
312
|
+
* "osVer": "3.0",
|
|
313
|
+
* "uniVer": "4.31",
|
|
314
|
+
* "unixVer": "x"
|
|
315
|
+
* }
|
|
316
|
+
* },
|
|
317
|
+
* "web": {
|
|
318
|
+
* "uniVer": "x",
|
|
319
|
+
* "unixVer": "x"
|
|
320
|
+
* }
|
|
321
|
+
* }
|
|
322
|
+
*/
|
|
323
|
+
700607 |
|
|
324
|
+
/**
|
|
325
|
+
* 服务商返回参数错误。
|
|
326
|
+
* @uniPlatform {
|
|
327
|
+
* "app": {
|
|
328
|
+
* "android": {
|
|
329
|
+
* "osVer": "5.0",
|
|
330
|
+
* "uniVer": "x",
|
|
331
|
+
* "unixVer": "4.28"
|
|
332
|
+
* },
|
|
333
|
+
* "ios": {
|
|
334
|
+
* "osVer": "12.0",
|
|
335
|
+
* "uniVer": "x",
|
|
336
|
+
* "unixVer": "4.28"
|
|
337
|
+
* },
|
|
338
|
+
* "harmony": {
|
|
339
|
+
* "osVer": "3.0",
|
|
340
|
+
* "uniVer": "4.31",
|
|
287
341
|
* "unixVer": "x"
|
|
288
342
|
* }
|
|
289
343
|
* },
|
|
@@ -293,7 +347,7 @@ export type RequestPaymentErrorCode =
|
|
|
293
347
|
* }
|
|
294
348
|
* }
|
|
295
349
|
*/
|
|
296
|
-
|
|
350
|
+
700608 |
|
|
297
351
|
/**
|
|
298
352
|
* 没有配置对应的URL Scheme。
|
|
299
353
|
* @uniPlatform {
|
|
@@ -367,7 +421,7 @@ export type RequestPaymentSuccess = {
|
|
|
367
421
|
* "unixVer": "4.18"
|
|
368
422
|
* },
|
|
369
423
|
* "harmony": {
|
|
370
|
-
* "osVer": "
|
|
424
|
+
* "osVer": "3.0",
|
|
371
425
|
* "uniVer": "4.25",
|
|
372
426
|
* "unixVer": "x"
|
|
373
427
|
* }
|
|
@@ -404,7 +458,7 @@ export type RequestPaymentOptions = {
|
|
|
404
458
|
* "unixVer": "4.18"
|
|
405
459
|
* },
|
|
406
460
|
* "harmony": {
|
|
407
|
-
* "osVer": "
|
|
461
|
+
* "osVer": "3,0",
|
|
408
462
|
* "uniVer": "4.25",
|
|
409
463
|
* "unixVer": "x"
|
|
410
464
|
* }
|
|
@@ -431,7 +485,7 @@ export type RequestPaymentOptions = {
|
|
|
431
485
|
* "unixVer": "4.18"
|
|
432
486
|
* },
|
|
433
487
|
* "harmony": {
|
|
434
|
-
* "osVer": "
|
|
488
|
+
* "osVer": "3.0",
|
|
435
489
|
* "uniVer": "4.25",
|
|
436
490
|
* "unixVer": "x"
|
|
437
491
|
* }
|
|
@@ -458,7 +512,7 @@ export type RequestPaymentOptions = {
|
|
|
458
512
|
* "unixVer": "4.18"
|
|
459
513
|
* },
|
|
460
514
|
* "harmony": {
|
|
461
|
-
* "osVer": "
|
|
515
|
+
* "osVer": "3,0",
|
|
462
516
|
* "uniVer": "4.25",
|
|
463
517
|
* "unixVer": "x"
|
|
464
518
|
* }
|
|
@@ -485,7 +539,7 @@ export type RequestPaymentOptions = {
|
|
|
485
539
|
* "unixVer": "4.18"
|
|
486
540
|
* },
|
|
487
541
|
* "harmony": {
|
|
488
|
-
* "osVer": "
|
|
542
|
+
* "osVer": "3.0",
|
|
489
543
|
* "uniVer": "4.25",
|
|
490
544
|
* "unixVer": "x"
|
|
491
545
|
* }
|
|
@@ -512,7 +566,7 @@ export type RequestPaymentOptions = {
|
|
|
512
566
|
* "unixVer": "4.18"
|
|
513
567
|
* },
|
|
514
568
|
* "harmony": {
|
|
515
|
-
* "osVer": "
|
|
569
|
+
* "osVer": "3.0",
|
|
516
570
|
* "uniVer": "4.25",
|
|
517
571
|
* "unixVer": "x"
|
|
518
572
|
* }
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// 本文件为自动构建生成
|
|
2
|
+
import {
|
|
3
|
+
OnPrivacyAuthorizationChange as OnPrivacyAuthorizationChangeOrigin,
|
|
4
|
+
OffPrivacyAuthorizationChange as OffPrivacyAuthorizationChangeOrigin,
|
|
5
|
+
OnPrivacyAuthorizationChangeCallback as OnPrivacyAuthorizationChangeCallbackOrigin,
|
|
6
|
+
PrivacyChangeResult as PrivacyChangeResultOrigin,
|
|
7
|
+
GetPrivacySetting as GetPrivacySettingOrigin,
|
|
8
|
+
GetPrivacySettingSuccessCallback as GetPrivacySettingSuccessCallbackOrigin,
|
|
9
|
+
GetPrivacySettingFailCallback as GetPrivacySettingFailCallbackOrigin,
|
|
10
|
+
GetPrivacySettingCompleteCallback as GetPrivacySettingCompleteCallbackOrigin,
|
|
11
|
+
ResetPrivacyAuthorization as ResetPrivacyAuthorizationOrigin,
|
|
12
|
+
GetPrivacySettingSuccessResult as GetPrivacySettingSuccessResultOrigin,
|
|
13
|
+
GetPrivacySettingOptions as GetPrivacySettingOptionsOrigin,
|
|
14
|
+
Uni as UniOrigin
|
|
15
|
+
} from './interface'
|
|
16
|
+
|
|
17
|
+
declare global {
|
|
18
|
+
type OnPrivacyAuthorizationChange = OnPrivacyAuthorizationChangeOrigin
|
|
19
|
+
type OffPrivacyAuthorizationChange = OffPrivacyAuthorizationChangeOrigin
|
|
20
|
+
type OnPrivacyAuthorizationChangeCallback = OnPrivacyAuthorizationChangeCallbackOrigin
|
|
21
|
+
type PrivacyChangeResult = PrivacyChangeResultOrigin
|
|
22
|
+
type GetPrivacySetting = GetPrivacySettingOrigin
|
|
23
|
+
type GetPrivacySettingSuccessCallback = GetPrivacySettingSuccessCallbackOrigin
|
|
24
|
+
type GetPrivacySettingFailCallback = GetPrivacySettingFailCallbackOrigin
|
|
25
|
+
type GetPrivacySettingCompleteCallback = GetPrivacySettingCompleteCallbackOrigin
|
|
26
|
+
type ResetPrivacyAuthorization = ResetPrivacyAuthorizationOrigin
|
|
27
|
+
type GetPrivacySettingSuccessResult = GetPrivacySettingSuccessResultOrigin
|
|
28
|
+
type GetPrivacySettingOptions = GetPrivacySettingOptionsOrigin
|
|
29
|
+
interface Uni extends UniOrigin { }
|
|
30
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// 本文件为自动构建生成
|
|
2
|
+
export {
|
|
3
|
+
OnPrivacyAuthorizationChange,
|
|
4
|
+
OffPrivacyAuthorizationChange,
|
|
5
|
+
OnPrivacyAuthorizationChangeCallback,
|
|
6
|
+
PrivacyChangeResult,
|
|
7
|
+
GetPrivacySetting,
|
|
8
|
+
GetPrivacySettingSuccessCallback,
|
|
9
|
+
GetPrivacySettingFailCallback,
|
|
10
|
+
GetPrivacySettingCompleteCallback,
|
|
11
|
+
ResetPrivacyAuthorization,
|
|
12
|
+
GetPrivacySettingSuccessResult,
|
|
13
|
+
GetPrivacySettingOptions,
|
|
14
|
+
} from './interface'
|