@seayoo-web/gamer-api 2.16.2 → 3.0.0-alpha.1

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.
@@ -0,0 +1,451 @@
1
+ import type { EventApi } from "./event";
2
+ import type { EngagementFeatureType, InferEngagementError, InferEngagementParam } from "./event.define";
3
+ import type { GamerItemType, RewardSource, RewardStatus, UgcReviewStatus } from "./event.enums";
4
+ import type { IRequestOptions, RequestInternalError } from "@seayoo-web/request";
5
+ type ApiInstance = InstanceType<typeof EventApi>;
6
+ /**
7
+ * 根据手机号白名单,检查手机号是否允许登录某个游戏
8
+ *
9
+ * https://kdocs.cn/l/cf2mO2uRLqh9?linkname=OWGSPF3Ysl
10
+ */
11
+ export declare function verifyMobileAllowed(this: ApiInstance, gameId: string, mobile: string, requestOptions?: IRequestOptions): Promise<import("./event.define").VerifyMobileResult | null>;
12
+ /**
13
+ * 获取运营活动的基础配置信息
14
+ *
15
+ * https://kdocs.cn/l/ckWFDcOsYEUA?linkname=wFXxtdNKPm
16
+ */
17
+ export declare function getConfig(this: ApiInstance, requestOptions?: IRequestOptions): Promise<import("./event.config").EventConfig | null>;
18
+ /**
19
+ * 获取某个玩法参与用户数量
20
+ *
21
+ * https://kdocs.cn/l/ckWFDcOsYEUA?linkname=ejPOcWMvT1
22
+ */
23
+ export declare function getEngagementsUserCount(this: ApiInstance, featureId: number, requestOptions?: IRequestOptions): Promise<number | null>;
24
+ /**
25
+ * 获取某个玩法参与次数
26
+ *
27
+ * https://kdocs.cn/l/ckWFDcOsYEUA?linkname=ejPOcWMvT1
28
+ */
29
+ export declare function getEngagementsCount(this: ApiInstance, featureId: number, requestOptions?: IRequestOptions): Promise<number | null>;
30
+ /**
31
+ * 获取某个玩法的参与记录(和特定用户无关)
32
+ *
33
+ * 💡目前仅支持 Comment / Team 两个玩法的参与数据
34
+ *
35
+ * https://kdocs.cn/l/ckWFDcOsYEUA?linkname=THtZ4ewIQW
36
+ */
37
+ export declare function getEngagements(this: ApiInstance, featureId: number, requestOptions?: IRequestOptions): Promise<import("./event.engage").CommentEngagement[] | import("./event.engage").TeamEngagement[]>;
38
+ /**
39
+ * 用户访问某个活动或玩法
40
+ *
41
+ * https://kdocs.cn/l/ckWFDcOsYEUA?linkname=DWtJrnrBCn
42
+ */
43
+ export declare function visit(this: ApiInstance, option?: {
44
+ feature_id?: number;
45
+ server_id?: string;
46
+ role_id?: string;
47
+ utm_source?: string;
48
+ /** 邀请人的世游通行证 ID */
49
+ invited_by?: string;
50
+ }, requestOptions?: IRequestOptions): Promise<{
51
+ first_visit: boolean;
52
+ } | {
53
+ message: string;
54
+ error: RequestInternalError | "event_not_found" | "feature_not_found" | "invalid_server_id" | "invalid_role_id";
55
+ }>;
56
+ /**
57
+ * 获取用户在目标活动下的所有玩法的参与状态,用于前端进一步确定如何执行交互逻辑
58
+ *
59
+ * 💡活动下包含 engage_account_type 为 role_id 的玩法时,需要提供 server_id 和 role_id
60
+ *
61
+ * https://kdocs.cn/l/ckWFDcOsYEUA?linkname=WzX5BrMNpL
62
+ */
63
+ export declare function getUserFeatureStatus(this: ApiInstance, option?: {
64
+ server_id: string;
65
+ role_id: string;
66
+ }, requestOptions?: IRequestOptions): Promise<import("./event.define").UserFeatureStatus[]>;
67
+ /**
68
+ * 获取用户在目标活动下的某个玩法的参与次数
69
+ *
70
+ * https://kdocs.cn/l/ckWFDcOsYEUA?linkname=uYCsjWyL36
71
+ */
72
+ export declare function getUserEngagementCount(this: ApiInstance, featureId: number, option?: {
73
+ server_id: string;
74
+ role_id: string;
75
+ }): Promise<Record<string, number>>;
76
+ /**
77
+ * 获取当前登录用户参与某个玩法的记录
78
+ *
79
+ * 💡当玩法的 engage_account_type 为 role_id 时,可提供 server_id 和 role_id 获取具体角色的参与记录
80
+ *
81
+ * https://kdocs.cn/l/ckWFDcOsYEUA?linkname=NFDdV1dwWb
82
+ */
83
+ export declare function getUserEngagements(this: ApiInstance, featureId: number, option?: {
84
+ /** 单页返回的最大数量,默认 20 */
85
+ max_results?: number;
86
+ next_token?: string;
87
+ /**
88
+ * 是否返回参与奖记录,默认 false
89
+ */
90
+ return_rewards?: boolean;
91
+ /**
92
+ * 当玩法的 engage_account_type 为 role_id 时,可提供 server_id 和 role_id 获取具体角色的参与记录
93
+ */
94
+ server_id?: string;
95
+ /**
96
+ * 当玩法的 engage_account_type 为 role_id 时,可提供 server_id 和 role_id 获取具体角色的参与记录
97
+ */
98
+ role_id?: string;
99
+ }, requestOptions?: IRequestOptions): Promise<{
100
+ engagements: import("./event.engage").UserEngagement[];
101
+ next_token: string;
102
+ }>;
103
+ /**
104
+ * 用户参与某个玩法
105
+ *
106
+ * 💡可以设置泛型参数来快速确定 engagementParam 数据类型和返回值
107
+ *
108
+ * 💡需要先调用 `visit` 接口提交访问信息
109
+ *
110
+ * https://kdocs.cn/l/ckWFDcOsYEUA?linkname=vuOyrcry3S
111
+ */
112
+ export declare function engage<T extends EngagementFeatureType = unknown>(this: ApiInstance, featureId: number, engagementParam: InferEngagementParam<T>, option?: {
113
+ /**
114
+ * 联的游戏账号 ID,如果传该参数后端需验证 player_id 是否从属于当前用户。
115
+ *
116
+ * 参考 club 模块的 getPlayers 方法
117
+ */
118
+ player_id?: string;
119
+ server_id?: string;
120
+ server_name?: string;
121
+ role_id?: string;
122
+ role_name?: string;
123
+ avatar_url?: string;
124
+ }, requestOptions?: IRequestOptions): Promise<import("./event.define").EngageResponse | {
125
+ message: string;
126
+ error: RequestInternalError | InferEngagementError<T>;
127
+ }>;
128
+ /**
129
+ * 用户领取除红包和实物奖励以外的所有奖励
130
+ *
131
+ * @deprecated 请优先使用 `claimRewardsV2` 接口
132
+ *
133
+ * https://kdocs.cn/l/ckWFDcOsYEUA?linkname=lCGuqgvUDP
134
+ */
135
+ export declare function claimRewards(this: ApiInstance, params: {
136
+ /** 用户参与记录 ID */
137
+ engagement_id: number;
138
+ /** 产生奖励的来源 */
139
+ reward_source: RewardSource;
140
+ /** 游戏服务器 ID,领取游戏道具时为必填 */
141
+ server_id?: string | number;
142
+ /** 游戏角色 ID,领取游戏道具时为必填 */
143
+ role_id?: string;
144
+ /** 游戏角色名 */
145
+ role_name?: string;
146
+ }, requestOptions?: IRequestOptions): Promise<import("./event.define").ClaimedItem[] | {
147
+ message: string;
148
+ error: RequestInternalError | "invalid_server_id" | "invalid_role_id" | "event_not_found" | "engagement_not_found" | "event_not_started" | "event_already_ended" | "claim_rewards_not_started" | "claim_rewards_already_ended" | "no_rewards_to_claim" | "reward_received" | "claim_reward_error";
149
+ }>;
150
+ /**
151
+ * 填写实物奖励收货地址,返回 null 表示未登录
152
+ *
153
+ * https://kdocs.cn/l/ckWFDcOsYEUA?linkname=QIwGhnaexb
154
+ */
155
+ export declare function submitUserRewardAddress(this: ApiInstance, option: {
156
+ /** 用户奖励记录 id */
157
+ reward_id: number;
158
+ /** @deprecated 即将废弃,请勿再使用 */
159
+ address_id?: number;
160
+ /** 收件人称呼 */
161
+ recipient: string;
162
+ /** 收件人手机号 */
163
+ mobile: string;
164
+ /** 收件地址所在省 */
165
+ province: string;
166
+ /** 收件地址所在市 */
167
+ city: string;
168
+ /** 收件地址所在街道 */
169
+ district: string;
170
+ /** 详细收货地址 */
171
+ address: string;
172
+ }, requestOptions?: IRequestOptions): Promise<true | {
173
+ message: string;
174
+ error: RequestInternalError | "invalid_token" | "event_not_found" | "address_not_found";
175
+ } | null>;
176
+ /**
177
+ * 小程序码携带参数最多 32 个可见字符,若前端携带参数过长,则将参数保存在 api 中,并返回符合小程序码要求的 scene
178
+ *
179
+ * https://kdocs.cn/l/ckWFDcOsYEUA?linkname=TbEeyUmZzN
180
+ *
181
+ * @param params - 前端扫描二维码打开小程序所需参数
182
+ */
183
+ export declare function getUnlimitQrcodeScene(this: ApiInstance, params: string, requestOptions?: IRequestOptions): Promise<string | null>;
184
+ /**
185
+ * 根据小程序码携带 scene 值,获取对应的前端所需参数
186
+ *
187
+ * https://kdocs.cn/l/ckWFDcOsYEUA?linkname=SzWPFZDQBV
188
+ *
189
+ * @param scene - 小程序码 scene 值
190
+ */
191
+ export declare function getParamsByQrcodeScene(this: ApiInstance, scene: string, requestOptions?: IRequestOptions): Promise<string | null>;
192
+ /**
193
+ * 生成不限制的带参数的小程序码(dataURI 格式的小程序码图片)
194
+ *
195
+ * https://kdocs.cn/l/ckWFDcOsYEUA?linkname=Rvmoq8iIy0
196
+ */
197
+ export declare function generateUnlimitQrcode(this: ApiInstance, option: {
198
+ /** 小程序 appid */
199
+ app_id: string;
200
+ /**
201
+ * 小程序码所携带参数
202
+ *
203
+ * https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/qrcode-link/qr-code/getUnlimitedQRCode.html#%E8%AF%B7%E6%B1%82%E5%8F%82%E6%95%B0
204
+ */
205
+ scene: string;
206
+ page?: string;
207
+ /**
208
+ * 检查 page 是否存在;检查时小程序必须已发布,且 page 存在。
209
+ *
210
+ * 0 默认检查 1 检查 2 不检查
211
+ */
212
+ check_path?: 0 | 1 | 2;
213
+ /**
214
+ * 扫描小程序码打开的小程序版本,默认是正式版
215
+ *
216
+ * - release 正式版小程序
217
+ * - trial 体验版小程序
218
+ * - develop 开发版小程序
219
+ */
220
+ env_version?: "release" | "trial" | "develop";
221
+ /** 小程序码的宽度,单位:px,最小 280,最大 1280,默认 430 */
222
+ width?: number;
223
+ /** 小程序码自动配置线条颜色 */
224
+ auto_color?: boolean;
225
+ /** 小程序码线条颜色,autoColor 为 false 时生效,使用 rgb 设置颜色 */
226
+ line_color?: {
227
+ r?: string;
228
+ g?: string;
229
+ b?: string;
230
+ };
231
+ /** 生成的小程序码是否需要透明底色 */
232
+ is_hyaline?: boolean;
233
+ }, requestOptions?: IRequestOptions): Promise<string | null>;
234
+ /**
235
+ * 本接口用于获取任务玩法的实时进度数据,支持部分任务进度的查询:累计充值金额 / 累计游戏内活跃值 / 账号等级目标
236
+ *
237
+ * https://www.kdocs.cn/l/ckWFDcOsYEUA?linkname=ZAnm12d3f0
238
+ */
239
+ export declare function getQuestProgress(this: ApiInstance, featureId: number, requestOptions?: IRequestOptions): Promise<import("./event.engage").QuestProgress | {
240
+ message: string;
241
+ error: RequestInternalError | "invalid_token" | "feature_not_found";
242
+ } | null>;
243
+ /**
244
+ * 产生投票(vote2)玩法获得的奖励,并非发放给用户;领取需要调用 claimRewardsV2
245
+ *
246
+ * path: event/vote2/rewards
247
+ *
248
+ * https://www.kdocs.cn/l/chlVWKom7DzU?linkname=fabGKteIEK
249
+ */
250
+ export declare function vote2Rewards(this: ApiInstance, featureId: number, requestOptions?: IRequestOptions): Promise<import("./event.engage").Vote2ClaimRewardsResponse | {
251
+ message: string;
252
+ code: RequestInternalError | "vote_rewards_not_started" | "vote_rewards_already_ended" | "engagement_not_found";
253
+ } | null>;
254
+ /**
255
+ * 查询投票(vote2)玩法排行榜数据
256
+ *
257
+ * https://www.kdocs.cn/l/chlVWKom7DzU?linkname=cYZMVXbP4u
258
+ */
259
+ export declare function getVote2Leaderboard(this: ApiInstance, featureId: number, requestOptions?: IRequestOptions): Promise<import("./event.engage").CandidateVote[]>;
260
+ /**
261
+ * 充值返还玩法的查询接口,查询返还数据
262
+ *
263
+ * https://www.kdocs.cn/l/ckWFDcOsYEUA?linkname=yNolN2sWp4
264
+ */
265
+ export declare function getCashbackQuery(this: ApiInstance, featureId: number, requestOptions?: IRequestOptions): Promise<import("./event.engage").CashbackEngagementData | {
266
+ message: string;
267
+ error: RequestInternalError | "event_not_found" | "feature_not_found";
268
+ } | null>;
269
+ /**
270
+ * 获取当前登录用户的投稿记录
271
+ *
272
+ * https://www.kdocs.cn/l/ckWFDcOsYEUA?linkname=biEwrNKhAF
273
+ */
274
+ export declare function getUgcRecord(this: ApiInstance, option: {
275
+ /** 按照多个活动 ID 批量查询投稿记录,以逗号分隔。若传入此参数,不再进行单活动/玩法的精确匹配*/
276
+ event_ids?: string;
277
+ /** 单个活动 ID */
278
+ event_id?: number;
279
+ /** 活动玩法 ID */
280
+ feature_id?: number;
281
+ /** 审核状态 不传即查询所有状态的记录 */
282
+ review_status?: UgcReviewStatus;
283
+ /** 查询返回最大参与记录数 默认20*/
284
+ max_results?: number;
285
+ /** 分页标识,不传默认首页查询 */
286
+ next_token?: string;
287
+ }, requestOptions?: IRequestOptions): Promise<import("./event.engage").UgcRecordResponse | {
288
+ message: string;
289
+ error: RequestInternalError | "event_not_found" | "feature_not_found";
290
+ } | null>;
291
+ /**
292
+ * 查询用户投稿数量
293
+ *
294
+ * https://www.kdocs.cn/l/ckWFDcOsYEUA?linkname=U0sYIGPzDk
295
+ */
296
+ export declare function getUgcMyCount(this: ApiInstance, option: {
297
+ /** 活动 ID 列表,多个用逗号分隔。若不传,则统计所有活动。*/
298
+ event_ids?: string;
299
+ }, requestOptions?: IRequestOptions): Promise<{
300
+ total_count: number;
301
+ } | {
302
+ message: string;
303
+ error: RequestInternalError | "event_not_found";
304
+ } | null>;
305
+ /**
306
+ * 用户领取除红包和实物奖励以外的所有奖励
307
+ *
308
+ * https://kdocs.cn/l/ckWFDcOsYEUA?linkname=vdc4SrqXjF
309
+ */
310
+ export declare function claimRewardsV2(this: ApiInstance, params: {
311
+ /** 用户参与记录 ID */
312
+ engagement_id: number;
313
+ /** 产生奖励的来源 */
314
+ reward_source: RewardSource;
315
+ /** 游戏服务器 ID,领取游戏道具时为必填 */
316
+ server_id?: string | number;
317
+ /** 游戏角色 ID,领取游戏道具时为必填 */
318
+ role_id?: string;
319
+ /** 游戏角色名 */
320
+ role_name?: string;
321
+ }, requestOptions?: IRequestOptions): Promise<import("./event.engage").UserReward[] | {
322
+ message: string;
323
+ error: RequestInternalError | "invalid_server_id" | "invalid_role_id" | "event_not_found" | "engagement_not_found" | "event_not_started" | "event_already_ended" | "claim_rewards_not_started" | "claim_rewards_already_ended" | "no_rewards_to_claim" | "reward_received" | "claim_reward_error";
324
+ }>;
325
+ /**
326
+ * 用户领取红包奖励
327
+ *
328
+ * https://kdocs.cn/l/ckWFDcOsYEUA?linkname=aQLhlOAB4Q
329
+ */
330
+ export declare function claimWeixinHongbao(this: ApiInstance, rewardId: number, requestOptions?: IRequestOptions): Promise<{
331
+ reward_status: import("./event.enums").ClaimRewardStatus;
332
+ } | {
333
+ message: string;
334
+ error: RequestInternalError | "invalid_weixin_openid" | "event_not_started" | "event_already_ended" | "no_rewards_to_claim" | "reward_received" | "invalid_merchant_parameter" | "budget_not_enough";
335
+ }>;
336
+ /**
337
+ * 验证资格激活码有效性
338
+ *
339
+ * https://kdocs.cn/l/cf2mO2uRLqh9?linkname=B4xwTbDzhn
340
+ */
341
+ export declare function verifyActivationKey(this: ApiInstance, activationKey: string, requestOptions?: IRequestOptions): Promise<true | {
342
+ readonly error: "not_logged_in";
343
+ message?: undefined;
344
+ } | {
345
+ message: string;
346
+ error: RequestInternalError | "invalid_activation_key" | "activation_key_expired";
347
+ }>;
348
+ /**
349
+ * 查询用户活动奖励列表
350
+ *
351
+ * https://kdocs.cn/l/ckWFDcOsYEUA?linkname=qj12eIgYQG
352
+ */
353
+ export declare function getUserRewards(this: ApiInstance, option: {
354
+ /** 活动玩法 ID */
355
+ feature_id?: number;
356
+ /** 奖励类型,不支持传递空奖励 `void_item` */
357
+ reward_types?: Exclude<GamerItemType, typeof GamerItemType.VoidItem>[];
358
+ /** 单次查询的数量,默认 20 */
359
+ max_results?: number;
360
+ next_token?: string;
361
+ reward_status?: RewardStatus;
362
+ }, requestOptions?: IRequestOptions): Promise<{
363
+ user_rewards: import("./event.engage").UserReward[];
364
+ next_token: string;
365
+ }>;
366
+ /**
367
+ * 查询用户奖励数量,目前仅返回未领取的奖励数量
368
+ *
369
+ * https://www.kdocs.cn/l/ckWFDcOsYEUA?linkname=jrFbyZ3UWN
370
+ */
371
+ export declare function getUserRewardsCount(this: ApiInstance, option: {
372
+ /** 活动 ID 列表,多个用逗号分隔。若不传,则统计所有活动。*/
373
+ event_ids?: string;
374
+ }, requestOptions?: IRequestOptions): Promise<{
375
+ unclaimed: number;
376
+ }>;
377
+ /**
378
+ * 查询用户活动道具数量。💡 注意,这里只能是活动道具
379
+ *
380
+ * https://kdocs.cn/l/ckWFDcOsYEUA?linkname=mnGCTeTgMb
381
+ */
382
+ export declare function getUserItemCount(this: ApiInstance, itemId: number, requestOptions?: IRequestOptions): Promise<number | null>;
383
+ /**
384
+ * 媒体资源预上传地址获取,为投稿玩法(UGC)提供 S3 预签名上传 URL,供用户客户端上传图片资源
385
+ *
386
+ * 仅允许上传 image/jpeg 和 image/png 格式的图片。
387
+ * 图片会按照 event_id / feature_id 维度分目录存储在S3 对象存储中。
388
+ * 投稿玩法不调用任何第三方(网易易盾等)进行内容安全检测。
389
+ *
390
+ * https://www.kdocs.cn/l/ckWFDcOsYEUA?linkname=xhGGpJEbol
391
+ */
392
+ export declare function ugcUploadImage(this: ApiInstance, featureId: number, option: {
393
+ image_type: "png" | "jpg" | "jpeg";
394
+ /** 媒体文件大小 */
395
+ size: number;
396
+ /** 媒体文件内容的 SHA-256 哈希值 用于校验上传对象的完整性 */
397
+ sha256: string;
398
+ }, requestOptions?: IRequestOptions): Promise<{
399
+ existed: boolean;
400
+ upload_url: string | undefined;
401
+ image_url: string;
402
+ } | {
403
+ message: string;
404
+ error: RequestInternalError | "event_not_found" | "feature_not_found";
405
+ } | null>;
406
+ /**
407
+ * 获取推荐稿件列表,随机显示 N 条被接受的投稿记录
408
+ *
409
+ * https://www.kdocs.cn/l/ckWFDcOsYEUA?linkname=WzvcAPjHAh
410
+ */
411
+ export declare function getUgcRecommendation(this: ApiInstance, featureId: number, requestOptions?: IRequestOptions): Promise<import("./event.engage").UgcRecordResponse | {
412
+ message: string;
413
+ error: RequestInternalError | "event_not_found" | "feature_not_found";
414
+ }>;
415
+ /**
416
+ * 用于查询指定活动玩法下,所有已被接收 (review_status = accepted) 的用户投稿内容列表,默认按照投稿时间倒序。
417
+ *
418
+ * https://www.kdocs.cn/l/ckWFDcOsYEUA?linkname=VRYN6d3rbd
419
+ */
420
+ export declare function getUgcs(this: ApiInstance, featureId: number, option?: {
421
+ /** 单页返回的最大数量,默认 20 */
422
+ max_results?: number;
423
+ next_token?: string;
424
+ }, requestOptions?: IRequestOptions): Promise<import("./event.engage").UgcRecordBaseResponse | {
425
+ message: string;
426
+ error: RequestInternalError | "event_not_found" | "feature_not_found";
427
+ }>;
428
+ /**
429
+ * 获取指定活动玩法的 UGC 投稿排行榜数据
430
+ *
431
+ * 该接口仅在管理员在 Console 后台完成排行榜结算后才会返回有效数据。
432
+ * 结算前调用将返回空结果集。
433
+ * 排行榜结算通常在活动结束后由管理员在 Console 后台手动触发。
434
+ * 目前前端无法直接在投稿玩法中获得「是否已经结算」的状态。
435
+ *
436
+ * https://www.kdocs.cn/l/ckWFDcOsYEUA?linkname=KoB7S8omkC
437
+ */
438
+ export declare function getUgcLeaderboard(this: ApiInstance, featureId: number, requestOptions?: IRequestOptions): Promise<import("./event.engage").UgcLeaderboardResponse | {
439
+ message: string;
440
+ error: RequestInternalError | "event_not_found" | "feature_not_found";
441
+ } | null>;
442
+ /**
443
+ * 查询兑换玩法的物品剩余库存(含用户可兑换数量)
444
+ *
445
+ * https://www.kdocs.cn/l/ckWFDcOsYEUA?linkname=gOqT9svLF7
446
+ */
447
+ export declare function getRedeemItemStocks(this: ApiInstance, featureId: number, requestOptions?: IRequestOptions): Promise<import("./event.engage").RedeemStocksResponse | {
448
+ message: string;
449
+ error: RequestInternalError | "event_not_found" | "feature_not_found";
450
+ } | null>;
451
+ export {};
@@ -1,6 +1,5 @@
1
1
  import type { NetRequestFactory } from "@seayoo-web/request";
2
2
  import type { StorageHelper } from "@seayoo-web/utils";
3
- export * from "./token.define";
4
3
  /**
5
4
  * auth 管理工具 + request 工具
6
5
  *
@@ -1,4 +1,4 @@
1
- export declare const console: Pick<Console, "log" | "error" | "warn">;
1
+ export declare const console: Pick<Console, "error" | "log" | "warn">;
2
2
  /** 检测是否在 combo webview */
3
3
  export declare function inComboWebview(): boolean;
4
4
  export declare function isRootEndpoint(path: string): boolean;
@@ -1,7 +1,6 @@
1
1
  import type { AuthToken } from "./token";
2
2
  import type { WeixinWebLoginErrorCode } from "./weixin.define";
3
3
  import type { IRequestOptions, RequestInternalError } from "@seayoo-web/request";
4
- export * from "./weixin.define";
5
4
  export declare class WeixinApi {
6
5
  private token;
7
6
  private $appid;