@seayoo-web/gamer-api 2.10.13 → 2.11.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 le } from "@seayoo-web/combo-webview";
2
- import { isPlainObject as k, supportWx as b, useConsole as ue, usePromise as me, pruneURL as de, supportWindow as ge, queryString as L, pruneObject as c, omitFields as P, parseJSON as pe, removePara as G } from "@seayoo-web/utils";
1
+ import { isComboWebView as ue } from "@seayoo-web/combo-webview";
2
+ import { isPlainObject as k, supportWx as b, useConsole as me, usePromise as de, pruneURL as ge, supportWindow as pe, queryString as L, pruneObject as c, omitFields as P, parseJSON as _e, removePara as G } from "@seayoo-web/utils";
3
3
  import { v as e, objectGuard as s } from "@seayoo-web/validator";
4
- function _e(i) {
4
+ function be(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 = ue("GamerApiSDK");
11
- function be(i) {
10
+ const j = me("GamerApiSDK");
11
+ function ye(i) {
12
12
  return /^\/[a-z\d-]+$/.test(i);
13
13
  }
14
- async function ye() {
15
- const { promise: i, resolve: t } = me();
14
+ async function he() {
15
+ const { promise: i, resolve: t } = de();
16
16
  return wx.login({
17
17
  success(n) {
18
18
  t(n.code);
@@ -32,7 +32,7 @@ const fe = {
32
32
  remove(i) {
33
33
  localStorage.removeItem(i);
34
34
  }
35
- }, he = {
35
+ }, we = {
36
36
  get(i) {
37
37
  try {
38
38
  if (b()) return wx.getStorageSync(i) || "";
@@ -55,8 +55,8 @@ const fe = {
55
55
  j.error("removeStorageSync", t);
56
56
  }
57
57
  }
58
- }, f = "gamer_token";
59
- class Qr {
58
+ }, h = "gamer_token";
59
+ class Br {
60
60
  $NetRequest;
61
61
  $idToken = "";
62
62
  $weixinToken = "";
@@ -64,8 +64,8 @@ class Qr {
64
64
  req;
65
65
  storage;
66
66
  constructor(t, n) {
67
- this.storage = b() ? he : fe;
68
- const r = be(t) ? t : `https://${de(t)}`;
67
+ this.storage = b() ? we : fe;
68
+ const r = ye(t) ? t : `https://${ge(t)}`;
69
69
  if (this.$NetRequest = n, this.req = n({
70
70
  baseURL: `${r}/v1`,
71
71
  timeout: 1e4,
@@ -86,9 +86,9 @@ class Qr {
86
86
  requestTransformer: (a) => {
87
87
  this.$gamerToken && (a.headers.Authorization = `Bearer ${this.$gamerToken}`);
88
88
  }
89
- }), ge()) {
89
+ }), pe()) {
90
90
  const a = /^(?:localhost|[\d.]+):\d{4}$/.test(location.host), o = L("gamer_token");
91
- (le() || a && o) && (this.$gamerToken = o);
91
+ (ue() || a && o) && (this.$gamerToken = o);
92
92
  }
93
93
  this.$gamerToken || this.loadGamerTokenCache();
94
94
  }
@@ -96,7 +96,7 @@ class Qr {
96
96
  return this.$NetRequest;
97
97
  }
98
98
  loadGamerTokenCache() {
99
- const n = this.storage.get(f).match(/^(\d{12,})#(.{8,})$/);
99
+ const n = this.storage.get(h).match(/^(\d{12,})#(.{8,})$/);
100
100
  if (n) {
101
101
  const r = parseInt(n[1]), a = n[2];
102
102
  if (r > Date.now() - (24 * 3600 - 10) * 1e3) {
@@ -104,7 +104,7 @@ class Qr {
104
104
  return;
105
105
  }
106
106
  }
107
- this.storage.remove(f);
107
+ this.storage.remove(h);
108
108
  }
109
109
  /** 当前是否为登录状态,即是否拥有 gamerToken */
110
110
  get isLoggedIn() {
@@ -138,7 +138,7 @@ class Qr {
138
138
  * 直接写入 Gamer Token,并更新缓存
139
139
  */
140
140
  set gamerToken(t) {
141
- this.$gamerToken = t, t ? this.storage.set(f, `${Date.now()}#${t}`) : this.storage.remove(f);
141
+ this.$gamerToken = t, t ? this.storage.set(h, `${Date.now()}#${t}`) : this.storage.remove(h);
142
142
  }
143
143
  /**
144
144
  * 退出登录,销毁相关 Token
@@ -171,7 +171,7 @@ class Qr {
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
- _e,
174
+ be,
175
175
  {
176
176
  message: !1,
177
177
  cacheTTL: 300,
@@ -213,21 +213,21 @@ class Qr {
213
213
  return n;
214
214
  }
215
215
  }
216
- const we = {
216
+ const ke = {
217
217
  /** 未知 */
218
218
  Unknown: "unknown",
219
219
  /** 男 */
220
220
  Male: "male",
221
221
  /** 女 */
222
222
  Female: "female"
223
- }, ke = e.string().enum(we).lock(), ve = {
223
+ }, ve = e.string().enum(ke).lock(), Ce = {
224
224
  /** 积分增加 */
225
225
  Increase: "increase",
226
226
  /** 积分减少 */
227
227
  Decrease: "decrease",
228
228
  /** 积分过期 */
229
229
  Expired: "expired"
230
- }, Ve = e.string().enum(ve).lock(), Ce = {
230
+ }, Ve = e.string().enum(Ce).lock(), Re = {
231
231
  /** 游戏内购买 */
232
232
  Order: "order",
233
233
  /** 游戏内消耗 */
@@ -240,21 +240,21 @@ const we = {
240
240
  Admin: "admin",
241
241
  /** 运营活动 */
242
242
  Event: "event"
243
- }, Re = e.string().enum(Ce).lock(), je = {
243
+ }, je = e.string().enum(Re).lock(), Te = {
244
244
  /** 游戏内奖励 */
245
245
  GameReward: "game_reward",
246
246
  /** 实物商品 */
247
247
  Physical: "physical",
248
248
  /** 虚拟商品 */
249
249
  Virtual: "virtual"
250
- }, H = e.string().enum(je).lock(), Te = {
250
+ }, H = e.string().enum(Te).lock(), qe = {
251
251
  /** 待发放 */
252
252
  Pending: "pending",
253
253
  /** 已发放 */
254
254
  Issued: "issued",
255
255
  /** 发放失败 */
256
256
  Failed: "failed"
257
- }, qe = e.string().enum(Te).lock(), xe = e.object({
257
+ }, xe = e.string().enum(qe).lock(), Se = 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 we = {
272
272
  exp_description: e.string(),
273
273
  credit_description: e.string(),
274
274
  send_role_mail_rate_limit: e.number()
275
- }).lock(), Se = e.object({
275
+ }).lock(), Le = e.object({
276
276
  member_id: e.string(),
277
277
  player_id: e.string(),
278
278
  exp: e.number(),
@@ -281,18 +281,18 @@ const we = {
281
281
  credit_expiring: e.number(),
282
282
  level_change_time: e.number(),
283
283
  level_expire_time: e.number()
284
- }).lock(), Le = e.object({
284
+ }).lock(), Pe = e.object({
285
285
  server_id: e.string(),
286
286
  server_name: e.string()
287
- }).lock(), Pe = e.object({
287
+ }).lock(), Ee = e.object({
288
288
  role_id: e.string(),
289
289
  role_name: e.string()
290
290
  }).lock(), z = e.object({
291
+ ...Ee.shape,
291
292
  ...Pe.shape,
292
- ...Le.shape,
293
293
  role_level: e.number(),
294
294
  last_login_time: e.number()
295
- }).lock(), Ee = e.object({
295
+ }).lock(), $e = e.object({
296
296
  ...z.shape,
297
297
  /** 角色战力 */
298
298
  role_fighting: e.number(),
@@ -302,11 +302,11 @@ const we = {
302
302
  kin_name: e.string().optional(),
303
303
  /** 宗门职位 */
304
304
  kin_position: e.string().optional()
305
- }).lock(), $e = e.object({
305
+ }).lock(), Fe = e.object({
306
306
  name: e.string(),
307
307
  avatar_url: e.string(),
308
308
  bio: e.string(),
309
- gender: ke,
309
+ gender: ve,
310
310
  birthday: e.object({ year: e.number(), month: e.number(), day: e.number() })
311
311
  }).lock(), J = e.object({
312
312
  address_id: e.number(),
@@ -317,15 +317,15 @@ const we = {
317
317
  district: e.string(),
318
318
  address: e.string(),
319
319
  is_default: e.bool()
320
- }).lock(), Fe = e.object({
320
+ }).lock(), Ue = 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(), Ue = e.object({
325
+ }).lock(), De = e.object({
326
326
  id: e.number(),
327
327
  change_type: Ve,
328
- change_scene: Re,
328
+ change_scene: je,
329
329
  change_credit: e.number(),
330
330
  balance: e.number(),
331
331
  change_time: e.number()
@@ -364,10 +364,10 @@ const we = {
364
364
  created_at: e.number(),
365
365
  updated_at: e.number(),
366
366
  redeemable_quantity: e.number().optional()
367
- }).lock(), De = e.object({
367
+ }).lock(), Ie = e.object({
368
368
  ...P(Z.shape, "tag"),
369
369
  product: X.clone().optional()
370
- }).lock(), Br = e.union(
370
+ }).lock(), Mr = e.union(
371
371
  e.object({
372
372
  server_id: e.string(),
373
373
  role_id: e.string()
@@ -375,7 +375,7 @@ const we = {
375
375
  e.object({
376
376
  address_id: e.number()
377
377
  })
378
- ).satisfies().lock(), Ie = e.object({
378
+ ).satisfies().lock(), Ae = e.object({
379
379
  recipient: e.string(),
380
380
  mobile: e.string(),
381
381
  province: e.string(),
@@ -384,11 +384,11 @@ const we = {
384
384
  address: e.string(),
385
385
  express_company: e.string(),
386
386
  express_number: e.string()
387
- }).lock(), Ae = e.object({
387
+ }).lock(), Ge = e.object({
388
388
  server_id: e.string(),
389
389
  role_id: e.string(),
390
390
  role_name: e.string()
391
- }).lock(), Ge = e.object({
391
+ }).lock(), Oe = e.object({
392
392
  redemption_id: e.number(),
393
393
  player_id: e.string(),
394
394
  product_id: e.number(),
@@ -399,17 +399,17 @@ const we = {
399
399
  catalog_name: e.string(),
400
400
  quantity: e.number(),
401
401
  amount: e.number(),
402
- status: qe,
402
+ status: xe,
403
403
  created_at: e.number(),
404
- extra_data: e.union(Ie.clone(), Ae.clone()).satisfies().optional()
405
- }), Oe = e.guard(xe), N = s({ player: Se }), Ne = s({ roles: e.array(z) }), T = s({ role_card: Ee }), Q = e.guard($e), B = e.guard(J), Qe = s({ addresses: e.array(J) }), Be = e.guard(Fe), Me = s({
406
- credit_logs: e.array(Ue),
404
+ extra_data: e.union(Ae.clone(), Ge.clone()).satisfies().optional()
405
+ }), Ne = e.guard(Se), N = s({ player: Le }), Qe = s({ roles: e.array(z) }), T = s({ role_card: $e }), Q = e.guard(Fe), B = e.guard(J), Be = s({ addresses: e.array(J) }), Me = e.guard(Ue), Ke = s({
406
+ credit_logs: e.array(De),
407
407
  next_token: e.string().optional()
408
- }), Ke = s({ products: e.array(X) }), He = s({ benefits: e.array(Z) }), ze = s({ benefit: De }), Je = s({
409
- redemptions: e.array(Ge),
408
+ }), He = s({ products: e.array(X) }), ze = s({ benefits: e.array(Z) }), Je = s({ benefit: Ie }), Ze = s({
409
+ redemptions: e.array(Oe),
410
410
  next_token: e.string().optional()
411
411
  });
412
- class Mr {
412
+ class Kr {
413
413
  token;
414
414
  req;
415
415
  constructor(t) {
@@ -421,7 +421,7 @@ class Mr {
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", Oe, t);
424
+ const { data: n } = await this.req.get("club/config", Ne, t);
425
425
  return n;
426
426
  }
427
427
  /**
@@ -462,7 +462,7 @@ class Mr {
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", Ne, {
465
+ const { data: a } = await this.req.get("club/roles", Qe, {
466
466
  ...r,
467
467
  params: c({ player_id: t, refresh: n })
468
468
  });
@@ -534,7 +534,7 @@ class Mr {
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", Qe, t);
537
+ const { data: n } = await this.req.get("club/addresses", Be, t);
538
538
  return n?.addresses ?? [];
539
539
  }
540
540
  /**
@@ -582,7 +582,7 @@ class Mr {
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", Be, {
585
+ const { data: r, code: a, message: o } = await this.req.get("club/user-credit", Me, {
586
586
  ...n,
587
587
  params: c(t)
588
588
  });
@@ -598,7 +598,7 @@ class Mr {
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", Me, {
601
+ const { data: r } = await this.req.get("club/credit-logs", Ke, {
602
602
  ...n,
603
603
  params: c({ max_results: 20, ...t })
604
604
  });
@@ -614,7 +614,7 @@ class Mr {
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", He, 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 Mr {
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", Je, {
628
628
  ...n,
629
629
  params: { benefit_id: t }
630
630
  });
@@ -636,7 +636,7 @@ class Mr {
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", Ke, {
639
+ const { data: r } = await this.req.get("club/products", He, {
640
640
  ...n,
641
641
  params: t
642
642
  });
@@ -662,7 +662,7 @@ class Mr {
662
662
  */
663
663
  async getRedemptions(t, n) {
664
664
  await this.token.autoLogin();
665
- const { data: r } = await this.req.get("club/redemptions", Je, {
665
+ const { data: r } = await this.req.get("club/redemptions", Ze, {
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(), Kr = v, W = Y, Ze = {
696
+ }, Y = e.string().enum(v).lock(), Hr = v, W = Y, Xe = {
697
697
  /** 世游通行证 ID / Combo ID */
698
698
  UserId: "user_id",
699
699
  /** 游戏角色 ID */
700
700
  RoleId: "role_id"
701
- }, Xe = e.string().enum(Ze).lock(), Ye = {
701
+ }, Ye = e.string().enum(Xe).lock(), We = {
702
702
  None: "none",
703
703
  Daily: "daily",
704
704
  Weekly: "weekly",
705
705
  Monthly: "monthly"
706
- }, We = e.string().enum(Ye).lock(), l = {
706
+ }, et = e.string().enum(We).lock(), l = {
707
707
  /** 预约 */
708
708
  Preregister: "preregister",
709
709
  /** 抽奖 */
@@ -746,7 +746,7 @@ const v = {
746
746
  ClaimActivationKey: "claim_activation_key",
747
747
  /** 不朽箴言特有的 AI 聊天 */
748
748
  ZeroChatgpt: "zero_chatgpt"
749
- }, et = e.string().enum(l).lock(), tt = {
749
+ }, tt = e.string().enum(l).lock(), nt = {
750
750
  /** 累计游戏内活跃值 */
751
751
  Active: "player_active_points",
752
752
  /** 累计登录,单位 人天 */
@@ -769,14 +769,14 @@ const v = {
769
769
  EventItems: "event_items",
770
770
  /**游戏内任务 */
771
771
  GameTask: "game_task"
772
- }, ee = e.string().enum(tt).lock(), nt = {
772
+ }, ee = e.string().enum(nt).lock(), rt = {
773
773
  /** 官方上传 */
774
774
  System: "system",
775
775
  /** 用户投稿 */
776
776
  UserSubmission: "user_submission",
777
777
  /** 投票入围 */
778
778
  Shortlisted: "shortlisted"
779
- }, rt = e.string().enum(nt).lock(), d = {
779
+ }, at = e.string().enum(rt).lock(), d = {
780
780
  /** 未获得奖励 */
781
781
  Ineligible: "ineligible",
782
782
  /** 奖励未领取 */
@@ -787,7 +787,7 @@ const v = {
787
787
  Failed: "failed",
788
788
  /** 奖励已发货 */
789
789
  Delivered: "delivered"
790
- }, Hr = e.string().enum(d).lock(), at = {
790
+ }, zr = e.string().enum(d).lock(), ot = {
791
791
  /** 奖励未领取 */
792
792
  Unclaimed: d.Unclaimed,
793
793
  /** 奖励已领取 */
@@ -796,7 +796,7 @@ const v = {
796
796
  Failed: d.Failed,
797
797
  /** 奖励已发货 */
798
798
  Delivered: d.Delivered
799
- }, te = e.string().enum(at).lock(), ot = {
799
+ }, te = e.string().enum(ot).lock(), it = {
800
800
  /** 未获得奖励 */
801
801
  Ineligible: d.Ineligible,
802
802
  /** 奖励未领取 */
@@ -807,17 +807,17 @@ const v = {
807
807
  Failed: d.Failed,
808
808
  /** 奖励已发货 */
809
809
  Delivered: d.Delivered
810
- }, E = e.string().enum(ot).lock(), it = {
810
+ }, E = e.string().enum(it).lock(), st = {
811
811
  /** 玩法产出奖励 */
812
812
  Output: "output",
813
813
  /** 玩法参与奖励 */
814
814
  Engage: "engage"
815
- }, $ = e.string().enum(it).lock(), st = {
815
+ }, $ = e.string().enum(st).lock(), ct = {
816
816
  /** 私有队伍 */
817
817
  Private: "private",
818
818
  /** 公开队伍 */
819
819
  Public: "public"
820
- }, ct = e.string().enum(st).lock(), h = {
820
+ }, lt = e.string().enum(ct).lock(), f = {
821
821
  /** 未知状态 */
822
822
  Unknown: "unknown",
823
823
  /** 等待开奖 */
@@ -828,7 +828,7 @@ const v = {
828
828
  Claimed: "claimed",
829
829
  /** 领奖失败 */
830
830
  Fail: "fail"
831
- }, zr = e.string().enum(h).lock(), lt = {
831
+ }, Jr = e.string().enum(f).lock(), ut = {
832
832
  /** 发起组队 */
833
833
  Assemble: "assemble",
834
834
  /** 加入队伍 */
@@ -839,58 +839,58 @@ const v = {
839
839
  ChangeVisibility: "change_visibility",
840
840
  /** 查询组队信息 */
841
841
  Query: "query"
842
- }, Jr = e.string().enum(lt).lock(), ut = {
842
+ }, Zr = e.string().enum(ut).lock(), mt = {
843
843
  /** 查询抽奖券 */
844
844
  Query: "query",
845
845
  /** 开奖 */
846
846
  Draw: "draw",
847
847
  /** 领奖 */
848
848
  Claim: "claim"
849
- }, Zr = e.string().enum(ut).lock(), mt = {
849
+ }, Xr = e.string().enum(mt).lock(), dt = {
850
850
  /** 将所有队员的进度值求和,作为队伍进度值 */
851
851
  Sum: "sum",
852
852
  /** 以进度值倒序排名第 N 的队员的进度值,作为队伍进度值。如果队伍人数不足 N,则队伍进度值为 0。N 的值来自于配置字段 top_n */
853
853
  TopN: "top_n"
854
- }, dt = e.string().enum(mt).lock(), gt = {
854
+ }, gt = e.string().enum(dt).lock(), pt = {
855
855
  /** 尚未结算 */
856
856
  None: "none",
857
857
  /** 获胜奖励 */
858
858
  Winner: "winner",
859
859
  /** 安慰奖励 */
860
860
  Consolation: "consolation"
861
- }, pt = e.string().enum(gt).lock(), _t = e.string().enum(v), y = e.object({
861
+ }, _t = e.string().enum(pt).lock(), bt = e.string().enum(v), y = e.object({
862
862
  reward_item_id: e.number(),
863
863
  reward_amount: e.number(),
864
864
  reward_item_name: e.string(),
865
865
  reward_item_icon_url: e.string(),
866
866
  reward_item_desc: e.string().optional(),
867
- reward_item_type: _t,
867
+ reward_item_type: bt,
868
868
  reward_item_rating: e.number()
869
- }).lock(), bt = e.object({
869
+ }).lock(), yt = e.object({
870
870
  engage_count: e.number(),
871
871
  rewards: e.array(y)
872
- }).lock(), yt = e.union(
872
+ }).lock(), ht = e.union(
873
873
  e.object({
874
874
  feature_reward_type: e.string().enum("every"),
875
875
  reward_details: e.array(y)
876
876
  }),
877
877
  e.object({
878
878
  feature_reward_type: e.string().enum("regular"),
879
- reward_details: e.array(bt)
879
+ reward_details: e.array(yt)
880
880
  })
881
881
  ).satisfies().lock(), u = e.object({
882
882
  feature_name: e.string(),
883
883
  feature_id: e.number(),
884
884
  description: e.string(),
885
- cycle: We,
885
+ cycle: et,
886
886
  cycle_limit: e.number(),
887
887
  limit: e.number(),
888
888
  since: e.number(),
889
889
  until: e.number(),
890
- engage_account: Xe,
891
- feature_rewards: yt.clone().optional(),
890
+ engage_account: Ye,
891
+ feature_rewards: ht.clone().optional(),
892
892
  sort: e.number().optional()
893
- }), ft = l.Cashback, ht = e.object({
893
+ }), ft = l.Cashback, wt = e.object({
894
894
  ...u.shape,
895
895
  feature_type: e.string().enum(ft),
896
896
  config: e.object({
@@ -899,25 +899,25 @@ const v = {
899
899
  claim_rewards_start_time: e.number(),
900
900
  claim_rewards_end_time: e.number()
901
901
  })
902
- }), wt = l.CheckIn, kt = e.object({
902
+ }), kt = l.CheckIn, vt = e.object({
903
903
  ...u.shape,
904
- feature_type: e.string().enum(wt)
905
- }), vt = l.ClaimActivationKey, Vt = e.object({
906
- ...u.shape,
907
- feature_type: e.string().enum(vt)
908
- }), Ct = l.ClaimRewards, Rt = e.object({
904
+ feature_type: e.string().enum(kt)
905
+ }), Ct = l.ClaimActivationKey, Vt = e.object({
909
906
  ...u.shape,
910
907
  feature_type: e.string().enum(Ct)
911
- }), jt = l.Comment, Tt = e.object({
908
+ }), Rt = l.ClaimRewards, jt = e.object({
909
+ ...u.shape,
910
+ feature_type: e.string().enum(Rt)
911
+ }), Tt = l.Comment, qt = e.object({
912
912
  ...u.shape,
913
- feature_type: e.string().enum(jt),
913
+ feature_type: e.string().enum(Tt),
914
914
  config: e.object({
915
915
  comments: e.array(e.string()),
916
916
  send_rate: e.number()
917
917
  })
918
- }), qt = l.Follow, xt = e.object({
918
+ }), xt = l.Follow, St = e.object({
919
919
  ...u.shape,
920
- feature_type: e.string().enum(qt),
920
+ feature_type: e.string().enum(xt),
921
921
  config: e.object({
922
922
  platform: e.string(),
923
923
  platform_icon: e.string().optional(),
@@ -925,67 +925,67 @@ const v = {
925
925
  qr_code_url: e.string().optional(),
926
926
  platform_desc: e.string().optional()
927
927
  })
928
- }), St = l.GiftCode, Lt = e.object({
928
+ }), Lt = l.GiftCode, Pt = e.object({
929
929
  name: e.string(),
930
930
  icon_url: e.string(),
931
931
  count: e.number()
932
- }), Pt = e.object({
932
+ }), Et = e.object({
933
933
  ...u.shape,
934
- feature_type: e.string().enum(St),
934
+ feature_type: e.string().enum(Lt),
935
935
  config: e.object({
936
- gift_items: e.array(Lt),
936
+ gift_items: e.array(Pt),
937
937
  mp_url: e.string().optional(),
938
938
  mp_qrcode_url: e.string().optional()
939
939
  })
940
- }), Et = l.Invite, $t = e.object({
940
+ }), $t = l.Invite, Ft = e.object({
941
941
  ...u.shape,
942
- feature_type: e.string().enum(Et),
942
+ feature_type: e.string().enum($t),
943
943
  config: e.object({
944
944
  share_url: e.string()
945
945
  })
946
- }), Ft = l.InvitedRegister, Ut = e.object({
946
+ }), Ut = l.InvitedRegister, Dt = e.object({
947
947
  ...u.shape,
948
- feature_type: e.string().enum(Ft)
949
- }), Dt = e.string().enum(P(v, "GiftCode", "LotteryTicket")), It = l.Lottery, At = e.object({
948
+ feature_type: e.string().enum(Ut)
949
+ }), It = e.string().enum(P(v, "GiftCode", "LotteryTicket")), At = l.Lottery, Gt = e.object({
950
950
  reward_item_id: e.number(),
951
951
  reward_item_name: e.string(),
952
- reward_item_type: Dt,
952
+ reward_item_type: It,
953
953
  reward_item_icon_url: e.string(),
954
954
  reward_item_desc: e.string().optional(),
955
955
  reward_amount: e.number(),
956
956
  reward_remaining_stock: e.number(),
957
957
  reward_item_rating: e.number()
958
- }), Gt = e.object({
958
+ }), Ot = e.object({
959
959
  ...u.shape,
960
- feature_type: e.string().enum(It),
960
+ feature_type: e.string().enum(At),
961
961
  config: e.object({
962
962
  consume_item_id: e.number(),
963
963
  consume_item_name: e.string(),
964
964
  consume_item_icon_url: e.string(),
965
965
  consume_item_count: e.array(e.number()),
966
966
  consume_item_desc: e.string().optional(),
967
- rewards: e.array(At)
967
+ rewards: e.array(Gt)
968
968
  })
969
- }), Ot = l.LotteryDraw, Nt = e.object({
969
+ }), Nt = l.LotteryDraw, Qt = e.object({
970
970
  ...u.shape,
971
- feature_type: e.string().enum(Ot),
971
+ feature_type: e.string().enum(Nt),
972
972
  config: e.object({
973
973
  draw_not_before: e.number(),
974
974
  draw_not_after: e.number()
975
975
  })
976
- }), Qt = l.Preregister, Bt = e.object({
976
+ }), Bt = l.Preregister, Mt = e.object({
977
977
  ...u.shape,
978
- feature_type: e.string().enum(Qt)
979
- }), Mt = l.Quest, Kt = e.object({
978
+ feature_type: e.string().enum(Bt)
979
+ }), Kt = l.Quest, Ht = e.object({
980
980
  ...u.shape,
981
- feature_type: e.string().enum(Mt),
981
+ feature_type: e.string().enum(Kt),
982
982
  config: e.object({
983
983
  objective: ee,
984
984
  completion_value: e.number(),
985
985
  team: e.object({
986
986
  feature_id: e.number().optional(),
987
987
  completion_value: e.number(),
988
- progress_algorithm: dt.clone().optional(),
988
+ progress_algorithm: gt.clone().optional(),
989
989
  top_n: e.number().optional()
990
990
  }).optional(),
991
991
  config: e.object({
@@ -995,38 +995,38 @@ const v = {
995
995
  event_item_id: e.number().optional()
996
996
  }).optional()
997
997
  })
998
- }), Ht = l.Register, zt = e.object({
998
+ }), zt = l.Register, Jt = e.object({
999
999
  ...u.shape,
1000
- feature_type: e.string().enum(Ht)
1001
- }), Jt = l.Share, Zt = e.object({
1000
+ feature_type: e.string().enum(zt)
1001
+ }), Zt = l.Share, Xt = e.object({
1002
1002
  ...u.shape,
1003
- feature_type: e.string().enum(Jt),
1003
+ feature_type: e.string().enum(Zt),
1004
1004
  config: e.object({
1005
1005
  share_platform: e.string(),
1006
1006
  jump_url: e.string().optional(),
1007
1007
  icon_url: e.string().optional()
1008
1008
  })
1009
- }), Xt = l.Subscribe, Yt = e.object({
1009
+ }), Yt = l.Subscribe, Wt = e.object({
1010
1010
  ...u.shape,
1011
- feature_type: e.string().enum(Xt),
1011
+ feature_type: e.string().enum(Yt),
1012
1012
  config: e.object({
1013
1013
  weixin_template_ids: e.array(e.string())
1014
1014
  })
1015
- }), Wt = l.Survey, en = e.object({
1015
+ }), en = l.Survey, tn = e.object({
1016
1016
  ...u.shape,
1017
- feature_type: e.string().enum(Wt),
1017
+ feature_type: e.string().enum(en),
1018
1018
  config: e.object({
1019
1019
  survey_id: e.string(),
1020
1020
  survey_url: e.string()
1021
1021
  })
1022
- }), tn = l.Team, nn = e.object({
1022
+ }), nn = l.Team, rn = e.object({
1023
1023
  ...u.shape,
1024
- feature_type: e.string().enum(tn),
1024
+ feature_type: e.string().enum(nn),
1025
1025
  config: e.object({
1026
1026
  max_members: e.number().min(1),
1027
1027
  min_members: e.number().min(1)
1028
1028
  })
1029
- }), rn = l.Vote, an = e.object({
1029
+ }), an = l.Vote, on = e.object({
1030
1030
  sn: e.string(),
1031
1031
  name: e.string(),
1032
1032
  img_urls: e.array(e.string()).optional(),
@@ -1036,30 +1036,30 @@ const v = {
1036
1036
  amount: e.number(),
1037
1037
  finalists: e.bool(),
1038
1038
  last_vote_time: e.number()
1039
- }), on = e.object({
1039
+ }), sn = e.object({
1040
1040
  ...u.shape,
1041
- feature_type: e.string().enum(rn),
1041
+ feature_type: e.string().enum(an),
1042
1042
  config: e.object({
1043
1043
  vote_feature_ids: e.array(e.number()),
1044
1044
  submission_feature_ids: e.array(e.number()),
1045
1045
  finalists_amount: e.number(),
1046
- source: rt,
1047
- options: e.array(an),
1046
+ source: at,
1047
+ options: e.array(on),
1048
1048
  rewards: e.array(y)
1049
1049
  })
1050
- }), sn = l.Vote2, cn = e.object({
1050
+ }), cn = l.Vote2, ln = e.object({
1051
1051
  candidate_id: e.string(),
1052
1052
  display_name: e.string(),
1053
1053
  images: e.array(e.string()).optional(),
1054
1054
  videos: e.array(e.string()).optional(),
1055
1055
  description: e.string().optional(),
1056
1056
  jump_url: e.string()
1057
- }), ln = e.object({
1057
+ }), un = e.object({
1058
1058
  ...u.shape,
1059
- feature_type: e.string().enum(sn),
1059
+ feature_type: e.string().enum(cn),
1060
1060
  config: e.object({
1061
1061
  vote_item_id: e.number().optional(),
1062
- candidates: e.array(cn),
1062
+ candidates: e.array(ln),
1063
1063
  vote_since: e.number(),
1064
1064
  vote_until: e.number(),
1065
1065
  rewards_since: e.number(),
@@ -1067,39 +1067,39 @@ const v = {
1067
1067
  winner_rewards: e.array(y).optional(),
1068
1068
  consolation_rewards: e.array(y).optional()
1069
1069
  })
1070
- }), un = l.ZeroChatgpt, mn = e.object({
1070
+ }), mn = l.ZeroChatgpt, dn = e.object({
1071
1071
  ...u.shape,
1072
- feature_type: e.string().enum(un)
1073
- }), dn = e.union(
1074
- ht,
1075
- kt,
1076
- Rt,
1077
- Tt,
1078
- xt,
1079
- Pt,
1080
- $t,
1081
- Ut,
1082
- Gt,
1083
- Nt,
1084
- Bt,
1085
- Kt,
1086
- zt,
1087
- Zt,
1088
- Yt,
1089
- en,
1090
- nn,
1091
- on,
1092
- ln,
1072
+ feature_type: e.string().enum(mn)
1073
+ }), gn = e.union(
1074
+ wt,
1075
+ vt,
1076
+ jt,
1077
+ qt,
1078
+ St,
1079
+ Et,
1080
+ Ft,
1081
+ Dt,
1082
+ Ot,
1083
+ Qt,
1084
+ Mt,
1085
+ Ht,
1086
+ Jt,
1087
+ Xt,
1088
+ Wt,
1089
+ tn,
1090
+ rn,
1091
+ sn,
1092
+ un,
1093
1093
  Vt,
1094
- mn
1095
- ).key("feature_type").satisfies(), gn = e.object({
1094
+ dn
1095
+ ).key("feature_type").satisfies(), pn = e.object({
1096
1096
  event_name: e.string(),
1097
1097
  rules: e.string(),
1098
1098
  since: e.number(),
1099
1099
  until: e.number(),
1100
1100
  visit_count: e.number().optional(),
1101
- features: e.array(dn)
1102
- }).lock(), q = e.union(e.string().pattern("NumberString", /^\d+$/), e.number()), pn = e.object({
1101
+ features: e.array(gn)
1102
+ }).lock(), q = e.union(e.string().pattern("NumberString", /^\d+$/), e.number()), ne = e.object({
1103
1103
  order_total_amount: q,
1104
1104
  cashback_total_amount: q,
1105
1105
  game_item_count: q
@@ -1111,9 +1111,9 @@ const v = {
1111
1111
  user_id: e.string(),
1112
1112
  name: e.string().optional(),
1113
1113
  avatar_url: e.string().optional()
1114
- }), fn = e.object({
1114
+ }), hn = e.object({
1115
1115
  lottery_count: e.number()
1116
- }), V = e.object({
1116
+ }), C = e.object({
1117
1117
  reward_id: e.number(),
1118
1118
  reward_item_id: e.number(),
1119
1119
  reward_source: $,
@@ -1128,42 +1128,42 @@ const v = {
1128
1128
  event_name: e.string(),
1129
1129
  feature_id: e.number(),
1130
1130
  engagement_id: e.number(),
1131
- feature_type: et,
1131
+ feature_type: tt,
1132
1132
  receive_time: e.number(),
1133
1133
  extra_data: e.record(e.unknown()).optional()
1134
- }), hn = e.string().enum(h.Unknown, h.Pending), wn = e.union(
1134
+ }), fn = e.string().enum(f.Unknown, f.Pending), wn = e.union(
1135
1135
  e.object({
1136
1136
  ticket: e.string(),
1137
- status: hn
1137
+ status: fn
1138
1138
  }),
1139
1139
  e.object({
1140
1140
  ticket: e.string(),
1141
- status: e.string().enum(P(h, "Unknown", "Pending")),
1142
- reward: V
1141
+ status: e.string().enum(P(f, "Unknown", "Pending")),
1142
+ reward: C
1143
1143
  })
1144
1144
  ).satisfies(), kn = e.object({
1145
1145
  tickets: e.array(wn)
1146
1146
  }), vn = e.object({
1147
1147
  platforms: e.array(e.string())
1148
- }), ne = e.object({
1148
+ }), re = e.object({
1149
1149
  role_name: e.string(),
1150
1150
  is_leader: e.bool(),
1151
1151
  is_myself: e.bool().optional(),
1152
1152
  progress: e.number().optional()
1153
- }).lock(), Vn = e.object({
1153
+ }).lock(), Cn = e.object({
1154
1154
  objective: ee,
1155
1155
  progress: e.number(),
1156
1156
  completion_value: e.number().optional(),
1157
1157
  team: e.object({
1158
1158
  progress: e.number(),
1159
1159
  completion_value: e.number().optional(),
1160
- players: e.array(ne)
1160
+ players: e.array(re)
1161
1161
  }).optional()
1162
- }), Cn = e.object({
1162
+ }), Vn = e.object({
1163
1163
  progress: e.number(),
1164
1164
  team: e.object({
1165
1165
  progress: e.number(),
1166
- team_members: e.array(ne).optional()
1166
+ team_members: e.array(re).optional()
1167
1167
  }).optional()
1168
1168
  }), Rn = e.object({
1169
1169
  platform: e.string()
@@ -1175,14 +1175,14 @@ const v = {
1175
1175
  team_code: e.string(),
1176
1176
  leader_name: e.string(),
1177
1177
  total_members: e.number()
1178
- }), Xr = e.object({
1178
+ }), Yr = e.object({
1179
1179
  is_leader: e.bool(),
1180
1180
  is_myself: e.bool().optional(),
1181
1181
  role_name: e.string(),
1182
1182
  server_name: e.string()
1183
1183
  }), xn = e.object({
1184
1184
  team_code: e.string(),
1185
- visibility: ct,
1185
+ visibility: lt,
1186
1186
  members: e.array(
1187
1187
  e.object({
1188
1188
  is_leader: e.bool(),
@@ -1198,14 +1198,13 @@ const v = {
1198
1198
  my_votes: e.number().optional(),
1199
1199
  votes: e.number().optional()
1200
1200
  }), Pn = e.object({
1201
- rewards_type: pt,
1202
- rewards: e.array(V).optional()
1201
+ rewards_type: _t,
1202
+ rewards: e.array(C).optional()
1203
1203
  }), En = e.object({
1204
1204
  candidate_id: e.string(),
1205
1205
  is_winner: e.bool(),
1206
1206
  total_votes: e.number(),
1207
- my_votes: e.number(),
1208
- last_voted_ts: e.number()
1207
+ my_votes: e.number()
1209
1208
  }), $n = e.object({
1210
1209
  role: e.string(),
1211
1210
  content: e.string()
@@ -1220,17 +1219,17 @@ const v = {
1220
1219
  created_at: e.number()
1221
1220
  }), F = e.union(
1222
1221
  vn,
1223
- fn,
1222
+ hn,
1224
1223
  Tn,
1225
1224
  yn,
1226
1225
  Rn,
1227
1226
  Sn,
1228
1227
  Ln,
1229
1228
  jn,
1230
- pn,
1229
+ ne,
1231
1230
  bn,
1232
1231
  xn,
1233
- Vn,
1232
+ Cn,
1234
1233
  kn,
1235
1234
  _n,
1236
1235
  Fn,
@@ -1294,7 +1293,7 @@ const v = {
1294
1293
  }), Qn = e.object({
1295
1294
  reward_id: e.number(),
1296
1295
  reward_status: E
1297
- }), Bn = e.guard(gn), Mn = e.guard(Gn), x = s({ count: e.number() }), Kn = s({ first_visit: e.bool() }), Hn = s({
1296
+ }), Bn = e.guard(pn), Mn = e.guard(Gn), x = s({ count: e.number() }), Kn = s({ first_visit: e.bool() }), Hn = s({
1298
1297
  engagements: e.union(e.array(Un), e.array(qn))
1299
1298
  }), zn = s({
1300
1299
  status: e.array(On)
@@ -1306,11 +1305,11 @@ const v = {
1306
1305
  }), Xn = e.guard(Nn), Yn = s({
1307
1306
  claimed_items: e.array(Qn)
1308
1307
  }), Wn = s({
1309
- rewards: e.array(V)
1308
+ rewards: e.array(C)
1310
1309
  }), er = s({
1311
1310
  reward_status: E
1312
1311
  }), tr = s({
1313
- user_rewards: e.array(V),
1312
+ user_rewards: e.array(C),
1314
1313
  next_token: e.string().optional()
1315
1314
  }), nr = s({
1316
1315
  scene: e.string()
@@ -1318,12 +1317,12 @@ const v = {
1318
1317
  params: e.string()
1319
1318
  }), ar = s({
1320
1319
  img: e.string()
1321
- }), or = e.guard(Cn), ir = e.guard(Pn), sr = e.guard(
1320
+ }), or = e.guard(Vn), ir = e.guard(Pn), sr = e.guard(
1322
1321
  e.object({
1323
1322
  candidate_votes: e.array(En)
1324
1323
  })
1325
- );
1326
- class Yr {
1324
+ ), cr = e.guard(ne);
1325
+ class Wr {
1327
1326
  token;
1328
1327
  event = 0;
1329
1328
  req;
@@ -1715,13 +1714,29 @@ class Yr {
1715
1714
  });
1716
1715
  return r?.candidate_votes || [];
1717
1716
  }
1717
+ /**
1718
+ * 充值返还玩法的查询接口,查询返还数据
1719
+ *
1720
+ * https://www.kdocs.cn/l/ckWFDcOsYEUA?linkname=yNolN2sWp4
1721
+ */
1722
+ async getCashbackQuery(t, n) {
1723
+ if (!await this.token.autoLogin()) return null;
1724
+ const { data: r, code: a, message: o } = await this.req.get("event/cashback/query", cr, {
1725
+ ...n,
1726
+ params: { feature_id: t, event_id: this.event }
1727
+ });
1728
+ return r || {
1729
+ message: o,
1730
+ error: a
1731
+ };
1732
+ }
1718
1733
  }
1719
- const cr = {
1734
+ const lr = {
1720
1735
  /** 所有人均可以发帖 */
1721
1736
  All: "all",
1722
1737
  /** 指定用户可发帖 */
1723
1738
  Limit: "limit"
1724
- }, lr = e.string().enum(cr).lock(), ur = {
1739
+ }, ur = e.string().enum(lr).lock(), mr = {
1725
1740
  /** 待审核(仅自己可见) */
1726
1741
  Pending: "pending",
1727
1742
  /** 审核通过 */
@@ -1730,14 +1745,14 @@ const cr = {
1730
1745
  Failed: "failed",
1731
1746
  /** 嫌疑(仅自己可见) */
1732
1747
  Suspect: "suspect"
1733
- }, re = e.string().enum(ur).lock(), mr = {
1748
+ }, ae = e.string().enum(mr).lock(), dr = {
1734
1749
  /** 系统通知 */
1735
1750
  System: "system",
1736
1751
  /** 评论我的 */
1737
1752
  Comment: "comment",
1738
1753
  /** 点赞通知 */
1739
1754
  Like: "like"
1740
- }, Wr = e.string().enum(mr).lock(), m = {
1755
+ }, ea = e.string().enum(dr).lock(), m = {
1741
1756
  /** 系统通知 */
1742
1757
  System: "system",
1743
1758
  /** 帖子被置顶 */
@@ -1762,13 +1777,13 @@ const cr = {
1762
1777
  ReplyLiked: "reply_liked",
1763
1778
  /** 回复被删除 */
1764
1779
  ReplyDeleted: "reply_deleted"
1765
- }, dr = e.string().enum(m).lock(), ae = e.object({
1780
+ }, gr = e.string().enum(m).lock(), oe = e.object({
1766
1781
  forum_id: e.number(),
1767
1782
  icon_url: e.string(),
1768
1783
  name: e.string(),
1769
1784
  tags: e.array(e.string()),
1770
1785
  sort: e.number(),
1771
- mode: lr,
1786
+ mode: ur,
1772
1787
  member_ids: e.array(e.number())
1773
1788
  }).lock(), U = e.object({
1774
1789
  topic_id: e.number(),
@@ -1779,7 +1794,7 @@ const cr = {
1779
1794
  post_num: e.number()
1780
1795
  }).lock(), D = e.object({
1781
1796
  post_id: e.number(),
1782
- forum: ae,
1797
+ forum: oe,
1783
1798
  posted_by: e.string(),
1784
1799
  nickname: e.string(),
1785
1800
  avatar_url: e.string(),
@@ -1795,17 +1810,17 @@ const cr = {
1795
1810
  event_ids: e.array(e.number()),
1796
1811
  is_pinned: e.bool(),
1797
1812
  is_highlighted: e.bool(),
1798
- status: re,
1813
+ status: ae,
1799
1814
  create_time: e.number()
1800
- }).lock(), oe = e.object({
1815
+ }).lock(), ie = e.object({
1801
1816
  err_msg: e.string().optional()
1802
- }).optional().lock(), gr = e.object({
1817
+ }).optional().lock(), pr = e.object({
1803
1818
  reply_id: e.number(),
1804
1819
  reply_content: e.string().optional(),
1805
1820
  replied_by: e.string(),
1806
1821
  nickname: e.string(),
1807
1822
  avatar_url: e.string()
1808
- }).lock(), C = e.object({
1823
+ }).lock(), V = e.object({
1809
1824
  reply_id: e.number(),
1810
1825
  comment_id: e.number(),
1811
1826
  comment_content: e.string().optional(),
@@ -1818,7 +1833,7 @@ const cr = {
1818
1833
  content: e.string(),
1819
1834
  like_num: e.number(),
1820
1835
  liked: e.bool(),
1821
- reply_to: gr,
1836
+ reply_to: pr,
1822
1837
  create_time: e.number()
1823
1838
  }).lock(), w = e.object({
1824
1839
  comment_id: e.number(),
@@ -1838,21 +1853,21 @@ const cr = {
1838
1853
  liked: e.bool(),
1839
1854
  image_url: e.string(),
1840
1855
  create_time: e.number(),
1841
- status: re,
1842
- replies: e.array(C).optional()
1843
- }).lock(), pr = e.object({
1856
+ status: ae,
1857
+ replies: e.array(V).optional()
1858
+ }).lock(), _r = e.object({
1844
1859
  image_url: e.string(),
1845
1860
  upload_url: e.string(),
1846
1861
  existed: e.bool()
1847
1862
  }).lock(), _ = e.object({
1848
1863
  notification_id: e.string(),
1849
- notification_type: dr,
1864
+ notification_type: gr,
1850
1865
  is_read: e.bool(),
1851
1866
  create_time: e.number(),
1852
1867
  origin_user_id: e.string(),
1853
1868
  origin_user_name: e.string(),
1854
1869
  origin_user_avatar_url: e.string()
1855
- }).lock(), _r = e.object({
1870
+ }).lock(), br = e.object({
1856
1871
  system_message_subject: e.string(),
1857
1872
  system_message_content: e.string()
1858
1873
  }).lock(), I = e.object({
@@ -1866,11 +1881,11 @@ const cr = {
1866
1881
  }).lock(), A = e.object({
1867
1882
  reply_id: e.number(),
1868
1883
  reply_content: e.string()
1869
- }).lock(), br = e.object({
1884
+ }).lock(), yr = e.object({
1870
1885
  ..._.shape,
1871
- ..._r.shape,
1886
+ ...br.shape,
1872
1887
  notification_type: e.string().enum(m.System)
1873
- }), yr = e.object({
1888
+ }), hr = e.object({
1874
1889
  ..._.shape,
1875
1890
  ...I.shape,
1876
1891
  notification_type: e.string().enum(
@@ -1884,63 +1899,63 @@ const cr = {
1884
1899
  ...I.shape,
1885
1900
  ...R.shape,
1886
1901
  notification_type: e.string().enum(m.PostCommented)
1887
- }), hr = e.object({
1902
+ }), wr = e.object({
1888
1903
  ..._.shape,
1889
1904
  ...R.shape,
1890
1905
  ...A.shape,
1891
1906
  notification_type: e.string().enum(m.CommentReplied)
1892
- }), wr = e.object({
1907
+ }), kr = e.object({
1893
1908
  ..._.shape,
1894
1909
  ...R.shape,
1895
1910
  ...I.shape,
1896
1911
  notification_type: e.string().enum(m.CommentLiked, m.CommentDeleted)
1897
- }), kr = e.object({
1912
+ }), vr = e.object({
1898
1913
  ..._.shape,
1899
1914
  ...A.shape,
1900
1915
  notification_type: e.string().enum(m.ReplyReplied),
1901
1916
  comment_id: e.number(),
1902
1917
  reply_to_reply_id: e.number(),
1903
1918
  reply_to_reply_content: e.string()
1904
- }), vr = e.object({
1919
+ }), Cr = e.object({
1905
1920
  ..._.shape,
1906
1921
  ...A.shape,
1907
1922
  ...R.shape,
1908
1923
  notification_type: e.string().enum(m.ReplyLiked, m.ReplyDeleted)
1909
1924
  }), Vr = e.union(
1910
- br,
1911
1925
  yr,
1912
- fr,
1913
1926
  hr,
1927
+ fr,
1914
1928
  wr,
1915
1929
  kr,
1916
- vr
1917
- ).satisfies().lock(), Cr = s({ forums: e.array(ae) }), Rr = s({ topics: e.array(U) }), jr = s({ topic: U }), Tr = s({ post: D }), M = s({
1930
+ vr,
1931
+ Cr
1932
+ ).satisfies().lock(), Rr = s({ forums: e.array(oe) }), jr = s({ topics: e.array(U) }), Tr = s({ topic: U }), qr = s({ post: D }), M = s({
1918
1933
  posts: e.array(D),
1919
1934
  next_token: e.string().optional()
1920
- }), qr = s({
1921
- post: D.clone().optional(),
1922
- antispam: oe.clone().optional()
1923
1935
  }), xr = s({
1924
- replies: e.array(C),
1936
+ post: D.clone().optional(),
1937
+ antispam: ie.clone().optional()
1938
+ }), Sr = s({
1939
+ replies: e.array(V),
1925
1940
  next_token: e.string().optional()
1926
- }), Sr = s({ reply: C }), Lr = s({
1927
- reply: C.clone().optional(),
1928
- antispam: oe.clone().optional()
1929
- }), Pr = s({ comment: w }), Er = s({
1941
+ }), Lr = s({ reply: V }), Pr = s({
1942
+ reply: V.clone().optional(),
1943
+ antispam: ie.clone().optional()
1944
+ }), Er = s({ comment: w }), $r = s({
1930
1945
  comments: e.array(w),
1931
1946
  next_token: e.string().optional()
1932
- }), $r = s({
1947
+ }), Fr = s({
1933
1948
  comment: w.clone().optional(),
1934
1949
  antispam: w.clone().optional()
1935
- }), Fr = e.guard(pr), Ur = s({
1950
+ }), Ur = e.guard(_r), Dr = s({
1936
1951
  notifications: e.array(Vr),
1937
1952
  next_token: e.string().optional()
1938
- }), Dr = s({
1953
+ }), Ir = s({
1939
1954
  system: e.number(),
1940
1955
  comment: e.number(),
1941
1956
  like: e.number()
1942
1957
  });
1943
- class ea {
1958
+ class ta {
1944
1959
  token;
1945
1960
  req;
1946
1961
  constructor(t) {
@@ -1952,7 +1967,7 @@ class ea {
1952
1967
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=QaqUa2K0z0
1953
1968
  */
1954
1969
  async getForums(t) {
1955
- const { data: n } = await this.req.get("community/forums", Cr, t);
1970
+ const { data: n } = await this.req.get("community/forums", Rr, t);
1956
1971
  return n?.forums || [];
1957
1972
  }
1958
1973
  /**
@@ -1961,7 +1976,7 @@ class ea {
1961
1976
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=mIwpymAQom
1962
1977
  */
1963
1978
  async getTopics(t) {
1964
- const { data: n } = await this.req.get("community/topics", Rr, t);
1979
+ const { data: n } = await this.req.get("community/topics", jr, t);
1965
1980
  return n?.topics || [];
1966
1981
  }
1967
1982
  /**
@@ -1970,7 +1985,7 @@ class ea {
1970
1985
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=Jvw7xMK31K
1971
1986
  */
1972
1987
  async getTopic(t, n) {
1973
- const { data: r, code: a } = await this.req.get("community/topic", jr, {
1988
+ const { data: r, code: a } = await this.req.get("community/topic", Tr, {
1974
1989
  ...n,
1975
1990
  params: { topic_id: t }
1976
1991
  });
@@ -2012,7 +2027,7 @@ class ea {
2012
2027
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=hj1AZy5rcP
2013
2028
  */
2014
2029
  async getPost(t, n) {
2015
- const { data: r, code: a, message: o } = await this.req.get("community/post", Tr, {
2030
+ const { data: r, code: a, message: o } = await this.req.get("community/post", qr, {
2016
2031
  ...n,
2017
2032
  params: { post_id: t }
2018
2033
  });
@@ -2030,7 +2045,7 @@ class ea {
2030
2045
  const { data: r, code: a, message: o } = await this.req.post(
2031
2046
  "community/post",
2032
2047
  c(t),
2033
- qr,
2048
+ xr,
2034
2049
  n
2035
2050
  );
2036
2051
  return r ?? {
@@ -2044,7 +2059,7 @@ class ea {
2044
2059
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=djKbX7lFdp
2045
2060
  */
2046
2061
  async getComments(t, n) {
2047
- const { data: r, code: a, message: o } = await this.req.get("community/comments", Er, {
2062
+ const { data: r, code: a, message: o } = await this.req.get("community/comments", $r, {
2048
2063
  ...n,
2049
2064
  params: c(t)
2050
2065
  });
@@ -2059,7 +2074,7 @@ class ea {
2059
2074
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=RIc7oxVGae
2060
2075
  */
2061
2076
  async getComment(t, n) {
2062
- const { data: r, code: a, message: o } = await this.req.get("community/comment", Pr, {
2077
+ const { data: r, code: a, message: o } = await this.req.get("community/comment", Er, {
2063
2078
  ...n,
2064
2079
  params: { comment_id: t }
2065
2080
  });
@@ -2078,7 +2093,7 @@ class ea {
2078
2093
  const { data: r, code: a, message: o } = await this.req.post(
2079
2094
  "community/comment",
2080
2095
  c(t),
2081
- $r,
2096
+ Fr,
2082
2097
  n
2083
2098
  );
2084
2099
  return r ?? {
@@ -2092,7 +2107,7 @@ class ea {
2092
2107
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=sVKBbY83MY
2093
2108
  */
2094
2109
  async getReplies(t, n) {
2095
- const { data: r } = await this.req.get("community/replies", xr, {
2110
+ const { data: r } = await this.req.get("community/replies", Sr, {
2096
2111
  ...n,
2097
2112
  params: c({ max_results: 20, ...t })
2098
2113
  });
@@ -2107,7 +2122,7 @@ class ea {
2107
2122
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=kxhcSXD3MG
2108
2123
  */
2109
2124
  async getReply(t, n) {
2110
- const { data: r, code: a, message: o } = await this.req.get("community/reply", Sr, {
2125
+ const { data: r, code: a, message: o } = await this.req.get("community/reply", Lr, {
2111
2126
  ...n,
2112
2127
  params: { reply_id: t }
2113
2128
  });
@@ -2126,7 +2141,7 @@ class ea {
2126
2141
  const { data: r, code: a, message: o } = await this.req.post(
2127
2142
  "community/reply",
2128
2143
  c(t),
2129
- Lr,
2144
+ Pr,
2130
2145
  n
2131
2146
  );
2132
2147
  return r ?? {
@@ -2177,7 +2192,7 @@ class ea {
2177
2192
  */
2178
2193
  async getMediaPresignedUrl(t, n) {
2179
2194
  await this.token.autoLogin();
2180
- const { data: r } = await this.req.get("community/media-presign-url", Fr, {
2195
+ const { data: r } = await this.req.get("community/media-presign-url", Ur, {
2181
2196
  ...n,
2182
2197
  params: t
2183
2198
  });
@@ -2192,7 +2207,7 @@ class ea {
2192
2207
  */
2193
2208
  async getNotifications(t, n) {
2194
2209
  await this.token.autoLogin();
2195
- const { data: r } = await this.req.get("community/notifications", Ur, {
2210
+ const { data: r } = await this.req.get("community/notifications", Dr, {
2196
2211
  ...n,
2197
2212
  params: c({ max_results: 20, ...t })
2198
2213
  });
@@ -2210,7 +2225,7 @@ class ea {
2210
2225
  if (!await this.token.autoLogin()) return null;
2211
2226
  const { data: n } = await this.req.get(
2212
2227
  "community/unread-notifications-count",
2213
- Dr,
2228
+ Ir,
2214
2229
  t
2215
2230
  );
2216
2231
  return n;
@@ -2226,17 +2241,17 @@ class ea {
2226
2241
  return r;
2227
2242
  }
2228
2243
  }
2229
- const Ir = s({
2244
+ const Ar = s({
2230
2245
  nonce_str: e.string(),
2231
2246
  timestamp: e.number(),
2232
2247
  signature: e.string()
2233
2248
  });
2234
- var Ar = /* @__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))(Ar || {});
2249
+ var Gr = /* @__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))(Gr || {});
2235
2250
  function S(i) {
2236
2251
  return k(i, "open_id", "union_id", "weixin_token");
2237
2252
  }
2238
2253
  const K = "wx_login_cache";
2239
- class ta {
2254
+ class na {
2240
2255
  token;
2241
2256
  $appid;
2242
2257
  req;
@@ -2270,7 +2285,7 @@ class ta {
2270
2285
  const t = this.token.storage.get(K);
2271
2286
  if (!t)
2272
2287
  return null;
2273
- const n = pe(t);
2288
+ const n = _e(t);
2274
2289
  return S(n) ? (this.token.weixinToken = n.weixin_token, await this.token.autoLogin(), n) : null;
2275
2290
  }
2276
2291
  /**
@@ -2296,7 +2311,7 @@ class ta {
2296
2311
  const n = await this.getLoginCache();
2297
2312
  if (n)
2298
2313
  return n;
2299
- const r = await ye(), { data: a, code: o, message: g } = await this.req.post(
2314
+ const r = await he(), { data: a, code: o, message: g } = await this.req.post(
2300
2315
  "weixin/login",
2301
2316
  { code: r, appid: this.appid },
2302
2317
  S,
@@ -2326,9 +2341,9 @@ class ta {
2326
2341
  async webLogin(t = "snsapi_userinfo", n) {
2327
2342
  const r = L("code"), a = Date.now(), o = +L("state");
2328
2343
  if (!r || !o || o < a - 1e3 * 60 * 5 || o > a) {
2329
- const ce = G(["code", "state"]);
2344
+ const le = G(["code", "state"]);
2330
2345
  location.replace(
2331
- `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${this.appid}&redirect_uri=${encodeURIComponent(ce)}&response_type=code&scope=${t}&state=${a}#wechat_redirect`
2346
+ `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${this.appid}&redirect_uri=${encodeURIComponent(le)}&response_type=code&scope=${t}&state=${a}#wechat_redirect`
2332
2347
  );
2333
2348
  return;
2334
2349
  }
@@ -2341,12 +2356,12 @@ class ta {
2341
2356
  "replaceState" in history && history.replaceState({}, "", g);
2342
2357
  const {
2343
2358
  data: p,
2344
- code: ie,
2345
- message: se
2359
+ code: se,
2360
+ message: ce
2346
2361
  } = await this.req.post("weixin/login", { code: r, appid: this.appid }, S, n);
2347
2362
  return p && (this.token.weixinToken = p.weixin_token, await this.token.autoLogin()), p ?? {
2348
- message: se,
2349
- error: ie
2363
+ message: ce,
2364
+ error: se
2350
2365
  };
2351
2366
  }
2352
2367
  /**
@@ -2376,7 +2391,7 @@ class ta {
2376
2391
  * https://kdocs.cn/l/cf2mO2uRLqh9?linkname=CuWOqxr9Ue
2377
2392
  */
2378
2393
  async getJSSDKConfig(t) {
2379
- const { data: n } = await this.req.get("weixin/offiaccount/jssdk-sign", Ir, {
2394
+ const { data: n } = await this.req.get("weixin/offiaccount/jssdk-sign", Ar, {
2380
2395
  ...t,
2381
2396
  params: {
2382
2397
  appid: this.appid,
@@ -2392,155 +2407,155 @@ class ta {
2392
2407
  }
2393
2408
  }
2394
2409
  export {
2395
- oe as AntispamValidator,
2396
- Qr as AuthToken,
2410
+ ie as AntispamValidator,
2411
+ Br as AuthToken,
2397
2412
  En as CandidateVoteValidator,
2398
- pn as CashbackEngagementDataValidator,
2413
+ ne as CashbackEngagementDataValidator,
2399
2414
  _n as ClaimActivationKeyEngagementDataValidator,
2400
- ot as ClaimRewardStatus,
2415
+ it as ClaimRewardStatus,
2401
2416
  E as ClaimRewardStatusValidator,
2402
2417
  Qn as ClaimedItemValidator,
2403
2418
  J as ClubAddressValidator,
2404
- Mr as ClubApi,
2419
+ Kr as ClubApi,
2405
2420
  Z as ClubBenefitSummaryValidator,
2406
- De as ClubBenefitValidator,
2407
- Ce as ClubCreditChangeScene,
2408
- Re as ClubCreditChangeSceneValidator,
2409
- ve as ClubCreditChangeType,
2421
+ Ie as ClubBenefitValidator,
2422
+ Re as ClubCreditChangeScene,
2423
+ je as ClubCreditChangeSceneValidator,
2424
+ Ce as ClubCreditChangeType,
2410
2425
  Ve as ClubCreditChangeTypeValidator,
2411
- Ue as ClubCreditLogValidator,
2412
- xe as ClubGlobalConfigValidator,
2413
- je as ClubItemType,
2426
+ De as ClubCreditLogValidator,
2427
+ Se as ClubGlobalConfigValidator,
2428
+ Te as ClubItemType,
2414
2429
  H as ClubItemTypeValidator,
2415
- Se as ClubPlayerValidator,
2430
+ Le as ClubPlayerValidator,
2416
2431
  X as ClubProductValidator,
2417
- Te as ClubRedemptionStatus,
2418
- qe as ClubRedemptionStatusValidator,
2419
- Fe as ClubUserCreditValidator,
2420
- $e as ClubUserProfileValidator,
2432
+ qe as ClubRedemptionStatus,
2433
+ xe as ClubRedemptionStatusValidator,
2434
+ Ue as ClubUserCreditValidator,
2435
+ Fe as ClubUserProfileValidator,
2421
2436
  Un as CommentEngagementValidator,
2422
2437
  w as CommentValidator,
2423
- ea as CommunityApi,
2424
- Ze as EngageAccountType,
2425
- Xe as EngageAccountTypeValidator,
2438
+ ta as CommunityApi,
2439
+ Xe as EngageAccountType,
2440
+ Ye as EngageAccountTypeValidator,
2426
2441
  Nn as EngageResponseValidator,
2427
2442
  In as EngageRewardValidator,
2428
- Yr as EventApi,
2429
- gn as EventConfigValidator,
2430
- ht as EventFeatureConfigOfCashbackValidator,
2431
- kt as EventFeatureConfigOfCheckInValidator,
2443
+ Wr as EventApi,
2444
+ pn as EventConfigValidator,
2445
+ wt as EventFeatureConfigOfCashbackValidator,
2446
+ vt as EventFeatureConfigOfCheckInValidator,
2432
2447
  Vt as EventFeatureConfigOfClaimActivationKeyValidator,
2433
- Rt as EventFeatureConfigOfClaimRewardsValidator,
2434
- Tt as EventFeatureConfigOfCommentValidator,
2435
- xt as EventFeatureConfigOfFollowValidator,
2436
- Pt as EventFeatureConfigOfGiftCodeValidator,
2437
- $t as EventFeatureConfigOfInviteValidator,
2438
- Ut as EventFeatureConfigOfInvitedRegisterValidator,
2439
- Nt as EventFeatureConfigOfLotteryDrawValidator,
2440
- Gt as EventFeatureConfigOfLotteryValidator,
2441
- Bt as EventFeatureConfigOfPreregisterValidator,
2442
- Kt as EventFeatureConfigOfQuestValidator,
2443
- zt as EventFeatureConfigOfRegisterValidator,
2444
- Zt as EventFeatureConfigOfShareValidator,
2445
- Yt as EventFeatureConfigOfSubscribeValidator,
2446
- en as EventFeatureConfigOfSurveyValidator,
2447
- nn as EventFeatureConfigOfTeamValidator,
2448
- ln as EventFeatureConfigOfVote2Validator,
2449
- on as EventFeatureConfigOfVoteValidator,
2450
- dn as EventFeatureConfigValidator,
2451
- Ye as EventPeriodType,
2452
- We as EventPeriodTypeValidator,
2448
+ jt as EventFeatureConfigOfClaimRewardsValidator,
2449
+ qt as EventFeatureConfigOfCommentValidator,
2450
+ St as EventFeatureConfigOfFollowValidator,
2451
+ Et as EventFeatureConfigOfGiftCodeValidator,
2452
+ Ft as EventFeatureConfigOfInviteValidator,
2453
+ Dt as EventFeatureConfigOfInvitedRegisterValidator,
2454
+ Qt as EventFeatureConfigOfLotteryDrawValidator,
2455
+ Ot as EventFeatureConfigOfLotteryValidator,
2456
+ Mt as EventFeatureConfigOfPreregisterValidator,
2457
+ Ht as EventFeatureConfigOfQuestValidator,
2458
+ Jt as EventFeatureConfigOfRegisterValidator,
2459
+ Xt as EventFeatureConfigOfShareValidator,
2460
+ Wt as EventFeatureConfigOfSubscribeValidator,
2461
+ tn as EventFeatureConfigOfSurveyValidator,
2462
+ rn as EventFeatureConfigOfTeamValidator,
2463
+ un as EventFeatureConfigOfVote2Validator,
2464
+ sn as EventFeatureConfigOfVoteValidator,
2465
+ gn as EventFeatureConfigValidator,
2466
+ We as EventPeriodType,
2467
+ et as EventPeriodTypeValidator,
2453
2468
  y as EventRewardItemConfigValidator,
2454
- Ae as ExtraGameRewardValidator,
2455
- Ie as ExtraPhysicalShipmentValidator,
2456
- yt as FeatureRewardValidator,
2469
+ Ge as ExtraGameRewardValidator,
2470
+ Ae as ExtraPhysicalShipmentValidator,
2471
+ ht as FeatureRewardValidator,
2457
2472
  l as FeatureType,
2458
- et as FeatureTypeValidator,
2459
- cr as ForumMode,
2460
- lr as ForumModeValidator,
2461
- ae as ForumValidator,
2473
+ tt as FeatureTypeValidator,
2474
+ lr as ForumMode,
2475
+ ur as ForumModeValidator,
2476
+ oe as ForumValidator,
2462
2477
  v as GamerItemType,
2463
2478
  Y as GamerItemTypeValidator,
2464
- we as Gender,
2465
- ke as GenderValidator,
2479
+ ke as Gender,
2480
+ ve as GenderValidator,
2466
2481
  bn as GiftCodeEngagementDataValidator,
2467
2482
  yn as InviteEngagementDataValidator,
2468
- ut as LotteryDrawAction,
2469
- Zr as LotteryDrawActionValidator,
2483
+ mt as LotteryDrawAction,
2484
+ Xr as LotteryDrawActionValidator,
2470
2485
  kn as LotteryDrawEngagementDataValidator,
2471
- fn as LotteryEngagementDataValidator,
2472
- h as LotteryTicketStatus,
2473
- zr as LotteryTicketStatusValidator,
2486
+ hn as LotteryEngagementDataValidator,
2487
+ f as LotteryTicketStatus,
2488
+ Jr as LotteryTicketStatusValidator,
2474
2489
  _ as NotificationBaseValidator,
2475
- mr as NotificationCategory,
2476
- Wr as NotificationCategoryValidator,
2477
- hr as NotificationCommentReplyValidator,
2478
- wr as NotificationCommentValidator,
2490
+ dr as NotificationCategory,
2491
+ ea as NotificationCategoryValidator,
2492
+ wr as NotificationCommentReplyValidator,
2493
+ kr as NotificationCommentValidator,
2479
2494
  R as NotificationPayloadCommentValidator,
2480
2495
  I as NotificationPayloadPostValidator,
2481
2496
  A as NotificationPayloadReplyValidator,
2482
- _r as NotificationPayloadSystemValidator,
2497
+ br as NotificationPayloadSystemValidator,
2483
2498
  fr as NotificationPostCommentValidator,
2484
- yr as NotificationPostValidator,
2485
- kr as NotificationReplyRepliedValidator,
2486
- vr as NotificationReplyValidator,
2487
- br as NotificationSystemValidator,
2499
+ hr as NotificationPostValidator,
2500
+ vr as NotificationReplyRepliedValidator,
2501
+ Cr as NotificationReplyValidator,
2502
+ yr as NotificationSystemValidator,
2488
2503
  m as NotificationType,
2489
- dr as NotificationTypeValidator,
2504
+ gr as NotificationTypeValidator,
2490
2505
  Vr as NotificationValidator,
2491
- Ee as PlayerRoleCardValidator,
2506
+ $e as PlayerRoleCardValidator,
2492
2507
  z as PlayerRoleValidator,
2493
- ur as PostStatus,
2494
- re as PostStatusValidator,
2508
+ mr as PostStatus,
2509
+ ae as PostStatusValidator,
2495
2510
  D as PostValidator,
2496
2511
  vn as PreregisterEngagementDataValidator,
2497
- pr as PresignedUrlResponseValidator,
2498
- Vn as QuestEngagementDataValidator,
2499
- tt as QuestObjective,
2512
+ _r as PresignedUrlResponseValidator,
2513
+ Cn as QuestEngagementDataValidator,
2514
+ nt as QuestObjective,
2500
2515
  ee as QuestObjectiveValidator,
2501
- mt as QuestProgressAlgorithm,
2502
- dt as QuestProgressAlgorithmValidator,
2503
- Cn as QuestProgressValidator,
2504
- Br as RedeemParamsValidator,
2505
- Ge as RedemptionValidator,
2506
- bt as RegularRewardValidator,
2507
- gr as ReplyToValidator,
2508
- C as ReplyValidator,
2509
- Kr as RewardItemType,
2516
+ dt as QuestProgressAlgorithm,
2517
+ gt as QuestProgressAlgorithmValidator,
2518
+ Vn as QuestProgressValidator,
2519
+ Mr as RedeemParamsValidator,
2520
+ Oe as RedemptionValidator,
2521
+ yt as RegularRewardValidator,
2522
+ pr as ReplyToValidator,
2523
+ V as ReplyValidator,
2524
+ Hr as RewardItemType,
2510
2525
  W as RewardItemTypeValidator,
2511
- it as RewardSource,
2526
+ st as RewardSource,
2512
2527
  $ as RewardSourceValidator,
2513
2528
  d as RewardStatus,
2514
- at as RewardStatusSuffix,
2529
+ ot as RewardStatusSuffix,
2515
2530
  te as RewardStatusSuffixValidator,
2516
- Hr as RewardStatusValidator,
2531
+ zr as RewardStatusValidator,
2517
2532
  Dn as RewardValidator,
2518
- Pe as RoleBaseInfoValidator,
2519
- Le as ServerBaseInfoValidator,
2533
+ Ee as RoleBaseInfoValidator,
2534
+ Pe as ServerBaseInfoValidator,
2520
2535
  Rn as ShareEngagementDataValidator,
2521
2536
  Tn as SurveyEngagementDataValidator,
2522
- lt as TeamAction,
2523
- Jr as TeamActionValidator,
2537
+ ut as TeamAction,
2538
+ Zr as TeamActionValidator,
2524
2539
  xn as TeamEngagementDataValidator,
2525
2540
  qn as TeamEngagementValidator,
2526
- Xr as TeamMemberValidator,
2527
- st as TeamVisibility,
2528
- ct as TeamVisibilityValidator,
2541
+ Yr as TeamMemberValidator,
2542
+ ct as TeamVisibility,
2543
+ lt as TeamVisibilityValidator,
2529
2544
  U as TopicValidator,
2530
2545
  F as UserEngagementDataValidator,
2531
2546
  An as UserEngagementValidator,
2532
2547
  On as UserFeatureStatusValidator,
2533
- V as UserRewardValidator,
2548
+ C as UserRewardValidator,
2534
2549
  Gn as VerifyMobileResultValidator,
2535
2550
  Pn as Vote2ClaimRewardsResponseValidator,
2536
2551
  Ln as Vote2EngagementDataValidator,
2537
- gt as Vote2RewardType,
2538
- pt as Vote2RewardTypeValidator,
2552
+ pt as Vote2RewardType,
2553
+ _t as Vote2RewardTypeValidator,
2539
2554
  Sn as VoteEngagementDataValidator,
2540
- nt as VoteOptionSource,
2541
- rt as VoteOptionSourceValidator,
2542
- ta as WeixinApi,
2555
+ rt as VoteOptionSource,
2556
+ at as VoteOptionSourceValidator,
2557
+ na as WeixinApi,
2543
2558
  jn as WeixinSubscribeEngagementDataValidator,
2544
- Ar as WeixinWebLoginErrorCode,
2545
- Ir as isWeixinSignResponse
2559
+ Gr as WeixinWebLoginErrorCode,
2560
+ Ar as isWeixinSignResponse
2546
2561
  };