@ray-js/api 1.7.79 → 1.7.80
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/@types/AIKit.d.ts +1140 -1009
- package/@types/AVideoKit.d.ts +26 -101
- package/@types/BaseKit.d.ts +234 -210
- package/@types/BizKit.d.ts +271 -296
- package/@types/DeviceKit.d.ts +57 -88
- package/@types/GroupCITestKit.d.ts +1 -3
- package/@types/HealthKit.d.ts +273 -230
- package/@types/HomeKit.d.ts +1062 -891
- package/@types/IPCKit.d.ts +23 -50
- package/@types/LightKit.d.ts +2 -2
- package/@types/MapKit.d.ts +592 -381
- package/@types/MediaPlayerKit.d.ts +4 -28
- package/@types/MiniKit.d.ts +198 -375
- package/@types/P2PKit.d.ts +139 -205
- package/@types/PayKit.d.ts +10 -79
- package/@types/SweeperKit.d.ts +10 -10
- package/@types/ThirdAuthKit.d.ts +28 -252
- package/@types/WearKit.d.ts +630 -1593
- package/@types/api-extend.d.ts +0 -63
- package/lib/AIKit-1.6.0.d.ts +732 -35
- package/lib/AIKit-1.6.0.js +732 -51
- package/lib/BaseKit-3.17.7.d.ts +0 -214
- package/lib/BaseKit-3.17.7.js +1 -227
- package/lib/DeviceKit-4.13.1.d.ts +3666 -0
- package/lib/DeviceKit-4.13.1.js +3666 -0
- package/lib/HealthKit-6.5.0.d.ts +603 -0
- package/lib/HealthKit-6.5.0.js +603 -0
- package/lib/HomeKit-3.1.4.d.ts +4 -0
- package/lib/HomeKit-3.1.4.js +4 -0
- package/lib/IPCKit-6.4.5.d.ts +0 -1
- package/lib/IPCKit-6.4.5.js +0 -1
- package/lib/MapKit-3.4.13.d.ts +251 -0
- package/lib/MapKit-3.4.13.js +251 -0
- package/lib/MediaKit-3.4.1.d.ts +16 -0
- package/lib/MediaKit-3.4.1.js +16 -0
- package/lib/PlayNetKit-1.3.30.d.ts +930 -0
- package/lib/PlayNetKit-1.3.30.js +930 -0
- package/lib/cloud/alarm.d.ts +38 -5
- package/lib/cloud/alarm.js +38 -5
- package/lib/cloud/device.d.ts +42 -6
- package/lib/cloud/device.js +42 -6
- package/lib/cloud/gateway.d.ts +16 -0
- package/lib/cloud/gateway.js +16 -0
- package/lib/cloud/health.d.ts +1 -0
- package/lib/cloud/health.js +272 -0
- package/lib/cloud/interface.d.ts +161 -0
- package/lib/cloud/interface.js +18 -0
- package/lib/cloud/statistic.d.ts +112 -26
- package/lib/cloud/statistic.js +112 -26
- package/lib/cloud/timer.d.ts +2 -4
- package/lib/nativeRouters/outdoors.d.ts +2 -0
- package/lib/nativeRouters/outdoors.js +2 -0
- package/lib/nativeRouters/remoteGroup.d.ts +2 -0
- package/lib/nativeRouters/remoteGroup.js +2 -0
- package/lib/panel/publishDps.js +1 -1
- package/package.json +5 -5
package/@types/BizKit.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* BizKit
|
|
3
3
|
*
|
|
4
|
-
* @version 4.
|
|
4
|
+
* @version 4.29.12
|
|
5
5
|
*/
|
|
6
6
|
declare namespace ty {
|
|
7
7
|
/**
|
|
@@ -140,7 +140,7 @@ declare namespace ty {
|
|
|
140
140
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
141
141
|
complete?: () => void
|
|
142
142
|
/** 接口调用成功的回调函数 */
|
|
143
|
-
success?: () => void
|
|
143
|
+
success?: (params: null) => void
|
|
144
144
|
/** 接口调用失败的回调函数 */
|
|
145
145
|
fail?: (params: {
|
|
146
146
|
/** 错误信息 */
|
|
@@ -245,7 +245,7 @@ declare namespace ty {
|
|
|
245
245
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
246
246
|
complete?: () => void
|
|
247
247
|
/** 接口调用成功的回调函数 */
|
|
248
|
-
success?: () => void
|
|
248
|
+
success?: (params: null) => void
|
|
249
249
|
/** 接口调用失败的回调函数 */
|
|
250
250
|
fail?: (params: {
|
|
251
251
|
/** 错误信息 */
|
|
@@ -272,7 +272,7 @@ declare namespace ty {
|
|
|
272
272
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
273
273
|
complete?: () => void
|
|
274
274
|
/** 接口调用成功的回调函数 */
|
|
275
|
-
success?: () => void
|
|
275
|
+
success?: (params: null) => void
|
|
276
276
|
/** 接口调用失败的回调函数 */
|
|
277
277
|
fail?: (params: {
|
|
278
278
|
/** 错误信息 */
|
|
@@ -474,7 +474,7 @@ declare namespace ty {
|
|
|
474
474
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
475
475
|
complete?: () => void
|
|
476
476
|
/** 接口调用成功的回调函数 */
|
|
477
|
-
success?: () => void
|
|
477
|
+
success?: (params: null) => void
|
|
478
478
|
/** 接口调用失败的回调函数 */
|
|
479
479
|
fail?: (params: {
|
|
480
480
|
/** 错误信息 */
|
|
@@ -534,7 +534,7 @@ declare namespace ty {
|
|
|
534
534
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
535
535
|
complete?: () => void
|
|
536
536
|
/** 接口调用成功的回调函数 */
|
|
537
|
-
success?: () => void
|
|
537
|
+
success?: (params: null) => void
|
|
538
538
|
/** 接口调用失败的回调函数 */
|
|
539
539
|
fail?: (params: {
|
|
540
540
|
/** 错误信息 */
|
|
@@ -561,7 +561,7 @@ declare namespace ty {
|
|
|
561
561
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
562
562
|
complete?: () => void
|
|
563
563
|
/** 接口调用成功的回调函数 */
|
|
564
|
-
success?: () => void
|
|
564
|
+
success?: (params: null) => void
|
|
565
565
|
/** 接口调用失败的回调函数 */
|
|
566
566
|
fail?: (params: {
|
|
567
567
|
/** 错误信息 */
|
|
@@ -593,7 +593,7 @@ declare namespace ty {
|
|
|
593
593
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
594
594
|
complete?: () => void
|
|
595
595
|
/** 接口调用成功的回调函数 */
|
|
596
|
-
success?: () => void
|
|
596
|
+
success?: (params: null) => void
|
|
597
597
|
/** 接口调用失败的回调函数 */
|
|
598
598
|
fail?: (params: {
|
|
599
599
|
/** 错误信息 */
|
|
@@ -749,11 +749,17 @@ declare namespace ty {
|
|
|
749
749
|
complete?: () => void
|
|
750
750
|
/** 接口调用成功的回调函数 */
|
|
751
751
|
success?: (params: {
|
|
752
|
+
/**
|
|
753
|
+
* 请求结果
|
|
754
|
+
* thing_data_ 出参结构体, JSON序列化
|
|
755
|
+
* @since BizKit 3.0.10
|
|
756
|
+
*/
|
|
757
|
+
thing_json_?: Record<string, any>
|
|
752
758
|
/**
|
|
753
759
|
* 元数据
|
|
754
|
-
* @since BizKit 3.
|
|
760
|
+
* @since BizKit 3.0.10
|
|
755
761
|
*/
|
|
756
|
-
data:
|
|
762
|
+
data: string
|
|
757
763
|
}) => void
|
|
758
764
|
/** 接口调用失败的回调函数 */
|
|
759
765
|
fail?: (params: {
|
|
@@ -871,7 +877,7 @@ declare namespace ty {
|
|
|
871
877
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
872
878
|
complete?: () => void
|
|
873
879
|
/** 接口调用成功的回调函数 */
|
|
874
|
-
success?: () => void
|
|
880
|
+
success?: (params: null) => void
|
|
875
881
|
/** 接口调用失败的回调函数 */
|
|
876
882
|
fail?: (params: {
|
|
877
883
|
/** 错误信息 */
|
|
@@ -919,7 +925,7 @@ declare namespace ty {
|
|
|
919
925
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
920
926
|
complete?: () => void
|
|
921
927
|
/** 接口调用成功的回调函数 */
|
|
922
|
-
success?: () => void
|
|
928
|
+
success?: (params: null) => void
|
|
923
929
|
/** 接口调用失败的回调函数 */
|
|
924
930
|
fail?: (params: {
|
|
925
931
|
/** 错误信息 */
|
|
@@ -967,7 +973,7 @@ declare namespace ty {
|
|
|
967
973
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
968
974
|
complete?: () => void
|
|
969
975
|
/** 接口调用成功的回调函数 */
|
|
970
|
-
success?: () => void
|
|
976
|
+
success?: (params: null) => void
|
|
971
977
|
/** 接口调用失败的回调函数 */
|
|
972
978
|
fail?: (params: {
|
|
973
979
|
/** 错误信息 */
|
|
@@ -1015,7 +1021,7 @@ declare namespace ty {
|
|
|
1015
1021
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
1016
1022
|
complete?: () => void
|
|
1017
1023
|
/** 接口调用成功的回调函数 */
|
|
1018
|
-
success?: () => void
|
|
1024
|
+
success?: (params: null) => void
|
|
1019
1025
|
/** 接口调用失败的回调函数 */
|
|
1020
1026
|
fail?: (params: {
|
|
1021
1027
|
/** 错误信息 */
|
|
@@ -1058,7 +1064,7 @@ declare namespace ty {
|
|
|
1058
1064
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
1059
1065
|
complete?: () => void
|
|
1060
1066
|
/** 接口调用成功的回调函数 */
|
|
1061
|
-
success?: () => void
|
|
1067
|
+
success?: (params: null) => void
|
|
1062
1068
|
/** 接口调用失败的回调函数 */
|
|
1063
1069
|
fail?: (params: {
|
|
1064
1070
|
/** 错误信息 */
|
|
@@ -1078,25 +1084,25 @@ declare namespace ty {
|
|
|
1078
1084
|
/**
|
|
1079
1085
|
* 业务侧定义的性能数据,会显示在性能工具中
|
|
1080
1086
|
* @public
|
|
1081
|
-
* @since BizKit 4.
|
|
1087
|
+
* @since BizKit 4.10.4
|
|
1082
1088
|
* @platform iOS Android
|
|
1083
1089
|
*/
|
|
1084
1090
|
export function performanceEvent(params?: {
|
|
1085
1091
|
/**
|
|
1086
1092
|
* 性能数据, 这里的数据会以点击小程序的时间为起点,到调用performance方法的时间为终点自动计算耗时
|
|
1087
1093
|
* example: ty.performanceEvent({launchData: 'map_render_time'})
|
|
1088
|
-
* @since BizKit 4.
|
|
1094
|
+
* @since BizKit 4.10.4
|
|
1089
1095
|
*/
|
|
1090
1096
|
launchData?: string
|
|
1091
1097
|
/**
|
|
1092
1098
|
* 业务自定义性能数据,会以key-value的形式展示在性能工具中
|
|
1093
|
-
* @since BizKit 4.
|
|
1099
|
+
* @since BizKit 4.10.4
|
|
1094
1100
|
*/
|
|
1095
1101
|
perfData?: Record<string, string>
|
|
1096
1102
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
1097
1103
|
complete?: () => void
|
|
1098
1104
|
/** 接口调用成功的回调函数 */
|
|
1099
|
-
success?: () => void
|
|
1105
|
+
success?: (params: null) => void
|
|
1100
1106
|
/** 接口调用失败的回调函数 */
|
|
1101
1107
|
fail?: (params: {
|
|
1102
1108
|
/** 错误信息 */
|
|
@@ -1126,40 +1132,37 @@ declare namespace ty {
|
|
|
1126
1132
|
success?: (params: {
|
|
1127
1133
|
/**
|
|
1128
1134
|
* serverTimestamp 云端时间戳
|
|
1129
|
-
* @since BizKit 3.
|
|
1135
|
+
* @since BizKit 3.0.10
|
|
1130
1136
|
*/
|
|
1131
1137
|
serverTimestamp: number
|
|
1132
1138
|
/**
|
|
1133
1139
|
* appVersion app版本
|
|
1134
|
-
* @since BizKit 3.
|
|
1140
|
+
* @since BizKit 3.0.10
|
|
1135
1141
|
*/
|
|
1136
1142
|
appVersion: string
|
|
1137
1143
|
/**
|
|
1138
1144
|
* language app语言包
|
|
1139
|
-
* @since BizKit 3.
|
|
1145
|
+
* @since BizKit 3.0.10
|
|
1140
1146
|
*/
|
|
1141
1147
|
language: string
|
|
1142
1148
|
/**
|
|
1143
|
-
*
|
|
1144
|
-
*
|
|
1145
|
-
* @since BizKit 3.1.2
|
|
1149
|
+
* countryCode 国家码
|
|
1150
|
+
* @since BizKit 3.0.10
|
|
1146
1151
|
*/
|
|
1147
1152
|
countryCode: string
|
|
1148
1153
|
/**
|
|
1149
|
-
*
|
|
1150
|
-
*
|
|
1151
|
-
* 返回示例:regionCode: "AY"(中国区)
|
|
1152
|
-
* @since BizKit 3.1.2
|
|
1154
|
+
* regionCode 地区码, 在RN Api中被当作“service”字段
|
|
1155
|
+
* @since BizKit 3.0.10
|
|
1153
1156
|
*/
|
|
1154
1157
|
regionCode: string
|
|
1155
1158
|
/**
|
|
1156
1159
|
* appName app名称
|
|
1157
|
-
* @since BizKit 3.
|
|
1160
|
+
* @since BizKit 3.0.10
|
|
1158
1161
|
*/
|
|
1159
1162
|
appName: string
|
|
1160
1163
|
/**
|
|
1161
1164
|
* appIcon app图标
|
|
1162
|
-
* @since BizKit 3.
|
|
1165
|
+
* @since BizKit 3.0.10
|
|
1163
1166
|
*/
|
|
1164
1167
|
appIcon: string
|
|
1165
1168
|
/**
|
|
@@ -1167,17 +1170,17 @@ declare namespace ty {
|
|
|
1167
1170
|
* 0: 日常
|
|
1168
1171
|
* 1: 预发
|
|
1169
1172
|
* 2: 线上
|
|
1170
|
-
* @since BizKit 3.
|
|
1173
|
+
* @since BizKit 3.0.10
|
|
1171
1174
|
*/
|
|
1172
1175
|
appEnv?: number
|
|
1173
1176
|
/**
|
|
1174
1177
|
* app包名
|
|
1175
|
-
* @since BizKit 3.
|
|
1178
|
+
* @since BizKit 3.0.10
|
|
1176
1179
|
*/
|
|
1177
1180
|
appBundleId: string
|
|
1178
1181
|
/**
|
|
1179
1182
|
* app scheme
|
|
1180
|
-
* @since BizKit 3.
|
|
1183
|
+
* @since BizKit 3.0.10
|
|
1181
1184
|
*/
|
|
1182
1185
|
appScheme: string
|
|
1183
1186
|
/**
|
|
@@ -1226,7 +1229,7 @@ declare namespace ty {
|
|
|
1226
1229
|
/**
|
|
1227
1230
|
* 拿到当前连接的wifi的ssid
|
|
1228
1231
|
* 注意:iOS需要开启 Wireless Accessory Configuration 权限以及打开定位权限
|
|
1229
|
-
* @since BizKit 3.
|
|
1232
|
+
* @since BizKit 3.0.10
|
|
1230
1233
|
*/
|
|
1231
1234
|
ssId: string
|
|
1232
1235
|
}) => void
|
|
@@ -1415,8 +1418,7 @@ declare namespace ty {
|
|
|
1415
1418
|
/** 接口调用成功的回调函数 */
|
|
1416
1419
|
success?: (params: {
|
|
1417
1420
|
/**
|
|
1418
|
-
*
|
|
1419
|
-
* 返回示例:env: 0(公有云环境),env: 1(私有云环境)
|
|
1421
|
+
* 云端环境 CloudEnvType
|
|
1420
1422
|
* @since BizKit 4.6.0
|
|
1421
1423
|
* @defaultValue CloudEnvType.Public
|
|
1422
1424
|
*/
|
|
@@ -1474,7 +1476,7 @@ declare namespace ty {
|
|
|
1474
1476
|
/**
|
|
1475
1477
|
* 获取当前App的tab信息(仅Android)
|
|
1476
1478
|
* @public
|
|
1477
|
-
* @since BizKit 4.
|
|
1479
|
+
* @since BizKit 4.8.9
|
|
1478
1480
|
* @platform iOS Android
|
|
1479
1481
|
*/
|
|
1480
1482
|
export function getAppTabInfo(params?: {
|
|
@@ -1484,7 +1486,7 @@ declare namespace ty {
|
|
|
1484
1486
|
success?: (params: {
|
|
1485
1487
|
/**
|
|
1486
1488
|
* tab信息
|
|
1487
|
-
* @since BizKit 4.
|
|
1489
|
+
* @since BizKit 4.8.9
|
|
1488
1490
|
*/
|
|
1489
1491
|
tabInfo: AppTabInfo[]
|
|
1490
1492
|
}) => void
|
|
@@ -1612,7 +1614,7 @@ declare namespace ty {
|
|
|
1612
1614
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
1613
1615
|
complete?: () => void
|
|
1614
1616
|
/** 接口调用成功的回调函数 */
|
|
1615
|
-
success?: () => void
|
|
1617
|
+
success?: (params: null) => void
|
|
1616
1618
|
/** 接口调用失败的回调函数 */
|
|
1617
1619
|
fail?: (params: {
|
|
1618
1620
|
/** 错误信息 */
|
|
@@ -1659,7 +1661,7 @@ declare namespace ty {
|
|
|
1659
1661
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
1660
1662
|
complete?: () => void
|
|
1661
1663
|
/** 接口调用成功的回调函数 */
|
|
1662
|
-
success?: () => void
|
|
1664
|
+
success?: (params: null) => void
|
|
1663
1665
|
/** 接口调用失败的回调函数 */
|
|
1664
1666
|
fail?: (params: {
|
|
1665
1667
|
/** 错误信息 */
|
|
@@ -1801,7 +1803,7 @@ declare namespace ty {
|
|
|
1801
1803
|
/**
|
|
1802
1804
|
* iconfont 信息结构体
|
|
1803
1805
|
* nameMap iconfont信息载体
|
|
1804
|
-
* @since BizKit 3.
|
|
1806
|
+
* @since BizKit 3.0.10
|
|
1805
1807
|
*/
|
|
1806
1808
|
nameMap: string
|
|
1807
1809
|
}) => void
|
|
@@ -1994,36 +1996,35 @@ declare namespace ty {
|
|
|
1994
1996
|
}): void
|
|
1995
1997
|
|
|
1996
1998
|
/**
|
|
1997
|
-
*
|
|
1999
|
+
* 图片上传
|
|
1998
2000
|
* @public
|
|
1999
2001
|
* @since BizKit 3.0.0
|
|
2000
2002
|
* @platform iOS
|
|
2001
2003
|
*/
|
|
2002
2004
|
export function uploadImage(params: {
|
|
2003
2005
|
/**
|
|
2004
|
-
*
|
|
2006
|
+
* the file path
|
|
2005
2007
|
* @since BizKit 3.0.0
|
|
2006
2008
|
*/
|
|
2007
2009
|
filePath: string
|
|
2008
2010
|
/**
|
|
2009
2011
|
* business type, get from cetus:scene alias, if not exist, please create it
|
|
2010
|
-
* 业务场景标识,对应 Cetus 配置的场景别名;未配置时需要先创建上传场景
|
|
2011
2012
|
* @since BizKit 3.0.0
|
|
2012
2013
|
*/
|
|
2013
2014
|
bizType: string
|
|
2014
2015
|
/**
|
|
2015
|
-
*
|
|
2016
|
+
* file type, ios necessary
|
|
2016
2017
|
* @since BizKit 3.0.0
|
|
2017
2018
|
*/
|
|
2018
2019
|
contentType?: string
|
|
2019
2020
|
/**
|
|
2020
|
-
*
|
|
2021
|
+
* polling interval of big file in second, default is 2 second
|
|
2021
2022
|
* @since BizKit 3.0.0
|
|
2022
2023
|
* @defaultValue 2.0
|
|
2023
2024
|
*/
|
|
2024
2025
|
delayTime?: number
|
|
2025
2026
|
/**
|
|
2026
|
-
*
|
|
2027
|
+
* max polling count, default is 5
|
|
2027
2028
|
* @since BizKit 3.0.0
|
|
2028
2029
|
* @defaultValue 5
|
|
2029
2030
|
*/
|
|
@@ -2033,8 +2034,8 @@ declare namespace ty {
|
|
|
2033
2034
|
/** 接口调用成功的回调函数 */
|
|
2034
2035
|
success?: (params: {
|
|
2035
2036
|
/**
|
|
2036
|
-
*
|
|
2037
|
-
* @since BizKit 3.
|
|
2037
|
+
* The json string returned by the request
|
|
2038
|
+
* @since BizKit 3.0.10
|
|
2038
2039
|
*/
|
|
2039
2040
|
result: string
|
|
2040
2041
|
}) => void
|
|
@@ -2055,26 +2056,25 @@ declare namespace ty {
|
|
|
2055
2056
|
}): void
|
|
2056
2057
|
|
|
2057
2058
|
/**
|
|
2058
|
-
*
|
|
2059
|
+
* 视频上传
|
|
2059
2060
|
* @public
|
|
2060
|
-
* @since BizKit 3.
|
|
2061
|
+
* @since BizKit 3.0.10
|
|
2061
2062
|
* @platform iOS
|
|
2062
2063
|
*/
|
|
2063
2064
|
export function uploadVideo(params: {
|
|
2064
2065
|
/**
|
|
2065
|
-
*
|
|
2066
|
-
* @since BizKit 3.
|
|
2066
|
+
* the file path
|
|
2067
|
+
* @since BizKit 3.0.10
|
|
2067
2068
|
*/
|
|
2068
2069
|
filePath: string
|
|
2069
2070
|
/**
|
|
2070
2071
|
* business type, get from cetus:scene alias, if not exist, please create it
|
|
2071
|
-
*
|
|
2072
|
-
* @since BizKit 3.8.4
|
|
2072
|
+
* @since BizKit 3.0.10
|
|
2073
2073
|
*/
|
|
2074
2074
|
bizType: string
|
|
2075
2075
|
/**
|
|
2076
|
-
*
|
|
2077
|
-
* @since BizKit 3.
|
|
2076
|
+
* file type, ios necessary
|
|
2077
|
+
* @since BizKit 3.0.10
|
|
2078
2078
|
*/
|
|
2079
2079
|
contentType?: string
|
|
2080
2080
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
@@ -2082,8 +2082,8 @@ declare namespace ty {
|
|
|
2082
2082
|
/** 接口调用成功的回调函数 */
|
|
2083
2083
|
success?: (params: {
|
|
2084
2084
|
/**
|
|
2085
|
-
*
|
|
2086
|
-
* @since BizKit 3.
|
|
2085
|
+
* The json string returned by the request
|
|
2086
|
+
* @since BizKit 3.0.10
|
|
2087
2087
|
*/
|
|
2088
2088
|
result: string
|
|
2089
2089
|
}) => void
|
|
@@ -2106,30 +2106,30 @@ declare namespace ty {
|
|
|
2106
2106
|
/**
|
|
2107
2107
|
* 创建实时活动
|
|
2108
2108
|
* @public
|
|
2109
|
-
* @since BizKit 4.
|
|
2109
|
+
* @since BizKit 4.7.0
|
|
2110
2110
|
* @platform iOS Android
|
|
2111
2111
|
*/
|
|
2112
2112
|
export function createLiveActivity(params: {
|
|
2113
2113
|
/**
|
|
2114
2114
|
* 实时通知类型
|
|
2115
|
-
* @since BizKit 4.
|
|
2115
|
+
* @since BizKit 4.7.0
|
|
2116
2116
|
* @defaultValue BusinessType.Pay
|
|
2117
2117
|
*/
|
|
2118
2118
|
activityType?: any
|
|
2119
2119
|
/**
|
|
2120
2120
|
* 实时通知ID
|
|
2121
|
-
* @since BizKit 4.
|
|
2121
|
+
* @since BizKit 4.7.0
|
|
2122
2122
|
*/
|
|
2123
2123
|
activityId: string
|
|
2124
2124
|
/**
|
|
2125
2125
|
* 实时通知参数
|
|
2126
|
-
* @since BizKit 4.
|
|
2126
|
+
* @since BizKit 4.7.0
|
|
2127
2127
|
*/
|
|
2128
2128
|
data: Record<string, string>
|
|
2129
2129
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
2130
2130
|
complete?: () => void
|
|
2131
2131
|
/** 接口调用成功的回调函数 */
|
|
2132
|
-
success?: () => void
|
|
2132
|
+
success?: (params: null) => void
|
|
2133
2133
|
/** 接口调用失败的回调函数 */
|
|
2134
2134
|
fail?: (params: {
|
|
2135
2135
|
/** 错误信息 */
|
|
@@ -2194,7 +2194,7 @@ declare namespace ty {
|
|
|
2194
2194
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
2195
2195
|
complete?: () => void
|
|
2196
2196
|
/** 接口调用成功的回调函数 */
|
|
2197
|
-
success?: () => void
|
|
2197
|
+
success?: (params: null) => void
|
|
2198
2198
|
/** 接口调用失败的回调函数 */
|
|
2199
2199
|
fail?: (params: {
|
|
2200
2200
|
/** 错误信息 */
|
|
@@ -2224,7 +2224,7 @@ declare namespace ty {
|
|
|
2224
2224
|
success?: (params: {
|
|
2225
2225
|
/**
|
|
2226
2226
|
* 手机当前地区语言
|
|
2227
|
-
* @since BizKit 3.
|
|
2227
|
+
* @since BizKit 3.0.10
|
|
2228
2228
|
*/
|
|
2229
2229
|
langKey: string
|
|
2230
2230
|
}) => void
|
|
@@ -2257,7 +2257,7 @@ declare namespace ty {
|
|
|
2257
2257
|
success?: (params: {
|
|
2258
2258
|
/**
|
|
2259
2259
|
* 多语言
|
|
2260
|
-
* @since BizKit 3.
|
|
2260
|
+
* @since BizKit 3.0.10
|
|
2261
2261
|
*/
|
|
2262
2262
|
langContent: Record<string, any>
|
|
2263
2263
|
}) => void
|
|
@@ -2287,7 +2287,7 @@ declare namespace ty {
|
|
|
2287
2287
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
2288
2288
|
complete?: () => void
|
|
2289
2289
|
/** 接口调用成功的回调函数 */
|
|
2290
|
-
success?: () => void
|
|
2290
|
+
success?: (params: null) => void
|
|
2291
2291
|
/** 接口调用失败的回调函数 */
|
|
2292
2292
|
fail?: (params: {
|
|
2293
2293
|
/** 错误信息 */
|
|
@@ -2314,7 +2314,7 @@ declare namespace ty {
|
|
|
2314
2314
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
2315
2315
|
complete?: () => void
|
|
2316
2316
|
/** 接口调用成功的回调函数 */
|
|
2317
|
-
success?: () => void
|
|
2317
|
+
success?: (params: null) => void
|
|
2318
2318
|
/** 接口调用失败的回调函数 */
|
|
2319
2319
|
fail?: (params: {
|
|
2320
2320
|
/** 错误信息 */
|
|
@@ -2380,10 +2380,7 @@ declare namespace ty {
|
|
|
2380
2380
|
complete?: () => void
|
|
2381
2381
|
/** 接口调用成功的回调函数 */
|
|
2382
2382
|
success?: (params: {
|
|
2383
|
-
/**
|
|
2384
|
-
* 在线客服URL
|
|
2385
|
-
* @since BizKit 4.5.1
|
|
2386
|
-
*/
|
|
2383
|
+
/** @since BizKit 4.5.1 */
|
|
2387
2384
|
url: string
|
|
2388
2385
|
}) => void
|
|
2389
2386
|
/** 接口调用失败的回调函数 */
|
|
@@ -2436,7 +2433,7 @@ declare namespace ty {
|
|
|
2436
2433
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
2437
2434
|
complete?: () => void
|
|
2438
2435
|
/** 接口调用成功的回调函数 */
|
|
2439
|
-
success?: () => void
|
|
2436
|
+
success?: (params: null) => void
|
|
2440
2437
|
/** 接口调用失败的回调函数 */
|
|
2441
2438
|
fail?: (params: {
|
|
2442
2439
|
/** 错误信息 */
|
|
@@ -2480,7 +2477,7 @@ declare namespace ty {
|
|
|
2480
2477
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
2481
2478
|
complete?: () => void
|
|
2482
2479
|
/** 接口调用成功的回调函数 */
|
|
2483
|
-
success?: () => void
|
|
2480
|
+
success?: (params: null) => void
|
|
2484
2481
|
/** 接口调用失败的回调函数 */
|
|
2485
2482
|
fail?: (params: {
|
|
2486
2483
|
/** 错误信息 */
|
|
@@ -2530,7 +2527,7 @@ declare namespace ty {
|
|
|
2530
2527
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
2531
2528
|
complete?: () => void
|
|
2532
2529
|
/** 接口调用成功的回调函数 */
|
|
2533
|
-
success?: () => void
|
|
2530
|
+
success?: (params: null) => void
|
|
2534
2531
|
/** 接口调用失败的回调函数 */
|
|
2535
2532
|
fail?: (params: {
|
|
2536
2533
|
/** 错误信息 */
|
|
@@ -2568,7 +2565,7 @@ declare namespace ty {
|
|
|
2568
2565
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
2569
2566
|
complete?: () => void
|
|
2570
2567
|
/** 接口调用成功的回调函数 */
|
|
2571
|
-
success?: () => void
|
|
2568
|
+
success?: (params: null) => void
|
|
2572
2569
|
/** 接口调用失败的回调函数 */
|
|
2573
2570
|
fail?: (params: {
|
|
2574
2571
|
/** 错误信息 */
|
|
@@ -2605,7 +2602,7 @@ declare namespace ty {
|
|
|
2605
2602
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
2606
2603
|
complete?: () => void
|
|
2607
2604
|
/** 接口调用成功的回调函数 */
|
|
2608
|
-
success?: () => void
|
|
2605
|
+
success?: (params: null) => void
|
|
2609
2606
|
/** 接口调用失败的回调函数 */
|
|
2610
2607
|
fail?: (params: {
|
|
2611
2608
|
/** 错误信息 */
|
|
@@ -2655,7 +2652,7 @@ declare namespace ty {
|
|
|
2655
2652
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
2656
2653
|
complete?: () => void
|
|
2657
2654
|
/** 接口调用成功的回调函数 */
|
|
2658
|
-
success?: () => void
|
|
2655
|
+
success?: (params: null) => void
|
|
2659
2656
|
/** 接口调用失败的回调函数 */
|
|
2660
2657
|
fail?: (params: {
|
|
2661
2658
|
/** 错误信息 */
|
|
@@ -2707,7 +2704,7 @@ declare namespace ty {
|
|
|
2707
2704
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
2708
2705
|
complete?: () => void
|
|
2709
2706
|
/** 接口调用成功的回调函数 */
|
|
2710
|
-
success?: () => void
|
|
2707
|
+
success?: (params: null) => void
|
|
2711
2708
|
/** 接口调用失败的回调函数 */
|
|
2712
2709
|
fail?: (params: {
|
|
2713
2710
|
/** 错误信息 */
|
|
@@ -2744,7 +2741,7 @@ declare namespace ty {
|
|
|
2744
2741
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
2745
2742
|
complete?: () => void
|
|
2746
2743
|
/** 接口调用成功的回调函数 */
|
|
2747
|
-
success?: () => void
|
|
2744
|
+
success?: (params: null) => void
|
|
2748
2745
|
/** 接口调用失败的回调函数 */
|
|
2749
2746
|
fail?: (params: {
|
|
2750
2747
|
/** 错误信息 */
|
|
@@ -2762,28 +2759,26 @@ declare namespace ty {
|
|
|
2762
2759
|
}): void
|
|
2763
2760
|
|
|
2764
2761
|
/**
|
|
2765
|
-
*
|
|
2762
|
+
* Call this to set the result that your activity will return to its caller
|
|
2766
2763
|
* @public
|
|
2767
2764
|
* @since BizKit 4.2.0
|
|
2768
2765
|
* @platform Android
|
|
2769
2766
|
*/
|
|
2770
2767
|
export function setActivityResult(params: {
|
|
2771
2768
|
/**
|
|
2772
|
-
*
|
|
2773
|
-
* 常用取值:Activity.RESULT_OK = -1,Activity.RESULT_CANCELED = 0
|
|
2774
|
-
* 示例:resultCode: -1
|
|
2769
|
+
* The result code to propagate back to the originating activity, often RESULT_CANCELED or RESULT_OK
|
|
2775
2770
|
* @since BizKit 4.2.0
|
|
2776
2771
|
*/
|
|
2777
2772
|
resultCode: number
|
|
2778
2773
|
/**
|
|
2779
|
-
*
|
|
2774
|
+
* The data to propagate back to the originating activity.
|
|
2780
2775
|
* @since BizKit 4.2.0
|
|
2781
2776
|
*/
|
|
2782
2777
|
data?: Record<string, Record<string, any>>
|
|
2783
2778
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
2784
2779
|
complete?: () => void
|
|
2785
2780
|
/** 接口调用成功的回调函数 */
|
|
2786
|
-
success?: () => void
|
|
2781
|
+
success?: (params: null) => void
|
|
2787
2782
|
/** 接口调用失败的回调函数 */
|
|
2788
2783
|
fail?: (params: {
|
|
2789
2784
|
/** 错误信息 */
|
|
@@ -2808,12 +2803,12 @@ declare namespace ty {
|
|
|
2808
2803
|
*/
|
|
2809
2804
|
export function openThirdApp(params: {
|
|
2810
2805
|
/**
|
|
2811
|
-
*
|
|
2806
|
+
* an RFC 2396-compliant, encoded URI
|
|
2812
2807
|
* @since BizKit 4.2.0
|
|
2813
2808
|
*/
|
|
2814
2809
|
uriString: string
|
|
2815
2810
|
/**
|
|
2816
|
-
*
|
|
2811
|
+
* The name of the application package to handle the intent, or null to allow any application package.
|
|
2817
2812
|
* @since BizKit 4.2.0
|
|
2818
2813
|
*/
|
|
2819
2814
|
packageName: string
|
|
@@ -2822,7 +2817,6 @@ declare namespace ty {
|
|
|
2822
2817
|
/** 接口调用成功的回调函数 */
|
|
2823
2818
|
success?: (params: {
|
|
2824
2819
|
/**
|
|
2825
|
-
* 是否可以打开三方App
|
|
2826
2820
|
* @since BizKit 4.2.0
|
|
2827
2821
|
* @defaultValue false
|
|
2828
2822
|
*/
|
|
@@ -2852,7 +2846,6 @@ declare namespace ty {
|
|
|
2852
2846
|
*/
|
|
2853
2847
|
export function openThirdAppSync(params?: ThirdAppBean): {
|
|
2854
2848
|
/**
|
|
2855
|
-
* 是否可以打开三方App
|
|
2856
2849
|
* @since BizKit 4.2.0
|
|
2857
2850
|
* @defaultValue false
|
|
2858
2851
|
*/
|
|
@@ -2874,7 +2867,7 @@ declare namespace ty {
|
|
|
2874
2867
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
2875
2868
|
complete?: () => void
|
|
2876
2869
|
/** 接口调用成功的回调函数 */
|
|
2877
|
-
success?: () => void
|
|
2870
|
+
success?: (params: null) => void
|
|
2878
2871
|
/** 接口调用失败的回调函数 */
|
|
2879
2872
|
fail?: (params: {
|
|
2880
2873
|
/** 错误信息 */
|
|
@@ -2913,7 +2906,7 @@ declare namespace ty {
|
|
|
2913
2906
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
2914
2907
|
complete?: () => void
|
|
2915
2908
|
/** 接口调用成功的回调函数 */
|
|
2916
|
-
success?: () => void
|
|
2909
|
+
success?: (params: null) => void
|
|
2917
2910
|
/** 接口调用失败的回调函数 */
|
|
2918
2911
|
fail?: (params: {
|
|
2919
2912
|
/** 错误信息 */
|
|
@@ -2952,7 +2945,7 @@ declare namespace ty {
|
|
|
2952
2945
|
iapType?: number
|
|
2953
2946
|
/**
|
|
2954
2947
|
* google支付下是否支持用户自选的备选结算
|
|
2955
|
-
* @since BizKit 4.
|
|
2948
|
+
* @since BizKit 4.7.7
|
|
2956
2949
|
*/
|
|
2957
2950
|
googleIapEnableUserChoice?: boolean
|
|
2958
2951
|
}) => void
|
|
@@ -3057,7 +3050,7 @@ declare namespace ty {
|
|
|
3057
3050
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
3058
3051
|
complete?: () => void
|
|
3059
3052
|
/** 接口调用成功的回调函数 */
|
|
3060
|
-
success?: () => void
|
|
3053
|
+
success?: (params: null) => void
|
|
3061
3054
|
/** 接口调用失败的回调函数 */
|
|
3062
3055
|
fail?: (params: {
|
|
3063
3056
|
/** 错误信息 */
|
|
@@ -3089,7 +3082,7 @@ declare namespace ty {
|
|
|
3089
3082
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
3090
3083
|
complete?: () => void
|
|
3091
3084
|
/** 接口调用成功的回调函数 */
|
|
3092
|
-
success?: () => void
|
|
3085
|
+
success?: (params: null) => void
|
|
3093
3086
|
/** 接口调用失败的回调函数 */
|
|
3094
3087
|
fail?: (params: {
|
|
3095
3088
|
/** 错误信息 */
|
|
@@ -3121,7 +3114,7 @@ declare namespace ty {
|
|
|
3121
3114
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
3122
3115
|
complete?: () => void
|
|
3123
3116
|
/** 接口调用成功的回调函数 */
|
|
3124
|
-
success?: () => void
|
|
3117
|
+
success?: (params: null) => void
|
|
3125
3118
|
/** 接口调用失败的回调函数 */
|
|
3126
3119
|
fail?: (params: {
|
|
3127
3120
|
/** 错误信息 */
|
|
@@ -3141,13 +3134,13 @@ declare namespace ty {
|
|
|
3141
3134
|
/**
|
|
3142
3135
|
* 查询商品详情-目前仅Android可用
|
|
3143
3136
|
* @public
|
|
3144
|
-
* @since BizKit 4.
|
|
3137
|
+
* @since BizKit 4.12.12
|
|
3145
3138
|
* @platform Android
|
|
3146
3139
|
*/
|
|
3147
3140
|
export function queryProductDetails(params: {
|
|
3148
3141
|
/**
|
|
3149
3142
|
* 商品列表
|
|
3150
|
-
* @since BizKit 4.
|
|
3143
|
+
* @since BizKit 4.12.12
|
|
3151
3144
|
*/
|
|
3152
3145
|
productList: ProductSub[]
|
|
3153
3146
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
@@ -3156,12 +3149,12 @@ declare namespace ty {
|
|
|
3156
3149
|
success?: (params: {
|
|
3157
3150
|
/**
|
|
3158
3151
|
* 订阅类型下的商品详情
|
|
3159
|
-
* @since BizKit 4.
|
|
3152
|
+
* @since BizKit 4.12.12
|
|
3160
3153
|
*/
|
|
3161
3154
|
productSubsMap?: Record<string, SubscriptionOfferDetailList>
|
|
3162
3155
|
/**
|
|
3163
3156
|
* 一次支付类型下的商品详情
|
|
3164
|
-
* @since BizKit 4.
|
|
3157
|
+
* @since BizKit 4.12.12
|
|
3165
3158
|
*/
|
|
3166
3159
|
productInAppMap?: Record<string, PricePhase>
|
|
3167
3160
|
}) => void
|
|
@@ -3201,7 +3194,7 @@ declare namespace ty {
|
|
|
3201
3194
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
3202
3195
|
complete?: () => void
|
|
3203
3196
|
/** 接口调用成功的回调函数 */
|
|
3204
|
-
success?: () => void
|
|
3197
|
+
success?: (params: null) => void
|
|
3205
3198
|
/** 接口调用失败的回调函数 */
|
|
3206
3199
|
fail?: (params: {
|
|
3207
3200
|
/** 错误信息 */
|
|
@@ -3236,7 +3229,7 @@ declare namespace ty {
|
|
|
3236
3229
|
success?: (params: {
|
|
3237
3230
|
/**
|
|
3238
3231
|
* 路由是否可用
|
|
3239
|
-
* @since BizKit 3.
|
|
3232
|
+
* @since BizKit 3.0.10
|
|
3240
3233
|
*/
|
|
3241
3234
|
result: boolean
|
|
3242
3235
|
}) => void
|
|
@@ -3277,7 +3270,7 @@ declare namespace ty {
|
|
|
3277
3270
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
3278
3271
|
complete?: () => void
|
|
3279
3272
|
/** 接口调用成功的回调函数 */
|
|
3280
|
-
success?: () => void
|
|
3273
|
+
success?: (params: null) => void
|
|
3281
3274
|
/** 接口调用失败的回调函数 */
|
|
3282
3275
|
fail?: (params: {
|
|
3283
3276
|
/** 错误信息 */
|
|
@@ -3313,34 +3306,34 @@ declare namespace ty {
|
|
|
3313
3306
|
*/
|
|
3314
3307
|
groupId?: string
|
|
3315
3308
|
/**
|
|
3316
|
-
*
|
|
3309
|
+
* category
|
|
3317
3310
|
* @since BizKit 3.0.0
|
|
3318
3311
|
*/
|
|
3319
3312
|
category?: string
|
|
3320
3313
|
/**
|
|
3321
|
-
*
|
|
3314
|
+
* repeat
|
|
3322
3315
|
* @since BizKit 3.0.0
|
|
3323
3316
|
*/
|
|
3324
3317
|
repeat?: number
|
|
3325
3318
|
/**
|
|
3326
|
-
*
|
|
3319
|
+
* timerConfig
|
|
3327
3320
|
* @since BizKit 3.0.0
|
|
3328
3321
|
*/
|
|
3329
3322
|
timerConfig?: TimeConfig
|
|
3330
3323
|
/**
|
|
3331
|
-
*
|
|
3324
|
+
* data
|
|
3332
3325
|
* @since BizKit 3.0.0
|
|
3333
3326
|
*/
|
|
3334
3327
|
data: Record<string, any>[]
|
|
3335
3328
|
/**
|
|
3336
|
-
*
|
|
3329
|
+
* enableFilter
|
|
3337
3330
|
* @since BizKit 3.0.0
|
|
3338
3331
|
*/
|
|
3339
3332
|
enableFilter?: boolean
|
|
3340
3333
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
3341
3334
|
complete?: () => void
|
|
3342
3335
|
/** 接口调用成功的回调函数 */
|
|
3343
|
-
success?: () => void
|
|
3336
|
+
success?: (params: null) => void
|
|
3344
3337
|
/** 接口调用失败的回调函数 */
|
|
3345
3338
|
fail?: (params: {
|
|
3346
3339
|
/** 错误信息 */
|
|
@@ -3414,7 +3407,7 @@ declare namespace ty {
|
|
|
3414
3407
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
3415
3408
|
complete?: () => void
|
|
3416
3409
|
/** 接口调用成功的回调函数 */
|
|
3417
|
-
success?: () => void
|
|
3410
|
+
success?: (params: null) => void
|
|
3418
3411
|
/** 接口调用失败的回调函数 */
|
|
3419
3412
|
fail?: (params: {
|
|
3420
3413
|
/** 错误信息 */
|
|
@@ -3444,7 +3437,7 @@ declare namespace ty {
|
|
|
3444
3437
|
success?: (params: {
|
|
3445
3438
|
/**
|
|
3446
3439
|
* 可分享的渠道列表(WeChat、Message、Email、More)
|
|
3447
|
-
* @since BizKit 3.
|
|
3440
|
+
* @since BizKit 3.0.10
|
|
3448
3441
|
*/
|
|
3449
3442
|
shareChannelList: string[]
|
|
3450
3443
|
}) => void
|
|
@@ -3467,13 +3460,13 @@ declare namespace ty {
|
|
|
3467
3460
|
/**
|
|
3468
3461
|
* 显示分享弹窗
|
|
3469
3462
|
* @public
|
|
3470
|
-
* @since BizKit 4.
|
|
3463
|
+
* @since BizKit 4.10.3
|
|
3471
3464
|
* @platform iOS
|
|
3472
3465
|
*/
|
|
3473
3466
|
export function showSharePanel(params: {
|
|
3474
3467
|
/**
|
|
3475
3468
|
* 分享内容类型
|
|
3476
|
-
* @since BizKit 4.
|
|
3469
|
+
* @since BizKit 4.10.3
|
|
3477
3470
|
*/
|
|
3478
3471
|
contentType: number
|
|
3479
3472
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
@@ -3482,12 +3475,12 @@ declare namespace ty {
|
|
|
3482
3475
|
success?: (params: {
|
|
3483
3476
|
/**
|
|
3484
3477
|
* 分享渠道类型
|
|
3485
|
-
* @since BizKit 4.
|
|
3478
|
+
* @since BizKit 4.10.3
|
|
3486
3479
|
*/
|
|
3487
3480
|
platformType: string
|
|
3488
3481
|
/**
|
|
3489
3482
|
* 选中渠道是否安装
|
|
3490
|
-
* @since BizKit 4.
|
|
3483
|
+
* @since BizKit 4.10.3
|
|
3491
3484
|
*/
|
|
3492
3485
|
installed: boolean
|
|
3493
3486
|
}) => void
|
|
@@ -3510,23 +3503,23 @@ declare namespace ty {
|
|
|
3510
3503
|
/**
|
|
3511
3504
|
* 直接分享
|
|
3512
3505
|
* @public
|
|
3513
|
-
* @since BizKit 4.
|
|
3506
|
+
* @since BizKit 4.10.3
|
|
3514
3507
|
* @platform iOS
|
|
3515
3508
|
*/
|
|
3516
3509
|
export function shareDirectly(params: {
|
|
3517
3510
|
/**
|
|
3518
3511
|
* 分享渠道类型
|
|
3519
|
-
* @since BizKit 4.
|
|
3512
|
+
* @since BizKit 4.10.3
|
|
3520
3513
|
*/
|
|
3521
3514
|
platformType: string
|
|
3522
3515
|
/**
|
|
3523
3516
|
* 相册内容标识
|
|
3524
|
-
* @since BizKit 4.
|
|
3517
|
+
* @since BizKit 4.10.3
|
|
3525
3518
|
*/
|
|
3526
3519
|
localIdentifier: string
|
|
3527
3520
|
/**
|
|
3528
3521
|
* 分享内容类型
|
|
3529
|
-
* @since BizKit 4.
|
|
3522
|
+
* @since BizKit 4.10.3
|
|
3530
3523
|
*/
|
|
3531
3524
|
contentType: number
|
|
3532
3525
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
@@ -3535,12 +3528,12 @@ declare namespace ty {
|
|
|
3535
3528
|
success?: (params: {
|
|
3536
3529
|
/**
|
|
3537
3530
|
* 分享结果码
|
|
3538
|
-
* @since BizKit 4.
|
|
3531
|
+
* @since BizKit 4.10.3
|
|
3539
3532
|
*/
|
|
3540
3533
|
code: number
|
|
3541
3534
|
/**
|
|
3542
3535
|
* 分享结果描述
|
|
3543
|
-
* @since BizKit 4.
|
|
3536
|
+
* @since BizKit 4.10.3
|
|
3544
3537
|
*/
|
|
3545
3538
|
msg: string
|
|
3546
3539
|
}) => void
|
|
@@ -3745,34 +3738,31 @@ declare namespace ty {
|
|
|
3745
3738
|
success?: (params: {
|
|
3746
3739
|
/**
|
|
3747
3740
|
* nickName 用户昵称
|
|
3748
|
-
* @since BizKit 3.
|
|
3741
|
+
* @since BizKit 3.0.10
|
|
3749
3742
|
*/
|
|
3750
3743
|
nickName: string
|
|
3751
3744
|
/**
|
|
3752
3745
|
* 用户头像
|
|
3753
|
-
* @since BizKit 3.
|
|
3746
|
+
* @since BizKit 3.0.10
|
|
3754
3747
|
*/
|
|
3755
3748
|
avatarUrl: string
|
|
3756
3749
|
/**
|
|
3757
|
-
*
|
|
3758
|
-
*
|
|
3759
|
-
* @since BizKit 3.1.2
|
|
3750
|
+
* 国家代码
|
|
3751
|
+
* @since BizKit 3.0.10
|
|
3760
3752
|
*/
|
|
3761
3753
|
phoneCode: string
|
|
3762
3754
|
/**
|
|
3763
|
-
*
|
|
3764
|
-
* 示例:AY
|
|
3755
|
+
* 所在服务器区域 RegionCode
|
|
3765
3756
|
* @since BizKit 4.12.13
|
|
3766
3757
|
*/
|
|
3767
3758
|
regionCode: string
|
|
3768
3759
|
/**
|
|
3769
3760
|
* 是否是临时用户
|
|
3770
|
-
* @since BizKit 3.
|
|
3761
|
+
* @since BizKit 3.0.10
|
|
3771
3762
|
*/
|
|
3772
3763
|
isTemporaryUser: boolean
|
|
3773
3764
|
/**
|
|
3774
|
-
*
|
|
3775
|
-
* 示例:Asia/Shanghai
|
|
3765
|
+
* 时区
|
|
3776
3766
|
* @since BizKit 4.12.13
|
|
3777
3767
|
*/
|
|
3778
3768
|
timezoneId: string
|
|
@@ -3782,8 +3772,7 @@ declare namespace ty {
|
|
|
3782
3772
|
*/
|
|
3783
3773
|
regFrom: number
|
|
3784
3774
|
/**
|
|
3785
|
-
*
|
|
3786
|
-
* 示例:1
|
|
3775
|
+
* 温度单位 TempUnit
|
|
3787
3776
|
* @since BizKit 4.12.13
|
|
3788
3777
|
*/
|
|
3789
3778
|
tempUnit: number
|
|
@@ -3807,13 +3796,13 @@ declare namespace ty {
|
|
|
3807
3796
|
/**
|
|
3808
3797
|
* 切换全屋首页模式
|
|
3809
3798
|
* @public
|
|
3810
|
-
* @since BizKit 4.13
|
|
3799
|
+
* @since BizKit 4.12.13
|
|
3811
3800
|
* @platform iOS Android
|
|
3812
3801
|
*/
|
|
3813
3802
|
export function changeDiyHomeStatus(params: {
|
|
3814
3803
|
/**
|
|
3815
3804
|
* 是否开启全屋模式
|
|
3816
|
-
* @since BizKit 4.13
|
|
3805
|
+
* @since BizKit 4.12.13
|
|
3817
3806
|
*/
|
|
3818
3807
|
isOn: boolean
|
|
3819
3808
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
@@ -3822,7 +3811,7 @@ declare namespace ty {
|
|
|
3822
3811
|
success?: (params: {
|
|
3823
3812
|
/**
|
|
3824
3813
|
* 是否操作成功, true 切换成功;false 用户取消
|
|
3825
|
-
* @since BizKit 4.13
|
|
3814
|
+
* @since BizKit 4.12.13
|
|
3826
3815
|
*/
|
|
3827
3816
|
isSuccess: boolean
|
|
3828
3817
|
}) => void
|
|
@@ -3852,7 +3841,7 @@ declare namespace ty {
|
|
|
3852
3841
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
3853
3842
|
complete?: () => void
|
|
3854
3843
|
/** 接口调用成功的回调函数 */
|
|
3855
|
-
success?: () => void
|
|
3844
|
+
success?: (params: null) => void
|
|
3856
3845
|
/** 接口调用失败的回调函数 */
|
|
3857
3846
|
fail?: (params: {
|
|
3858
3847
|
/** 错误信息 */
|
|
@@ -3972,7 +3961,7 @@ declare namespace ty {
|
|
|
3972
3961
|
/**
|
|
3973
3962
|
* 图片返回内容
|
|
3974
3963
|
* path 图片路径
|
|
3975
|
-
* @since BizKit 3.
|
|
3964
|
+
* @since BizKit 3.0.10
|
|
3976
3965
|
*/
|
|
3977
3966
|
path: string
|
|
3978
3967
|
}) => void
|
|
@@ -4015,7 +4004,7 @@ declare namespace ty {
|
|
|
4015
4004
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
4016
4005
|
complete?: () => void
|
|
4017
4006
|
/** 接口调用成功的回调函数 */
|
|
4018
|
-
success?: () => void
|
|
4007
|
+
success?: (params: null) => void
|
|
4019
4008
|
/** 接口调用失败的回调函数 */
|
|
4020
4009
|
fail?: (params: {
|
|
4021
4010
|
/** 错误信息 */
|
|
@@ -4061,7 +4050,7 @@ declare namespace ty {
|
|
|
4061
4050
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
4062
4051
|
complete?: () => void
|
|
4063
4052
|
/** 接口调用成功的回调函数 */
|
|
4064
|
-
success?: () => void
|
|
4053
|
+
success?: (params: null) => void
|
|
4065
4054
|
/** 接口调用失败的回调函数 */
|
|
4066
4055
|
fail?: (params: {
|
|
4067
4056
|
/** 错误信息 */
|
|
@@ -4392,7 +4381,7 @@ declare namespace ty {
|
|
|
4392
4381
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
4393
4382
|
complete?: () => void
|
|
4394
4383
|
/** 接口调用成功的回调函数 */
|
|
4395
|
-
success?: () => void
|
|
4384
|
+
success?: (params: null) => void
|
|
4396
4385
|
/** 接口调用失败的回调函数 */
|
|
4397
4386
|
fail?: (params: {
|
|
4398
4387
|
/** 错误信息 */
|
|
@@ -4470,7 +4459,7 @@ declare namespace ty {
|
|
|
4470
4459
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
4471
4460
|
complete?: () => void
|
|
4472
4461
|
/** 接口调用成功的回调函数 */
|
|
4473
|
-
success?: () => void
|
|
4462
|
+
success?: (params: null) => void
|
|
4474
4463
|
/** 接口调用失败的回调函数 */
|
|
4475
4464
|
fail?: (params: {
|
|
4476
4465
|
/** 错误信息 */
|
|
@@ -4579,7 +4568,7 @@ declare namespace ty {
|
|
|
4579
4568
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
4580
4569
|
complete?: () => void
|
|
4581
4570
|
/** 接口调用成功的回调函数 */
|
|
4582
|
-
success?: () => void
|
|
4571
|
+
success?: (params: null) => void
|
|
4583
4572
|
/** 接口调用失败的回调函数 */
|
|
4584
4573
|
fail?: (params: {
|
|
4585
4574
|
/** 错误信息 */
|
|
@@ -4637,7 +4626,7 @@ declare namespace ty {
|
|
|
4637
4626
|
): void
|
|
4638
4627
|
|
|
4639
4628
|
/**
|
|
4640
|
-
*
|
|
4629
|
+
* 上传进度回调
|
|
4641
4630
|
* @public
|
|
4642
4631
|
* @since BizKit 3.0.0
|
|
4643
4632
|
* @platform iOS
|
|
@@ -4647,7 +4636,7 @@ declare namespace ty {
|
|
|
4647
4636
|
): void
|
|
4648
4637
|
|
|
4649
4638
|
/**
|
|
4650
|
-
*
|
|
4639
|
+
* 上传进度回调
|
|
4651
4640
|
* @public
|
|
4652
4641
|
* @since BizKit 3.0.0
|
|
4653
4642
|
* @platform iOS
|
|
@@ -4717,7 +4706,7 @@ declare namespace ty {
|
|
|
4717
4706
|
/**
|
|
4718
4707
|
* 用户自选备选结算监听, 只有在addOrderStatusListener之后, 才能收到监听
|
|
4719
4708
|
* @public
|
|
4720
|
-
* @since BizKit 4.
|
|
4709
|
+
* @since BizKit 4.7.7
|
|
4721
4710
|
* @platform iOS Android
|
|
4722
4711
|
*/
|
|
4723
4712
|
export function onUserSelectedAlternativeBilling(
|
|
@@ -4727,7 +4716,7 @@ declare namespace ty {
|
|
|
4727
4716
|
/**
|
|
4728
4717
|
* 用户自选备选结算监听, 只有在addOrderStatusListener之后, 才能收到监听
|
|
4729
4718
|
* @public
|
|
4730
|
-
* @since BizKit 4.
|
|
4719
|
+
* @since BizKit 4.7.7
|
|
4731
4720
|
* @platform iOS Android
|
|
4732
4721
|
*/
|
|
4733
4722
|
export function offUserSelectedAlternativeBilling(
|
|
@@ -4735,7 +4724,7 @@ declare namespace ty {
|
|
|
4735
4724
|
): void
|
|
4736
4725
|
|
|
4737
4726
|
/**
|
|
4738
|
-
*
|
|
4727
|
+
* 统一路由事件通知
|
|
4739
4728
|
* @public
|
|
4740
4729
|
* @since BizKit 3.0.0
|
|
4741
4730
|
* @platform iOS Android
|
|
@@ -4743,7 +4732,7 @@ declare namespace ty {
|
|
|
4743
4732
|
export function onRouterEvent(listener: (params: RouterEvent) => void): void
|
|
4744
4733
|
|
|
4745
4734
|
/**
|
|
4746
|
-
*
|
|
4735
|
+
* 统一路由事件通知
|
|
4747
4736
|
* @public
|
|
4748
4737
|
* @since BizKit 3.0.0
|
|
4749
4738
|
* @platform iOS Android
|
|
@@ -4751,7 +4740,7 @@ declare namespace ty {
|
|
|
4751
4740
|
export function offRouterEvent(listener: (params: RouterEvent) => void): void
|
|
4752
4741
|
|
|
4753
4742
|
/**
|
|
4754
|
-
*
|
|
4743
|
+
* 万能路由界面返回的数据
|
|
4755
4744
|
* @public
|
|
4756
4745
|
* @since BizKit 3.0.0
|
|
4757
4746
|
* @platform iOS Android
|
|
@@ -4761,7 +4750,7 @@ declare namespace ty {
|
|
|
4761
4750
|
): void
|
|
4762
4751
|
|
|
4763
4752
|
/**
|
|
4764
|
-
*
|
|
4753
|
+
* 万能路由界面返回的数据
|
|
4765
4754
|
* @public
|
|
4766
4755
|
* @since BizKit 3.0.0
|
|
4767
4756
|
* @platform iOS Android
|
|
@@ -4771,8 +4760,7 @@ declare namespace ty {
|
|
|
4771
4760
|
): void
|
|
4772
4761
|
|
|
4773
4762
|
/**
|
|
4774
|
-
*
|
|
4775
|
-
* 当消息中心、常见问题/帮助中心、我的反馈、三方客服(AIHelp)的未读数量变化时触发
|
|
4763
|
+
* 消息未读数量发生变化
|
|
4776
4764
|
* @public
|
|
4777
4765
|
* @since BizKit 4.19.0
|
|
4778
4766
|
* @platform iOS Android
|
|
@@ -4782,8 +4770,7 @@ declare namespace ty {
|
|
|
4782
4770
|
): void
|
|
4783
4771
|
|
|
4784
4772
|
/**
|
|
4785
|
-
*
|
|
4786
|
-
* 当消息中心、常见问题/帮助中心、我的反馈、三方客服(AIHelp)的未读数量变化时触发
|
|
4773
|
+
* 消息未读数量发生变化
|
|
4787
4774
|
* @public
|
|
4788
4775
|
* @since BizKit 4.19.0
|
|
4789
4776
|
* @platform iOS Android
|
|
@@ -5319,11 +5306,17 @@ declare namespace ty {
|
|
|
5319
5306
|
|
|
5320
5307
|
/** @since BizKit 3.0.0 */
|
|
5321
5308
|
export interface ApiRequestByAtopResponse {
|
|
5309
|
+
/**
|
|
5310
|
+
* 请求结果
|
|
5311
|
+
* thing_data_ 出参结构体, JSON序列化
|
|
5312
|
+
* @since BizKit 3.0.0
|
|
5313
|
+
*/
|
|
5314
|
+
thing_json_?: Record<string, any>
|
|
5322
5315
|
/**
|
|
5323
5316
|
* 元数据
|
|
5324
5317
|
* @since BizKit 3.0.0
|
|
5325
5318
|
*/
|
|
5326
|
-
data:
|
|
5319
|
+
data: string
|
|
5327
5320
|
}
|
|
5328
5321
|
|
|
5329
5322
|
/** @since BizKit 3.4.0 */
|
|
@@ -5470,17 +5463,17 @@ declare namespace ty {
|
|
|
5470
5463
|
params: string
|
|
5471
5464
|
}
|
|
5472
5465
|
|
|
5473
|
-
/** @since BizKit 4.
|
|
5466
|
+
/** @since BizKit 4.10.4 */
|
|
5474
5467
|
export interface PerformanceBean {
|
|
5475
5468
|
/**
|
|
5476
5469
|
* 性能数据, 这里的数据会以点击小程序的时间为起点,到调用performance方法的时间为终点自动计算耗时
|
|
5477
5470
|
* example: ty.performanceEvent({launchData: 'map_render_time'})
|
|
5478
|
-
* @since BizKit 4.
|
|
5471
|
+
* @since BizKit 4.10.4
|
|
5479
5472
|
*/
|
|
5480
5473
|
launchData?: string
|
|
5481
5474
|
/**
|
|
5482
5475
|
* 业务自定义性能数据,会以key-value的形式展示在性能工具中
|
|
5483
|
-
* @since BizKit 4.
|
|
5476
|
+
* @since BizKit 4.10.4
|
|
5484
5477
|
*/
|
|
5485
5478
|
perfData?: Record<string, string>
|
|
5486
5479
|
}
|
|
@@ -5531,7 +5524,7 @@ declare namespace ty {
|
|
|
5531
5524
|
/** @since BizKit 3.6.0 */
|
|
5532
5525
|
export interface Active {
|
|
5533
5526
|
/**
|
|
5534
|
-
*
|
|
5527
|
+
* 状态
|
|
5535
5528
|
* @since BizKit 3.6.0
|
|
5536
5529
|
*/
|
|
5537
5530
|
isActive: boolean
|
|
@@ -5574,7 +5567,7 @@ declare namespace ty {
|
|
|
5574
5567
|
/** @since BizKit 3.6.0 */
|
|
5575
5568
|
export interface Received {
|
|
5576
5569
|
/**
|
|
5577
|
-
*
|
|
5570
|
+
* managerId
|
|
5578
5571
|
* @since BizKit 3.6.0
|
|
5579
5572
|
*/
|
|
5580
5573
|
managerId: number
|
|
@@ -5613,15 +5606,12 @@ declare namespace ty {
|
|
|
5613
5606
|
*/
|
|
5614
5607
|
language: string
|
|
5615
5608
|
/**
|
|
5616
|
-
*
|
|
5617
|
-
* 返回示例:countryCode: "86"(中国大陆)
|
|
5609
|
+
* countryCode 国家码
|
|
5618
5610
|
* @since BizKit 3.0.0
|
|
5619
5611
|
*/
|
|
5620
5612
|
countryCode: string
|
|
5621
5613
|
/**
|
|
5622
|
-
*
|
|
5623
|
-
* 在 RN API 中对应 service 字段
|
|
5624
|
-
* 返回示例:regionCode: "AY"(中国区)
|
|
5614
|
+
* regionCode 地区码, 在RN Api中被当作“service”字段
|
|
5625
5615
|
* @since BizKit 3.0.0
|
|
5626
5616
|
*/
|
|
5627
5617
|
regionCode: string
|
|
@@ -5749,13 +5739,13 @@ declare namespace ty {
|
|
|
5749
5739
|
export enum ThirdPartyMiniProgramType {
|
|
5750
5740
|
/**
|
|
5751
5741
|
* qq
|
|
5752
|
-
* @since BizKit 4.
|
|
5742
|
+
* @since BizKit 4.8.10
|
|
5753
5743
|
*/
|
|
5754
5744
|
QQ = 1,
|
|
5755
5745
|
|
|
5756
5746
|
/**
|
|
5757
5747
|
* 微信
|
|
5758
|
-
* @since BizKit 4.
|
|
5748
|
+
* @since BizKit 4.8.10
|
|
5759
5749
|
*/
|
|
5760
5750
|
Wechat = 2,
|
|
5761
5751
|
}
|
|
@@ -5788,13 +5778,13 @@ declare namespace ty {
|
|
|
5788
5778
|
export enum CloudEnvType {
|
|
5789
5779
|
/**
|
|
5790
5780
|
* 公有云环境
|
|
5791
|
-
* @since BizKit 4.
|
|
5781
|
+
* @since BizKit 4.8.10
|
|
5792
5782
|
*/
|
|
5793
5783
|
Public = 0,
|
|
5794
5784
|
|
|
5795
5785
|
/**
|
|
5796
5786
|
* 私有云环境
|
|
5797
|
-
* @since BizKit 4.
|
|
5787
|
+
* @since BizKit 4.8.10
|
|
5798
5788
|
*/
|
|
5799
5789
|
Private = 1,
|
|
5800
5790
|
}
|
|
@@ -5802,8 +5792,7 @@ declare namespace ty {
|
|
|
5802
5792
|
/** @since BizKit 4.6.0 */
|
|
5803
5793
|
export interface CloudEnvResult {
|
|
5804
5794
|
/**
|
|
5805
|
-
*
|
|
5806
|
-
* 返回示例:env: 0(公有云环境),env: 1(私有云环境)
|
|
5795
|
+
* 云端环境 CloudEnvType
|
|
5807
5796
|
* @since BizKit 4.6.0
|
|
5808
5797
|
* @defaultValue CloudEnvType.Public
|
|
5809
5798
|
*/
|
|
@@ -5819,35 +5808,35 @@ declare namespace ty {
|
|
|
5819
5808
|
availalble: boolean
|
|
5820
5809
|
}
|
|
5821
5810
|
|
|
5822
|
-
/** @since BizKit 4.
|
|
5811
|
+
/** @since BizKit 4.8.9 */
|
|
5823
5812
|
export interface AppTabInfo {
|
|
5824
5813
|
/**
|
|
5825
5814
|
* tab的唯一标志符
|
|
5826
|
-
* @since BizKit 4.
|
|
5815
|
+
* @since BizKit 4.8.9
|
|
5827
5816
|
*/
|
|
5828
5817
|
key: string
|
|
5829
5818
|
/**
|
|
5830
5819
|
* tab的文案
|
|
5831
|
-
* @since BizKit 4.
|
|
5820
|
+
* @since BizKit 4.8.9
|
|
5832
5821
|
*/
|
|
5833
5822
|
text: string
|
|
5834
5823
|
/**
|
|
5835
5824
|
* tab的icon
|
|
5836
|
-
* @since BizKit 4.
|
|
5825
|
+
* @since BizKit 4.8.9
|
|
5837
5826
|
*/
|
|
5838
5827
|
iconPath: string
|
|
5839
5828
|
/**
|
|
5840
5829
|
* tab的选中icon
|
|
5841
|
-
* @since BizKit 4.
|
|
5830
|
+
* @since BizKit 4.8.9
|
|
5842
5831
|
*/
|
|
5843
5832
|
selectedIconPath: string
|
|
5844
5833
|
}
|
|
5845
5834
|
|
|
5846
|
-
/** @since BizKit 4.
|
|
5835
|
+
/** @since BizKit 4.8.9 */
|
|
5847
5836
|
export interface AppTabInfoResponse {
|
|
5848
5837
|
/**
|
|
5849
5838
|
* tab信息
|
|
5850
|
-
* @since BizKit 4.
|
|
5839
|
+
* @since BizKit 4.8.9
|
|
5851
5840
|
*/
|
|
5852
5841
|
tabInfo: AppTabInfo[]
|
|
5853
5842
|
}
|
|
@@ -6439,29 +6428,28 @@ declare namespace ty {
|
|
|
6439
6428
|
/** @since BizKit 3.0.0 */
|
|
6440
6429
|
export interface UploadParams {
|
|
6441
6430
|
/**
|
|
6442
|
-
*
|
|
6431
|
+
* the file path
|
|
6443
6432
|
* @since BizKit 3.0.0
|
|
6444
6433
|
*/
|
|
6445
6434
|
filePath: string
|
|
6446
6435
|
/**
|
|
6447
6436
|
* business type, get from cetus:scene alias, if not exist, please create it
|
|
6448
|
-
* 业务场景标识,对应 Cetus 配置的场景别名;未配置时需要先创建上传场景
|
|
6449
6437
|
* @since BizKit 3.0.0
|
|
6450
6438
|
*/
|
|
6451
6439
|
bizType: string
|
|
6452
6440
|
/**
|
|
6453
|
-
*
|
|
6441
|
+
* file type, ios necessary
|
|
6454
6442
|
* @since BizKit 3.0.0
|
|
6455
6443
|
*/
|
|
6456
6444
|
contentType?: string
|
|
6457
6445
|
/**
|
|
6458
|
-
*
|
|
6446
|
+
* polling interval of big file in second, default is 2 second
|
|
6459
6447
|
* @since BizKit 3.0.0
|
|
6460
6448
|
* @defaultValue 2.0
|
|
6461
6449
|
*/
|
|
6462
6450
|
delayTime?: number
|
|
6463
6451
|
/**
|
|
6464
|
-
*
|
|
6452
|
+
* max polling count, default is 5
|
|
6465
6453
|
* @since BizKit 3.0.0
|
|
6466
6454
|
* @defaultValue 5
|
|
6467
6455
|
*/
|
|
@@ -6471,28 +6459,27 @@ declare namespace ty {
|
|
|
6471
6459
|
/** @since BizKit 3.0.0 */
|
|
6472
6460
|
export interface UploadResponse {
|
|
6473
6461
|
/**
|
|
6474
|
-
*
|
|
6462
|
+
* The json string returned by the request
|
|
6475
6463
|
* @since BizKit 3.0.0
|
|
6476
6464
|
*/
|
|
6477
6465
|
result: string
|
|
6478
6466
|
}
|
|
6479
6467
|
|
|
6480
|
-
/** @since BizKit 3.
|
|
6468
|
+
/** @since BizKit 3.0.10 */
|
|
6481
6469
|
export interface VideoUploadParams {
|
|
6482
6470
|
/**
|
|
6483
|
-
*
|
|
6484
|
-
* @since BizKit 3.
|
|
6471
|
+
* the file path
|
|
6472
|
+
* @since BizKit 3.0.10
|
|
6485
6473
|
*/
|
|
6486
6474
|
filePath: string
|
|
6487
6475
|
/**
|
|
6488
6476
|
* business type, get from cetus:scene alias, if not exist, please create it
|
|
6489
|
-
*
|
|
6490
|
-
* @since BizKit 3.8.4
|
|
6477
|
+
* @since BizKit 3.0.10
|
|
6491
6478
|
*/
|
|
6492
6479
|
bizType: string
|
|
6493
6480
|
/**
|
|
6494
|
-
*
|
|
6495
|
-
* @since BizKit 3.
|
|
6481
|
+
* file type, ios necessary
|
|
6482
|
+
* @since BizKit 3.0.10
|
|
6496
6483
|
*/
|
|
6497
6484
|
contentType?: string
|
|
6498
6485
|
}
|
|
@@ -6500,43 +6487,42 @@ declare namespace ty {
|
|
|
6500
6487
|
/** @since BizKit 3.0.0 */
|
|
6501
6488
|
export interface ProgressEvent {
|
|
6502
6489
|
/**
|
|
6503
|
-
*
|
|
6490
|
+
* the file path
|
|
6504
6491
|
* @since BizKit 3.0.0
|
|
6505
6492
|
*/
|
|
6506
6493
|
filePath: string
|
|
6507
6494
|
/**
|
|
6508
|
-
*
|
|
6509
|
-
* 返回示例:progress: 100
|
|
6495
|
+
* progress
|
|
6510
6496
|
* @since BizKit 3.0.0
|
|
6511
6497
|
*/
|
|
6512
6498
|
progress: number
|
|
6513
6499
|
}
|
|
6514
6500
|
|
|
6515
|
-
/** @since BizKit 4.
|
|
6501
|
+
/** @since BizKit 4.7.0 */
|
|
6516
6502
|
export interface RequestModel {
|
|
6517
6503
|
/**
|
|
6518
6504
|
* 实时通知类型
|
|
6519
|
-
* @since BizKit 4.
|
|
6505
|
+
* @since BizKit 4.7.0
|
|
6520
6506
|
* @defaultValue BusinessType.Pay
|
|
6521
6507
|
*/
|
|
6522
6508
|
activityType?: any
|
|
6523
6509
|
/**
|
|
6524
6510
|
* 实时通知ID
|
|
6525
|
-
* @since BizKit 4.
|
|
6511
|
+
* @since BizKit 4.7.0
|
|
6526
6512
|
*/
|
|
6527
6513
|
activityId: string
|
|
6528
6514
|
/**
|
|
6529
6515
|
* 实时通知参数
|
|
6530
|
-
* @since BizKit 4.
|
|
6516
|
+
* @since BizKit 4.7.0
|
|
6531
6517
|
*/
|
|
6532
6518
|
data: Record<string, string>
|
|
6533
6519
|
}
|
|
6534
6520
|
|
|
6535
|
-
/** @since BizKit 4.
|
|
6521
|
+
/** @since BizKit 4.7.0 */
|
|
6536
6522
|
export enum Pay {
|
|
6537
6523
|
/**
|
|
6538
6524
|
* 支付类型
|
|
6539
|
-
* @since BizKit 4.
|
|
6525
|
+
* @since BizKit 4.7.0
|
|
6540
6526
|
*/
|
|
6541
6527
|
Pay = "Pay",
|
|
6542
6528
|
}
|
|
@@ -6753,10 +6739,7 @@ declare namespace ty {
|
|
|
6753
6739
|
|
|
6754
6740
|
/** @since BizKit 4.5.1 */
|
|
6755
6741
|
export interface CustomerServiceRes {
|
|
6756
|
-
/**
|
|
6757
|
-
* 在线客服URL
|
|
6758
|
-
* @since BizKit 4.5.1
|
|
6759
|
-
*/
|
|
6742
|
+
/** @since BizKit 4.5.1 */
|
|
6760
6743
|
url: string
|
|
6761
6744
|
}
|
|
6762
6745
|
|
|
@@ -6808,8 +6791,7 @@ declare namespace ty {
|
|
|
6808
6791
|
*/
|
|
6809
6792
|
pid?: string
|
|
6810
6793
|
/**
|
|
6811
|
-
*
|
|
6812
|
-
* 未传时使用当前设备中的多语言时间戳
|
|
6794
|
+
* i18nTime 多语言
|
|
6813
6795
|
* @since BizKit 3.0.0
|
|
6814
6796
|
*/
|
|
6815
6797
|
i18nTime?: number
|
|
@@ -7033,14 +7015,12 @@ declare namespace ty {
|
|
|
7033
7015
|
/** @since BizKit 4.2.0 */
|
|
7034
7016
|
export interface ActivityResultBean {
|
|
7035
7017
|
/**
|
|
7036
|
-
*
|
|
7037
|
-
* 常用取值:Activity.RESULT_OK = -1,Activity.RESULT_CANCELED = 0
|
|
7038
|
-
* 示例:resultCode: -1
|
|
7018
|
+
* The result code to propagate back to the originating activity, often RESULT_CANCELED or RESULT_OK
|
|
7039
7019
|
* @since BizKit 4.2.0
|
|
7040
7020
|
*/
|
|
7041
7021
|
resultCode: number
|
|
7042
7022
|
/**
|
|
7043
|
-
*
|
|
7023
|
+
* The data to propagate back to the originating activity.
|
|
7044
7024
|
* @since BizKit 4.2.0
|
|
7045
7025
|
*/
|
|
7046
7026
|
data?: Record<string, Record<string, any>>
|
|
@@ -7049,12 +7029,12 @@ declare namespace ty {
|
|
|
7049
7029
|
/** @since BizKit 4.2.0 */
|
|
7050
7030
|
export interface ThirdAppBean {
|
|
7051
7031
|
/**
|
|
7052
|
-
*
|
|
7032
|
+
* an RFC 2396-compliant, encoded URI
|
|
7053
7033
|
* @since BizKit 4.2.0
|
|
7054
7034
|
*/
|
|
7055
7035
|
uriString: string
|
|
7056
7036
|
/**
|
|
7057
|
-
*
|
|
7037
|
+
* The name of the application package to handle the intent, or null to allow any application package.
|
|
7058
7038
|
* @since BizKit 4.2.0
|
|
7059
7039
|
*/
|
|
7060
7040
|
packageName: string
|
|
@@ -7063,7 +7043,6 @@ declare namespace ty {
|
|
|
7063
7043
|
/** @since BizKit 4.2.0 */
|
|
7064
7044
|
export interface CanOpenThirdAppBean {
|
|
7065
7045
|
/**
|
|
7066
|
-
* 是否可以打开三方App
|
|
7067
7046
|
* @since BizKit 4.2.0
|
|
7068
7047
|
* @defaultValue false
|
|
7069
7048
|
*/
|
|
@@ -7108,7 +7087,7 @@ declare namespace ty {
|
|
|
7108
7087
|
iapType?: number
|
|
7109
7088
|
/**
|
|
7110
7089
|
* google支付下是否支持用户自选的备选结算
|
|
7111
|
-
* @since BizKit 4.
|
|
7090
|
+
* @since BizKit 4.7.7
|
|
7112
7091
|
*/
|
|
7113
7092
|
googleIapEnableUserChoice?: boolean
|
|
7114
7093
|
}
|
|
@@ -7208,134 +7187,134 @@ declare namespace ty {
|
|
|
7208
7187
|
errorMsg?: string
|
|
7209
7188
|
}
|
|
7210
7189
|
|
|
7211
|
-
/** @since BizKit 4.
|
|
7190
|
+
/** @since BizKit 4.7.7 */
|
|
7212
7191
|
export interface UserSelectedAlternativeEvent {
|
|
7213
7192
|
/**
|
|
7214
7193
|
* google支付下,在支持备选结算系统的情况下,用户选择备选结算方式,需要携带相关toke信息,后续完成支付以后,报告云端。
|
|
7215
|
-
* @since BizKit 4.
|
|
7194
|
+
* @since BizKit 4.7.7
|
|
7216
7195
|
*/
|
|
7217
7196
|
externalTransactionToken?: string
|
|
7218
7197
|
/**
|
|
7219
7198
|
* google支付下,在支持备选结算系统的情况下,用户选择备选结算方式,需要携带相关products信息。
|
|
7220
|
-
* @since BizKit 4.
|
|
7199
|
+
* @since BizKit 4.7.7
|
|
7221
7200
|
*/
|
|
7222
7201
|
products?: string
|
|
7223
7202
|
}
|
|
7224
7203
|
|
|
7225
|
-
/** @since BizKit 4.
|
|
7204
|
+
/** @since BizKit 4.12.12 */
|
|
7226
7205
|
export interface ProductSub {
|
|
7227
7206
|
/**
|
|
7228
7207
|
* 产品 id
|
|
7229
|
-
* @since BizKit 4.
|
|
7208
|
+
* @since BizKit 4.12.12
|
|
7230
7209
|
*/
|
|
7231
7210
|
productId: string
|
|
7232
7211
|
/**
|
|
7233
7212
|
* 1: 订阅 0: 非订阅
|
|
7234
|
-
* @since BizKit 4.
|
|
7213
|
+
* @since BizKit 4.12.12
|
|
7235
7214
|
*/
|
|
7236
7215
|
subscription: number
|
|
7237
7216
|
}
|
|
7238
7217
|
|
|
7239
|
-
/** @since BizKit 4.
|
|
7218
|
+
/** @since BizKit 4.12.12 */
|
|
7240
7219
|
export interface ProductQueryReq {
|
|
7241
7220
|
/**
|
|
7242
7221
|
* 商品列表
|
|
7243
|
-
* @since BizKit 4.
|
|
7222
|
+
* @since BizKit 4.12.12
|
|
7244
7223
|
*/
|
|
7245
7224
|
productList: ProductSub[]
|
|
7246
7225
|
}
|
|
7247
7226
|
|
|
7248
|
-
/** @since BizKit 4.
|
|
7227
|
+
/** @since BizKit 4.12.12 */
|
|
7249
7228
|
export interface PricePhase {
|
|
7250
7229
|
/**
|
|
7251
7230
|
* 商品价格
|
|
7252
|
-
* @since BizKit 4.
|
|
7231
|
+
* @since BizKit 4.12.12
|
|
7253
7232
|
*/
|
|
7254
7233
|
price: string
|
|
7255
7234
|
/**
|
|
7256
7235
|
* 价格币种
|
|
7257
|
-
* @since BizKit 4.
|
|
7236
|
+
* @since BizKit 4.12.12
|
|
7258
7237
|
*/
|
|
7259
7238
|
priceCode: string
|
|
7260
7239
|
/**
|
|
7261
7240
|
* 商品微单位
|
|
7262
|
-
* @since BizKit 4.
|
|
7241
|
+
* @since BizKit 4.12.12
|
|
7263
7242
|
*/
|
|
7264
7243
|
priceAmountMicros: number
|
|
7265
7244
|
/**
|
|
7266
7245
|
* 订阅周期
|
|
7267
|
-
* @since BizKit 4.
|
|
7246
|
+
* @since BizKit 4.12.12
|
|
7268
7247
|
*/
|
|
7269
7248
|
billingPeriod: string
|
|
7270
7249
|
/**
|
|
7271
7250
|
* 续订模式
|
|
7272
|
-
* @since BizKit 4.
|
|
7251
|
+
* @since BizKit 4.12.12
|
|
7273
7252
|
*/
|
|
7274
7253
|
recurrenceMode: number
|
|
7275
7254
|
/**
|
|
7276
7255
|
* 订阅周期次数
|
|
7277
|
-
* @since BizKit 4.
|
|
7256
|
+
* @since BizKit 4.12.12
|
|
7278
7257
|
*/
|
|
7279
7258
|
billingCycleCount: number
|
|
7280
7259
|
}
|
|
7281
7260
|
|
|
7282
|
-
/** @since BizKit 4.
|
|
7261
|
+
/** @since BizKit 4.12.12 */
|
|
7283
7262
|
export interface SubscriptionOfferDetail {
|
|
7284
7263
|
/**
|
|
7285
7264
|
* 商品订阅计划ID
|
|
7286
|
-
* @since BizKit 4.
|
|
7265
|
+
* @since BizKit 4.12.12
|
|
7287
7266
|
*/
|
|
7288
7267
|
basePlanId: string
|
|
7289
7268
|
/**
|
|
7290
7269
|
* 商品订阅优惠ID
|
|
7291
|
-
* @since BizKit 4.
|
|
7270
|
+
* @since BizKit 4.12.12
|
|
7292
7271
|
*/
|
|
7293
7272
|
offerId: string
|
|
7294
7273
|
/**
|
|
7295
7274
|
* 商品订阅报价令牌
|
|
7296
|
-
* @since BizKit 4.
|
|
7275
|
+
* @since BizKit 4.12.12
|
|
7297
7276
|
*/
|
|
7298
7277
|
offerToken: string
|
|
7299
7278
|
/**
|
|
7300
7279
|
* 商品订阅相关的优惠标签
|
|
7301
|
-
* @since BizKit 4.
|
|
7280
|
+
* @since BizKit 4.12.12
|
|
7302
7281
|
*/
|
|
7303
7282
|
offerTags: string[]
|
|
7304
7283
|
/**
|
|
7305
7284
|
* 商品订阅定价阶段
|
|
7306
|
-
* @since BizKit 4.
|
|
7285
|
+
* @since BizKit 4.12.12
|
|
7307
7286
|
*/
|
|
7308
7287
|
pricingPhases: PricePhase[]
|
|
7309
7288
|
}
|
|
7310
7289
|
|
|
7311
|
-
/** @since BizKit 4.
|
|
7290
|
+
/** @since BizKit 4.12.12 */
|
|
7312
7291
|
export interface SubscriptionOfferDetailList {
|
|
7313
7292
|
/**
|
|
7314
7293
|
* 商品的订阅列表
|
|
7315
|
-
* @since BizKit 4.
|
|
7294
|
+
* @since BizKit 4.12.12
|
|
7316
7295
|
*/
|
|
7317
7296
|
subscriptionOfferDetailList: SubscriptionOfferDetail[]
|
|
7318
7297
|
}
|
|
7319
7298
|
|
|
7320
|
-
/** @since BizKit 4.
|
|
7299
|
+
/** @since BizKit 4.12.12 */
|
|
7321
7300
|
export interface ProductQueryResp {
|
|
7322
7301
|
/**
|
|
7323
7302
|
* 订阅类型下的商品详情
|
|
7324
|
-
* @since BizKit 4.
|
|
7303
|
+
* @since BizKit 4.12.12
|
|
7325
7304
|
*/
|
|
7326
7305
|
productSubsMap?: Record<string, SubscriptionOfferDetailList>
|
|
7327
7306
|
/**
|
|
7328
7307
|
* 一次支付类型下的商品详情
|
|
7329
|
-
* @since BizKit 4.
|
|
7308
|
+
* @since BizKit 4.12.12
|
|
7330
7309
|
*/
|
|
7331
7310
|
productInAppMap?: Record<string, PricePhase>
|
|
7332
7311
|
}
|
|
7333
7312
|
|
|
7334
|
-
/** @since BizKit 4.
|
|
7313
|
+
/** @since BizKit 4.12.12 */
|
|
7335
7314
|
export interface PricePhaseList {
|
|
7336
7315
|
/**
|
|
7337
7316
|
* 商品价格
|
|
7338
|
-
* @since BizKit 4.
|
|
7317
|
+
* @since BizKit 4.12.12
|
|
7339
7318
|
*/
|
|
7340
7319
|
pricePhaseList: PricePhase[]
|
|
7341
7320
|
}
|
|
@@ -7375,7 +7354,7 @@ declare namespace ty {
|
|
|
7375
7354
|
/** @since BizKit 3.0.0 */
|
|
7376
7355
|
export interface TimeConfig {
|
|
7377
7356
|
/**
|
|
7378
|
-
*
|
|
7357
|
+
* background
|
|
7379
7358
|
* @since BizKit 3.0.0
|
|
7380
7359
|
*/
|
|
7381
7360
|
background: string
|
|
@@ -7394,27 +7373,27 @@ declare namespace ty {
|
|
|
7394
7373
|
*/
|
|
7395
7374
|
groupId?: string
|
|
7396
7375
|
/**
|
|
7397
|
-
*
|
|
7376
|
+
* category
|
|
7398
7377
|
* @since BizKit 3.0.0
|
|
7399
7378
|
*/
|
|
7400
7379
|
category?: string
|
|
7401
7380
|
/**
|
|
7402
|
-
*
|
|
7381
|
+
* repeat
|
|
7403
7382
|
* @since BizKit 3.0.0
|
|
7404
7383
|
*/
|
|
7405
7384
|
repeat?: number
|
|
7406
7385
|
/**
|
|
7407
|
-
*
|
|
7386
|
+
* timerConfig
|
|
7408
7387
|
* @since BizKit 3.0.0
|
|
7409
7388
|
*/
|
|
7410
7389
|
timerConfig?: TimeConfig
|
|
7411
7390
|
/**
|
|
7412
|
-
*
|
|
7391
|
+
* data
|
|
7413
7392
|
* @since BizKit 3.0.0
|
|
7414
7393
|
*/
|
|
7415
7394
|
data: Record<string, any>[]
|
|
7416
7395
|
/**
|
|
7417
|
-
*
|
|
7396
|
+
* enableFilter
|
|
7418
7397
|
* @since BizKit 3.0.0
|
|
7419
7398
|
*/
|
|
7420
7399
|
enableFilter?: boolean
|
|
@@ -7602,58 +7581,58 @@ declare namespace ty {
|
|
|
7602
7581
|
shareChannelList: string[]
|
|
7603
7582
|
}
|
|
7604
7583
|
|
|
7605
|
-
/** @since BizKit 4.
|
|
7584
|
+
/** @since BizKit 4.10.3 */
|
|
7606
7585
|
export interface SharePanelParams {
|
|
7607
7586
|
/**
|
|
7608
7587
|
* 分享内容类型
|
|
7609
|
-
* @since BizKit 4.
|
|
7588
|
+
* @since BizKit 4.10.3
|
|
7610
7589
|
*/
|
|
7611
7590
|
contentType: number
|
|
7612
7591
|
}
|
|
7613
7592
|
|
|
7614
|
-
/** @since BizKit 4.
|
|
7593
|
+
/** @since BizKit 4.10.3 */
|
|
7615
7594
|
export interface SharePanelResponse {
|
|
7616
7595
|
/**
|
|
7617
7596
|
* 分享渠道类型
|
|
7618
|
-
* @since BizKit 4.
|
|
7597
|
+
* @since BizKit 4.10.3
|
|
7619
7598
|
*/
|
|
7620
7599
|
platformType: string
|
|
7621
7600
|
/**
|
|
7622
7601
|
* 选中渠道是否安装
|
|
7623
|
-
* @since BizKit 4.
|
|
7602
|
+
* @since BizKit 4.10.3
|
|
7624
7603
|
*/
|
|
7625
7604
|
installed: boolean
|
|
7626
7605
|
}
|
|
7627
7606
|
|
|
7628
|
-
/** @since BizKit 4.
|
|
7607
|
+
/** @since BizKit 4.10.3 */
|
|
7629
7608
|
export interface ShareContentParams {
|
|
7630
7609
|
/**
|
|
7631
7610
|
* 分享渠道类型
|
|
7632
|
-
* @since BizKit 4.
|
|
7611
|
+
* @since BizKit 4.10.3
|
|
7633
7612
|
*/
|
|
7634
7613
|
platformType: string
|
|
7635
7614
|
/**
|
|
7636
7615
|
* 相册内容标识
|
|
7637
|
-
* @since BizKit 4.
|
|
7616
|
+
* @since BizKit 4.10.3
|
|
7638
7617
|
*/
|
|
7639
7618
|
localIdentifier: string
|
|
7640
7619
|
/**
|
|
7641
7620
|
* 分享内容类型
|
|
7642
|
-
* @since BizKit 4.
|
|
7621
|
+
* @since BizKit 4.10.3
|
|
7643
7622
|
*/
|
|
7644
7623
|
contentType: number
|
|
7645
7624
|
}
|
|
7646
7625
|
|
|
7647
|
-
/** @since BizKit 4.
|
|
7626
|
+
/** @since BizKit 4.10.3 */
|
|
7648
7627
|
export interface ShareContentResponse {
|
|
7649
7628
|
/**
|
|
7650
7629
|
* 分享结果码
|
|
7651
|
-
* @since BizKit 4.
|
|
7630
|
+
* @since BizKit 4.10.3
|
|
7652
7631
|
*/
|
|
7653
7632
|
code: number
|
|
7654
7633
|
/**
|
|
7655
7634
|
* 分享结果描述
|
|
7656
|
-
* @since BizKit 4.
|
|
7635
|
+
* @since BizKit 4.10.3
|
|
7657
7636
|
*/
|
|
7658
7637
|
msg: string
|
|
7659
7638
|
}
|
|
@@ -7759,14 +7738,12 @@ declare namespace ty {
|
|
|
7759
7738
|
*/
|
|
7760
7739
|
avatarUrl: string
|
|
7761
7740
|
/**
|
|
7762
|
-
*
|
|
7763
|
-
* 示例:86
|
|
7741
|
+
* 国家代码
|
|
7764
7742
|
* @since BizKit 3.0.0
|
|
7765
7743
|
*/
|
|
7766
7744
|
phoneCode: string
|
|
7767
7745
|
/**
|
|
7768
|
-
*
|
|
7769
|
-
* 示例:AY
|
|
7746
|
+
* 所在服务器区域 RegionCode
|
|
7770
7747
|
* @since BizKit 4.12.13
|
|
7771
7748
|
*/
|
|
7772
7749
|
regionCode: string
|
|
@@ -7776,8 +7753,7 @@ declare namespace ty {
|
|
|
7776
7753
|
*/
|
|
7777
7754
|
isTemporaryUser: boolean
|
|
7778
7755
|
/**
|
|
7779
|
-
*
|
|
7780
|
-
* 示例:Asia/Shanghai
|
|
7756
|
+
* 时区
|
|
7781
7757
|
* @since BizKit 4.12.13
|
|
7782
7758
|
*/
|
|
7783
7759
|
timezoneId: string
|
|
@@ -7787,27 +7763,26 @@ declare namespace ty {
|
|
|
7787
7763
|
*/
|
|
7788
7764
|
regFrom: number
|
|
7789
7765
|
/**
|
|
7790
|
-
*
|
|
7791
|
-
* 示例:1
|
|
7766
|
+
* 温度单位 TempUnit
|
|
7792
7767
|
* @since BizKit 4.12.13
|
|
7793
7768
|
*/
|
|
7794
7769
|
tempUnit: number
|
|
7795
7770
|
}
|
|
7796
7771
|
|
|
7797
|
-
/** @since BizKit 4.13
|
|
7772
|
+
/** @since BizKit 4.12.13 */
|
|
7798
7773
|
export interface DiyHomeStatusParam {
|
|
7799
7774
|
/**
|
|
7800
7775
|
* 是否开启全屋模式
|
|
7801
|
-
* @since BizKit 4.13
|
|
7776
|
+
* @since BizKit 4.12.13
|
|
7802
7777
|
*/
|
|
7803
7778
|
isOn: boolean
|
|
7804
7779
|
}
|
|
7805
7780
|
|
|
7806
|
-
/** @since BizKit 4.13
|
|
7781
|
+
/** @since BizKit 4.12.13 */
|
|
7807
7782
|
export interface ChangeDiyHomeResponse {
|
|
7808
7783
|
/**
|
|
7809
7784
|
* 是否操作成功, true 切换成功;false 用户取消
|
|
7810
|
-
* @since BizKit 4.13
|
|
7785
|
+
* @since BizKit 4.12.13
|
|
7811
7786
|
*/
|
|
7812
7787
|
isSuccess: boolean
|
|
7813
7788
|
}
|
|
@@ -8241,7 +8216,7 @@ declare namespace ty {
|
|
|
8241
8216
|
|
|
8242
8217
|
interface AsrListenerManager {
|
|
8243
8218
|
/**
|
|
8244
|
-
*
|
|
8219
|
+
* 状态
|
|
8245
8220
|
* @public
|
|
8246
8221
|
* @since BizKit 3.6.0
|
|
8247
8222
|
* @platform iOS Android
|
|
@@ -8252,7 +8227,7 @@ declare namespace ty {
|
|
|
8252
8227
|
/** 接口调用成功的回调函数 */
|
|
8253
8228
|
success?: (params: {
|
|
8254
8229
|
/**
|
|
8255
|
-
*
|
|
8230
|
+
* 状态
|
|
8256
8231
|
* @since BizKit 3.6.0
|
|
8257
8232
|
*/
|
|
8258
8233
|
isActive: boolean
|
|
@@ -8283,7 +8258,7 @@ declare namespace ty {
|
|
|
8283
8258
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
8284
8259
|
complete?: () => void
|
|
8285
8260
|
/** 接口调用成功的回调函数 */
|
|
8286
|
-
success?: () => void
|
|
8261
|
+
success?: (params: null) => void
|
|
8287
8262
|
/** 接口调用失败的回调函数 */
|
|
8288
8263
|
fail?: (params: {
|
|
8289
8264
|
/** 错误信息 */
|
|
@@ -8310,7 +8285,7 @@ declare namespace ty {
|
|
|
8310
8285
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
8311
8286
|
complete?: () => void
|
|
8312
8287
|
/** 接口调用成功的回调函数 */
|
|
8313
|
-
success?: () => void
|
|
8288
|
+
success?: (params: null) => void
|
|
8314
8289
|
/** 接口调用失败的回调函数 */
|
|
8315
8290
|
fail?: (params: {
|
|
8316
8291
|
/** 错误信息 */
|
|
@@ -8336,7 +8311,7 @@ declare namespace ty {
|
|
|
8336
8311
|
onDetect(
|
|
8337
8312
|
listener: (params: {
|
|
8338
8313
|
/**
|
|
8339
|
-
*
|
|
8314
|
+
* managerId
|
|
8340
8315
|
* @since BizKit 3.6.0
|
|
8341
8316
|
*/
|
|
8342
8317
|
managerId: number
|
|
@@ -8359,7 +8334,7 @@ declare namespace ty {
|
|
|
8359
8334
|
): void
|
|
8360
8335
|
|
|
8361
8336
|
/**
|
|
8362
|
-
*
|
|
8337
|
+
* 取消监听
|
|
8363
8338
|
* @public
|
|
8364
8339
|
* @since BizKit 3.6.0
|
|
8365
8340
|
* @platform iOS Android
|
|
@@ -8367,7 +8342,7 @@ declare namespace ty {
|
|
|
8367
8342
|
offDetect(
|
|
8368
8343
|
listener: (params: {
|
|
8369
8344
|
/**
|
|
8370
|
-
*
|
|
8345
|
+
* managerId
|
|
8371
8346
|
* @since BizKit 3.6.0
|
|
8372
8347
|
*/
|
|
8373
8348
|
managerId: number
|
|
@@ -8424,7 +8399,7 @@ declare namespace ty {
|
|
|
8424
8399
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
8425
8400
|
complete?: () => void
|
|
8426
8401
|
/** 接口调用成功的回调函数 */
|
|
8427
|
-
success?: () => void
|
|
8402
|
+
success?: (params: null) => void
|
|
8428
8403
|
/** 接口调用失败的回调函数 */
|
|
8429
8404
|
fail?: (params: {
|
|
8430
8405
|
/** 错误信息 */
|
|
@@ -8457,7 +8432,7 @@ declare namespace ty {
|
|
|
8457
8432
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
8458
8433
|
complete?: () => void
|
|
8459
8434
|
/** 接口调用成功的回调函数 */
|
|
8460
|
-
success?: () => void
|
|
8435
|
+
success?: (params: null) => void
|
|
8461
8436
|
/** 接口调用失败的回调函数 */
|
|
8462
8437
|
fail?: (params: {
|
|
8463
8438
|
/** 错误信息 */
|
|
@@ -8489,7 +8464,7 @@ declare namespace ty {
|
|
|
8489
8464
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
8490
8465
|
complete?: () => void
|
|
8491
8466
|
/** 接口调用成功的回调函数 */
|
|
8492
|
-
success?: () => void
|
|
8467
|
+
success?: (params: null) => void
|
|
8493
8468
|
/** 接口调用失败的回调函数 */
|
|
8494
8469
|
fail?: (params: {
|
|
8495
8470
|
/** 错误信息 */
|
|
@@ -8521,7 +8496,7 @@ declare namespace ty {
|
|
|
8521
8496
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
8522
8497
|
complete?: () => void
|
|
8523
8498
|
/** 接口调用成功的回调函数 */
|
|
8524
|
-
success?: () => void
|
|
8499
|
+
success?: (params: null) => void
|
|
8525
8500
|
/** 接口调用失败的回调函数 */
|
|
8526
8501
|
fail?: (params: {
|
|
8527
8502
|
/** 错误信息 */
|
|
@@ -8553,7 +8528,7 @@ declare namespace ty {
|
|
|
8553
8528
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
8554
8529
|
complete?: () => void
|
|
8555
8530
|
/** 接口调用成功的回调函数 */
|
|
8556
|
-
success?: () => void
|
|
8531
|
+
success?: (params: null) => void
|
|
8557
8532
|
/** 接口调用失败的回调函数 */
|
|
8558
8533
|
fail?: (params: {
|
|
8559
8534
|
/** 错误信息 */
|
|
@@ -8585,7 +8560,7 @@ declare namespace ty {
|
|
|
8585
8560
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
8586
8561
|
complete?: () => void
|
|
8587
8562
|
/** 接口调用成功的回调函数 */
|
|
8588
|
-
success?: () => void
|
|
8563
|
+
success?: (params: null) => void
|
|
8589
8564
|
/** 接口调用失败的回调函数 */
|
|
8590
8565
|
fail?: (params: {
|
|
8591
8566
|
/** 错误信息 */
|
|
@@ -8643,7 +8618,7 @@ declare namespace ty {
|
|
|
8643
8618
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
8644
8619
|
complete?: () => void
|
|
8645
8620
|
/** 接口调用成功的回调函数 */
|
|
8646
|
-
success?: () => void
|
|
8621
|
+
success?: (params: null) => void
|
|
8647
8622
|
/** 接口调用失败的回调函数 */
|
|
8648
8623
|
fail?: (params: {
|
|
8649
8624
|
/** 错误信息 */
|
|
@@ -8670,7 +8645,7 @@ declare namespace ty {
|
|
|
8670
8645
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
8671
8646
|
complete?: () => void
|
|
8672
8647
|
/** 接口调用成功的回调函数 */
|
|
8673
|
-
success?: () => void
|
|
8648
|
+
success?: (params: null) => void
|
|
8674
8649
|
/** 接口调用失败的回调函数 */
|
|
8675
8650
|
fail?: (params: {
|
|
8676
8651
|
/** 错误信息 */
|
|
@@ -8702,7 +8677,7 @@ declare namespace ty {
|
|
|
8702
8677
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
8703
8678
|
complete?: () => void
|
|
8704
8679
|
/** 接口调用成功的回调函数 */
|
|
8705
|
-
success?: () => void
|
|
8680
|
+
success?: (params: null) => void
|
|
8706
8681
|
/** 接口调用失败的回调函数 */
|
|
8707
8682
|
fail?: (params: {
|
|
8708
8683
|
/** 错误信息 */
|
|
@@ -8734,7 +8709,7 @@ declare namespace ty {
|
|
|
8734
8709
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
8735
8710
|
complete?: () => void
|
|
8736
8711
|
/** 接口调用成功的回调函数 */
|
|
8737
|
-
success?: () => void
|
|
8712
|
+
success?: (params: null) => void
|
|
8738
8713
|
/** 接口调用失败的回调函数 */
|
|
8739
8714
|
fail?: (params: {
|
|
8740
8715
|
/** 错误信息 */
|
|
@@ -8771,7 +8746,7 @@ declare namespace ty {
|
|
|
8771
8746
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
8772
8747
|
complete?: () => void
|
|
8773
8748
|
/** 接口调用成功的回调函数 */
|
|
8774
|
-
success?: () => void
|
|
8749
|
+
success?: (params: null) => void
|
|
8775
8750
|
/** 接口调用失败的回调函数 */
|
|
8776
8751
|
fail?: (params: {
|
|
8777
8752
|
/** 错误信息 */
|
|
@@ -8882,7 +8857,7 @@ declare namespace ty {
|
|
|
8882
8857
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
8883
8858
|
complete?: () => void
|
|
8884
8859
|
/** 接口调用成功的回调函数 */
|
|
8885
|
-
success?: () => void
|
|
8860
|
+
success?: (params: null) => void
|
|
8886
8861
|
/** 接口调用失败的回调函数 */
|
|
8887
8862
|
fail?: (params: {
|
|
8888
8863
|
/** 错误信息 */
|
|
@@ -8910,7 +8885,7 @@ declare namespace ty {
|
|
|
8910
8885
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
8911
8886
|
complete?: () => void
|
|
8912
8887
|
/** 接口调用成功的回调函数 */
|
|
8913
|
-
success?: () => void
|
|
8888
|
+
success?: (params: null) => void
|
|
8914
8889
|
/** 接口调用失败的回调函数 */
|
|
8915
8890
|
fail?: (params: {
|
|
8916
8891
|
/** 错误信息 */
|
|
@@ -8942,7 +8917,7 @@ declare namespace ty {
|
|
|
8942
8917
|
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
8943
8918
|
complete?: () => void
|
|
8944
8919
|
/** 接口调用成功的回调函数 */
|
|
8945
|
-
success?: () => void
|
|
8920
|
+
success?: (params: null) => void
|
|
8946
8921
|
/** 接口调用失败的回调函数 */
|
|
8947
8922
|
fail?: (params: {
|
|
8948
8923
|
/** 错误信息 */
|