@seayoo-web/gamer-api 2.12.5 → 2.12.6

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/dist/index.js CHANGED
@@ -1,18 +1,18 @@
1
- import { isComboWebView as me } from "@seayoo-web/combo-webview";
2
- import { isPlainObject as k, supportWx as b, useConsole as de, usePromise as ge, pruneURL as pe, supportWindow as _e, queryString as L, pruneObject as c, omitFields as P, parseJSON as be, removePara as G } from "@seayoo-web/utils";
1
+ import { isComboWebView as de } from "@seayoo-web/combo-webview";
2
+ import { isPlainObject as k, supportWx as b, useConsole as ge, usePromise as pe, pruneURL as _e, supportWindow as be, queryString as L, pruneObject as c, omitFields as P, parseJSON as ye, removePara as G } from "@seayoo-web/utils";
3
3
  import { v as e, objectGuard as s } from "@seayoo-web/validator";
4
- function ye(i) {
4
+ function he(i) {
5
5
  return k(i, "gamer_token") && typeof i.gamer_token == "string";
6
6
  }
7
7
  function O(i) {
8
8
  return k(i);
9
9
  }
10
- const j = de("GamerApiSDK");
11
- function he(i) {
10
+ const j = ge("GamerApiSDK");
11
+ function fe(i) {
12
12
  return /^\/[a-z\d-]+$/.test(i);
13
13
  }
14
- async function fe() {
15
- const { promise: i, resolve: t } = ge();
14
+ async function we() {
15
+ const { promise: i, resolve: t } = pe();
16
16
  return wx.login({
17
17
  success(n) {
18
18
  t(n.code);
@@ -22,7 +22,7 @@ async function fe() {
22
22
  }
23
23
  }), await i;
24
24
  }
25
- const we = {
25
+ const ke = {
26
26
  get(i) {
27
27
  return localStorage.getItem(i) || "";
28
28
  },
@@ -32,7 +32,7 @@ const we = {
32
32
  remove(i) {
33
33
  localStorage.removeItem(i);
34
34
  }
35
- }, ke = {
35
+ }, ve = {
36
36
  get(i) {
37
37
  try {
38
38
  if (b()) return wx.getStorageSync(i) || "";
@@ -56,7 +56,7 @@ const we = {
56
56
  }
57
57
  }
58
58
  }, h = "gamer_token";
59
- class ta {
59
+ class ra {
60
60
  $NetRequest;
61
61
  $idToken = "";
62
62
  $weixinToken = "";
@@ -64,8 +64,8 @@ class ta {
64
64
  req;
65
65
  storage;
66
66
  constructor(t, n) {
67
- this.storage = b() ? ke : we;
68
- const r = he(t) ? t : `https://${pe(t)}`;
67
+ this.storage = b() ? ve : ke;
68
+ const r = fe(t) ? t : `https://${_e(t)}`;
69
69
  if (this.$NetRequest = n, this.req = n({
70
70
  baseURL: `${r}/v1`,
71
71
  timeout: 1e4,
@@ -86,9 +86,9 @@ class ta {
86
86
  requestTransformer: (a) => {
87
87
  this.$gamerToken && (a.headers.Authorization = `Bearer ${this.$gamerToken}`);
88
88
  }
89
- }), _e()) {
89
+ }), be()) {
90
90
  const a = /^(?:localhost|[\d.]+):\d{4}$/.test(location.host), o = L("gamer_token");
91
- (me() || a && o) && (this.$gamerToken = o);
91
+ (de() || a && o) && (this.$gamerToken = o);
92
92
  }
93
93
  this.$gamerToken || this.loadGamerTokenCache();
94
94
  }
@@ -171,7 +171,7 @@ class ta {
171
171
  const { code: n, data: r } = await this.req.post(
172
172
  "login-with-token",
173
173
  c({ id_token: this.idToken, weixin_token: t ? this.weixinToken : null }),
174
- ye,
174
+ he,
175
175
  {
176
176
  message: !1,
177
177
  cacheTTL: 300,
@@ -213,21 +213,21 @@ class ta {
213
213
  return n;
214
214
  }
215
215
  }
216
- const ve = {
216
+ const Ve = {
217
217
  /** 未知 */
218
218
  Unknown: "unknown",
219
219
  /** 男 */
220
220
  Male: "male",
221
221
  /** 女 */
222
222
  Female: "female"
223
- }, Ve = e.string().enum(ve).lock(), Ce = {
223
+ }, Ce = e.string().enum(Ve).lock(), Re = {
224
224
  /** 积分增加 */
225
225
  Increase: "increase",
226
226
  /** 积分减少 */
227
227
  Decrease: "decrease",
228
228
  /** 积分过期 */
229
229
  Expired: "expired"
230
- }, Re = e.string().enum(Ce).lock(), je = {
230
+ }, je = e.string().enum(Re).lock(), Te = {
231
231
  /** 游戏内购买 */
232
232
  Order: "order",
233
233
  /** 游戏内消耗 */
@@ -240,21 +240,21 @@ const ve = {
240
240
  Admin: "admin",
241
241
  /** 运营活动 */
242
242
  Event: "event"
243
- }, Te = e.string().enum(je).lock(), qe = {
243
+ }, qe = e.string().enum(Te).lock(), xe = {
244
244
  /** 游戏内奖励 */
245
245
  GameReward: "game_reward",
246
246
  /** 实物商品 */
247
247
  Physical: "physical",
248
248
  /** 虚拟商品 */
249
249
  Virtual: "virtual"
250
- }, H = e.string().enum(qe).lock(), xe = {
250
+ }, z = e.string().enum(xe).lock(), Se = {
251
251
  /** 待发放 */
252
252
  Pending: "pending",
253
253
  /** 已发放 */
254
254
  Issued: "issued",
255
255
  /** 发放失败 */
256
256
  Failed: "failed"
257
- }, Se = e.string().enum(xe).lock(), Le = e.object({
257
+ }, Le = e.string().enum(Se).lock(), Pe = e.object({
258
258
  default_avatar_url: e.string(),
259
259
  official_avatar_urls: e.array(e.string()),
260
260
  default_nickname: e.string(),
@@ -272,7 +272,7 @@ const ve = {
272
272
  exp_description: e.string(),
273
273
  credit_description: e.string(),
274
274
  send_role_mail_rate_limit: e.number()
275
- }).lock(), Pe = e.object({
275
+ }).lock(), Ee = e.object({
276
276
  member_id: e.string(),
277
277
  player_id: e.string(),
278
278
  exp: e.number(),
@@ -281,19 +281,19 @@ const ve = {
281
281
  credit_expiring: e.number(),
282
282
  level_change_time: e.number(),
283
283
  level_expire_time: e.number()
284
- }).lock(), Ee = e.object({
284
+ }).lock(), $e = e.object({
285
285
  server_id: e.string(),
286
286
  server_name: e.string()
287
- }).lock(), $e = e.object({
287
+ }).lock(), Ue = e.object({
288
288
  role_id: e.string(),
289
289
  role_name: e.string()
290
- }).lock(), z = e.object({
290
+ }).lock(), J = e.object({
291
+ ...Ue.shape,
291
292
  ...$e.shape,
292
- ...Ee.shape,
293
293
  role_level: e.number(),
294
294
  last_login_time: e.number()
295
- }).lock(), Ue = e.object({
296
- ...z.shape,
295
+ }).lock(), Fe = e.object({
296
+ ...J.shape,
297
297
  /** 角色战力 */
298
298
  role_fighting: e.number(),
299
299
  /** 宗门 ID */
@@ -302,13 +302,13 @@ const ve = {
302
302
  kin_name: e.string().optional(),
303
303
  /** 宗门职位 */
304
304
  kin_position: e.string().optional()
305
- }).lock(), Fe = e.object({
305
+ }).lock(), De = e.object({
306
306
  name: e.string(),
307
307
  avatar_url: e.string(),
308
308
  bio: e.string(),
309
- gender: Ve,
309
+ gender: Ce,
310
310
  birthday: e.object({ year: e.number(), month: e.number(), day: e.number() })
311
- }).lock(), J = e.object({
311
+ }).lock(), Z = e.object({
312
312
  address_id: e.number(),
313
313
  recipient: e.string(),
314
314
  mobile: e.string(),
@@ -317,19 +317,19 @@ const ve = {
317
317
  district: e.string(),
318
318
  address: e.string(),
319
319
  is_default: e.bool()
320
- }).lock(), De = e.object({
320
+ }).lock(), Ie = e.object({
321
321
  increased_credit: e.number(),
322
322
  decreased_credit: e.number(),
323
323
  expired_credit: e.number(),
324
324
  balance_credit: e.number()
325
- }).lock(), Ie = e.object({
325
+ }).lock(), Ae = e.object({
326
326
  id: e.number(),
327
- change_type: Re,
328
- change_scene: Te,
327
+ change_type: je,
328
+ change_scene: qe,
329
329
  change_credit: e.number(),
330
330
  balance: e.number(),
331
331
  change_time: e.number()
332
- }).lock(), Z = e.object({
332
+ }).lock(), X = e.object({
333
333
  benefit_id: e.number(),
334
334
  name: e.string(),
335
335
  img_url: e.string(),
@@ -338,11 +338,11 @@ const ve = {
338
338
  max_level: e.number(),
339
339
  product_id: e.number(),
340
340
  tag: e.string()
341
- }).lock(), X = e.object({
341
+ }).lock(), Y = e.object({
342
342
  product_id: e.number(),
343
343
  catalog_id: e.number(),
344
344
  catalog_name: e.string(),
345
- item_type: H,
345
+ item_type: z,
346
346
  name: e.string(),
347
347
  img_url: e.string(),
348
348
  description: e.string(),
@@ -364,10 +364,10 @@ const ve = {
364
364
  created_at: e.number(),
365
365
  updated_at: e.number(),
366
366
  redeemable_quantity: e.number().optional()
367
- }).lock(), Ae = e.object({
368
- ...P(Z.shape, "tag"),
369
- product: X.clone().optional()
370
- }).lock(), na = e.union(
367
+ }).lock(), Ge = e.object({
368
+ ...P(X.shape, "tag"),
369
+ product: Y.clone().optional()
370
+ }).lock(), aa = e.union(
371
371
  e.object({
372
372
  server_id: e.string(),
373
373
  role_id: e.string()
@@ -375,7 +375,7 @@ const ve = {
375
375
  e.object({
376
376
  address_id: e.number()
377
377
  })
378
- ).satisfies().lock(), Ge = e.object({
378
+ ).satisfies().lock(), Oe = e.object({
379
379
  recipient: e.string(),
380
380
  mobile: e.string(),
381
381
  province: e.string(),
@@ -384,32 +384,32 @@ const ve = {
384
384
  address: e.string(),
385
385
  express_company: e.string(),
386
386
  express_number: e.string()
387
- }).lock(), Oe = e.object({
387
+ }).lock(), Ne = e.object({
388
388
  server_id: e.string(),
389
389
  role_id: e.string(),
390
390
  role_name: e.string()
391
- }).lock(), Ne = e.object({
391
+ }).lock(), Qe = e.object({
392
392
  redemption_id: e.number(),
393
393
  player_id: e.string(),
394
394
  product_id: e.number(),
395
395
  name: e.string(),
396
396
  img_url: e.string(),
397
- item_type: H,
397
+ item_type: z,
398
398
  catalog_id: e.number(),
399
399
  catalog_name: e.string(),
400
400
  quantity: e.number(),
401
401
  amount: e.number(),
402
- status: Se,
402
+ status: Le,
403
403
  created_at: e.number(),
404
- extra_data: e.union(Ge.clone(), Oe.clone()).satisfies().optional()
405
- }), Qe = e.guard(Le), N = s({ player: Pe }), Be = s({ roles: e.array(z) }), T = s({ role_card: Ue }), Q = e.guard(Fe), B = e.guard(J), Me = s({ addresses: e.array(J) }), Ke = e.guard(De), He = s({
406
- credit_logs: e.array(Ie),
404
+ extra_data: e.union(Oe.clone(), Ne.clone()).satisfies().optional()
405
+ }), Be = e.guard(Pe), N = s({ player: Ee }), Me = s({ roles: e.array(J) }), T = s({ role_card: Fe }), Q = e.guard(De), B = e.guard(Z), Ke = s({ addresses: e.array(Z) }), He = e.guard(Ie), ze = s({
406
+ credit_logs: e.array(Ae),
407
407
  next_token: e.string().optional()
408
- }), ze = s({ products: e.array(X) }), Je = s({ benefits: e.array(Z) }), Ze = s({ benefit: Ae }), Xe = s({
409
- redemptions: e.array(Ne),
408
+ }), Je = s({ products: e.array(Y) }), Ze = s({ benefits: e.array(X) }), Xe = s({ benefit: Ge }), Ye = s({
409
+ redemptions: e.array(Qe),
410
410
  next_token: e.string().optional()
411
411
  });
412
- class ra {
412
+ class oa {
413
413
  token;
414
414
  req;
415
415
  constructor(t) {
@@ -421,7 +421,7 @@ class ra {
421
421
  * https://kdocs.cn/l/cgp4gSBMbOf1?linkname=tuhsPt3ihp
422
422
  */
423
423
  async getConfig(t) {
424
- const { data: n } = await this.req.get("club/config", Qe, t);
424
+ const { data: n } = await this.req.get("club/config", Be, t);
425
425
  return n;
426
426
  }
427
427
  /**
@@ -462,7 +462,7 @@ class ra {
462
462
  */
463
463
  async getRoles(t, n, r) {
464
464
  if (!await this.token.autoLogin()) return [];
465
- const { data: a } = await this.req.get("club/roles", Be, {
465
+ const { data: a } = await this.req.get("club/roles", Me, {
466
466
  ...r,
467
467
  params: c({ player_id: t, refresh: n })
468
468
  });
@@ -534,7 +534,7 @@ class ra {
534
534
  */
535
535
  async getAddresses(t) {
536
536
  if (!await this.token.autoLogin()) return [];
537
- const { data: n } = await this.req.get("club/addresses", Me, t);
537
+ const { data: n } = await this.req.get("club/addresses", Ke, t);
538
538
  return n?.addresses ?? [];
539
539
  }
540
540
  /**
@@ -582,7 +582,7 @@ class ra {
582
582
  */
583
583
  async getUserCredit(t, n) {
584
584
  await this.token.autoLogin();
585
- const { data: r, code: a, message: o } = await this.req.get("club/user-credit", Ke, {
585
+ const { data: r, code: a, message: o } = await this.req.get("club/user-credit", He, {
586
586
  ...n,
587
587
  params: c(t)
588
588
  });
@@ -598,7 +598,7 @@ class ra {
598
598
  */
599
599
  async getCreditLogs(t, n) {
600
600
  await this.token.autoLogin();
601
- const { data: r } = await this.req.get("club/credit-logs", He, {
601
+ const { data: r } = await this.req.get("club/credit-logs", ze, {
602
602
  ...n,
603
603
  params: c({ max_results: 20, ...t })
604
604
  });
@@ -614,7 +614,7 @@ class ra {
614
614
  */
615
615
  async getBenefits(t) {
616
616
  if (!await this.token.autoLogin()) return [];
617
- const { data: n } = await this.req.get("club/benefits", Je, t);
617
+ const { data: n } = await this.req.get("club/benefits", Ze, t);
618
618
  return n?.benefits || [];
619
619
  }
620
620
  /**
@@ -624,7 +624,7 @@ class ra {
624
624
  */
625
625
  async getBenefit(t, n) {
626
626
  if (!await this.token.autoLogin()) return null;
627
- const { data: r } = await this.req.get("club/benefit", Ze, {
627
+ const { data: r } = await this.req.get("club/benefit", Xe, {
628
628
  ...n,
629
629
  params: { benefit_id: t }
630
630
  });
@@ -636,7 +636,7 @@ class ra {
636
636
  * https://kdocs.cn/l/cgp4gSBMbOf1?linkname=r3vC3PzfMQ
637
637
  */
638
638
  async getProducts(t, n) {
639
- const { data: r } = await this.req.get("club/products", ze, {
639
+ const { data: r } = await this.req.get("club/products", Je, {
640
640
  ...n,
641
641
  params: t
642
642
  });
@@ -662,7 +662,7 @@ class ra {
662
662
  */
663
663
  async getRedemptions(t, n) {
664
664
  await this.token.autoLogin();
665
- const { data: r } = await this.req.get("club/redemptions", Xe, {
665
+ const { data: r } = await this.req.get("club/redemptions", Ye, {
666
666
  ...n,
667
667
  params: c({ max_results: 20, ...t })
668
668
  });
@@ -693,17 +693,17 @@ const v = {
693
693
  ExternalCode: "external_gift_code",
694
694
  /** 空奖励 */
695
695
  VoidItem: "void_item"
696
- }, Y = e.string().enum(v).lock(), aa = v, W = Y, Ye = {
696
+ }, W = e.string().enum(v).lock(), ia = v, ee = W, We = {
697
697
  /** 世游通行证 ID / Combo ID */
698
698
  UserId: "user_id",
699
699
  /** 游戏角色 ID */
700
700
  RoleId: "role_id"
701
- }, We = e.string().enum(Ye).lock(), et = {
701
+ }, et = e.string().enum(We).lock(), tt = {
702
702
  None: "none",
703
703
  Daily: "daily",
704
704
  Weekly: "weekly",
705
705
  Monthly: "monthly"
706
- }, tt = e.string().enum(et).lock(), l = {
706
+ }, nt = e.string().enum(tt).lock(), l = {
707
707
  /** 预约 */
708
708
  Preregister: "preregister",
709
709
  /** 抽奖 */
@@ -748,7 +748,7 @@ const v = {
748
748
  ZeroChatgpt: "zero_chatgpt",
749
749
  /** 投稿 */
750
750
  Ugc: "ugc"
751
- }, nt = e.string().enum(l).lock(), rt = {
751
+ }, rt = e.string().enum(l).lock(), at = {
752
752
  /** 累计游戏内活跃值 */
753
753
  Active: "player_active_points",
754
754
  /** 累计登录,单位 人天 */
@@ -771,14 +771,14 @@ const v = {
771
771
  EventItems: "event_items",
772
772
  /**游戏内任务 */
773
773
  GameTask: "game_task"
774
- }, ee = e.string().enum(rt).lock(), at = {
774
+ }, te = e.string().enum(at).lock(), ot = {
775
775
  /** 官方上传 */
776
776
  System: "system",
777
777
  /** 用户投稿 */
778
778
  UserSubmission: "user_submission",
779
779
  /** 投票入围 */
780
780
  Shortlisted: "shortlisted"
781
- }, ot = e.string().enum(at).lock(), g = {
781
+ }, it = e.string().enum(ot).lock(), g = {
782
782
  /** 未获得奖励 */
783
783
  Ineligible: "ineligible",
784
784
  /** 奖励未领取 */
@@ -789,7 +789,7 @@ const v = {
789
789
  Failed: "failed",
790
790
  /** 奖励已发货 */
791
791
  Delivered: "delivered"
792
- }, oa = e.string().enum(g).lock(), it = {
792
+ }, sa = e.string().enum(g).lock(), st = {
793
793
  /** 奖励未领取 */
794
794
  Unclaimed: g.Unclaimed,
795
795
  /** 奖励已领取 */
@@ -798,7 +798,7 @@ const v = {
798
798
  Failed: g.Failed,
799
799
  /** 奖励已发货 */
800
800
  Delivered: g.Delivered
801
- }, te = e.string().enum(it).lock(), st = {
801
+ }, ne = e.string().enum(st).lock(), ct = {
802
802
  /** 未获得奖励 */
803
803
  Ineligible: g.Ineligible,
804
804
  /** 奖励未领取 */
@@ -809,17 +809,17 @@ const v = {
809
809
  Failed: g.Failed,
810
810
  /** 奖励已发货 */
811
811
  Delivered: g.Delivered
812
- }, E = e.string().enum(st).lock(), ct = {
812
+ }, E = e.string().enum(ct).lock(), lt = {
813
813
  /** 玩法产出奖励 */
814
814
  Output: "output",
815
815
  /** 玩法参与奖励 */
816
816
  Engage: "engage"
817
- }, $ = e.string().enum(ct).lock(), lt = {
817
+ }, $ = e.string().enum(lt).lock(), ut = {
818
818
  /** 私有队伍 */
819
819
  Private: "private",
820
820
  /** 公开队伍 */
821
821
  Public: "public"
822
- }, ut = e.string().enum(lt).lock(), f = {
822
+ }, mt = e.string().enum(ut).lock(), f = {
823
823
  /** 未知状态 */
824
824
  Unknown: "unknown",
825
825
  /** 等待开奖 */
@@ -830,7 +830,7 @@ const v = {
830
830
  Claimed: "claimed",
831
831
  /** 领奖失败 */
832
832
  Fail: "fail"
833
- }, ia = e.string().enum(f).lock(), mt = {
833
+ }, ca = e.string().enum(f).lock(), dt = {
834
834
  /** 发起组队 */
835
835
  Assemble: "assemble",
836
836
  /** 加入队伍 */
@@ -841,26 +841,26 @@ const v = {
841
841
  ChangeVisibility: "change_visibility",
842
842
  /** 查询组队信息 */
843
843
  Query: "query"
844
- }, sa = e.string().enum(mt).lock(), dt = {
844
+ }, la = e.string().enum(dt).lock(), gt = {
845
845
  /** 查询抽奖券 */
846
846
  Query: "query",
847
847
  /** 开奖 */
848
848
  Draw: "draw",
849
849
  /** 领奖 */
850
850
  Claim: "claim"
851
- }, ca = e.string().enum(dt).lock(), gt = {
851
+ }, ua = e.string().enum(gt).lock(), pt = {
852
852
  /** 将所有队员的进度值求和,作为队伍进度值 */
853
853
  Sum: "sum",
854
854
  /** 以进度值倒序排名第 N 的队员的进度值,作为队伍进度值。如果队伍人数不足 N,则队伍进度值为 0。N 的值来自于配置字段 top_n */
855
855
  TopN: "top_n"
856
- }, pt = e.string().enum(gt).lock(), _t = {
856
+ }, _t = e.string().enum(pt).lock(), bt = {
857
857
  /** 尚未结算 */
858
858
  None: "none",
859
859
  /** 获胜奖励 */
860
860
  Winner: "winner",
861
861
  /** 安慰奖励 */
862
862
  Consolation: "consolation"
863
- }, bt = e.string().enum(_t).lock(), yt = {
863
+ }, yt = e.string().enum(bt).lock(), ht = {
864
864
  /** 抖音 */
865
865
  Douyin: "douyin",
866
866
  /** 小红书 */
@@ -875,73 +875,73 @@ const v = {
875
875
  Huya: "huya",
876
876
  /** 斗鱼 */
877
877
  Douyu: "douyu"
878
- }, ne = e.string().enum(yt).lock(), ht = {
878
+ }, re = e.string().enum(ht).lock(), ft = {
879
879
  /** 已提交 */
880
880
  Submitted: "submitted",
881
881
  /** 已接收 */
882
882
  Accepted: "accepted",
883
883
  /** 已拒绝 */
884
884
  Rejected: "rejected"
885
- }, ft = e.string().enum(ht).lock(), wt = e.string().enum(v), y = e.object({
885
+ }, wt = e.string().enum(ft).lock(), kt = e.string().enum(v), y = e.object({
886
886
  reward_item_id: e.number(),
887
887
  reward_amount: e.number(),
888
888
  reward_item_name: e.string(),
889
889
  reward_item_icon_url: e.string(),
890
890
  reward_item_desc: e.string().optional(),
891
- reward_item_type: wt,
891
+ reward_item_type: kt,
892
892
  reward_item_rating: e.number()
893
- }).lock(), kt = e.object({
893
+ }).lock(), vt = e.object({
894
894
  engage_count: e.number(),
895
895
  rewards: e.array(y)
896
- }).lock(), vt = e.union(
896
+ }).lock(), Vt = e.union(
897
897
  e.object({
898
898
  feature_reward_type: e.string().enum("every"),
899
899
  reward_details: e.array(y)
900
900
  }),
901
901
  e.object({
902
902
  feature_reward_type: e.string().enum("regular"),
903
- reward_details: e.array(kt)
903
+ reward_details: e.array(vt)
904
904
  })
905
905
  ).satisfies().lock(), u = e.object({
906
906
  feature_name: e.string(),
907
907
  feature_id: e.number(),
908
908
  description: e.string(),
909
- cycle: tt,
909
+ cycle: nt,
910
910
  cycle_limit: e.number(),
911
911
  limit: e.number(),
912
912
  since: e.number(),
913
913
  until: e.number(),
914
- engage_account: We,
915
- feature_rewards: vt.clone().optional(),
914
+ engage_account: et,
915
+ feature_rewards: Vt.clone().optional(),
916
916
  sort: e.number().optional()
917
- }), Vt = l.Cashback, Ct = e.object({
917
+ }), Ct = l.Cashback, Rt = e.object({
918
918
  ...u.shape,
919
- feature_type: e.string().enum(Vt),
919
+ feature_type: e.string().enum(Ct),
920
920
  config: e.object({
921
921
  order_start_time: e.number(),
922
922
  order_end_time: e.number(),
923
923
  claim_rewards_start_time: e.number(),
924
924
  claim_rewards_end_time: e.number()
925
925
  })
926
- }), Rt = l.CheckIn, jt = e.object({
926
+ }), jt = l.CheckIn, Tt = e.object({
927
927
  ...u.shape,
928
- feature_type: e.string().enum(Rt)
929
- }), Tt = l.ClaimActivationKey, qt = e.object({
928
+ feature_type: e.string().enum(jt)
929
+ }), qt = l.ClaimActivationKey, xt = e.object({
930
930
  ...u.shape,
931
- feature_type: e.string().enum(Tt)
932
- }), xt = l.ClaimRewards, St = e.object({
931
+ feature_type: e.string().enum(qt)
932
+ }), St = l.ClaimRewards, Lt = e.object({
933
933
  ...u.shape,
934
- feature_type: e.string().enum(xt)
935
- }), Lt = l.Comment, Pt = e.object({
934
+ feature_type: e.string().enum(St)
935
+ }), Pt = l.Comment, Et = e.object({
936
936
  ...u.shape,
937
- feature_type: e.string().enum(Lt),
937
+ feature_type: e.string().enum(Pt),
938
938
  config: e.object({
939
939
  comments: e.array(e.string()),
940
940
  send_rate: e.number()
941
941
  })
942
- }), Et = l.Follow, $t = e.object({
942
+ }), $t = l.Follow, Ut = e.object({
943
943
  ...u.shape,
944
- feature_type: e.string().enum(Et),
944
+ feature_type: e.string().enum($t),
945
945
  config: e.object({
946
946
  platform: e.string(),
947
947
  platform_icon: e.string().optional(),
@@ -949,67 +949,67 @@ const v = {
949
949
  qr_code_url: e.string().optional(),
950
950
  platform_desc: e.string().optional()
951
951
  })
952
- }), Ut = l.GiftCode, Ft = e.object({
952
+ }), Ft = l.GiftCode, Dt = e.object({
953
953
  name: e.string(),
954
954
  icon_url: e.string(),
955
955
  count: e.number()
956
- }), Dt = e.object({
956
+ }), It = e.object({
957
957
  ...u.shape,
958
- feature_type: e.string().enum(Ut),
958
+ feature_type: e.string().enum(Ft),
959
959
  config: e.object({
960
- gift_items: e.array(Ft),
960
+ gift_items: e.array(Dt),
961
961
  mp_url: e.string().optional(),
962
962
  mp_qrcode_url: e.string().optional()
963
963
  })
964
- }), It = l.Invite, At = e.object({
964
+ }), At = l.Invite, Gt = e.object({
965
965
  ...u.shape,
966
- feature_type: e.string().enum(It),
966
+ feature_type: e.string().enum(At),
967
967
  config: e.object({
968
968
  share_url: e.string()
969
969
  })
970
- }), Gt = l.InvitedRegister, Ot = e.object({
970
+ }), Ot = l.InvitedRegister, Nt = e.object({
971
971
  ...u.shape,
972
- feature_type: e.string().enum(Gt)
973
- }), Nt = e.string().enum(P(v, "GiftCode", "LotteryTicket")), Qt = l.Lottery, Bt = e.object({
972
+ feature_type: e.string().enum(Ot)
973
+ }), Qt = e.string().enum(P(v, "GiftCode", "LotteryTicket")), Bt = l.Lottery, Mt = e.object({
974
974
  reward_item_id: e.number(),
975
975
  reward_item_name: e.string(),
976
- reward_item_type: Nt,
976
+ reward_item_type: Qt,
977
977
  reward_item_icon_url: e.string(),
978
978
  reward_item_desc: e.string().optional(),
979
979
  reward_amount: e.number(),
980
980
  reward_remaining_stock: e.number(),
981
981
  reward_item_rating: e.number()
982
- }), Mt = e.object({
982
+ }), Kt = e.object({
983
983
  ...u.shape,
984
- feature_type: e.string().enum(Qt),
984
+ feature_type: e.string().enum(Bt),
985
985
  config: e.object({
986
986
  consume_item_id: e.number(),
987
987
  consume_item_name: e.string(),
988
988
  consume_item_icon_url: e.string(),
989
989
  consume_item_count: e.array(e.number()),
990
990
  consume_item_desc: e.string().optional(),
991
- rewards: e.array(Bt)
991
+ rewards: e.array(Mt)
992
992
  })
993
- }), Kt = l.LotteryDraw, Ht = e.object({
993
+ }), Ht = l.LotteryDraw, zt = e.object({
994
994
  ...u.shape,
995
- feature_type: e.string().enum(Kt),
995
+ feature_type: e.string().enum(Ht),
996
996
  config: e.object({
997
997
  draw_not_before: e.number(),
998
998
  draw_not_after: e.number()
999
999
  })
1000
- }), zt = l.Preregister, Jt = e.object({
1000
+ }), Jt = l.Preregister, Zt = e.object({
1001
1001
  ...u.shape,
1002
- feature_type: e.string().enum(zt)
1003
- }), Zt = l.Quest, Xt = e.object({
1002
+ feature_type: e.string().enum(Jt)
1003
+ }), Xt = l.Quest, Yt = e.object({
1004
1004
  ...u.shape,
1005
- feature_type: e.string().enum(Zt),
1005
+ feature_type: e.string().enum(Xt),
1006
1006
  config: e.object({
1007
- objective: ee,
1007
+ objective: te,
1008
1008
  completion_value: e.number(),
1009
1009
  team: e.object({
1010
1010
  feature_id: e.number().optional(),
1011
1011
  completion_value: e.number(),
1012
- progress_algorithm: pt.clone().optional(),
1012
+ progress_algorithm: _t.clone().optional(),
1013
1013
  top_n: e.number().optional()
1014
1014
  }).optional(),
1015
1015
  config: e.object({
@@ -1019,45 +1019,45 @@ const v = {
1019
1019
  event_item_id: e.number().optional()
1020
1020
  }).optional()
1021
1021
  })
1022
- }), Yt = l.Register, Wt = e.object({
1022
+ }), Wt = l.Register, en = e.object({
1023
1023
  ...u.shape,
1024
- feature_type: e.string().enum(Yt)
1025
- }), en = l.Share, tn = e.object({
1024
+ feature_type: e.string().enum(Wt)
1025
+ }), tn = l.Share, nn = e.object({
1026
1026
  ...u.shape,
1027
- feature_type: e.string().enum(en),
1027
+ feature_type: e.string().enum(tn),
1028
1028
  config: e.object({
1029
1029
  share_platform: e.string(),
1030
1030
  jump_url: e.string().optional(),
1031
1031
  icon_url: e.string().optional()
1032
1032
  })
1033
- }), nn = l.Subscribe, rn = e.object({
1033
+ }), rn = l.Subscribe, an = e.object({
1034
1034
  ...u.shape,
1035
- feature_type: e.string().enum(nn),
1035
+ feature_type: e.string().enum(rn),
1036
1036
  config: e.object({
1037
1037
  weixin_template_ids: e.array(e.string())
1038
1038
  })
1039
- }), an = l.Survey, on = e.object({
1039
+ }), on = l.Survey, sn = e.object({
1040
1040
  ...u.shape,
1041
- feature_type: e.string().enum(an),
1041
+ feature_type: e.string().enum(on),
1042
1042
  config: e.object({
1043
1043
  survey_id: e.string(),
1044
1044
  survey_url: e.string()
1045
1045
  })
1046
- }), sn = l.Team, cn = e.object({
1046
+ }), cn = l.Team, ln = e.object({
1047
1047
  ...u.shape,
1048
- feature_type: e.string().enum(sn),
1048
+ feature_type: e.string().enum(cn),
1049
1049
  config: e.object({
1050
1050
  max_members: e.number().min(1),
1051
1051
  min_members: e.number().min(1)
1052
1052
  })
1053
- }), ln = l.Ugc, un = e.object({
1053
+ }), un = l.Ugc, mn = e.object({
1054
1054
  ...u.shape,
1055
- feature_type: e.string().enum(ln),
1055
+ feature_type: e.string().enum(un),
1056
1056
  config: e.object({
1057
1057
  allowed_social_medias: e.array(e.string()).optional(),
1058
1058
  acceptance_rewards: e.array(y).optional()
1059
1059
  })
1060
- }), mn = l.Vote, dn = e.object({
1060
+ }), dn = l.Vote, gn = e.object({
1061
1061
  sn: e.string(),
1062
1062
  name: e.string(),
1063
1063
  img_urls: e.array(e.string()).optional(),
@@ -1067,30 +1067,30 @@ const v = {
1067
1067
  amount: e.number(),
1068
1068
  finalists: e.bool(),
1069
1069
  last_vote_time: e.number()
1070
- }), gn = e.object({
1070
+ }), pn = e.object({
1071
1071
  ...u.shape,
1072
- feature_type: e.string().enum(mn),
1072
+ feature_type: e.string().enum(dn),
1073
1073
  config: e.object({
1074
1074
  vote_feature_ids: e.array(e.number()),
1075
1075
  submission_feature_ids: e.array(e.number()),
1076
1076
  finalists_amount: e.number(),
1077
- source: ot,
1078
- options: e.array(dn),
1077
+ source: it,
1078
+ options: e.array(gn),
1079
1079
  rewards: e.array(y)
1080
1080
  })
1081
- }), pn = l.Vote2, _n = e.object({
1081
+ }), _n = l.Vote2, bn = e.object({
1082
1082
  candidate_id: e.string(),
1083
1083
  display_name: e.string(),
1084
1084
  images: e.array(e.string()).optional(),
1085
1085
  videos: e.array(e.string()).optional(),
1086
1086
  description: e.string().optional(),
1087
1087
  jump_url: e.string()
1088
- }), bn = e.object({
1088
+ }), yn = e.object({
1089
1089
  ...u.shape,
1090
- feature_type: e.string().enum(pn),
1090
+ feature_type: e.string().enum(_n),
1091
1091
  config: e.object({
1092
1092
  vote_item_id: e.number().optional(),
1093
- candidates: e.array(_n),
1093
+ candidates: e.array(bn),
1094
1094
  vote_since: e.number(),
1095
1095
  vote_until: e.number(),
1096
1096
  rewards_since: e.number(),
@@ -1098,59 +1098,59 @@ const v = {
1098
1098
  winner_rewards: e.array(y).optional(),
1099
1099
  consolation_rewards: e.array(y).optional()
1100
1100
  })
1101
- }), yn = l.ZeroChatgpt, hn = e.object({
1101
+ }), hn = l.ZeroChatgpt, fn = e.object({
1102
1102
  ...u.shape,
1103
- feature_type: e.string().enum(yn)
1104
- }), fn = e.union(
1105
- Ct,
1106
- jt,
1107
- St,
1108
- Pt,
1109
- $t,
1110
- Dt,
1111
- At,
1112
- Ot,
1113
- Mt,
1114
- Ht,
1115
- Jt,
1116
- Xt,
1117
- Wt,
1118
- tn,
1119
- rn,
1120
- on,
1121
- cn,
1122
- gn,
1123
- bn,
1124
- qt,
1125
- hn,
1126
- un
1127
- ).key("feature_type").satisfies(), wn = e.object({
1103
+ feature_type: e.string().enum(hn)
1104
+ }), wn = e.union(
1105
+ Rt,
1106
+ Tt,
1107
+ Lt,
1108
+ Et,
1109
+ Ut,
1110
+ It,
1111
+ Gt,
1112
+ Nt,
1113
+ Kt,
1114
+ zt,
1115
+ Zt,
1116
+ Yt,
1117
+ en,
1118
+ nn,
1119
+ an,
1120
+ sn,
1121
+ ln,
1122
+ pn,
1123
+ yn,
1124
+ xt,
1125
+ fn,
1126
+ mn
1127
+ ).key("feature_type").satisfies(), kn = e.object({
1128
1128
  event_name: e.string(),
1129
1129
  rules: e.string(),
1130
1130
  since: e.number(),
1131
1131
  until: e.number(),
1132
1132
  visit_count: e.number().optional(),
1133
- features: e.array(fn)
1134
- }).lock(), q = e.union(e.string().pattern("NumberString", /^\d+$/), e.number()), re = e.object({
1133
+ features: e.array(wn)
1134
+ }).lock(), q = e.union(e.string().pattern("NumberString", /^\d+$/), e.number()), ae = e.object({
1135
1135
  order_total_amount: q,
1136
1136
  cashback_total_amount: q,
1137
1137
  game_item_count: q
1138
- }), kn = e.object({
1139
- activation_key: e.string().disallow("")
1140
1138
  }), vn = e.object({
1141
- gift_code: e.string()
1139
+ activation_key: e.string().disallow("")
1142
1140
  }), Vn = e.object({
1141
+ gift_code: e.string()
1142
+ }), Cn = e.object({
1143
1143
  user_id: e.string(),
1144
1144
  name: e.string().optional(),
1145
1145
  avatar_url: e.string().optional()
1146
- }), Cn = e.object({
1146
+ }), Rn = e.object({
1147
1147
  lottery_count: e.number()
1148
1148
  }), V = e.object({
1149
1149
  reward_id: e.number(),
1150
1150
  reward_item_id: e.number(),
1151
1151
  reward_source: $,
1152
1152
  reward_item_name: e.string(),
1153
- reward_item_type: Y,
1153
+ reward_item_type: W,
1154
1154
  reward_item_icon_url: e.string(),
1155
1155
  reward_item_desc: e.string().optional(),
1156
1156
  reward_item_rating: e.number(),
@@ -1160,61 +1160,61 @@ const v = {
1160
1160
  event_name: e.string(),
1161
1161
  feature_id: e.number(),
1162
1162
  engagement_id: e.number(),
1163
- feature_type: nt,
1163
+ feature_type: rt,
1164
1164
  receive_time: e.number(),
1165
1165
  extra_data: e.record(e.unknown()).optional()
1166
- }), Rn = e.string().enum(f.Unknown, f.Pending), jn = e.union(
1166
+ }), jn = e.string().enum(f.Unknown, f.Pending), Tn = e.union(
1167
1167
  e.object({
1168
1168
  ticket: e.string(),
1169
- status: Rn
1169
+ status: jn
1170
1170
  }),
1171
1171
  e.object({
1172
1172
  ticket: e.string(),
1173
1173
  status: e.string().enum(P(f, "Unknown", "Pending")),
1174
1174
  reward: V
1175
1175
  })
1176
- ).satisfies(), Tn = e.object({
1177
- tickets: e.array(jn)
1178
- }), qn = e.object({
1176
+ ).satisfies(), qn = e.object({
1177
+ tickets: e.array(Tn)
1178
+ }), xn = e.object({
1179
1179
  platforms: e.array(e.string())
1180
- }), ae = e.object({
1180
+ }), oe = e.object({
1181
1181
  role_name: e.string(),
1182
1182
  is_leader: e.bool(),
1183
1183
  is_myself: e.bool().optional(),
1184
1184
  progress: e.number().optional()
1185
- }).lock(), xn = e.object({
1186
- objective: ee,
1185
+ }).lock(), Sn = e.object({
1186
+ objective: te,
1187
1187
  progress: e.number(),
1188
1188
  completion_value: e.number().optional(),
1189
1189
  team: e.object({
1190
1190
  progress: e.number(),
1191
1191
  completion_value: e.number().optional(),
1192
- players: e.array(ae)
1192
+ players: e.array(oe)
1193
1193
  }).optional()
1194
- }), Sn = e.object({
1194
+ }), Ln = e.object({
1195
1195
  progress: e.number(),
1196
1196
  team: e.object({
1197
1197
  progress: e.number(),
1198
- team_members: e.array(ae).optional()
1198
+ team_members: e.array(oe).optional()
1199
1199
  }).optional()
1200
- }), Ln = e.object({
1201
- platform: e.string()
1202
1200
  }), Pn = e.object({
1203
- weixin_openid: e.string()
1201
+ platform: e.string()
1204
1202
  }), En = e.object({
1205
- serial_number: e.number()
1203
+ weixin_openid: e.string()
1206
1204
  }), $n = e.object({
1205
+ serial_number: e.number()
1206
+ }), Un = e.object({
1207
1207
  team_code: e.string(),
1208
1208
  leader_name: e.string(),
1209
1209
  total_members: e.number()
1210
- }), la = e.object({
1210
+ }), ma = e.object({
1211
1211
  is_leader: e.bool(),
1212
1212
  is_myself: e.bool().optional(),
1213
1213
  role_name: e.string(),
1214
1214
  server_name: e.string()
1215
- }), Un = e.object({
1215
+ }), Fn = e.object({
1216
1216
  team_code: e.string(),
1217
- visibility: ut,
1217
+ visibility: mt,
1218
1218
  members: e.array(
1219
1219
  e.object({
1220
1220
  is_leader: e.bool(),
@@ -1222,22 +1222,22 @@ const v = {
1222
1222
  server_name: e.string()
1223
1223
  })
1224
1224
  )
1225
- }), Fn = e.object({
1225
+ }), Dn = e.object({
1226
1226
  ugc_id: e.number(),
1227
1227
  title: e.string(),
1228
1228
  content: e.string().optional(),
1229
1229
  image_urls: e.array(e.string()).optional(),
1230
- social_media: ne.clone().optional(),
1230
+ social_media: re.clone().optional(),
1231
1231
  social_media_url: e.string().optional()
1232
- }), Dn = e.object({
1232
+ }), In = e.object({
1233
1233
  ugcs: e.array(
1234
1234
  e.object({
1235
1235
  ugc_id: e.number(),
1236
- review_status: ft,
1236
+ review_status: wt,
1237
1237
  title: e.string(),
1238
1238
  content: e.string().optional(),
1239
1239
  image_urls: e.array(e.string()).optional(),
1240
- social_media: ne.clone().optional(),
1240
+ social_media: re.clone().optional(),
1241
1241
  social_media_url: e.string().optional(),
1242
1242
  server_id: e.number().optional(),
1243
1243
  server_name: e.string().optional(),
@@ -1248,31 +1248,44 @@ const v = {
1248
1248
  })
1249
1249
  ).optional(),
1250
1250
  next_token: e.string().optional()
1251
- }), In = e.object({
1251
+ }), An = e.object({
1252
1252
  existed: e.bool(),
1253
1253
  upload_url: e.string().optional(),
1254
1254
  image_url: e.string()
1255
- }), An = e.object({
1256
- option_sn: e.string()
1257
1255
  }), Gn = e.object({
1256
+ ugcs: e.array(
1257
+ e.object({
1258
+ ugc_id: e.number(),
1259
+ rank: e.number(),
1260
+ total_likes: e.number(),
1261
+ image_urls: e.array(e.string()).optional(),
1262
+ server_id: e.number().optional(),
1263
+ server_name: e.string().optional(),
1264
+ role_id: e.string().optional(),
1265
+ role_name: e.string().optional()
1266
+ })
1267
+ )
1268
+ }), On = e.object({
1269
+ option_sn: e.string()
1270
+ }), Nn = e.object({
1258
1271
  candidate_id: e.string(),
1259
1272
  total_votes: e.number().optional(),
1260
1273
  my_votes: e.number().optional(),
1261
1274
  votes: e.number().optional()
1262
- }), On = e.object({
1263
- rewards_type: bt,
1275
+ }), Qn = e.object({
1276
+ rewards_type: yt,
1264
1277
  rewards: e.array(V).optional()
1265
- }), Nn = e.object({
1278
+ }), Bn = e.object({
1266
1279
  candidate_id: e.string(),
1267
1280
  is_winner: e.bool(),
1268
1281
  total_votes: e.number(),
1269
1282
  my_votes: e.number()
1270
- }), Qn = e.object({
1283
+ }), Mn = e.object({
1271
1284
  role: e.string(),
1272
1285
  content: e.string()
1273
- }), Bn = e.object({
1274
- conversations: e.array(Qn)
1275
- }), Mn = e.object({
1286
+ }), Kn = e.object({
1287
+ conversations: e.array(Mn)
1288
+ }), Hn = e.object({
1276
1289
  user_id: e.string(),
1277
1290
  name: e.string(),
1278
1291
  avatar_url: e.string(),
@@ -1280,32 +1293,32 @@ const v = {
1280
1293
  video_note: e.number(),
1281
1294
  created_at: e.number()
1282
1295
  }), U = e.union(
1283
- qn,
1296
+ xn,
1297
+ Rn,
1298
+ $n,
1284
1299
  Cn,
1300
+ Pn,
1301
+ On,
1302
+ Nn,
1285
1303
  En,
1304
+ ae,
1286
1305
  Vn,
1287
- Ln,
1288
- An,
1289
- Gn,
1290
- Pn,
1291
- re,
1292
- vn,
1293
- Un,
1294
- xn,
1295
- Tn,
1296
- kn,
1297
- Bn,
1298
1306
  Fn,
1307
+ Sn,
1308
+ qn,
1309
+ vn,
1310
+ Kn,
1311
+ Dn,
1299
1312
  e.custom(
1300
1313
  "EmptyObject",
1301
1314
  (i) => k(i) && Object.keys(i).length === 0
1302
1315
  )
1303
- ).satisfies().lock(), Kn = e.object({
1316
+ ).satisfies().lock(), zn = e.object({
1304
1317
  reward_id: e.number(),
1305
1318
  reward_item_id: e.number(),
1306
- reward_item_type: W,
1319
+ reward_item_type: ee,
1307
1320
  reward_count: e.number(),
1308
- reward_status: te,
1321
+ reward_status: ne,
1309
1322
  reward_source: $,
1310
1323
  reward_item_name: e.string(),
1311
1324
  reward_item_icon_url: e.string(),
@@ -1313,19 +1326,19 @@ const v = {
1313
1326
  reward_item_rating: e.number(),
1314
1327
  receive_time: e.number(),
1315
1328
  extra_data: e.union(...U.validators, e.record(e.unknown())).satisfies().optional()
1316
- }), Hn = e.object({
1329
+ }), Jn = e.object({
1317
1330
  reward_id: e.number(),
1318
1331
  reward_item_id: e.number(),
1319
1332
  reward_item_name: e.string(),
1320
- reward_item_type: W,
1333
+ reward_item_type: ee,
1321
1334
  reward_item_icon_url: e.string(),
1322
1335
  reward_item_desc: e.string().optional(),
1323
1336
  reward_item_rating: e.number(),
1324
1337
  reward_amount: e.number(),
1325
- reward_status: te,
1338
+ reward_status: ne,
1326
1339
  reward_source: $,
1327
1340
  extra_data: e.record(e.unknown()).optional()
1328
- }), zn = e.object({
1341
+ }), Zn = e.object({
1329
1342
  engagement_id: e.number(),
1330
1343
  user_id: e.string(),
1331
1344
  event_id: e.number(),
@@ -1335,15 +1348,15 @@ const v = {
1335
1348
  server_id: e.string().optional(),
1336
1349
  role_id: e.string().optional(),
1337
1350
  created_at: e.number(),
1338
- rewards: e.array(Kn).optional()
1339
- }).lock(), Jn = e.object({
1351
+ rewards: e.array(zn).optional()
1352
+ }).lock(), Xn = e.object({
1340
1353
  allowed: e.bool(),
1341
1354
  registered: e.bool()
1342
- }), Zn = e.object({
1355
+ }), Yn = e.object({
1343
1356
  feature_id: e.number(),
1344
1357
  can_engage: e.bool(),
1345
1358
  has_unclaimed_rewards: e.bool()
1346
- }), Xn = e.object({
1359
+ }), Wn = e.object({
1347
1360
  engagement_id: e.number(),
1348
1361
  engagement: e.object({
1349
1362
  engagement_id: e.number(),
@@ -1351,41 +1364,41 @@ const v = {
1351
1364
  feature_id: e.number(),
1352
1365
  data: U.clone().optional()
1353
1366
  }).optional(),
1354
- rewards: e.array(Hn).optional(),
1367
+ rewards: e.array(Jn).optional(),
1355
1368
  scan: e.bool().optional()
1356
- }), Yn = e.object({
1369
+ }), er = e.object({
1357
1370
  reward_id: e.number(),
1358
1371
  reward_status: E
1359
- }), Wn = e.guard(wn), er = e.guard(Jn), x = s({ count: e.number() }), tr = s({ first_visit: e.bool() }), nr = s({
1360
- engagements: e.union(e.array(Mn), e.array($n))
1361
- }), rr = s({
1362
- status: e.array(Zn)
1363
- }), ar = s({
1364
- engagements_counts: e.record(e.number())
1372
+ }), tr = e.guard(kn), nr = e.guard(Xn), x = s({ count: e.number() }), rr = s({ first_visit: e.bool() }), ar = s({
1373
+ engagements: e.union(e.array(Hn), e.array(Un))
1365
1374
  }), or = s({
1366
- engagements: e.array(zn),
1375
+ status: e.array(Yn)
1376
+ }), ir = s({
1377
+ engagements_counts: e.record(e.number())
1378
+ }), sr = s({
1379
+ engagements: e.array(Zn),
1367
1380
  next_token: e.string().optional()
1368
- }), ir = e.guard(Xn), sr = s({
1369
- claimed_items: e.array(Yn)
1370
- }), cr = s({
1381
+ }), cr = e.guard(Wn), lr = s({
1382
+ claimed_items: e.array(er)
1383
+ }), ur = s({
1371
1384
  rewards: e.array(V)
1372
- }), lr = s({
1385
+ }), mr = s({
1373
1386
  reward_status: E
1374
- }), ur = s({
1387
+ }), dr = s({
1375
1388
  user_rewards: e.array(V),
1376
1389
  next_token: e.string().optional()
1377
- }), mr = s({
1390
+ }), gr = s({
1378
1391
  scene: e.string()
1379
- }), dr = s({
1392
+ }), pr = s({
1380
1393
  params: e.string()
1381
- }), gr = s({
1394
+ }), _r = s({
1382
1395
  img: e.string()
1383
- }), pr = e.guard(Sn), _r = e.guard(On), br = e.guard(
1396
+ }), br = e.guard(Ln), yr = e.guard(Qn), hr = e.guard(
1384
1397
  e.object({
1385
- candidate_votes: e.array(Nn)
1398
+ candidate_votes: e.array(Bn)
1386
1399
  })
1387
- ), yr = e.guard(re), hr = e.guard(Dn), fr = e.guard(In);
1388
- class ua {
1400
+ ), fr = e.guard(ae), M = e.guard(In), wr = e.guard(An), kr = e.guard(Gn);
1401
+ class da {
1389
1402
  token;
1390
1403
  event = 0;
1391
1404
  req;
@@ -1398,7 +1411,7 @@ class ua {
1398
1411
  * https://kdocs.cn/l/cf2mO2uRLqh9?linkname=OWGSPF3Ysl
1399
1412
  */
1400
1413
  async verifyMobileAllowed(t, n, r) {
1401
- const { data: a } = await this.req.get("verify-mobile-allowed", er, {
1414
+ const { data: a } = await this.req.get("verify-mobile-allowed", nr, {
1402
1415
  ...r,
1403
1416
  params: { game_id: t, mobile: n }
1404
1417
  });
@@ -1410,7 +1423,7 @@ class ua {
1410
1423
  * https://kdocs.cn/l/ckWFDcOsYEUA?linkname=wFXxtdNKPm
1411
1424
  */
1412
1425
  async getConfig(t) {
1413
- const { data: n } = await this.req.get(`event/${this.event}/event-config`, Wn, t);
1426
+ const { data: n } = await this.req.get(`event/${this.event}/event-config`, tr, t);
1414
1427
  return n;
1415
1428
  }
1416
1429
  /**
@@ -1445,7 +1458,7 @@ class ua {
1445
1458
  * https://kdocs.cn/l/ckWFDcOsYEUA?linkname=THtZ4ewIQW
1446
1459
  */
1447
1460
  async getEngagements(t, n) {
1448
- const { data: r } = await this.req.get(`event/${this.event}/feature-engagements`, nr, {
1461
+ const { data: r } = await this.req.get(`event/${this.event}/feature-engagements`, ar, {
1449
1462
  ...n,
1450
1463
  params: { feature_id: t }
1451
1464
  });
@@ -1461,7 +1474,7 @@ class ua {
1461
1474
  const { data: r, code: a, message: o } = await this.req.post(
1462
1475
  `event/${this.event}/visit`,
1463
1476
  c(t || {}),
1464
- tr,
1477
+ rr,
1465
1478
  n
1466
1479
  );
1467
1480
  return r ?? {
@@ -1478,7 +1491,7 @@ class ua {
1478
1491
  */
1479
1492
  async getUserFeatureStatus(t, n) {
1480
1493
  if (!await this.token.autoLogin()) return [];
1481
- const { data: r } = await this.req.get("event/user-feature-status", rr, {
1494
+ const { data: r } = await this.req.get("event/user-feature-status", or, {
1482
1495
  ...n,
1483
1496
  message: !1,
1484
1497
  params: c({ ...t, event_id: this.event })
@@ -1492,7 +1505,7 @@ class ua {
1492
1505
  */
1493
1506
  async getUserEngagementCount(t, n) {
1494
1507
  if (!await this.token.autoLogin()) return {};
1495
- const { data: r } = await this.req.get("event/user-engagements-count", ar, {
1508
+ const { data: r } = await this.req.get("event/user-engagements-count", ir, {
1496
1509
  message: !1,
1497
1510
  params: c({ ...n, event_id: this.event, feature_id: t })
1498
1511
  });
@@ -1511,7 +1524,7 @@ class ua {
1511
1524
  engagements: [],
1512
1525
  next_token: ""
1513
1526
  };
1514
- const { data: a } = await this.req.get("event/user-engagements", or, {
1527
+ const { data: a } = await this.req.get("event/user-engagements", sr, {
1515
1528
  ...r,
1516
1529
  params: c({
1517
1530
  max_results: 20,
@@ -1543,7 +1556,7 @@ class ua {
1543
1556
  engagement: n,
1544
1557
  ...r
1545
1558
  }),
1546
- ir,
1559
+ cr,
1547
1560
  a
1548
1561
  );
1549
1562
  return o ?? {
@@ -1566,7 +1579,7 @@ class ua {
1566
1579
  ...t,
1567
1580
  server_id: t.server_id ? +t.server_id : void 0
1568
1581
  }),
1569
- sr,
1582
+ lr,
1570
1583
  n
1571
1584
  );
1572
1585
  return r?.claimed_items || {
@@ -1587,7 +1600,7 @@ class ua {
1587
1600
  ...t,
1588
1601
  server_id: t.server_id ? +t.server_id : void 0
1589
1602
  }),
1590
- cr,
1603
+ ur,
1591
1604
  n
1592
1605
  );
1593
1606
  return r?.rewards || {
@@ -1605,7 +1618,7 @@ class ua {
1605
1618
  const { data: r, code: a, message: o } = await this.req.post(
1606
1619
  "event/claim-weixin-hongbao",
1607
1620
  { reward_id: t },
1608
- lr,
1621
+ mr,
1609
1622
  n
1610
1623
  );
1611
1624
  return r || {
@@ -1646,7 +1659,7 @@ class ua {
1646
1659
  const { data: r } = await this.req.post(
1647
1660
  "event/user-rewards",
1648
1661
  c({ max_results: 20, ...t, event_id: this.event }),
1649
- ur,
1662
+ dr,
1650
1663
  n
1651
1664
  );
1652
1665
  return {
@@ -1694,7 +1707,7 @@ class ua {
1694
1707
  */
1695
1708
  async getUnlimitQrcodeScene(t, n) {
1696
1709
  if (!await this.token.autoLogin()) return null;
1697
- const { data: r } = await this.req.get("event/unlimit-qrcode-scene", mr, {
1710
+ const { data: r } = await this.req.get("event/unlimit-qrcode-scene", gr, {
1698
1711
  ...n,
1699
1712
  params: { params: t }
1700
1713
  });
@@ -1708,7 +1721,7 @@ class ua {
1708
1721
  * @param scene - 小程序码 scene 值
1709
1722
  */
1710
1723
  async getParamsByQrcodeScene(t, n) {
1711
- const { data: r } = await this.req.get("event/params-by-qrcode-scene", dr, {
1724
+ const { data: r } = await this.req.get("event/params-by-qrcode-scene", pr, {
1712
1725
  ...n,
1713
1726
  params: { scene: t }
1714
1727
  });
@@ -1724,7 +1737,7 @@ class ua {
1724
1737
  const { data: r } = await this.req.post(
1725
1738
  "event/unlimit-qrcode",
1726
1739
  c(t),
1727
- gr,
1740
+ _r,
1728
1741
  n
1729
1742
  );
1730
1743
  return r?.img ?? null;
@@ -1736,7 +1749,7 @@ class ua {
1736
1749
  */
1737
1750
  async getQuestProgress(t, n) {
1738
1751
  if (!await this.token.autoLogin()) return null;
1739
- const { data: r, code: a, message: o } = await this.req.get(`event/${this.event}/quest-progress`, pr, {
1752
+ const { data: r, code: a, message: o } = await this.req.get(`event/${this.event}/quest-progress`, br, {
1740
1753
  message: !1,
1741
1754
  ...n,
1742
1755
  params: { feature_id: t }
@@ -1758,7 +1771,7 @@ class ua {
1758
1771
  const { data: r, code: a, message: o } = await this.req.post(
1759
1772
  "event/vote2/rewards",
1760
1773
  { feature_id: t, event_id: this.event },
1761
- _r,
1774
+ yr,
1762
1775
  n
1763
1776
  );
1764
1777
  return r || {
@@ -1773,7 +1786,7 @@ class ua {
1773
1786
  */
1774
1787
  async getVote2Leaderboard(t, n) {
1775
1788
  if (!await this.token.autoLogin()) return [];
1776
- const { data: r } = await this.req.get("event/vote2/leaderboard", br, {
1789
+ const { data: r } = await this.req.get("event/vote2/leaderboard", hr, {
1777
1790
  ...n,
1778
1791
  params: { feature_id: t, event_id: this.event }
1779
1792
  });
@@ -1786,7 +1799,7 @@ class ua {
1786
1799
  */
1787
1800
  async getCashbackQuery(t, n) {
1788
1801
  if (!await this.token.autoLogin()) return null;
1789
- const { data: r, code: a, message: o } = await this.req.get("event/cashback/query", yr, {
1802
+ const { data: r, code: a, message: o } = await this.req.get("event/cashback/query", fr, {
1790
1803
  ...n,
1791
1804
  params: { feature_id: t, event_id: this.event }
1792
1805
  });
@@ -1802,14 +1815,13 @@ class ua {
1802
1815
  */
1803
1816
  async getUgcRecord(t, n, r) {
1804
1817
  if (!await this.token.autoLogin()) return null;
1805
- const { data: a, code: o, message: d } = await this.req.get("event/ugc/my", hr, {
1818
+ const { data: a, code: o, message: d } = await this.req.get("event/ugc/my", M, {
1806
1819
  ...r,
1807
1820
  params: {
1808
- feature_id: t,
1809
1821
  max_results: 20,
1810
1822
  ...n,
1823
+ feature_id: t,
1811
1824
  event_id: this.event
1812
- /** 查询返回最大参与记录数 */
1813
1825
  }
1814
1826
  });
1815
1827
  return a || {
@@ -1831,21 +1843,64 @@ class ua {
1831
1843
  const { data: a, code: o, message: d } = await this.req.post(
1832
1844
  "event/ugc/upload-image",
1833
1845
  { feature_id: t, ...n, event_id: this.event },
1834
- fr,
1846
+ wr,
1835
1847
  r
1836
1848
  );
1837
1849
  return a || {
1838
1850
  message: d,
1839
- code: o
1851
+ error: o
1852
+ };
1853
+ }
1854
+ /**
1855
+ * 获取推荐稿件列表,随机显示 N 条被接受的投稿记录
1856
+ *
1857
+ * https://www.kdocs.cn/l/ckWFDcOsYEUA?linkname=WzvcAPjHAh
1858
+ */
1859
+ async getUgcRecommendation(t, n) {
1860
+ if (!await this.token.autoLogin()) return null;
1861
+ const { data: r, code: a, message: o } = await this.req.get("event/ugc/recommendation", M, {
1862
+ ...n,
1863
+ params: {
1864
+ feature_id: t,
1865
+ event_id: this.event
1866
+ }
1867
+ });
1868
+ return r || {
1869
+ message: o,
1870
+ error: a
1871
+ };
1872
+ }
1873
+ /**
1874
+ * 获取指定活动玩法的 UGC 投稿排行榜数据
1875
+ *
1876
+ * 该接口仅在管理员在 Console 后台完成排行榜结算后才会返回有效数据。
1877
+ * 结算前调用将返回空结果集。
1878
+ * 排行榜结算通常在活动结束后由管理员在 Console 后台手动触发。
1879
+ * 目前前端无法直接在投稿玩法中获得「是否已经结算」的状态。
1880
+ *
1881
+ * https://www.kdocs.cn/l/ckWFDcOsYEUA?linkname=KoB7S8omkC
1882
+ */
1883
+ async getUgcLeaderboard(t, n) {
1884
+ if (!await this.token.autoLogin()) return null;
1885
+ const { data: r, code: a, message: o } = await this.req.get("event/ugc/leaderboard", kr, {
1886
+ ...n,
1887
+ params: {
1888
+ feature_id: t,
1889
+ event_id: this.event
1890
+ }
1891
+ });
1892
+ return r || {
1893
+ message: o,
1894
+ error: a
1840
1895
  };
1841
1896
  }
1842
1897
  }
1843
- const wr = {
1898
+ const vr = {
1844
1899
  /** 所有人均可以发帖 */
1845
1900
  All: "all",
1846
1901
  /** 指定用户可发帖 */
1847
1902
  Limit: "limit"
1848
- }, kr = e.string().enum(wr).lock(), vr = {
1903
+ }, Vr = e.string().enum(vr).lock(), Cr = {
1849
1904
  /** 待审核(仅自己可见) */
1850
1905
  Pending: "pending",
1851
1906
  /** 审核通过 */
@@ -1854,14 +1909,14 @@ const wr = {
1854
1909
  Failed: "failed",
1855
1910
  /** 嫌疑(仅自己可见) */
1856
1911
  Suspect: "suspect"
1857
- }, oe = e.string().enum(vr).lock(), Vr = {
1912
+ }, ie = e.string().enum(Cr).lock(), Rr = {
1858
1913
  /** 系统通知 */
1859
1914
  System: "system",
1860
1915
  /** 评论我的 */
1861
1916
  Comment: "comment",
1862
1917
  /** 点赞通知 */
1863
1918
  Like: "like"
1864
- }, ma = e.string().enum(Vr).lock(), m = {
1919
+ }, ga = e.string().enum(Rr).lock(), m = {
1865
1920
  /** 系统通知 */
1866
1921
  System: "system",
1867
1922
  /** 帖子被置顶 */
@@ -1886,13 +1941,13 @@ const wr = {
1886
1941
  ReplyLiked: "reply_liked",
1887
1942
  /** 回复被删除 */
1888
1943
  ReplyDeleted: "reply_deleted"
1889
- }, Cr = e.string().enum(m).lock(), ie = e.object({
1944
+ }, jr = e.string().enum(m).lock(), se = e.object({
1890
1945
  forum_id: e.number(),
1891
1946
  icon_url: e.string(),
1892
1947
  name: e.string(),
1893
1948
  tags: e.array(e.string()),
1894
1949
  sort: e.number(),
1895
- mode: kr,
1950
+ mode: Vr,
1896
1951
  member_ids: e.array(e.number())
1897
1952
  }).lock(), F = e.object({
1898
1953
  topic_id: e.number(),
@@ -1903,7 +1958,7 @@ const wr = {
1903
1958
  post_num: e.number()
1904
1959
  }).lock(), D = e.object({
1905
1960
  post_id: e.number(),
1906
- forum: ie,
1961
+ forum: se,
1907
1962
  posted_by: e.string(),
1908
1963
  nickname: e.string(),
1909
1964
  avatar_url: e.string(),
@@ -1919,11 +1974,11 @@ const wr = {
1919
1974
  event_ids: e.array(e.number()),
1920
1975
  is_pinned: e.bool(),
1921
1976
  is_highlighted: e.bool(),
1922
- status: oe,
1977
+ status: ie,
1923
1978
  create_time: e.number()
1924
- }).lock(), se = e.object({
1979
+ }).lock(), ce = e.object({
1925
1980
  err_msg: e.string().optional()
1926
- }).optional().lock(), Rr = e.object({
1981
+ }).optional().lock(), Tr = e.object({
1927
1982
  reply_id: e.number(),
1928
1983
  reply_content: e.string().optional(),
1929
1984
  replied_by: e.string(),
@@ -1942,7 +1997,7 @@ const wr = {
1942
1997
  content: e.string(),
1943
1998
  like_num: e.number(),
1944
1999
  liked: e.bool(),
1945
- reply_to: Rr,
2000
+ reply_to: Tr,
1946
2001
  create_time: e.number()
1947
2002
  }).lock(), w = e.object({
1948
2003
  comment_id: e.number(),
@@ -1962,21 +2017,21 @@ const wr = {
1962
2017
  liked: e.bool(),
1963
2018
  image_url: e.string(),
1964
2019
  create_time: e.number(),
1965
- status: oe,
2020
+ status: ie,
1966
2021
  replies: e.array(C).optional()
1967
- }).lock(), jr = e.object({
2022
+ }).lock(), qr = e.object({
1968
2023
  image_url: e.string(),
1969
2024
  upload_url: e.string(),
1970
2025
  existed: e.bool()
1971
2026
  }).lock(), _ = e.object({
1972
2027
  notification_id: e.string(),
1973
- notification_type: Cr,
2028
+ notification_type: jr,
1974
2029
  is_read: e.bool(),
1975
2030
  create_time: e.number(),
1976
2031
  origin_user_id: e.string(),
1977
2032
  origin_user_name: e.string(),
1978
2033
  origin_user_avatar_url: e.string()
1979
- }).lock(), Tr = e.object({
2034
+ }).lock(), xr = e.object({
1980
2035
  system_message_subject: e.string(),
1981
2036
  system_message_content: e.string()
1982
2037
  }).lock(), I = e.object({
@@ -1990,11 +2045,11 @@ const wr = {
1990
2045
  }).lock(), A = e.object({
1991
2046
  reply_id: e.number(),
1992
2047
  reply_content: e.string()
1993
- }).lock(), qr = e.object({
2048
+ }).lock(), Sr = e.object({
1994
2049
  ..._.shape,
1995
- ...Tr.shape,
2050
+ ...xr.shape,
1996
2051
  notification_type: e.string().enum(m.System)
1997
- }), xr = e.object({
2052
+ }), Lr = e.object({
1998
2053
  ..._.shape,
1999
2054
  ...I.shape,
2000
2055
  notification_type: e.string().enum(
@@ -2003,68 +2058,68 @@ const wr = {
2003
2058
  m.PostDeleted,
2004
2059
  m.PostLiked
2005
2060
  )
2006
- }), Sr = e.object({
2061
+ }), Pr = e.object({
2007
2062
  ..._.shape,
2008
2063
  ...I.shape,
2009
2064
  ...R.shape,
2010
2065
  notification_type: e.string().enum(m.PostCommented)
2011
- }), Lr = e.object({
2066
+ }), Er = e.object({
2012
2067
  ..._.shape,
2013
2068
  ...R.shape,
2014
2069
  ...A.shape,
2015
2070
  notification_type: e.string().enum(m.CommentReplied)
2016
- }), Pr = e.object({
2071
+ }), $r = e.object({
2017
2072
  ..._.shape,
2018
2073
  ...R.shape,
2019
2074
  ...I.shape,
2020
2075
  notification_type: e.string().enum(m.CommentLiked, m.CommentDeleted)
2021
- }), Er = e.object({
2076
+ }), Ur = e.object({
2022
2077
  ..._.shape,
2023
2078
  ...A.shape,
2024
2079
  notification_type: e.string().enum(m.ReplyReplied),
2025
2080
  comment_id: e.number(),
2026
2081
  reply_to_reply_id: e.number(),
2027
2082
  reply_to_reply_content: e.string()
2028
- }), $r = e.object({
2083
+ }), Fr = e.object({
2029
2084
  ..._.shape,
2030
2085
  ...A.shape,
2031
2086
  ...R.shape,
2032
2087
  notification_type: e.string().enum(m.ReplyLiked, m.ReplyDeleted)
2033
- }), Ur = e.union(
2034
- qr,
2035
- xr,
2088
+ }), Dr = e.union(
2036
2089
  Sr,
2037
2090
  Lr,
2038
2091
  Pr,
2039
2092
  Er,
2040
- $r
2041
- ).satisfies().lock(), Fr = s({ forums: e.array(ie) }), Dr = s({ topics: e.array(F) }), Ir = s({ topic: F }), Ar = s({ post: D }), M = s({
2093
+ $r,
2094
+ Ur,
2095
+ Fr
2096
+ ).satisfies().lock(), Ir = s({ forums: e.array(se) }), Ar = s({ topics: e.array(F) }), Gr = s({ topic: F }), Or = s({ post: D }), K = s({
2042
2097
  posts: e.array(D),
2043
2098
  next_token: e.string().optional()
2044
- }), Gr = s({
2099
+ }), Nr = s({
2045
2100
  post: D.clone().optional(),
2046
- antispam: se.clone().optional()
2047
- }), Or = s({
2101
+ antispam: ce.clone().optional()
2102
+ }), Qr = s({
2048
2103
  replies: e.array(C),
2049
2104
  next_token: e.string().optional()
2050
- }), Nr = s({ reply: C }), Qr = s({
2105
+ }), Br = s({ reply: C }), Mr = s({
2051
2106
  reply: C.clone().optional(),
2052
- antispam: se.clone().optional()
2053
- }), Br = s({ comment: w }), Mr = s({
2107
+ antispam: ce.clone().optional()
2108
+ }), Kr = s({ comment: w }), Hr = s({
2054
2109
  comments: e.array(w),
2055
2110
  next_token: e.string().optional()
2056
- }), Kr = s({
2111
+ }), zr = s({
2057
2112
  comment: w.clone().optional(),
2058
2113
  antispam: w.clone().optional()
2059
- }), Hr = e.guard(jr), zr = s({
2060
- notifications: e.array(Ur),
2114
+ }), Jr = e.guard(qr), Zr = s({
2115
+ notifications: e.array(Dr),
2061
2116
  next_token: e.string().optional()
2062
- }), Jr = s({
2117
+ }), Xr = s({
2063
2118
  system: e.number(),
2064
2119
  comment: e.number(),
2065
2120
  like: e.number()
2066
2121
  });
2067
- class da {
2122
+ class pa {
2068
2123
  token;
2069
2124
  req;
2070
2125
  constructor(t) {
@@ -2076,7 +2131,7 @@ class da {
2076
2131
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=QaqUa2K0z0
2077
2132
  */
2078
2133
  async getForums(t) {
2079
- const { data: n } = await this.req.get("community/forums", Fr, t);
2134
+ const { data: n } = await this.req.get("community/forums", Ir, t);
2080
2135
  return n?.forums || [];
2081
2136
  }
2082
2137
  /**
@@ -2085,7 +2140,7 @@ class da {
2085
2140
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=mIwpymAQom
2086
2141
  */
2087
2142
  async getTopics(t) {
2088
- const { data: n } = await this.req.get("community/topics", Dr, t);
2143
+ const { data: n } = await this.req.get("community/topics", Ar, t);
2089
2144
  return n?.topics || [];
2090
2145
  }
2091
2146
  /**
@@ -2094,7 +2149,7 @@ class da {
2094
2149
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=Jvw7xMK31K
2095
2150
  */
2096
2151
  async getTopic(t, n) {
2097
- const { data: r, code: a } = await this.req.get("community/topic", Ir, {
2152
+ const { data: r, code: a } = await this.req.get("community/topic", Gr, {
2098
2153
  ...n,
2099
2154
  params: { topic_id: t }
2100
2155
  });
@@ -2106,7 +2161,7 @@ class da {
2106
2161
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=XKI9lDVrPq
2107
2162
  */
2108
2163
  async getPosts(t, n) {
2109
- const { data: r, code: a, message: o } = await this.req.get("community/posts", M, {
2164
+ const { data: r, code: a, message: o } = await this.req.get("community/posts", K, {
2110
2165
  ...n,
2111
2166
  params: c(t)
2112
2167
  });
@@ -2121,7 +2176,7 @@ class da {
2121
2176
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=yXubbZuDlC
2122
2177
  */
2123
2178
  async getPinnedPosts(t, n, r, a) {
2124
- const { data: o, code: d, message: p } = await this.req.get("community/pinned-posts", M, {
2179
+ const { data: o, code: d, message: p } = await this.req.get("community/pinned-posts", K, {
2125
2180
  ...a,
2126
2181
  params: c({ forum_id: t, max_results: n, next_token: r })
2127
2182
  });
@@ -2136,7 +2191,7 @@ class da {
2136
2191
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=hj1AZy5rcP
2137
2192
  */
2138
2193
  async getPost(t, n) {
2139
- const { data: r, code: a, message: o } = await this.req.get("community/post", Ar, {
2194
+ const { data: r, code: a, message: o } = await this.req.get("community/post", Or, {
2140
2195
  ...n,
2141
2196
  params: { post_id: t }
2142
2197
  });
@@ -2154,7 +2209,7 @@ class da {
2154
2209
  const { data: r, code: a, message: o } = await this.req.post(
2155
2210
  "community/post",
2156
2211
  c(t),
2157
- Gr,
2212
+ Nr,
2158
2213
  n
2159
2214
  );
2160
2215
  return r ?? {
@@ -2168,7 +2223,7 @@ class da {
2168
2223
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=djKbX7lFdp
2169
2224
  */
2170
2225
  async getComments(t, n) {
2171
- const { data: r, code: a, message: o } = await this.req.get("community/comments", Mr, {
2226
+ const { data: r, code: a, message: o } = await this.req.get("community/comments", Hr, {
2172
2227
  ...n,
2173
2228
  params: c(t)
2174
2229
  });
@@ -2183,7 +2238,7 @@ class da {
2183
2238
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=RIc7oxVGae
2184
2239
  */
2185
2240
  async getComment(t, n) {
2186
- const { data: r, code: a, message: o } = await this.req.get("community/comment", Br, {
2241
+ const { data: r, code: a, message: o } = await this.req.get("community/comment", Kr, {
2187
2242
  ...n,
2188
2243
  params: { comment_id: t }
2189
2244
  });
@@ -2202,7 +2257,7 @@ class da {
2202
2257
  const { data: r, code: a, message: o } = await this.req.post(
2203
2258
  "community/comment",
2204
2259
  c(t),
2205
- Kr,
2260
+ zr,
2206
2261
  n
2207
2262
  );
2208
2263
  return r ?? {
@@ -2216,7 +2271,7 @@ class da {
2216
2271
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=sVKBbY83MY
2217
2272
  */
2218
2273
  async getReplies(t, n) {
2219
- const { data: r } = await this.req.get("community/replies", Or, {
2274
+ const { data: r } = await this.req.get("community/replies", Qr, {
2220
2275
  ...n,
2221
2276
  params: c({ max_results: 20, ...t })
2222
2277
  });
@@ -2231,7 +2286,7 @@ class da {
2231
2286
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=kxhcSXD3MG
2232
2287
  */
2233
2288
  async getReply(t, n) {
2234
- const { data: r, code: a, message: o } = await this.req.get("community/reply", Nr, {
2289
+ const { data: r, code: a, message: o } = await this.req.get("community/reply", Br, {
2235
2290
  ...n,
2236
2291
  params: { reply_id: t }
2237
2292
  });
@@ -2250,7 +2305,7 @@ class da {
2250
2305
  const { data: r, code: a, message: o } = await this.req.post(
2251
2306
  "community/reply",
2252
2307
  c(t),
2253
- Qr,
2308
+ Mr,
2254
2309
  n
2255
2310
  );
2256
2311
  return r ?? {
@@ -2301,7 +2356,7 @@ class da {
2301
2356
  */
2302
2357
  async getMediaPresignedUrl(t, n) {
2303
2358
  await this.token.autoLogin();
2304
- const { data: r } = await this.req.get("community/media-presign-url", Hr, {
2359
+ const { data: r } = await this.req.get("community/media-presign-url", Jr, {
2305
2360
  ...n,
2306
2361
  params: t
2307
2362
  });
@@ -2316,7 +2371,7 @@ class da {
2316
2371
  */
2317
2372
  async getNotifications(t, n) {
2318
2373
  await this.token.autoLogin();
2319
- const { data: r } = await this.req.get("community/notifications", zr, {
2374
+ const { data: r } = await this.req.get("community/notifications", Zr, {
2320
2375
  ...n,
2321
2376
  params: c({ max_results: 20, ...t })
2322
2377
  });
@@ -2334,7 +2389,7 @@ class da {
2334
2389
  if (!await this.token.autoLogin()) return null;
2335
2390
  const { data: n } = await this.req.get(
2336
2391
  "community/unread-notifications-count",
2337
- Jr,
2392
+ Xr,
2338
2393
  t
2339
2394
  );
2340
2395
  return n;
@@ -2350,17 +2405,17 @@ class da {
2350
2405
  return r;
2351
2406
  }
2352
2407
  }
2353
- const Zr = s({
2408
+ const Yr = s({
2354
2409
  nonce_str: e.string(),
2355
2410
  timestamp: e.number(),
2356
2411
  signature: e.string()
2357
2412
  });
2358
- var Xr = /* @__PURE__ */ ((i) => (i.RedirectUriDisMatch = "10003", i.AppidError = "10016", i.AuthorizationError = "10015", i.NoRightForScope = "10005", i.Frequently = "10009", i.AppBanded = "10004", i.ShouldFollow = "10006", i.ScopeNull = "10010", i.RedirectUriNull = "10011", i.AppidNull = "10012", i.StateNull = "10013", i))(Xr || {});
2413
+ var Wr = /* @__PURE__ */ ((i) => (i.RedirectUriDisMatch = "10003", i.AppidError = "10016", i.AuthorizationError = "10015", i.NoRightForScope = "10005", i.Frequently = "10009", i.AppBanded = "10004", i.ShouldFollow = "10006", i.ScopeNull = "10010", i.RedirectUriNull = "10011", i.AppidNull = "10012", i.StateNull = "10013", i))(Wr || {});
2359
2414
  function S(i) {
2360
2415
  return k(i, "open_id", "union_id", "weixin_token");
2361
2416
  }
2362
- const K = "wx_login_cache";
2363
- class ga {
2417
+ const H = "wx_login_cache";
2418
+ class _a {
2364
2419
  token;
2365
2420
  $appid;
2366
2421
  req;
@@ -2391,10 +2446,10 @@ class ga {
2391
2446
  * 也可以直接调用 login 方法,并传入 weixin code 的读取函数
2392
2447
  */
2393
2448
  async getLoginCache() {
2394
- const t = this.token.storage.get(K);
2449
+ const t = this.token.storage.get(H);
2395
2450
  if (!t)
2396
2451
  return null;
2397
- const n = be(t);
2452
+ const n = ye(t);
2398
2453
  return S(n) ? (this.token.weixinToken = n.weixin_token, await this.token.autoLogin(), n) : null;
2399
2454
  }
2400
2455
  /**
@@ -2420,13 +2475,13 @@ class ga {
2420
2475
  const n = await this.getLoginCache();
2421
2476
  if (n)
2422
2477
  return n;
2423
- const r = await fe(), { data: a, code: o, message: d } = await this.req.post(
2478
+ const r = await we(), { data: a, code: o, message: d } = await this.req.post(
2424
2479
  "weixin/login",
2425
2480
  { code: r, appid: this.appid },
2426
2481
  S,
2427
2482
  { ...t, message: !1 }
2428
2483
  );
2429
- return a && (this.token.weixinToken = a.weixin_token, this.token.storage.set(K, JSON.stringify(a))), a ?? {
2484
+ return a && (this.token.weixinToken = a.weixin_token, this.token.storage.set(H, JSON.stringify(a))), a ?? {
2430
2485
  message: d,
2431
2486
  error: o
2432
2487
  };
@@ -2450,9 +2505,9 @@ class ga {
2450
2505
  async webLogin(t = "snsapi_userinfo", n) {
2451
2506
  const r = L("code"), a = Date.now(), o = +L("state");
2452
2507
  if (!r || !o || o < a - 1e3 * 60 * 5 || o > a) {
2453
- const ue = G(["code", "state"]);
2508
+ const me = G(["code", "state"]);
2454
2509
  location.replace(
2455
- `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${this.appid}&redirect_uri=${encodeURIComponent(ue)}&response_type=code&scope=${t}&state=${a}#wechat_redirect`
2510
+ `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${this.appid}&redirect_uri=${encodeURIComponent(me)}&response_type=code&scope=${t}&state=${a}#wechat_redirect`
2456
2511
  );
2457
2512
  return;
2458
2513
  }
@@ -2465,12 +2520,12 @@ class ga {
2465
2520
  "replaceState" in history && history.replaceState({}, "", d);
2466
2521
  const {
2467
2522
  data: p,
2468
- code: ce,
2469
- message: le
2523
+ code: le,
2524
+ message: ue
2470
2525
  } = await this.req.post("weixin/login", { code: r, appid: this.appid }, S, n);
2471
2526
  return p && (this.token.weixinToken = p.weixin_token, await this.token.autoLogin()), p ?? {
2472
- message: le,
2473
- error: ce
2527
+ message: ue,
2528
+ error: le
2474
2529
  };
2475
2530
  }
2476
2531
  /**
@@ -2500,7 +2555,7 @@ class ga {
2500
2555
  * https://kdocs.cn/l/cf2mO2uRLqh9?linkname=CuWOqxr9Ue
2501
2556
  */
2502
2557
  async getJSSDKConfig(t) {
2503
- const { data: n } = await this.req.get("weixin/offiaccount/jssdk-sign", Zr, {
2558
+ const { data: n } = await this.req.get("weixin/offiaccount/jssdk-sign", Yr, {
2504
2559
  ...t,
2505
2560
  params: {
2506
2561
  appid: this.appid,
@@ -2516,165 +2571,166 @@ class ga {
2516
2571
  }
2517
2572
  }
2518
2573
  export {
2519
- se as AntispamValidator,
2520
- ta as AuthToken,
2521
- Nn as CandidateVoteValidator,
2522
- re as CashbackEngagementDataValidator,
2523
- kn as ClaimActivationKeyEngagementDataValidator,
2524
- st as ClaimRewardStatus,
2574
+ ce as AntispamValidator,
2575
+ ra as AuthToken,
2576
+ Bn as CandidateVoteValidator,
2577
+ ae as CashbackEngagementDataValidator,
2578
+ vn as ClaimActivationKeyEngagementDataValidator,
2579
+ ct as ClaimRewardStatus,
2525
2580
  E as ClaimRewardStatusValidator,
2526
- Yn as ClaimedItemValidator,
2527
- J as ClubAddressValidator,
2528
- ra as ClubApi,
2529
- Z as ClubBenefitSummaryValidator,
2530
- Ae as ClubBenefitValidator,
2531
- je as ClubCreditChangeScene,
2532
- Te as ClubCreditChangeSceneValidator,
2533
- Ce as ClubCreditChangeType,
2534
- Re as ClubCreditChangeTypeValidator,
2535
- Ie as ClubCreditLogValidator,
2536
- Le as ClubGlobalConfigValidator,
2537
- qe as ClubItemType,
2538
- H as ClubItemTypeValidator,
2539
- Pe as ClubPlayerValidator,
2540
- X as ClubProductValidator,
2541
- xe as ClubRedemptionStatus,
2542
- Se as ClubRedemptionStatusValidator,
2543
- De as ClubUserCreditValidator,
2544
- Fe as ClubUserProfileValidator,
2545
- Mn as CommentEngagementValidator,
2581
+ er as ClaimedItemValidator,
2582
+ Z as ClubAddressValidator,
2583
+ oa as ClubApi,
2584
+ X as ClubBenefitSummaryValidator,
2585
+ Ge as ClubBenefitValidator,
2586
+ Te as ClubCreditChangeScene,
2587
+ qe as ClubCreditChangeSceneValidator,
2588
+ Re as ClubCreditChangeType,
2589
+ je as ClubCreditChangeTypeValidator,
2590
+ Ae as ClubCreditLogValidator,
2591
+ Pe as ClubGlobalConfigValidator,
2592
+ xe as ClubItemType,
2593
+ z as ClubItemTypeValidator,
2594
+ Ee as ClubPlayerValidator,
2595
+ Y as ClubProductValidator,
2596
+ Se as ClubRedemptionStatus,
2597
+ Le as ClubRedemptionStatusValidator,
2598
+ Ie as ClubUserCreditValidator,
2599
+ De as ClubUserProfileValidator,
2600
+ Hn as CommentEngagementValidator,
2546
2601
  w as CommentValidator,
2547
- da as CommunityApi,
2548
- Qn as ConversationValidator,
2549
- Ye as EngageAccountType,
2550
- We as EngageAccountTypeValidator,
2551
- Xn as EngageResponseValidator,
2552
- Hn as EngageRewardValidator,
2553
- ua as EventApi,
2554
- wn as EventConfigValidator,
2555
- Ct as EventFeatureConfigOfCashbackValidator,
2556
- jt as EventFeatureConfigOfCheckInValidator,
2557
- qt as EventFeatureConfigOfClaimActivationKeyValidator,
2558
- St as EventFeatureConfigOfClaimRewardsValidator,
2559
- Pt as EventFeatureConfigOfCommentValidator,
2560
- $t as EventFeatureConfigOfFollowValidator,
2561
- Dt as EventFeatureConfigOfGiftCodeValidator,
2562
- At as EventFeatureConfigOfInviteValidator,
2563
- Ot as EventFeatureConfigOfInvitedRegisterValidator,
2564
- Ht as EventFeatureConfigOfLotteryDrawValidator,
2565
- Mt as EventFeatureConfigOfLotteryValidator,
2566
- Jt as EventFeatureConfigOfPreregisterValidator,
2567
- Xt as EventFeatureConfigOfQuestValidator,
2568
- Wt as EventFeatureConfigOfRegisterValidator,
2569
- tn as EventFeatureConfigOfShareValidator,
2570
- rn as EventFeatureConfigOfSubscribeValidator,
2571
- on as EventFeatureConfigOfSurveyValidator,
2572
- cn as EventFeatureConfigOfTeamValidator,
2573
- un as EventFeatureConfigOfUgcValidator,
2574
- bn as EventFeatureConfigOfVote2Validator,
2575
- gn as EventFeatureConfigOfVoteValidator,
2576
- fn as EventFeatureConfigValidator,
2577
- et as EventPeriodType,
2578
- tt as EventPeriodTypeValidator,
2602
+ pa as CommunityApi,
2603
+ Mn as ConversationValidator,
2604
+ We as EngageAccountType,
2605
+ et as EngageAccountTypeValidator,
2606
+ Wn as EngageResponseValidator,
2607
+ Jn as EngageRewardValidator,
2608
+ da as EventApi,
2609
+ kn as EventConfigValidator,
2610
+ Rt as EventFeatureConfigOfCashbackValidator,
2611
+ Tt as EventFeatureConfigOfCheckInValidator,
2612
+ xt as EventFeatureConfigOfClaimActivationKeyValidator,
2613
+ Lt as EventFeatureConfigOfClaimRewardsValidator,
2614
+ Et as EventFeatureConfigOfCommentValidator,
2615
+ Ut as EventFeatureConfigOfFollowValidator,
2616
+ It as EventFeatureConfigOfGiftCodeValidator,
2617
+ Gt as EventFeatureConfigOfInviteValidator,
2618
+ Nt as EventFeatureConfigOfInvitedRegisterValidator,
2619
+ zt as EventFeatureConfigOfLotteryDrawValidator,
2620
+ Kt as EventFeatureConfigOfLotteryValidator,
2621
+ Zt as EventFeatureConfigOfPreregisterValidator,
2622
+ Yt as EventFeatureConfigOfQuestValidator,
2623
+ en as EventFeatureConfigOfRegisterValidator,
2624
+ nn as EventFeatureConfigOfShareValidator,
2625
+ an as EventFeatureConfigOfSubscribeValidator,
2626
+ sn as EventFeatureConfigOfSurveyValidator,
2627
+ ln as EventFeatureConfigOfTeamValidator,
2628
+ mn as EventFeatureConfigOfUgcValidator,
2629
+ yn as EventFeatureConfigOfVote2Validator,
2630
+ pn as EventFeatureConfigOfVoteValidator,
2631
+ wn as EventFeatureConfigValidator,
2632
+ tt as EventPeriodType,
2633
+ nt as EventPeriodTypeValidator,
2579
2634
  y as EventRewardItemConfigValidator,
2580
- Oe as ExtraGameRewardValidator,
2581
- Ge as ExtraPhysicalShipmentValidator,
2582
- vt as FeatureRewardValidator,
2635
+ Ne as ExtraGameRewardValidator,
2636
+ Oe as ExtraPhysicalShipmentValidator,
2637
+ Vt as FeatureRewardValidator,
2583
2638
  l as FeatureType,
2584
- nt as FeatureTypeValidator,
2585
- wr as ForumMode,
2586
- kr as ForumModeValidator,
2587
- ie as ForumValidator,
2639
+ rt as FeatureTypeValidator,
2640
+ vr as ForumMode,
2641
+ Vr as ForumModeValidator,
2642
+ se as ForumValidator,
2588
2643
  v as GamerItemType,
2589
- Y as GamerItemTypeValidator,
2590
- ve as Gender,
2591
- Ve as GenderValidator,
2592
- vn as GiftCodeEngagementDataValidator,
2593
- Vn as InviteEngagementDataValidator,
2594
- dt as LotteryDrawAction,
2595
- ca as LotteryDrawActionValidator,
2596
- Tn as LotteryDrawEngagementDataValidator,
2597
- Cn as LotteryEngagementDataValidator,
2644
+ W as GamerItemTypeValidator,
2645
+ Ve as Gender,
2646
+ Ce as GenderValidator,
2647
+ Vn as GiftCodeEngagementDataValidator,
2648
+ Cn as InviteEngagementDataValidator,
2649
+ gt as LotteryDrawAction,
2650
+ ua as LotteryDrawActionValidator,
2651
+ qn as LotteryDrawEngagementDataValidator,
2652
+ Rn as LotteryEngagementDataValidator,
2598
2653
  f as LotteryTicketStatus,
2599
- ia as LotteryTicketStatusValidator,
2654
+ ca as LotteryTicketStatusValidator,
2600
2655
  _ as NotificationBaseValidator,
2601
- Vr as NotificationCategory,
2602
- ma as NotificationCategoryValidator,
2603
- Lr as NotificationCommentReplyValidator,
2604
- Pr as NotificationCommentValidator,
2656
+ Rr as NotificationCategory,
2657
+ ga as NotificationCategoryValidator,
2658
+ Er as NotificationCommentReplyValidator,
2659
+ $r as NotificationCommentValidator,
2605
2660
  R as NotificationPayloadCommentValidator,
2606
2661
  I as NotificationPayloadPostValidator,
2607
2662
  A as NotificationPayloadReplyValidator,
2608
- Tr as NotificationPayloadSystemValidator,
2609
- Sr as NotificationPostCommentValidator,
2610
- xr as NotificationPostValidator,
2611
- Er as NotificationReplyRepliedValidator,
2612
- $r as NotificationReplyValidator,
2613
- qr as NotificationSystemValidator,
2663
+ xr as NotificationPayloadSystemValidator,
2664
+ Pr as NotificationPostCommentValidator,
2665
+ Lr as NotificationPostValidator,
2666
+ Ur as NotificationReplyRepliedValidator,
2667
+ Fr as NotificationReplyValidator,
2668
+ Sr as NotificationSystemValidator,
2614
2669
  m as NotificationType,
2615
- Cr as NotificationTypeValidator,
2616
- Ur as NotificationValidator,
2617
- Ue as PlayerRoleCardValidator,
2618
- z as PlayerRoleValidator,
2619
- vr as PostStatus,
2620
- oe as PostStatusValidator,
2670
+ jr as NotificationTypeValidator,
2671
+ Dr as NotificationValidator,
2672
+ Fe as PlayerRoleCardValidator,
2673
+ J as PlayerRoleValidator,
2674
+ Cr as PostStatus,
2675
+ ie as PostStatusValidator,
2621
2676
  D as PostValidator,
2622
- qn as PreregisterEngagementDataValidator,
2623
- jr as PresignedUrlResponseValidator,
2624
- xn as QuestEngagementDataValidator,
2625
- rt as QuestObjective,
2626
- ee as QuestObjectiveValidator,
2627
- gt as QuestProgressAlgorithm,
2628
- pt as QuestProgressAlgorithmValidator,
2629
- Sn as QuestProgressValidator,
2630
- na as RedeemParamsValidator,
2631
- Ne as RedemptionValidator,
2632
- kt as RegularRewardValidator,
2633
- Rr as ReplyToValidator,
2677
+ xn as PreregisterEngagementDataValidator,
2678
+ qr as PresignedUrlResponseValidator,
2679
+ Sn as QuestEngagementDataValidator,
2680
+ at as QuestObjective,
2681
+ te as QuestObjectiveValidator,
2682
+ pt as QuestProgressAlgorithm,
2683
+ _t as QuestProgressAlgorithmValidator,
2684
+ Ln as QuestProgressValidator,
2685
+ aa as RedeemParamsValidator,
2686
+ Qe as RedemptionValidator,
2687
+ vt as RegularRewardValidator,
2688
+ Tr as ReplyToValidator,
2634
2689
  C as ReplyValidator,
2635
- aa as RewardItemType,
2636
- W as RewardItemTypeValidator,
2637
- ct as RewardSource,
2690
+ ia as RewardItemType,
2691
+ ee as RewardItemTypeValidator,
2692
+ lt as RewardSource,
2638
2693
  $ as RewardSourceValidator,
2639
2694
  g as RewardStatus,
2640
- it as RewardStatusSuffix,
2641
- te as RewardStatusSuffixValidator,
2642
- oa as RewardStatusValidator,
2643
- Kn as RewardValidator,
2644
- $e as RoleBaseInfoValidator,
2645
- Ee as ServerBaseInfoValidator,
2646
- Ln as ShareEngagementDataValidator,
2647
- En as SurveyEngagementDataValidator,
2648
- mt as TeamAction,
2649
- sa as TeamActionValidator,
2650
- Un as TeamEngagementDataValidator,
2651
- $n as TeamEngagementValidator,
2652
- la as TeamMemberValidator,
2653
- lt as TeamVisibility,
2654
- ut as TeamVisibilityValidator,
2695
+ st as RewardStatusSuffix,
2696
+ ne as RewardStatusSuffixValidator,
2697
+ sa as RewardStatusValidator,
2698
+ zn as RewardValidator,
2699
+ Ue as RoleBaseInfoValidator,
2700
+ $e as ServerBaseInfoValidator,
2701
+ Pn as ShareEngagementDataValidator,
2702
+ $n as SurveyEngagementDataValidator,
2703
+ dt as TeamAction,
2704
+ la as TeamActionValidator,
2705
+ Fn as TeamEngagementDataValidator,
2706
+ Un as TeamEngagementValidator,
2707
+ ma as TeamMemberValidator,
2708
+ ut as TeamVisibility,
2709
+ mt as TeamVisibilityValidator,
2655
2710
  F as TopicValidator,
2656
- Fn as UgcEngagementDataValidator,
2657
- Dn as UgcRecordResponseValidator,
2658
- ht as UgcReviewStatus,
2659
- ft as UgcReviewStatusValidator,
2660
- yt as UgcSocialMedia,
2661
- ne as UgcSocialMediaValidator,
2662
- In as UgcUploadImageValidator,
2711
+ Dn as UgcEngagementDataValidator,
2712
+ Gn as UgcLeaderboardResponseValidator,
2713
+ In as UgcRecordResponseValidator,
2714
+ ft as UgcReviewStatus,
2715
+ wt as UgcReviewStatusValidator,
2716
+ ht as UgcSocialMedia,
2717
+ re as UgcSocialMediaValidator,
2718
+ An as UgcUploadImageValidator,
2663
2719
  U as UserEngagementDataValidator,
2664
- zn as UserEngagementValidator,
2665
- Zn as UserFeatureStatusValidator,
2720
+ Zn as UserEngagementValidator,
2721
+ Yn as UserFeatureStatusValidator,
2666
2722
  V as UserRewardValidator,
2667
- Jn as VerifyMobileResultValidator,
2668
- On as Vote2ClaimRewardsResponseValidator,
2669
- Gn as Vote2EngagementDataValidator,
2670
- _t as Vote2RewardType,
2671
- bt as Vote2RewardTypeValidator,
2672
- An as VoteEngagementDataValidator,
2673
- at as VoteOptionSource,
2674
- ot as VoteOptionSourceValidator,
2675
- ga as WeixinApi,
2676
- Pn as WeixinSubscribeEngagementDataValidator,
2677
- Xr as WeixinWebLoginErrorCode,
2678
- Bn as ZeroChatGPTDataValidator,
2679
- Zr as isWeixinSignResponse
2723
+ Xn as VerifyMobileResultValidator,
2724
+ Qn as Vote2ClaimRewardsResponseValidator,
2725
+ Nn as Vote2EngagementDataValidator,
2726
+ bt as Vote2RewardType,
2727
+ yt as Vote2RewardTypeValidator,
2728
+ On as VoteEngagementDataValidator,
2729
+ ot as VoteOptionSource,
2730
+ it as VoteOptionSourceValidator,
2731
+ _a as WeixinApi,
2732
+ En as WeixinSubscribeEngagementDataValidator,
2733
+ Wr as WeixinWebLoginErrorCode,
2734
+ Kn as ZeroChatGPTDataValidator,
2735
+ Yr as isWeixinSignResponse
2680
2736
  };