@gjzq/sdk 1.0.2
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/LICENSE +21 -0
- package/README.md +81 -0
- package/dist/LICENSE +21 -0
- package/dist/README.md +3 -0
- package/dist/index.d.ts +956 -0
- package/dist/index.esm.js +1 -0
- package/dist/index.js +1 -0
- package/dist/package.json +13 -0
- package/package.json +83 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,956 @@
|
|
|
1
|
+
import { AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
2
|
+
|
|
3
|
+
type AddCalendarParams = {
|
|
4
|
+
title: string;
|
|
5
|
+
start: number;
|
|
6
|
+
end?: number;
|
|
7
|
+
remindMinutes?: number;
|
|
8
|
+
repeat?: number;
|
|
9
|
+
location?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* 添加日历事件 3022
|
|
14
|
+
* @function addCalendar
|
|
15
|
+
* @param {AddCalendarParams} param
|
|
16
|
+
* @returns {Promise<object>}
|
|
17
|
+
*/
|
|
18
|
+
declare const addCalendar: (param: AddCalendarParams) => Promise<object>;
|
|
19
|
+
|
|
20
|
+
type PortfolioParams$1 = {
|
|
21
|
+
stockCode: string;
|
|
22
|
+
codeType?: number;
|
|
23
|
+
stockName?: string;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* 添加股票至自选股 4011
|
|
27
|
+
* @function addToPortfolio
|
|
28
|
+
* @param {PortfolioParams} param 参数
|
|
29
|
+
* @returns {Promise<object>} 返回值
|
|
30
|
+
*/
|
|
31
|
+
declare const addToPortfolio: (param: PortfolioParams$1) => Promise<object | null>;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* 调用银联继承的apple pay支付功能 3021
|
|
35
|
+
* @function applePay
|
|
36
|
+
* @param {object} orderInfo orderInfo
|
|
37
|
+
* @param {String} mode "00" 代表接入生产环境 "01"代表接入开发测试环境
|
|
38
|
+
* @retruns {Promise<object>} 返回结果
|
|
39
|
+
*/
|
|
40
|
+
declare const appleChinaPay: (orderInfo: object, mode: string | null) => Promise<object | null>;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* 调用银联继承的apple pay支付功能 3020
|
|
44
|
+
* @function appleUnionPay
|
|
45
|
+
* @param {String} tn 交易流水号
|
|
46
|
+
* @param {String} mID 苹果公司分配的商铺号
|
|
47
|
+
* @param {String} mode "00" 代表接入生产环境 "01"代表接入开发测试环境
|
|
48
|
+
* @retruns {Promise<object>} 返回结果
|
|
49
|
+
*/
|
|
50
|
+
declare const appleUnionPay: (tn: string, mID: string, mode: string | null) => Promise<object | null>;
|
|
51
|
+
|
|
52
|
+
type ApplyPermissionParams = {
|
|
53
|
+
permission?: number;
|
|
54
|
+
permissions: string;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* 申请系统权限(安卓) 3019
|
|
58
|
+
* @function applyPermission
|
|
59
|
+
* @param {ApplyPermissionParams} param
|
|
60
|
+
* @returns {Promise<object>}
|
|
61
|
+
*/
|
|
62
|
+
declare const applyPermission: (param: ApplyPermissionParams) => Promise<object>;
|
|
63
|
+
|
|
64
|
+
interface BindInfoData {
|
|
65
|
+
userId?: string;
|
|
66
|
+
passportId?: string;
|
|
67
|
+
YJB_userId?: string;
|
|
68
|
+
clientId?: string;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @param data
|
|
73
|
+
* 2025.01.02 经讨论 退登不解绑!!
|
|
74
|
+
*/
|
|
75
|
+
declare function bindInfo(data: BindInfoData): void;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @param params
|
|
80
|
+
* user_unique_id => clientId
|
|
81
|
+
* pid
|
|
82
|
+
* userId
|
|
83
|
+
* 若finder已初始化,则直接绑定
|
|
84
|
+
* 若未初始化,则加入全局变量中。待finder初始化后,由collect中initFinder方法后调用
|
|
85
|
+
*/
|
|
86
|
+
declare function bindInfoFunc(params: object): void;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* call 功能组件
|
|
90
|
+
*/
|
|
91
|
+
declare const call: (phoneNumber: string) => void;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* 调用拨号功能
|
|
95
|
+
* @function callphone
|
|
96
|
+
* @param {string} phonenum 手机号码
|
|
97
|
+
* @returns {Promise<any>}
|
|
98
|
+
*/
|
|
99
|
+
declare const callphone: (phonenum: string) => Promise<void>;
|
|
100
|
+
|
|
101
|
+
type ChooseImgParams = {
|
|
102
|
+
source?: number;
|
|
103
|
+
front?: number;
|
|
104
|
+
size?: number;
|
|
105
|
+
compressionQuality?: number;
|
|
106
|
+
floatingLayer?: number;
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* 选择照片 3004
|
|
110
|
+
* @function chooseImg
|
|
111
|
+
* @param {ChooseImgParams} param
|
|
112
|
+
* {<br />
|
|
113
|
+
* source: 0-从相册选择,1-拍照<br />
|
|
114
|
+
* front: 0-后置摄像头,1-前置摄像头<br />
|
|
115
|
+
* size: 客户端需要将图片高或者宽中较大的一边,缩小到这个size,然后将另一边按比例缩放<br />
|
|
116
|
+
* compressionQuality:JPEG压缩比例,范围为0.0-1.0。size和压缩比暂定1200和0.6,后续可调整。<br />
|
|
117
|
+
* floatingLayer:浮层类型,仅在source为1时生效。0没有,1身份证正面(人头),2身份证反面(国徽),3自拍头像。<br />
|
|
118
|
+
* }<br />
|
|
119
|
+
* @returns {Promise<object>} 返回值<br/>
|
|
120
|
+
* code 0成功,1失败,2取消。<br />
|
|
121
|
+
* result.data: base64编码的图片信息
|
|
122
|
+
*/
|
|
123
|
+
declare const chooseImg: (param: ChooseImgParams) => Promise<object>;
|
|
124
|
+
|
|
125
|
+
type ChooseVideoParams = {
|
|
126
|
+
front?: number;
|
|
127
|
+
width?: number;
|
|
128
|
+
height?: number;
|
|
129
|
+
duration?: number;
|
|
130
|
+
bitRate?: number;
|
|
131
|
+
fps?: number;
|
|
132
|
+
title?: string;
|
|
133
|
+
content?: string;
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* 客户端本地录制视频 3009
|
|
137
|
+
* @function chooseVideo
|
|
138
|
+
* @param {ChooseVideoParams} param
|
|
139
|
+
* {
|
|
140
|
+
* front number 0代表非前置(后置)摄像头,1代表前置摄像头。
|
|
141
|
+
* width number 视频宽度
|
|
142
|
+
* height number 视频高度
|
|
143
|
+
* duration number 视频最大长度,单位秒,默认-1,不限制视频长度。
|
|
144
|
+
* bitRate number 码率
|
|
145
|
+
* fps number 帧数
|
|
146
|
+
* title string 录制屏幕上方显示的标题(例如“请用标准普通话匀速朗读”)
|
|
147
|
+
* content string 录制屏幕上方显示的正文(例如“本人自愿在国金证券开户”)
|
|
148
|
+
* }
|
|
149
|
+
* @returns {Promise<object>} Promise<object>
|
|
150
|
+
* code 0成功,1失败,2取消。
|
|
151
|
+
* result.filePath: 客户端存储视频的本地路径。
|
|
152
|
+
* result.fileSize: 视频文件大小
|
|
153
|
+
* result.duration: 视频文件长度
|
|
154
|
+
*/
|
|
155
|
+
declare const chooseVideo: (param: ChooseVideoParams) => Promise<object>;
|
|
156
|
+
|
|
157
|
+
type ClientJumpParams = {
|
|
158
|
+
type: number;
|
|
159
|
+
stockCode?: string;
|
|
160
|
+
codeType?: number;
|
|
161
|
+
tabName?: string;
|
|
162
|
+
exchangeType?: string;
|
|
163
|
+
stockAccount?: string;
|
|
164
|
+
tradeType?: number;
|
|
165
|
+
isReopen?: number;
|
|
166
|
+
bondPeriod?: number;
|
|
167
|
+
mobileCode?: string;
|
|
168
|
+
mobileCodeStyle?: number;
|
|
169
|
+
isSTIB?: number;
|
|
170
|
+
listKeys?: string;
|
|
171
|
+
title?: string;
|
|
172
|
+
};
|
|
173
|
+
/**
|
|
174
|
+
* 客户端本地页面跳转 4002
|
|
175
|
+
* @function clientJump
|
|
176
|
+
* @param {ClientJumpParams} param
|
|
177
|
+
*/
|
|
178
|
+
declare const clientJump: (params: ClientJumpParams) => void;
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* 关闭webview的loading页面 3017
|
|
182
|
+
* @function closeLoading
|
|
183
|
+
* @returns {Promise<object>}
|
|
184
|
+
*/
|
|
185
|
+
declare const closeLoading: () => Promise<object>;
|
|
186
|
+
|
|
187
|
+
type CloseParams = {
|
|
188
|
+
type?: number;
|
|
189
|
+
rootType?: number;
|
|
190
|
+
url?: string;
|
|
191
|
+
};
|
|
192
|
+
declare function closePage(params: CloseParams): void;
|
|
193
|
+
|
|
194
|
+
type DeleteCalendarParams = {
|
|
195
|
+
eventIds: string[];
|
|
196
|
+
};
|
|
197
|
+
/**
|
|
198
|
+
* 删除日历事件 3024
|
|
199
|
+
* @function vivoDetection
|
|
200
|
+
* @param {DeleteCalendarParams} param
|
|
201
|
+
* @returns {Promise<object>}
|
|
202
|
+
*/
|
|
203
|
+
declare const deleteCalendar: (param: DeleteCalendarParams) => Promise<object>;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* 完成适当性测评,关闭webview,继续登录前的操作 4009
|
|
207
|
+
* @function doneSuitability
|
|
208
|
+
* @param {number} loginType 登录类型 见:login
|
|
209
|
+
* @param {number} isValid 是否完成:0-未完成,1-已完成
|
|
210
|
+
*/
|
|
211
|
+
declare const doneSuitability: (loginType: number, isValid: number) => void;
|
|
212
|
+
|
|
213
|
+
type execType = {
|
|
214
|
+
funcId: number;
|
|
215
|
+
param: object;
|
|
216
|
+
respCallback: (params: object) => void;
|
|
217
|
+
noNativeInterfaceAvailable: (params: object) => void;
|
|
218
|
+
};
|
|
219
|
+
/**
|
|
220
|
+
* exec 功能组件
|
|
221
|
+
*/
|
|
222
|
+
declare function exec({ funcId, param, respCallback, noNativeInterfaceAvailable }: execType): void;
|
|
223
|
+
|
|
224
|
+
declare function getAppId(): Promise<string | undefined>;
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* 获取AppVersion
|
|
228
|
+
*/
|
|
229
|
+
declare function getAppVersion(): Promise<string | null>;
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* 获取资金流向数据 4017
|
|
233
|
+
* @function getCapital
|
|
234
|
+
* @param {String} code 渠道编号
|
|
235
|
+
* @param {number} codeType 渠道编号
|
|
236
|
+
* @retruns {Promise<object>} 返回结果
|
|
237
|
+
*/
|
|
238
|
+
declare const getCapital: (code: string, codeType: number) => Promise<object | null>;
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* getInterfaceVersion 功能组件
|
|
242
|
+
*/
|
|
243
|
+
declare function getInterfaceVersion(): Promise<string | null>;
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* 获取登录状态 4012
|
|
247
|
+
* @function getLoginStatus
|
|
248
|
+
* @param {function} callback callback接收结果作为参数
|
|
249
|
+
*/
|
|
250
|
+
declare const getLoginStatus: () => Promise<number | null>;
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* 获取页面路径
|
|
254
|
+
* @function getPagePath
|
|
255
|
+
* @returns {string}
|
|
256
|
+
*/
|
|
257
|
+
declare const getPagePath: () => string;
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* getSystemVersion 功能组件
|
|
261
|
+
*/
|
|
262
|
+
declare function getSystemVersion(): Promise<string | null>;
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
*
|
|
266
|
+
* @returns 获取UDID
|
|
267
|
+
*/
|
|
268
|
+
declare function getUDID(): Promise<string | null>;
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
*
|
|
272
|
+
* @returns 获取UID
|
|
273
|
+
*/
|
|
274
|
+
declare function getUID(): Promise<string | null>;
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* 获取与channelId对应的ukeys 4012
|
|
278
|
+
* @param {String} channelId 渠道编号
|
|
279
|
+
* @function getukeys
|
|
280
|
+
* @returns {Promise<string>} 获取成功后,callback接收ukey作为参数(获取失败时,返回null)
|
|
281
|
+
*/
|
|
282
|
+
declare const getUkeyByChannelId: (channelId: string) => Promise<string | null>;
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* 获取与channelId对应的userUKeys 4012
|
|
286
|
+
* @param {String} channelId 渠道编号
|
|
287
|
+
* @function getUserUKeys
|
|
288
|
+
* @returns {Promise<string>} 获取成功后,callback接收ukey作为参数(获取失败时,返回null)
|
|
289
|
+
*/
|
|
290
|
+
declare const getUserUKeysByChannelId: (channelId: string) => Promise<string | null>;
|
|
291
|
+
|
|
292
|
+
type WechatUserInfoOptions = {
|
|
293
|
+
code: string;
|
|
294
|
+
account_name?: string;
|
|
295
|
+
app_name?: string;
|
|
296
|
+
};
|
|
297
|
+
/**
|
|
298
|
+
* 获取微信用户信息
|
|
299
|
+
*/
|
|
300
|
+
declare const getWechatUserInfo: (options: WechatUserInfoOptions) => Promise<unknown>;
|
|
301
|
+
|
|
302
|
+
type goAlipayResult = {
|
|
303
|
+
message: string;
|
|
304
|
+
result: string | object;
|
|
305
|
+
code: number;
|
|
306
|
+
};
|
|
307
|
+
/**
|
|
308
|
+
* @description 端内支付宝支付,功能号:3012
|
|
309
|
+
* @param {string} order 支付订单参数
|
|
310
|
+
* goAlipay 功能组件
|
|
311
|
+
*/
|
|
312
|
+
declare function goAlipay(order: string): Promise<goAlipayResult>;
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* 页面返回
|
|
316
|
+
* @function goBackPage
|
|
317
|
+
* @param {CloseParams} config 设置参数
|
|
318
|
+
* @returns {Promise<void>}
|
|
319
|
+
*/
|
|
320
|
+
declare const goBackPage: (config?: CloseParams) => Promise<void>;
|
|
321
|
+
|
|
322
|
+
type goWechatCustomServiceParams = {
|
|
323
|
+
corpId?: string;
|
|
324
|
+
url?: string;
|
|
325
|
+
};
|
|
326
|
+
/**
|
|
327
|
+
* 跳转微信客服页面 3039
|
|
328
|
+
* @function goWechatCustomService
|
|
329
|
+
* @param {goWechatCustomServiceParams} param
|
|
330
|
+
* @retruns {Promise<object>} 返回结果
|
|
331
|
+
*/
|
|
332
|
+
declare const goWechatCustomService: (param: goWechatCustomServiceParams) => Promise<object>;
|
|
333
|
+
|
|
334
|
+
type goWechatPaymentResult = {
|
|
335
|
+
code: number;
|
|
336
|
+
message: string;
|
|
337
|
+
result: object;
|
|
338
|
+
};
|
|
339
|
+
/**
|
|
340
|
+
* @description goWechatPayment 微信支付功能
|
|
341
|
+
* @param {WechatPayParams} params 微信支付参数
|
|
342
|
+
* @returns {Promise<object>} 微信支付返回的信息
|
|
343
|
+
*/
|
|
344
|
+
type WechatPayParams = {
|
|
345
|
+
appId: string;
|
|
346
|
+
partnerId: string;
|
|
347
|
+
prepayId: string;
|
|
348
|
+
nonceStr: string;
|
|
349
|
+
timeStamp: string;
|
|
350
|
+
packageStr: string;
|
|
351
|
+
sign: string;
|
|
352
|
+
};
|
|
353
|
+
declare function goWechatPayment(params: WechatPayParams): Promise<goWechatPaymentResult>;
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* 微信分享 3015
|
|
357
|
+
* @function goWeChatShare
|
|
358
|
+
* @param {any} param 分享参数 (第三方参数透传,请查看native文档)
|
|
359
|
+
* @returns {Promise<object>} 微信分享返回的信息
|
|
360
|
+
*/
|
|
361
|
+
declare const goWeChatShare: (params: object) => Promise<object>;
|
|
362
|
+
|
|
363
|
+
declare enum LoginTypeEnum {
|
|
364
|
+
'($userId)' = "u",
|
|
365
|
+
'($passportId)' = "p",
|
|
366
|
+
'($clientId)' = "1",
|
|
367
|
+
'($fundAccount)' = "1",
|
|
368
|
+
'($fundPassword)' = "1",
|
|
369
|
+
'($fundAccountType)' = "1",
|
|
370
|
+
'($marginAccount)' = "2",
|
|
371
|
+
'($marginPassword)' = "2"
|
|
372
|
+
}
|
|
373
|
+
declare enum ReadFileType {
|
|
374
|
+
OFFICE = 1,
|
|
375
|
+
PDF = 2
|
|
376
|
+
}
|
|
377
|
+
type OpenParams = {
|
|
378
|
+
url?: string;
|
|
379
|
+
fullScreen?: number;
|
|
380
|
+
navBarStyle?: number;
|
|
381
|
+
navBarBgColor?: string;
|
|
382
|
+
title?: string;
|
|
383
|
+
titleColor?: string;
|
|
384
|
+
subtitle?: string;
|
|
385
|
+
subtitleColor?: string;
|
|
386
|
+
leftType?: number;
|
|
387
|
+
rightType?: number;
|
|
388
|
+
leftText?: string;
|
|
389
|
+
leftTextColor?: string;
|
|
390
|
+
rightText?: string;
|
|
391
|
+
rightTextColor?: string;
|
|
392
|
+
leftJS?: string;
|
|
393
|
+
rightJS?: string;
|
|
394
|
+
leftURL?: string;
|
|
395
|
+
rightURL?: string;
|
|
396
|
+
leftButtons?: number[];
|
|
397
|
+
rightButtons?: number[];
|
|
398
|
+
condition?: number;
|
|
399
|
+
animated?: number;
|
|
400
|
+
skinType?: number;
|
|
401
|
+
canRefresh?: number;
|
|
402
|
+
refreshJS?: string;
|
|
403
|
+
showLoadingPage?: string;
|
|
404
|
+
keepActive?: number;
|
|
405
|
+
enableSwipeLeftGoBack?: number;
|
|
406
|
+
};
|
|
407
|
+
type HttpResponse<T = unknown> = {
|
|
408
|
+
code: number;
|
|
409
|
+
message?: string;
|
|
410
|
+
data?: T;
|
|
411
|
+
};
|
|
412
|
+
|
|
413
|
+
interface HttpRequestConfig extends AxiosRequestConfig {
|
|
414
|
+
directResponse?: boolean;
|
|
415
|
+
notParseResponse?: boolean;
|
|
416
|
+
beginLoginBackUrl?: string;
|
|
417
|
+
LoginAction?: (loginType: LoginTypeEnum) => Promise<boolean | void>;
|
|
418
|
+
}
|
|
419
|
+
interface HttpInterface extends AxiosInstance {
|
|
420
|
+
request<T = unknown>(config: HttpRequestConfig): Promise<T>;
|
|
421
|
+
get<T = unknown>(url: string, config?: HttpRequestConfig): Promise<T>;
|
|
422
|
+
delete<T = unknown>(url: string, config?: HttpRequestConfig): Promise<T>;
|
|
423
|
+
head<T = unknown>(url: string, config?: HttpRequestConfig): Promise<T>;
|
|
424
|
+
options<T = unknown>(url: string, config?: HttpRequestConfig): Promise<T>;
|
|
425
|
+
post<T = unknown>(url: string, data?: unknown, config?: HttpRequestConfig): Promise<T>;
|
|
426
|
+
put<T = unknown>(url: string, data?: unknown, config?: HttpRequestConfig): Promise<T>;
|
|
427
|
+
patch<T = unknown>(url: string, data?: unknown, config?: HttpRequestConfig): Promise<T>;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
declare const http: HttpInterface;
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* 获取PassportId-依赖内部环境 4004
|
|
434
|
+
* @param {SaveFileInDiskParams} param
|
|
435
|
+
* @function hybridGetPassport
|
|
436
|
+
* @returns {void}
|
|
437
|
+
*/
|
|
438
|
+
declare const hybridGetPassport: () => Promise<string | null>;
|
|
439
|
+
|
|
440
|
+
/**
|
|
441
|
+
* 获取PassportId-依赖内部环境 4004
|
|
442
|
+
* @param {SaveFileInDiskParams} param
|
|
443
|
+
* @function hybridGetPassport
|
|
444
|
+
* @returns {void}
|
|
445
|
+
*/
|
|
446
|
+
declare const hybridGetUserId: () => Promise<string | null>;
|
|
447
|
+
|
|
448
|
+
type TInitFinder = {
|
|
449
|
+
app_id: string | number;
|
|
450
|
+
env: string;
|
|
451
|
+
Native?: boolean;
|
|
452
|
+
enable_native?: boolean;
|
|
453
|
+
disable_auto_pv?: boolean;
|
|
454
|
+
spa?: boolean;
|
|
455
|
+
enable_ab_test?: boolean;
|
|
456
|
+
cross_subdomain?: boolean;
|
|
457
|
+
cookie_domain?: string;
|
|
458
|
+
max_report?: number | string;
|
|
459
|
+
reportTime?: number | string;
|
|
460
|
+
timeout?: number | string;
|
|
461
|
+
enable_custom_webid?: boolean;
|
|
462
|
+
disable_ab_reset?: boolean;
|
|
463
|
+
enable_stay_duration?: boolean;
|
|
464
|
+
};
|
|
465
|
+
declare const initFinder: (params: TInitFinder) => Promise<void>;
|
|
466
|
+
|
|
467
|
+
type loginResult = {
|
|
468
|
+
result: any;
|
|
469
|
+
errStr?: string;
|
|
470
|
+
message: string;
|
|
471
|
+
code: number | string;
|
|
472
|
+
errCode?: number | string;
|
|
473
|
+
};
|
|
474
|
+
type LoginParams = {
|
|
475
|
+
type?: 1 | 2 | 16;
|
|
476
|
+
needPassportId?: 0 | 1;
|
|
477
|
+
needStockAccount?: 0 | 1;
|
|
478
|
+
fundAccount?: string | number;
|
|
479
|
+
};
|
|
480
|
+
/**
|
|
481
|
+
* @description 端内登录组件
|
|
482
|
+
* @param {LoginParams} params 登录参数
|
|
483
|
+
* @returns {loginResult} 返回结果
|
|
484
|
+
*/
|
|
485
|
+
declare function login(params?: LoginParams): Promise<loginResult>;
|
|
486
|
+
|
|
487
|
+
type loginWithAccountParams = {
|
|
488
|
+
fundAccount?: string;
|
|
489
|
+
type?: number;
|
|
490
|
+
unspecified?: number;
|
|
491
|
+
needPassportId?: number;
|
|
492
|
+
needStockAccount?: number;
|
|
493
|
+
};
|
|
494
|
+
type LoginResponse = {
|
|
495
|
+
errCode: number;
|
|
496
|
+
errStr: string;
|
|
497
|
+
[key: string]: unknown;
|
|
498
|
+
};
|
|
499
|
+
/**
|
|
500
|
+
* 登录代入资金账号-调用前需要判断版本号 4030
|
|
501
|
+
* @function
|
|
502
|
+
* @param {loginWithAccountParams} params
|
|
503
|
+
* @param {Promise<LoginResponse>} 结果:0 - 登录成功; 1 - 取消登录; -2 - 参数格式错误; 其他值-换登功能号返回
|
|
504
|
+
*/
|
|
505
|
+
declare const loginWithAccount: (params: loginWithAccountParams) => Promise<LoginResponse>;
|
|
506
|
+
|
|
507
|
+
type LogoutParams = {
|
|
508
|
+
type: number;
|
|
509
|
+
};
|
|
510
|
+
/**
|
|
511
|
+
* 注销登录 4001
|
|
512
|
+
* @function logout
|
|
513
|
+
* @param {LogoutParams} param
|
|
514
|
+
* 登录类型: <br>
|
|
515
|
+
* 1-普通登录<br>
|
|
516
|
+
* 2-信用登录<br>
|
|
517
|
+
* 3-担保品划转登录(普通+信用)<br>
|
|
518
|
+
* 4-通行证passport登录<br>
|
|
519
|
+
* 5-普通+passort登录<br>
|
|
520
|
+
*/
|
|
521
|
+
declare const logout: (param: LogoutParams) => void;
|
|
522
|
+
|
|
523
|
+
type multiLoginParams = {
|
|
524
|
+
[key: string]: unknown;
|
|
525
|
+
};
|
|
526
|
+
/**
|
|
527
|
+
* multiLogin 功能组件
|
|
528
|
+
*/
|
|
529
|
+
declare function multiLogin(param: multiLoginParams): Promise<HttpResponse>;
|
|
530
|
+
|
|
531
|
+
declare const native2011IOOperation: (options: object) => void;
|
|
532
|
+
|
|
533
|
+
type nativeIOOperationType = {
|
|
534
|
+
code: number;
|
|
535
|
+
options: object;
|
|
536
|
+
};
|
|
537
|
+
/**
|
|
538
|
+
* nativeIOOperation 功能组件
|
|
539
|
+
*/
|
|
540
|
+
declare function nativeIOOperation(code: number, options: object): Promise<object>;
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* onAppear 2011
|
|
544
|
+
* @function onAppear
|
|
545
|
+
* @param {any} fn
|
|
546
|
+
*/
|
|
547
|
+
declare const onAppear: (fn: unknown) => void;
|
|
548
|
+
|
|
549
|
+
/**
|
|
550
|
+
* onBackKeyPressed 2011
|
|
551
|
+
* @function onBackKeyPressed
|
|
552
|
+
* @param {any} fn
|
|
553
|
+
*/
|
|
554
|
+
declare const onBackKeyPressed: (fn: unknown) => void;
|
|
555
|
+
|
|
556
|
+
/**
|
|
557
|
+
* onClose 2011
|
|
558
|
+
* @function onClose
|
|
559
|
+
* @param {any} fn
|
|
560
|
+
*/
|
|
561
|
+
declare const onClose: (fn: unknown) => void;
|
|
562
|
+
|
|
563
|
+
/**
|
|
564
|
+
* onDisappear 2011
|
|
565
|
+
* @function onDisappear
|
|
566
|
+
* @param {any} fn
|
|
567
|
+
*/
|
|
568
|
+
declare const onDisappear: (fn: unknown) => void;
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* onAppear 2011
|
|
572
|
+
* @function onSkinChanged
|
|
573
|
+
* @param {any} fn
|
|
574
|
+
*/
|
|
575
|
+
declare const onSkinChanged: (fn: unknown) => void;
|
|
576
|
+
|
|
577
|
+
type OpenAppParams = {
|
|
578
|
+
appURL: string;
|
|
579
|
+
rodownloadURLotType?: string;
|
|
580
|
+
};
|
|
581
|
+
/**
|
|
582
|
+
* 客户端打开其它App 3002
|
|
583
|
+
* @function openApp
|
|
584
|
+
* @param {OpenAppParams} param
|
|
585
|
+
*/
|
|
586
|
+
declare const openApp: (param: OpenAppParams) => void;
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* 打开新的webview 2007 2008
|
|
590
|
+
* @function openPage
|
|
591
|
+
* @param {OpenParams} params 参数
|
|
592
|
+
* url {string} 当前需要打开的url地址
|
|
593
|
+
* fullScreen {number} 是否全屏展示 0-否,1-是 在展示资讯内容的时候有需要全屏展示
|
|
594
|
+
* title {string} 页面的标题,如果不传或者传空,在load结束时,使用H5的标题。
|
|
595
|
+
* leftType {number} "按钮类型 v0-没有按钮 1-返回 98-图片自定义(设置按钮为图片格式)" 99-自定义(设置为默认底图,显示对应文本)"
|
|
596
|
+
* rightType {number} 类型同上
|
|
597
|
+
* leftText {string} 当type=98时图片的地址,当type=99时按钮标题
|
|
598
|
+
* rightText {string} 当type=98时图片的地址,当type=99时右边按钮标题
|
|
599
|
+
* leftJS {string} 点击左边按钮,调用的js函数名或者js语句块,客户端直接调用即可,如果是函数,H5传值需为”functionName()”而不是functionName。
|
|
600
|
+
* rightJS {string} 点击右边按钮,调用的js函数名或者js语句块,客户端直接调用即可,如果是函数,H5传值需为”functionName()”而不是functionName。
|
|
601
|
+
* leftURL {string} 点击左边按钮,跳转的链接地址,未设置leftJS有效
|
|
602
|
+
* rightURL {string} 点击右边按钮,跳转的链接地址,未设置rightJS有效
|
|
603
|
+
* animated {number} 跳转是否有动画,0为没有,1为有
|
|
604
|
+
* showLoadingPage {number} 0:不显示loading效果,1:显示loading效果
|
|
605
|
+
* @param {boolean} needCloseCurrentView 是否需要关闭当前webview
|
|
606
|
+
*/
|
|
607
|
+
declare function openPage(params: OpenParams, needCloseCurrentView?: boolean): void;
|
|
608
|
+
|
|
609
|
+
interface PageConfig$2 {
|
|
610
|
+
title?: string;
|
|
611
|
+
leftType?: number;
|
|
612
|
+
rightType?: number;
|
|
613
|
+
rightText?: string;
|
|
614
|
+
rightJS?: string;
|
|
615
|
+
[key: string]: unknown;
|
|
616
|
+
}
|
|
617
|
+
/**
|
|
618
|
+
* 打开新页面
|
|
619
|
+
* @function pageInit
|
|
620
|
+
* @param {string} URL 页面URL
|
|
621
|
+
* @param {boolean} needCloseCurrentView 是否需要关闭当前页面 缺省false
|
|
622
|
+
* @param {object} config 打开页面参数
|
|
623
|
+
* @returns {Promise<void>}
|
|
624
|
+
*/
|
|
625
|
+
declare const pageInit: (URL: string, needCloseCurrentView?: boolean, config?: PageConfig$2) => Promise<void>;
|
|
626
|
+
|
|
627
|
+
interface PageConfig$1 {
|
|
628
|
+
title?: string;
|
|
629
|
+
[key: string]: unknown;
|
|
630
|
+
}
|
|
631
|
+
/**
|
|
632
|
+
* 打开新页面并写入集群SESSION
|
|
633
|
+
* @function pageInitWithSession
|
|
634
|
+
* @param {number} loginType 登录类型
|
|
635
|
+
* @param {string} URL 跳转URL
|
|
636
|
+
* @param {boolean} needCloseCurrentView 是否需要关闭当前页
|
|
637
|
+
* @param {object} config 页面跳转参数
|
|
638
|
+
* @returns {Promise<void>}
|
|
639
|
+
*/
|
|
640
|
+
declare const pageInitWithSession: (loginType: number, URL: string, needCloseCurrentView: boolean, config?: PageConfig$1) => Promise<void>;
|
|
641
|
+
|
|
642
|
+
interface PageConfig {
|
|
643
|
+
title?: string;
|
|
644
|
+
[key: string]: unknown;
|
|
645
|
+
}
|
|
646
|
+
/**
|
|
647
|
+
* 打开新页面并生成token
|
|
648
|
+
* @function pageInitWithToken
|
|
649
|
+
* @param {number} loginType 登录类型
|
|
650
|
+
* @param {string} URL 跳转URL
|
|
651
|
+
* @param {boolean} needCloseCurrentView 是否需要关闭当前页
|
|
652
|
+
* @param {object} config 页面跳转参数
|
|
653
|
+
* @returns {Promise<void>}
|
|
654
|
+
*/
|
|
655
|
+
declare const pageInitWithToken: (loginType: number, URL: string, needCloseCurrentView: boolean, config?: PageConfig) => Promise<void>;
|
|
656
|
+
|
|
657
|
+
type PidLoginParams = {
|
|
658
|
+
channelId: string;
|
|
659
|
+
uKey: string;
|
|
660
|
+
};
|
|
661
|
+
/**
|
|
662
|
+
* yjb3.0-passportId登录-phpsession状态同步
|
|
663
|
+
* @function pidLogin
|
|
664
|
+
* @param {PidLoginParams} param
|
|
665
|
+
* @returns {Promise<HttpResponse>}
|
|
666
|
+
*/
|
|
667
|
+
declare function pidLogin(param: PidLoginParams): Promise<HttpResponse>;
|
|
668
|
+
|
|
669
|
+
type ReadFileParams = {
|
|
670
|
+
url: string;
|
|
671
|
+
type?: ReadFileType;
|
|
672
|
+
};
|
|
673
|
+
declare function readFile(param: ReadFileParams): void;
|
|
674
|
+
|
|
675
|
+
type ReadFileInDiskParams = {
|
|
676
|
+
name: string;
|
|
677
|
+
};
|
|
678
|
+
/**
|
|
679
|
+
* 读客户端磁盘文件-依赖内部环境 2005
|
|
680
|
+
* @param {ReadFileInDiskParams} param
|
|
681
|
+
* @function readFileInDisk
|
|
682
|
+
* @returns {Promise<object>} 文件内容
|
|
683
|
+
*/
|
|
684
|
+
declare const readFileInDisk: (param: ReadFileInDiskParams) => Promise<object | null>;
|
|
685
|
+
|
|
686
|
+
type ReadSystemParams = {
|
|
687
|
+
keys?: Array<string>;
|
|
688
|
+
};
|
|
689
|
+
/**
|
|
690
|
+
* 请求客户端非系统参数 4012
|
|
691
|
+
* @function readNoSystemParameter
|
|
692
|
+
* @param {ReadSystemParams} param
|
|
693
|
+
* @returns {Promise}
|
|
694
|
+
*/
|
|
695
|
+
declare const readNoSystemParameter: (param: ReadSystemParams) => Promise<object>;
|
|
696
|
+
|
|
697
|
+
type readSystemParameterParams = {
|
|
698
|
+
keys?: Array<string>;
|
|
699
|
+
};
|
|
700
|
+
/**
|
|
701
|
+
* readSystemParameter 功能组件
|
|
702
|
+
*/
|
|
703
|
+
declare function readSystemParameter(param: readSystemParameterParams): Promise<object>;
|
|
704
|
+
|
|
705
|
+
type readyResult = {
|
|
706
|
+
value: object | undefined;
|
|
707
|
+
};
|
|
708
|
+
/**
|
|
709
|
+
* ready 功能组件
|
|
710
|
+
*/
|
|
711
|
+
declare function ready(): Promise<readyResult>;
|
|
712
|
+
|
|
713
|
+
type PortfolioParams = {
|
|
714
|
+
stockCode: string;
|
|
715
|
+
codeType?: number;
|
|
716
|
+
};
|
|
717
|
+
/**
|
|
718
|
+
* 添加股票至自选股 4020
|
|
719
|
+
* @function addToPortfolio
|
|
720
|
+
* @param {PortfolioParams} param 参数
|
|
721
|
+
* @returns {Promise<object>} 返回值
|
|
722
|
+
*/
|
|
723
|
+
declare const removePortfolio: (param: PortfolioParams) => Promise<object | null>;
|
|
724
|
+
|
|
725
|
+
type SaveFileInDiskParams = {
|
|
726
|
+
name: string;
|
|
727
|
+
data: string;
|
|
728
|
+
encrypt?: number;
|
|
729
|
+
};
|
|
730
|
+
/**
|
|
731
|
+
* 往客户端磁盘写文件-依赖内部环境 2004
|
|
732
|
+
* @param {SaveFileInDiskParams} param
|
|
733
|
+
* @function saveFileInDisk
|
|
734
|
+
* @returns {void}
|
|
735
|
+
*/
|
|
736
|
+
declare const saveFileInDisk: (param: SaveFileInDiskParams) => void;
|
|
737
|
+
|
|
738
|
+
declare const savePictureToPhone: (data: string, imageType?: number) => Promise<object>;
|
|
739
|
+
|
|
740
|
+
/**
|
|
741
|
+
* 二维码扫描 3007
|
|
742
|
+
* @function scanCode
|
|
743
|
+
* @returns {Promise<object>}
|
|
744
|
+
*/
|
|
745
|
+
declare const scanCode: () => Promise<object>;
|
|
746
|
+
|
|
747
|
+
type SelectCalendarParams = {
|
|
748
|
+
eventId?: string;
|
|
749
|
+
start?: number;
|
|
750
|
+
end?: number;
|
|
751
|
+
};
|
|
752
|
+
/**
|
|
753
|
+
* 查询日历事件 3023
|
|
754
|
+
* @function selectCalendar
|
|
755
|
+
* @param {SelectCalendarParams} param
|
|
756
|
+
* @returns {Promise<object>}
|
|
757
|
+
*/
|
|
758
|
+
declare const selectCalendar: (param: SelectCalendarParams) => Promise<object>;
|
|
759
|
+
|
|
760
|
+
type StatusBarParams = {
|
|
761
|
+
style: number;
|
|
762
|
+
};
|
|
763
|
+
/**
|
|
764
|
+
* 设置statusBar样式 3016
|
|
765
|
+
* @function setStatusBar
|
|
766
|
+
* @param {StatusBarParams} param
|
|
767
|
+
* @returns {Promise<object>}
|
|
768
|
+
*/
|
|
769
|
+
declare const setStatusBar: (param: StatusBarParams) => Promise<object>;
|
|
770
|
+
|
|
771
|
+
/**
|
|
772
|
+
* setTitle 功能组件
|
|
773
|
+
*/
|
|
774
|
+
declare function setTitle(param: OpenParams): void;
|
|
775
|
+
|
|
776
|
+
/**
|
|
777
|
+
* 设置标题栏
|
|
778
|
+
* @function setTitle
|
|
779
|
+
* @param {OpenParams} config 设置参数(类open参数)
|
|
780
|
+
* @returns {Promise<any>}
|
|
781
|
+
*/
|
|
782
|
+
declare const setTitles: (config: OpenParams) => Promise<void>;
|
|
783
|
+
|
|
784
|
+
type showAlertParams = {
|
|
785
|
+
url: string;
|
|
786
|
+
};
|
|
787
|
+
type showResult = {
|
|
788
|
+
code: number;
|
|
789
|
+
result: string;
|
|
790
|
+
};
|
|
791
|
+
/**
|
|
792
|
+
* showAlert 功能组件
|
|
793
|
+
*/
|
|
794
|
+
declare const showAlert: (content: string, title?: string, success?: (params?: string) => void) => void;
|
|
795
|
+
|
|
796
|
+
/**
|
|
797
|
+
* 弹出确认提示框
|
|
798
|
+
* @function showConfirm
|
|
799
|
+
* @param {string} content 显示内容
|
|
800
|
+
* @param {function} onConfirm 点击确定后回调
|
|
801
|
+
* @param {function} onCancel 点击取消后回调
|
|
802
|
+
* @param {string} confirmTitle 确定键标题
|
|
803
|
+
* @param {string} cancelTitle 取消键标题
|
|
804
|
+
*/
|
|
805
|
+
declare const showConfirm: (content: string, onConfirm: (param: object) => void, onCancel: (param: object) => void, title?: string, cancelTitle?: string) => void;
|
|
806
|
+
|
|
807
|
+
type StartAnyChatParams = {
|
|
808
|
+
type: number;
|
|
809
|
+
ip?: string;
|
|
810
|
+
port?: number;
|
|
811
|
+
user?: string;
|
|
812
|
+
password?: string;
|
|
813
|
+
room?: number;
|
|
814
|
+
roomPassword?: string;
|
|
815
|
+
statusNotify: string;
|
|
816
|
+
};
|
|
817
|
+
/**
|
|
818
|
+
* AnyChat视频见证 3005
|
|
819
|
+
* @function startAnyChat
|
|
820
|
+
* @param {StartAnyChatParams} param
|
|
821
|
+
* @returns {Promise<object>}
|
|
822
|
+
*/
|
|
823
|
+
declare const startAnyChat: (param: StartAnyChatParams) => Promise<object>;
|
|
824
|
+
|
|
825
|
+
type TTrackEvent = {
|
|
826
|
+
event_name: string;
|
|
827
|
+
page_name: string;
|
|
828
|
+
element_name: string;
|
|
829
|
+
module_name: string;
|
|
830
|
+
eventid?: string | number;
|
|
831
|
+
from_page?: string;
|
|
832
|
+
product_code?: string;
|
|
833
|
+
location?: string;
|
|
834
|
+
remarks?: string;
|
|
835
|
+
};
|
|
836
|
+
/**
|
|
837
|
+
* trackEvent 功能组件
|
|
838
|
+
*/
|
|
839
|
+
declare const trackEvent: (params: TTrackEvent) => "event_name is empty!" | undefined;
|
|
840
|
+
|
|
841
|
+
/**
|
|
842
|
+
* 自动执行initFinder
|
|
843
|
+
*
|
|
844
|
+
*/
|
|
845
|
+
declare const trackInitAuto: () => void;
|
|
846
|
+
|
|
847
|
+
/**
|
|
848
|
+
* 设置公共参数
|
|
849
|
+
* @param params 配置参数
|
|
850
|
+
*/
|
|
851
|
+
type keyPublicValueType = 'userId' | 'pid' | 'YJB_userId';
|
|
852
|
+
declare const trackPublicValue: <T extends Partial<Record<keyPublicValueType, string>>>(params: T) => void;
|
|
853
|
+
|
|
854
|
+
type TTrackUserProfile = {
|
|
855
|
+
pid?: string;
|
|
856
|
+
userId?: string;
|
|
857
|
+
clientId?: string;
|
|
858
|
+
};
|
|
859
|
+
/**
|
|
860
|
+
*
|
|
861
|
+
* @param params
|
|
862
|
+
*/
|
|
863
|
+
declare const trackUserProfile: (params: TTrackUserProfile) => void;
|
|
864
|
+
|
|
865
|
+
/**
|
|
866
|
+
* 设置唯一id及类型
|
|
867
|
+
* 目前支持user_id、client_id、preappoint
|
|
868
|
+
* @param uuid
|
|
869
|
+
* @param uuid_type
|
|
870
|
+
*/
|
|
871
|
+
declare const trackUuid: (uuid: string, uuid_type?: string) => void;
|
|
872
|
+
|
|
873
|
+
type UploadFileparams = {
|
|
874
|
+
url: string;
|
|
875
|
+
name?: string;
|
|
876
|
+
fileName?: string;
|
|
877
|
+
filePath?: string;
|
|
878
|
+
fileData?: string;
|
|
879
|
+
};
|
|
880
|
+
/**
|
|
881
|
+
* uploadFile 功能组件
|
|
882
|
+
*/
|
|
883
|
+
declare function uploadFile(param: UploadFileparams): Promise<object>;
|
|
884
|
+
|
|
885
|
+
/**
|
|
886
|
+
* user登录 4015
|
|
887
|
+
* 回调函数接收返回结果,结果:0 - 登录成功; 1 - 取消登录
|
|
888
|
+
* @function userLogin
|
|
889
|
+
* @returns {Promise<object>} 回调函数接收返回结果,结果:0 - 登录成功; 1 - 取消登录
|
|
890
|
+
*/
|
|
891
|
+
declare const userLogin: (json?: object) => Promise<object>;
|
|
892
|
+
|
|
893
|
+
type userLoginMobileParams = {
|
|
894
|
+
key?: string;
|
|
895
|
+
mobileCode?: string;
|
|
896
|
+
quickLogin?: number;
|
|
897
|
+
};
|
|
898
|
+
/**
|
|
899
|
+
* 用户登录 支持带入手机号 4031
|
|
900
|
+
* @function userLoginMobile
|
|
901
|
+
* @param {userLoginMobileParams} param
|
|
902
|
+
* key string(JSON) json格式字符串,通过tag字段透传给服务端,渠道或活动相关信息
|
|
903
|
+
* mobileCode string 目标登录的手机号
|
|
904
|
+
* quickLogin number 默认为1. 1: 支持启动一键登录,将忽目标手机号 0.启动全屏登录,支持填入目标手机号
|
|
905
|
+
*/
|
|
906
|
+
declare const userLoginMobile: (json: userLoginMobileParams) => Promise<object>;
|
|
907
|
+
|
|
908
|
+
/**
|
|
909
|
+
* user登录用户登录(一键登录弹窗) 4028
|
|
910
|
+
* 回调函数接收返回结果,结果:0 - 登录成功; 1 - 取消登录
|
|
911
|
+
* @function userLogin
|
|
912
|
+
* @returns {Promise<object>} 回调函数接收返回结果,结果:0 - 登录成功; 1 - 取消登录
|
|
913
|
+
*/
|
|
914
|
+
declare const userLoginModal: (json?: object) => Promise<object>;
|
|
915
|
+
|
|
916
|
+
/**
|
|
917
|
+
* 注销用户号登录 4016
|
|
918
|
+
* @function userLogOut
|
|
919
|
+
*/
|
|
920
|
+
declare const userLogOut: () => void;
|
|
921
|
+
|
|
922
|
+
type VivoDetectionParams = {
|
|
923
|
+
allActions?: string;
|
|
924
|
+
timeout?: number;
|
|
925
|
+
count?: number;
|
|
926
|
+
needOrigin?: number;
|
|
927
|
+
};
|
|
928
|
+
/**
|
|
929
|
+
* 活体检测 3018
|
|
930
|
+
* @function VivoDetectionParams
|
|
931
|
+
* @param {VivoDetectionParams} param
|
|
932
|
+
* @returns {Promise<object>}
|
|
933
|
+
*/
|
|
934
|
+
declare const vivoDetection: (param: VivoDetectionParams) => Promise<object>;
|
|
935
|
+
|
|
936
|
+
/**
|
|
937
|
+
* 获取授权链接的参数
|
|
938
|
+
*/
|
|
939
|
+
type WechatAuthOptions = {
|
|
940
|
+
redirect_uri?: string;
|
|
941
|
+
scope?: string;
|
|
942
|
+
account_name?: string;
|
|
943
|
+
app_name?: string;
|
|
944
|
+
};
|
|
945
|
+
/**
|
|
946
|
+
* 佣金宝公众号授权
|
|
947
|
+
*/
|
|
948
|
+
declare const wechatAuth: (options: WechatAuthOptions) => Promise<{
|
|
949
|
+
code: string;
|
|
950
|
+
msg: string;
|
|
951
|
+
} | {
|
|
952
|
+
code: number;
|
|
953
|
+
msg: string;
|
|
954
|
+
} | undefined>;
|
|
955
|
+
|
|
956
|
+
export { type AddCalendarParams, type ApplyPermissionParams, type ChooseImgParams, type ChooseVideoParams, type ClientJumpParams, type CloseParams, type DeleteCalendarParams, type LoginParams, type LogoutParams, type OpenAppParams, type PageConfig$2 as PageConfig, type PidLoginParams, type PortfolioParams$1 as PortfolioParams, type ReadFileInDiskParams, type ReadFileParams, type ReadSystemParams, type SaveFileInDiskParams, type SelectCalendarParams, type StartAnyChatParams, type StatusBarParams, type UploadFileparams, type VivoDetectionParams, type WechatAuthOptions, type WechatPayParams, type WechatUserInfoOptions, addCalendar, addToPortfolio, appleChinaPay, appleUnionPay, applyPermission, bindInfo, bindInfoFunc, call, callphone, chooseImg, chooseVideo, clientJump, closeLoading, closePage, deleteCalendar, doneSuitability, exec, type execType, getAppId, getAppVersion, getCapital, getInterfaceVersion, getLoginStatus, getPagePath, getSystemVersion, getUDID, getUID, getUkeyByChannelId, getUserUKeysByChannelId, getWechatUserInfo, goAlipay, type goAlipayResult, goBackPage, goWeChatShare, goWechatCustomService, type goWechatCustomServiceParams, goWechatPayment, type goWechatPaymentResult, http, hybridGetPassport, hybridGetUserId, initFinder, login, type loginResult, loginWithAccount, type loginWithAccountParams, logout, multiLogin, type multiLoginParams, native2011IOOperation, nativeIOOperation, type nativeIOOperationType, onAppear, onBackKeyPressed, onClose, onDisappear, onSkinChanged, openApp, openPage, pageInit, pageInitWithSession, pageInitWithToken, pidLogin, readFile, readFileInDisk, readNoSystemParameter, readSystemParameter, type readSystemParameterParams, ready, type readyResult, removePortfolio, saveFileInDisk, savePictureToPhone, scanCode, selectCalendar, setStatusBar, setTitle, setTitles, showAlert, type showAlertParams, showConfirm, type showResult, startAnyChat, trackEvent, trackInitAuto, trackPublicValue, trackUserProfile, trackUuid, uploadFile, userLogOut, userLogin, userLoginMobile, type userLoginMobileParams, userLoginModal, vivoDetection, wechatAuth };
|