@seayoo-web/gamer-api 2.13.21 → 2.14.2

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,5 +1,5 @@
1
1
  import { isComboWebView as de } from "@seayoo-web/combo-webview";
2
- import { isPlainObject as h, supportWx as _, useConsole as ge, usePromise as pe, pruneURL as _e, supportWindow as be, queryString as S, pruneObject as c, omitFields as P, parseJSON as ye, removePara as G } from "@seayoo-web/utils";
2
+ import { isPlainObject as h, supportWx as _, useConsole as ge, usePromise as pe, pruneURL as _e, supportWindow as be, queryString as S, pruneObject as c, omitFields as U, parseJSON as ye, removePara as A } from "@seayoo-web/utils";
3
3
  import { v as e, objectGuard as s } from "@seayoo-web/validator";
4
4
  function he(i) {
5
5
  return h(i, "gamer_token") && typeof i.gamer_token == "string";
@@ -35,7 +35,7 @@ const ve = {
35
35
  remove(i) {
36
36
  localStorage.removeItem(i);
37
37
  }
38
- }, Ve = {
38
+ }, Ce = {
39
39
  get(i) {
40
40
  try {
41
41
  if (_()) return wx.getStorageSync(i) || "";
@@ -59,7 +59,7 @@ const ve = {
59
59
  }
60
60
  }
61
61
  }, f = "gamer_token";
62
- class sa {
62
+ class la {
63
63
  $NetRequest;
64
64
  $idToken = "";
65
65
  $weixinToken = "";
@@ -67,7 +67,7 @@ class sa {
67
67
  req;
68
68
  storage;
69
69
  constructor(t, n) {
70
- this.storage = _() ? Ve : ve;
70
+ this.storage = _() ? Ce : ve;
71
71
  const r = we(t) ? t : `https://${_e(t)}`;
72
72
  if (this.$NetRequest = n, this.req = n({
73
73
  baseURL: `${r}/v1`,
@@ -240,14 +240,14 @@ class sa {
240
240
  return n;
241
241
  }
242
242
  }
243
- const Ce = {
243
+ const Ve = {
244
244
  /** 未知 */
245
245
  Unknown: "unknown",
246
246
  /** 男 */
247
247
  Male: "male",
248
248
  /** 女 */
249
249
  Female: "female"
250
- }, Re = e.string().enum(Ce).lock(), je = {
250
+ }, Re = e.string().enum(Ve).lock(), je = {
251
251
  /** 积分增加 */
252
252
  Increase: "increase",
253
253
  /** 积分减少 */
@@ -281,7 +281,7 @@ const Ce = {
281
281
  Issued: "issued",
282
282
  /** 发放失败 */
283
283
  Failed: "failed"
284
- }, Pe = e.string().enum(Se).lock(), Ue = e.object({
284
+ }, Ue = e.string().enum(Se).lock(), Pe = e.object({
285
285
  default_avatar_url: e.string(),
286
286
  official_avatar_urls: e.array(e.string()),
287
287
  default_nickname: e.string(),
@@ -335,15 +335,12 @@ const Ce = {
335
335
  bio: e.string(),
336
336
  gender: Re,
337
337
  birthday: e.object({ year: e.number(), month: e.number(), day: e.number() }),
338
- social_medias: e.object({
339
- douyin: e.string().optional(),
340
- xiaohongshu: e.string().optional(),
341
- taptap: e.string().optional(),
342
- bilibili: e.string().optional(),
343
- weibo: e.string().optional(),
344
- huya: e.string().optional(),
345
- douyu: e.string().optional()
346
- }).optional()
338
+ social_medias: e.record(
339
+ e.object({
340
+ homepage_url: e.string(),
341
+ homepage_image_url: e.string()
342
+ }).optional()
343
+ ).optional()
347
344
  }).lock(), Z = e.object({
348
345
  address_id: e.number(),
349
346
  recipient: e.string(),
@@ -353,12 +350,12 @@ const Ce = {
353
350
  district: e.string(),
354
351
  address: e.string(),
355
352
  is_default: e.bool()
356
- }).lock(), Ae = e.object({
353
+ }).lock(), Ge = e.object({
357
354
  increased_credit: e.number(),
358
355
  decreased_credit: e.number(),
359
356
  expired_credit: e.number(),
360
357
  balance_credit: e.number()
361
- }).lock(), Ge = e.object({
358
+ }).lock(), Ae = e.object({
362
359
  id: e.number(),
363
360
  change_type: Te,
364
361
  change_scene: xe,
@@ -401,9 +398,9 @@ const Ce = {
401
398
  updated_at: e.number(),
402
399
  redeemable_quantity: e.number().optional()
403
400
  }).lock(), Oe = e.object({
404
- ...P(X.shape, "tag"),
401
+ ...U(X.shape, "tag"),
405
402
  product: Y.clone().optional()
406
- }).lock(), ca = e.union(
403
+ }).lock(), ma = e.union(
407
404
  e.object({
408
405
  server_id: e.string(),
409
406
  role_id: e.string()
@@ -435,11 +432,11 @@ const Ce = {
435
432
  catalog_name: e.string(),
436
433
  quantity: e.number(),
437
434
  amount: e.number(),
438
- status: Pe,
435
+ status: Ue,
439
436
  created_at: e.number(),
440
437
  extra_data: e.union(Ne.clone(), Qe.clone()).satisfies().optional()
441
- }), Me = e.guard(Ue), N = s({ player: Ee }), Ke = s({ roles: e.array(J) }), T = s({ role_card: Ie }), Q = e.guard(De), B = e.guard(Z), He = s({ addresses: e.array(Z) }), ze = e.guard(Ae), Je = s({
442
- credit_logs: e.array(Ge),
438
+ }), Me = e.guard(Pe), N = s({ player: Ee }), Ke = s({ roles: e.array(J) }), T = s({ role_card: Ie }), Q = e.guard(De), B = e.guard(Z), He = s({ addresses: e.array(Z) }), ze = e.guard(Ge), Je = s({
439
+ credit_logs: e.array(Ae),
443
440
  next_token: e.string().optional()
444
441
  }), Ze = s({ products: e.array(Y) }), Xe = s({ benefits: e.array(X) }), Ye = s({ benefit: Oe }), We = s({
445
442
  redemptions: e.array(Be),
@@ -449,7 +446,7 @@ const Ce = {
449
446
  image_upload_url: e.string().optional(),
450
447
  image_id: e.string()
451
448
  });
452
- class la {
449
+ class da {
453
450
  token;
454
451
  req;
455
452
  constructor(t) {
@@ -757,7 +754,7 @@ const v = {
757
754
  ExternalCode: "external_gift_code",
758
755
  /** 空奖励 */
759
756
  VoidItem: "void_item"
760
- }, W = e.string().enum(v).lock(), ua = v, ee = W, tt = {
757
+ }, W = e.string().enum(v).lock(), ga = v, ee = W, tt = {
761
758
  /** 世游通行证 ID / Combo ID */
762
759
  UserId: "user_id",
763
760
  /** 游戏角色 ID */
@@ -767,7 +764,7 @@ const v = {
767
764
  Daily: "daily",
768
765
  Weekly: "weekly",
769
766
  Monthly: "monthly"
770
- }, at = e.string().enum(rt).lock(), l = {
767
+ }, at = e.string().enum(rt).lock(), u = {
771
768
  /** 预约 */
772
769
  Preregister: "preregister",
773
770
  /** 抽奖 */
@@ -814,7 +811,7 @@ const v = {
814
811
  Ugc: "ugc",
815
812
  /** 投稿点赞 */
816
813
  UgcLike: "ugc_like"
817
- }, ot = e.string().enum(l).lock(), it = {
814
+ }, ot = e.string().enum(u).lock(), it = {
818
815
  /** 累计游戏内活跃值 */
819
816
  Active: "player_active_points",
820
817
  /** 累计登录,单位 人天 */
@@ -855,7 +852,7 @@ const v = {
855
852
  Failed: "failed",
856
853
  /** 奖励已发货 */
857
854
  Delivered: "delivered"
858
- }, ma = e.string().enum(d).lock(), lt = {
855
+ }, pa = e.string().enum(d).lock(), ut = {
859
856
  /** 奖励未领取 */
860
857
  Unclaimed: d.Unclaimed,
861
858
  /** 奖励已领取 */
@@ -864,7 +861,7 @@ const v = {
864
861
  Failed: d.Failed,
865
862
  /** 奖励已发货 */
866
863
  Delivered: d.Delivered
867
- }, ne = e.string().enum(lt).lock(), ut = {
864
+ }, ne = e.string().enum(ut).lock(), lt = {
868
865
  /** 未获得奖励 */
869
866
  Ineligible: d.Ineligible,
870
867
  /** 奖励未领取 */
@@ -875,7 +872,7 @@ const v = {
875
872
  Failed: d.Failed,
876
873
  /** 奖励已发货 */
877
874
  Delivered: d.Delivered
878
- }, U = e.string().enum(ut).lock(), mt = {
875
+ }, P = e.string().enum(lt).lock(), mt = {
879
876
  /** 玩法产出奖励 */
880
877
  Output: "output",
881
878
  /** 玩法参与奖励 */
@@ -896,7 +893,7 @@ const v = {
896
893
  Claimed: "claimed",
897
894
  /** 领奖失败 */
898
895
  Fail: "fail"
899
- }, da = e.string().enum(w).lock(), pt = {
896
+ }, _a = e.string().enum(w).lock(), pt = {
900
897
  /** 发起组队 */
901
898
  Assemble: "assemble",
902
899
  /** 加入队伍 */
@@ -907,14 +904,14 @@ const v = {
907
904
  ChangeVisibility: "change_visibility",
908
905
  /** 查询组队信息 */
909
906
  Query: "query"
910
- }, ga = e.string().enum(pt).lock(), _t = {
907
+ }, ba = e.string().enum(pt).lock(), _t = {
911
908
  /** 查询抽奖券 */
912
909
  Query: "query",
913
910
  /** 开奖 */
914
911
  Draw: "draw",
915
912
  /** 领奖 */
916
913
  Claim: "claim"
917
- }, pa = e.string().enum(_t).lock(), bt = {
914
+ }, ya = e.string().enum(_t).lock(), bt = {
918
915
  /** 将所有队员的进度值求和,作为队伍进度值 */
919
916
  Sum: "sum",
920
917
  /** 以进度值倒序排名第 N 的队员的进度值,作为队伍进度值。如果队伍人数不足 N,则队伍进度值为 0。N 的值来自于配置字段 top_n */
@@ -948,15 +945,15 @@ const v = {
948
945
  Accepted: "accepted",
949
946
  /** 已拒绝 */
950
947
  Rejected: "rejected"
951
- }, vt = e.string().enum(kt).lock(), Vt = e.string().enum(v), y = e.object({
948
+ }, vt = e.string().enum(kt).lock(), Ct = e.string().enum(v), y = e.object({
952
949
  reward_item_id: e.number(),
953
950
  reward_amount: e.number(),
954
951
  reward_item_name: e.string(),
955
952
  reward_item_icon_url: e.string(),
956
953
  reward_item_desc: e.string().optional(),
957
- reward_item_type: Vt,
954
+ reward_item_type: Ct,
958
955
  reward_item_rating: e.number()
959
- }).lock(), Ct = e.object({
956
+ }).lock(), Vt = e.object({
960
957
  engage_count: e.number(),
961
958
  rewards: e.array(y)
962
959
  }).lock(), Rt = e.union(
@@ -966,9 +963,9 @@ const v = {
966
963
  }),
967
964
  e.object({
968
965
  feature_reward_type: e.string().enum("regular"),
969
- reward_details: e.array(Ct)
966
+ reward_details: e.array(Vt)
970
967
  })
971
- ).satisfies().lock(), u = e.object({
968
+ ).satisfies().lock(), l = e.object({
972
969
  feature_name: e.string(),
973
970
  feature_id: e.number(),
974
971
  description: e.string(),
@@ -980,8 +977,8 @@ const v = {
980
977
  engage_account: nt,
981
978
  feature_rewards: Rt.clone().optional(),
982
979
  sort: e.number().optional()
983
- }), jt = l.Cashback, Tt = e.object({
984
- ...u.shape,
980
+ }), jt = u.Cashback, Tt = e.object({
981
+ ...l.shape,
985
982
  feature_type: e.string().enum(jt),
986
983
  config: e.object({
987
984
  order_start_time: e.number(),
@@ -989,24 +986,24 @@ const v = {
989
986
  claim_rewards_start_time: e.number(),
990
987
  claim_rewards_end_time: e.number()
991
988
  })
992
- }), qt = l.CheckIn, xt = e.object({
993
- ...u.shape,
989
+ }), qt = u.CheckIn, xt = e.object({
990
+ ...l.shape,
994
991
  feature_type: e.string().enum(qt)
995
- }), Lt = l.ClaimActivationKey, St = e.object({
996
- ...u.shape,
992
+ }), Lt = u.ClaimActivationKey, St = e.object({
993
+ ...l.shape,
997
994
  feature_type: e.string().enum(Lt)
998
- }), Pt = l.ClaimRewards, Ut = e.object({
999
- ...u.shape,
1000
- feature_type: e.string().enum(Pt)
1001
- }), Et = l.Comment, $t = e.object({
1002
- ...u.shape,
995
+ }), Ut = u.ClaimRewards, Pt = e.object({
996
+ ...l.shape,
997
+ feature_type: e.string().enum(Ut)
998
+ }), Et = u.Comment, $t = e.object({
999
+ ...l.shape,
1003
1000
  feature_type: e.string().enum(Et),
1004
1001
  config: e.object({
1005
1002
  comments: e.array(e.string()),
1006
1003
  send_rate: e.number()
1007
1004
  })
1008
- }), Ft = l.Follow, It = e.object({
1009
- ...u.shape,
1005
+ }), Ft = u.Follow, It = e.object({
1006
+ ...l.shape,
1010
1007
  feature_type: e.string().enum(Ft),
1011
1008
  config: e.object({
1012
1009
  platform: e.string(),
@@ -1015,28 +1012,28 @@ const v = {
1015
1012
  qr_code_url: e.string().optional(),
1016
1013
  platform_desc: e.string().optional()
1017
1014
  })
1018
- }), Dt = l.GiftCode, At = e.object({
1015
+ }), Dt = u.GiftCode, Gt = e.object({
1019
1016
  name: e.string(),
1020
1017
  icon_url: e.string(),
1021
1018
  count: e.number()
1022
- }), Gt = e.object({
1023
- ...u.shape,
1019
+ }), At = e.object({
1020
+ ...l.shape,
1024
1021
  feature_type: e.string().enum(Dt),
1025
1022
  config: e.object({
1026
- gift_items: e.array(At),
1023
+ gift_items: e.array(Gt),
1027
1024
  mp_url: e.string().optional(),
1028
1025
  mp_qrcode_url: e.string().optional()
1029
1026
  })
1030
- }), Ot = l.Invite, Nt = e.object({
1031
- ...u.shape,
1027
+ }), Ot = u.Invite, Nt = e.object({
1028
+ ...l.shape,
1032
1029
  feature_type: e.string().enum(Ot),
1033
1030
  config: e.object({
1034
1031
  share_url: e.string()
1035
1032
  })
1036
- }), Qt = l.InvitedRegister, Bt = e.object({
1037
- ...u.shape,
1033
+ }), Qt = u.InvitedRegister, Bt = e.object({
1034
+ ...l.shape,
1038
1035
  feature_type: e.string().enum(Qt)
1039
- }), Mt = e.string().enum(P(v, "GiftCode", "LotteryTicket")), Kt = l.Lottery, Ht = e.object({
1036
+ }), Mt = e.string().enum(U(v, "GiftCode", "LotteryTicket")), Kt = u.Lottery, Ht = e.object({
1040
1037
  reward_item_id: e.number(),
1041
1038
  reward_item_name: e.string(),
1042
1039
  reward_item_type: Mt,
@@ -1046,7 +1043,7 @@ const v = {
1046
1043
  reward_remaining_stock: e.number(),
1047
1044
  reward_item_rating: e.number()
1048
1045
  }), zt = e.object({
1049
- ...u.shape,
1046
+ ...l.shape,
1050
1047
  feature_type: e.string().enum(Kt),
1051
1048
  config: e.object({
1052
1049
  consume_item_id: e.number(),
@@ -1056,18 +1053,18 @@ const v = {
1056
1053
  consume_item_desc: e.string().optional(),
1057
1054
  rewards: e.array(Ht)
1058
1055
  })
1059
- }), Jt = l.LotteryDraw, Zt = e.object({
1060
- ...u.shape,
1056
+ }), Jt = u.LotteryDraw, Zt = e.object({
1057
+ ...l.shape,
1061
1058
  feature_type: e.string().enum(Jt),
1062
1059
  config: e.object({
1063
1060
  draw_not_before: e.number(),
1064
1061
  draw_not_after: e.number()
1065
1062
  })
1066
- }), Xt = l.Preregister, Yt = e.object({
1067
- ...u.shape,
1063
+ }), Xt = u.Preregister, Yt = e.object({
1064
+ ...l.shape,
1068
1065
  feature_type: e.string().enum(Xt)
1069
- }), Wt = l.Quest, en = e.object({
1070
- ...u.shape,
1066
+ }), Wt = u.Quest, en = e.object({
1067
+ ...l.shape,
1071
1068
  feature_type: e.string().enum(Wt),
1072
1069
  config: e.object({
1073
1070
  objective: te,
@@ -1085,51 +1082,51 @@ const v = {
1085
1082
  event_item_id: e.number().optional()
1086
1083
  }).optional()
1087
1084
  })
1088
- }), tn = l.Register, nn = e.object({
1089
- ...u.shape,
1085
+ }), tn = u.Register, nn = e.object({
1086
+ ...l.shape,
1090
1087
  feature_type: e.string().enum(tn)
1091
- }), rn = l.Share, an = e.object({
1092
- ...u.shape,
1088
+ }), rn = u.Share, an = e.object({
1089
+ ...l.shape,
1093
1090
  feature_type: e.string().enum(rn),
1094
1091
  config: e.object({
1095
1092
  share_platform: e.string(),
1096
1093
  jump_url: e.string().optional(),
1097
1094
  icon_url: e.string().optional()
1098
1095
  })
1099
- }), on = l.Subscribe, sn = e.object({
1100
- ...u.shape,
1096
+ }), on = u.Subscribe, sn = e.object({
1097
+ ...l.shape,
1101
1098
  feature_type: e.string().enum(on),
1102
1099
  config: e.object({
1103
1100
  weixin_template_ids: e.array(e.string())
1104
1101
  })
1105
- }), cn = l.Survey, ln = e.object({
1106
- ...u.shape,
1102
+ }), cn = u.Survey, un = e.object({
1103
+ ...l.shape,
1107
1104
  feature_type: e.string().enum(cn),
1108
1105
  config: e.object({
1109
1106
  survey_id: e.string(),
1110
1107
  survey_url: e.string()
1111
1108
  })
1112
- }), un = l.Team, mn = e.object({
1113
- ...u.shape,
1114
- feature_type: e.string().enum(un),
1109
+ }), ln = u.Team, mn = e.object({
1110
+ ...l.shape,
1111
+ feature_type: e.string().enum(ln),
1115
1112
  config: e.object({
1116
1113
  max_members: e.number().min(1),
1117
1114
  min_members: e.number().min(1)
1118
1115
  })
1119
- }), dn = l.Ugc, gn = e.object({
1120
- ...u.shape,
1116
+ }), dn = u.Ugc, gn = e.object({
1117
+ ...l.shape,
1121
1118
  feature_type: e.string().enum(dn),
1122
1119
  config: e.object({
1123
1120
  allowed_social_medias: e.array(e.string()).optional(),
1124
1121
  acceptance_rewards: e.array(y).optional()
1125
1122
  })
1126
- }), pn = l.UgcLike, _n = e.object({
1127
- ...u.shape,
1123
+ }), pn = u.UgcLike, _n = e.object({
1124
+ ...l.shape,
1128
1125
  feature_type: e.string().enum(pn),
1129
1126
  config: e.object({
1130
1127
  ugc_feature_id: e.number()
1131
1128
  })
1132
- }), bn = l.Vote, yn = e.object({
1129
+ }), bn = u.Vote, yn = e.object({
1133
1130
  sn: e.string(),
1134
1131
  name: e.string(),
1135
1132
  img_urls: e.array(e.string()).optional(),
@@ -1140,7 +1137,7 @@ const v = {
1140
1137
  finalists: e.bool(),
1141
1138
  last_vote_time: e.number()
1142
1139
  }), hn = e.object({
1143
- ...u.shape,
1140
+ ...l.shape,
1144
1141
  feature_type: e.string().enum(bn),
1145
1142
  config: e.object({
1146
1143
  vote_feature_ids: e.array(e.number()),
@@ -1150,7 +1147,7 @@ const v = {
1150
1147
  options: e.array(yn),
1151
1148
  rewards: e.array(y)
1152
1149
  })
1153
- }), fn = l.Vote2, wn = e.object({
1150
+ }), fn = u.Vote2, wn = e.object({
1154
1151
  candidate_id: e.string(),
1155
1152
  display_name: e.string(),
1156
1153
  images: e.array(e.string()).optional(),
@@ -1158,7 +1155,7 @@ const v = {
1158
1155
  description: e.string().optional(),
1159
1156
  jump_url: e.string()
1160
1157
  }), kn = e.object({
1161
- ...u.shape,
1158
+ ...l.shape,
1162
1159
  feature_type: e.string().enum(fn),
1163
1160
  config: e.object({
1164
1161
  vote_item_id: e.number().optional(),
@@ -1170,16 +1167,16 @@ const v = {
1170
1167
  winner_rewards: e.array(y).optional(),
1171
1168
  consolation_rewards: e.array(y).optional()
1172
1169
  })
1173
- }), vn = l.ZeroChatgpt, Vn = e.object({
1174
- ...u.shape,
1170
+ }), vn = u.ZeroChatgpt, Cn = e.object({
1171
+ ...l.shape,
1175
1172
  feature_type: e.string().enum(vn)
1176
- }), Cn = e.union(
1173
+ }), Vn = e.union(
1177
1174
  Tt,
1178
1175
  xt,
1179
- Ut,
1176
+ Pt,
1180
1177
  $t,
1181
1178
  It,
1182
- Gt,
1179
+ At,
1183
1180
  Nt,
1184
1181
  Bt,
1185
1182
  zt,
@@ -1189,12 +1186,12 @@ const v = {
1189
1186
  nn,
1190
1187
  an,
1191
1188
  sn,
1192
- ln,
1189
+ un,
1193
1190
  mn,
1194
1191
  hn,
1195
1192
  kn,
1196
1193
  St,
1197
- Vn,
1194
+ Cn,
1198
1195
  gn,
1199
1196
  _n
1200
1197
  ).key("feature_type").satisfies(), Rn = e.object({
@@ -1203,7 +1200,7 @@ const v = {
1203
1200
  since: e.number(),
1204
1201
  until: e.number(),
1205
1202
  visit_count: e.number().optional(),
1206
- features: e.array(Cn)
1203
+ features: e.array(Vn)
1207
1204
  }).lock(), q = e.union(e.string().pattern("NumberString", /^\d+$/), e.number()), ae = e.object({
1208
1205
  order_total_amount: q,
1209
1206
  cashback_total_amount: q,
@@ -1218,7 +1215,7 @@ const v = {
1218
1215
  avatar_url: e.string().optional()
1219
1216
  }), xn = e.object({
1220
1217
  lottery_count: e.number()
1221
- }), V = e.object({
1218
+ }), C = e.object({
1222
1219
  reward_id: e.number(),
1223
1220
  reward_item_id: e.number(),
1224
1221
  reward_source: E,
@@ -1228,7 +1225,7 @@ const v = {
1228
1225
  reward_item_desc: e.string().optional(),
1229
1226
  reward_item_rating: e.number(),
1230
1227
  reward_amount: e.number(),
1231
- reward_status: U,
1228
+ reward_status: P,
1232
1229
  event_id: e.number(),
1233
1230
  event_name: e.string(),
1234
1231
  feature_id: e.number(),
@@ -1243,12 +1240,12 @@ const v = {
1243
1240
  }),
1244
1241
  e.object({
1245
1242
  ticket: e.string(),
1246
- status: e.string().enum(P(w, "Unknown", "Pending")),
1247
- reward: V
1243
+ status: e.string().enum(U(w, "Unknown", "Pending")),
1244
+ reward: C
1248
1245
  })
1249
- ).satisfies(), Pn = e.object({
1246
+ ).satisfies(), Un = e.object({
1250
1247
  tickets: e.array(Sn)
1251
- }), Un = e.object({
1248
+ }), Pn = e.object({
1252
1249
  platforms: e.array(e.string())
1253
1250
  }), oe = e.object({
1254
1251
  role_name: e.string(),
@@ -1276,16 +1273,16 @@ const v = {
1276
1273
  weixin_openid: e.string()
1277
1274
  }), Dn = e.object({
1278
1275
  serial_number: e.number()
1279
- }), An = e.object({
1276
+ }), Gn = e.object({
1280
1277
  team_code: e.string(),
1281
1278
  leader_name: e.string(),
1282
1279
  total_members: e.number()
1283
- }), _a = e.object({
1280
+ }), ha = e.object({
1284
1281
  is_leader: e.bool(),
1285
1282
  is_myself: e.bool().optional(),
1286
1283
  role_name: e.string(),
1287
1284
  server_name: e.string()
1288
- }), Gn = e.object({
1285
+ }), An = e.object({
1289
1286
  team_code: e.string(),
1290
1287
  visibility: gt,
1291
1288
  members: e.array(
@@ -1325,10 +1322,12 @@ const v = {
1325
1322
  ).optional(),
1326
1323
  next_token: e.string().optional()
1327
1324
  }), Qn = e.object({
1325
+ total_count: e.number()
1326
+ }), Bn = e.object({
1328
1327
  existed: e.bool(),
1329
1328
  upload_url: e.string().optional(),
1330
1329
  image_url: e.string()
1331
- }), Bn = e.object({
1330
+ }), Mn = e.object({
1332
1331
  ugcs: e.array(
1333
1332
  e.object({
1334
1333
  ugc_id: e.number(),
@@ -1341,27 +1340,27 @@ const v = {
1341
1340
  role_name: e.string().optional()
1342
1341
  })
1343
1342
  ).optional()
1344
- }), Mn = e.object({
1345
- option_sn: e.string()
1346
1343
  }), Kn = e.object({
1344
+ option_sn: e.string()
1345
+ }), Hn = e.object({
1347
1346
  candidate_id: e.string(),
1348
1347
  total_votes: e.number().optional(),
1349
1348
  my_votes: e.number().optional(),
1350
1349
  votes: e.number().optional()
1351
- }), Hn = e.object({
1352
- rewards_type: ft,
1353
- rewards: e.array(V).optional()
1354
1350
  }), zn = e.object({
1351
+ rewards_type: ft,
1352
+ rewards: e.array(C).optional()
1353
+ }), Jn = e.object({
1355
1354
  candidate_id: e.string(),
1356
1355
  is_winner: e.bool(),
1357
1356
  total_votes: e.number(),
1358
1357
  my_votes: e.number()
1359
- }), Jn = e.object({
1358
+ }), Zn = e.object({
1360
1359
  role: e.string(),
1361
1360
  content: e.string()
1362
- }), Zn = e.object({
1363
- conversations: e.array(Jn)
1364
1361
  }), Xn = e.object({
1362
+ conversations: e.array(Zn)
1363
+ }), Yn = e.object({
1365
1364
  user_id: e.string(),
1366
1365
  name: e.string(),
1367
1366
  avatar_url: e.string(),
@@ -1369,27 +1368,27 @@ const v = {
1369
1368
  video_note: e.number(),
1370
1369
  created_at: e.number()
1371
1370
  }), $ = e.union(
1372
- Un,
1371
+ Pn,
1373
1372
  xn,
1374
1373
  Dn,
1375
1374
  qn,
1376
1375
  Fn,
1377
- Mn,
1378
1376
  Kn,
1377
+ Hn,
1379
1378
  In,
1380
1379
  ae,
1381
1380
  Tn,
1382
- Gn,
1381
+ An,
1383
1382
  En,
1384
- Pn,
1383
+ Un,
1385
1384
  jn,
1386
- Zn,
1385
+ Xn,
1387
1386
  On,
1388
1387
  e.custom(
1389
1388
  "EmptyObject",
1390
1389
  (i) => h(i) && Object.keys(i).length === 0
1391
1390
  )
1392
- ).satisfies().lock(), Yn = e.object({
1391
+ ).satisfies().lock(), Wn = e.object({
1393
1392
  reward_id: e.number(),
1394
1393
  reward_item_id: e.number(),
1395
1394
  reward_item_type: ee,
@@ -1402,7 +1401,7 @@ const v = {
1402
1401
  reward_item_rating: e.number(),
1403
1402
  receive_time: e.number(),
1404
1403
  extra_data: e.union(...$.validators, e.record(e.unknown())).satisfies().optional()
1405
- }), Wn = e.object({
1404
+ }), er = e.object({
1406
1405
  reward_id: e.number(),
1407
1406
  reward_item_id: e.number(),
1408
1407
  reward_item_name: e.string(),
@@ -1414,7 +1413,7 @@ const v = {
1414
1413
  reward_status: ne,
1415
1414
  reward_source: E,
1416
1415
  extra_data: e.record(e.unknown()).optional()
1417
- }), er = e.object({
1416
+ }), tr = e.object({
1418
1417
  engagement_id: e.number(),
1419
1418
  user_id: e.string(),
1420
1419
  event_id: e.number(),
@@ -1424,18 +1423,18 @@ const v = {
1424
1423
  server_id: e.string().optional(),
1425
1424
  role_id: e.string().optional(),
1426
1425
  created_at: e.number(),
1427
- rewards: e.array(Yn).optional()
1428
- }).lock(), tr = e.object({
1426
+ rewards: e.array(Wn).optional()
1427
+ }).lock(), nr = e.object({
1429
1428
  allowed: e.bool(),
1430
1429
  registered: e.bool()
1431
- }), nr = e.object({
1430
+ }), rr = e.object({
1432
1431
  feature_id: e.number(),
1433
1432
  can_engage: e.bool(),
1434
1433
  has_unclaimed_rewards: e.bool(),
1435
1434
  final_available_count: e.number(),
1436
1435
  total_remaining_engagements: e.number(),
1437
1436
  cycle_remaining_engagements: e.number()
1438
- }), rr = e.object({
1437
+ }), ar = e.object({
1439
1438
  engagement_id: e.number(),
1440
1439
  engagement: e.object({
1441
1440
  engagement_id: e.number(),
@@ -1443,41 +1442,43 @@ const v = {
1443
1442
  feature_id: e.number(),
1444
1443
  data: $.clone().optional()
1445
1444
  }).optional(),
1446
- rewards: e.array(Wn).optional(),
1445
+ rewards: e.array(er).optional(),
1447
1446
  scan: e.bool().optional()
1448
- }), ar = e.object({
1447
+ }), or = e.object({
1449
1448
  reward_id: e.number(),
1450
- reward_status: U
1451
- }), or = e.guard(Rn), ir = e.guard(tr), x = s({ count: e.number() }), sr = s({ first_visit: e.bool() }), cr = s({
1452
- engagements: e.union(e.array(Xn), e.array(An))
1449
+ reward_status: P
1450
+ }), ir = e.guard(Rn), sr = e.guard(nr), x = s({ count: e.number() }), cr = s({ first_visit: e.bool() }), ur = s({
1451
+ engagements: e.union(e.array(Yn), e.array(Gn))
1453
1452
  }), lr = s({
1454
- status: e.array(nr)
1455
- }), ur = s({
1456
- engagements_counts: e.record(e.number())
1453
+ status: e.array(rr)
1457
1454
  }), mr = s({
1458
- engagements: e.array(er),
1455
+ engagements_counts: e.record(e.number())
1456
+ }), dr = s({
1457
+ engagements: e.array(tr),
1459
1458
  next_token: e.string().optional()
1460
- }), dr = e.guard(rr), gr = s({
1461
- claimed_items: e.array(ar)
1462
- }), pr = s({
1463
- rewards: e.array(V)
1459
+ }), gr = e.guard(ar), pr = s({
1460
+ claimed_items: e.array(or)
1464
1461
  }), _r = s({
1465
- reward_status: U
1462
+ rewards: e.array(C)
1466
1463
  }), br = s({
1467
- user_rewards: e.array(V),
1468
- next_token: e.string().optional()
1464
+ reward_status: P
1469
1465
  }), yr = s({
1470
- scene: e.string()
1466
+ user_rewards: e.array(C),
1467
+ next_token: e.string().optional()
1471
1468
  }), hr = s({
1472
- params: e.string()
1469
+ unclaimed: e.number()
1473
1470
  }), fr = s({
1471
+ scene: e.string()
1472
+ }), wr = s({
1473
+ params: e.string()
1474
+ }), kr = s({
1474
1475
  img: e.string()
1475
- }), wr = e.guard($n), kr = e.guard(Hn), vr = e.guard(
1476
+ }), vr = e.guard($n), Cr = e.guard(zn), Vr = e.guard(
1476
1477
  e.object({
1477
- candidate_votes: e.array(zn)
1478
+ candidate_votes: e.array(Jn)
1478
1479
  })
1479
- ), Vr = e.guard(ae), M = e.guard(Nn), Cr = e.guard(Qn), Rr = e.guard(Bn);
1480
- class ba {
1480
+ ), Rr = e.guard(ae), M = e.guard(Nn), jr = e.guard(Qn), Tr = e.guard(Bn), qr = e.guard(Mn);
1481
+ class fa {
1481
1482
  token;
1482
1483
  event = 0;
1483
1484
  req;
@@ -1490,7 +1491,7 @@ class ba {
1490
1491
  * https://kdocs.cn/l/cf2mO2uRLqh9?linkname=OWGSPF3Ysl
1491
1492
  */
1492
1493
  async verifyMobileAllowed(t, n, r) {
1493
- const { data: a } = await this.req.get("verify-mobile-allowed", ir, {
1494
+ const { data: a } = await this.req.get("verify-mobile-allowed", sr, {
1494
1495
  ...r,
1495
1496
  params: { game_id: t, mobile: n }
1496
1497
  });
@@ -1502,7 +1503,7 @@ class ba {
1502
1503
  * https://kdocs.cn/l/ckWFDcOsYEUA?linkname=wFXxtdNKPm
1503
1504
  */
1504
1505
  async getConfig(t) {
1505
- const { data: n } = await this.req.get(`event/${this.event}/event-config`, or, t);
1506
+ const { data: n } = await this.req.get(`event/${this.event}/event-config`, ir, t);
1506
1507
  return n;
1507
1508
  }
1508
1509
  /**
@@ -1537,7 +1538,7 @@ class ba {
1537
1538
  * https://kdocs.cn/l/ckWFDcOsYEUA?linkname=THtZ4ewIQW
1538
1539
  */
1539
1540
  async getEngagements(t, n) {
1540
- const { data: r } = await this.req.get(`event/${this.event}/feature-engagements`, cr, {
1541
+ const { data: r } = await this.req.get(`event/${this.event}/feature-engagements`, ur, {
1541
1542
  ...n,
1542
1543
  params: { feature_id: t }
1543
1544
  });
@@ -1553,7 +1554,7 @@ class ba {
1553
1554
  const { data: r, code: a, message: o } = await this.req.post(
1554
1555
  `event/${this.event}/visit`,
1555
1556
  c(t || {}),
1556
- sr,
1557
+ cr,
1557
1558
  n
1558
1559
  );
1559
1560
  return r ?? {
@@ -1584,7 +1585,7 @@ class ba {
1584
1585
  */
1585
1586
  async getUserEngagementCount(t, n) {
1586
1587
  if (!await this.token.autoLogin()) return {};
1587
- const { data: r } = await this.req.get("event/user-engagements-count", ur, {
1588
+ const { data: r } = await this.req.get("event/user-engagements-count", mr, {
1588
1589
  message: !1,
1589
1590
  params: c({ ...n, event_id: this.event, feature_id: t })
1590
1591
  });
@@ -1603,7 +1604,7 @@ class ba {
1603
1604
  engagements: [],
1604
1605
  next_token: ""
1605
1606
  };
1606
- const { data: a } = await this.req.get("event/user-engagements", mr, {
1607
+ const { data: a } = await this.req.get("event/user-engagements", dr, {
1607
1608
  ...r,
1608
1609
  params: c({
1609
1610
  max_results: 20,
@@ -1635,7 +1636,7 @@ class ba {
1635
1636
  engagement: n,
1636
1637
  ...r
1637
1638
  }),
1638
- dr,
1639
+ gr,
1639
1640
  a
1640
1641
  );
1641
1642
  return o ?? {
@@ -1658,7 +1659,7 @@ class ba {
1658
1659
  ...t,
1659
1660
  server_id: t.server_id ? +t.server_id : void 0
1660
1661
  }),
1661
- gr,
1662
+ pr,
1662
1663
  n
1663
1664
  );
1664
1665
  return r?.claimed_items || {
@@ -1679,7 +1680,7 @@ class ba {
1679
1680
  ...t,
1680
1681
  server_id: t.server_id ? +t.server_id : void 0
1681
1682
  }),
1682
- pr,
1683
+ _r,
1683
1684
  n
1684
1685
  );
1685
1686
  return r?.rewards || {
@@ -1697,7 +1698,7 @@ class ba {
1697
1698
  const { data: r, code: a, message: o } = await this.req.post(
1698
1699
  "event/claim-weixin-hongbao",
1699
1700
  { reward_id: t },
1700
- _r,
1701
+ br,
1701
1702
  n
1702
1703
  );
1703
1704
  return r || {
@@ -1738,7 +1739,7 @@ class ba {
1738
1739
  const { data: r } = await this.req.post(
1739
1740
  "event/user-rewards",
1740
1741
  c({ max_results: 20, ...t, event_id: this.event }),
1741
- br,
1742
+ yr,
1742
1743
  n
1743
1744
  );
1744
1745
  return {
@@ -1746,6 +1747,24 @@ class ba {
1746
1747
  next_token: r?.next_token || ""
1747
1748
  };
1748
1749
  }
1750
+ /**
1751
+ * 查询用户奖励数量,目前仅返回未领取的奖励数量
1752
+ *
1753
+ * https://www.kdocs.cn/l/ckWFDcOsYEUA?linkname=jrFbyZ3UWN
1754
+ */
1755
+ async getUserRewardsCount(t, n) {
1756
+ if (!await this.token.autoLogin())
1757
+ return {
1758
+ unclaimed: 0
1759
+ };
1760
+ const { data: r } = await this.req.get("event/user-rewards-count", hr, {
1761
+ ...n,
1762
+ params: c({ ...t })
1763
+ });
1764
+ return {
1765
+ unclaimed: r?.unclaimed || 0
1766
+ };
1767
+ }
1749
1768
  /**
1750
1769
  * 查询用户活动道具数量。💡 注意,这里只能是活动道具
1751
1770
  *
@@ -1786,7 +1805,7 @@ class ba {
1786
1805
  */
1787
1806
  async getUnlimitQrcodeScene(t, n) {
1788
1807
  if (!await this.token.autoLogin()) return null;
1789
- const { data: r } = await this.req.get("event/unlimit-qrcode-scene", yr, {
1808
+ const { data: r } = await this.req.get("event/unlimit-qrcode-scene", fr, {
1790
1809
  ...n,
1791
1810
  params: { params: t }
1792
1811
  });
@@ -1800,7 +1819,7 @@ class ba {
1800
1819
  * @param scene - 小程序码 scene 值
1801
1820
  */
1802
1821
  async getParamsByQrcodeScene(t, n) {
1803
- const { data: r } = await this.req.get("event/params-by-qrcode-scene", hr, {
1822
+ const { data: r } = await this.req.get("event/params-by-qrcode-scene", wr, {
1804
1823
  ...n,
1805
1824
  params: { scene: t }
1806
1825
  });
@@ -1816,7 +1835,7 @@ class ba {
1816
1835
  const { data: r } = await this.req.post(
1817
1836
  "event/unlimit-qrcode",
1818
1837
  c(t),
1819
- fr,
1838
+ kr,
1820
1839
  n
1821
1840
  );
1822
1841
  return r?.img ?? null;
@@ -1828,7 +1847,7 @@ class ba {
1828
1847
  */
1829
1848
  async getQuestProgress(t, n) {
1830
1849
  if (!await this.token.autoLogin()) return null;
1831
- const { data: r, code: a, message: o } = await this.req.get(`event/${this.event}/quest-progress`, wr, {
1850
+ const { data: r, code: a, message: o } = await this.req.get(`event/${this.event}/quest-progress`, vr, {
1832
1851
  message: !1,
1833
1852
  ...n,
1834
1853
  params: { feature_id: t }
@@ -1850,7 +1869,7 @@ class ba {
1850
1869
  const { data: r, code: a, message: o } = await this.req.post(
1851
1870
  "event/vote2/rewards",
1852
1871
  { feature_id: t, event_id: this.event },
1853
- kr,
1872
+ Cr,
1854
1873
  n
1855
1874
  );
1856
1875
  return r || {
@@ -1865,7 +1884,7 @@ class ba {
1865
1884
  */
1866
1885
  async getVote2Leaderboard(t, n) {
1867
1886
  if (!await this.token.autoLogin()) return [];
1868
- const { data: r } = await this.req.get("event/vote2/leaderboard", vr, {
1887
+ const { data: r } = await this.req.get("event/vote2/leaderboard", Vr, {
1869
1888
  ...n,
1870
1889
  params: { feature_id: t, event_id: this.event }
1871
1890
  });
@@ -1878,7 +1897,7 @@ class ba {
1878
1897
  */
1879
1898
  async getCashbackQuery(t, n) {
1880
1899
  if (!await this.token.autoLogin()) return null;
1881
- const { data: r, code: a, message: o } = await this.req.get("event/cashback/query", Vr, {
1900
+ const { data: r, code: a, message: o } = await this.req.get("event/cashback/query", Rr, {
1882
1901
  ...n,
1883
1902
  params: { feature_id: t, event_id: this.event }
1884
1903
  });
@@ -1906,6 +1925,24 @@ class ba {
1906
1925
  error: a
1907
1926
  };
1908
1927
  }
1928
+ /**
1929
+ * 查询用户投稿数量
1930
+ *
1931
+ * https://www.kdocs.cn/l/ckWFDcOsYEUA?linkname=U0sYIGPzDk
1932
+ */
1933
+ async getUgcMyCount(t, n) {
1934
+ if (!await this.token.autoLogin()) return null;
1935
+ const { data: r, code: a, message: o } = await this.req.get("event/ugc/my-count", jr, {
1936
+ ...n,
1937
+ params: {
1938
+ ...t
1939
+ }
1940
+ });
1941
+ return r || {
1942
+ message: o,
1943
+ error: a
1944
+ };
1945
+ }
1909
1946
  /**
1910
1947
  * 媒体资源预上传地址获取,为投稿玩法(UGC)提供 S3 预签名上传 URL,供用户客户端上传图片资源
1911
1948
  *
@@ -1920,7 +1957,7 @@ class ba {
1920
1957
  const { data: a, code: o, message: g } = await this.req.post(
1921
1958
  "event/ugc/upload-image",
1922
1959
  { feature_id: t, ...n, event_id: this.event },
1923
- Cr,
1960
+ Tr,
1924
1961
  r
1925
1962
  );
1926
1963
  return a || {
@@ -1959,7 +1996,7 @@ class ba {
1959
1996
  */
1960
1997
  async getUgcLeaderboard(t, n) {
1961
1998
  if (!await this.token.autoLogin()) return null;
1962
- const { data: r, code: a, message: o } = await this.req.get("event/ugc/leaderboard", Rr, {
1999
+ const { data: r, code: a, message: o } = await this.req.get("event/ugc/leaderboard", qr, {
1963
2000
  ...n,
1964
2001
  params: {
1965
2002
  feature_id: t,
@@ -1972,12 +2009,12 @@ class ba {
1972
2009
  };
1973
2010
  }
1974
2011
  }
1975
- const jr = {
2012
+ const xr = {
1976
2013
  /** 所有人均可以发帖 */
1977
2014
  All: "all",
1978
2015
  /** 指定用户可发帖 */
1979
2016
  Limit: "limit"
1980
- }, Tr = e.string().enum(jr).lock(), qr = {
2017
+ }, Lr = e.string().enum(xr).lock(), Sr = {
1981
2018
  /** 待审核(仅自己可见) */
1982
2019
  Pending: "pending",
1983
2020
  /** 审核通过 */
@@ -1986,14 +2023,14 @@ const jr = {
1986
2023
  Failed: "failed",
1987
2024
  /** 嫌疑(仅自己可见) */
1988
2025
  Suspect: "suspect"
1989
- }, ie = e.string().enum(qr).lock(), xr = {
2026
+ }, ie = e.string().enum(Sr).lock(), Ur = {
1990
2027
  /** 系统通知 */
1991
2028
  System: "system",
1992
2029
  /** 评论我的 */
1993
2030
  Comment: "comment",
1994
2031
  /** 点赞通知 */
1995
2032
  Like: "like"
1996
- }, ya = e.string().enum(xr).lock(), m = {
2033
+ }, wa = e.string().enum(Ur).lock(), m = {
1997
2034
  /** 系统通知 */
1998
2035
  System: "system",
1999
2036
  /** 帖子被置顶 */
@@ -2018,13 +2055,13 @@ const jr = {
2018
2055
  ReplyLiked: "reply_liked",
2019
2056
  /** 回复被删除 */
2020
2057
  ReplyDeleted: "reply_deleted"
2021
- }, Lr = e.string().enum(m).lock(), se = e.object({
2058
+ }, Pr = e.string().enum(m).lock(), se = e.object({
2022
2059
  forum_id: e.number(),
2023
2060
  icon_url: e.string(),
2024
2061
  name: e.string(),
2025
2062
  tags: e.array(e.string()),
2026
2063
  sort: e.number(),
2027
- mode: Tr,
2064
+ mode: Lr,
2028
2065
  member_ids: e.array(e.number())
2029
2066
  }).lock(), F = e.object({
2030
2067
  topic_id: e.number(),
@@ -2055,13 +2092,13 @@ const jr = {
2055
2092
  create_time: e.number()
2056
2093
  }).lock(), ce = e.object({
2057
2094
  err_msg: e.string().optional()
2058
- }).optional().lock(), Sr = e.object({
2095
+ }).optional().lock(), Er = e.object({
2059
2096
  reply_id: e.number(),
2060
2097
  reply_content: e.string().optional(),
2061
2098
  replied_by: e.string(),
2062
2099
  nickname: e.string(),
2063
2100
  avatar_url: e.string()
2064
- }).lock(), C = e.object({
2101
+ }).lock(), V = e.object({
2065
2102
  reply_id: e.number(),
2066
2103
  comment_id: e.number(),
2067
2104
  comment_content: e.string().optional(),
@@ -2074,7 +2111,7 @@ const jr = {
2074
2111
  content: e.string(),
2075
2112
  like_num: e.number(),
2076
2113
  liked: e.bool(),
2077
- reply_to: Sr,
2114
+ reply_to: Er,
2078
2115
  create_time: e.number()
2079
2116
  }).lock(), k = e.object({
2080
2117
  comment_id: e.number(),
@@ -2095,20 +2132,20 @@ const jr = {
2095
2132
  image_url: e.string(),
2096
2133
  create_time: e.number(),
2097
2134
  status: ie,
2098
- replies: e.array(C).optional()
2099
- }).lock(), Pr = e.object({
2135
+ replies: e.array(V).optional()
2136
+ }).lock(), $r = e.object({
2100
2137
  image_url: e.string(),
2101
2138
  upload_url: e.string(),
2102
2139
  existed: e.bool()
2103
2140
  }).lock(), b = e.object({
2104
2141
  notification_id: e.string(),
2105
- notification_type: Lr,
2142
+ notification_type: Pr,
2106
2143
  is_read: e.bool(),
2107
2144
  create_time: e.number(),
2108
2145
  origin_user_id: e.string(),
2109
2146
  origin_user_name: e.string(),
2110
2147
  origin_user_avatar_url: e.string()
2111
- }).lock(), Ur = e.object({
2148
+ }).lock(), Fr = e.object({
2112
2149
  system_message_subject: e.string(),
2113
2150
  system_message_content: e.string()
2114
2151
  }).lock(), D = e.object({
@@ -2119,14 +2156,14 @@ const jr = {
2119
2156
  }).lock(), R = e.object({
2120
2157
  comment_id: e.number(),
2121
2158
  comment_content: e.string()
2122
- }).lock(), A = e.object({
2159
+ }).lock(), G = e.object({
2123
2160
  reply_id: e.number(),
2124
2161
  reply_content: e.string()
2125
- }).lock(), Er = e.object({
2162
+ }).lock(), Ir = e.object({
2126
2163
  ...b.shape,
2127
- ...Ur.shape,
2164
+ ...Fr.shape,
2128
2165
  notification_type: e.string().enum(m.System)
2129
- }), $r = e.object({
2166
+ }), Dr = e.object({
2130
2167
  ...b.shape,
2131
2168
  ...D.shape,
2132
2169
  notification_type: e.string().enum(
@@ -2135,68 +2172,68 @@ const jr = {
2135
2172
  m.PostDeleted,
2136
2173
  m.PostLiked
2137
2174
  )
2138
- }), Fr = e.object({
2175
+ }), Gr = e.object({
2139
2176
  ...b.shape,
2140
2177
  ...D.shape,
2141
2178
  ...R.shape,
2142
2179
  notification_type: e.string().enum(m.PostCommented)
2143
- }), Ir = e.object({
2180
+ }), Ar = e.object({
2144
2181
  ...b.shape,
2145
2182
  ...R.shape,
2146
- ...A.shape,
2183
+ ...G.shape,
2147
2184
  notification_type: e.string().enum(m.CommentReplied)
2148
- }), Dr = e.object({
2185
+ }), Or = e.object({
2149
2186
  ...b.shape,
2150
2187
  ...R.shape,
2151
2188
  ...D.shape,
2152
2189
  notification_type: e.string().enum(m.CommentLiked, m.CommentDeleted)
2153
- }), Ar = e.object({
2190
+ }), Nr = e.object({
2154
2191
  ...b.shape,
2155
- ...A.shape,
2192
+ ...G.shape,
2156
2193
  notification_type: e.string().enum(m.ReplyReplied),
2157
2194
  comment_id: e.number(),
2158
2195
  reply_to_reply_id: e.number(),
2159
2196
  reply_to_reply_content: e.string()
2160
- }), Gr = e.object({
2197
+ }), Qr = e.object({
2161
2198
  ...b.shape,
2162
- ...A.shape,
2199
+ ...G.shape,
2163
2200
  ...R.shape,
2164
2201
  notification_type: e.string().enum(m.ReplyLiked, m.ReplyDeleted)
2165
- }), Or = e.union(
2166
- Er,
2167
- $r,
2168
- Fr,
2202
+ }), Br = e.union(
2169
2203
  Ir,
2170
2204
  Dr,
2205
+ Gr,
2171
2206
  Ar,
2172
- Gr
2173
- ).satisfies().lock(), Nr = s({ forums: e.array(se) }), Qr = s({ topics: e.array(F) }), Br = s({ topic: F }), Mr = s({ post: I }), K = s({
2207
+ Or,
2208
+ Nr,
2209
+ Qr
2210
+ ).satisfies().lock(), Mr = s({ forums: e.array(se) }), Kr = s({ topics: e.array(F) }), Hr = s({ topic: F }), zr = s({ post: I }), K = s({
2174
2211
  posts: e.array(I),
2175
2212
  next_token: e.string().optional()
2176
- }), Kr = s({
2213
+ }), Jr = s({
2177
2214
  post: I.clone().optional(),
2178
2215
  antispam: ce.clone().optional()
2179
- }), Hr = s({
2180
- replies: e.array(C),
2216
+ }), Zr = s({
2217
+ replies: e.array(V),
2181
2218
  next_token: e.string().optional()
2182
- }), zr = s({ reply: C }), Jr = s({
2183
- reply: C.clone().optional(),
2219
+ }), Xr = s({ reply: V }), Yr = s({
2220
+ reply: V.clone().optional(),
2184
2221
  antispam: ce.clone().optional()
2185
- }), Zr = s({ comment: k }), Xr = s({
2222
+ }), Wr = s({ comment: k }), ea = s({
2186
2223
  comments: e.array(k),
2187
2224
  next_token: e.string().optional()
2188
- }), Yr = s({
2225
+ }), ta = s({
2189
2226
  comment: k.clone().optional(),
2190
2227
  antispam: k.clone().optional()
2191
- }), Wr = e.guard(Pr), ea = s({
2192
- notifications: e.array(Or),
2228
+ }), na = e.guard($r), ra = s({
2229
+ notifications: e.array(Br),
2193
2230
  next_token: e.string().optional()
2194
- }), ta = s({
2231
+ }), aa = s({
2195
2232
  system: e.number(),
2196
2233
  comment: e.number(),
2197
2234
  like: e.number()
2198
2235
  });
2199
- class ha {
2236
+ class ka {
2200
2237
  token;
2201
2238
  req;
2202
2239
  constructor(t) {
@@ -2208,7 +2245,7 @@ class ha {
2208
2245
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=QaqUa2K0z0
2209
2246
  */
2210
2247
  async getForums(t) {
2211
- const { data: n } = await this.req.get("community/forums", Nr, t);
2248
+ const { data: n } = await this.req.get("community/forums", Mr, t);
2212
2249
  return n?.forums || [];
2213
2250
  }
2214
2251
  /**
@@ -2217,7 +2254,7 @@ class ha {
2217
2254
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=mIwpymAQom
2218
2255
  */
2219
2256
  async getTopics(t) {
2220
- const { data: n } = await this.req.get("community/topics", Qr, t);
2257
+ const { data: n } = await this.req.get("community/topics", Kr, t);
2221
2258
  return n?.topics || [];
2222
2259
  }
2223
2260
  /**
@@ -2226,7 +2263,7 @@ class ha {
2226
2263
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=Jvw7xMK31K
2227
2264
  */
2228
2265
  async getTopic(t, n) {
2229
- const { data: r, code: a } = await this.req.get("community/topic", Br, {
2266
+ const { data: r, code: a } = await this.req.get("community/topic", Hr, {
2230
2267
  ...n,
2231
2268
  params: { topic_id: t }
2232
2269
  });
@@ -2268,7 +2305,7 @@ class ha {
2268
2305
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=hj1AZy5rcP
2269
2306
  */
2270
2307
  async getPost(t, n) {
2271
- const { data: r, code: a, message: o } = await this.req.get("community/post", Mr, {
2308
+ const { data: r, code: a, message: o } = await this.req.get("community/post", zr, {
2272
2309
  ...n,
2273
2310
  params: { post_id: t }
2274
2311
  });
@@ -2286,7 +2323,7 @@ class ha {
2286
2323
  const { data: r, code: a, message: o } = await this.req.post(
2287
2324
  "community/post",
2288
2325
  c(t),
2289
- Kr,
2326
+ Jr,
2290
2327
  n
2291
2328
  );
2292
2329
  return r ?? {
@@ -2300,7 +2337,7 @@ class ha {
2300
2337
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=djKbX7lFdp
2301
2338
  */
2302
2339
  async getComments(t, n) {
2303
- const { data: r, code: a, message: o } = await this.req.get("community/comments", Xr, {
2340
+ const { data: r, code: a, message: o } = await this.req.get("community/comments", ea, {
2304
2341
  ...n,
2305
2342
  params: c(t)
2306
2343
  });
@@ -2315,7 +2352,7 @@ class ha {
2315
2352
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=RIc7oxVGae
2316
2353
  */
2317
2354
  async getComment(t, n) {
2318
- const { data: r, code: a, message: o } = await this.req.get("community/comment", Zr, {
2355
+ const { data: r, code: a, message: o } = await this.req.get("community/comment", Wr, {
2319
2356
  ...n,
2320
2357
  params: { comment_id: t }
2321
2358
  });
@@ -2334,7 +2371,7 @@ class ha {
2334
2371
  const { data: r, code: a, message: o } = await this.req.post(
2335
2372
  "community/comment",
2336
2373
  c(t),
2337
- Yr,
2374
+ ta,
2338
2375
  n
2339
2376
  );
2340
2377
  return r ?? {
@@ -2348,7 +2385,7 @@ class ha {
2348
2385
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=sVKBbY83MY
2349
2386
  */
2350
2387
  async getReplies(t, n) {
2351
- const { data: r } = await this.req.get("community/replies", Hr, {
2388
+ const { data: r } = await this.req.get("community/replies", Zr, {
2352
2389
  ...n,
2353
2390
  params: c({ max_results: 20, ...t })
2354
2391
  });
@@ -2363,7 +2400,7 @@ class ha {
2363
2400
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=kxhcSXD3MG
2364
2401
  */
2365
2402
  async getReply(t, n) {
2366
- const { data: r, code: a, message: o } = await this.req.get("community/reply", zr, {
2403
+ const { data: r, code: a, message: o } = await this.req.get("community/reply", Xr, {
2367
2404
  ...n,
2368
2405
  params: { reply_id: t }
2369
2406
  });
@@ -2382,7 +2419,7 @@ class ha {
2382
2419
  const { data: r, code: a, message: o } = await this.req.post(
2383
2420
  "community/reply",
2384
2421
  c(t),
2385
- Jr,
2422
+ Yr,
2386
2423
  n
2387
2424
  );
2388
2425
  return r ?? {
@@ -2433,7 +2470,7 @@ class ha {
2433
2470
  */
2434
2471
  async getMediaPresignedUrl(t, n) {
2435
2472
  await this.token.autoLogin();
2436
- const { data: r } = await this.req.get("community/media-presign-url", Wr, {
2473
+ const { data: r } = await this.req.get("community/media-presign-url", na, {
2437
2474
  ...n,
2438
2475
  params: t
2439
2476
  });
@@ -2448,7 +2485,7 @@ class ha {
2448
2485
  */
2449
2486
  async getNotifications(t, n) {
2450
2487
  await this.token.autoLogin();
2451
- const { data: r } = await this.req.get("community/notifications", ea, {
2488
+ const { data: r } = await this.req.get("community/notifications", ra, {
2452
2489
  ...n,
2453
2490
  params: c({ max_results: 20, ...t })
2454
2491
  });
@@ -2466,7 +2503,7 @@ class ha {
2466
2503
  if (!await this.token.autoLogin()) return null;
2467
2504
  const { data: n } = await this.req.get(
2468
2505
  "community/unread-notifications-count",
2469
- ta,
2506
+ aa,
2470
2507
  t
2471
2508
  );
2472
2509
  return n;
@@ -2482,17 +2519,17 @@ class ha {
2482
2519
  return r;
2483
2520
  }
2484
2521
  }
2485
- const na = s({
2522
+ const oa = s({
2486
2523
  nonce_str: e.string(),
2487
2524
  timestamp: e.number(),
2488
2525
  signature: e.string()
2489
2526
  });
2490
- var ra = /* @__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))(ra || {});
2527
+ var ia = /* @__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))(ia || {});
2491
2528
  function L(i) {
2492
2529
  return h(i, "open_id", "union_id", "weixin_token");
2493
2530
  }
2494
2531
  const H = "wx_login_cache";
2495
- class fa {
2532
+ class va {
2496
2533
  token;
2497
2534
  $appid;
2498
2535
  req;
@@ -2582,7 +2619,7 @@ class fa {
2582
2619
  async webLogin(t = "snsapi_userinfo", n) {
2583
2620
  const r = S("code"), a = Date.now(), o = +S("state");
2584
2621
  if (!r || !o || o < a - 1e3 * 60 * 5 || o > a) {
2585
- const me = G(["code", "state"]);
2622
+ const me = A(["code", "state"]);
2586
2623
  location.replace(
2587
2624
  `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${this.appid}&redirect_uri=${encodeURIComponent(me)}&response_type=code&scope=${t}&state=${a}#wechat_redirect`
2588
2625
  );
@@ -2593,16 +2630,16 @@ class fa {
2593
2630
  message: "Error: " + r,
2594
2631
  error: r
2595
2632
  };
2596
- const g = G(["code", "state"]);
2633
+ const g = A(["code", "state"]);
2597
2634
  "replaceState" in history && history.replaceState({}, "", g);
2598
2635
  const {
2599
2636
  data: p,
2600
- code: le,
2601
- message: ue
2637
+ code: ue,
2638
+ message: le
2602
2639
  } = await this.req.post("weixin/login", { code: r, appid: this.appid }, L, n);
2603
2640
  return p && (this.token.weixinToken = p.weixin_token, await this.token.autoLogin()), p ?? {
2604
- message: ue,
2605
- error: le
2641
+ message: le,
2642
+ error: ue
2606
2643
  };
2607
2644
  }
2608
2645
  /**
@@ -2632,7 +2669,7 @@ class fa {
2632
2669
  * https://kdocs.cn/l/cf2mO2uRLqh9?linkname=CuWOqxr9Ue
2633
2670
  */
2634
2671
  async getJSSDKConfig(t) {
2635
- const { data: n } = await this.req.get("weixin/offiaccount/jssdk-sign", na, {
2672
+ const { data: n } = await this.req.get("weixin/offiaccount/jssdk-sign", oa, {
2636
2673
  ...t,
2637
2674
  params: {
2638
2675
  appid: this.appid,
@@ -2649,48 +2686,48 @@ class fa {
2649
2686
  }
2650
2687
  export {
2651
2688
  ce as AntispamValidator,
2652
- sa as AuthToken,
2653
- zn as CandidateVoteValidator,
2689
+ la as AuthToken,
2690
+ Jn as CandidateVoteValidator,
2654
2691
  ae as CashbackEngagementDataValidator,
2655
2692
  jn as ClaimActivationKeyEngagementDataValidator,
2656
- ut as ClaimRewardStatus,
2657
- U as ClaimRewardStatusValidator,
2658
- ar as ClaimedItemValidator,
2693
+ lt as ClaimRewardStatus,
2694
+ P as ClaimRewardStatusValidator,
2695
+ or as ClaimedItemValidator,
2659
2696
  Z as ClubAddressValidator,
2660
- la as ClubApi,
2697
+ da as ClubApi,
2661
2698
  X as ClubBenefitSummaryValidator,
2662
2699
  Oe as ClubBenefitValidator,
2663
2700
  qe as ClubCreditChangeScene,
2664
2701
  xe as ClubCreditChangeSceneValidator,
2665
2702
  je as ClubCreditChangeType,
2666
2703
  Te as ClubCreditChangeTypeValidator,
2667
- Ge as ClubCreditLogValidator,
2668
- Ue as ClubGlobalConfigValidator,
2704
+ Ae as ClubCreditLogValidator,
2705
+ Pe as ClubGlobalConfigValidator,
2669
2706
  Le as ClubItemType,
2670
2707
  z as ClubItemTypeValidator,
2671
2708
  Ee as ClubPlayerValidator,
2672
2709
  Y as ClubProductValidator,
2673
2710
  Se as ClubRedemptionStatus,
2674
- Pe as ClubRedemptionStatusValidator,
2675
- Ae as ClubUserCreditValidator,
2711
+ Ue as ClubRedemptionStatusValidator,
2712
+ Ge as ClubUserCreditValidator,
2676
2713
  De as ClubUserProfileValidator,
2677
- Xn as CommentEngagementValidator,
2714
+ Yn as CommentEngagementValidator,
2678
2715
  k as CommentValidator,
2679
- ha as CommunityApi,
2680
- Jn as ConversationValidator,
2716
+ ka as CommunityApi,
2717
+ Zn as ConversationValidator,
2681
2718
  tt as EngageAccountType,
2682
2719
  nt as EngageAccountTypeValidator,
2683
- rr as EngageResponseValidator,
2684
- Wn as EngageRewardValidator,
2685
- ba as EventApi,
2720
+ ar as EngageResponseValidator,
2721
+ er as EngageRewardValidator,
2722
+ fa as EventApi,
2686
2723
  Rn as EventConfigValidator,
2687
2724
  Tt as EventFeatureConfigOfCashbackValidator,
2688
2725
  xt as EventFeatureConfigOfCheckInValidator,
2689
2726
  St as EventFeatureConfigOfClaimActivationKeyValidator,
2690
- Ut as EventFeatureConfigOfClaimRewardsValidator,
2727
+ Pt as EventFeatureConfigOfClaimRewardsValidator,
2691
2728
  $t as EventFeatureConfigOfCommentValidator,
2692
2729
  It as EventFeatureConfigOfFollowValidator,
2693
- Gt as EventFeatureConfigOfGiftCodeValidator,
2730
+ At as EventFeatureConfigOfGiftCodeValidator,
2694
2731
  Nt as EventFeatureConfigOfInviteValidator,
2695
2732
  Bt as EventFeatureConfigOfInvitedRegisterValidator,
2696
2733
  Zt as EventFeatureConfigOfLotteryDrawValidator,
@@ -2700,115 +2737,116 @@ export {
2700
2737
  nn as EventFeatureConfigOfRegisterValidator,
2701
2738
  an as EventFeatureConfigOfShareValidator,
2702
2739
  sn as EventFeatureConfigOfSubscribeValidator,
2703
- ln as EventFeatureConfigOfSurveyValidator,
2740
+ un as EventFeatureConfigOfSurveyValidator,
2704
2741
  mn as EventFeatureConfigOfTeamValidator,
2705
2742
  _n as EventFeatureConfigOfUgcLikeValidator,
2706
2743
  gn as EventFeatureConfigOfUgcValidator,
2707
2744
  kn as EventFeatureConfigOfVote2Validator,
2708
2745
  hn as EventFeatureConfigOfVoteValidator,
2709
- Cn as EventFeatureConfigValidator,
2746
+ Vn as EventFeatureConfigValidator,
2710
2747
  rt as EventPeriodType,
2711
2748
  at as EventPeriodTypeValidator,
2712
2749
  y as EventRewardItemConfigValidator,
2713
2750
  Qe as ExtraGameRewardValidator,
2714
2751
  Ne as ExtraPhysicalShipmentValidator,
2715
2752
  Rt as FeatureRewardValidator,
2716
- l as FeatureType,
2753
+ u as FeatureType,
2717
2754
  ot as FeatureTypeValidator,
2718
- jr as ForumMode,
2719
- Tr as ForumModeValidator,
2755
+ xr as ForumMode,
2756
+ Lr as ForumModeValidator,
2720
2757
  se as ForumValidator,
2721
2758
  v as GamerItemType,
2722
2759
  W as GamerItemTypeValidator,
2723
- Ce as Gender,
2760
+ Ve as Gender,
2724
2761
  Re as GenderValidator,
2725
2762
  Tn as GiftCodeEngagementDataValidator,
2726
2763
  qn as InviteEngagementDataValidator,
2727
2764
  _t as LotteryDrawAction,
2728
- pa as LotteryDrawActionValidator,
2729
- Pn as LotteryDrawEngagementDataValidator,
2765
+ ya as LotteryDrawActionValidator,
2766
+ Un as LotteryDrawEngagementDataValidator,
2730
2767
  xn as LotteryEngagementDataValidator,
2731
2768
  w as LotteryTicketStatus,
2732
- da as LotteryTicketStatusValidator,
2769
+ _a as LotteryTicketStatusValidator,
2733
2770
  b as NotificationBaseValidator,
2734
- xr as NotificationCategory,
2735
- ya as NotificationCategoryValidator,
2736
- Ir as NotificationCommentReplyValidator,
2737
- Dr as NotificationCommentValidator,
2771
+ Ur as NotificationCategory,
2772
+ wa as NotificationCategoryValidator,
2773
+ Ar as NotificationCommentReplyValidator,
2774
+ Or as NotificationCommentValidator,
2738
2775
  R as NotificationPayloadCommentValidator,
2739
2776
  D as NotificationPayloadPostValidator,
2740
- A as NotificationPayloadReplyValidator,
2741
- Ur as NotificationPayloadSystemValidator,
2742
- Fr as NotificationPostCommentValidator,
2743
- $r as NotificationPostValidator,
2744
- Ar as NotificationReplyRepliedValidator,
2745
- Gr as NotificationReplyValidator,
2746
- Er as NotificationSystemValidator,
2777
+ G as NotificationPayloadReplyValidator,
2778
+ Fr as NotificationPayloadSystemValidator,
2779
+ Gr as NotificationPostCommentValidator,
2780
+ Dr as NotificationPostValidator,
2781
+ Nr as NotificationReplyRepliedValidator,
2782
+ Qr as NotificationReplyValidator,
2783
+ Ir as NotificationSystemValidator,
2747
2784
  m as NotificationType,
2748
- Lr as NotificationTypeValidator,
2749
- Or as NotificationValidator,
2785
+ Pr as NotificationTypeValidator,
2786
+ Br as NotificationValidator,
2750
2787
  Ie as PlayerRoleCardValidator,
2751
2788
  J as PlayerRoleValidator,
2752
- qr as PostStatus,
2789
+ Sr as PostStatus,
2753
2790
  ie as PostStatusValidator,
2754
2791
  I as PostValidator,
2755
- Un as PreregisterEngagementDataValidator,
2756
- Pr as PresignedUrlResponseValidator,
2792
+ Pn as PreregisterEngagementDataValidator,
2793
+ $r as PresignedUrlResponseValidator,
2757
2794
  En as QuestEngagementDataValidator,
2758
2795
  it as QuestObjective,
2759
2796
  te as QuestObjectiveValidator,
2760
2797
  bt as QuestProgressAlgorithm,
2761
2798
  yt as QuestProgressAlgorithmValidator,
2762
2799
  $n as QuestProgressValidator,
2763
- ca as RedeemParamsValidator,
2800
+ ma as RedeemParamsValidator,
2764
2801
  Be as RedemptionValidator,
2765
- Ct as RegularRewardValidator,
2766
- Sr as ReplyToValidator,
2767
- C as ReplyValidator,
2768
- ua as RewardItemType,
2802
+ Vt as RegularRewardValidator,
2803
+ Er as ReplyToValidator,
2804
+ V as ReplyValidator,
2805
+ ga as RewardItemType,
2769
2806
  ee as RewardItemTypeValidator,
2770
2807
  mt as RewardSource,
2771
2808
  E as RewardSourceValidator,
2772
2809
  d as RewardStatus,
2773
- lt as RewardStatusSuffix,
2810
+ ut as RewardStatusSuffix,
2774
2811
  ne as RewardStatusSuffixValidator,
2775
- ma as RewardStatusValidator,
2776
- Yn as RewardValidator,
2812
+ pa as RewardStatusValidator,
2813
+ Wn as RewardValidator,
2777
2814
  Fe as RoleBaseInfoValidator,
2778
2815
  $e as ServerBaseInfoValidator,
2779
2816
  Fn as ShareEngagementDataValidator,
2780
2817
  Dn as SurveyEngagementDataValidator,
2781
2818
  pt as TeamAction,
2782
- ga as TeamActionValidator,
2783
- Gn as TeamEngagementDataValidator,
2784
- An as TeamEngagementValidator,
2785
- _a as TeamMemberValidator,
2819
+ ba as TeamActionValidator,
2820
+ An as TeamEngagementDataValidator,
2821
+ Gn as TeamEngagementValidator,
2822
+ ha as TeamMemberValidator,
2786
2823
  dt as TeamVisibility,
2787
2824
  gt as TeamVisibilityValidator,
2788
2825
  F as TopicValidator,
2826
+ Qn as UgcCountResponseValidator,
2789
2827
  On as UgcEngagementDataValidator,
2790
- Bn as UgcLeaderboardResponseValidator,
2828
+ Mn as UgcLeaderboardResponseValidator,
2791
2829
  Nn as UgcRecordResponseValidator,
2792
2830
  kt as UgcReviewStatus,
2793
2831
  vt as UgcReviewStatusValidator,
2794
2832
  wt as UgcSocialMedia,
2795
2833
  re as UgcSocialMediaValidator,
2796
- Qn as UgcUploadImageValidator,
2834
+ Bn as UgcUploadImageValidator,
2797
2835
  $ as UserEngagementDataValidator,
2798
- er as UserEngagementValidator,
2799
- nr as UserFeatureStatusValidator,
2800
- V as UserRewardValidator,
2801
- tr as VerifyMobileResultValidator,
2802
- Hn as Vote2ClaimRewardsResponseValidator,
2803
- Kn as Vote2EngagementDataValidator,
2836
+ tr as UserEngagementValidator,
2837
+ rr as UserFeatureStatusValidator,
2838
+ C as UserRewardValidator,
2839
+ nr as VerifyMobileResultValidator,
2840
+ zn as Vote2ClaimRewardsResponseValidator,
2841
+ Hn as Vote2EngagementDataValidator,
2804
2842
  ht as Vote2RewardType,
2805
2843
  ft as Vote2RewardTypeValidator,
2806
- Mn as VoteEngagementDataValidator,
2844
+ Kn as VoteEngagementDataValidator,
2807
2845
  st as VoteOptionSource,
2808
2846
  ct as VoteOptionSourceValidator,
2809
- fa as WeixinApi,
2847
+ va as WeixinApi,
2810
2848
  In as WeixinSubscribeEngagementDataValidator,
2811
- ra as WeixinWebLoginErrorCode,
2812
- Zn as ZeroChatGPTDataValidator,
2813
- na as isWeixinSignResponse
2849
+ ia as WeixinWebLoginErrorCode,
2850
+ Xn as ZeroChatGPTDataValidator,
2851
+ oa as isWeixinSignResponse
2814
2852
  };