@seayoo-web/gamer-api 3.0.2 → 3.0.4

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,21 +1,22 @@
1
1
  import { isComboWebView as me } from "@seayoo-web/combo-webview";
2
- import { isPlainObject as y, usePromise as de, useConsole as ge, weixinStorageHelper as _e, localStorageHelper as pe, supportWx as h, pruneURL as be, supportWindow as ye, queryString as x, pruneObject as c, omitFields as L, parseJSON as fe, removePara as O } from "@seayoo-web/utils";
2
+ import { RequestInternalError as de } from "@seayoo-web/request";
3
+ import { isPlainObject as y, usePromise as ge, useConsole as _e, weixinStorageHelper as pe, localStorageHelper as be, supportWx as h, pruneURL as ye, supportWindow as fe, queryString as x, pruneObject as c, omitFields as L, parseJSON as he, removePara as O } from "@seayoo-web/utils";
3
4
  import { v as e, objectGuard as s } from "@seayoo-web/validator";
4
- function he(a) {
5
+ function we(a) {
5
6
  return y(a, "gamer_token") && typeof a.gamer_token == "string";
6
7
  }
7
- function we(a) {
8
+ function ke(a) {
8
9
  return y(a, "gamer_token", "game_id") && typeof a.gamer_token == "string" && typeof a.game_id == "string";
9
10
  }
10
11
  function G(a) {
11
12
  return y(a);
12
13
  }
13
- ge("GamerApiSDK");
14
- function ke(a) {
14
+ _e("GamerApiSDK");
15
+ function ve(a) {
15
16
  return /^\/[a-z\d-]+$/.test(a);
16
17
  }
17
- async function ve() {
18
- const { promise: a, resolve: t } = de();
18
+ async function Re() {
19
+ const { promise: a, resolve: t } = ge();
19
20
  return wx.login({
20
21
  success(n) {
21
22
  t(n.code);
@@ -26,7 +27,7 @@ async function ve() {
26
27
  }), await a;
27
28
  }
28
29
  const f = "gamer_token";
29
- class ba {
30
+ class fa {
30
31
  _NetRequest;
31
32
  _idToken = "";
32
33
  _weixinToken = "";
@@ -34,16 +35,14 @@ class ba {
34
35
  req;
35
36
  storage;
36
37
  constructor(t, n) {
37
- this.storage = h() ? _e : pe;
38
- const r = ke(t) ? t : `https://${be(t)}`;
38
+ this.storage = h() ? pe : be;
39
+ const r = ve(t) ? t : `https://${ye(t)}`;
39
40
  if (this._NetRequest = n, this.req = n({
40
41
  baseURL: `${r}/v1`,
41
42
  timeout: 1e4,
42
43
  maxRetry: 2,
43
44
  retryInterval: "2EB",
44
- retryResolve({ method: o, status: i }) {
45
- return o === "GET" && i < 0;
46
- },
45
+ retryResolve: ({ status: o, statusText: i }) => o === 522 || o < 0 && i !== de.Timeout,
47
46
  responseRule: {
48
47
  ok: { resolve: "body" },
49
48
  failed: {
@@ -56,7 +55,7 @@ class ba {
56
55
  requestTransformer: (o) => {
57
56
  this._gamerToken && (o.headers.Authorization = `Bearer ${this._gamerToken}`);
58
57
  }
59
- }), ye()) {
58
+ }), fe()) {
60
59
  const o = /^(?:localhost|[\d.]+):\d{4}$/.test(location.host), i = x("gamer_token");
61
60
  (me() || o && i) && (this._gamerToken = i);
62
61
  }
@@ -141,7 +140,7 @@ class ba {
141
140
  const { code: n, data: r } = await this.req.post(
142
141
  "login-with-token",
143
142
  c({ id_token: this.idToken, weixin_token: t ? this.weixinToken : null }),
144
- he,
143
+ we,
145
144
  {
146
145
  message: !1,
147
146
  cacheTTL: 300,
@@ -170,7 +169,7 @@ class ba {
170
169
  const { code: r, data: o } = await this.req.post(
171
170
  "session/switch-game",
172
171
  c({ game_id: t }),
173
- we,
172
+ ke,
174
173
  {
175
174
  message: !1,
176
175
  maxRetry: 2
@@ -203,21 +202,21 @@ class ba {
203
202
  return n;
204
203
  }
205
204
  }
206
- const Re = {
205
+ const Ce = {
207
206
  /** 未知 */
208
207
  Unknown: "unknown",
209
208
  /** 男 */
210
209
  Male: "male",
211
210
  /** 女 */
212
211
  Female: "female"
213
- }, Ce = e.string().enum(Re).lock(), Ve = {
212
+ }, Ve = e.string().enum(Ce).lock(), je = {
214
213
  /** 积分增加 */
215
214
  Increase: "increase",
216
215
  /** 积分减少 */
217
216
  Decrease: "decrease",
218
217
  /** 积分过期 */
219
218
  Expired: "expired"
220
- }, je = e.string().enum(Ve).lock(), Te = {
219
+ }, Te = e.string().enum(je).lock(), qe = {
221
220
  /** 游戏内购买 */
222
221
  Order: "order",
223
222
  /** 游戏内消耗 */
@@ -230,21 +229,21 @@ const Re = {
230
229
  Admin: "admin",
231
230
  /** 运营活动 */
232
231
  Event: "event"
233
- }, qe = e.string().enum(Te).lock(), xe = {
232
+ }, xe = e.string().enum(qe).lock(), Le = {
234
233
  /** 游戏内奖励 */
235
234
  GameReward: "game_reward",
236
235
  /** 实物商品 */
237
236
  Physical: "physical",
238
237
  /** 虚拟商品 */
239
238
  Virtual: "virtual"
240
- }, H = e.string().enum(xe).lock(), Le = {
239
+ }, H = e.string().enum(Le).lock(), Ue = {
241
240
  /** 待发放 */
242
241
  Pending: "pending",
243
242
  /** 已发放 */
244
243
  Issued: "issued",
245
244
  /** 发放失败 */
246
245
  Failed: "failed"
247
- }, Ue = e.string().enum(Le).lock(), Se = e.object({
246
+ }, Se = e.string().enum(Ue).lock(), Pe = e.object({
248
247
  default_avatar_url: e.string(),
249
248
  official_avatar_urls: e.array(e.string()),
250
249
  default_nickname: e.string(),
@@ -262,7 +261,7 @@ const Re = {
262
261
  exp_description: e.string(),
263
262
  credit_description: e.string(),
264
263
  send_role_mail_rate_limit: e.number()
265
- }).lock(), Pe = e.object({
264
+ }).lock(), Ee = e.object({
266
265
  member_id: e.string(),
267
266
  player_id: e.string(),
268
267
  exp: e.number(),
@@ -271,18 +270,18 @@ const Re = {
271
270
  credit_expiring: e.number(),
272
271
  level_change_time: e.number(),
273
272
  level_expire_time: e.number()
274
- }).lock(), Ee = e.object({
273
+ }).lock(), Fe = e.object({
275
274
  server_id: e.string(),
276
275
  server_name: e.string()
277
- }).lock(), Fe = e.object({
276
+ }).lock(), Ie = e.object({
278
277
  role_id: e.string(),
279
278
  role_name: e.string()
280
279
  }).lock(), z = e.object({
280
+ ...Ie.shape,
281
281
  ...Fe.shape,
282
- ...Ee.shape,
283
282
  role_level: e.number(),
284
283
  last_login_time: e.number()
285
- }).lock(), Ie = e.object({
284
+ }).lock(), De = e.object({
286
285
  ...z.shape,
287
286
  /** 角色战力 */
288
287
  role_fighting: e.number(),
@@ -292,11 +291,11 @@ const Re = {
292
291
  kin_name: e.string().optional(),
293
292
  /** 宗门职位 */
294
293
  kin_position: e.string().optional()
295
- }).lock(), De = e.object({
294
+ }).lock(), $e = e.object({
296
295
  name: e.string(),
297
296
  avatar_url: e.string(),
298
297
  bio: e.string(),
299
- gender: Ce,
298
+ gender: Ve,
300
299
  birthday: e.object({ year: e.number(), month: e.number(), day: e.number() }),
301
300
  social_medias: e.record(
302
301
  e.object({
@@ -313,15 +312,15 @@ const Re = {
313
312
  district: e.string(),
314
313
  address: e.string(),
315
314
  is_default: e.bool()
316
- }).lock(), $e = e.object({
315
+ }).lock(), Ae = e.object({
317
316
  increased_credit: e.number(),
318
317
  decreased_credit: e.number(),
319
318
  expired_credit: e.number(),
320
319
  balance_credit: e.number()
321
- }).lock(), Ae = e.object({
320
+ }).lock(), Oe = e.object({
322
321
  id: e.number(),
323
- change_type: je,
324
- change_scene: qe,
322
+ change_type: Te,
323
+ change_scene: xe,
325
324
  change_credit: e.number(),
326
325
  balance: e.number(),
327
326
  change_time: e.number(),
@@ -361,10 +360,10 @@ const Re = {
361
360
  created_at: e.number(),
362
361
  updated_at: e.number(),
363
362
  redeemable_quantity: e.number().optional()
364
- }).lock(), Oe = e.object({
363
+ }).lock(), Ge = e.object({
365
364
  ...L(Z.shape, "tag"),
366
365
  product: X.clone().optional()
367
- }).lock(), ya = e.union(
366
+ }).lock(), ha = e.union(
368
367
  e.object({
369
368
  server_id: e.string(),
370
369
  role_id: e.string()
@@ -372,7 +371,7 @@ const Re = {
372
371
  e.object({
373
372
  address_id: e.number()
374
373
  })
375
- ).satisfies().lock(), Ge = e.object({
374
+ ).satisfies().lock(), Ne = e.object({
376
375
  recipient: e.string(),
377
376
  mobile: e.string(),
378
377
  province: e.string(),
@@ -381,11 +380,11 @@ const Re = {
381
380
  address: e.string(),
382
381
  express_company: e.string(),
383
382
  express_number: e.string()
384
- }).lock(), Ne = e.object({
383
+ }).lock(), Qe = e.object({
385
384
  server_id: e.string(),
386
385
  role_id: e.string(),
387
386
  role_name: e.string()
388
- }).lock(), Qe = e.object({
387
+ }).lock(), Be = e.object({
389
388
  redemption_id: e.number(),
390
389
  player_id: e.string(),
391
390
  product_id: e.number(),
@@ -396,21 +395,21 @@ const Re = {
396
395
  catalog_name: e.string(),
397
396
  quantity: e.number(),
398
397
  amount: e.number(),
399
- status: Ue,
398
+ status: Se,
400
399
  created_at: e.number(),
401
- extra_data: e.union(Ge.clone(), Ne.clone()).satisfies().optional()
402
- }), Be = e.guard(Se), N = s({ player: Pe }), Me = s({ roles: e.array(z) }), j = s({ role_card: Ie }), Q = e.guard(De), B = e.guard(J), Ke = s({ addresses: e.array(J) }), He = e.guard($e), ze = s({
403
- credit_logs: e.array(Ae),
400
+ extra_data: e.union(Ne.clone(), Qe.clone()).satisfies().optional()
401
+ }), Me = e.guard(Pe), N = s({ player: Ee }), Ke = s({ roles: e.array(z) }), j = s({ role_card: De }), Q = e.guard($e), B = e.guard(J), He = s({ addresses: e.array(J) }), ze = e.guard(Ae), Je = s({
402
+ credit_logs: e.array(Oe),
404
403
  next_token: e.string().optional()
405
- }), Je = s({ products: e.array(X) }), Ze = s({ benefits: e.array(Z) }), Xe = s({ benefit: Oe }), Ye = s({
406
- redemptions: e.array(Qe),
404
+ }), Ze = s({ products: e.array(X) }), Xe = s({ benefits: e.array(Z) }), Ye = s({ benefit: Ge }), We = s({
405
+ redemptions: e.array(Be),
407
406
  next_token: e.string().optional()
408
- }), We = s({
407
+ }), et = s({
409
408
  existed: e.bool(),
410
409
  image_upload_url: e.string().optional(),
411
410
  image_id: e.string()
412
411
  });
413
- class fa {
412
+ class wa {
414
413
  token;
415
414
  req;
416
415
  constructor(t) {
@@ -423,7 +422,7 @@ class fa {
423
422
  */
424
423
  async getConfig(t) {
425
424
  await this.token.autoLogin();
426
- const { data: n } = await this.req.get("club/config", Be, t);
425
+ const { data: n } = await this.req.get("club/config", Me, t);
427
426
  return n;
428
427
  }
429
428
  /**
@@ -464,7 +463,7 @@ class fa {
464
463
  */
465
464
  async getRoles(t, n, r) {
466
465
  if (!await this.token.autoLogin()) return [];
467
- const { data: o } = await this.req.get("club/roles", Me, {
466
+ const { data: o } = await this.req.get("club/roles", Ke, {
468
467
  ...r,
469
468
  params: c({ player_id: t, refresh: n })
470
469
  });
@@ -538,7 +537,7 @@ class fa {
538
537
  */
539
538
  async getAddresses(t) {
540
539
  if (!await this.token.autoLogin()) return [];
541
- const { data: n } = await this.req.get("club/addresses", Ke, t);
540
+ const { data: n } = await this.req.get("club/addresses", He, t);
542
541
  return n?.addresses ?? [];
543
542
  }
544
543
  /**
@@ -594,7 +593,7 @@ class fa {
594
593
  */
595
594
  async getUserCredit(t, n) {
596
595
  await this.token.autoLogin();
597
- const { data: r, code: o, message: i } = await this.req.get("club/user-credit", He, {
596
+ const { data: r, code: o, message: i } = await this.req.get("club/user-credit", ze, {
598
597
  ...n,
599
598
  params: c(t)
600
599
  });
@@ -610,7 +609,7 @@ class fa {
610
609
  */
611
610
  async getCreditLogs(t, n) {
612
611
  await this.token.autoLogin();
613
- const { data: r } = await this.req.get("club/credit-logs", ze, {
612
+ const { data: r } = await this.req.get("club/credit-logs", Je, {
614
613
  ...n,
615
614
  params: c({ max_results: 20, ...t })
616
615
  });
@@ -626,7 +625,7 @@ class fa {
626
625
  */
627
626
  async getBenefits(t) {
628
627
  if (!await this.token.autoLogin()) return [];
629
- const { data: n } = await this.req.get("club/benefits", Ze, t);
628
+ const { data: n } = await this.req.get("club/benefits", Xe, t);
630
629
  return n?.benefits || [];
631
630
  }
632
631
  /**
@@ -636,7 +635,7 @@ class fa {
636
635
  */
637
636
  async getBenefit(t, n) {
638
637
  if (!await this.token.autoLogin()) return null;
639
- const { data: r } = await this.req.get("club/benefit", Xe, {
638
+ const { data: r } = await this.req.get("club/benefit", Ye, {
640
639
  ...n,
641
640
  params: { benefit_id: t }
642
641
  });
@@ -649,7 +648,7 @@ class fa {
649
648
  */
650
649
  async getProducts(t, n) {
651
650
  await this.token.autoLogin();
652
- const { data: r } = await this.req.get("club/products", Je, {
651
+ const { data: r } = await this.req.get("club/products", Ze, {
653
652
  ...n,
654
653
  params: t
655
654
  });
@@ -675,7 +674,7 @@ class fa {
675
674
  */
676
675
  async getRedemptions(t, n) {
677
676
  await this.token.autoLogin();
678
- const { data: r } = await this.req.get("club/redemptions", Ye, {
677
+ const { data: r } = await this.req.get("club/redemptions", We, {
679
678
  ...n,
680
679
  params: c({ max_results: 20, ...t })
681
680
  });
@@ -694,7 +693,7 @@ class fa {
694
693
  const { data: r, code: o, message: i } = await this.req.post(
695
694
  "club/image-upload-url",
696
695
  c(t),
697
- We,
696
+ et,
698
697
  n
699
698
  );
700
699
  return r ?? {
@@ -703,7 +702,7 @@ class fa {
703
702
  };
704
703
  }
705
704
  }
706
- class ha {
705
+ class ka {
707
706
  token;
708
707
  req;
709
708
  _event = 0;
@@ -719,7 +718,7 @@ class ha {
719
718
  bind(t) {
720
719
  const n = this;
721
720
  for (const [r, o] of Object.entries(t))
722
- n[r] = o.bind(this);
721
+ o && (n[r] = o.bind(this));
723
722
  return n;
724
723
  }
725
724
  }
@@ -746,17 +745,17 @@ const v = {
746
745
  ExternalCode: "external_gift_code",
747
746
  /** 空奖励 */
748
747
  VoidItem: "void_item"
749
- }, Y = e.string().enum(v).lock(), wa = v, W = Y, et = {
748
+ }, Y = e.string().enum(v).lock(), va = v, W = Y, tt = {
750
749
  /** 世游通行证 ID / Combo ID */
751
750
  UserId: "user_id",
752
751
  /** 游戏角色 ID */
753
752
  RoleId: "role_id"
754
- }, tt = e.string().enum(et).lock(), nt = {
753
+ }, nt = e.string().enum(tt).lock(), rt = {
755
754
  None: "none",
756
755
  Daily: "daily",
757
756
  Weekly: "weekly",
758
757
  Monthly: "monthly"
759
- }, rt = e.string().enum(nt).lock(), u = {
758
+ }, at = e.string().enum(rt).lock(), u = {
760
759
  /** 预约 */
761
760
  Preregister: "preregister",
762
761
  /** 抽奖 */
@@ -805,7 +804,7 @@ const v = {
805
804
  UgcLike: "ugc_like",
806
805
  /** 兑换 */
807
806
  Redeem: "redeem"
808
- }, at = e.string().enum(u).lock(), ot = {
807
+ }, ot = e.string().enum(u).lock(), it = {
809
808
  /** 累计游戏内活跃值 */
810
809
  Active: "player_active_points",
811
810
  /** 累计登录,单位 人天 */
@@ -834,14 +833,14 @@ const v = {
834
833
  OrderAmountInPayCenter: "order_seayoo_web_total_amount",
835
834
  /** 组队进度 */
836
835
  TeamSize: "team_size"
837
- }, ee = e.string().enum(ot).lock(), it = {
836
+ }, ee = e.string().enum(it).lock(), st = {
838
837
  /** 官方上传 */
839
838
  System: "system",
840
839
  /** 用户投稿 */
841
840
  UserSubmission: "user_submission",
842
841
  /** 投票入围 */
843
842
  Shortlisted: "shortlisted"
844
- }, st = e.string().enum(it).lock(), p = {
843
+ }, ct = e.string().enum(st).lock(), p = {
845
844
  /** 未获得奖励 */
846
845
  Ineligible: "ineligible",
847
846
  /** 奖励未领取 */
@@ -852,7 +851,7 @@ const v = {
852
851
  Failed: "failed",
853
852
  /** 奖励已发货 */
854
853
  Delivered: "delivered"
855
- }, te = e.string().enum(p).lock(), ct = {
854
+ }, te = e.string().enum(p).lock(), ut = {
856
855
  /** 未获得奖励 */
857
856
  Ineligible: p.Ineligible,
858
857
  /** 奖励未领取 */
@@ -863,17 +862,17 @@ const v = {
863
862
  Failed: p.Failed,
864
863
  /** 奖励已发货 */
865
864
  Delivered: p.Delivered
866
- }, U = e.string().enum(ct).lock(), ut = {
865
+ }, U = e.string().enum(ut).lock(), lt = {
867
866
  /** 玩法产出奖励 */
868
867
  Output: "output",
869
868
  /** 玩法参与奖励 */
870
869
  Engage: "engage"
871
- }, S = e.string().enum(ut).lock(), lt = {
870
+ }, S = e.string().enum(lt).lock(), mt = {
872
871
  /** 私有队伍 */
873
872
  Private: "private",
874
873
  /** 公开队伍 */
875
874
  Public: "public"
876
- }, mt = e.string().enum(lt).lock(), w = {
875
+ }, dt = e.string().enum(mt).lock(), w = {
877
876
  /** 未知状态 */
878
877
  Unknown: "unknown",
879
878
  /** 等待开奖 */
@@ -884,7 +883,7 @@ const v = {
884
883
  Claimed: "claimed",
885
884
  /** 领奖失败 */
886
885
  Fail: "fail"
887
- }, ka = e.string().enum(w).lock(), dt = {
886
+ }, Ra = e.string().enum(w).lock(), gt = {
888
887
  /** 发起组队 */
889
888
  Assemble: "assemble",
890
889
  /** 加入队伍 */
@@ -895,26 +894,26 @@ const v = {
895
894
  ChangeVisibility: "change_visibility",
896
895
  /** 查询组队信息 */
897
896
  Query: "query"
898
- }, va = e.string().enum(dt).lock(), gt = {
897
+ }, Ca = e.string().enum(gt).lock(), _t = {
899
898
  /** 查询抽奖券 */
900
899
  Query: "query",
901
900
  /** 开奖 */
902
901
  Draw: "draw",
903
902
  /** 领奖 */
904
903
  Claim: "claim"
905
- }, Ra = e.string().enum(gt).lock(), _t = {
904
+ }, Va = e.string().enum(_t).lock(), pt = {
906
905
  /** 将所有队员的进度值求和,作为队伍进度值 */
907
906
  Sum: "sum",
908
907
  /** 以进度值倒序排名第 N 的队员的进度值,作为队伍进度值。如果队伍人数不足 N,则队伍进度值为 0。N 的值来自于配置字段 top_n */
909
908
  TopN: "top_n"
910
- }, pt = e.string().enum(_t).lock(), bt = {
909
+ }, bt = e.string().enum(pt).lock(), yt = {
911
910
  /** 尚未结算 */
912
911
  None: "none",
913
912
  /** 获胜奖励 */
914
913
  Winner: "winner",
915
914
  /** 安慰奖励 */
916
915
  Consolation: "consolation"
917
- }, yt = e.string().enum(bt).lock(), ft = {
916
+ }, ft = e.string().enum(yt).lock(), ht = {
918
917
  /** 抖音 */
919
918
  Douyin: "douyin",
920
919
  /** 小红书 */
@@ -929,73 +928,73 @@ const v = {
929
928
  Huya: "huya",
930
929
  /** 斗鱼 */
931
930
  Douyu: "douyu"
932
- }, P = e.string().enum(ft).lock(), ht = {
931
+ }, P = e.string().enum(ht).lock(), wt = {
933
932
  /** 已提交 */
934
933
  Submitted: "submitted",
935
934
  /** 已接收 */
936
935
  Accepted: "accepted",
937
936
  /** 已拒绝 */
938
937
  Rejected: "rejected"
939
- }, wt = e.string().enum(ht).lock(), kt = e.string().enum(v), g = e.object({
938
+ }, kt = e.string().enum(wt).lock(), vt = e.string().enum(v), g = e.object({
940
939
  reward_item_id: e.number(),
941
940
  reward_amount: e.number(),
942
941
  reward_item_name: e.string(),
943
942
  reward_item_icon_url: e.string(),
944
943
  reward_item_desc: e.string().optional(),
945
- reward_item_type: kt,
944
+ reward_item_type: vt,
946
945
  reward_item_rating: e.number()
947
- }).lock(), vt = e.object({
946
+ }).lock(), Rt = e.object({
948
947
  engage_count: e.number(),
949
948
  rewards: e.array(g)
950
- }).lock(), Rt = e.union(
949
+ }).lock(), Ct = e.union(
951
950
  e.object({
952
951
  feature_reward_type: e.string().enum("every"),
953
952
  reward_details: e.array(g)
954
953
  }),
955
954
  e.object({
956
955
  feature_reward_type: e.string().enum("regular"),
957
- reward_details: e.array(vt)
956
+ reward_details: e.array(Rt)
958
957
  })
959
958
  ).satisfies().lock(), l = e.object({
960
959
  feature_name: e.string(),
961
960
  feature_id: e.number(),
962
961
  description: e.string(),
963
- cycle: rt,
962
+ cycle: at,
964
963
  cycle_limit: e.number(),
965
964
  limit: e.number(),
966
965
  since: e.number(),
967
966
  until: e.number(),
968
- engage_account: tt,
969
- feature_rewards: Rt.clone().optional(),
967
+ engage_account: nt,
968
+ feature_rewards: Ct.clone().optional(),
970
969
  sort: e.number().optional()
971
- }), Ct = u.Cashback, Vt = e.object({
970
+ }), Vt = u.Cashback, jt = e.object({
972
971
  ...l.shape,
973
- feature_type: e.string().enum(Ct),
972
+ feature_type: e.string().enum(Vt),
974
973
  config: e.object({
975
974
  order_start_time: e.number(),
976
975
  order_end_time: e.number(),
977
976
  claim_rewards_start_time: e.number(),
978
977
  claim_rewards_end_time: e.number()
979
978
  })
980
- }), jt = u.CheckIn, Tt = e.object({
979
+ }), Tt = u.CheckIn, qt = e.object({
981
980
  ...l.shape,
982
- feature_type: e.string().enum(jt)
983
- }), qt = u.ClaimActivationKey, xt = e.object({
981
+ feature_type: e.string().enum(Tt)
982
+ }), xt = u.ClaimActivationKey, Lt = e.object({
984
983
  ...l.shape,
985
- feature_type: e.string().enum(qt)
986
- }), Lt = u.ClaimRewards, Ut = e.object({
984
+ feature_type: e.string().enum(xt)
985
+ }), Ut = u.ClaimRewards, St = e.object({
987
986
  ...l.shape,
988
- feature_type: e.string().enum(Lt)
989
- }), St = u.Comment, Pt = e.object({
987
+ feature_type: e.string().enum(Ut)
988
+ }), Pt = u.Comment, Et = e.object({
990
989
  ...l.shape,
991
- feature_type: e.string().enum(St),
990
+ feature_type: e.string().enum(Pt),
992
991
  config: e.object({
993
992
  comments: e.array(e.string()),
994
993
  send_rate: e.number()
995
994
  })
996
- }), Et = u.Follow, Ft = e.object({
995
+ }), Ft = u.Follow, It = e.object({
997
996
  ...l.shape,
998
- feature_type: e.string().enum(Et),
997
+ feature_type: e.string().enum(Ft),
999
998
  config: e.object({
1000
999
  platform: e.string(),
1001
1000
  platform_icon: e.string().optional(),
@@ -1003,67 +1002,67 @@ const v = {
1003
1002
  qr_code_url: e.string().optional(),
1004
1003
  platform_desc: e.string().optional()
1005
1004
  })
1006
- }), It = u.GiftCode, Dt = e.object({
1005
+ }), Dt = u.GiftCode, $t = e.object({
1007
1006
  name: e.string(),
1008
1007
  icon_url: e.string(),
1009
1008
  count: e.number()
1010
- }), $t = e.object({
1009
+ }), At = e.object({
1011
1010
  ...l.shape,
1012
- feature_type: e.string().enum(It),
1011
+ feature_type: e.string().enum(Dt),
1013
1012
  config: e.object({
1014
- gift_items: e.array(Dt),
1013
+ gift_items: e.array($t),
1015
1014
  mp_url: e.string().optional(),
1016
1015
  mp_qrcode_url: e.string().optional()
1017
1016
  })
1018
- }), At = u.Invite, Ot = e.object({
1017
+ }), Ot = u.Invite, Gt = e.object({
1019
1018
  ...l.shape,
1020
- feature_type: e.string().enum(At),
1019
+ feature_type: e.string().enum(Ot),
1021
1020
  config: e.object({
1022
1021
  share_url: e.string()
1023
1022
  })
1024
- }), Gt = u.InvitedRegister, Nt = e.object({
1023
+ }), Nt = u.InvitedRegister, Qt = e.object({
1025
1024
  ...l.shape,
1026
- feature_type: e.string().enum(Gt)
1027
- }), Qt = e.string().enum(L(v, "GiftCode", "LotteryTicket")), Bt = u.Lottery, Mt = e.object({
1025
+ feature_type: e.string().enum(Nt)
1026
+ }), Bt = e.string().enum(L(v, "GiftCode", "LotteryTicket")), Mt = u.Lottery, Kt = e.object({
1028
1027
  reward_item_id: e.number(),
1029
1028
  reward_item_name: e.string(),
1030
- reward_item_type: Qt,
1029
+ reward_item_type: Bt,
1031
1030
  reward_item_icon_url: e.string(),
1032
1031
  reward_item_desc: e.string().optional(),
1033
1032
  reward_amount: e.number(),
1034
1033
  reward_remaining_stock: e.number(),
1035
1034
  reward_item_rating: e.number()
1036
- }), Kt = e.object({
1035
+ }), Ht = e.object({
1037
1036
  ...l.shape,
1038
- feature_type: e.string().enum(Bt),
1037
+ feature_type: e.string().enum(Mt),
1039
1038
  config: e.object({
1040
1039
  consume_item_id: e.number(),
1041
1040
  consume_item_name: e.string(),
1042
1041
  consume_item_icon_url: e.string(),
1043
1042
  consume_item_count: e.array(e.number()),
1044
1043
  consume_item_desc: e.string().optional(),
1045
- rewards: e.array(Mt)
1044
+ rewards: e.array(Kt)
1046
1045
  })
1047
- }), Ht = u.LotteryDraw, zt = e.object({
1046
+ }), zt = u.LotteryDraw, Jt = e.object({
1048
1047
  ...l.shape,
1049
- feature_type: e.string().enum(Ht),
1048
+ feature_type: e.string().enum(zt),
1050
1049
  config: e.object({
1051
1050
  draw_not_before: e.number(),
1052
1051
  draw_not_after: e.number()
1053
1052
  })
1054
- }), Jt = u.Preregister, Zt = e.object({
1053
+ }), Zt = u.Preregister, Xt = e.object({
1055
1054
  ...l.shape,
1056
- feature_type: e.string().enum(Jt)
1057
- }), Xt = u.Quest, Yt = e.object({
1055
+ feature_type: e.string().enum(Zt)
1056
+ }), Yt = u.Quest, Wt = e.object({
1058
1057
  ...l.shape,
1059
- feature_type: e.string().enum(Xt),
1058
+ feature_type: e.string().enum(Yt),
1060
1059
  config: e.object({
1061
1060
  objective: ee,
1062
1061
  completion_value: e.number(),
1063
1062
  team: e.object({
1064
1063
  feature_id: e.number().optional(),
1065
1064
  completion_value: e.number(),
1066
- progress_algorithm: pt.clone().optional(),
1065
+ progress_algorithm: bt.clone().optional(),
1067
1066
  top_n: e.number().optional()
1068
1067
  }).optional(),
1069
1068
  config: e.object({
@@ -1073,62 +1072,62 @@ const v = {
1073
1072
  event_item_id: e.number().optional()
1074
1073
  }).optional()
1075
1074
  })
1076
- }), Wt = u.Redeem, en = e.object({
1075
+ }), en = u.Redeem, tn = e.object({
1077
1076
  price: e.number(),
1078
1077
  per_user_limit: e.number(),
1079
1078
  item: g
1080
- }), tn = e.object({
1079
+ }), nn = e.object({
1081
1080
  ...l.shape,
1082
- feature_type: e.string().enum(Wt),
1081
+ feature_type: e.string().enum(en),
1083
1082
  config: e.object({
1084
1083
  event_item_id: e.number(),
1085
- redeem_catalog: e.array(en)
1084
+ redeem_catalog: e.array(tn)
1086
1085
  })
1087
- }), nn = u.Register, rn = e.object({
1086
+ }), rn = u.Register, an = e.object({
1088
1087
  ...l.shape,
1089
- feature_type: e.string().enum(nn)
1090
- }), an = u.Share, on = e.object({
1088
+ feature_type: e.string().enum(rn)
1089
+ }), on = u.Share, sn = e.object({
1091
1090
  ...l.shape,
1092
- feature_type: e.string().enum(an),
1091
+ feature_type: e.string().enum(on),
1093
1092
  config: e.object({
1094
1093
  share_platform: e.string(),
1095
1094
  jump_url: e.string().optional(),
1096
1095
  icon_url: e.string().optional()
1097
1096
  })
1098
- }), sn = u.Subscribe, cn = e.object({
1097
+ }), cn = u.Subscribe, un = e.object({
1099
1098
  ...l.shape,
1100
- feature_type: e.string().enum(sn),
1099
+ feature_type: e.string().enum(cn),
1101
1100
  config: e.object({
1102
1101
  weixin_template_ids: e.array(e.string())
1103
1102
  })
1104
- }), un = u.Survey, ln = e.object({
1103
+ }), ln = u.Survey, mn = e.object({
1105
1104
  ...l.shape,
1106
- feature_type: e.string().enum(un),
1105
+ feature_type: e.string().enum(ln),
1107
1106
  config: e.object({
1108
1107
  survey_id: e.string(),
1109
1108
  survey_url: e.string()
1110
1109
  })
1111
- }), mn = u.Team, dn = e.object({
1110
+ }), dn = u.Team, gn = e.object({
1112
1111
  ...l.shape,
1113
- feature_type: e.string().enum(mn),
1112
+ feature_type: e.string().enum(dn),
1114
1113
  config: e.object({
1115
1114
  max_members: e.number().min(1),
1116
1115
  min_members: e.number().min(1)
1117
1116
  })
1118
- }), gn = u.Ugc, _n = e.object({
1117
+ }), _n = u.Ugc, pn = e.object({
1119
1118
  ...l.shape,
1120
- feature_type: e.string().enum(gn),
1119
+ feature_type: e.string().enum(_n),
1121
1120
  config: e.object({
1122
1121
  allowed_social_medias: e.array(e.string()).optional(),
1123
1122
  acceptance_rewards: e.array(g).optional()
1124
1123
  })
1125
- }), pn = u.UgcLike, bn = e.object({
1124
+ }), bn = u.UgcLike, yn = e.object({
1126
1125
  ...l.shape,
1127
- feature_type: e.string().enum(pn),
1126
+ feature_type: e.string().enum(bn),
1128
1127
  config: e.object({
1129
1128
  ugc_feature_id: e.number()
1130
1129
  })
1131
- }), yn = u.Vote, fn = e.object({
1130
+ }), fn = u.Vote, hn = e.object({
1132
1131
  sn: e.string(),
1133
1132
  name: e.string(),
1134
1133
  img_urls: e.array(e.string()).optional(),
@@ -1138,30 +1137,30 @@ const v = {
1138
1137
  amount: e.number(),
1139
1138
  finalists: e.bool(),
1140
1139
  last_vote_time: e.number()
1141
- }), hn = e.object({
1140
+ }), wn = e.object({
1142
1141
  ...l.shape,
1143
- feature_type: e.string().enum(yn),
1142
+ feature_type: e.string().enum(fn),
1144
1143
  config: e.object({
1145
1144
  vote_feature_ids: e.array(e.number()),
1146
1145
  submission_feature_ids: e.array(e.number()),
1147
1146
  finalists_amount: e.number(),
1148
- source: st,
1149
- options: e.array(fn),
1147
+ source: ct,
1148
+ options: e.array(hn),
1150
1149
  rewards: e.array(g)
1151
1150
  })
1152
1151
  }), T = e.union(e.string().pattern("NumberString", /^\d+$/), e.number()), ne = e.object({
1153
1152
  order_total_amount: T,
1154
1153
  cashback_total_amount: T,
1155
1154
  game_item_count: T
1156
- }), wn = e.object({
1157
- activation_key: e.string().disallow("")
1158
1155
  }), kn = e.object({
1159
- gift_code: e.string()
1156
+ activation_key: e.string().disallow("")
1160
1157
  }), vn = e.object({
1158
+ gift_code: e.string()
1159
+ }), Rn = e.object({
1161
1160
  user_id: e.string(),
1162
1161
  name: e.string().optional(),
1163
1162
  avatar_url: e.string().optional()
1164
- }), Rn = e.object({
1163
+ }), Cn = e.object({
1165
1164
  lottery_count: e.number()
1166
1165
  }), R = e.object({
1167
1166
  reward_id: e.number(),
@@ -1178,13 +1177,13 @@ const v = {
1178
1177
  event_name: e.string(),
1179
1178
  feature_id: e.number(),
1180
1179
  engagement_id: e.number(),
1181
- feature_type: at,
1180
+ feature_type: ot,
1182
1181
  receive_time: e.number(),
1183
1182
  extra_data: e.record(e.unknown()).optional()
1184
- }), Cn = e.string().enum(w.Unknown, w.Pending), Vn = e.union(
1183
+ }), Vn = e.string().enum(w.Unknown, w.Pending), jn = e.union(
1185
1184
  e.object({
1186
1185
  ticket: e.string(),
1187
- status: Cn,
1186
+ status: Vn,
1188
1187
  created_at: e.number()
1189
1188
  }),
1190
1189
  e.object({
@@ -1193,16 +1192,16 @@ const v = {
1193
1192
  created_at: e.number(),
1194
1193
  reward: R
1195
1194
  })
1196
- ).satisfies(), jn = e.object({
1197
- tickets: e.array(Vn)
1198
- }), Tn = e.object({
1195
+ ).satisfies(), Tn = e.object({
1196
+ tickets: e.array(jn)
1197
+ }), qn = e.object({
1199
1198
  platforms: e.array(e.string())
1200
1199
  }), re = e.object({
1201
1200
  role_name: e.string(),
1202
1201
  is_leader: e.bool(),
1203
1202
  is_myself: e.bool().optional(),
1204
1203
  progress: e.number().optional()
1205
- }).lock(), qn = e.object({
1204
+ }).lock(), xn = e.object({
1206
1205
  objective: ee,
1207
1206
  progress: e.number(),
1208
1207
  completion_value: e.number().optional(),
@@ -1211,17 +1210,17 @@ const v = {
1211
1210
  completion_value: e.number().optional(),
1212
1211
  players: e.array(re)
1213
1212
  }).optional()
1214
- }), xn = e.object({
1213
+ }), Ln = e.object({
1215
1214
  progress: e.number(),
1216
1215
  team: e.object({
1217
1216
  progress: e.number(),
1218
1217
  team_members: e.array(re).optional()
1219
1218
  }).optional()
1220
- }), Ln = e.object({
1219
+ }), Un = e.object({
1221
1220
  item_id: e.number(),
1222
1221
  item_count: e.number(),
1223
1222
  redeem_count: e.number()
1224
- }), Un = e.object({
1223
+ }), Sn = e.object({
1225
1224
  item_stocks: e.array(
1226
1225
  e.object({
1227
1226
  item_id: e.number(),
@@ -1229,25 +1228,25 @@ const v = {
1229
1228
  user_limit: e.number()
1230
1229
  })
1231
1230
  )
1232
- }), Sn = e.object({
1233
- platform: e.string().optional()
1234
1231
  }), Pn = e.object({
1235
- weixin_openid: e.string()
1232
+ platform: e.string().optional()
1236
1233
  }), En = e.object({
1237
- serial_number: e.number()
1234
+ weixin_openid: e.string()
1238
1235
  }), Fn = e.object({
1236
+ serial_number: e.number()
1237
+ }), In = e.object({
1239
1238
  team_code: e.string(),
1240
1239
  leader_name: e.string(),
1241
1240
  total_members: e.number()
1242
- }), Ca = e.object({
1241
+ }), ja = e.object({
1243
1242
  is_leader: e.bool(),
1244
1243
  is_myself: e.bool().optional(),
1245
1244
  role_name: e.string(),
1246
1245
  server_name: e.string(),
1247
1246
  avatar_url: e.string().optional()
1248
- }), In = e.object({
1247
+ }), Dn = e.object({
1249
1248
  team_code: e.string(),
1250
- visibility: mt,
1249
+ visibility: dt,
1251
1250
  members: e.array(
1252
1251
  e.object({
1253
1252
  is_leader: e.bool(),
@@ -1255,14 +1254,14 @@ const v = {
1255
1254
  server_name: e.string()
1256
1255
  })
1257
1256
  )
1258
- }), Dn = e.object({
1257
+ }), $n = e.object({
1259
1258
  ugc_id: e.number(),
1260
1259
  title: e.string(),
1261
1260
  content: e.string().optional(),
1262
1261
  image_urls: e.array(e.string()).optional(),
1263
1262
  social_media: P.clone().optional(),
1264
1263
  social_media_url: e.string().optional()
1265
- }), $n = e.object({
1264
+ }), An = e.object({
1266
1265
  ugcs: e.array(
1267
1266
  e.object({
1268
1267
  ugc_id: e.number(),
@@ -1282,14 +1281,14 @@ const v = {
1282
1281
  })
1283
1282
  ).optional(),
1284
1283
  next_token: e.string().optional()
1285
- }), An = e.object({
1284
+ }), On = e.object({
1286
1285
  ugcs: e.array(
1287
1286
  e.object({
1288
1287
  ugc_id: e.number(),
1289
1288
  event_id: e.number().optional(),
1290
1289
  feature_id: e.number().optional(),
1291
1290
  feature_name: e.string().optional(),
1292
- review_status: wt,
1291
+ review_status: kt,
1293
1292
  reviewer_comment: e.string().optional(),
1294
1293
  title: e.string(),
1295
1294
  content: e.string().optional(),
@@ -1305,13 +1304,13 @@ const v = {
1305
1304
  })
1306
1305
  ).optional(),
1307
1306
  next_token: e.string().optional()
1308
- }), On = e.object({
1309
- total_count: e.number()
1310
1307
  }), Gn = e.object({
1308
+ total_count: e.number()
1309
+ }), Nn = e.object({
1311
1310
  existed: e.bool(),
1312
1311
  upload_url: e.string().optional(),
1313
1312
  image_url: e.string()
1314
- }), Nn = e.object({
1313
+ }), Qn = e.object({
1315
1314
  ugcs: e.array(
1316
1315
  e.object({
1317
1316
  ugc_id: e.number(),
@@ -1324,27 +1323,27 @@ const v = {
1324
1323
  role_name: e.string().optional()
1325
1324
  })
1326
1325
  ).optional()
1327
- }), Qn = e.object({
1328
- option_sn: e.string()
1329
1326
  }), Bn = e.object({
1327
+ option_sn: e.string()
1328
+ }), Mn = e.object({
1330
1329
  candidate_id: e.string(),
1331
1330
  total_votes: e.number().optional(),
1332
1331
  my_votes: e.number().optional(),
1333
1332
  votes: e.number().optional()
1334
- }), Mn = e.object({
1335
- rewards_type: yt,
1336
- rewards: e.array(R).optional()
1337
1333
  }), Kn = e.object({
1334
+ rewards_type: ft,
1335
+ rewards: e.array(R).optional()
1336
+ }), Hn = e.object({
1338
1337
  candidate_id: e.string(),
1339
1338
  is_winner: e.bool(),
1340
1339
  total_votes: e.number(),
1341
1340
  my_votes: e.number()
1342
- }), Hn = e.object({
1341
+ }), zn = e.object({
1343
1342
  role: e.string(),
1344
1343
  content: e.string()
1345
- }), zn = e.object({
1346
- conversations: e.array(Hn)
1347
1344
  }), Jn = e.object({
1345
+ conversations: e.array(zn)
1346
+ }), Zn = e.object({
1348
1347
  user_id: e.string(),
1349
1348
  name: e.string(),
1350
1349
  avatar_url: e.string(),
@@ -1352,28 +1351,28 @@ const v = {
1352
1351
  video_note: e.number(),
1353
1352
  created_at: e.number()
1354
1353
  }), E = e.union(
1355
- Tn,
1354
+ qn,
1355
+ Cn,
1356
+ Fn,
1356
1357
  Rn,
1357
- En,
1358
- vn,
1359
- Sn,
1360
- Qn,
1361
- Bn,
1362
1358
  Pn,
1359
+ Bn,
1360
+ Mn,
1361
+ En,
1363
1362
  ne,
1364
- kn,
1365
- In,
1366
- qn,
1367
- jn,
1368
- wn,
1369
- zn,
1363
+ vn,
1370
1364
  Dn,
1371
- Ln,
1365
+ xn,
1366
+ Tn,
1367
+ kn,
1368
+ Jn,
1369
+ $n,
1370
+ Un,
1372
1371
  e.custom(
1373
1372
  "EmptyObject",
1374
1373
  (a) => y(a) && Object.keys(a).length === 0
1375
1374
  )
1376
- ).satisfies().lock(), Zn = e.object({
1375
+ ).satisfies().lock(), Xn = e.object({
1377
1376
  reward_id: e.number(),
1378
1377
  reward_item_id: e.number(),
1379
1378
  reward_item_type: W,
@@ -1386,7 +1385,7 @@ const v = {
1386
1385
  reward_item_rating: e.number(),
1387
1386
  receive_time: e.number(),
1388
1387
  extra_data: e.union(...E.validators, e.record(e.unknown())).satisfies().optional()
1389
- }), Xn = e.object({
1388
+ }), Yn = e.object({
1390
1389
  reward_id: e.number(),
1391
1390
  reward_item_id: e.number(),
1392
1391
  reward_item_name: e.string(),
@@ -1398,7 +1397,7 @@ const v = {
1398
1397
  reward_status: te,
1399
1398
  reward_source: S,
1400
1399
  extra_data: e.record(e.unknown()).optional()
1401
- }), Yn = e.object({
1400
+ }), Wn = e.object({
1402
1401
  engagement_id: e.number(),
1403
1402
  user_id: e.string(),
1404
1403
  event_id: e.number(),
@@ -1408,18 +1407,18 @@ const v = {
1408
1407
  server_id: e.string().optional(),
1409
1408
  role_id: e.string().optional(),
1410
1409
  created_at: e.number(),
1411
- rewards: e.array(Zn).optional()
1412
- }).lock(), Wn = e.object({
1410
+ rewards: e.array(Xn).optional()
1411
+ }).lock(), er = e.object({
1413
1412
  allowed: e.bool(),
1414
1413
  registered: e.bool()
1415
- }), er = e.object({
1414
+ }), tr = e.object({
1416
1415
  feature_id: e.number(),
1417
1416
  can_engage: e.bool(),
1418
1417
  has_unclaimed_rewards: e.bool(),
1419
1418
  final_available_count: e.number(),
1420
1419
  total_remaining_engagements: e.number(),
1421
1420
  cycle_remaining_engagements: e.number()
1422
- }), tr = e.object({
1421
+ }), nr = e.object({
1423
1422
  engagement_id: e.number(),
1424
1423
  engagement: e.object({
1425
1424
  engagement_id: e.number(),
@@ -1427,24 +1426,24 @@ const v = {
1427
1426
  feature_id: e.number(),
1428
1427
  data: E.clone().optional()
1429
1428
  }).optional(),
1430
- rewards: e.array(Xn).optional(),
1429
+ rewards: e.array(Yn).optional(),
1431
1430
  scan: e.bool().optional()
1432
- }), nr = e.object({
1431
+ }), rr = e.object({
1433
1432
  reward_id: e.number(),
1434
1433
  reward_status: U
1435
- }), rr = u.Vote2, ar = e.object({
1434
+ }), ar = u.Vote2, or = e.object({
1436
1435
  candidate_id: e.string(),
1437
1436
  display_name: e.string(),
1438
1437
  images: e.array(e.string()).optional(),
1439
1438
  videos: e.array(e.string()).optional(),
1440
1439
  description: e.string().optional(),
1441
1440
  jump_url: e.string()
1442
- }), or = e.object({
1441
+ }), ir = e.object({
1443
1442
  ...l.shape,
1444
- feature_type: e.string().enum(rr),
1443
+ feature_type: e.string().enum(ar),
1445
1444
  config: e.object({
1446
1445
  vote_item_id: e.number().optional(),
1447
- candidates: e.array(ar),
1446
+ candidates: e.array(or),
1448
1447
  vote_since: e.number(),
1449
1448
  vote_until: e.number(),
1450
1449
  rewards_since: e.number(),
@@ -1452,110 +1451,110 @@ const v = {
1452
1451
  winner_rewards: e.array(g).optional(),
1453
1452
  consolation_rewards: e.array(g).optional()
1454
1453
  })
1455
- }), ir = u.ZeroChatgpt, sr = e.object({
1454
+ }), sr = u.ZeroChatgpt, cr = e.object({
1456
1455
  ...l.shape,
1457
- feature_type: e.string().enum(ir)
1458
- }), cr = e.union(
1459
- Vt,
1460
- Tt,
1461
- Ut,
1462
- Pt,
1463
- Ft,
1464
- $t,
1465
- Ot,
1466
- Nt,
1467
- Kt,
1468
- zt,
1469
- Zt,
1470
- Yt,
1471
- rn,
1472
- on,
1473
- cn,
1474
- ln,
1475
- dn,
1476
- hn,
1477
- or,
1478
- xt,
1479
- sr,
1480
- _n,
1481
- bn,
1482
- tn
1483
- ).key("feature_type").satisfies(), ur = e.object({
1456
+ feature_type: e.string().enum(sr)
1457
+ }), ur = e.union(
1458
+ jt,
1459
+ qt,
1460
+ St,
1461
+ Et,
1462
+ It,
1463
+ At,
1464
+ Gt,
1465
+ Qt,
1466
+ Ht,
1467
+ Jt,
1468
+ Xt,
1469
+ Wt,
1470
+ an,
1471
+ sn,
1472
+ un,
1473
+ mn,
1474
+ gn,
1475
+ wn,
1476
+ ir,
1477
+ Lt,
1478
+ cr,
1479
+ pn,
1480
+ yn,
1481
+ nn
1482
+ ).key("feature_type").satisfies(), lr = e.object({
1484
1483
  event_name: e.string(),
1485
1484
  rules: e.string(),
1486
1485
  since: e.number(),
1487
1486
  until: e.number(),
1488
1487
  visit_count: e.number().optional(),
1489
- features: e.array(cr)
1490
- }).lock(), lr = e.guard(ur), mr = e.guard(Wn), F = s({ count: e.number() }), dr = s({ first_visit: e.bool() }), gr = s({
1491
- engagements: e.union(e.array(Jn), e.array(Fn))
1492
- }), _r = s({
1493
- status: e.array(er)
1488
+ features: e.array(ur)
1489
+ }).lock(), mr = e.guard(lr), dr = e.guard(er), F = s({ count: e.number() }), gr = s({ first_visit: e.bool() }), _r = s({
1490
+ engagements: e.union(e.array(Zn), e.array(In))
1494
1491
  }), pr = s({
1495
- engagements_counts: e.record(e.number())
1492
+ status: e.array(tr)
1496
1493
  }), br = s({
1497
- engagements: e.array(Yn),
1494
+ engagements_counts: e.record(e.number())
1495
+ }), yr = s({
1496
+ engagements: e.array(Wn),
1498
1497
  next_token: e.string().optional()
1499
- }), yr = e.guard(tr), fr = s({
1500
- claimed_items: e.array(nr)
1501
- }), hr = s({
1502
- rewards: e.array(R)
1498
+ }), fr = e.guard(nr), hr = s({
1499
+ claimed_items: e.array(rr)
1503
1500
  }), wr = s({
1504
- reward_status: U
1501
+ rewards: e.array(R)
1505
1502
  }), kr = s({
1503
+ reward_status: U
1504
+ }), vr = s({
1506
1505
  user_rewards: e.array(R),
1507
1506
  next_token: e.string().optional()
1508
- }), vr = s({
1509
- unclaimed: e.number()
1510
1507
  }), Rr = s({
1511
- scene: e.string()
1508
+ unclaimed: e.number()
1512
1509
  }), Cr = s({
1513
- params: e.string()
1510
+ scene: e.string()
1514
1511
  }), Vr = s({
1512
+ params: e.string()
1513
+ }), jr = s({
1515
1514
  img: e.string()
1516
- }), jr = e.guard(xn), Tr = e.guard(Mn), qr = e.guard(
1515
+ }), Tr = e.guard(Ln), qr = e.guard(Kn), xr = e.guard(
1517
1516
  e.object({
1518
- candidate_votes: e.array(Kn)
1517
+ candidate_votes: e.array(Hn)
1519
1518
  })
1520
- ), xr = e.guard(ne), ae = e.guard(An), Lr = e.guard($n), Ur = e.guard(On), Sr = e.guard(Gn), Pr = e.guard(Nn), Er = e.guard(Un);
1521
- async function Va(a, t, n) {
1522
- const { data: r } = await this.req.get("verify-mobile-allowed", mr, {
1519
+ ), Lr = e.guard(ne), ae = e.guard(On), Ur = e.guard(An), Sr = e.guard(Gn), Pr = e.guard(Nn), Er = e.guard(Qn), Fr = e.guard(Sn);
1520
+ async function Ta(a, t, n) {
1521
+ const { data: r } = await this.req.get("verify-mobile-allowed", dr, {
1523
1522
  ...n,
1524
1523
  params: { game_id: a, mobile: t }
1525
1524
  });
1526
1525
  return r;
1527
1526
  }
1528
- async function ja(a) {
1529
- const { data: t } = await this.req.get(`event/${this.event}/event-config`, lr, a);
1527
+ async function qa(a) {
1528
+ const { data: t } = await this.req.get(`event/${this.event}/event-config`, mr, a);
1530
1529
  return t;
1531
1530
  }
1532
- async function Ta(a, t) {
1531
+ async function xa(a, t) {
1533
1532
  const { data: n } = await this.req.get(`event/${this.event}/feature-engagement-count`, F, {
1534
1533
  ...t,
1535
1534
  params: { feature_id: a, type: "user" }
1536
1535
  });
1537
1536
  return n?.count ?? null;
1538
1537
  }
1539
- async function qa(a, t) {
1538
+ async function La(a, t) {
1540
1539
  const { data: n } = await this.req.get(`event/${this.event}/feature-engagement-count`, F, {
1541
1540
  ...t,
1542
1541
  params: { feature_id: a, type: "engagement" }
1543
1542
  });
1544
1543
  return n?.count ?? null;
1545
1544
  }
1546
- async function xa(a, t) {
1547
- const { data: n } = await this.req.get(`event/${this.event}/feature-engagements`, gr, {
1545
+ async function Ua(a, t) {
1546
+ const { data: n } = await this.req.get(`event/${this.event}/feature-engagements`, _r, {
1548
1547
  ...t,
1549
1548
  params: { feature_id: a }
1550
1549
  });
1551
1550
  return n?.engagements || [];
1552
1551
  }
1553
- async function La(a, t) {
1552
+ async function Sa(a, t) {
1554
1553
  await this.token.autoLogin();
1555
1554
  const { data: n, code: r, message: o } = await this.req.post(
1556
1555
  `event/${this.event}/visit`,
1557
1556
  c(a || {}),
1558
- dr,
1557
+ gr,
1559
1558
  t
1560
1559
  );
1561
1560
  return n ?? {
@@ -1563,30 +1562,30 @@ async function La(a, t) {
1563
1562
  error: r
1564
1563
  };
1565
1564
  }
1566
- async function Ua(a, t) {
1565
+ async function Pa(a, t) {
1567
1566
  if (!await this.token.autoLogin()) return [];
1568
- const { data: n } = await this.req.get("event/user-feature-status", _r, {
1567
+ const { data: n } = await this.req.get("event/user-feature-status", pr, {
1569
1568
  ...t,
1570
1569
  message: !1,
1571
1570
  params: c({ ...a, event_id: this.event })
1572
1571
  });
1573
1572
  return n?.status || [];
1574
1573
  }
1575
- async function Sa(a, t) {
1574
+ async function Ea(a, t) {
1576
1575
  if (!await this.token.autoLogin()) return {};
1577
- const { data: n } = await this.req.get("event/user-engagements-count", pr, {
1576
+ const { data: n } = await this.req.get("event/user-engagements-count", br, {
1578
1577
  message: !1,
1579
1578
  params: c({ ...t, event_id: this.event, feature_id: a })
1580
1579
  });
1581
1580
  return n?.engagements_counts || {};
1582
1581
  }
1583
- async function Pa(a, t, n) {
1582
+ async function Fa(a, t, n) {
1584
1583
  if (!await this.token.autoLogin())
1585
1584
  return {
1586
1585
  engagements: [],
1587
1586
  next_token: ""
1588
1587
  };
1589
- const { data: r } = await this.req.get("event/user-engagements", br, {
1588
+ const { data: r } = await this.req.get("event/user-engagements", yr, {
1590
1589
  ...n,
1591
1590
  params: c({
1592
1591
  max_results: 20,
@@ -1600,7 +1599,7 @@ async function Pa(a, t, n) {
1600
1599
  next_token: r?.next_token || ""
1601
1600
  };
1602
1601
  }
1603
- async function Ea(a, t, n, r) {
1602
+ async function Ia(a, t, n, r) {
1604
1603
  await this.token.autoLogin();
1605
1604
  const { data: o, code: i, message: d } = await this.req.post(
1606
1605
  `event/${this.event}/engage`,
@@ -1609,7 +1608,7 @@ async function Ea(a, t, n, r) {
1609
1608
  engagement: t,
1610
1609
  ...n
1611
1610
  }),
1612
- yr,
1611
+ fr,
1613
1612
  r
1614
1613
  );
1615
1614
  return o ?? {
@@ -1617,7 +1616,7 @@ async function Ea(a, t, n, r) {
1617
1616
  error: i
1618
1617
  };
1619
1618
  }
1620
- async function Fa(a, t) {
1619
+ async function Da(a, t) {
1621
1620
  await this.token.autoLogin();
1622
1621
  const { data: n, code: r, message: o } = await this.req.post(
1623
1622
  "event/claim-rewards",
@@ -1625,7 +1624,7 @@ async function Fa(a, t) {
1625
1624
  ...a,
1626
1625
  server_id: a.server_id ? +a.server_id : void 0
1627
1626
  }),
1628
- fr,
1627
+ hr,
1629
1628
  t
1630
1629
  );
1631
1630
  return n?.claimed_items || {
@@ -1633,7 +1632,7 @@ async function Fa(a, t) {
1633
1632
  error: r
1634
1633
  };
1635
1634
  }
1636
- async function Ia(a, t) {
1635
+ async function $a(a, t) {
1637
1636
  if (!await this.token.autoLogin()) return null;
1638
1637
  const { ok: n, code: r, message: o } = await this.req.post(
1639
1638
  `event/${this.event}/user-reward-address`,
@@ -1646,34 +1645,34 @@ async function Ia(a, t) {
1646
1645
  error: r
1647
1646
  };
1648
1647
  }
1649
- async function Da(a, t) {
1648
+ async function Aa(a, t) {
1650
1649
  if (!await this.token.autoLogin()) return null;
1651
- const { data: n } = await this.req.get("event/unlimit-qrcode-scene", Rr, {
1650
+ const { data: n } = await this.req.get("event/unlimit-qrcode-scene", Cr, {
1652
1651
  ...t,
1653
1652
  params: { params: a }
1654
1653
  });
1655
1654
  return n?.scene ?? null;
1656
1655
  }
1657
- async function $a(a, t) {
1658
- const { data: n } = await this.req.get("event/params-by-qrcode-scene", Cr, {
1656
+ async function Oa(a, t) {
1657
+ const { data: n } = await this.req.get("event/params-by-qrcode-scene", Vr, {
1659
1658
  ...t,
1660
1659
  params: { scene: a }
1661
1660
  });
1662
1661
  return n?.params ?? null;
1663
1662
  }
1664
- async function Aa(a, t) {
1663
+ async function Ga(a, t) {
1665
1664
  if (!await this.token.autoLogin()) return null;
1666
1665
  const { data: n } = await this.req.post(
1667
1666
  "event/unlimit-qrcode",
1668
1667
  c(a),
1669
- Vr,
1668
+ jr,
1670
1669
  t
1671
1670
  );
1672
1671
  return n?.img ?? null;
1673
1672
  }
1674
- async function Oa(a, t) {
1673
+ async function Na(a, t) {
1675
1674
  if (!await this.token.autoLogin()) return null;
1676
- const { data: n, code: r, message: o } = await this.req.get(`event/${this.event}/quest-progress`, jr, {
1675
+ const { data: n, code: r, message: o } = await this.req.get(`event/${this.event}/quest-progress`, Tr, {
1677
1676
  message: !1,
1678
1677
  ...t,
1679
1678
  params: { feature_id: a }
@@ -1683,12 +1682,12 @@ async function Oa(a, t) {
1683
1682
  error: r
1684
1683
  };
1685
1684
  }
1686
- async function Ga(a, t) {
1685
+ async function Qa(a, t) {
1687
1686
  if (!await this.token.autoLogin()) return null;
1688
1687
  const { data: n, code: r, message: o } = await this.req.post(
1689
1688
  "event/vote2/rewards",
1690
1689
  { feature_id: a, event_id: this.event },
1691
- Tr,
1690
+ qr,
1692
1691
  t
1693
1692
  );
1694
1693
  return n || {
@@ -1696,17 +1695,17 @@ async function Ga(a, t) {
1696
1695
  code: r
1697
1696
  };
1698
1697
  }
1699
- async function Na(a, t) {
1698
+ async function Ba(a, t) {
1700
1699
  if (!await this.token.autoLogin()) return [];
1701
- const { data: n } = await this.req.get("event/vote2/leaderboard", qr, {
1700
+ const { data: n } = await this.req.get("event/vote2/leaderboard", xr, {
1702
1701
  ...t,
1703
1702
  params: { feature_id: a, event_id: this.event }
1704
1703
  });
1705
1704
  return n?.candidate_votes || [];
1706
1705
  }
1707
- async function Qa(a, t) {
1706
+ async function Ma(a, t) {
1708
1707
  if (!await this.token.autoLogin()) return null;
1709
- const { data: n, code: r, message: o } = await this.req.get("event/cashback/query", xr, {
1708
+ const { data: n, code: r, message: o } = await this.req.get("event/cashback/query", Lr, {
1710
1709
  ...t,
1711
1710
  params: { feature_id: a, event_id: this.event }
1712
1711
  });
@@ -1715,7 +1714,7 @@ async function Qa(a, t) {
1715
1714
  error: r
1716
1715
  };
1717
1716
  }
1718
- async function Ba(a, t) {
1717
+ async function Ka(a, t) {
1719
1718
  if (!await this.token.autoLogin()) return null;
1720
1719
  const { data: n, code: r, message: o } = await this.req.get("event/ugc/my", ae, {
1721
1720
  ...t,
@@ -1729,9 +1728,9 @@ async function Ba(a, t) {
1729
1728
  error: r
1730
1729
  };
1731
1730
  }
1732
- async function Ma(a, t) {
1731
+ async function Ha(a, t) {
1733
1732
  if (!await this.token.autoLogin()) return null;
1734
- const { data: n, code: r, message: o } = await this.req.get("event/ugc/my-count", Ur, {
1733
+ const { data: n, code: r, message: o } = await this.req.get("event/ugc/my-count", Sr, {
1735
1734
  ...t,
1736
1735
  params: {
1737
1736
  ...a
@@ -1742,7 +1741,7 @@ async function Ma(a, t) {
1742
1741
  error: r
1743
1742
  };
1744
1743
  }
1745
- async function Ka(a, t) {
1744
+ async function za(a, t) {
1746
1745
  await this.token.autoLogin();
1747
1746
  const { data: n, code: r, message: o } = await this.req.post(
1748
1747
  "event/claim-rewards-v2",
@@ -1750,7 +1749,7 @@ async function Ka(a, t) {
1750
1749
  ...a,
1751
1750
  server_id: a.server_id ? +a.server_id : void 0
1752
1751
  }),
1753
- hr,
1752
+ wr,
1754
1753
  t
1755
1754
  );
1756
1755
  return n?.rewards || {
@@ -1758,12 +1757,12 @@ async function Ka(a, t) {
1758
1757
  error: r
1759
1758
  };
1760
1759
  }
1761
- async function Ha(a, t) {
1760
+ async function Ja(a, t) {
1762
1761
  await this.token.autoLogin();
1763
1762
  const { data: n, code: r, message: o } = await this.req.post(
1764
1763
  "event/claim-weixin-hongbao",
1765
1764
  { reward_id: a },
1766
- wr,
1765
+ kr,
1767
1766
  t
1768
1767
  );
1769
1768
  return n || {
@@ -1771,7 +1770,7 @@ async function Ha(a, t) {
1771
1770
  error: r
1772
1771
  };
1773
1772
  }
1774
- async function za(a, t) {
1773
+ async function Za(a, t) {
1775
1774
  if (!this.token.isLoggedIn)
1776
1775
  return { error: "not_logged_in" };
1777
1776
  const { ok: n, code: r, message: o } = await this.req.post("verify-activation-key", { activation_key: a }, null, {
@@ -1783,7 +1782,7 @@ async function za(a, t) {
1783
1782
  error: r
1784
1783
  };
1785
1784
  }
1786
- async function Ja(a, t) {
1785
+ async function Xa(a, t) {
1787
1786
  if (!await this.token.autoLogin())
1788
1787
  return {
1789
1788
  user_rewards: [],
@@ -1792,7 +1791,7 @@ async function Ja(a, t) {
1792
1791
  const { data: n } = await this.req.post(
1793
1792
  "event/user-rewards",
1794
1793
  c({ max_results: 20, ...a, event_id: this.event }),
1795
- kr,
1794
+ vr,
1796
1795
  t
1797
1796
  );
1798
1797
  return {
@@ -1800,12 +1799,12 @@ async function Ja(a, t) {
1800
1799
  next_token: n?.next_token || ""
1801
1800
  };
1802
1801
  }
1803
- async function Za(a, t) {
1802
+ async function Ya(a, t) {
1804
1803
  if (!await this.token.autoLogin())
1805
1804
  return {
1806
1805
  unclaimed: 0
1807
1806
  };
1808
- const { data: n } = await this.req.get("event/user-rewards-count", vr, {
1807
+ const { data: n } = await this.req.get("event/user-rewards-count", Rr, {
1809
1808
  ...t,
1810
1809
  params: c({ ...a })
1811
1810
  });
@@ -1813,7 +1812,7 @@ async function Za(a, t) {
1813
1812
  unclaimed: n?.unclaimed || 0
1814
1813
  };
1815
1814
  }
1816
- async function Xa(a, t) {
1815
+ async function Wa(a, t) {
1817
1816
  if (!await this.token.autoLogin()) return null;
1818
1817
  const { data: n } = await this.req.get(`event/${this.event}/user-item-count`, F, {
1819
1818
  ...t,
@@ -1821,12 +1820,12 @@ async function Xa(a, t) {
1821
1820
  });
1822
1821
  return n?.count ?? null;
1823
1822
  }
1824
- async function Ya(a, t, n) {
1823
+ async function eo(a, t, n) {
1825
1824
  if (!await this.token.autoLogin()) return null;
1826
1825
  const { data: r, code: o, message: i } = await this.req.post(
1827
1826
  "event/ugc/upload-image",
1828
1827
  { feature_id: a, ...t, event_id: this.event },
1829
- Sr,
1828
+ Pr,
1830
1829
  n
1831
1830
  );
1832
1831
  return r || {
@@ -1834,7 +1833,7 @@ async function Ya(a, t, n) {
1834
1833
  error: o
1835
1834
  };
1836
1835
  }
1837
- async function Wa(a, t) {
1836
+ async function to(a, t) {
1838
1837
  const { data: n, code: r, message: o } = await this.req.get("event/ugc/recommendation", ae, {
1839
1838
  ...t,
1840
1839
  params: {
@@ -1847,8 +1846,8 @@ async function Wa(a, t) {
1847
1846
  error: r
1848
1847
  };
1849
1848
  }
1850
- async function eo(a, t, n) {
1851
- const { data: r, code: o, message: i } = await this.req.get("event/ugc/ugcs", Lr, {
1849
+ async function no(a, t, n) {
1850
+ const { data: r, code: o, message: i } = await this.req.get("event/ugc/ugcs", Ur, {
1852
1851
  ...n,
1853
1852
  params: {
1854
1853
  event_id: this.event,
@@ -1862,9 +1861,9 @@ async function eo(a, t, n) {
1862
1861
  error: o
1863
1862
  };
1864
1863
  }
1865
- async function to(a, t) {
1864
+ async function ro(a, t) {
1866
1865
  if (!await this.token.autoLogin()) return null;
1867
- const { data: n, code: r, message: o } = await this.req.get("event/ugc/leaderboard", Pr, {
1866
+ const { data: n, code: r, message: o } = await this.req.get("event/ugc/leaderboard", Er, {
1868
1867
  ...t,
1869
1868
  params: {
1870
1869
  feature_id: a,
@@ -1876,9 +1875,9 @@ async function to(a, t) {
1876
1875
  error: r
1877
1876
  };
1878
1877
  }
1879
- async function no(a, t) {
1878
+ async function ao(a, t) {
1880
1879
  if (!await this.token.autoLogin()) return null;
1881
- const { data: n, code: r, message: o } = await this.req.get("event/redeem/item-stocks", Er, {
1880
+ const { data: n, code: r, message: o } = await this.req.get("event/redeem/item-stocks", Fr, {
1882
1881
  ...t,
1883
1882
  params: {
1884
1883
  event_id: this.event,
@@ -1890,12 +1889,12 @@ async function no(a, t) {
1890
1889
  error: r
1891
1890
  };
1892
1891
  }
1893
- const Fr = {
1892
+ const Ir = {
1894
1893
  /** 所有人均可以发帖 */
1895
1894
  All: "all",
1896
1895
  /** 指定用户可发帖 */
1897
1896
  Limit: "limit"
1898
- }, Ir = e.string().enum(Fr).lock(), Dr = {
1897
+ }, Dr = e.string().enum(Ir).lock(), $r = {
1899
1898
  /** 待审核(仅自己可见) */
1900
1899
  Pending: "pending",
1901
1900
  /** 审核通过 */
@@ -1904,14 +1903,14 @@ const Fr = {
1904
1903
  Failed: "failed",
1905
1904
  /** 嫌疑(仅自己可见) */
1906
1905
  Suspect: "suspect"
1907
- }, oe = e.string().enum(Dr).lock(), $r = {
1906
+ }, oe = e.string().enum($r).lock(), Ar = {
1908
1907
  /** 系统通知 */
1909
1908
  System: "system",
1910
1909
  /** 评论我的 */
1911
1910
  Comment: "comment",
1912
1911
  /** 点赞通知 */
1913
1912
  Like: "like"
1914
- }, ro = e.string().enum($r).lock(), m = {
1913
+ }, oo = e.string().enum(Ar).lock(), m = {
1915
1914
  /** 系统通知 */
1916
1915
  System: "system",
1917
1916
  /** 帖子被置顶 */
@@ -1936,13 +1935,13 @@ const Fr = {
1936
1935
  ReplyLiked: "reply_liked",
1937
1936
  /** 回复被删除 */
1938
1937
  ReplyDeleted: "reply_deleted"
1939
- }, Ar = e.string().enum(m).lock(), ie = e.object({
1938
+ }, Or = e.string().enum(m).lock(), ie = e.object({
1940
1939
  forum_id: e.number(),
1941
1940
  icon_url: e.string(),
1942
1941
  name: e.string(),
1943
1942
  tags: e.array(e.string()),
1944
1943
  sort: e.number(),
1945
- mode: Ir,
1944
+ mode: Dr,
1946
1945
  member_ids: e.array(e.number())
1947
1946
  }).lock(), I = e.object({
1948
1947
  topic_id: e.number(),
@@ -1973,7 +1972,7 @@ const Fr = {
1973
1972
  create_time: e.number()
1974
1973
  }).lock(), se = e.object({
1975
1974
  err_msg: e.string().optional()
1976
- }).optional().lock(), Or = e.object({
1975
+ }).optional().lock(), Gr = e.object({
1977
1976
  reply_id: e.number(),
1978
1977
  reply_content: e.string().optional(),
1979
1978
  replied_by: e.string(),
@@ -1992,7 +1991,7 @@ const Fr = {
1992
1991
  content: e.string(),
1993
1992
  like_num: e.number(),
1994
1993
  liked: e.bool(),
1995
- reply_to: Or,
1994
+ reply_to: Gr,
1996
1995
  create_time: e.number()
1997
1996
  }).lock(), k = e.object({
1998
1997
  comment_id: e.number(),
@@ -2014,19 +2013,19 @@ const Fr = {
2014
2013
  create_time: e.number(),
2015
2014
  status: oe,
2016
2015
  replies: e.array(C).optional()
2017
- }).lock(), Gr = e.object({
2016
+ }).lock(), Nr = e.object({
2018
2017
  image_url: e.string(),
2019
2018
  upload_url: e.string(),
2020
2019
  existed: e.bool()
2021
2020
  }).lock(), _ = e.object({
2022
2021
  notification_id: e.string(),
2023
- notification_type: Ar,
2022
+ notification_type: Or,
2024
2023
  is_read: e.bool(),
2025
2024
  create_time: e.number(),
2026
2025
  origin_user_id: e.string(),
2027
2026
  origin_user_name: e.string(),
2028
2027
  origin_user_avatar_url: e.string()
2029
- }).lock(), Nr = e.object({
2028
+ }).lock(), Qr = e.object({
2030
2029
  system_message_subject: e.string(),
2031
2030
  system_message_content: e.string()
2032
2031
  }).lock(), $ = e.object({
@@ -2040,11 +2039,11 @@ const Fr = {
2040
2039
  }).lock(), A = e.object({
2041
2040
  reply_id: e.number(),
2042
2041
  reply_content: e.string()
2043
- }).lock(), Qr = e.object({
2042
+ }).lock(), Br = e.object({
2044
2043
  ..._.shape,
2045
- ...Nr.shape,
2044
+ ...Qr.shape,
2046
2045
  notification_type: e.string().enum(m.System)
2047
- }), Br = e.object({
2046
+ }), Mr = e.object({
2048
2047
  ..._.shape,
2049
2048
  ...$.shape,
2050
2049
  notification_type: e.string().enum(
@@ -2053,68 +2052,68 @@ const Fr = {
2053
2052
  m.PostDeleted,
2054
2053
  m.PostLiked
2055
2054
  )
2056
- }), Mr = e.object({
2055
+ }), Kr = e.object({
2057
2056
  ..._.shape,
2058
2057
  ...$.shape,
2059
2058
  ...V.shape,
2060
2059
  notification_type: e.string().enum(m.PostCommented)
2061
- }), Kr = e.object({
2060
+ }), Hr = e.object({
2062
2061
  ..._.shape,
2063
2062
  ...V.shape,
2064
2063
  ...A.shape,
2065
2064
  notification_type: e.string().enum(m.CommentReplied)
2066
- }), Hr = e.object({
2065
+ }), zr = e.object({
2067
2066
  ..._.shape,
2068
2067
  ...V.shape,
2069
2068
  ...$.shape,
2070
2069
  notification_type: e.string().enum(m.CommentLiked, m.CommentDeleted)
2071
- }), zr = e.object({
2070
+ }), Jr = e.object({
2072
2071
  ..._.shape,
2073
2072
  ...A.shape,
2074
2073
  notification_type: e.string().enum(m.ReplyReplied),
2075
2074
  comment_id: e.number(),
2076
2075
  reply_to_reply_id: e.number(),
2077
2076
  reply_to_reply_content: e.string()
2078
- }), Jr = e.object({
2077
+ }), Zr = e.object({
2079
2078
  ..._.shape,
2080
2079
  ...A.shape,
2081
2080
  ...V.shape,
2082
2081
  notification_type: e.string().enum(m.ReplyLiked, m.ReplyDeleted)
2083
- }), Zr = e.union(
2084
- Qr,
2082
+ }), Xr = e.union(
2085
2083
  Br,
2086
2084
  Mr,
2087
2085
  Kr,
2088
2086
  Hr,
2089
2087
  zr,
2090
- Jr
2091
- ).satisfies().lock(), Xr = s({ forums: e.array(ie) }), Yr = s({ topics: e.array(I) }), Wr = s({ topic: I }), ea = s({ post: D }), M = s({
2088
+ Jr,
2089
+ Zr
2090
+ ).satisfies().lock(), Yr = s({ forums: e.array(ie) }), Wr = s({ topics: e.array(I) }), ea = s({ topic: I }), ta = s({ post: D }), M = s({
2092
2091
  posts: e.array(D),
2093
2092
  next_token: e.string().optional()
2094
- }), ta = s({
2093
+ }), na = s({
2095
2094
  post: D.clone().optional(),
2096
2095
  antispam: se.clone().optional()
2097
- }), na = s({
2096
+ }), ra = s({
2098
2097
  replies: e.array(C),
2099
2098
  next_token: e.string().optional()
2100
- }), ra = s({ reply: C }), aa = s({
2099
+ }), aa = s({ reply: C }), oa = s({
2101
2100
  reply: C.clone().optional(),
2102
2101
  antispam: se.clone().optional()
2103
- }), oa = s({ comment: k }), ia = s({
2102
+ }), ia = s({ comment: k }), sa = s({
2104
2103
  comments: e.array(k),
2105
2104
  next_token: e.string().optional()
2106
- }), sa = s({
2105
+ }), ca = s({
2107
2106
  comment: k.clone().optional(),
2108
2107
  antispam: k.clone().optional()
2109
- }), ca = e.guard(Gr), ua = s({
2110
- notifications: e.array(Zr),
2108
+ }), ua = e.guard(Nr), la = s({
2109
+ notifications: e.array(Xr),
2111
2110
  next_token: e.string().optional()
2112
- }), la = s({
2111
+ }), ma = s({
2113
2112
  system: e.number(),
2114
2113
  comment: e.number(),
2115
2114
  like: e.number()
2116
2115
  });
2117
- class ao {
2116
+ class io {
2118
2117
  token;
2119
2118
  req;
2120
2119
  constructor(t) {
@@ -2126,7 +2125,7 @@ class ao {
2126
2125
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=QaqUa2K0z0
2127
2126
  */
2128
2127
  async getForums(t) {
2129
- const { data: n } = await this.req.get("community/forums", Xr, t);
2128
+ const { data: n } = await this.req.get("community/forums", Yr, t);
2130
2129
  return n?.forums || [];
2131
2130
  }
2132
2131
  /**
@@ -2135,7 +2134,7 @@ class ao {
2135
2134
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=mIwpymAQom
2136
2135
  */
2137
2136
  async getTopics(t) {
2138
- const { data: n } = await this.req.get("community/topics", Yr, t);
2137
+ const { data: n } = await this.req.get("community/topics", Wr, t);
2139
2138
  return n?.topics || [];
2140
2139
  }
2141
2140
  /**
@@ -2144,7 +2143,7 @@ class ao {
2144
2143
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=Jvw7xMK31K
2145
2144
  */
2146
2145
  async getTopic(t, n) {
2147
- const { data: r, code: o } = await this.req.get("community/topic", Wr, {
2146
+ const { data: r, code: o } = await this.req.get("community/topic", ea, {
2148
2147
  ...n,
2149
2148
  params: { topic_id: t }
2150
2149
  });
@@ -2186,7 +2185,7 @@ class ao {
2186
2185
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=hj1AZy5rcP
2187
2186
  */
2188
2187
  async getPost(t, n) {
2189
- const { data: r, code: o, message: i } = await this.req.get("community/post", ea, {
2188
+ const { data: r, code: o, message: i } = await this.req.get("community/post", ta, {
2190
2189
  ...n,
2191
2190
  params: { post_id: t }
2192
2191
  });
@@ -2204,7 +2203,7 @@ class ao {
2204
2203
  const { data: r, code: o, message: i } = await this.req.post(
2205
2204
  "community/post",
2206
2205
  c(t),
2207
- ta,
2206
+ na,
2208
2207
  n
2209
2208
  );
2210
2209
  return r ?? {
@@ -2218,7 +2217,7 @@ class ao {
2218
2217
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=djKbX7lFdp
2219
2218
  */
2220
2219
  async getComments(t, n) {
2221
- const { data: r, code: o, message: i } = await this.req.get("community/comments", ia, {
2220
+ const { data: r, code: o, message: i } = await this.req.get("community/comments", sa, {
2222
2221
  ...n,
2223
2222
  params: c(t)
2224
2223
  });
@@ -2233,7 +2232,7 @@ class ao {
2233
2232
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=RIc7oxVGae
2234
2233
  */
2235
2234
  async getComment(t, n) {
2236
- const { data: r, code: o, message: i } = await this.req.get("community/comment", oa, {
2235
+ const { data: r, code: o, message: i } = await this.req.get("community/comment", ia, {
2237
2236
  ...n,
2238
2237
  params: { comment_id: t }
2239
2238
  });
@@ -2252,7 +2251,7 @@ class ao {
2252
2251
  const { data: r, code: o, message: i } = await this.req.post(
2253
2252
  "community/comment",
2254
2253
  c(t),
2255
- sa,
2254
+ ca,
2256
2255
  n
2257
2256
  );
2258
2257
  return r ?? {
@@ -2266,7 +2265,7 @@ class ao {
2266
2265
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=sVKBbY83MY
2267
2266
  */
2268
2267
  async getReplies(t, n) {
2269
- const { data: r } = await this.req.get("community/replies", na, {
2268
+ const { data: r } = await this.req.get("community/replies", ra, {
2270
2269
  ...n,
2271
2270
  params: c({ max_results: 20, ...t })
2272
2271
  });
@@ -2281,7 +2280,7 @@ class ao {
2281
2280
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=kxhcSXD3MG
2282
2281
  */
2283
2282
  async getReply(t, n) {
2284
- const { data: r, code: o, message: i } = await this.req.get("community/reply", ra, {
2283
+ const { data: r, code: o, message: i } = await this.req.get("community/reply", aa, {
2285
2284
  ...n,
2286
2285
  params: { reply_id: t }
2287
2286
  });
@@ -2300,7 +2299,7 @@ class ao {
2300
2299
  const { data: r, code: o, message: i } = await this.req.post(
2301
2300
  "community/reply",
2302
2301
  c(t),
2303
- aa,
2302
+ oa,
2304
2303
  n
2305
2304
  );
2306
2305
  return r ?? {
@@ -2351,7 +2350,7 @@ class ao {
2351
2350
  */
2352
2351
  async getMediaPresignedUrl(t, n) {
2353
2352
  await this.token.autoLogin();
2354
- const { data: r } = await this.req.get("community/media-presign-url", ca, {
2353
+ const { data: r } = await this.req.get("community/media-presign-url", ua, {
2355
2354
  ...n,
2356
2355
  params: t
2357
2356
  });
@@ -2366,7 +2365,7 @@ class ao {
2366
2365
  */
2367
2366
  async getNotifications(t, n) {
2368
2367
  await this.token.autoLogin();
2369
- const { data: r } = await this.req.get("community/notifications", ua, {
2368
+ const { data: r } = await this.req.get("community/notifications", la, {
2370
2369
  ...n,
2371
2370
  params: c({ max_results: 20, ...t })
2372
2371
  });
@@ -2384,7 +2383,7 @@ class ao {
2384
2383
  if (!await this.token.autoLogin()) return null;
2385
2384
  const { data: n } = await this.req.get(
2386
2385
  "community/unread-notifications-count",
2387
- la,
2386
+ ma,
2388
2387
  t
2389
2388
  );
2390
2389
  return n;
@@ -2400,17 +2399,17 @@ class ao {
2400
2399
  return r;
2401
2400
  }
2402
2401
  }
2403
- const ma = s({
2402
+ const da = s({
2404
2403
  nonce_str: e.string(),
2405
2404
  timestamp: e.number(),
2406
2405
  signature: e.string()
2407
2406
  });
2408
- var da = /* @__PURE__ */ ((a) => (a.RedirectUriDisMatch = "10003", a.AppidError = "10016", a.AuthorizationError = "10015", a.NoRightForScope = "10005", a.Frequently = "10009", a.AppBanded = "10004", a.ShouldFollow = "10006", a.ScopeNull = "10010", a.RedirectUriNull = "10011", a.AppidNull = "10012", a.StateNull = "10013", a))(da || {});
2407
+ var ga = /* @__PURE__ */ ((a) => (a.RedirectUriDisMatch = "10003", a.AppidError = "10016", a.AuthorizationError = "10015", a.NoRightForScope = "10005", a.Frequently = "10009", a.AppBanded = "10004", a.ShouldFollow = "10006", a.ScopeNull = "10010", a.RedirectUriNull = "10011", a.AppidNull = "10012", a.StateNull = "10013", a))(ga || {});
2409
2408
  function q(a) {
2410
2409
  return y(a, "open_id", "union_id", "weixin_token");
2411
2410
  }
2412
2411
  const K = "wx_login_cache";
2413
- class oo {
2412
+ class so {
2414
2413
  token;
2415
2414
  _appid;
2416
2415
  req;
@@ -2444,7 +2443,7 @@ class oo {
2444
2443
  const t = this.token.storage.get(K);
2445
2444
  if (!t)
2446
2445
  return null;
2447
- const n = fe(t);
2446
+ const n = he(t);
2448
2447
  return q(n) ? (this.token.weixinToken = n.weixin_token, await this.token.autoLogin(), n) : null;
2449
2448
  }
2450
2449
  /**
@@ -2470,7 +2469,7 @@ class oo {
2470
2469
  const n = await this.getLoginCache();
2471
2470
  if (n)
2472
2471
  return n;
2473
- const r = await ve(), { data: o, code: i, message: d } = await this.req.post(
2472
+ const r = await Re(), { data: o, code: i, message: d } = await this.req.post(
2474
2473
  "weixin/login",
2475
2474
  { code: r, appid: this.appid },
2476
2475
  q,
@@ -2550,7 +2549,7 @@ class oo {
2550
2549
  * https://kdocs.cn/l/cf2mO2uRLqh9?linkname=CuWOqxr9Ue
2551
2550
  */
2552
2551
  async getJSSDKConfig(t) {
2553
- const { data: n } = await this.req.get("weixin/offiaccount/jssdk-sign", ma, {
2552
+ const { data: n } = await this.req.get("weixin/offiaccount/jssdk-sign", da, {
2554
2553
  ...t,
2555
2554
  params: {
2556
2555
  appid: this.appid,
@@ -2567,202 +2566,202 @@ class oo {
2567
2566
  }
2568
2567
  export {
2569
2568
  se as AntispamValidator,
2570
- ba as AuthToken,
2571
- Kn as CandidateVoteValidator,
2569
+ fa as AuthToken,
2570
+ Hn as CandidateVoteValidator,
2572
2571
  ne as CashbackEngagementDataValidator,
2573
- wn as ClaimActivationKeyEngagementDataValidator,
2574
- ct as ClaimRewardStatus,
2572
+ kn as ClaimActivationKeyEngagementDataValidator,
2573
+ ut as ClaimRewardStatus,
2575
2574
  U as ClaimRewardStatusValidator,
2576
- nr as ClaimedItemValidator,
2575
+ rr as ClaimedItemValidator,
2577
2576
  J as ClubAddressValidator,
2578
- fa as ClubApi,
2577
+ wa as ClubApi,
2579
2578
  Z as ClubBenefitSummaryValidator,
2580
- Oe as ClubBenefitValidator,
2581
- Te as ClubCreditChangeScene,
2582
- qe as ClubCreditChangeSceneValidator,
2583
- Ve as ClubCreditChangeType,
2584
- je as ClubCreditChangeTypeValidator,
2585
- Ae as ClubCreditLogValidator,
2586
- Se as ClubGlobalConfigValidator,
2587
- xe as ClubItemType,
2579
+ Ge as ClubBenefitValidator,
2580
+ qe as ClubCreditChangeScene,
2581
+ xe as ClubCreditChangeSceneValidator,
2582
+ je as ClubCreditChangeType,
2583
+ Te as ClubCreditChangeTypeValidator,
2584
+ Oe as ClubCreditLogValidator,
2585
+ Pe as ClubGlobalConfigValidator,
2586
+ Le as ClubItemType,
2588
2587
  H as ClubItemTypeValidator,
2589
- Pe as ClubPlayerValidator,
2588
+ Ee as ClubPlayerValidator,
2590
2589
  X as ClubProductValidator,
2591
- Le as ClubRedemptionStatus,
2592
- Ue as ClubRedemptionStatusValidator,
2593
- $e as ClubUserCreditValidator,
2594
- De as ClubUserProfileValidator,
2595
- Jn as CommentEngagementValidator,
2590
+ Ue as ClubRedemptionStatus,
2591
+ Se as ClubRedemptionStatusValidator,
2592
+ Ae as ClubUserCreditValidator,
2593
+ $e as ClubUserProfileValidator,
2594
+ Zn as CommentEngagementValidator,
2596
2595
  k as CommentValidator,
2597
- ao as CommunityApi,
2598
- Hn as ConversationValidator,
2599
- et as EngageAccountType,
2600
- tt as EngageAccountTypeValidator,
2601
- tr as EngageResponseValidator,
2602
- Xn as EngageRewardValidator,
2603
- ha as EventApi,
2604
- ur as EventConfigValidator,
2605
- Vt as EventFeatureConfigOfCashbackValidator,
2606
- Tt as EventFeatureConfigOfCheckInValidator,
2607
- xt as EventFeatureConfigOfClaimActivationKeyValidator,
2608
- Ut as EventFeatureConfigOfClaimRewardsValidator,
2609
- Pt as EventFeatureConfigOfCommentValidator,
2610
- Ft as EventFeatureConfigOfFollowValidator,
2611
- $t as EventFeatureConfigOfGiftCodeValidator,
2612
- Ot as EventFeatureConfigOfInviteValidator,
2613
- Nt as EventFeatureConfigOfInvitedRegisterValidator,
2614
- zt as EventFeatureConfigOfLotteryDrawValidator,
2615
- Kt as EventFeatureConfigOfLotteryValidator,
2616
- Zt as EventFeatureConfigOfPreregisterValidator,
2617
- Yt as EventFeatureConfigOfQuestValidator,
2618
- tn as EventFeatureConfigOfRedeemValidator,
2619
- rn as EventFeatureConfigOfRegisterValidator,
2620
- on as EventFeatureConfigOfShareValidator,
2621
- cn as EventFeatureConfigOfSubscribeValidator,
2622
- ln as EventFeatureConfigOfSurveyValidator,
2623
- dn as EventFeatureConfigOfTeamValidator,
2624
- bn as EventFeatureConfigOfUgcLikeValidator,
2625
- _n as EventFeatureConfigOfUgcValidator,
2626
- or as EventFeatureConfigOfVote2Validator,
2627
- hn as EventFeatureConfigOfVoteValidator,
2628
- cr as EventFeatureConfigValidator,
2629
- nt as EventPeriodType,
2630
- rt as EventPeriodTypeValidator,
2596
+ io as CommunityApi,
2597
+ zn as ConversationValidator,
2598
+ tt as EngageAccountType,
2599
+ nt as EngageAccountTypeValidator,
2600
+ nr as EngageResponseValidator,
2601
+ Yn as EngageRewardValidator,
2602
+ ka as EventApi,
2603
+ lr as EventConfigValidator,
2604
+ jt as EventFeatureConfigOfCashbackValidator,
2605
+ qt as EventFeatureConfigOfCheckInValidator,
2606
+ Lt as EventFeatureConfigOfClaimActivationKeyValidator,
2607
+ St as EventFeatureConfigOfClaimRewardsValidator,
2608
+ Et as EventFeatureConfigOfCommentValidator,
2609
+ It as EventFeatureConfigOfFollowValidator,
2610
+ At as EventFeatureConfigOfGiftCodeValidator,
2611
+ Gt as EventFeatureConfigOfInviteValidator,
2612
+ Qt as EventFeatureConfigOfInvitedRegisterValidator,
2613
+ Jt as EventFeatureConfigOfLotteryDrawValidator,
2614
+ Ht as EventFeatureConfigOfLotteryValidator,
2615
+ Xt as EventFeatureConfigOfPreregisterValidator,
2616
+ Wt as EventFeatureConfigOfQuestValidator,
2617
+ nn as EventFeatureConfigOfRedeemValidator,
2618
+ an as EventFeatureConfigOfRegisterValidator,
2619
+ sn as EventFeatureConfigOfShareValidator,
2620
+ un as EventFeatureConfigOfSubscribeValidator,
2621
+ mn as EventFeatureConfigOfSurveyValidator,
2622
+ gn as EventFeatureConfigOfTeamValidator,
2623
+ yn as EventFeatureConfigOfUgcLikeValidator,
2624
+ pn as EventFeatureConfigOfUgcValidator,
2625
+ ir as EventFeatureConfigOfVote2Validator,
2626
+ wn as EventFeatureConfigOfVoteValidator,
2627
+ ur as EventFeatureConfigValidator,
2628
+ rt as EventPeriodType,
2629
+ at as EventPeriodTypeValidator,
2631
2630
  g as EventRewardItemConfigValidator,
2632
- Ne as ExtraGameRewardValidator,
2633
- Ge as ExtraPhysicalShipmentValidator,
2634
- en as FeatureRedeemItemConfigValidator,
2635
- Rt as FeatureRewardValidator,
2631
+ Qe as ExtraGameRewardValidator,
2632
+ Ne as ExtraPhysicalShipmentValidator,
2633
+ tn as FeatureRedeemItemConfigValidator,
2634
+ Ct as FeatureRewardValidator,
2636
2635
  u as FeatureType,
2637
- at as FeatureTypeValidator,
2638
- Fr as ForumMode,
2639
- Ir as ForumModeValidator,
2636
+ ot as FeatureTypeValidator,
2637
+ Ir as ForumMode,
2638
+ Dr as ForumModeValidator,
2640
2639
  ie as ForumValidator,
2641
2640
  v as GamerItemType,
2642
2641
  Y as GamerItemTypeValidator,
2643
- Re as Gender,
2644
- Ce as GenderValidator,
2645
- kn as GiftCodeEngagementDataValidator,
2646
- vn as InviteEngagementDataValidator,
2647
- gt as LotteryDrawAction,
2648
- Ra as LotteryDrawActionValidator,
2649
- jn as LotteryDrawEngagementDataValidator,
2650
- Rn as LotteryEngagementDataValidator,
2642
+ Ce as Gender,
2643
+ Ve as GenderValidator,
2644
+ vn as GiftCodeEngagementDataValidator,
2645
+ Rn as InviteEngagementDataValidator,
2646
+ _t as LotteryDrawAction,
2647
+ Va as LotteryDrawActionValidator,
2648
+ Tn as LotteryDrawEngagementDataValidator,
2649
+ Cn as LotteryEngagementDataValidator,
2651
2650
  w as LotteryTicketStatus,
2652
- ka as LotteryTicketStatusValidator,
2651
+ Ra as LotteryTicketStatusValidator,
2653
2652
  _ as NotificationBaseValidator,
2654
- $r as NotificationCategory,
2655
- ro as NotificationCategoryValidator,
2656
- Kr as NotificationCommentReplyValidator,
2657
- Hr as NotificationCommentValidator,
2653
+ Ar as NotificationCategory,
2654
+ oo as NotificationCategoryValidator,
2655
+ Hr as NotificationCommentReplyValidator,
2656
+ zr as NotificationCommentValidator,
2658
2657
  V as NotificationPayloadCommentValidator,
2659
2658
  $ as NotificationPayloadPostValidator,
2660
2659
  A as NotificationPayloadReplyValidator,
2661
- Nr as NotificationPayloadSystemValidator,
2662
- Mr as NotificationPostCommentValidator,
2663
- Br as NotificationPostValidator,
2664
- zr as NotificationReplyRepliedValidator,
2665
- Jr as NotificationReplyValidator,
2666
- Qr as NotificationSystemValidator,
2660
+ Qr as NotificationPayloadSystemValidator,
2661
+ Kr as NotificationPostCommentValidator,
2662
+ Mr as NotificationPostValidator,
2663
+ Jr as NotificationReplyRepliedValidator,
2664
+ Zr as NotificationReplyValidator,
2665
+ Br as NotificationSystemValidator,
2667
2666
  m as NotificationType,
2668
- Ar as NotificationTypeValidator,
2669
- Zr as NotificationValidator,
2670
- Ie as PlayerRoleCardValidator,
2667
+ Or as NotificationTypeValidator,
2668
+ Xr as NotificationValidator,
2669
+ De as PlayerRoleCardValidator,
2671
2670
  z as PlayerRoleValidator,
2672
- Dr as PostStatus,
2671
+ $r as PostStatus,
2673
2672
  oe as PostStatusValidator,
2674
2673
  D as PostValidator,
2675
- Tn as PreregisterEngagementDataValidator,
2676
- Gr as PresignedUrlResponseValidator,
2677
- qn as QuestEngagementDataValidator,
2678
- ot as QuestObjective,
2674
+ qn as PreregisterEngagementDataValidator,
2675
+ Nr as PresignedUrlResponseValidator,
2676
+ xn as QuestEngagementDataValidator,
2677
+ it as QuestObjective,
2679
2678
  ee as QuestObjectiveValidator,
2680
- _t as QuestProgressAlgorithm,
2681
- pt as QuestProgressAlgorithmValidator,
2682
- xn as QuestProgressValidator,
2683
- Ln as RedeemEngagementDataValidator,
2684
- ya as RedeemParamsValidator,
2685
- Un as RedeemStocksResponseValidator,
2686
- Qe as RedemptionValidator,
2687
- vt as RegularRewardValidator,
2688
- Or as ReplyToValidator,
2679
+ pt as QuestProgressAlgorithm,
2680
+ bt as QuestProgressAlgorithmValidator,
2681
+ Ln as QuestProgressValidator,
2682
+ Un as RedeemEngagementDataValidator,
2683
+ ha as RedeemParamsValidator,
2684
+ Sn as RedeemStocksResponseValidator,
2685
+ Be as RedemptionValidator,
2686
+ Rt as RegularRewardValidator,
2687
+ Gr as ReplyToValidator,
2689
2688
  C as ReplyValidator,
2690
- wa as RewardItemType,
2689
+ va as RewardItemType,
2691
2690
  W as RewardItemTypeValidator,
2692
- ut as RewardSource,
2691
+ lt as RewardSource,
2693
2692
  S as RewardSourceValidator,
2694
2693
  p as RewardStatus,
2695
2694
  te as RewardStatusValidator,
2696
- Zn as RewardValidator,
2697
- Fe as RoleBaseInfoValidator,
2698
- Ee as ServerBaseInfoValidator,
2699
- Sn as ShareEngagementDataValidator,
2700
- En as SurveyEngagementDataValidator,
2701
- dt as TeamAction,
2702
- va as TeamActionValidator,
2703
- In as TeamEngagementDataValidator,
2704
- Fn as TeamEngagementValidator,
2705
- Ca as TeamMemberValidator,
2706
- lt as TeamVisibility,
2707
- mt as TeamVisibilityValidator,
2695
+ Xn as RewardValidator,
2696
+ Ie as RoleBaseInfoValidator,
2697
+ Fe as ServerBaseInfoValidator,
2698
+ Pn as ShareEngagementDataValidator,
2699
+ Fn as SurveyEngagementDataValidator,
2700
+ gt as TeamAction,
2701
+ Ca as TeamActionValidator,
2702
+ Dn as TeamEngagementDataValidator,
2703
+ In as TeamEngagementValidator,
2704
+ ja as TeamMemberValidator,
2705
+ mt as TeamVisibility,
2706
+ dt as TeamVisibilityValidator,
2708
2707
  I as TopicValidator,
2709
- On as UgcCountResponseValidator,
2710
- Dn as UgcEngagementDataValidator,
2711
- Nn as UgcLeaderboardResponseValidator,
2712
- $n as UgcRecordBaseResponseValidator,
2713
- An as UgcRecordResponseValidator,
2714
- ht as UgcReviewStatus,
2715
- wt as UgcReviewStatusValidator,
2716
- ft as UgcSocialMedia,
2708
+ Gn as UgcCountResponseValidator,
2709
+ $n as UgcEngagementDataValidator,
2710
+ Qn as UgcLeaderboardResponseValidator,
2711
+ An as UgcRecordBaseResponseValidator,
2712
+ On as UgcRecordResponseValidator,
2713
+ wt as UgcReviewStatus,
2714
+ kt as UgcReviewStatusValidator,
2715
+ ht as UgcSocialMedia,
2717
2716
  P as UgcSocialMediaValidator,
2718
- Gn as UgcUploadImageValidator,
2717
+ Nn as UgcUploadImageValidator,
2719
2718
  E as UserEngagementDataValidator,
2720
- Yn as UserEngagementValidator,
2721
- er as UserFeatureStatusValidator,
2719
+ Wn as UserEngagementValidator,
2720
+ tr as UserFeatureStatusValidator,
2722
2721
  R as UserRewardValidator,
2723
- Wn as VerifyMobileResultValidator,
2724
- Mn as Vote2ClaimRewardsResponseValidator,
2725
- Bn as Vote2EngagementDataValidator,
2726
- bt as Vote2RewardType,
2727
- yt as Vote2RewardTypeValidator,
2728
- Qn as VoteEngagementDataValidator,
2729
- it as VoteOptionSource,
2730
- st as VoteOptionSourceValidator,
2731
- oo as WeixinApi,
2732
- Pn as WeixinSubscribeEngagementDataValidator,
2733
- da as WeixinWebLoginErrorCode,
2734
- zn as ZeroChatGPTDataValidator,
2735
- Fa as claimRewards,
2736
- Ka as claimRewardsV2,
2737
- Ha as claimWeixinHongbao,
2738
- Ea as engage,
2739
- Aa as generateUnlimitQrcode,
2740
- Qa as getCashbackQuery,
2741
- ja as getConfig,
2742
- xa as getEngagements,
2743
- qa as getEngagementsCount,
2744
- Ta as getEngagementsUserCount,
2745
- $a as getParamsByQrcodeScene,
2746
- Oa as getQuestProgress,
2747
- no as getRedeemItemStocks,
2748
- to as getUgcLeaderboard,
2749
- Ma as getUgcMyCount,
2750
- Wa as getUgcRecommendation,
2751
- Ba as getUgcRecord,
2752
- eo as getUgcs,
2753
- Da as getUnlimitQrcodeScene,
2754
- Sa as getUserEngagementCount,
2755
- Pa as getUserEngagements,
2756
- Ua as getUserFeatureStatus,
2757
- Xa as getUserItemCount,
2758
- Ja as getUserRewards,
2759
- Za as getUserRewardsCount,
2760
- Na as getVote2Leaderboard,
2761
- ma as isWeixinSignResponse,
2762
- Ia as submitUserRewardAddress,
2763
- Ya as ugcUploadImage,
2764
- za as verifyActivationKey,
2765
- Va as verifyMobileAllowed,
2766
- La as visit,
2767
- Ga as vote2Rewards
2722
+ er as VerifyMobileResultValidator,
2723
+ Kn as Vote2ClaimRewardsResponseValidator,
2724
+ Mn as Vote2EngagementDataValidator,
2725
+ yt as Vote2RewardType,
2726
+ ft as Vote2RewardTypeValidator,
2727
+ Bn as VoteEngagementDataValidator,
2728
+ st as VoteOptionSource,
2729
+ ct as VoteOptionSourceValidator,
2730
+ so as WeixinApi,
2731
+ En as WeixinSubscribeEngagementDataValidator,
2732
+ ga as WeixinWebLoginErrorCode,
2733
+ Jn as ZeroChatGPTDataValidator,
2734
+ Da as claimRewards,
2735
+ za as claimRewardsV2,
2736
+ Ja as claimWeixinHongbao,
2737
+ Ia as engage,
2738
+ Ga as generateUnlimitQrcode,
2739
+ Ma as getCashbackQuery,
2740
+ qa as getConfig,
2741
+ Ua as getEngagements,
2742
+ La as getEngagementsCount,
2743
+ xa as getEngagementsUserCount,
2744
+ Oa as getParamsByQrcodeScene,
2745
+ Na as getQuestProgress,
2746
+ ao as getRedeemItemStocks,
2747
+ ro as getUgcLeaderboard,
2748
+ Ha as getUgcMyCount,
2749
+ to as getUgcRecommendation,
2750
+ Ka as getUgcRecord,
2751
+ no as getUgcs,
2752
+ Aa as getUnlimitQrcodeScene,
2753
+ Ea as getUserEngagementCount,
2754
+ Fa as getUserEngagements,
2755
+ Pa as getUserFeatureStatus,
2756
+ Wa as getUserItemCount,
2757
+ Xa as getUserRewards,
2758
+ Ya as getUserRewardsCount,
2759
+ Ba as getVote2Leaderboard,
2760
+ da as isWeixinSignResponse,
2761
+ $a as submitUserRewardAddress,
2762
+ eo as ugcUploadImage,
2763
+ Za as verifyActivationKey,
2764
+ Ta as verifyMobileAllowed,
2765
+ Sa as visit,
2766
+ Qa as vote2Rewards
2768
2767
  };