@seayoo-web/gamer-api 2.12.5 → 2.13.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.
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 S, 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 oa {
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()) {
90
- const a = /^(?:localhost|[\d.]+):\d{4}$/.test(location.host), o = L("gamer_token");
91
- (me() || a && o) && (this.$gamerToken = o);
89
+ }), be()) {
90
+ const a = /^(?:localhost|[\d.]+):\d{4}$/.test(location.host), o = S("gamer_token");
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(), Le = {
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
+ }, Se = e.string().enum(Le).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(), Ue = e.object({
285
285
  server_id: e.string(),
286
286
  server_name: e.string()
287
287
  }).lock(), $e = 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
291
  ...$e.shape,
292
- ...Ee.shape,
292
+ ...Ue.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(), ia = 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
402
  status: Se,
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 sa {
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(), ca = 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
  /** 抽奖 */
@@ -747,8 +747,10 @@ const v = {
747
747
  /** 不朽箴言特有的 AI 聊天 */
748
748
  ZeroChatgpt: "zero_chatgpt",
749
749
  /** 投稿 */
750
- Ugc: "ugc"
751
- }, nt = e.string().enum(l).lock(), rt = {
750
+ Ugc: "ugc",
751
+ /** 投稿点赞 */
752
+ UgcLike: "ugc_like"
753
+ }, rt = e.string().enum(l).lock(), at = {
752
754
  /** 累计游戏内活跃值 */
753
755
  Active: "player_active_points",
754
756
  /** 累计登录,单位 人天 */
@@ -771,14 +773,14 @@ const v = {
771
773
  EventItems: "event_items",
772
774
  /**游戏内任务 */
773
775
  GameTask: "game_task"
774
- }, ee = e.string().enum(rt).lock(), at = {
776
+ }, te = e.string().enum(at).lock(), ot = {
775
777
  /** 官方上传 */
776
778
  System: "system",
777
779
  /** 用户投稿 */
778
780
  UserSubmission: "user_submission",
779
781
  /** 投票入围 */
780
782
  Shortlisted: "shortlisted"
781
- }, ot = e.string().enum(at).lock(), g = {
783
+ }, it = e.string().enum(ot).lock(), g = {
782
784
  /** 未获得奖励 */
783
785
  Ineligible: "ineligible",
784
786
  /** 奖励未领取 */
@@ -789,7 +791,7 @@ const v = {
789
791
  Failed: "failed",
790
792
  /** 奖励已发货 */
791
793
  Delivered: "delivered"
792
- }, oa = e.string().enum(g).lock(), it = {
794
+ }, la = e.string().enum(g).lock(), st = {
793
795
  /** 奖励未领取 */
794
796
  Unclaimed: g.Unclaimed,
795
797
  /** 奖励已领取 */
@@ -798,7 +800,7 @@ const v = {
798
800
  Failed: g.Failed,
799
801
  /** 奖励已发货 */
800
802
  Delivered: g.Delivered
801
- }, te = e.string().enum(it).lock(), st = {
803
+ }, ne = e.string().enum(st).lock(), ct = {
802
804
  /** 未获得奖励 */
803
805
  Ineligible: g.Ineligible,
804
806
  /** 奖励未领取 */
@@ -809,17 +811,17 @@ const v = {
809
811
  Failed: g.Failed,
810
812
  /** 奖励已发货 */
811
813
  Delivered: g.Delivered
812
- }, E = e.string().enum(st).lock(), ct = {
814
+ }, E = e.string().enum(ct).lock(), lt = {
813
815
  /** 玩法产出奖励 */
814
816
  Output: "output",
815
817
  /** 玩法参与奖励 */
816
818
  Engage: "engage"
817
- }, $ = e.string().enum(ct).lock(), lt = {
819
+ }, U = e.string().enum(lt).lock(), ut = {
818
820
  /** 私有队伍 */
819
821
  Private: "private",
820
822
  /** 公开队伍 */
821
823
  Public: "public"
822
- }, ut = e.string().enum(lt).lock(), f = {
824
+ }, mt = e.string().enum(ut).lock(), f = {
823
825
  /** 未知状态 */
824
826
  Unknown: "unknown",
825
827
  /** 等待开奖 */
@@ -830,7 +832,7 @@ const v = {
830
832
  Claimed: "claimed",
831
833
  /** 领奖失败 */
832
834
  Fail: "fail"
833
- }, ia = e.string().enum(f).lock(), mt = {
835
+ }, ua = e.string().enum(f).lock(), dt = {
834
836
  /** 发起组队 */
835
837
  Assemble: "assemble",
836
838
  /** 加入队伍 */
@@ -841,26 +843,26 @@ const v = {
841
843
  ChangeVisibility: "change_visibility",
842
844
  /** 查询组队信息 */
843
845
  Query: "query"
844
- }, sa = e.string().enum(mt).lock(), dt = {
846
+ }, ma = e.string().enum(dt).lock(), gt = {
845
847
  /** 查询抽奖券 */
846
848
  Query: "query",
847
849
  /** 开奖 */
848
850
  Draw: "draw",
849
851
  /** 领奖 */
850
852
  Claim: "claim"
851
- }, ca = e.string().enum(dt).lock(), gt = {
853
+ }, da = e.string().enum(gt).lock(), pt = {
852
854
  /** 将所有队员的进度值求和,作为队伍进度值 */
853
855
  Sum: "sum",
854
856
  /** 以进度值倒序排名第 N 的队员的进度值,作为队伍进度值。如果队伍人数不足 N,则队伍进度值为 0。N 的值来自于配置字段 top_n */
855
857
  TopN: "top_n"
856
- }, pt = e.string().enum(gt).lock(), _t = {
858
+ }, _t = e.string().enum(pt).lock(), bt = {
857
859
  /** 尚未结算 */
858
860
  None: "none",
859
861
  /** 获胜奖励 */
860
862
  Winner: "winner",
861
863
  /** 安慰奖励 */
862
864
  Consolation: "consolation"
863
- }, bt = e.string().enum(_t).lock(), yt = {
865
+ }, yt = e.string().enum(bt).lock(), ht = {
864
866
  /** 抖音 */
865
867
  Douyin: "douyin",
866
868
  /** 小红书 */
@@ -875,73 +877,73 @@ const v = {
875
877
  Huya: "huya",
876
878
  /** 斗鱼 */
877
879
  Douyu: "douyu"
878
- }, ne = e.string().enum(yt).lock(), ht = {
880
+ }, re = e.string().enum(ht).lock(), ft = {
879
881
  /** 已提交 */
880
882
  Submitted: "submitted",
881
883
  /** 已接收 */
882
884
  Accepted: "accepted",
883
885
  /** 已拒绝 */
884
886
  Rejected: "rejected"
885
- }, ft = e.string().enum(ht).lock(), wt = e.string().enum(v), y = e.object({
887
+ }, wt = e.string().enum(ft).lock(), kt = e.string().enum(v), y = e.object({
886
888
  reward_item_id: e.number(),
887
889
  reward_amount: e.number(),
888
890
  reward_item_name: e.string(),
889
891
  reward_item_icon_url: e.string(),
890
892
  reward_item_desc: e.string().optional(),
891
- reward_item_type: wt,
893
+ reward_item_type: kt,
892
894
  reward_item_rating: e.number()
893
- }).lock(), kt = e.object({
895
+ }).lock(), vt = e.object({
894
896
  engage_count: e.number(),
895
897
  rewards: e.array(y)
896
- }).lock(), vt = e.union(
898
+ }).lock(), Vt = e.union(
897
899
  e.object({
898
900
  feature_reward_type: e.string().enum("every"),
899
901
  reward_details: e.array(y)
900
902
  }),
901
903
  e.object({
902
904
  feature_reward_type: e.string().enum("regular"),
903
- reward_details: e.array(kt)
905
+ reward_details: e.array(vt)
904
906
  })
905
907
  ).satisfies().lock(), u = e.object({
906
908
  feature_name: e.string(),
907
909
  feature_id: e.number(),
908
910
  description: e.string(),
909
- cycle: tt,
911
+ cycle: nt,
910
912
  cycle_limit: e.number(),
911
913
  limit: e.number(),
912
914
  since: e.number(),
913
915
  until: e.number(),
914
- engage_account: We,
915
- feature_rewards: vt.clone().optional(),
916
+ engage_account: et,
917
+ feature_rewards: Vt.clone().optional(),
916
918
  sort: e.number().optional()
917
- }), Vt = l.Cashback, Ct = e.object({
919
+ }), Ct = l.Cashback, Rt = e.object({
918
920
  ...u.shape,
919
- feature_type: e.string().enum(Vt),
921
+ feature_type: e.string().enum(Ct),
920
922
  config: e.object({
921
923
  order_start_time: e.number(),
922
924
  order_end_time: e.number(),
923
925
  claim_rewards_start_time: e.number(),
924
926
  claim_rewards_end_time: e.number()
925
927
  })
926
- }), Rt = l.CheckIn, jt = e.object({
928
+ }), jt = l.CheckIn, Tt = e.object({
927
929
  ...u.shape,
928
- feature_type: e.string().enum(Rt)
929
- }), Tt = l.ClaimActivationKey, qt = e.object({
930
+ feature_type: e.string().enum(jt)
931
+ }), qt = l.ClaimActivationKey, xt = e.object({
930
932
  ...u.shape,
931
- feature_type: e.string().enum(Tt)
932
- }), xt = l.ClaimRewards, St = e.object({
933
+ feature_type: e.string().enum(qt)
934
+ }), Lt = l.ClaimRewards, St = e.object({
933
935
  ...u.shape,
934
- feature_type: e.string().enum(xt)
935
- }), Lt = l.Comment, Pt = e.object({
936
+ feature_type: e.string().enum(Lt)
937
+ }), Pt = l.Comment, Et = e.object({
936
938
  ...u.shape,
937
- feature_type: e.string().enum(Lt),
939
+ feature_type: e.string().enum(Pt),
938
940
  config: e.object({
939
941
  comments: e.array(e.string()),
940
942
  send_rate: e.number()
941
943
  })
942
- }), Et = l.Follow, $t = e.object({
944
+ }), Ut = l.Follow, $t = e.object({
943
945
  ...u.shape,
944
- feature_type: e.string().enum(Et),
946
+ feature_type: e.string().enum(Ut),
945
947
  config: e.object({
946
948
  platform: e.string(),
947
949
  platform_icon: e.string().optional(),
@@ -949,67 +951,67 @@ const v = {
949
951
  qr_code_url: e.string().optional(),
950
952
  platform_desc: e.string().optional()
951
953
  })
952
- }), Ut = l.GiftCode, Ft = e.object({
954
+ }), Ft = l.GiftCode, Dt = e.object({
953
955
  name: e.string(),
954
956
  icon_url: e.string(),
955
957
  count: e.number()
956
- }), Dt = e.object({
958
+ }), It = e.object({
957
959
  ...u.shape,
958
- feature_type: e.string().enum(Ut),
960
+ feature_type: e.string().enum(Ft),
959
961
  config: e.object({
960
- gift_items: e.array(Ft),
962
+ gift_items: e.array(Dt),
961
963
  mp_url: e.string().optional(),
962
964
  mp_qrcode_url: e.string().optional()
963
965
  })
964
- }), It = l.Invite, At = e.object({
966
+ }), At = l.Invite, Gt = e.object({
965
967
  ...u.shape,
966
- feature_type: e.string().enum(It),
968
+ feature_type: e.string().enum(At),
967
969
  config: e.object({
968
970
  share_url: e.string()
969
971
  })
970
- }), Gt = l.InvitedRegister, Ot = e.object({
972
+ }), Ot = l.InvitedRegister, Nt = e.object({
971
973
  ...u.shape,
972
- feature_type: e.string().enum(Gt)
973
- }), Nt = e.string().enum(P(v, "GiftCode", "LotteryTicket")), Qt = l.Lottery, Bt = e.object({
974
+ feature_type: e.string().enum(Ot)
975
+ }), Qt = e.string().enum(P(v, "GiftCode", "LotteryTicket")), Bt = l.Lottery, Mt = e.object({
974
976
  reward_item_id: e.number(),
975
977
  reward_item_name: e.string(),
976
- reward_item_type: Nt,
978
+ reward_item_type: Qt,
977
979
  reward_item_icon_url: e.string(),
978
980
  reward_item_desc: e.string().optional(),
979
981
  reward_amount: e.number(),
980
982
  reward_remaining_stock: e.number(),
981
983
  reward_item_rating: e.number()
982
- }), Mt = e.object({
984
+ }), Kt = e.object({
983
985
  ...u.shape,
984
- feature_type: e.string().enum(Qt),
986
+ feature_type: e.string().enum(Bt),
985
987
  config: e.object({
986
988
  consume_item_id: e.number(),
987
989
  consume_item_name: e.string(),
988
990
  consume_item_icon_url: e.string(),
989
991
  consume_item_count: e.array(e.number()),
990
992
  consume_item_desc: e.string().optional(),
991
- rewards: e.array(Bt)
993
+ rewards: e.array(Mt)
992
994
  })
993
- }), Kt = l.LotteryDraw, Ht = e.object({
995
+ }), Ht = l.LotteryDraw, zt = e.object({
994
996
  ...u.shape,
995
- feature_type: e.string().enum(Kt),
997
+ feature_type: e.string().enum(Ht),
996
998
  config: e.object({
997
999
  draw_not_before: e.number(),
998
1000
  draw_not_after: e.number()
999
1001
  })
1000
- }), zt = l.Preregister, Jt = e.object({
1002
+ }), Jt = l.Preregister, Zt = e.object({
1001
1003
  ...u.shape,
1002
- feature_type: e.string().enum(zt)
1003
- }), Zt = l.Quest, Xt = e.object({
1004
+ feature_type: e.string().enum(Jt)
1005
+ }), Xt = l.Quest, Yt = e.object({
1004
1006
  ...u.shape,
1005
- feature_type: e.string().enum(Zt),
1007
+ feature_type: e.string().enum(Xt),
1006
1008
  config: e.object({
1007
- objective: ee,
1009
+ objective: te,
1008
1010
  completion_value: e.number(),
1009
1011
  team: e.object({
1010
1012
  feature_id: e.number().optional(),
1011
1013
  completion_value: e.number(),
1012
- progress_algorithm: pt.clone().optional(),
1014
+ progress_algorithm: _t.clone().optional(),
1013
1015
  top_n: e.number().optional()
1014
1016
  }).optional(),
1015
1017
  config: e.object({
@@ -1019,45 +1021,45 @@ const v = {
1019
1021
  event_item_id: e.number().optional()
1020
1022
  }).optional()
1021
1023
  })
1022
- }), Yt = l.Register, Wt = e.object({
1024
+ }), Wt = l.Register, en = e.object({
1023
1025
  ...u.shape,
1024
- feature_type: e.string().enum(Yt)
1025
- }), en = l.Share, tn = e.object({
1026
+ feature_type: e.string().enum(Wt)
1027
+ }), tn = l.Share, nn = e.object({
1026
1028
  ...u.shape,
1027
- feature_type: e.string().enum(en),
1029
+ feature_type: e.string().enum(tn),
1028
1030
  config: e.object({
1029
1031
  share_platform: e.string(),
1030
1032
  jump_url: e.string().optional(),
1031
1033
  icon_url: e.string().optional()
1032
1034
  })
1033
- }), nn = l.Subscribe, rn = e.object({
1035
+ }), rn = l.Subscribe, an = e.object({
1034
1036
  ...u.shape,
1035
- feature_type: e.string().enum(nn),
1037
+ feature_type: e.string().enum(rn),
1036
1038
  config: e.object({
1037
1039
  weixin_template_ids: e.array(e.string())
1038
1040
  })
1039
- }), an = l.Survey, on = e.object({
1041
+ }), on = l.Survey, sn = e.object({
1040
1042
  ...u.shape,
1041
- feature_type: e.string().enum(an),
1043
+ feature_type: e.string().enum(on),
1042
1044
  config: e.object({
1043
1045
  survey_id: e.string(),
1044
1046
  survey_url: e.string()
1045
1047
  })
1046
- }), sn = l.Team, cn = e.object({
1048
+ }), cn = l.Team, ln = e.object({
1047
1049
  ...u.shape,
1048
- feature_type: e.string().enum(sn),
1050
+ feature_type: e.string().enum(cn),
1049
1051
  config: e.object({
1050
1052
  max_members: e.number().min(1),
1051
1053
  min_members: e.number().min(1)
1052
1054
  })
1053
- }), ln = l.Ugc, un = e.object({
1055
+ }), un = l.Ugc, mn = e.object({
1054
1056
  ...u.shape,
1055
- feature_type: e.string().enum(ln),
1057
+ feature_type: e.string().enum(un),
1056
1058
  config: e.object({
1057
1059
  allowed_social_medias: e.array(e.string()).optional(),
1058
1060
  acceptance_rewards: e.array(y).optional()
1059
1061
  })
1060
- }), mn = l.Vote, dn = e.object({
1062
+ }), dn = l.Vote, gn = e.object({
1061
1063
  sn: e.string(),
1062
1064
  name: e.string(),
1063
1065
  img_urls: e.array(e.string()).optional(),
@@ -1067,30 +1069,30 @@ const v = {
1067
1069
  amount: e.number(),
1068
1070
  finalists: e.bool(),
1069
1071
  last_vote_time: e.number()
1070
- }), gn = e.object({
1072
+ }), pn = e.object({
1071
1073
  ...u.shape,
1072
- feature_type: e.string().enum(mn),
1074
+ feature_type: e.string().enum(dn),
1073
1075
  config: e.object({
1074
1076
  vote_feature_ids: e.array(e.number()),
1075
1077
  submission_feature_ids: e.array(e.number()),
1076
1078
  finalists_amount: e.number(),
1077
- source: ot,
1078
- options: e.array(dn),
1079
+ source: it,
1080
+ options: e.array(gn),
1079
1081
  rewards: e.array(y)
1080
1082
  })
1081
- }), pn = l.Vote2, _n = e.object({
1083
+ }), _n = l.Vote2, bn = e.object({
1082
1084
  candidate_id: e.string(),
1083
1085
  display_name: e.string(),
1084
1086
  images: e.array(e.string()).optional(),
1085
1087
  videos: e.array(e.string()).optional(),
1086
1088
  description: e.string().optional(),
1087
1089
  jump_url: e.string()
1088
- }), bn = e.object({
1090
+ }), yn = e.object({
1089
1091
  ...u.shape,
1090
- feature_type: e.string().enum(pn),
1092
+ feature_type: e.string().enum(_n),
1091
1093
  config: e.object({
1092
1094
  vote_item_id: e.number().optional(),
1093
- candidates: e.array(_n),
1095
+ candidates: e.array(bn),
1094
1096
  vote_since: e.number(),
1095
1097
  vote_until: e.number(),
1096
1098
  rewards_since: e.number(),
@@ -1098,59 +1100,66 @@ const v = {
1098
1100
  winner_rewards: e.array(y).optional(),
1099
1101
  consolation_rewards: e.array(y).optional()
1100
1102
  })
1101
- }), yn = l.ZeroChatgpt, hn = e.object({
1103
+ }), hn = l.ZeroChatgpt, fn = e.object({
1104
+ ...u.shape,
1105
+ feature_type: e.string().enum(hn)
1106
+ }), wn = l.Ugc, kn = e.object({
1102
1107
  ...u.shape,
1103
- feature_type: e.string().enum(yn)
1104
- }), fn = e.union(
1105
- Ct,
1106
- jt,
1108
+ feature_type: e.string().enum(wn),
1109
+ config: e.object({
1110
+ ugc_feature_id: e.number()
1111
+ })
1112
+ }), vn = e.union(
1113
+ Rt,
1114
+ Tt,
1107
1115
  St,
1108
- Pt,
1116
+ Et,
1109
1117
  $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({
1118
+ It,
1119
+ Gt,
1120
+ Nt,
1121
+ Kt,
1122
+ zt,
1123
+ Zt,
1124
+ Yt,
1125
+ en,
1126
+ nn,
1127
+ an,
1128
+ sn,
1129
+ ln,
1130
+ pn,
1131
+ yn,
1132
+ xt,
1133
+ fn,
1134
+ mn,
1135
+ kn
1136
+ ).key("feature_type").satisfies(), Vn = e.object({
1128
1137
  event_name: e.string(),
1129
1138
  rules: e.string(),
1130
1139
  since: e.number(),
1131
1140
  until: e.number(),
1132
1141
  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({
1142
+ features: e.array(vn)
1143
+ }).lock(), q = e.union(e.string().pattern("NumberString", /^\d+$/), e.number()), ae = e.object({
1135
1144
  order_total_amount: q,
1136
1145
  cashback_total_amount: q,
1137
1146
  game_item_count: q
1138
- }), kn = e.object({
1147
+ }), Cn = e.object({
1139
1148
  activation_key: e.string().disallow("")
1140
- }), vn = e.object({
1149
+ }), Rn = e.object({
1141
1150
  gift_code: e.string()
1142
- }), Vn = e.object({
1151
+ }), jn = e.object({
1143
1152
  user_id: e.string(),
1144
1153
  name: e.string().optional(),
1145
1154
  avatar_url: e.string().optional()
1146
- }), Cn = e.object({
1155
+ }), Tn = e.object({
1147
1156
  lottery_count: e.number()
1148
1157
  }), V = e.object({
1149
1158
  reward_id: e.number(),
1150
1159
  reward_item_id: e.number(),
1151
- reward_source: $,
1160
+ reward_source: U,
1152
1161
  reward_item_name: e.string(),
1153
- reward_item_type: Y,
1162
+ reward_item_type: W,
1154
1163
  reward_item_icon_url: e.string(),
1155
1164
  reward_item_desc: e.string().optional(),
1156
1165
  reward_item_rating: e.number(),
@@ -1160,61 +1169,61 @@ const v = {
1160
1169
  event_name: e.string(),
1161
1170
  feature_id: e.number(),
1162
1171
  engagement_id: e.number(),
1163
- feature_type: nt,
1172
+ feature_type: rt,
1164
1173
  receive_time: e.number(),
1165
1174
  extra_data: e.record(e.unknown()).optional()
1166
- }), Rn = e.string().enum(f.Unknown, f.Pending), jn = e.union(
1175
+ }), qn = e.string().enum(f.Unknown, f.Pending), xn = e.union(
1167
1176
  e.object({
1168
1177
  ticket: e.string(),
1169
- status: Rn
1178
+ status: qn
1170
1179
  }),
1171
1180
  e.object({
1172
1181
  ticket: e.string(),
1173
1182
  status: e.string().enum(P(f, "Unknown", "Pending")),
1174
1183
  reward: V
1175
1184
  })
1176
- ).satisfies(), Tn = e.object({
1177
- tickets: e.array(jn)
1178
- }), qn = e.object({
1185
+ ).satisfies(), Ln = e.object({
1186
+ tickets: e.array(xn)
1187
+ }), Sn = e.object({
1179
1188
  platforms: e.array(e.string())
1180
- }), ae = e.object({
1189
+ }), oe = e.object({
1181
1190
  role_name: e.string(),
1182
1191
  is_leader: e.bool(),
1183
1192
  is_myself: e.bool().optional(),
1184
1193
  progress: e.number().optional()
1185
- }).lock(), xn = e.object({
1186
- objective: ee,
1194
+ }).lock(), Pn = e.object({
1195
+ objective: te,
1187
1196
  progress: e.number(),
1188
1197
  completion_value: e.number().optional(),
1189
1198
  team: e.object({
1190
1199
  progress: e.number(),
1191
1200
  completion_value: e.number().optional(),
1192
- players: e.array(ae)
1201
+ players: e.array(oe)
1193
1202
  }).optional()
1194
- }), Sn = e.object({
1203
+ }), En = e.object({
1195
1204
  progress: e.number(),
1196
1205
  team: e.object({
1197
1206
  progress: e.number(),
1198
- team_members: e.array(ae).optional()
1207
+ team_members: e.array(oe).optional()
1199
1208
  }).optional()
1200
- }), Ln = e.object({
1209
+ }), Un = e.object({
1201
1210
  platform: e.string()
1202
- }), Pn = e.object({
1211
+ }), $n = e.object({
1203
1212
  weixin_openid: e.string()
1204
- }), En = e.object({
1213
+ }), Fn = e.object({
1205
1214
  serial_number: e.number()
1206
- }), $n = e.object({
1215
+ }), Dn = e.object({
1207
1216
  team_code: e.string(),
1208
1217
  leader_name: e.string(),
1209
1218
  total_members: e.number()
1210
- }), la = e.object({
1219
+ }), ga = e.object({
1211
1220
  is_leader: e.bool(),
1212
1221
  is_myself: e.bool().optional(),
1213
1222
  role_name: e.string(),
1214
1223
  server_name: e.string()
1215
- }), Un = e.object({
1224
+ }), In = e.object({
1216
1225
  team_code: e.string(),
1217
- visibility: ut,
1226
+ visibility: mt,
1218
1227
  members: e.array(
1219
1228
  e.object({
1220
1229
  is_leader: e.bool(),
@@ -1222,22 +1231,22 @@ const v = {
1222
1231
  server_name: e.string()
1223
1232
  })
1224
1233
  )
1225
- }), Fn = e.object({
1234
+ }), An = e.object({
1226
1235
  ugc_id: e.number(),
1227
1236
  title: e.string(),
1228
1237
  content: e.string().optional(),
1229
1238
  image_urls: e.array(e.string()).optional(),
1230
- social_media: ne.clone().optional(),
1239
+ social_media: re.clone().optional(),
1231
1240
  social_media_url: e.string().optional()
1232
- }), Dn = e.object({
1241
+ }), Gn = e.object({
1233
1242
  ugcs: e.array(
1234
1243
  e.object({
1235
1244
  ugc_id: e.number(),
1236
- review_status: ft,
1245
+ review_status: wt,
1237
1246
  title: e.string(),
1238
1247
  content: e.string().optional(),
1239
1248
  image_urls: e.array(e.string()).optional(),
1240
- social_media: ne.clone().optional(),
1249
+ social_media: re.clone().optional(),
1241
1250
  social_media_url: e.string().optional(),
1242
1251
  server_id: e.number().optional(),
1243
1252
  server_name: e.string().optional(),
@@ -1248,144 +1257,157 @@ const v = {
1248
1257
  })
1249
1258
  ).optional(),
1250
1259
  next_token: e.string().optional()
1251
- }), In = e.object({
1260
+ }), On = e.object({
1252
1261
  existed: e.bool(),
1253
1262
  upload_url: e.string().optional(),
1254
1263
  image_url: e.string()
1255
- }), An = e.object({
1264
+ }), Nn = e.object({
1265
+ ugcs: e.array(
1266
+ e.object({
1267
+ ugc_id: e.number(),
1268
+ rank: e.number(),
1269
+ total_likes: e.number(),
1270
+ image_urls: e.array(e.string()).optional(),
1271
+ server_id: e.number().optional(),
1272
+ server_name: e.string().optional(),
1273
+ role_id: e.string().optional(),
1274
+ role_name: e.string().optional()
1275
+ })
1276
+ )
1277
+ }), Qn = e.object({
1256
1278
  option_sn: e.string()
1257
- }), Gn = e.object({
1279
+ }), Bn = e.object({
1258
1280
  candidate_id: e.string(),
1259
1281
  total_votes: e.number().optional(),
1260
1282
  my_votes: e.number().optional(),
1261
1283
  votes: e.number().optional()
1262
- }), On = e.object({
1263
- rewards_type: bt,
1284
+ }), Mn = e.object({
1285
+ rewards_type: yt,
1264
1286
  rewards: e.array(V).optional()
1265
- }), Nn = e.object({
1287
+ }), Kn = e.object({
1266
1288
  candidate_id: e.string(),
1267
1289
  is_winner: e.bool(),
1268
1290
  total_votes: e.number(),
1269
1291
  my_votes: e.number()
1270
- }), Qn = e.object({
1292
+ }), Hn = e.object({
1271
1293
  role: e.string(),
1272
1294
  content: e.string()
1273
- }), Bn = e.object({
1274
- conversations: e.array(Qn)
1275
- }), Mn = e.object({
1295
+ }), zn = e.object({
1296
+ conversations: e.array(Hn)
1297
+ }), Jn = e.object({
1276
1298
  user_id: e.string(),
1277
1299
  name: e.string(),
1278
1300
  avatar_url: e.string(),
1279
1301
  comment: e.string(),
1280
1302
  video_note: e.number(),
1281
1303
  created_at: e.number()
1282
- }), U = e.union(
1283
- qn,
1284
- Cn,
1285
- En,
1286
- Vn,
1287
- Ln,
1288
- An,
1289
- Gn,
1290
- Pn,
1291
- re,
1292
- vn,
1293
- Un,
1294
- xn,
1304
+ }), $ = e.union(
1305
+ Sn,
1295
1306
  Tn,
1296
- kn,
1297
- Bn,
1298
1307
  Fn,
1308
+ jn,
1309
+ Un,
1310
+ Qn,
1311
+ Bn,
1312
+ $n,
1313
+ ae,
1314
+ Rn,
1315
+ In,
1316
+ Pn,
1317
+ Ln,
1318
+ Cn,
1319
+ zn,
1320
+ An,
1299
1321
  e.custom(
1300
1322
  "EmptyObject",
1301
1323
  (i) => k(i) && Object.keys(i).length === 0
1302
1324
  )
1303
- ).satisfies().lock(), Kn = e.object({
1325
+ ).satisfies().lock(), Zn = e.object({
1304
1326
  reward_id: e.number(),
1305
1327
  reward_item_id: e.number(),
1306
- reward_item_type: W,
1328
+ reward_item_type: ee,
1307
1329
  reward_count: e.number(),
1308
- reward_status: te,
1309
- reward_source: $,
1330
+ reward_status: ne,
1331
+ reward_source: U,
1310
1332
  reward_item_name: e.string(),
1311
1333
  reward_item_icon_url: e.string(),
1312
1334
  reward_item_desc: e.string().optional(),
1313
1335
  reward_item_rating: e.number(),
1314
1336
  receive_time: e.number(),
1315
- extra_data: e.union(...U.validators, e.record(e.unknown())).satisfies().optional()
1316
- }), Hn = e.object({
1337
+ extra_data: e.union(...$.validators, e.record(e.unknown())).satisfies().optional()
1338
+ }), Xn = e.object({
1317
1339
  reward_id: e.number(),
1318
1340
  reward_item_id: e.number(),
1319
1341
  reward_item_name: e.string(),
1320
- reward_item_type: W,
1342
+ reward_item_type: ee,
1321
1343
  reward_item_icon_url: e.string(),
1322
1344
  reward_item_desc: e.string().optional(),
1323
1345
  reward_item_rating: e.number(),
1324
1346
  reward_amount: e.number(),
1325
- reward_status: te,
1326
- reward_source: $,
1347
+ reward_status: ne,
1348
+ reward_source: U,
1327
1349
  extra_data: e.record(e.unknown()).optional()
1328
- }), zn = e.object({
1350
+ }), Yn = e.object({
1329
1351
  engagement_id: e.number(),
1330
1352
  user_id: e.string(),
1331
1353
  event_id: e.number(),
1332
1354
  feature_id: e.number(),
1333
1355
  sequence: e.number(),
1334
- data: U.clone().optional(),
1356
+ data: $.clone().optional(),
1335
1357
  server_id: e.string().optional(),
1336
1358
  role_id: e.string().optional(),
1337
1359
  created_at: e.number(),
1338
- rewards: e.array(Kn).optional()
1339
- }).lock(), Jn = e.object({
1360
+ rewards: e.array(Zn).optional()
1361
+ }).lock(), Wn = e.object({
1340
1362
  allowed: e.bool(),
1341
1363
  registered: e.bool()
1342
- }), Zn = e.object({
1364
+ }), er = e.object({
1343
1365
  feature_id: e.number(),
1344
1366
  can_engage: e.bool(),
1345
1367
  has_unclaimed_rewards: e.bool()
1346
- }), Xn = e.object({
1368
+ }), tr = e.object({
1347
1369
  engagement_id: e.number(),
1348
1370
  engagement: e.object({
1349
1371
  engagement_id: e.number(),
1350
1372
  sequence: e.number(),
1351
1373
  feature_id: e.number(),
1352
- data: U.clone().optional()
1374
+ data: $.clone().optional()
1353
1375
  }).optional(),
1354
- rewards: e.array(Hn).optional(),
1376
+ rewards: e.array(Xn).optional(),
1355
1377
  scan: e.bool().optional()
1356
- }), Yn = e.object({
1378
+ }), nr = e.object({
1357
1379
  reward_id: e.number(),
1358
1380
  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({
1381
+ }), rr = e.guard(Vn), ar = e.guard(Wn), x = s({ count: e.number() }), or = s({ first_visit: e.bool() }), ir = s({
1382
+ engagements: e.union(e.array(Jn), e.array(Dn))
1383
+ }), sr = s({
1384
+ status: e.array(er)
1385
+ }), cr = s({
1364
1386
  engagements_counts: e.record(e.number())
1365
- }), or = s({
1366
- engagements: e.array(zn),
1387
+ }), lr = s({
1388
+ engagements: e.array(Yn),
1367
1389
  next_token: e.string().optional()
1368
- }), ir = e.guard(Xn), sr = s({
1369
- claimed_items: e.array(Yn)
1370
- }), cr = s({
1390
+ }), ur = e.guard(tr), mr = s({
1391
+ claimed_items: e.array(nr)
1392
+ }), dr = s({
1371
1393
  rewards: e.array(V)
1372
- }), lr = s({
1394
+ }), gr = s({
1373
1395
  reward_status: E
1374
- }), ur = s({
1396
+ }), pr = s({
1375
1397
  user_rewards: e.array(V),
1376
1398
  next_token: e.string().optional()
1377
- }), mr = s({
1399
+ }), _r = s({
1378
1400
  scene: e.string()
1379
- }), dr = s({
1401
+ }), br = s({
1380
1402
  params: e.string()
1381
- }), gr = s({
1403
+ }), yr = s({
1382
1404
  img: e.string()
1383
- }), pr = e.guard(Sn), _r = e.guard(On), br = e.guard(
1405
+ }), hr = e.guard(En), fr = e.guard(Mn), wr = e.guard(
1384
1406
  e.object({
1385
- candidate_votes: e.array(Nn)
1407
+ candidate_votes: e.array(Kn)
1386
1408
  })
1387
- ), yr = e.guard(re), hr = e.guard(Dn), fr = e.guard(In);
1388
- class ua {
1409
+ ), kr = e.guard(ae), M = e.guard(Gn), vr = e.guard(On), Vr = e.guard(Nn);
1410
+ class pa {
1389
1411
  token;
1390
1412
  event = 0;
1391
1413
  req;
@@ -1398,7 +1420,7 @@ class ua {
1398
1420
  * https://kdocs.cn/l/cf2mO2uRLqh9?linkname=OWGSPF3Ysl
1399
1421
  */
1400
1422
  async verifyMobileAllowed(t, n, r) {
1401
- const { data: a } = await this.req.get("verify-mobile-allowed", er, {
1423
+ const { data: a } = await this.req.get("verify-mobile-allowed", ar, {
1402
1424
  ...r,
1403
1425
  params: { game_id: t, mobile: n }
1404
1426
  });
@@ -1410,7 +1432,7 @@ class ua {
1410
1432
  * https://kdocs.cn/l/ckWFDcOsYEUA?linkname=wFXxtdNKPm
1411
1433
  */
1412
1434
  async getConfig(t) {
1413
- const { data: n } = await this.req.get(`event/${this.event}/event-config`, Wn, t);
1435
+ const { data: n } = await this.req.get(`event/${this.event}/event-config`, rr, t);
1414
1436
  return n;
1415
1437
  }
1416
1438
  /**
@@ -1445,7 +1467,7 @@ class ua {
1445
1467
  * https://kdocs.cn/l/ckWFDcOsYEUA?linkname=THtZ4ewIQW
1446
1468
  */
1447
1469
  async getEngagements(t, n) {
1448
- const { data: r } = await this.req.get(`event/${this.event}/feature-engagements`, nr, {
1470
+ const { data: r } = await this.req.get(`event/${this.event}/feature-engagements`, ir, {
1449
1471
  ...n,
1450
1472
  params: { feature_id: t }
1451
1473
  });
@@ -1461,7 +1483,7 @@ class ua {
1461
1483
  const { data: r, code: a, message: o } = await this.req.post(
1462
1484
  `event/${this.event}/visit`,
1463
1485
  c(t || {}),
1464
- tr,
1486
+ or,
1465
1487
  n
1466
1488
  );
1467
1489
  return r ?? {
@@ -1478,7 +1500,7 @@ class ua {
1478
1500
  */
1479
1501
  async getUserFeatureStatus(t, n) {
1480
1502
  if (!await this.token.autoLogin()) return [];
1481
- const { data: r } = await this.req.get("event/user-feature-status", rr, {
1503
+ const { data: r } = await this.req.get("event/user-feature-status", sr, {
1482
1504
  ...n,
1483
1505
  message: !1,
1484
1506
  params: c({ ...t, event_id: this.event })
@@ -1492,7 +1514,7 @@ class ua {
1492
1514
  */
1493
1515
  async getUserEngagementCount(t, n) {
1494
1516
  if (!await this.token.autoLogin()) return {};
1495
- const { data: r } = await this.req.get("event/user-engagements-count", ar, {
1517
+ const { data: r } = await this.req.get("event/user-engagements-count", cr, {
1496
1518
  message: !1,
1497
1519
  params: c({ ...n, event_id: this.event, feature_id: t })
1498
1520
  });
@@ -1511,7 +1533,7 @@ class ua {
1511
1533
  engagements: [],
1512
1534
  next_token: ""
1513
1535
  };
1514
- const { data: a } = await this.req.get("event/user-engagements", or, {
1536
+ const { data: a } = await this.req.get("event/user-engagements", lr, {
1515
1537
  ...r,
1516
1538
  params: c({
1517
1539
  max_results: 20,
@@ -1543,7 +1565,7 @@ class ua {
1543
1565
  engagement: n,
1544
1566
  ...r
1545
1567
  }),
1546
- ir,
1568
+ ur,
1547
1569
  a
1548
1570
  );
1549
1571
  return o ?? {
@@ -1566,7 +1588,7 @@ class ua {
1566
1588
  ...t,
1567
1589
  server_id: t.server_id ? +t.server_id : void 0
1568
1590
  }),
1569
- sr,
1591
+ mr,
1570
1592
  n
1571
1593
  );
1572
1594
  return r?.claimed_items || {
@@ -1587,7 +1609,7 @@ class ua {
1587
1609
  ...t,
1588
1610
  server_id: t.server_id ? +t.server_id : void 0
1589
1611
  }),
1590
- cr,
1612
+ dr,
1591
1613
  n
1592
1614
  );
1593
1615
  return r?.rewards || {
@@ -1605,7 +1627,7 @@ class ua {
1605
1627
  const { data: r, code: a, message: o } = await this.req.post(
1606
1628
  "event/claim-weixin-hongbao",
1607
1629
  { reward_id: t },
1608
- lr,
1630
+ gr,
1609
1631
  n
1610
1632
  );
1611
1633
  return r || {
@@ -1646,7 +1668,7 @@ class ua {
1646
1668
  const { data: r } = await this.req.post(
1647
1669
  "event/user-rewards",
1648
1670
  c({ max_results: 20, ...t, event_id: this.event }),
1649
- ur,
1671
+ pr,
1650
1672
  n
1651
1673
  );
1652
1674
  return {
@@ -1694,7 +1716,7 @@ class ua {
1694
1716
  */
1695
1717
  async getUnlimitQrcodeScene(t, n) {
1696
1718
  if (!await this.token.autoLogin()) return null;
1697
- const { data: r } = await this.req.get("event/unlimit-qrcode-scene", mr, {
1719
+ const { data: r } = await this.req.get("event/unlimit-qrcode-scene", _r, {
1698
1720
  ...n,
1699
1721
  params: { params: t }
1700
1722
  });
@@ -1708,7 +1730,7 @@ class ua {
1708
1730
  * @param scene - 小程序码 scene 值
1709
1731
  */
1710
1732
  async getParamsByQrcodeScene(t, n) {
1711
- const { data: r } = await this.req.get("event/params-by-qrcode-scene", dr, {
1733
+ const { data: r } = await this.req.get("event/params-by-qrcode-scene", br, {
1712
1734
  ...n,
1713
1735
  params: { scene: t }
1714
1736
  });
@@ -1724,7 +1746,7 @@ class ua {
1724
1746
  const { data: r } = await this.req.post(
1725
1747
  "event/unlimit-qrcode",
1726
1748
  c(t),
1727
- gr,
1749
+ yr,
1728
1750
  n
1729
1751
  );
1730
1752
  return r?.img ?? null;
@@ -1736,7 +1758,7 @@ class ua {
1736
1758
  */
1737
1759
  async getQuestProgress(t, n) {
1738
1760
  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, {
1761
+ const { data: r, code: a, message: o } = await this.req.get(`event/${this.event}/quest-progress`, hr, {
1740
1762
  message: !1,
1741
1763
  ...n,
1742
1764
  params: { feature_id: t }
@@ -1758,7 +1780,7 @@ class ua {
1758
1780
  const { data: r, code: a, message: o } = await this.req.post(
1759
1781
  "event/vote2/rewards",
1760
1782
  { feature_id: t, event_id: this.event },
1761
- _r,
1783
+ fr,
1762
1784
  n
1763
1785
  );
1764
1786
  return r || {
@@ -1773,7 +1795,7 @@ class ua {
1773
1795
  */
1774
1796
  async getVote2Leaderboard(t, n) {
1775
1797
  if (!await this.token.autoLogin()) return [];
1776
- const { data: r } = await this.req.get("event/vote2/leaderboard", br, {
1798
+ const { data: r } = await this.req.get("event/vote2/leaderboard", wr, {
1777
1799
  ...n,
1778
1800
  params: { feature_id: t, event_id: this.event }
1779
1801
  });
@@ -1786,7 +1808,7 @@ class ua {
1786
1808
  */
1787
1809
  async getCashbackQuery(t, n) {
1788
1810
  if (!await this.token.autoLogin()) return null;
1789
- const { data: r, code: a, message: o } = await this.req.get("event/cashback/query", yr, {
1811
+ const { data: r, code: a, message: o } = await this.req.get("event/cashback/query", kr, {
1790
1812
  ...n,
1791
1813
  params: { feature_id: t, event_id: this.event }
1792
1814
  });
@@ -1802,14 +1824,13 @@ class ua {
1802
1824
  */
1803
1825
  async getUgcRecord(t, n, r) {
1804
1826
  if (!await this.token.autoLogin()) return null;
1805
- const { data: a, code: o, message: d } = await this.req.get("event/ugc/my", hr, {
1827
+ const { data: a, code: o, message: d } = await this.req.get("event/ugc/my", M, {
1806
1828
  ...r,
1807
1829
  params: {
1808
- feature_id: t,
1809
1830
  max_results: 20,
1810
1831
  ...n,
1832
+ feature_id: t,
1811
1833
  event_id: this.event
1812
- /** 查询返回最大参与记录数 */
1813
1834
  }
1814
1835
  });
1815
1836
  return a || {
@@ -1831,21 +1852,64 @@ class ua {
1831
1852
  const { data: a, code: o, message: d } = await this.req.post(
1832
1853
  "event/ugc/upload-image",
1833
1854
  { feature_id: t, ...n, event_id: this.event },
1834
- fr,
1855
+ vr,
1835
1856
  r
1836
1857
  );
1837
1858
  return a || {
1838
1859
  message: d,
1839
- code: o
1860
+ error: o
1861
+ };
1862
+ }
1863
+ /**
1864
+ * 获取推荐稿件列表,随机显示 N 条被接受的投稿记录
1865
+ *
1866
+ * https://www.kdocs.cn/l/ckWFDcOsYEUA?linkname=WzvcAPjHAh
1867
+ */
1868
+ async getUgcRecommendation(t, n) {
1869
+ if (!await this.token.autoLogin()) return null;
1870
+ const { data: r, code: a, message: o } = await this.req.get("event/ugc/recommendation", M, {
1871
+ ...n,
1872
+ params: {
1873
+ feature_id: t,
1874
+ event_id: this.event
1875
+ }
1876
+ });
1877
+ return r || {
1878
+ message: o,
1879
+ error: a
1880
+ };
1881
+ }
1882
+ /**
1883
+ * 获取指定活动玩法的 UGC 投稿排行榜数据
1884
+ *
1885
+ * 该接口仅在管理员在 Console 后台完成排行榜结算后才会返回有效数据。
1886
+ * 结算前调用将返回空结果集。
1887
+ * 排行榜结算通常在活动结束后由管理员在 Console 后台手动触发。
1888
+ * 目前前端无法直接在投稿玩法中获得「是否已经结算」的状态。
1889
+ *
1890
+ * https://www.kdocs.cn/l/ckWFDcOsYEUA?linkname=KoB7S8omkC
1891
+ */
1892
+ async getUgcLeaderboard(t, n) {
1893
+ if (!await this.token.autoLogin()) return null;
1894
+ const { data: r, code: a, message: o } = await this.req.get("event/ugc/leaderboard", Vr, {
1895
+ ...n,
1896
+ params: {
1897
+ feature_id: t,
1898
+ event_id: this.event
1899
+ }
1900
+ });
1901
+ return r || {
1902
+ message: o,
1903
+ error: a
1840
1904
  };
1841
1905
  }
1842
1906
  }
1843
- const wr = {
1907
+ const Cr = {
1844
1908
  /** 所有人均可以发帖 */
1845
1909
  All: "all",
1846
1910
  /** 指定用户可发帖 */
1847
1911
  Limit: "limit"
1848
- }, kr = e.string().enum(wr).lock(), vr = {
1912
+ }, Rr = e.string().enum(Cr).lock(), jr = {
1849
1913
  /** 待审核(仅自己可见) */
1850
1914
  Pending: "pending",
1851
1915
  /** 审核通过 */
@@ -1854,14 +1918,14 @@ const wr = {
1854
1918
  Failed: "failed",
1855
1919
  /** 嫌疑(仅自己可见) */
1856
1920
  Suspect: "suspect"
1857
- }, oe = e.string().enum(vr).lock(), Vr = {
1921
+ }, ie = e.string().enum(jr).lock(), Tr = {
1858
1922
  /** 系统通知 */
1859
1923
  System: "system",
1860
1924
  /** 评论我的 */
1861
1925
  Comment: "comment",
1862
1926
  /** 点赞通知 */
1863
1927
  Like: "like"
1864
- }, ma = e.string().enum(Vr).lock(), m = {
1928
+ }, _a = e.string().enum(Tr).lock(), m = {
1865
1929
  /** 系统通知 */
1866
1930
  System: "system",
1867
1931
  /** 帖子被置顶 */
@@ -1886,13 +1950,13 @@ const wr = {
1886
1950
  ReplyLiked: "reply_liked",
1887
1951
  /** 回复被删除 */
1888
1952
  ReplyDeleted: "reply_deleted"
1889
- }, Cr = e.string().enum(m).lock(), ie = e.object({
1953
+ }, qr = e.string().enum(m).lock(), se = e.object({
1890
1954
  forum_id: e.number(),
1891
1955
  icon_url: e.string(),
1892
1956
  name: e.string(),
1893
1957
  tags: e.array(e.string()),
1894
1958
  sort: e.number(),
1895
- mode: kr,
1959
+ mode: Rr,
1896
1960
  member_ids: e.array(e.number())
1897
1961
  }).lock(), F = e.object({
1898
1962
  topic_id: e.number(),
@@ -1903,7 +1967,7 @@ const wr = {
1903
1967
  post_num: e.number()
1904
1968
  }).lock(), D = e.object({
1905
1969
  post_id: e.number(),
1906
- forum: ie,
1970
+ forum: se,
1907
1971
  posted_by: e.string(),
1908
1972
  nickname: e.string(),
1909
1973
  avatar_url: e.string(),
@@ -1919,11 +1983,11 @@ const wr = {
1919
1983
  event_ids: e.array(e.number()),
1920
1984
  is_pinned: e.bool(),
1921
1985
  is_highlighted: e.bool(),
1922
- status: oe,
1986
+ status: ie,
1923
1987
  create_time: e.number()
1924
- }).lock(), se = e.object({
1988
+ }).lock(), ce = e.object({
1925
1989
  err_msg: e.string().optional()
1926
- }).optional().lock(), Rr = e.object({
1990
+ }).optional().lock(), xr = e.object({
1927
1991
  reply_id: e.number(),
1928
1992
  reply_content: e.string().optional(),
1929
1993
  replied_by: e.string(),
@@ -1942,7 +2006,7 @@ const wr = {
1942
2006
  content: e.string(),
1943
2007
  like_num: e.number(),
1944
2008
  liked: e.bool(),
1945
- reply_to: Rr,
2009
+ reply_to: xr,
1946
2010
  create_time: e.number()
1947
2011
  }).lock(), w = e.object({
1948
2012
  comment_id: e.number(),
@@ -1962,21 +2026,21 @@ const wr = {
1962
2026
  liked: e.bool(),
1963
2027
  image_url: e.string(),
1964
2028
  create_time: e.number(),
1965
- status: oe,
2029
+ status: ie,
1966
2030
  replies: e.array(C).optional()
1967
- }).lock(), jr = e.object({
2031
+ }).lock(), Lr = e.object({
1968
2032
  image_url: e.string(),
1969
2033
  upload_url: e.string(),
1970
2034
  existed: e.bool()
1971
2035
  }).lock(), _ = e.object({
1972
2036
  notification_id: e.string(),
1973
- notification_type: Cr,
2037
+ notification_type: qr,
1974
2038
  is_read: e.bool(),
1975
2039
  create_time: e.number(),
1976
2040
  origin_user_id: e.string(),
1977
2041
  origin_user_name: e.string(),
1978
2042
  origin_user_avatar_url: e.string()
1979
- }).lock(), Tr = e.object({
2043
+ }).lock(), Sr = e.object({
1980
2044
  system_message_subject: e.string(),
1981
2045
  system_message_content: e.string()
1982
2046
  }).lock(), I = e.object({
@@ -1990,11 +2054,11 @@ const wr = {
1990
2054
  }).lock(), A = e.object({
1991
2055
  reply_id: e.number(),
1992
2056
  reply_content: e.string()
1993
- }).lock(), qr = e.object({
2057
+ }).lock(), Pr = e.object({
1994
2058
  ..._.shape,
1995
- ...Tr.shape,
2059
+ ...Sr.shape,
1996
2060
  notification_type: e.string().enum(m.System)
1997
- }), xr = e.object({
2061
+ }), Er = e.object({
1998
2062
  ..._.shape,
1999
2063
  ...I.shape,
2000
2064
  notification_type: e.string().enum(
@@ -2003,68 +2067,68 @@ const wr = {
2003
2067
  m.PostDeleted,
2004
2068
  m.PostLiked
2005
2069
  )
2006
- }), Sr = e.object({
2070
+ }), Ur = e.object({
2007
2071
  ..._.shape,
2008
2072
  ...I.shape,
2009
2073
  ...R.shape,
2010
2074
  notification_type: e.string().enum(m.PostCommented)
2011
- }), Lr = e.object({
2075
+ }), $r = e.object({
2012
2076
  ..._.shape,
2013
2077
  ...R.shape,
2014
2078
  ...A.shape,
2015
2079
  notification_type: e.string().enum(m.CommentReplied)
2016
- }), Pr = e.object({
2080
+ }), Fr = e.object({
2017
2081
  ..._.shape,
2018
2082
  ...R.shape,
2019
2083
  ...I.shape,
2020
2084
  notification_type: e.string().enum(m.CommentLiked, m.CommentDeleted)
2021
- }), Er = e.object({
2085
+ }), Dr = e.object({
2022
2086
  ..._.shape,
2023
2087
  ...A.shape,
2024
2088
  notification_type: e.string().enum(m.ReplyReplied),
2025
2089
  comment_id: e.number(),
2026
2090
  reply_to_reply_id: e.number(),
2027
2091
  reply_to_reply_content: e.string()
2028
- }), $r = e.object({
2092
+ }), Ir = e.object({
2029
2093
  ..._.shape,
2030
2094
  ...A.shape,
2031
2095
  ...R.shape,
2032
2096
  notification_type: e.string().enum(m.ReplyLiked, m.ReplyDeleted)
2033
- }), Ur = e.union(
2034
- qr,
2035
- xr,
2036
- Sr,
2037
- Lr,
2097
+ }), Ar = e.union(
2038
2098
  Pr,
2039
2099
  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({
2100
+ Ur,
2101
+ $r,
2102
+ Fr,
2103
+ Dr,
2104
+ Ir
2105
+ ).satisfies().lock(), Gr = s({ forums: e.array(se) }), Or = s({ topics: e.array(F) }), Nr = s({ topic: F }), Qr = s({ post: D }), K = s({
2042
2106
  posts: e.array(D),
2043
2107
  next_token: e.string().optional()
2044
- }), Gr = s({
2108
+ }), Br = s({
2045
2109
  post: D.clone().optional(),
2046
- antispam: se.clone().optional()
2047
- }), Or = s({
2110
+ antispam: ce.clone().optional()
2111
+ }), Mr = s({
2048
2112
  replies: e.array(C),
2049
2113
  next_token: e.string().optional()
2050
- }), Nr = s({ reply: C }), Qr = s({
2114
+ }), Kr = s({ reply: C }), Hr = s({
2051
2115
  reply: C.clone().optional(),
2052
- antispam: se.clone().optional()
2053
- }), Br = s({ comment: w }), Mr = s({
2116
+ antispam: ce.clone().optional()
2117
+ }), zr = s({ comment: w }), Jr = s({
2054
2118
  comments: e.array(w),
2055
2119
  next_token: e.string().optional()
2056
- }), Kr = s({
2120
+ }), Zr = s({
2057
2121
  comment: w.clone().optional(),
2058
2122
  antispam: w.clone().optional()
2059
- }), Hr = e.guard(jr), zr = s({
2060
- notifications: e.array(Ur),
2123
+ }), Xr = e.guard(Lr), Yr = s({
2124
+ notifications: e.array(Ar),
2061
2125
  next_token: e.string().optional()
2062
- }), Jr = s({
2126
+ }), Wr = s({
2063
2127
  system: e.number(),
2064
2128
  comment: e.number(),
2065
2129
  like: e.number()
2066
2130
  });
2067
- class da {
2131
+ class ba {
2068
2132
  token;
2069
2133
  req;
2070
2134
  constructor(t) {
@@ -2076,7 +2140,7 @@ class da {
2076
2140
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=QaqUa2K0z0
2077
2141
  */
2078
2142
  async getForums(t) {
2079
- const { data: n } = await this.req.get("community/forums", Fr, t);
2143
+ const { data: n } = await this.req.get("community/forums", Gr, t);
2080
2144
  return n?.forums || [];
2081
2145
  }
2082
2146
  /**
@@ -2085,7 +2149,7 @@ class da {
2085
2149
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=mIwpymAQom
2086
2150
  */
2087
2151
  async getTopics(t) {
2088
- const { data: n } = await this.req.get("community/topics", Dr, t);
2152
+ const { data: n } = await this.req.get("community/topics", Or, t);
2089
2153
  return n?.topics || [];
2090
2154
  }
2091
2155
  /**
@@ -2094,7 +2158,7 @@ class da {
2094
2158
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=Jvw7xMK31K
2095
2159
  */
2096
2160
  async getTopic(t, n) {
2097
- const { data: r, code: a } = await this.req.get("community/topic", Ir, {
2161
+ const { data: r, code: a } = await this.req.get("community/topic", Nr, {
2098
2162
  ...n,
2099
2163
  params: { topic_id: t }
2100
2164
  });
@@ -2106,7 +2170,7 @@ class da {
2106
2170
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=XKI9lDVrPq
2107
2171
  */
2108
2172
  async getPosts(t, n) {
2109
- const { data: r, code: a, message: o } = await this.req.get("community/posts", M, {
2173
+ const { data: r, code: a, message: o } = await this.req.get("community/posts", K, {
2110
2174
  ...n,
2111
2175
  params: c(t)
2112
2176
  });
@@ -2121,7 +2185,7 @@ class da {
2121
2185
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=yXubbZuDlC
2122
2186
  */
2123
2187
  async getPinnedPosts(t, n, r, a) {
2124
- const { data: o, code: d, message: p } = await this.req.get("community/pinned-posts", M, {
2188
+ const { data: o, code: d, message: p } = await this.req.get("community/pinned-posts", K, {
2125
2189
  ...a,
2126
2190
  params: c({ forum_id: t, max_results: n, next_token: r })
2127
2191
  });
@@ -2136,7 +2200,7 @@ class da {
2136
2200
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=hj1AZy5rcP
2137
2201
  */
2138
2202
  async getPost(t, n) {
2139
- const { data: r, code: a, message: o } = await this.req.get("community/post", Ar, {
2203
+ const { data: r, code: a, message: o } = await this.req.get("community/post", Qr, {
2140
2204
  ...n,
2141
2205
  params: { post_id: t }
2142
2206
  });
@@ -2154,7 +2218,7 @@ class da {
2154
2218
  const { data: r, code: a, message: o } = await this.req.post(
2155
2219
  "community/post",
2156
2220
  c(t),
2157
- Gr,
2221
+ Br,
2158
2222
  n
2159
2223
  );
2160
2224
  return r ?? {
@@ -2168,7 +2232,7 @@ class da {
2168
2232
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=djKbX7lFdp
2169
2233
  */
2170
2234
  async getComments(t, n) {
2171
- const { data: r, code: a, message: o } = await this.req.get("community/comments", Mr, {
2235
+ const { data: r, code: a, message: o } = await this.req.get("community/comments", Jr, {
2172
2236
  ...n,
2173
2237
  params: c(t)
2174
2238
  });
@@ -2183,7 +2247,7 @@ class da {
2183
2247
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=RIc7oxVGae
2184
2248
  */
2185
2249
  async getComment(t, n) {
2186
- const { data: r, code: a, message: o } = await this.req.get("community/comment", Br, {
2250
+ const { data: r, code: a, message: o } = await this.req.get("community/comment", zr, {
2187
2251
  ...n,
2188
2252
  params: { comment_id: t }
2189
2253
  });
@@ -2202,7 +2266,7 @@ class da {
2202
2266
  const { data: r, code: a, message: o } = await this.req.post(
2203
2267
  "community/comment",
2204
2268
  c(t),
2205
- Kr,
2269
+ Zr,
2206
2270
  n
2207
2271
  );
2208
2272
  return r ?? {
@@ -2216,7 +2280,7 @@ class da {
2216
2280
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=sVKBbY83MY
2217
2281
  */
2218
2282
  async getReplies(t, n) {
2219
- const { data: r } = await this.req.get("community/replies", Or, {
2283
+ const { data: r } = await this.req.get("community/replies", Mr, {
2220
2284
  ...n,
2221
2285
  params: c({ max_results: 20, ...t })
2222
2286
  });
@@ -2231,7 +2295,7 @@ class da {
2231
2295
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=kxhcSXD3MG
2232
2296
  */
2233
2297
  async getReply(t, n) {
2234
- const { data: r, code: a, message: o } = await this.req.get("community/reply", Nr, {
2298
+ const { data: r, code: a, message: o } = await this.req.get("community/reply", Kr, {
2235
2299
  ...n,
2236
2300
  params: { reply_id: t }
2237
2301
  });
@@ -2250,7 +2314,7 @@ class da {
2250
2314
  const { data: r, code: a, message: o } = await this.req.post(
2251
2315
  "community/reply",
2252
2316
  c(t),
2253
- Qr,
2317
+ Hr,
2254
2318
  n
2255
2319
  );
2256
2320
  return r ?? {
@@ -2301,7 +2365,7 @@ class da {
2301
2365
  */
2302
2366
  async getMediaPresignedUrl(t, n) {
2303
2367
  await this.token.autoLogin();
2304
- const { data: r } = await this.req.get("community/media-presign-url", Hr, {
2368
+ const { data: r } = await this.req.get("community/media-presign-url", Xr, {
2305
2369
  ...n,
2306
2370
  params: t
2307
2371
  });
@@ -2316,7 +2380,7 @@ class da {
2316
2380
  */
2317
2381
  async getNotifications(t, n) {
2318
2382
  await this.token.autoLogin();
2319
- const { data: r } = await this.req.get("community/notifications", zr, {
2383
+ const { data: r } = await this.req.get("community/notifications", Yr, {
2320
2384
  ...n,
2321
2385
  params: c({ max_results: 20, ...t })
2322
2386
  });
@@ -2334,7 +2398,7 @@ class da {
2334
2398
  if (!await this.token.autoLogin()) return null;
2335
2399
  const { data: n } = await this.req.get(
2336
2400
  "community/unread-notifications-count",
2337
- Jr,
2401
+ Wr,
2338
2402
  t
2339
2403
  );
2340
2404
  return n;
@@ -2350,17 +2414,17 @@ class da {
2350
2414
  return r;
2351
2415
  }
2352
2416
  }
2353
- const Zr = s({
2417
+ const ea = s({
2354
2418
  nonce_str: e.string(),
2355
2419
  timestamp: e.number(),
2356
2420
  signature: e.string()
2357
2421
  });
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 || {});
2359
- function S(i) {
2422
+ var ta = /* @__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))(ta || {});
2423
+ function L(i) {
2360
2424
  return k(i, "open_id", "union_id", "weixin_token");
2361
2425
  }
2362
- const K = "wx_login_cache";
2363
- class ga {
2426
+ const H = "wx_login_cache";
2427
+ class ya {
2364
2428
  token;
2365
2429
  $appid;
2366
2430
  req;
@@ -2391,11 +2455,11 @@ class ga {
2391
2455
  * 也可以直接调用 login 方法,并传入 weixin code 的读取函数
2392
2456
  */
2393
2457
  async getLoginCache() {
2394
- const t = this.token.storage.get(K);
2458
+ const t = this.token.storage.get(H);
2395
2459
  if (!t)
2396
2460
  return null;
2397
- const n = be(t);
2398
- return S(n) ? (this.token.weixinToken = n.weixin_token, await this.token.autoLogin(), n) : null;
2461
+ const n = ye(t);
2462
+ return L(n) ? (this.token.weixinToken = n.weixin_token, await this.token.autoLogin(), n) : null;
2399
2463
  }
2400
2464
  /**
2401
2465
  * 小程序页面微信静默登录,获取 weixinToken / open_id / union_id。
@@ -2420,13 +2484,13 @@ class ga {
2420
2484
  const n = await this.getLoginCache();
2421
2485
  if (n)
2422
2486
  return n;
2423
- const r = await fe(), { data: a, code: o, message: d } = await this.req.post(
2487
+ const r = await we(), { data: a, code: o, message: d } = await this.req.post(
2424
2488
  "weixin/login",
2425
2489
  { code: r, appid: this.appid },
2426
- S,
2490
+ L,
2427
2491
  { ...t, message: !1 }
2428
2492
  );
2429
- return a && (this.token.weixinToken = a.weixin_token, this.token.storage.set(K, JSON.stringify(a))), a ?? {
2493
+ return a && (this.token.weixinToken = a.weixin_token, this.token.storage.set(H, JSON.stringify(a))), a ?? {
2430
2494
  message: d,
2431
2495
  error: o
2432
2496
  };
@@ -2448,11 +2512,11 @@ class ga {
2448
2512
  * - snsapi_userinfo 【默认】弹出授权页面,可拿到 openid、union_id、昵称、头像等信息,但用户也可能会拒绝授权
2449
2513
  */
2450
2514
  async webLogin(t = "snsapi_userinfo", n) {
2451
- const r = L("code"), a = Date.now(), o = +L("state");
2515
+ const r = S("code"), a = Date.now(), o = +S("state");
2452
2516
  if (!r || !o || o < a - 1e3 * 60 * 5 || o > a) {
2453
- const ue = G(["code", "state"]);
2517
+ const me = G(["code", "state"]);
2454
2518
  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`
2519
+ `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
2520
  );
2457
2521
  return;
2458
2522
  }
@@ -2465,12 +2529,12 @@ class ga {
2465
2529
  "replaceState" in history && history.replaceState({}, "", d);
2466
2530
  const {
2467
2531
  data: p,
2468
- code: ce,
2469
- message: le
2470
- } = await this.req.post("weixin/login", { code: r, appid: this.appid }, S, n);
2532
+ code: le,
2533
+ message: ue
2534
+ } = await this.req.post("weixin/login", { code: r, appid: this.appid }, L, n);
2471
2535
  return p && (this.token.weixinToken = p.weixin_token, await this.token.autoLogin()), p ?? {
2472
- message: le,
2473
- error: ce
2536
+ message: ue,
2537
+ error: le
2474
2538
  };
2475
2539
  }
2476
2540
  /**
@@ -2500,7 +2564,7 @@ class ga {
2500
2564
  * https://kdocs.cn/l/cf2mO2uRLqh9?linkname=CuWOqxr9Ue
2501
2565
  */
2502
2566
  async getJSSDKConfig(t) {
2503
- const { data: n } = await this.req.get("weixin/offiaccount/jssdk-sign", Zr, {
2567
+ const { data: n } = await this.req.get("weixin/offiaccount/jssdk-sign", ea, {
2504
2568
  ...t,
2505
2569
  params: {
2506
2570
  appid: this.appid,
@@ -2516,165 +2580,167 @@ class ga {
2516
2580
  }
2517
2581
  }
2518
2582
  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,
2583
+ ce as AntispamValidator,
2584
+ oa as AuthToken,
2585
+ Kn as CandidateVoteValidator,
2586
+ ae as CashbackEngagementDataValidator,
2587
+ Cn as ClaimActivationKeyEngagementDataValidator,
2588
+ ct as ClaimRewardStatus,
2525
2589
  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,
2590
+ nr as ClaimedItemValidator,
2591
+ Z as ClubAddressValidator,
2592
+ sa as ClubApi,
2593
+ X as ClubBenefitSummaryValidator,
2594
+ Ge as ClubBenefitValidator,
2595
+ Te as ClubCreditChangeScene,
2596
+ qe as ClubCreditChangeSceneValidator,
2597
+ Re as ClubCreditChangeType,
2598
+ je as ClubCreditChangeTypeValidator,
2599
+ Ae as ClubCreditLogValidator,
2600
+ Pe as ClubGlobalConfigValidator,
2601
+ xe as ClubItemType,
2602
+ z as ClubItemTypeValidator,
2603
+ Ee as ClubPlayerValidator,
2604
+ Y as ClubProductValidator,
2605
+ Le as ClubRedemptionStatus,
2542
2606
  Se as ClubRedemptionStatusValidator,
2543
- De as ClubUserCreditValidator,
2544
- Fe as ClubUserProfileValidator,
2545
- Mn as CommentEngagementValidator,
2607
+ Ie as ClubUserCreditValidator,
2608
+ De as ClubUserProfileValidator,
2609
+ Jn as CommentEngagementValidator,
2546
2610
  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,
2611
+ ba as CommunityApi,
2612
+ Hn as ConversationValidator,
2613
+ We as EngageAccountType,
2614
+ et as EngageAccountTypeValidator,
2615
+ tr as EngageResponseValidator,
2616
+ Xn as EngageRewardValidator,
2617
+ pa as EventApi,
2618
+ Vn as EventConfigValidator,
2619
+ Rt as EventFeatureConfigOfCashbackValidator,
2620
+ Tt as EventFeatureConfigOfCheckInValidator,
2621
+ xt as EventFeatureConfigOfClaimActivationKeyValidator,
2558
2622
  St as EventFeatureConfigOfClaimRewardsValidator,
2559
- Pt as EventFeatureConfigOfCommentValidator,
2623
+ Et as EventFeatureConfigOfCommentValidator,
2560
2624
  $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,
2625
+ It as EventFeatureConfigOfGiftCodeValidator,
2626
+ Gt as EventFeatureConfigOfInviteValidator,
2627
+ Nt as EventFeatureConfigOfInvitedRegisterValidator,
2628
+ zt as EventFeatureConfigOfLotteryDrawValidator,
2629
+ Kt as EventFeatureConfigOfLotteryValidator,
2630
+ Zt as EventFeatureConfigOfPreregisterValidator,
2631
+ Yt as EventFeatureConfigOfQuestValidator,
2632
+ en as EventFeatureConfigOfRegisterValidator,
2633
+ nn as EventFeatureConfigOfShareValidator,
2634
+ an as EventFeatureConfigOfSubscribeValidator,
2635
+ sn as EventFeatureConfigOfSurveyValidator,
2636
+ ln as EventFeatureConfigOfTeamValidator,
2637
+ kn as EventFeatureConfigOfUgcLikeValidator,
2638
+ mn as EventFeatureConfigOfUgcValidator,
2639
+ yn as EventFeatureConfigOfVote2Validator,
2640
+ pn as EventFeatureConfigOfVoteValidator,
2641
+ vn as EventFeatureConfigValidator,
2642
+ tt as EventPeriodType,
2643
+ nt as EventPeriodTypeValidator,
2579
2644
  y as EventRewardItemConfigValidator,
2580
- Oe as ExtraGameRewardValidator,
2581
- Ge as ExtraPhysicalShipmentValidator,
2582
- vt as FeatureRewardValidator,
2645
+ Ne as ExtraGameRewardValidator,
2646
+ Oe as ExtraPhysicalShipmentValidator,
2647
+ Vt as FeatureRewardValidator,
2583
2648
  l as FeatureType,
2584
- nt as FeatureTypeValidator,
2585
- wr as ForumMode,
2586
- kr as ForumModeValidator,
2587
- ie as ForumValidator,
2649
+ rt as FeatureTypeValidator,
2650
+ Cr as ForumMode,
2651
+ Rr as ForumModeValidator,
2652
+ se as ForumValidator,
2588
2653
  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,
2654
+ W as GamerItemTypeValidator,
2655
+ Ve as Gender,
2656
+ Ce as GenderValidator,
2657
+ Rn as GiftCodeEngagementDataValidator,
2658
+ jn as InviteEngagementDataValidator,
2659
+ gt as LotteryDrawAction,
2660
+ da as LotteryDrawActionValidator,
2661
+ Ln as LotteryDrawEngagementDataValidator,
2662
+ Tn as LotteryEngagementDataValidator,
2598
2663
  f as LotteryTicketStatus,
2599
- ia as LotteryTicketStatusValidator,
2664
+ ua as LotteryTicketStatusValidator,
2600
2665
  _ as NotificationBaseValidator,
2601
- Vr as NotificationCategory,
2602
- ma as NotificationCategoryValidator,
2603
- Lr as NotificationCommentReplyValidator,
2604
- Pr as NotificationCommentValidator,
2666
+ Tr as NotificationCategory,
2667
+ _a as NotificationCategoryValidator,
2668
+ $r as NotificationCommentReplyValidator,
2669
+ Fr as NotificationCommentValidator,
2605
2670
  R as NotificationPayloadCommentValidator,
2606
2671
  I as NotificationPayloadPostValidator,
2607
2672
  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,
2673
+ Sr as NotificationPayloadSystemValidator,
2674
+ Ur as NotificationPostCommentValidator,
2675
+ Er as NotificationPostValidator,
2676
+ Dr as NotificationReplyRepliedValidator,
2677
+ Ir as NotificationReplyValidator,
2678
+ Pr as NotificationSystemValidator,
2614
2679
  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,
2680
+ qr as NotificationTypeValidator,
2681
+ Ar as NotificationValidator,
2682
+ Fe as PlayerRoleCardValidator,
2683
+ J as PlayerRoleValidator,
2684
+ jr as PostStatus,
2685
+ ie as PostStatusValidator,
2621
2686
  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,
2687
+ Sn as PreregisterEngagementDataValidator,
2688
+ Lr as PresignedUrlResponseValidator,
2689
+ Pn as QuestEngagementDataValidator,
2690
+ at as QuestObjective,
2691
+ te as QuestObjectiveValidator,
2692
+ pt as QuestProgressAlgorithm,
2693
+ _t as QuestProgressAlgorithmValidator,
2694
+ En as QuestProgressValidator,
2695
+ ia as RedeemParamsValidator,
2696
+ Qe as RedemptionValidator,
2697
+ vt as RegularRewardValidator,
2698
+ xr as ReplyToValidator,
2634
2699
  C as ReplyValidator,
2635
- aa as RewardItemType,
2636
- W as RewardItemTypeValidator,
2637
- ct as RewardSource,
2638
- $ as RewardSourceValidator,
2700
+ ca as RewardItemType,
2701
+ ee as RewardItemTypeValidator,
2702
+ lt as RewardSource,
2703
+ U as RewardSourceValidator,
2639
2704
  g as RewardStatus,
2640
- it as RewardStatusSuffix,
2641
- te as RewardStatusSuffixValidator,
2642
- oa as RewardStatusValidator,
2643
- Kn as RewardValidator,
2705
+ st as RewardStatusSuffix,
2706
+ ne as RewardStatusSuffixValidator,
2707
+ la as RewardStatusValidator,
2708
+ Zn as RewardValidator,
2644
2709
  $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,
2710
+ Ue as ServerBaseInfoValidator,
2711
+ Un as ShareEngagementDataValidator,
2712
+ Fn as SurveyEngagementDataValidator,
2713
+ dt as TeamAction,
2714
+ ma as TeamActionValidator,
2715
+ In as TeamEngagementDataValidator,
2716
+ Dn as TeamEngagementValidator,
2717
+ ga as TeamMemberValidator,
2718
+ ut as TeamVisibility,
2719
+ mt as TeamVisibilityValidator,
2655
2720
  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,
2663
- U as UserEngagementDataValidator,
2664
- zn as UserEngagementValidator,
2665
- Zn as UserFeatureStatusValidator,
2721
+ An as UgcEngagementDataValidator,
2722
+ Nn as UgcLeaderboardResponseValidator,
2723
+ Gn as UgcRecordResponseValidator,
2724
+ ft as UgcReviewStatus,
2725
+ wt as UgcReviewStatusValidator,
2726
+ ht as UgcSocialMedia,
2727
+ re as UgcSocialMediaValidator,
2728
+ On as UgcUploadImageValidator,
2729
+ $ as UserEngagementDataValidator,
2730
+ Yn as UserEngagementValidator,
2731
+ er as UserFeatureStatusValidator,
2666
2732
  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
2733
+ Wn as VerifyMobileResultValidator,
2734
+ Mn as Vote2ClaimRewardsResponseValidator,
2735
+ Bn as Vote2EngagementDataValidator,
2736
+ bt as Vote2RewardType,
2737
+ yt as Vote2RewardTypeValidator,
2738
+ Qn as VoteEngagementDataValidator,
2739
+ ot as VoteOptionSource,
2740
+ it as VoteOptionSourceValidator,
2741
+ ya as WeixinApi,
2742
+ $n as WeixinSubscribeEngagementDataValidator,
2743
+ ta as WeixinWebLoginErrorCode,
2744
+ zn as ZeroChatGPTDataValidator,
2745
+ ea as isWeixinSignResponse
2680
2746
  };