@seayoo-web/gamer-api 2.10.12 → 2.11.0

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,8 +1198,8 @@ 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(),
@@ -1219,17 +1219,17 @@ const v = {
1219
1219
  created_at: e.number()
1220
1220
  }), F = e.union(
1221
1221
  vn,
1222
- fn,
1222
+ hn,
1223
1223
  Tn,
1224
1224
  yn,
1225
1225
  Rn,
1226
1226
  Sn,
1227
1227
  Ln,
1228
1228
  jn,
1229
- pn,
1229
+ ne,
1230
1230
  bn,
1231
1231
  xn,
1232
- Vn,
1232
+ Cn,
1233
1233
  kn,
1234
1234
  _n,
1235
1235
  Fn,
@@ -1293,7 +1293,7 @@ const v = {
1293
1293
  }), Qn = e.object({
1294
1294
  reward_id: e.number(),
1295
1295
  reward_status: E
1296
- }), 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({
1297
1297
  engagements: e.union(e.array(Un), e.array(qn))
1298
1298
  }), zn = s({
1299
1299
  status: e.array(On)
@@ -1305,11 +1305,11 @@ const v = {
1305
1305
  }), Xn = e.guard(Nn), Yn = s({
1306
1306
  claimed_items: e.array(Qn)
1307
1307
  }), Wn = s({
1308
- rewards: e.array(V)
1308
+ rewards: e.array(C)
1309
1309
  }), er = s({
1310
1310
  reward_status: E
1311
1311
  }), tr = s({
1312
- user_rewards: e.array(V),
1312
+ user_rewards: e.array(C),
1313
1313
  next_token: e.string().optional()
1314
1314
  }), nr = s({
1315
1315
  scene: e.string()
@@ -1317,12 +1317,12 @@ const v = {
1317
1317
  params: e.string()
1318
1318
  }), ar = s({
1319
1319
  img: e.string()
1320
- }), or = e.guard(Cn), ir = e.guard(Pn), sr = e.guard(
1320
+ }), or = e.guard(Vn), ir = e.guard(Pn), sr = e.guard(
1321
1321
  e.object({
1322
1322
  candidate_votes: e.array(En)
1323
1323
  })
1324
- );
1325
- class Yr {
1324
+ ), cr = e.guard(ne);
1325
+ class Wr {
1326
1326
  token;
1327
1327
  event = 0;
1328
1328
  req;
@@ -1714,13 +1714,29 @@ class Yr {
1714
1714
  });
1715
1715
  return r?.candidate_votes || [];
1716
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
+ code: a
1731
+ };
1732
+ }
1717
1733
  }
1718
- const cr = {
1734
+ const lr = {
1719
1735
  /** 所有人均可以发帖 */
1720
1736
  All: "all",
1721
1737
  /** 指定用户可发帖 */
1722
1738
  Limit: "limit"
1723
- }, lr = e.string().enum(cr).lock(), ur = {
1739
+ }, ur = e.string().enum(lr).lock(), mr = {
1724
1740
  /** 待审核(仅自己可见) */
1725
1741
  Pending: "pending",
1726
1742
  /** 审核通过 */
@@ -1729,14 +1745,14 @@ const cr = {
1729
1745
  Failed: "failed",
1730
1746
  /** 嫌疑(仅自己可见) */
1731
1747
  Suspect: "suspect"
1732
- }, re = e.string().enum(ur).lock(), mr = {
1748
+ }, ae = e.string().enum(mr).lock(), dr = {
1733
1749
  /** 系统通知 */
1734
1750
  System: "system",
1735
1751
  /** 评论我的 */
1736
1752
  Comment: "comment",
1737
1753
  /** 点赞通知 */
1738
1754
  Like: "like"
1739
- }, Wr = e.string().enum(mr).lock(), m = {
1755
+ }, ea = e.string().enum(dr).lock(), m = {
1740
1756
  /** 系统通知 */
1741
1757
  System: "system",
1742
1758
  /** 帖子被置顶 */
@@ -1761,13 +1777,13 @@ const cr = {
1761
1777
  ReplyLiked: "reply_liked",
1762
1778
  /** 回复被删除 */
1763
1779
  ReplyDeleted: "reply_deleted"
1764
- }, dr = e.string().enum(m).lock(), ae = e.object({
1780
+ }, gr = e.string().enum(m).lock(), oe = e.object({
1765
1781
  forum_id: e.number(),
1766
1782
  icon_url: e.string(),
1767
1783
  name: e.string(),
1768
1784
  tags: e.array(e.string()),
1769
1785
  sort: e.number(),
1770
- mode: lr,
1786
+ mode: ur,
1771
1787
  member_ids: e.array(e.number())
1772
1788
  }).lock(), U = e.object({
1773
1789
  topic_id: e.number(),
@@ -1778,7 +1794,7 @@ const cr = {
1778
1794
  post_num: e.number()
1779
1795
  }).lock(), D = e.object({
1780
1796
  post_id: e.number(),
1781
- forum: ae,
1797
+ forum: oe,
1782
1798
  posted_by: e.string(),
1783
1799
  nickname: e.string(),
1784
1800
  avatar_url: e.string(),
@@ -1794,17 +1810,17 @@ const cr = {
1794
1810
  event_ids: e.array(e.number()),
1795
1811
  is_pinned: e.bool(),
1796
1812
  is_highlighted: e.bool(),
1797
- status: re,
1813
+ status: ae,
1798
1814
  create_time: e.number()
1799
- }).lock(), oe = e.object({
1815
+ }).lock(), ie = e.object({
1800
1816
  err_msg: e.string().optional()
1801
- }).optional().lock(), gr = e.object({
1817
+ }).optional().lock(), pr = e.object({
1802
1818
  reply_id: e.number(),
1803
1819
  reply_content: e.string().optional(),
1804
1820
  replied_by: e.string(),
1805
1821
  nickname: e.string(),
1806
1822
  avatar_url: e.string()
1807
- }).lock(), C = e.object({
1823
+ }).lock(), V = e.object({
1808
1824
  reply_id: e.number(),
1809
1825
  comment_id: e.number(),
1810
1826
  comment_content: e.string().optional(),
@@ -1817,7 +1833,7 @@ const cr = {
1817
1833
  content: e.string(),
1818
1834
  like_num: e.number(),
1819
1835
  liked: e.bool(),
1820
- reply_to: gr,
1836
+ reply_to: pr,
1821
1837
  create_time: e.number()
1822
1838
  }).lock(), w = e.object({
1823
1839
  comment_id: e.number(),
@@ -1837,21 +1853,21 @@ const cr = {
1837
1853
  liked: e.bool(),
1838
1854
  image_url: e.string(),
1839
1855
  create_time: e.number(),
1840
- status: re,
1841
- replies: e.array(C).optional()
1842
- }).lock(), pr = e.object({
1856
+ status: ae,
1857
+ replies: e.array(V).optional()
1858
+ }).lock(), _r = e.object({
1843
1859
  image_url: e.string(),
1844
1860
  upload_url: e.string(),
1845
1861
  existed: e.bool()
1846
1862
  }).lock(), _ = e.object({
1847
1863
  notification_id: e.string(),
1848
- notification_type: dr,
1864
+ notification_type: gr,
1849
1865
  is_read: e.bool(),
1850
1866
  create_time: e.number(),
1851
1867
  origin_user_id: e.string(),
1852
1868
  origin_user_name: e.string(),
1853
1869
  origin_user_avatar_url: e.string()
1854
- }).lock(), _r = e.object({
1870
+ }).lock(), br = e.object({
1855
1871
  system_message_subject: e.string(),
1856
1872
  system_message_content: e.string()
1857
1873
  }).lock(), I = e.object({
@@ -1865,11 +1881,11 @@ const cr = {
1865
1881
  }).lock(), A = e.object({
1866
1882
  reply_id: e.number(),
1867
1883
  reply_content: e.string()
1868
- }).lock(), br = e.object({
1884
+ }).lock(), yr = e.object({
1869
1885
  ..._.shape,
1870
- ..._r.shape,
1886
+ ...br.shape,
1871
1887
  notification_type: e.string().enum(m.System)
1872
- }), yr = e.object({
1888
+ }), hr = e.object({
1873
1889
  ..._.shape,
1874
1890
  ...I.shape,
1875
1891
  notification_type: e.string().enum(
@@ -1883,63 +1899,63 @@ const cr = {
1883
1899
  ...I.shape,
1884
1900
  ...R.shape,
1885
1901
  notification_type: e.string().enum(m.PostCommented)
1886
- }), hr = e.object({
1902
+ }), wr = e.object({
1887
1903
  ..._.shape,
1888
1904
  ...R.shape,
1889
1905
  ...A.shape,
1890
1906
  notification_type: e.string().enum(m.CommentReplied)
1891
- }), wr = e.object({
1907
+ }), kr = e.object({
1892
1908
  ..._.shape,
1893
1909
  ...R.shape,
1894
1910
  ...I.shape,
1895
1911
  notification_type: e.string().enum(m.CommentLiked, m.CommentDeleted)
1896
- }), kr = e.object({
1912
+ }), vr = e.object({
1897
1913
  ..._.shape,
1898
1914
  ...A.shape,
1899
1915
  notification_type: e.string().enum(m.ReplyReplied),
1900
1916
  comment_id: e.number(),
1901
1917
  reply_to_reply_id: e.number(),
1902
1918
  reply_to_reply_content: e.string()
1903
- }), vr = e.object({
1919
+ }), Cr = e.object({
1904
1920
  ..._.shape,
1905
1921
  ...A.shape,
1906
1922
  ...R.shape,
1907
1923
  notification_type: e.string().enum(m.ReplyLiked, m.ReplyDeleted)
1908
1924
  }), Vr = e.union(
1909
- br,
1910
1925
  yr,
1911
- fr,
1912
1926
  hr,
1927
+ fr,
1913
1928
  wr,
1914
1929
  kr,
1915
- vr
1916
- ).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({
1917
1933
  posts: e.array(D),
1918
1934
  next_token: e.string().optional()
1919
- }), qr = s({
1920
- post: D.clone().optional(),
1921
- antispam: oe.clone().optional()
1922
1935
  }), xr = s({
1923
- replies: e.array(C),
1936
+ post: D.clone().optional(),
1937
+ antispam: ie.clone().optional()
1938
+ }), Sr = s({
1939
+ replies: e.array(V),
1924
1940
  next_token: e.string().optional()
1925
- }), Sr = s({ reply: C }), Lr = s({
1926
- reply: C.clone().optional(),
1927
- antispam: oe.clone().optional()
1928
- }), 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({
1929
1945
  comments: e.array(w),
1930
1946
  next_token: e.string().optional()
1931
- }), $r = s({
1947
+ }), Fr = s({
1932
1948
  comment: w.clone().optional(),
1933
1949
  antispam: w.clone().optional()
1934
- }), Fr = e.guard(pr), Ur = s({
1950
+ }), Ur = e.guard(_r), Dr = s({
1935
1951
  notifications: e.array(Vr),
1936
1952
  next_token: e.string().optional()
1937
- }), Dr = s({
1953
+ }), Ir = s({
1938
1954
  system: e.number(),
1939
1955
  comment: e.number(),
1940
1956
  like: e.number()
1941
1957
  });
1942
- class ea {
1958
+ class ta {
1943
1959
  token;
1944
1960
  req;
1945
1961
  constructor(t) {
@@ -1951,7 +1967,7 @@ class ea {
1951
1967
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=QaqUa2K0z0
1952
1968
  */
1953
1969
  async getForums(t) {
1954
- const { data: n } = await this.req.get("community/forums", Cr, t);
1970
+ const { data: n } = await this.req.get("community/forums", Rr, t);
1955
1971
  return n?.forums || [];
1956
1972
  }
1957
1973
  /**
@@ -1960,7 +1976,7 @@ class ea {
1960
1976
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=mIwpymAQom
1961
1977
  */
1962
1978
  async getTopics(t) {
1963
- const { data: n } = await this.req.get("community/topics", Rr, t);
1979
+ const { data: n } = await this.req.get("community/topics", jr, t);
1964
1980
  return n?.topics || [];
1965
1981
  }
1966
1982
  /**
@@ -1969,7 +1985,7 @@ class ea {
1969
1985
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=Jvw7xMK31K
1970
1986
  */
1971
1987
  async getTopic(t, n) {
1972
- 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, {
1973
1989
  ...n,
1974
1990
  params: { topic_id: t }
1975
1991
  });
@@ -2011,7 +2027,7 @@ class ea {
2011
2027
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=hj1AZy5rcP
2012
2028
  */
2013
2029
  async getPost(t, n) {
2014
- 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, {
2015
2031
  ...n,
2016
2032
  params: { post_id: t }
2017
2033
  });
@@ -2029,7 +2045,7 @@ class ea {
2029
2045
  const { data: r, code: a, message: o } = await this.req.post(
2030
2046
  "community/post",
2031
2047
  c(t),
2032
- qr,
2048
+ xr,
2033
2049
  n
2034
2050
  );
2035
2051
  return r ?? {
@@ -2043,7 +2059,7 @@ class ea {
2043
2059
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=djKbX7lFdp
2044
2060
  */
2045
2061
  async getComments(t, n) {
2046
- 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, {
2047
2063
  ...n,
2048
2064
  params: c(t)
2049
2065
  });
@@ -2058,7 +2074,7 @@ class ea {
2058
2074
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=RIc7oxVGae
2059
2075
  */
2060
2076
  async getComment(t, n) {
2061
- 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, {
2062
2078
  ...n,
2063
2079
  params: { comment_id: t }
2064
2080
  });
@@ -2077,7 +2093,7 @@ class ea {
2077
2093
  const { data: r, code: a, message: o } = await this.req.post(
2078
2094
  "community/comment",
2079
2095
  c(t),
2080
- $r,
2096
+ Fr,
2081
2097
  n
2082
2098
  );
2083
2099
  return r ?? {
@@ -2091,7 +2107,7 @@ class ea {
2091
2107
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=sVKBbY83MY
2092
2108
  */
2093
2109
  async getReplies(t, n) {
2094
- const { data: r } = await this.req.get("community/replies", xr, {
2110
+ const { data: r } = await this.req.get("community/replies", Sr, {
2095
2111
  ...n,
2096
2112
  params: c({ max_results: 20, ...t })
2097
2113
  });
@@ -2106,7 +2122,7 @@ class ea {
2106
2122
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=kxhcSXD3MG
2107
2123
  */
2108
2124
  async getReply(t, n) {
2109
- 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, {
2110
2126
  ...n,
2111
2127
  params: { reply_id: t }
2112
2128
  });
@@ -2125,7 +2141,7 @@ class ea {
2125
2141
  const { data: r, code: a, message: o } = await this.req.post(
2126
2142
  "community/reply",
2127
2143
  c(t),
2128
- Lr,
2144
+ Pr,
2129
2145
  n
2130
2146
  );
2131
2147
  return r ?? {
@@ -2176,7 +2192,7 @@ class ea {
2176
2192
  */
2177
2193
  async getMediaPresignedUrl(t, n) {
2178
2194
  await this.token.autoLogin();
2179
- 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, {
2180
2196
  ...n,
2181
2197
  params: t
2182
2198
  });
@@ -2191,7 +2207,7 @@ class ea {
2191
2207
  */
2192
2208
  async getNotifications(t, n) {
2193
2209
  await this.token.autoLogin();
2194
- const { data: r } = await this.req.get("community/notifications", Ur, {
2210
+ const { data: r } = await this.req.get("community/notifications", Dr, {
2195
2211
  ...n,
2196
2212
  params: c({ max_results: 20, ...t })
2197
2213
  });
@@ -2209,7 +2225,7 @@ class ea {
2209
2225
  if (!await this.token.autoLogin()) return null;
2210
2226
  const { data: n } = await this.req.get(
2211
2227
  "community/unread-notifications-count",
2212
- Dr,
2228
+ Ir,
2213
2229
  t
2214
2230
  );
2215
2231
  return n;
@@ -2225,17 +2241,17 @@ class ea {
2225
2241
  return r;
2226
2242
  }
2227
2243
  }
2228
- const Ir = s({
2244
+ const Ar = s({
2229
2245
  nonce_str: e.string(),
2230
2246
  timestamp: e.number(),
2231
2247
  signature: e.string()
2232
2248
  });
2233
- 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 || {});
2234
2250
  function S(i) {
2235
2251
  return k(i, "open_id", "union_id", "weixin_token");
2236
2252
  }
2237
2253
  const K = "wx_login_cache";
2238
- class ta {
2254
+ class na {
2239
2255
  token;
2240
2256
  $appid;
2241
2257
  req;
@@ -2269,7 +2285,7 @@ class ta {
2269
2285
  const t = this.token.storage.get(K);
2270
2286
  if (!t)
2271
2287
  return null;
2272
- const n = pe(t);
2288
+ const n = _e(t);
2273
2289
  return S(n) ? (this.token.weixinToken = n.weixin_token, await this.token.autoLogin(), n) : null;
2274
2290
  }
2275
2291
  /**
@@ -2295,7 +2311,7 @@ class ta {
2295
2311
  const n = await this.getLoginCache();
2296
2312
  if (n)
2297
2313
  return n;
2298
- 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(
2299
2315
  "weixin/login",
2300
2316
  { code: r, appid: this.appid },
2301
2317
  S,
@@ -2325,9 +2341,9 @@ class ta {
2325
2341
  async webLogin(t = "snsapi_userinfo", n) {
2326
2342
  const r = L("code"), a = Date.now(), o = +L("state");
2327
2343
  if (!r || !o || o < a - 1e3 * 60 * 5 || o > a) {
2328
- const ce = G(["code", "state"]);
2344
+ const le = G(["code", "state"]);
2329
2345
  location.replace(
2330
- `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`
2331
2347
  );
2332
2348
  return;
2333
2349
  }
@@ -2340,12 +2356,12 @@ class ta {
2340
2356
  "replaceState" in history && history.replaceState({}, "", g);
2341
2357
  const {
2342
2358
  data: p,
2343
- code: ie,
2344
- message: se
2359
+ code: se,
2360
+ message: ce
2345
2361
  } = await this.req.post("weixin/login", { code: r, appid: this.appid }, S, n);
2346
2362
  return p && (this.token.weixinToken = p.weixin_token, await this.token.autoLogin()), p ?? {
2347
- message: se,
2348
- error: ie
2363
+ message: ce,
2364
+ error: se
2349
2365
  };
2350
2366
  }
2351
2367
  /**
@@ -2375,7 +2391,7 @@ class ta {
2375
2391
  * https://kdocs.cn/l/cf2mO2uRLqh9?linkname=CuWOqxr9Ue
2376
2392
  */
2377
2393
  async getJSSDKConfig(t) {
2378
- 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, {
2379
2395
  ...t,
2380
2396
  params: {
2381
2397
  appid: this.appid,
@@ -2391,155 +2407,155 @@ class ta {
2391
2407
  }
2392
2408
  }
2393
2409
  export {
2394
- oe as AntispamValidator,
2395
- Qr as AuthToken,
2410
+ ie as AntispamValidator,
2411
+ Br as AuthToken,
2396
2412
  En as CandidateVoteValidator,
2397
- pn as CashbackEngagementDataValidator,
2413
+ ne as CashbackEngagementDataValidator,
2398
2414
  _n as ClaimActivationKeyEngagementDataValidator,
2399
- ot as ClaimRewardStatus,
2415
+ it as ClaimRewardStatus,
2400
2416
  E as ClaimRewardStatusValidator,
2401
2417
  Qn as ClaimedItemValidator,
2402
2418
  J as ClubAddressValidator,
2403
- Mr as ClubApi,
2419
+ Kr as ClubApi,
2404
2420
  Z as ClubBenefitSummaryValidator,
2405
- De as ClubBenefitValidator,
2406
- Ce as ClubCreditChangeScene,
2407
- Re as ClubCreditChangeSceneValidator,
2408
- ve as ClubCreditChangeType,
2421
+ Ie as ClubBenefitValidator,
2422
+ Re as ClubCreditChangeScene,
2423
+ je as ClubCreditChangeSceneValidator,
2424
+ Ce as ClubCreditChangeType,
2409
2425
  Ve as ClubCreditChangeTypeValidator,
2410
- Ue as ClubCreditLogValidator,
2411
- xe as ClubGlobalConfigValidator,
2412
- je as ClubItemType,
2426
+ De as ClubCreditLogValidator,
2427
+ Se as ClubGlobalConfigValidator,
2428
+ Te as ClubItemType,
2413
2429
  H as ClubItemTypeValidator,
2414
- Se as ClubPlayerValidator,
2430
+ Le as ClubPlayerValidator,
2415
2431
  X as ClubProductValidator,
2416
- Te as ClubRedemptionStatus,
2417
- qe as ClubRedemptionStatusValidator,
2418
- Fe as ClubUserCreditValidator,
2419
- $e as ClubUserProfileValidator,
2432
+ qe as ClubRedemptionStatus,
2433
+ xe as ClubRedemptionStatusValidator,
2434
+ Ue as ClubUserCreditValidator,
2435
+ Fe as ClubUserProfileValidator,
2420
2436
  Un as CommentEngagementValidator,
2421
2437
  w as CommentValidator,
2422
- ea as CommunityApi,
2423
- Ze as EngageAccountType,
2424
- Xe as EngageAccountTypeValidator,
2438
+ ta as CommunityApi,
2439
+ Xe as EngageAccountType,
2440
+ Ye as EngageAccountTypeValidator,
2425
2441
  Nn as EngageResponseValidator,
2426
2442
  In as EngageRewardValidator,
2427
- Yr as EventApi,
2428
- gn as EventConfigValidator,
2429
- ht as EventFeatureConfigOfCashbackValidator,
2430
- kt as EventFeatureConfigOfCheckInValidator,
2443
+ Wr as EventApi,
2444
+ pn as EventConfigValidator,
2445
+ wt as EventFeatureConfigOfCashbackValidator,
2446
+ vt as EventFeatureConfigOfCheckInValidator,
2431
2447
  Vt as EventFeatureConfigOfClaimActivationKeyValidator,
2432
- Rt as EventFeatureConfigOfClaimRewardsValidator,
2433
- Tt as EventFeatureConfigOfCommentValidator,
2434
- xt as EventFeatureConfigOfFollowValidator,
2435
- Pt as EventFeatureConfigOfGiftCodeValidator,
2436
- $t as EventFeatureConfigOfInviteValidator,
2437
- Ut as EventFeatureConfigOfInvitedRegisterValidator,
2438
- Nt as EventFeatureConfigOfLotteryDrawValidator,
2439
- Gt as EventFeatureConfigOfLotteryValidator,
2440
- Bt as EventFeatureConfigOfPreregisterValidator,
2441
- Kt as EventFeatureConfigOfQuestValidator,
2442
- zt as EventFeatureConfigOfRegisterValidator,
2443
- Zt as EventFeatureConfigOfShareValidator,
2444
- Yt as EventFeatureConfigOfSubscribeValidator,
2445
- en as EventFeatureConfigOfSurveyValidator,
2446
- nn as EventFeatureConfigOfTeamValidator,
2447
- ln as EventFeatureConfigOfVote2Validator,
2448
- on as EventFeatureConfigOfVoteValidator,
2449
- dn as EventFeatureConfigValidator,
2450
- Ye as EventPeriodType,
2451
- 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,
2452
2468
  y as EventRewardItemConfigValidator,
2453
- Ae as ExtraGameRewardValidator,
2454
- Ie as ExtraPhysicalShipmentValidator,
2455
- yt as FeatureRewardValidator,
2469
+ Ge as ExtraGameRewardValidator,
2470
+ Ae as ExtraPhysicalShipmentValidator,
2471
+ ht as FeatureRewardValidator,
2456
2472
  l as FeatureType,
2457
- et as FeatureTypeValidator,
2458
- cr as ForumMode,
2459
- lr as ForumModeValidator,
2460
- ae as ForumValidator,
2473
+ tt as FeatureTypeValidator,
2474
+ lr as ForumMode,
2475
+ ur as ForumModeValidator,
2476
+ oe as ForumValidator,
2461
2477
  v as GamerItemType,
2462
2478
  Y as GamerItemTypeValidator,
2463
- we as Gender,
2464
- ke as GenderValidator,
2479
+ ke as Gender,
2480
+ ve as GenderValidator,
2465
2481
  bn as GiftCodeEngagementDataValidator,
2466
2482
  yn as InviteEngagementDataValidator,
2467
- ut as LotteryDrawAction,
2468
- Zr as LotteryDrawActionValidator,
2483
+ mt as LotteryDrawAction,
2484
+ Xr as LotteryDrawActionValidator,
2469
2485
  kn as LotteryDrawEngagementDataValidator,
2470
- fn as LotteryEngagementDataValidator,
2471
- h as LotteryTicketStatus,
2472
- zr as LotteryTicketStatusValidator,
2486
+ hn as LotteryEngagementDataValidator,
2487
+ f as LotteryTicketStatus,
2488
+ Jr as LotteryTicketStatusValidator,
2473
2489
  _ as NotificationBaseValidator,
2474
- mr as NotificationCategory,
2475
- Wr as NotificationCategoryValidator,
2476
- hr as NotificationCommentReplyValidator,
2477
- wr as NotificationCommentValidator,
2490
+ dr as NotificationCategory,
2491
+ ea as NotificationCategoryValidator,
2492
+ wr as NotificationCommentReplyValidator,
2493
+ kr as NotificationCommentValidator,
2478
2494
  R as NotificationPayloadCommentValidator,
2479
2495
  I as NotificationPayloadPostValidator,
2480
2496
  A as NotificationPayloadReplyValidator,
2481
- _r as NotificationPayloadSystemValidator,
2497
+ br as NotificationPayloadSystemValidator,
2482
2498
  fr as NotificationPostCommentValidator,
2483
- yr as NotificationPostValidator,
2484
- kr as NotificationReplyRepliedValidator,
2485
- vr as NotificationReplyValidator,
2486
- br as NotificationSystemValidator,
2499
+ hr as NotificationPostValidator,
2500
+ vr as NotificationReplyRepliedValidator,
2501
+ Cr as NotificationReplyValidator,
2502
+ yr as NotificationSystemValidator,
2487
2503
  m as NotificationType,
2488
- dr as NotificationTypeValidator,
2504
+ gr as NotificationTypeValidator,
2489
2505
  Vr as NotificationValidator,
2490
- Ee as PlayerRoleCardValidator,
2506
+ $e as PlayerRoleCardValidator,
2491
2507
  z as PlayerRoleValidator,
2492
- ur as PostStatus,
2493
- re as PostStatusValidator,
2508
+ mr as PostStatus,
2509
+ ae as PostStatusValidator,
2494
2510
  D as PostValidator,
2495
2511
  vn as PreregisterEngagementDataValidator,
2496
- pr as PresignedUrlResponseValidator,
2497
- Vn as QuestEngagementDataValidator,
2498
- tt as QuestObjective,
2512
+ _r as PresignedUrlResponseValidator,
2513
+ Cn as QuestEngagementDataValidator,
2514
+ nt as QuestObjective,
2499
2515
  ee as QuestObjectiveValidator,
2500
- mt as QuestProgressAlgorithm,
2501
- dt as QuestProgressAlgorithmValidator,
2502
- Cn as QuestProgressValidator,
2503
- Br as RedeemParamsValidator,
2504
- Ge as RedemptionValidator,
2505
- bt as RegularRewardValidator,
2506
- gr as ReplyToValidator,
2507
- C as ReplyValidator,
2508
- 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,
2509
2525
  W as RewardItemTypeValidator,
2510
- it as RewardSource,
2526
+ st as RewardSource,
2511
2527
  $ as RewardSourceValidator,
2512
2528
  d as RewardStatus,
2513
- at as RewardStatusSuffix,
2529
+ ot as RewardStatusSuffix,
2514
2530
  te as RewardStatusSuffixValidator,
2515
- Hr as RewardStatusValidator,
2531
+ zr as RewardStatusValidator,
2516
2532
  Dn as RewardValidator,
2517
- Pe as RoleBaseInfoValidator,
2518
- Le as ServerBaseInfoValidator,
2533
+ Ee as RoleBaseInfoValidator,
2534
+ Pe as ServerBaseInfoValidator,
2519
2535
  Rn as ShareEngagementDataValidator,
2520
2536
  Tn as SurveyEngagementDataValidator,
2521
- lt as TeamAction,
2522
- Jr as TeamActionValidator,
2537
+ ut as TeamAction,
2538
+ Zr as TeamActionValidator,
2523
2539
  xn as TeamEngagementDataValidator,
2524
2540
  qn as TeamEngagementValidator,
2525
- Xr as TeamMemberValidator,
2526
- st as TeamVisibility,
2527
- ct as TeamVisibilityValidator,
2541
+ Yr as TeamMemberValidator,
2542
+ ct as TeamVisibility,
2543
+ lt as TeamVisibilityValidator,
2528
2544
  U as TopicValidator,
2529
2545
  F as UserEngagementDataValidator,
2530
2546
  An as UserEngagementValidator,
2531
2547
  On as UserFeatureStatusValidator,
2532
- V as UserRewardValidator,
2548
+ C as UserRewardValidator,
2533
2549
  Gn as VerifyMobileResultValidator,
2534
2550
  Pn as Vote2ClaimRewardsResponseValidator,
2535
2551
  Ln as Vote2EngagementDataValidator,
2536
- gt as Vote2RewardType,
2537
- pt as Vote2RewardTypeValidator,
2552
+ pt as Vote2RewardType,
2553
+ _t as Vote2RewardTypeValidator,
2538
2554
  Sn as VoteEngagementDataValidator,
2539
- nt as VoteOptionSource,
2540
- rt as VoteOptionSourceValidator,
2541
- ta as WeixinApi,
2555
+ rt as VoteOptionSource,
2556
+ at as VoteOptionSourceValidator,
2557
+ na as WeixinApi,
2542
2558
  jn as WeixinSubscribeEngagementDataValidator,
2543
- Ar as WeixinWebLoginErrorCode,
2544
- Ir as isWeixinSignResponse
2559
+ Gr as WeixinWebLoginErrorCode,
2560
+ Ar as isWeixinSignResponse
2545
2561
  };