@seayoo-web/gamer-api 2.15.7 → 2.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,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 U, parseJSON as ye, removePara as O } from "@seayoo-web/utils";
2
+ import { isPlainObject as h, supportWx as p, 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 O } 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";
@@ -38,7 +38,7 @@ const ve = {
38
38
  }, Re = {
39
39
  get(i) {
40
40
  try {
41
- if (_()) return wx.getStorageSync(i) || "";
41
+ if (p()) return wx.getStorageSync(i) || "";
42
42
  } catch (t) {
43
43
  j.error("getStorageSyncError", t);
44
44
  }
@@ -46,20 +46,20 @@ const ve = {
46
46
  },
47
47
  set(i, t) {
48
48
  try {
49
- _() && wx.setStorageSync(i, t);
49
+ p() && wx.setStorageSync(i, t);
50
50
  } catch (n) {
51
51
  j.error("setStorageSyncError", n);
52
52
  }
53
53
  },
54
54
  remove(i) {
55
55
  try {
56
- _() && wx.removeStorageSync(i);
56
+ p() && wx.removeStorageSync(i);
57
57
  } catch (t) {
58
58
  j.error("removeStorageSync", t);
59
59
  }
60
60
  }
61
61
  }, f = "gamer_token";
62
- class ha {
62
+ class ya {
63
63
  $NetRequest;
64
64
  $idToken = "";
65
65
  $weixinToken = "";
@@ -67,7 +67,7 @@ class ha {
67
67
  req;
68
68
  storage;
69
69
  constructor(t, n) {
70
- this.storage = _() ? Re : ve;
70
+ this.storage = p() ? Re : 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`,
@@ -168,7 +168,7 @@ class ha {
168
168
  async autoLogin() {
169
169
  if (this.gamerToken)
170
170
  return !0;
171
- const t = _();
171
+ const t = p();
172
172
  if (!this.idToken || t && !this.weixinToken)
173
173
  return !1;
174
174
  const { code: n, data: r } = await this.req.post(
@@ -197,7 +197,7 @@ class ha {
197
197
  * https://www.kdocs.cn/l/cf2mO2uRLqh9?linkname=ifQTBNrckh
198
198
  */
199
199
  async switchGame(t) {
200
- const n = _();
200
+ const n = p();
201
201
  if (!this.idToken || n && !this.weixinToken)
202
202
  return !1;
203
203
  const { code: r, data: a } = await this.req.post(
@@ -209,11 +209,7 @@ class ha {
209
209
  maxRetry: 2
210
210
  }
211
211
  );
212
- switch (r) {
213
- case "game_not_allowed":
214
- return !1;
215
- }
216
- return this.gamerToken = a?.gamer_token || "", !!this.gamerToken;
212
+ return r === "game_not_allowed" ? !1 : (this.gamerToken = a?.gamer_token || "", !!this.gamerToken);
217
213
  }
218
214
  /**
219
215
  * 获取当前登录用户的 Session 的信息
@@ -401,7 +397,7 @@ const Ce = {
401
397
  }).lock(), Oe = e.object({
402
398
  ...U(Y.shape, "tag"),
403
399
  product: W.clone().optional()
404
- }).lock(), fa = e.union(
400
+ }).lock(), ha = e.union(
405
401
  e.object({
406
402
  server_id: e.string(),
407
403
  role_id: e.string()
@@ -447,7 +443,7 @@ const Ce = {
447
443
  image_upload_url: e.string().optional(),
448
444
  image_id: e.string()
449
445
  });
450
- class wa {
446
+ class fa {
451
447
  token;
452
448
  req;
453
449
  constructor(t) {
@@ -763,7 +759,7 @@ const v = {
763
759
  ExternalCode: "external_gift_code",
764
760
  /** 空奖励 */
765
761
  VoidItem: "void_item"
766
- }, ee = e.string().enum(v).lock(), ka = v, te = ee, tt = {
762
+ }, ee = e.string().enum(v).lock(), wa = v, te = ee, tt = {
767
763
  /** 世游通行证 ID / Combo ID */
768
764
  UserId: "user_id",
769
765
  /** 游戏角色 ID */
@@ -856,7 +852,7 @@ const v = {
856
852
  UserSubmission: "user_submission",
857
853
  /** 投票入围 */
858
854
  Shortlisted: "shortlisted"
859
- }, ct = e.string().enum(st).lock(), g = {
855
+ }, ct = e.string().enum(st).lock(), y = {
860
856
  /** 未获得奖励 */
861
857
  Ineligible: "ineligible",
862
858
  /** 奖励未领取 */
@@ -867,39 +863,28 @@ const v = {
867
863
  Failed: "failed",
868
864
  /** 奖励已发货 */
869
865
  Delivered: "delivered"
870
- }, va = e.string().enum(g).lock(), ut = {
866
+ }, re = e.string().enum(y).lock(), ut = {
871
867
  /** 未获得奖励 */
872
- Ineligible: g.Ineligible,
868
+ Ineligible: y.Ineligible,
873
869
  /** 奖励未领取 */
874
- Unclaimed: g.Unclaimed,
870
+ Unclaimed: y.Unclaimed,
875
871
  /** 奖励已领取 */
876
- Received: g.Received,
872
+ Received: y.Received,
877
873
  /** 奖励发放失败 */
878
- Failed: g.Failed,
874
+ Failed: y.Failed,
879
875
  /** 奖励已发货 */
880
- Delivered: g.Delivered
881
- }, re = e.string().enum(ut).lock(), lt = {
882
- /** 未获得奖励 */
883
- Ineligible: g.Ineligible,
884
- /** 奖励未领取 */
885
- Unclaimed: g.Unclaimed,
886
- /** 奖励已领取 */
887
- Received: g.Received,
888
- /** 奖励发放失败 */
889
- Failed: g.Failed,
890
- /** 奖励已发货 */
891
- Delivered: g.Delivered
892
- }, P = e.string().enum(lt).lock(), mt = {
876
+ Delivered: y.Delivered
877
+ }, P = e.string().enum(ut).lock(), lt = {
893
878
  /** 玩法产出奖励 */
894
879
  Output: "output",
895
880
  /** 玩法参与奖励 */
896
881
  Engage: "engage"
897
- }, E = e.string().enum(mt).lock(), dt = {
882
+ }, E = e.string().enum(lt).lock(), mt = {
898
883
  /** 私有队伍 */
899
884
  Private: "private",
900
885
  /** 公开队伍 */
901
886
  Public: "public"
902
- }, gt = e.string().enum(dt).lock(), w = {
887
+ }, dt = e.string().enum(mt).lock(), w = {
903
888
  /** 未知状态 */
904
889
  Unknown: "unknown",
905
890
  /** 等待开奖 */
@@ -910,7 +895,7 @@ const v = {
910
895
  Claimed: "claimed",
911
896
  /** 领奖失败 */
912
897
  Fail: "fail"
913
- }, Ra = e.string().enum(w).lock(), pt = {
898
+ }, ka = e.string().enum(w).lock(), gt = {
914
899
  /** 发起组队 */
915
900
  Assemble: "assemble",
916
901
  /** 加入队伍 */
@@ -921,26 +906,26 @@ const v = {
921
906
  ChangeVisibility: "change_visibility",
922
907
  /** 查询组队信息 */
923
908
  Query: "query"
924
- }, Ca = e.string().enum(pt).lock(), _t = {
909
+ }, va = e.string().enum(gt).lock(), pt = {
925
910
  /** 查询抽奖券 */
926
911
  Query: "query",
927
912
  /** 开奖 */
928
913
  Draw: "draw",
929
914
  /** 领奖 */
930
915
  Claim: "claim"
931
- }, Va = e.string().enum(_t).lock(), bt = {
916
+ }, Ra = e.string().enum(pt).lock(), _t = {
932
917
  /** 将所有队员的进度值求和,作为队伍进度值 */
933
918
  Sum: "sum",
934
919
  /** 以进度值倒序排名第 N 的队员的进度值,作为队伍进度值。如果队伍人数不足 N,则队伍进度值为 0。N 的值来自于配置字段 top_n */
935
920
  TopN: "top_n"
936
- }, yt = e.string().enum(bt).lock(), ht = {
921
+ }, bt = e.string().enum(_t).lock(), yt = {
937
922
  /** 尚未结算 */
938
923
  None: "none",
939
924
  /** 获胜奖励 */
940
925
  Winner: "winner",
941
926
  /** 安慰奖励 */
942
927
  Consolation: "consolation"
943
- }, ft = e.string().enum(ht).lock(), wt = {
928
+ }, ht = e.string().enum(yt).lock(), ft = {
944
929
  /** 抖音 */
945
930
  Douyin: "douyin",
946
931
  /** 小红书 */
@@ -955,32 +940,32 @@ const v = {
955
940
  Huya: "huya",
956
941
  /** 斗鱼 */
957
942
  Douyu: "douyu"
958
- }, $ = e.string().enum(wt).lock(), kt = {
943
+ }, $ = e.string().enum(ft).lock(), wt = {
959
944
  /** 已提交 */
960
945
  Submitted: "submitted",
961
946
  /** 已接收 */
962
947
  Accepted: "accepted",
963
948
  /** 已拒绝 */
964
949
  Rejected: "rejected"
965
- }, vt = e.string().enum(kt).lock(), Rt = e.string().enum(v), b = e.object({
950
+ }, kt = e.string().enum(wt).lock(), vt = e.string().enum(v), _ = e.object({
966
951
  reward_item_id: e.number(),
967
952
  reward_amount: e.number(),
968
953
  reward_item_name: e.string(),
969
954
  reward_item_icon_url: e.string(),
970
955
  reward_item_desc: e.string().optional(),
971
- reward_item_type: Rt,
956
+ reward_item_type: vt,
972
957
  reward_item_rating: e.number()
973
- }).lock(), Ct = e.object({
958
+ }).lock(), Rt = e.object({
974
959
  engage_count: e.number(),
975
- rewards: e.array(b)
976
- }).lock(), Vt = e.union(
960
+ rewards: e.array(_)
961
+ }).lock(), Ct = e.union(
977
962
  e.object({
978
963
  feature_reward_type: e.string().enum("every"),
979
- reward_details: e.array(b)
964
+ reward_details: e.array(_)
980
965
  }),
981
966
  e.object({
982
967
  feature_reward_type: e.string().enum("regular"),
983
- reward_details: e.array(Ct)
968
+ reward_details: e.array(Rt)
984
969
  })
985
970
  ).satisfies().lock(), l = e.object({
986
971
  feature_name: e.string(),
@@ -992,36 +977,36 @@ const v = {
992
977
  since: e.number(),
993
978
  until: e.number(),
994
979
  engage_account: nt,
995
- feature_rewards: Vt.clone().optional(),
980
+ feature_rewards: Ct.clone().optional(),
996
981
  sort: e.number().optional()
997
- }), jt = u.Cashback, Tt = e.object({
982
+ }), Vt = u.Cashback, jt = e.object({
998
983
  ...l.shape,
999
- feature_type: e.string().enum(jt),
984
+ feature_type: e.string().enum(Vt),
1000
985
  config: e.object({
1001
986
  order_start_time: e.number(),
1002
987
  order_end_time: e.number(),
1003
988
  claim_rewards_start_time: e.number(),
1004
989
  claim_rewards_end_time: e.number()
1005
990
  })
1006
- }), qt = u.CheckIn, xt = e.object({
991
+ }), Tt = u.CheckIn, qt = e.object({
1007
992
  ...l.shape,
1008
- feature_type: e.string().enum(qt)
1009
- }), Lt = u.ClaimActivationKey, St = e.object({
993
+ feature_type: e.string().enum(Tt)
994
+ }), xt = u.ClaimActivationKey, Lt = e.object({
1010
995
  ...l.shape,
1011
- feature_type: e.string().enum(Lt)
1012
- }), Ut = u.ClaimRewards, Pt = e.object({
996
+ feature_type: e.string().enum(xt)
997
+ }), St = u.ClaimRewards, Ut = e.object({
1013
998
  ...l.shape,
1014
- feature_type: e.string().enum(Ut)
1015
- }), Et = u.Comment, $t = e.object({
999
+ feature_type: e.string().enum(St)
1000
+ }), Pt = u.Comment, Et = e.object({
1016
1001
  ...l.shape,
1017
- feature_type: e.string().enum(Et),
1002
+ feature_type: e.string().enum(Pt),
1018
1003
  config: e.object({
1019
1004
  comments: e.array(e.string()),
1020
1005
  send_rate: e.number()
1021
1006
  })
1022
- }), Ft = u.Follow, It = e.object({
1007
+ }), $t = u.Follow, Ft = e.object({
1023
1008
  ...l.shape,
1024
- feature_type: e.string().enum(Ft),
1009
+ feature_type: e.string().enum($t),
1025
1010
  config: e.object({
1026
1011
  platform: e.string(),
1027
1012
  platform_icon: e.string().optional(),
@@ -1029,67 +1014,67 @@ const v = {
1029
1014
  qr_code_url: e.string().optional(),
1030
1015
  platform_desc: e.string().optional()
1031
1016
  })
1032
- }), Dt = u.GiftCode, At = e.object({
1017
+ }), It = u.GiftCode, Dt = e.object({
1033
1018
  name: e.string(),
1034
1019
  icon_url: e.string(),
1035
1020
  count: e.number()
1036
- }), Gt = e.object({
1021
+ }), At = e.object({
1037
1022
  ...l.shape,
1038
- feature_type: e.string().enum(Dt),
1023
+ feature_type: e.string().enum(It),
1039
1024
  config: e.object({
1040
- gift_items: e.array(At),
1025
+ gift_items: e.array(Dt),
1041
1026
  mp_url: e.string().optional(),
1042
1027
  mp_qrcode_url: e.string().optional()
1043
1028
  })
1044
- }), Ot = u.Invite, Nt = e.object({
1029
+ }), Gt = u.Invite, Ot = e.object({
1045
1030
  ...l.shape,
1046
- feature_type: e.string().enum(Ot),
1031
+ feature_type: e.string().enum(Gt),
1047
1032
  config: e.object({
1048
1033
  share_url: e.string()
1049
1034
  })
1050
- }), Qt = u.InvitedRegister, Bt = e.object({
1035
+ }), Nt = u.InvitedRegister, Qt = e.object({
1051
1036
  ...l.shape,
1052
- feature_type: e.string().enum(Qt)
1053
- }), Mt = e.string().enum(U(v, "GiftCode", "LotteryTicket")), Kt = u.Lottery, Ht = e.object({
1037
+ feature_type: e.string().enum(Nt)
1038
+ }), Bt = e.string().enum(U(v, "GiftCode", "LotteryTicket")), Mt = u.Lottery, Kt = e.object({
1054
1039
  reward_item_id: e.number(),
1055
1040
  reward_item_name: e.string(),
1056
- reward_item_type: Mt,
1041
+ reward_item_type: Bt,
1057
1042
  reward_item_icon_url: e.string(),
1058
1043
  reward_item_desc: e.string().optional(),
1059
1044
  reward_amount: e.number(),
1060
1045
  reward_remaining_stock: e.number(),
1061
1046
  reward_item_rating: e.number()
1062
- }), zt = e.object({
1047
+ }), Ht = e.object({
1063
1048
  ...l.shape,
1064
- feature_type: e.string().enum(Kt),
1049
+ feature_type: e.string().enum(Mt),
1065
1050
  config: e.object({
1066
1051
  consume_item_id: e.number(),
1067
1052
  consume_item_name: e.string(),
1068
1053
  consume_item_icon_url: e.string(),
1069
1054
  consume_item_count: e.array(e.number()),
1070
1055
  consume_item_desc: e.string().optional(),
1071
- rewards: e.array(Ht)
1056
+ rewards: e.array(Kt)
1072
1057
  })
1073
- }), Jt = u.LotteryDraw, Zt = e.object({
1058
+ }), zt = u.LotteryDraw, Jt = e.object({
1074
1059
  ...l.shape,
1075
- feature_type: e.string().enum(Jt),
1060
+ feature_type: e.string().enum(zt),
1076
1061
  config: e.object({
1077
1062
  draw_not_before: e.number(),
1078
1063
  draw_not_after: e.number()
1079
1064
  })
1080
- }), Xt = u.Preregister, Yt = e.object({
1065
+ }), Zt = u.Preregister, Xt = e.object({
1081
1066
  ...l.shape,
1082
- feature_type: e.string().enum(Xt)
1083
- }), Wt = u.Quest, en = e.object({
1067
+ feature_type: e.string().enum(Zt)
1068
+ }), Yt = u.Quest, Wt = e.object({
1084
1069
  ...l.shape,
1085
- feature_type: e.string().enum(Wt),
1070
+ feature_type: e.string().enum(Yt),
1086
1071
  config: e.object({
1087
1072
  objective: ne,
1088
1073
  completion_value: e.number(),
1089
1074
  team: e.object({
1090
1075
  feature_id: e.number().optional(),
1091
1076
  completion_value: e.number(),
1092
- progress_algorithm: yt.clone().optional(),
1077
+ progress_algorithm: bt.clone().optional(),
1093
1078
  top_n: e.number().optional()
1094
1079
  }).optional(),
1095
1080
  config: e.object({
@@ -1099,62 +1084,62 @@ const v = {
1099
1084
  event_item_id: e.number().optional()
1100
1085
  }).optional()
1101
1086
  })
1102
- }), tn = u.Redeem, nn = e.object({
1087
+ }), en = u.Redeem, tn = e.object({
1103
1088
  price: e.number(),
1104
1089
  per_user_limit: e.number(),
1105
- item: b
1106
- }), rn = e.object({
1090
+ item: _
1091
+ }), nn = e.object({
1107
1092
  ...l.shape,
1108
- feature_type: e.string().enum(tn),
1093
+ feature_type: e.string().enum(en),
1109
1094
  config: e.object({
1110
1095
  event_item_id: e.number(),
1111
- redeem_catalog: e.array(nn)
1096
+ redeem_catalog: e.array(tn)
1112
1097
  })
1113
- }), an = u.Register, on = e.object({
1098
+ }), rn = u.Register, an = e.object({
1114
1099
  ...l.shape,
1115
- feature_type: e.string().enum(an)
1116
- }), sn = u.Share, cn = e.object({
1100
+ feature_type: e.string().enum(rn)
1101
+ }), on = u.Share, sn = e.object({
1117
1102
  ...l.shape,
1118
- feature_type: e.string().enum(sn),
1103
+ feature_type: e.string().enum(on),
1119
1104
  config: e.object({
1120
1105
  share_platform: e.string(),
1121
1106
  jump_url: e.string().optional(),
1122
1107
  icon_url: e.string().optional()
1123
1108
  })
1124
- }), un = u.Subscribe, ln = e.object({
1109
+ }), cn = u.Subscribe, un = e.object({
1125
1110
  ...l.shape,
1126
- feature_type: e.string().enum(un),
1111
+ feature_type: e.string().enum(cn),
1127
1112
  config: e.object({
1128
1113
  weixin_template_ids: e.array(e.string())
1129
1114
  })
1130
- }), mn = u.Survey, dn = e.object({
1115
+ }), ln = u.Survey, mn = e.object({
1131
1116
  ...l.shape,
1132
- feature_type: e.string().enum(mn),
1117
+ feature_type: e.string().enum(ln),
1133
1118
  config: e.object({
1134
1119
  survey_id: e.string(),
1135
1120
  survey_url: e.string()
1136
1121
  })
1137
- }), gn = u.Team, pn = e.object({
1122
+ }), dn = u.Team, gn = e.object({
1138
1123
  ...l.shape,
1139
- feature_type: e.string().enum(gn),
1124
+ feature_type: e.string().enum(dn),
1140
1125
  config: e.object({
1141
1126
  max_members: e.number().min(1),
1142
1127
  min_members: e.number().min(1)
1143
1128
  })
1144
- }), _n = u.Ugc, bn = e.object({
1129
+ }), pn = u.Ugc, _n = e.object({
1145
1130
  ...l.shape,
1146
- feature_type: e.string().enum(_n),
1131
+ feature_type: e.string().enum(pn),
1147
1132
  config: e.object({
1148
1133
  allowed_social_medias: e.array(e.string()).optional(),
1149
- acceptance_rewards: e.array(b).optional()
1134
+ acceptance_rewards: e.array(_).optional()
1150
1135
  })
1151
- }), yn = u.UgcLike, hn = e.object({
1136
+ }), bn = u.UgcLike, yn = e.object({
1152
1137
  ...l.shape,
1153
- feature_type: e.string().enum(yn),
1138
+ feature_type: e.string().enum(bn),
1154
1139
  config: e.object({
1155
1140
  ugc_feature_id: e.number()
1156
1141
  })
1157
- }), fn = u.Vote, wn = e.object({
1142
+ }), hn = u.Vote, fn = e.object({
1158
1143
  sn: e.string(),
1159
1144
  name: e.string(),
1160
1145
  img_urls: e.array(e.string()).optional(),
@@ -1164,85 +1149,85 @@ const v = {
1164
1149
  amount: e.number(),
1165
1150
  finalists: e.bool(),
1166
1151
  last_vote_time: e.number()
1167
- }), kn = e.object({
1152
+ }), wn = e.object({
1168
1153
  ...l.shape,
1169
- feature_type: e.string().enum(fn),
1154
+ feature_type: e.string().enum(hn),
1170
1155
  config: e.object({
1171
1156
  vote_feature_ids: e.array(e.number()),
1172
1157
  submission_feature_ids: e.array(e.number()),
1173
1158
  finalists_amount: e.number(),
1174
1159
  source: ct,
1175
- options: e.array(wn),
1176
- rewards: e.array(b)
1160
+ options: e.array(fn),
1161
+ rewards: e.array(_)
1177
1162
  })
1178
- }), vn = u.Vote2, Rn = e.object({
1163
+ }), kn = u.Vote2, vn = e.object({
1179
1164
  candidate_id: e.string(),
1180
1165
  display_name: e.string(),
1181
1166
  images: e.array(e.string()).optional(),
1182
1167
  videos: e.array(e.string()).optional(),
1183
1168
  description: e.string().optional(),
1184
1169
  jump_url: e.string()
1185
- }), Cn = e.object({
1170
+ }), Rn = e.object({
1186
1171
  ...l.shape,
1187
- feature_type: e.string().enum(vn),
1172
+ feature_type: e.string().enum(kn),
1188
1173
  config: e.object({
1189
1174
  vote_item_id: e.number().optional(),
1190
- candidates: e.array(Rn),
1175
+ candidates: e.array(vn),
1191
1176
  vote_since: e.number(),
1192
1177
  vote_until: e.number(),
1193
1178
  rewards_since: e.number(),
1194
1179
  rewards_until: e.number(),
1195
- winner_rewards: e.array(b).optional(),
1196
- consolation_rewards: e.array(b).optional()
1180
+ winner_rewards: e.array(_).optional(),
1181
+ consolation_rewards: e.array(_).optional()
1197
1182
  })
1198
- }), Vn = u.ZeroChatgpt, jn = e.object({
1183
+ }), Cn = u.ZeroChatgpt, Vn = e.object({
1199
1184
  ...l.shape,
1200
- feature_type: e.string().enum(Vn)
1201
- }), Tn = e.union(
1202
- Tt,
1203
- xt,
1204
- Pt,
1205
- $t,
1206
- It,
1207
- Gt,
1208
- Nt,
1209
- Bt,
1210
- zt,
1211
- Zt,
1212
- Yt,
1213
- en,
1214
- on,
1215
- cn,
1216
- ln,
1217
- dn,
1218
- pn,
1219
- kn,
1220
- Cn,
1221
- St,
1222
- jn,
1223
- bn,
1224
- hn,
1225
- rn
1226
- ).key("feature_type").satisfies(), qn = e.object({
1185
+ feature_type: e.string().enum(Cn)
1186
+ }), jn = e.union(
1187
+ jt,
1188
+ qt,
1189
+ Ut,
1190
+ Et,
1191
+ Ft,
1192
+ At,
1193
+ Ot,
1194
+ Qt,
1195
+ Ht,
1196
+ Jt,
1197
+ Xt,
1198
+ Wt,
1199
+ an,
1200
+ sn,
1201
+ un,
1202
+ mn,
1203
+ gn,
1204
+ wn,
1205
+ Rn,
1206
+ Lt,
1207
+ Vn,
1208
+ _n,
1209
+ yn,
1210
+ nn
1211
+ ).key("feature_type").satisfies(), Tn = e.object({
1227
1212
  event_name: e.string(),
1228
1213
  rules: e.string(),
1229
1214
  since: e.number(),
1230
1215
  until: e.number(),
1231
1216
  visit_count: e.number().optional(),
1232
- features: e.array(Tn)
1217
+ features: e.array(jn)
1233
1218
  }).lock(), q = e.union(e.string().pattern("NumberString", /^\d+$/), e.number()), ae = e.object({
1234
1219
  order_total_amount: q,
1235
1220
  cashback_total_amount: q,
1236
1221
  game_item_count: q
1237
- }), xn = e.object({
1222
+ }), qn = e.object({
1238
1223
  activation_key: e.string().disallow("")
1239
- }), Ln = e.object({
1224
+ }), xn = e.object({
1240
1225
  gift_code: e.string()
1241
- }), Sn = e.object({
1226
+ }), Ln = e.object({
1242
1227
  user_id: e.string(),
1243
1228
  name: e.string().optional(),
1244
1229
  avatar_url: e.string().optional()
1245
- }), Un = e.object({
1230
+ }), Sn = e.object({
1246
1231
  lottery_count: e.number()
1247
1232
  }), R = e.object({
1248
1233
  reward_id: e.number(),
@@ -1262,10 +1247,10 @@ const v = {
1262
1247
  feature_type: ot,
1263
1248
  receive_time: e.number(),
1264
1249
  extra_data: e.record(e.unknown()).optional()
1265
- }), Pn = e.string().enum(w.Unknown, w.Pending), En = e.union(
1250
+ }), Un = e.string().enum(w.Unknown, w.Pending), Pn = e.union(
1266
1251
  e.object({
1267
1252
  ticket: e.string(),
1268
- status: Pn,
1253
+ status: Un,
1269
1254
  created_at: e.number()
1270
1255
  }),
1271
1256
  e.object({
@@ -1274,16 +1259,16 @@ const v = {
1274
1259
  created_at: e.number(),
1275
1260
  reward: R
1276
1261
  })
1277
- ).satisfies(), $n = e.object({
1278
- tickets: e.array(En)
1279
- }), Fn = e.object({
1262
+ ).satisfies(), En = e.object({
1263
+ tickets: e.array(Pn)
1264
+ }), $n = e.object({
1280
1265
  platforms: e.array(e.string())
1281
1266
  }), oe = e.object({
1282
1267
  role_name: e.string(),
1283
1268
  is_leader: e.bool(),
1284
1269
  is_myself: e.bool().optional(),
1285
1270
  progress: e.number().optional()
1286
- }).lock(), In = e.object({
1271
+ }).lock(), Fn = e.object({
1287
1272
  objective: ne,
1288
1273
  progress: e.number(),
1289
1274
  completion_value: e.number().optional(),
@@ -1292,17 +1277,17 @@ const v = {
1292
1277
  completion_value: e.number().optional(),
1293
1278
  players: e.array(oe)
1294
1279
  }).optional()
1295
- }), Dn = e.object({
1280
+ }), In = e.object({
1296
1281
  progress: e.number(),
1297
1282
  team: e.object({
1298
1283
  progress: e.number(),
1299
1284
  team_members: e.array(oe).optional()
1300
1285
  }).optional()
1301
- }), An = e.object({
1286
+ }), Dn = e.object({
1302
1287
  item_id: e.number(),
1303
1288
  item_count: e.number(),
1304
1289
  redeem_count: e.number()
1305
- }), Gn = e.object({
1290
+ }), An = e.object({
1306
1291
  item_stocks: e.array(
1307
1292
  e.object({
1308
1293
  item_id: e.number(),
@@ -1310,24 +1295,24 @@ const v = {
1310
1295
  user_limit: e.number()
1311
1296
  })
1312
1297
  )
1313
- }), On = e.object({
1298
+ }), Gn = e.object({
1314
1299
  platform: e.string()
1315
- }), Nn = e.object({
1300
+ }), On = e.object({
1316
1301
  weixin_openid: e.string()
1317
- }), Qn = e.object({
1302
+ }), Nn = e.object({
1318
1303
  serial_number: e.number()
1319
- }), Bn = e.object({
1304
+ }), Qn = e.object({
1320
1305
  team_code: e.string(),
1321
1306
  leader_name: e.string(),
1322
1307
  total_members: e.number()
1323
- }), ja = e.object({
1308
+ }), Ca = e.object({
1324
1309
  is_leader: e.bool(),
1325
1310
  is_myself: e.bool().optional(),
1326
1311
  role_name: e.string(),
1327
1312
  server_name: e.string()
1328
- }), Mn = e.object({
1313
+ }), Bn = e.object({
1329
1314
  team_code: e.string(),
1330
- visibility: gt,
1315
+ visibility: dt,
1331
1316
  members: e.array(
1332
1317
  e.object({
1333
1318
  is_leader: e.bool(),
@@ -1335,14 +1320,14 @@ const v = {
1335
1320
  server_name: e.string()
1336
1321
  })
1337
1322
  )
1338
- }), Kn = e.object({
1323
+ }), Mn = e.object({
1339
1324
  ugc_id: e.number(),
1340
1325
  title: e.string(),
1341
1326
  content: e.string().optional(),
1342
1327
  image_urls: e.array(e.string()).optional(),
1343
1328
  social_media: $.clone().optional(),
1344
1329
  social_media_url: e.string().optional()
1345
- }), Hn = e.object({
1330
+ }), Kn = e.object({
1346
1331
  ugcs: e.array(
1347
1332
  e.object({
1348
1333
  ugc_id: e.number(),
@@ -1362,14 +1347,14 @@ const v = {
1362
1347
  })
1363
1348
  ).optional(),
1364
1349
  next_token: e.string().optional()
1365
- }), zn = e.object({
1350
+ }), Hn = e.object({
1366
1351
  ugcs: e.array(
1367
1352
  e.object({
1368
1353
  ugc_id: e.number(),
1369
1354
  event_id: e.number().optional(),
1370
1355
  feature_id: e.number().optional(),
1371
1356
  feature_name: e.string().optional(),
1372
- review_status: vt,
1357
+ review_status: kt,
1373
1358
  reviewer_comment: e.string().optional(),
1374
1359
  title: e.string(),
1375
1360
  content: e.string().optional(),
@@ -1385,13 +1370,13 @@ const v = {
1385
1370
  })
1386
1371
  ).optional(),
1387
1372
  next_token: e.string().optional()
1388
- }), Jn = e.object({
1373
+ }), zn = e.object({
1389
1374
  total_count: e.number()
1390
- }), Zn = e.object({
1375
+ }), Jn = e.object({
1391
1376
  existed: e.bool(),
1392
1377
  upload_url: e.string().optional(),
1393
1378
  image_url: e.string()
1394
- }), Xn = e.object({
1379
+ }), Zn = e.object({
1395
1380
  ugcs: e.array(
1396
1381
  e.object({
1397
1382
  ugc_id: e.number(),
@@ -1404,27 +1389,27 @@ const v = {
1404
1389
  role_name: e.string().optional()
1405
1390
  })
1406
1391
  ).optional()
1407
- }), Yn = e.object({
1392
+ }), Xn = e.object({
1408
1393
  option_sn: e.string()
1409
- }), Wn = e.object({
1394
+ }), Yn = e.object({
1410
1395
  candidate_id: e.string(),
1411
1396
  total_votes: e.number().optional(),
1412
1397
  my_votes: e.number().optional(),
1413
1398
  votes: e.number().optional()
1414
- }), er = e.object({
1415
- rewards_type: ft,
1399
+ }), Wn = e.object({
1400
+ rewards_type: ht,
1416
1401
  rewards: e.array(R).optional()
1417
- }), tr = e.object({
1402
+ }), er = e.object({
1418
1403
  candidate_id: e.string(),
1419
1404
  is_winner: e.bool(),
1420
1405
  total_votes: e.number(),
1421
1406
  my_votes: e.number()
1422
- }), nr = e.object({
1407
+ }), tr = e.object({
1423
1408
  role: e.string(),
1424
1409
  content: e.string()
1410
+ }), nr = e.object({
1411
+ conversations: e.array(tr)
1425
1412
  }), rr = e.object({
1426
- conversations: e.array(nr)
1427
- }), ar = e.object({
1428
1413
  user_id: e.string(),
1429
1414
  name: e.string(),
1430
1415
  avatar_url: e.string(),
@@ -1432,28 +1417,28 @@ const v = {
1432
1417
  video_note: e.number(),
1433
1418
  created_at: e.number()
1434
1419
  }), F = e.union(
1435
- Fn,
1436
- Un,
1437
- Qn,
1420
+ $n,
1438
1421
  Sn,
1439
- On,
1440
- Yn,
1441
- Wn,
1442
1422
  Nn,
1443
- ae,
1444
1423
  Ln,
1445
- Mn,
1446
- In,
1447
- $n,
1424
+ Gn,
1425
+ Xn,
1426
+ Yn,
1427
+ On,
1428
+ ae,
1448
1429
  xn,
1449
- rr,
1450
- Kn,
1451
- An,
1430
+ Bn,
1431
+ Fn,
1432
+ En,
1433
+ qn,
1434
+ nr,
1435
+ Mn,
1436
+ Dn,
1452
1437
  e.custom(
1453
1438
  "EmptyObject",
1454
1439
  (i) => h(i) && Object.keys(i).length === 0
1455
1440
  )
1456
- ).satisfies().lock(), or = e.object({
1441
+ ).satisfies().lock(), ar = e.object({
1457
1442
  reward_id: e.number(),
1458
1443
  reward_item_id: e.number(),
1459
1444
  reward_item_type: te,
@@ -1466,7 +1451,7 @@ const v = {
1466
1451
  reward_item_rating: e.number(),
1467
1452
  receive_time: e.number(),
1468
1453
  extra_data: e.union(...F.validators, e.record(e.unknown())).satisfies().optional()
1469
- }), ir = e.object({
1454
+ }), or = e.object({
1470
1455
  reward_id: e.number(),
1471
1456
  reward_item_id: e.number(),
1472
1457
  reward_item_name: e.string(),
@@ -1478,7 +1463,7 @@ const v = {
1478
1463
  reward_status: re,
1479
1464
  reward_source: E,
1480
1465
  extra_data: e.record(e.unknown()).optional()
1481
- }), sr = e.object({
1466
+ }), ir = e.object({
1482
1467
  engagement_id: e.number(),
1483
1468
  user_id: e.string(),
1484
1469
  event_id: e.number(),
@@ -1488,18 +1473,18 @@ const v = {
1488
1473
  server_id: e.string().optional(),
1489
1474
  role_id: e.string().optional(),
1490
1475
  created_at: e.number(),
1491
- rewards: e.array(or).optional()
1492
- }).lock(), cr = e.object({
1476
+ rewards: e.array(ar).optional()
1477
+ }).lock(), sr = e.object({
1493
1478
  allowed: e.bool(),
1494
1479
  registered: e.bool()
1495
- }), ur = e.object({
1480
+ }), cr = e.object({
1496
1481
  feature_id: e.number(),
1497
1482
  can_engage: e.bool(),
1498
1483
  has_unclaimed_rewards: e.bool(),
1499
1484
  final_available_count: e.number(),
1500
1485
  total_remaining_engagements: e.number(),
1501
1486
  cycle_remaining_engagements: e.number()
1502
- }), lr = e.object({
1487
+ }), ur = e.object({
1503
1488
  engagement_id: e.number(),
1504
1489
  engagement: e.object({
1505
1490
  engagement_id: e.number(),
@@ -1507,43 +1492,43 @@ const v = {
1507
1492
  feature_id: e.number(),
1508
1493
  data: F.clone().optional()
1509
1494
  }).optional(),
1510
- rewards: e.array(ir).optional(),
1495
+ rewards: e.array(or).optional(),
1511
1496
  scan: e.bool().optional()
1512
- }), mr = e.object({
1497
+ }), lr = e.object({
1513
1498
  reward_id: e.number(),
1514
1499
  reward_status: P
1515
- }), dr = e.guard(qn), gr = e.guard(cr), x = s({ count: e.number() }), pr = s({ first_visit: e.bool() }), _r = s({
1516
- engagements: e.union(e.array(ar), e.array(Bn))
1500
+ }), mr = e.guard(Tn), dr = e.guard(sr), x = s({ count: e.number() }), gr = s({ first_visit: e.bool() }), pr = s({
1501
+ engagements: e.union(e.array(rr), e.array(Qn))
1502
+ }), _r = s({
1503
+ status: e.array(cr)
1517
1504
  }), br = s({
1518
- status: e.array(ur)
1519
- }), yr = s({
1520
1505
  engagements_counts: e.record(e.number())
1521
- }), hr = s({
1522
- engagements: e.array(sr),
1506
+ }), yr = s({
1507
+ engagements: e.array(ir),
1523
1508
  next_token: e.string().optional()
1524
- }), fr = e.guard(lr), wr = s({
1525
- claimed_items: e.array(mr)
1526
- }), kr = s({
1509
+ }), hr = e.guard(ur), fr = s({
1510
+ claimed_items: e.array(lr)
1511
+ }), wr = s({
1527
1512
  rewards: e.array(R)
1528
- }), vr = s({
1513
+ }), kr = s({
1529
1514
  reward_status: P
1530
- }), Rr = s({
1515
+ }), vr = s({
1531
1516
  user_rewards: e.array(R),
1532
1517
  next_token: e.string().optional()
1533
- }), Cr = s({
1518
+ }), Rr = s({
1534
1519
  unclaimed: e.number()
1535
- }), Vr = s({
1520
+ }), Cr = s({
1536
1521
  scene: e.string()
1537
- }), jr = s({
1522
+ }), Vr = s({
1538
1523
  params: e.string()
1539
- }), Tr = s({
1524
+ }), jr = s({
1540
1525
  img: e.string()
1541
- }), qr = e.guard(Dn), xr = e.guard(er), Lr = e.guard(
1526
+ }), Tr = e.guard(In), qr = e.guard(Wn), xr = e.guard(
1542
1527
  e.object({
1543
- candidate_votes: e.array(tr)
1528
+ candidate_votes: e.array(er)
1544
1529
  })
1545
- ), Sr = e.guard(ae), K = e.guard(zn), Ur = e.guard(Hn), Pr = e.guard(Jn), Er = e.guard(Zn), $r = e.guard(Xn), Fr = e.guard(Gn);
1546
- class Ta {
1530
+ ), Lr = e.guard(ae), K = e.guard(Hn), Sr = e.guard(Kn), Ur = e.guard(zn), Pr = e.guard(Jn), Er = e.guard(Zn), $r = e.guard(An);
1531
+ class Va {
1547
1532
  token;
1548
1533
  event = 0;
1549
1534
  req;
@@ -1556,7 +1541,7 @@ class Ta {
1556
1541
  * https://kdocs.cn/l/cf2mO2uRLqh9?linkname=OWGSPF3Ysl
1557
1542
  */
1558
1543
  async verifyMobileAllowed(t, n, r) {
1559
- const { data: a } = await this.req.get("verify-mobile-allowed", gr, {
1544
+ const { data: a } = await this.req.get("verify-mobile-allowed", dr, {
1560
1545
  ...r,
1561
1546
  params: { game_id: t, mobile: n }
1562
1547
  });
@@ -1568,7 +1553,7 @@ class Ta {
1568
1553
  * https://kdocs.cn/l/ckWFDcOsYEUA?linkname=wFXxtdNKPm
1569
1554
  */
1570
1555
  async getConfig(t) {
1571
- const { data: n } = await this.req.get(`event/${this.event}/event-config`, dr, t);
1556
+ const { data: n } = await this.req.get(`event/${this.event}/event-config`, mr, t);
1572
1557
  return n;
1573
1558
  }
1574
1559
  /**
@@ -1603,7 +1588,7 @@ class Ta {
1603
1588
  * https://kdocs.cn/l/ckWFDcOsYEUA?linkname=THtZ4ewIQW
1604
1589
  */
1605
1590
  async getEngagements(t, n) {
1606
- const { data: r } = await this.req.get(`event/${this.event}/feature-engagements`, _r, {
1591
+ const { data: r } = await this.req.get(`event/${this.event}/feature-engagements`, pr, {
1607
1592
  ...n,
1608
1593
  params: { feature_id: t }
1609
1594
  });
@@ -1619,7 +1604,7 @@ class Ta {
1619
1604
  const { data: r, code: a, message: o } = await this.req.post(
1620
1605
  `event/${this.event}/visit`,
1621
1606
  c(t || {}),
1622
- pr,
1607
+ gr,
1623
1608
  n
1624
1609
  );
1625
1610
  return r ?? {
@@ -1636,7 +1621,7 @@ class Ta {
1636
1621
  */
1637
1622
  async getUserFeatureStatus(t, n) {
1638
1623
  if (!await this.token.autoLogin()) return [];
1639
- const { data: r } = await this.req.get("event/user-feature-status", br, {
1624
+ const { data: r } = await this.req.get("event/user-feature-status", _r, {
1640
1625
  ...n,
1641
1626
  message: !1,
1642
1627
  params: c({ ...t, event_id: this.event })
@@ -1650,7 +1635,7 @@ class Ta {
1650
1635
  */
1651
1636
  async getUserEngagementCount(t, n) {
1652
1637
  if (!await this.token.autoLogin()) return {};
1653
- const { data: r } = await this.req.get("event/user-engagements-count", yr, {
1638
+ const { data: r } = await this.req.get("event/user-engagements-count", br, {
1654
1639
  message: !1,
1655
1640
  params: c({ ...n, event_id: this.event, feature_id: t })
1656
1641
  });
@@ -1669,7 +1654,7 @@ class Ta {
1669
1654
  engagements: [],
1670
1655
  next_token: ""
1671
1656
  };
1672
- const { data: a } = await this.req.get("event/user-engagements", hr, {
1657
+ const { data: a } = await this.req.get("event/user-engagements", yr, {
1673
1658
  ...r,
1674
1659
  params: c({
1675
1660
  max_results: 20,
@@ -1694,18 +1679,18 @@ class Ta {
1694
1679
  */
1695
1680
  async engage(t, n, r, a) {
1696
1681
  await this.token.autoLogin();
1697
- const { data: o, code: d, message: p } = await this.req.post(
1682
+ const { data: o, code: d, message: g } = await this.req.post(
1698
1683
  `event/${this.event}/engage`,
1699
1684
  c({
1700
1685
  feature_id: t,
1701
1686
  engagement: n,
1702
1687
  ...r
1703
1688
  }),
1704
- fr,
1689
+ hr,
1705
1690
  a
1706
1691
  );
1707
1692
  return o ?? {
1708
- message: p,
1693
+ message: g,
1709
1694
  error: d
1710
1695
  };
1711
1696
  }
@@ -1724,7 +1709,7 @@ class Ta {
1724
1709
  ...t,
1725
1710
  server_id: t.server_id ? +t.server_id : void 0
1726
1711
  }),
1727
- wr,
1712
+ fr,
1728
1713
  n
1729
1714
  );
1730
1715
  return r?.claimed_items || {
@@ -1745,7 +1730,7 @@ class Ta {
1745
1730
  ...t,
1746
1731
  server_id: t.server_id ? +t.server_id : void 0
1747
1732
  }),
1748
- kr,
1733
+ wr,
1749
1734
  n
1750
1735
  );
1751
1736
  return r?.rewards || {
@@ -1763,7 +1748,7 @@ class Ta {
1763
1748
  const { data: r, code: a, message: o } = await this.req.post(
1764
1749
  "event/claim-weixin-hongbao",
1765
1750
  { reward_id: t },
1766
- vr,
1751
+ kr,
1767
1752
  n
1768
1753
  );
1769
1754
  return r || {
@@ -1804,7 +1789,7 @@ class Ta {
1804
1789
  const { data: r } = await this.req.post(
1805
1790
  "event/user-rewards",
1806
1791
  c({ max_results: 20, ...t, event_id: this.event }),
1807
- Rr,
1792
+ vr,
1808
1793
  n
1809
1794
  );
1810
1795
  return {
@@ -1822,7 +1807,7 @@ class Ta {
1822
1807
  return {
1823
1808
  unclaimed: 0
1824
1809
  };
1825
- const { data: r } = await this.req.get("event/user-rewards-count", Cr, {
1810
+ const { data: r } = await this.req.get("event/user-rewards-count", Rr, {
1826
1811
  ...n,
1827
1812
  params: c({ ...t })
1828
1813
  });
@@ -1870,7 +1855,7 @@ class Ta {
1870
1855
  */
1871
1856
  async getUnlimitQrcodeScene(t, n) {
1872
1857
  if (!await this.token.autoLogin()) return null;
1873
- const { data: r } = await this.req.get("event/unlimit-qrcode-scene", Vr, {
1858
+ const { data: r } = await this.req.get("event/unlimit-qrcode-scene", Cr, {
1874
1859
  ...n,
1875
1860
  params: { params: t }
1876
1861
  });
@@ -1884,7 +1869,7 @@ class Ta {
1884
1869
  * @param scene - 小程序码 scene 值
1885
1870
  */
1886
1871
  async getParamsByQrcodeScene(t, n) {
1887
- const { data: r } = await this.req.get("event/params-by-qrcode-scene", jr, {
1872
+ const { data: r } = await this.req.get("event/params-by-qrcode-scene", Vr, {
1888
1873
  ...n,
1889
1874
  params: { scene: t }
1890
1875
  });
@@ -1900,7 +1885,7 @@ class Ta {
1900
1885
  const { data: r } = await this.req.post(
1901
1886
  "event/unlimit-qrcode",
1902
1887
  c(t),
1903
- Tr,
1888
+ jr,
1904
1889
  n
1905
1890
  );
1906
1891
  return r?.img ?? null;
@@ -1912,7 +1897,7 @@ class Ta {
1912
1897
  */
1913
1898
  async getQuestProgress(t, n) {
1914
1899
  if (!await this.token.autoLogin()) return null;
1915
- const { data: r, code: a, message: o } = await this.req.get(`event/${this.event}/quest-progress`, qr, {
1900
+ const { data: r, code: a, message: o } = await this.req.get(`event/${this.event}/quest-progress`, Tr, {
1916
1901
  message: !1,
1917
1902
  ...n,
1918
1903
  params: { feature_id: t }
@@ -1934,7 +1919,7 @@ class Ta {
1934
1919
  const { data: r, code: a, message: o } = await this.req.post(
1935
1920
  "event/vote2/rewards",
1936
1921
  { feature_id: t, event_id: this.event },
1937
- xr,
1922
+ qr,
1938
1923
  n
1939
1924
  );
1940
1925
  return r || {
@@ -1949,7 +1934,7 @@ class Ta {
1949
1934
  */
1950
1935
  async getVote2Leaderboard(t, n) {
1951
1936
  if (!await this.token.autoLogin()) return [];
1952
- const { data: r } = await this.req.get("event/vote2/leaderboard", Lr, {
1937
+ const { data: r } = await this.req.get("event/vote2/leaderboard", xr, {
1953
1938
  ...n,
1954
1939
  params: { feature_id: t, event_id: this.event }
1955
1940
  });
@@ -1962,7 +1947,7 @@ class Ta {
1962
1947
  */
1963
1948
  async getCashbackQuery(t, n) {
1964
1949
  if (!await this.token.autoLogin()) return null;
1965
- const { data: r, code: a, message: o } = await this.req.get("event/cashback/query", Sr, {
1950
+ const { data: r, code: a, message: o } = await this.req.get("event/cashback/query", Lr, {
1966
1951
  ...n,
1967
1952
  params: { feature_id: t, event_id: this.event }
1968
1953
  });
@@ -1997,7 +1982,7 @@ class Ta {
1997
1982
  */
1998
1983
  async getUgcMyCount(t, n) {
1999
1984
  if (!await this.token.autoLogin()) return null;
2000
- const { data: r, code: a, message: o } = await this.req.get("event/ugc/my-count", Pr, {
1985
+ const { data: r, code: a, message: o } = await this.req.get("event/ugc/my-count", Ur, {
2001
1986
  ...n,
2002
1987
  params: {
2003
1988
  ...t
@@ -2022,7 +2007,7 @@ class Ta {
2022
2007
  const { data: a, code: o, message: d } = await this.req.post(
2023
2008
  "event/ugc/upload-image",
2024
2009
  { feature_id: t, ...n, event_id: this.event },
2025
- Er,
2010
+ Pr,
2026
2011
  r
2027
2012
  );
2028
2013
  return a || {
@@ -2054,7 +2039,7 @@ class Ta {
2054
2039
  * https://www.kdocs.cn/l/ckWFDcOsYEUA?linkname=VRYN6d3rbd
2055
2040
  */
2056
2041
  async getUgcs(t, n, r) {
2057
- const { data: a, code: o, message: d } = await this.req.get("event/ugc/ugcs", Ur, {
2042
+ const { data: a, code: o, message: d } = await this.req.get("event/ugc/ugcs", Sr, {
2058
2043
  ...r,
2059
2044
  params: {
2060
2045
  event_id: this.event,
@@ -2080,7 +2065,7 @@ class Ta {
2080
2065
  */
2081
2066
  async getUgcLeaderboard(t, n) {
2082
2067
  if (!await this.token.autoLogin()) return null;
2083
- const { data: r, code: a, message: o } = await this.req.get("event/ugc/leaderboard", $r, {
2068
+ const { data: r, code: a, message: o } = await this.req.get("event/ugc/leaderboard", Er, {
2084
2069
  ...n,
2085
2070
  params: {
2086
2071
  feature_id: t,
@@ -2099,7 +2084,7 @@ class Ta {
2099
2084
  */
2100
2085
  async getRedeemItemStocks(t, n) {
2101
2086
  if (!await this.token.autoLogin()) return null;
2102
- const { data: r, code: a, message: o } = await this.req.get("event/redeem/item-stocks", Fr, {
2087
+ const { data: r, code: a, message: o } = await this.req.get("event/redeem/item-stocks", $r, {
2103
2088
  ...n,
2104
2089
  params: {
2105
2090
  event_id: this.event,
@@ -2112,12 +2097,12 @@ class Ta {
2112
2097
  };
2113
2098
  }
2114
2099
  }
2115
- const Ir = {
2100
+ const Fr = {
2116
2101
  /** 所有人均可以发帖 */
2117
2102
  All: "all",
2118
2103
  /** 指定用户可发帖 */
2119
2104
  Limit: "limit"
2120
- }, Dr = e.string().enum(Ir).lock(), Ar = {
2105
+ }, Ir = e.string().enum(Fr).lock(), Dr = {
2121
2106
  /** 待审核(仅自己可见) */
2122
2107
  Pending: "pending",
2123
2108
  /** 审核通过 */
@@ -2126,14 +2111,14 @@ const Ir = {
2126
2111
  Failed: "failed",
2127
2112
  /** 嫌疑(仅自己可见) */
2128
2113
  Suspect: "suspect"
2129
- }, ie = e.string().enum(Ar).lock(), Gr = {
2114
+ }, ie = e.string().enum(Dr).lock(), Ar = {
2130
2115
  /** 系统通知 */
2131
2116
  System: "system",
2132
2117
  /** 评论我的 */
2133
2118
  Comment: "comment",
2134
2119
  /** 点赞通知 */
2135
2120
  Like: "like"
2136
- }, qa = e.string().enum(Gr).lock(), m = {
2121
+ }, ja = e.string().enum(Ar).lock(), m = {
2137
2122
  /** 系统通知 */
2138
2123
  System: "system",
2139
2124
  /** 帖子被置顶 */
@@ -2158,13 +2143,13 @@ const Ir = {
2158
2143
  ReplyLiked: "reply_liked",
2159
2144
  /** 回复被删除 */
2160
2145
  ReplyDeleted: "reply_deleted"
2161
- }, Or = e.string().enum(m).lock(), se = e.object({
2146
+ }, Gr = e.string().enum(m).lock(), se = e.object({
2162
2147
  forum_id: e.number(),
2163
2148
  icon_url: e.string(),
2164
2149
  name: e.string(),
2165
2150
  tags: e.array(e.string()),
2166
2151
  sort: e.number(),
2167
- mode: Dr,
2152
+ mode: Ir,
2168
2153
  member_ids: e.array(e.number())
2169
2154
  }).lock(), I = e.object({
2170
2155
  topic_id: e.number(),
@@ -2195,7 +2180,7 @@ const Ir = {
2195
2180
  create_time: e.number()
2196
2181
  }).lock(), ce = e.object({
2197
2182
  err_msg: e.string().optional()
2198
- }).optional().lock(), Nr = e.object({
2183
+ }).optional().lock(), Or = e.object({
2199
2184
  reply_id: e.number(),
2200
2185
  reply_content: e.string().optional(),
2201
2186
  replied_by: e.string(),
@@ -2214,7 +2199,7 @@ const Ir = {
2214
2199
  content: e.string(),
2215
2200
  like_num: e.number(),
2216
2201
  liked: e.bool(),
2217
- reply_to: Nr,
2202
+ reply_to: Or,
2218
2203
  create_time: e.number()
2219
2204
  }).lock(), k = e.object({
2220
2205
  comment_id: e.number(),
@@ -2236,19 +2221,19 @@ const Ir = {
2236
2221
  create_time: e.number(),
2237
2222
  status: ie,
2238
2223
  replies: e.array(C).optional()
2239
- }).lock(), Qr = e.object({
2224
+ }).lock(), Nr = e.object({
2240
2225
  image_url: e.string(),
2241
2226
  upload_url: e.string(),
2242
2227
  existed: e.bool()
2243
- }).lock(), y = e.object({
2228
+ }).lock(), b = e.object({
2244
2229
  notification_id: e.string(),
2245
- notification_type: Or,
2230
+ notification_type: Gr,
2246
2231
  is_read: e.bool(),
2247
2232
  create_time: e.number(),
2248
2233
  origin_user_id: e.string(),
2249
2234
  origin_user_name: e.string(),
2250
2235
  origin_user_avatar_url: e.string()
2251
- }).lock(), Br = e.object({
2236
+ }).lock(), Qr = e.object({
2252
2237
  system_message_subject: e.string(),
2253
2238
  system_message_content: e.string()
2254
2239
  }).lock(), A = e.object({
@@ -2262,12 +2247,12 @@ const Ir = {
2262
2247
  }).lock(), G = e.object({
2263
2248
  reply_id: e.number(),
2264
2249
  reply_content: e.string()
2265
- }).lock(), Mr = e.object({
2266
- ...y.shape,
2267
- ...Br.shape,
2250
+ }).lock(), Br = e.object({
2251
+ ...b.shape,
2252
+ ...Qr.shape,
2268
2253
  notification_type: e.string().enum(m.System)
2269
- }), Kr = e.object({
2270
- ...y.shape,
2254
+ }), Mr = e.object({
2255
+ ...b.shape,
2271
2256
  ...A.shape,
2272
2257
  notification_type: e.string().enum(
2273
2258
  m.PostPinned,
@@ -2275,68 +2260,68 @@ const Ir = {
2275
2260
  m.PostDeleted,
2276
2261
  m.PostLiked
2277
2262
  )
2278
- }), Hr = e.object({
2279
- ...y.shape,
2263
+ }), Kr = e.object({
2264
+ ...b.shape,
2280
2265
  ...A.shape,
2281
2266
  ...V.shape,
2282
2267
  notification_type: e.string().enum(m.PostCommented)
2283
- }), zr = e.object({
2284
- ...y.shape,
2268
+ }), Hr = e.object({
2269
+ ...b.shape,
2285
2270
  ...V.shape,
2286
2271
  ...G.shape,
2287
2272
  notification_type: e.string().enum(m.CommentReplied)
2288
- }), Jr = e.object({
2289
- ...y.shape,
2273
+ }), zr = e.object({
2274
+ ...b.shape,
2290
2275
  ...V.shape,
2291
2276
  ...A.shape,
2292
2277
  notification_type: e.string().enum(m.CommentLiked, m.CommentDeleted)
2293
- }), Zr = e.object({
2294
- ...y.shape,
2278
+ }), Jr = e.object({
2279
+ ...b.shape,
2295
2280
  ...G.shape,
2296
2281
  notification_type: e.string().enum(m.ReplyReplied),
2297
2282
  comment_id: e.number(),
2298
2283
  reply_to_reply_id: e.number(),
2299
2284
  reply_to_reply_content: e.string()
2300
- }), Xr = e.object({
2301
- ...y.shape,
2285
+ }), Zr = e.object({
2286
+ ...b.shape,
2302
2287
  ...G.shape,
2303
2288
  ...V.shape,
2304
2289
  notification_type: e.string().enum(m.ReplyLiked, m.ReplyDeleted)
2305
- }), Yr = e.union(
2290
+ }), Xr = e.union(
2291
+ Br,
2306
2292
  Mr,
2307
2293
  Kr,
2308
2294
  Hr,
2309
2295
  zr,
2310
2296
  Jr,
2311
- Zr,
2312
- Xr
2313
- ).satisfies().lock(), Wr = s({ forums: e.array(se) }), ea = s({ topics: e.array(I) }), ta = s({ topic: I }), na = s({ post: D }), H = s({
2297
+ Zr
2298
+ ).satisfies().lock(), Yr = s({ forums: e.array(se) }), Wr = s({ topics: e.array(I) }), ea = s({ topic: I }), ta = s({ post: D }), H = s({
2314
2299
  posts: e.array(D),
2315
2300
  next_token: e.string().optional()
2316
- }), ra = s({
2301
+ }), na = s({
2317
2302
  post: D.clone().optional(),
2318
2303
  antispam: ce.clone().optional()
2319
- }), aa = s({
2304
+ }), ra = s({
2320
2305
  replies: e.array(C),
2321
2306
  next_token: e.string().optional()
2322
- }), oa = s({ reply: C }), ia = s({
2307
+ }), aa = s({ reply: C }), oa = s({
2323
2308
  reply: C.clone().optional(),
2324
2309
  antispam: ce.clone().optional()
2325
- }), sa = s({ comment: k }), ca = s({
2310
+ }), ia = s({ comment: k }), sa = s({
2326
2311
  comments: e.array(k),
2327
2312
  next_token: e.string().optional()
2328
- }), ua = s({
2313
+ }), ca = s({
2329
2314
  comment: k.clone().optional(),
2330
2315
  antispam: k.clone().optional()
2331
- }), la = e.guard(Qr), ma = s({
2332
- notifications: e.array(Yr),
2316
+ }), ua = e.guard(Nr), la = s({
2317
+ notifications: e.array(Xr),
2333
2318
  next_token: e.string().optional()
2334
- }), da = s({
2319
+ }), ma = s({
2335
2320
  system: e.number(),
2336
2321
  comment: e.number(),
2337
2322
  like: e.number()
2338
2323
  });
2339
- class xa {
2324
+ class Ta {
2340
2325
  token;
2341
2326
  req;
2342
2327
  constructor(t) {
@@ -2348,7 +2333,7 @@ class xa {
2348
2333
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=QaqUa2K0z0
2349
2334
  */
2350
2335
  async getForums(t) {
2351
- const { data: n } = await this.req.get("community/forums", Wr, t);
2336
+ const { data: n } = await this.req.get("community/forums", Yr, t);
2352
2337
  return n?.forums || [];
2353
2338
  }
2354
2339
  /**
@@ -2357,7 +2342,7 @@ class xa {
2357
2342
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=mIwpymAQom
2358
2343
  */
2359
2344
  async getTopics(t) {
2360
- const { data: n } = await this.req.get("community/topics", ea, t);
2345
+ const { data: n } = await this.req.get("community/topics", Wr, t);
2361
2346
  return n?.topics || [];
2362
2347
  }
2363
2348
  /**
@@ -2366,7 +2351,7 @@ class xa {
2366
2351
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=Jvw7xMK31K
2367
2352
  */
2368
2353
  async getTopic(t, n) {
2369
- const { data: r, code: a } = await this.req.get("community/topic", ta, {
2354
+ const { data: r, code: a } = await this.req.get("community/topic", ea, {
2370
2355
  ...n,
2371
2356
  params: { topic_id: t }
2372
2357
  });
@@ -2393,12 +2378,12 @@ class xa {
2393
2378
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=yXubbZuDlC
2394
2379
  */
2395
2380
  async getPinnedPosts(t, n, r, a) {
2396
- const { data: o, code: d, message: p } = await this.req.get("community/pinned-posts", H, {
2381
+ const { data: o, code: d, message: g } = await this.req.get("community/pinned-posts", H, {
2397
2382
  ...a,
2398
2383
  params: c({ forum_id: t, max_results: n, next_token: r })
2399
2384
  });
2400
2385
  return o ?? {
2401
- message: p,
2386
+ message: g,
2402
2387
  error: d
2403
2388
  };
2404
2389
  }
@@ -2408,7 +2393,7 @@ class xa {
2408
2393
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=hj1AZy5rcP
2409
2394
  */
2410
2395
  async getPost(t, n) {
2411
- const { data: r, code: a, message: o } = await this.req.get("community/post", na, {
2396
+ const { data: r, code: a, message: o } = await this.req.get("community/post", ta, {
2412
2397
  ...n,
2413
2398
  params: { post_id: t }
2414
2399
  });
@@ -2426,7 +2411,7 @@ class xa {
2426
2411
  const { data: r, code: a, message: o } = await this.req.post(
2427
2412
  "community/post",
2428
2413
  c(t),
2429
- ra,
2414
+ na,
2430
2415
  n
2431
2416
  );
2432
2417
  return r ?? {
@@ -2440,7 +2425,7 @@ class xa {
2440
2425
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=djKbX7lFdp
2441
2426
  */
2442
2427
  async getComments(t, n) {
2443
- const { data: r, code: a, message: o } = await this.req.get("community/comments", ca, {
2428
+ const { data: r, code: a, message: o } = await this.req.get("community/comments", sa, {
2444
2429
  ...n,
2445
2430
  params: c(t)
2446
2431
  });
@@ -2455,7 +2440,7 @@ class xa {
2455
2440
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=RIc7oxVGae
2456
2441
  */
2457
2442
  async getComment(t, n) {
2458
- const { data: r, code: a, message: o } = await this.req.get("community/comment", sa, {
2443
+ const { data: r, code: a, message: o } = await this.req.get("community/comment", ia, {
2459
2444
  ...n,
2460
2445
  params: { comment_id: t }
2461
2446
  });
@@ -2474,7 +2459,7 @@ class xa {
2474
2459
  const { data: r, code: a, message: o } = await this.req.post(
2475
2460
  "community/comment",
2476
2461
  c(t),
2477
- ua,
2462
+ ca,
2478
2463
  n
2479
2464
  );
2480
2465
  return r ?? {
@@ -2488,7 +2473,7 @@ class xa {
2488
2473
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=sVKBbY83MY
2489
2474
  */
2490
2475
  async getReplies(t, n) {
2491
- const { data: r } = await this.req.get("community/replies", aa, {
2476
+ const { data: r } = await this.req.get("community/replies", ra, {
2492
2477
  ...n,
2493
2478
  params: c({ max_results: 20, ...t })
2494
2479
  });
@@ -2503,7 +2488,7 @@ class xa {
2503
2488
  * https://kdocs.cn/l/cbggfJodHLIz?linkname=kxhcSXD3MG
2504
2489
  */
2505
2490
  async getReply(t, n) {
2506
- const { data: r, code: a, message: o } = await this.req.get("community/reply", oa, {
2491
+ const { data: r, code: a, message: o } = await this.req.get("community/reply", aa, {
2507
2492
  ...n,
2508
2493
  params: { reply_id: t }
2509
2494
  });
@@ -2522,7 +2507,7 @@ class xa {
2522
2507
  const { data: r, code: a, message: o } = await this.req.post(
2523
2508
  "community/reply",
2524
2509
  c(t),
2525
- ia,
2510
+ oa,
2526
2511
  n
2527
2512
  );
2528
2513
  return r ?? {
@@ -2573,7 +2558,7 @@ class xa {
2573
2558
  */
2574
2559
  async getMediaPresignedUrl(t, n) {
2575
2560
  await this.token.autoLogin();
2576
- const { data: r } = await this.req.get("community/media-presign-url", la, {
2561
+ const { data: r } = await this.req.get("community/media-presign-url", ua, {
2577
2562
  ...n,
2578
2563
  params: t
2579
2564
  });
@@ -2588,7 +2573,7 @@ class xa {
2588
2573
  */
2589
2574
  async getNotifications(t, n) {
2590
2575
  await this.token.autoLogin();
2591
- const { data: r } = await this.req.get("community/notifications", ma, {
2576
+ const { data: r } = await this.req.get("community/notifications", la, {
2592
2577
  ...n,
2593
2578
  params: c({ max_results: 20, ...t })
2594
2579
  });
@@ -2606,7 +2591,7 @@ class xa {
2606
2591
  if (!await this.token.autoLogin()) return null;
2607
2592
  const { data: n } = await this.req.get(
2608
2593
  "community/unread-notifications-count",
2609
- da,
2594
+ ma,
2610
2595
  t
2611
2596
  );
2612
2597
  return n;
@@ -2622,17 +2607,17 @@ class xa {
2622
2607
  return r;
2623
2608
  }
2624
2609
  }
2625
- const ga = s({
2610
+ const da = s({
2626
2611
  nonce_str: e.string(),
2627
2612
  timestamp: e.number(),
2628
2613
  signature: e.string()
2629
2614
  });
2630
- var pa = /* @__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))(pa || {});
2615
+ var ga = /* @__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))(ga || {});
2631
2616
  function L(i) {
2632
2617
  return h(i, "open_id", "union_id", "weixin_token");
2633
2618
  }
2634
2619
  const z = "wx_login_cache";
2635
- class La {
2620
+ class qa {
2636
2621
  token;
2637
2622
  $appid;
2638
2623
  req;
@@ -2687,7 +2672,7 @@ class La {
2687
2672
  * https://kdocs.cn/l/cf2mO2uRLqh9?linkname=GwIZ0givCb
2688
2673
  */
2689
2674
  async login(t) {
2690
- if (!_())
2675
+ if (!p())
2691
2676
  throw new Error("当前环境非微信小程序");
2692
2677
  const n = await this.getLoginCache();
2693
2678
  if (n)
@@ -2736,11 +2721,11 @@ class La {
2736
2721
  const d = O(["code", "state"]);
2737
2722
  "replaceState" in history && history.replaceState({}, "", d);
2738
2723
  const {
2739
- data: p,
2724
+ data: g,
2740
2725
  code: ue,
2741
2726
  message: le
2742
2727
  } = await this.req.post("weixin/login", { code: r, appid: this.appid }, L, n);
2743
- return p && (this.token.weixinToken = p.weixin_token, await this.token.autoLogin()), p ?? {
2728
+ return g && (this.token.weixinToken = g.weixin_token, await this.token.autoLogin()), g ?? {
2744
2729
  message: le,
2745
2730
  error: ue
2746
2731
  };
@@ -2772,7 +2757,7 @@ class La {
2772
2757
  * https://kdocs.cn/l/cf2mO2uRLqh9?linkname=CuWOqxr9Ue
2773
2758
  */
2774
2759
  async getJSSDKConfig(t) {
2775
- const { data: n } = await this.req.get("weixin/offiaccount/jssdk-sign", ga, {
2760
+ const { data: n } = await this.req.get("weixin/offiaccount/jssdk-sign", da, {
2776
2761
  ...t,
2777
2762
  params: {
2778
2763
  appid: this.appid,
@@ -2789,15 +2774,15 @@ class La {
2789
2774
  }
2790
2775
  export {
2791
2776
  ce as AntispamValidator,
2792
- ha as AuthToken,
2793
- tr as CandidateVoteValidator,
2777
+ ya as AuthToken,
2778
+ er as CandidateVoteValidator,
2794
2779
  ae as CashbackEngagementDataValidator,
2795
- xn as ClaimActivationKeyEngagementDataValidator,
2796
- lt as ClaimRewardStatus,
2780
+ qn as ClaimActivationKeyEngagementDataValidator,
2781
+ ut as ClaimRewardStatus,
2797
2782
  P as ClaimRewardStatusValidator,
2798
- mr as ClaimedItemValidator,
2783
+ lr as ClaimedItemValidator,
2799
2784
  X as ClubAddressValidator,
2800
- wa as ClubApi,
2785
+ fa as ClubApi,
2801
2786
  Y as ClubBenefitSummaryValidator,
2802
2787
  Oe as ClubBenefitValidator,
2803
2788
  qe as ClubCreditChangeScene,
@@ -2814,147 +2799,145 @@ export {
2814
2799
  Ue as ClubRedemptionStatusValidator,
2815
2800
  Ae as ClubUserCreditValidator,
2816
2801
  De as ClubUserProfileValidator,
2817
- ar as CommentEngagementValidator,
2802
+ rr as CommentEngagementValidator,
2818
2803
  k as CommentValidator,
2819
- xa as CommunityApi,
2820
- nr as ConversationValidator,
2804
+ Ta as CommunityApi,
2805
+ tr as ConversationValidator,
2821
2806
  tt as EngageAccountType,
2822
2807
  nt as EngageAccountTypeValidator,
2823
- lr as EngageResponseValidator,
2824
- ir as EngageRewardValidator,
2825
- Ta as EventApi,
2826
- qn as EventConfigValidator,
2827
- Tt as EventFeatureConfigOfCashbackValidator,
2828
- xt as EventFeatureConfigOfCheckInValidator,
2829
- St as EventFeatureConfigOfClaimActivationKeyValidator,
2830
- Pt as EventFeatureConfigOfClaimRewardsValidator,
2831
- $t as EventFeatureConfigOfCommentValidator,
2832
- It as EventFeatureConfigOfFollowValidator,
2833
- Gt as EventFeatureConfigOfGiftCodeValidator,
2834
- Nt as EventFeatureConfigOfInviteValidator,
2835
- Bt as EventFeatureConfigOfInvitedRegisterValidator,
2836
- Zt as EventFeatureConfigOfLotteryDrawValidator,
2837
- zt as EventFeatureConfigOfLotteryValidator,
2838
- Yt as EventFeatureConfigOfPreregisterValidator,
2839
- en as EventFeatureConfigOfQuestValidator,
2840
- rn as EventFeatureConfigOfRedeemValidator,
2841
- on as EventFeatureConfigOfRegisterValidator,
2842
- cn as EventFeatureConfigOfShareValidator,
2843
- ln as EventFeatureConfigOfSubscribeValidator,
2844
- dn as EventFeatureConfigOfSurveyValidator,
2845
- pn as EventFeatureConfigOfTeamValidator,
2846
- hn as EventFeatureConfigOfUgcLikeValidator,
2847
- bn as EventFeatureConfigOfUgcValidator,
2848
- Cn as EventFeatureConfigOfVote2Validator,
2849
- kn as EventFeatureConfigOfVoteValidator,
2850
- Tn as EventFeatureConfigValidator,
2808
+ ur as EngageResponseValidator,
2809
+ or as EngageRewardValidator,
2810
+ Va as EventApi,
2811
+ Tn as EventConfigValidator,
2812
+ jt as EventFeatureConfigOfCashbackValidator,
2813
+ qt as EventFeatureConfigOfCheckInValidator,
2814
+ Lt as EventFeatureConfigOfClaimActivationKeyValidator,
2815
+ Ut as EventFeatureConfigOfClaimRewardsValidator,
2816
+ Et as EventFeatureConfigOfCommentValidator,
2817
+ Ft as EventFeatureConfigOfFollowValidator,
2818
+ At as EventFeatureConfigOfGiftCodeValidator,
2819
+ Ot as EventFeatureConfigOfInviteValidator,
2820
+ Qt as EventFeatureConfigOfInvitedRegisterValidator,
2821
+ Jt as EventFeatureConfigOfLotteryDrawValidator,
2822
+ Ht as EventFeatureConfigOfLotteryValidator,
2823
+ Xt as EventFeatureConfigOfPreregisterValidator,
2824
+ Wt as EventFeatureConfigOfQuestValidator,
2825
+ nn as EventFeatureConfigOfRedeemValidator,
2826
+ an as EventFeatureConfigOfRegisterValidator,
2827
+ sn as EventFeatureConfigOfShareValidator,
2828
+ un as EventFeatureConfigOfSubscribeValidator,
2829
+ mn as EventFeatureConfigOfSurveyValidator,
2830
+ gn as EventFeatureConfigOfTeamValidator,
2831
+ yn as EventFeatureConfigOfUgcLikeValidator,
2832
+ _n as EventFeatureConfigOfUgcValidator,
2833
+ Rn as EventFeatureConfigOfVote2Validator,
2834
+ wn as EventFeatureConfigOfVoteValidator,
2835
+ jn as EventFeatureConfigValidator,
2851
2836
  rt as EventPeriodType,
2852
2837
  at as EventPeriodTypeValidator,
2853
- b as EventRewardItemConfigValidator,
2838
+ _ as EventRewardItemConfigValidator,
2854
2839
  Qe as ExtraGameRewardValidator,
2855
2840
  Ne as ExtraPhysicalShipmentValidator,
2856
- nn as FeatureRedeemItemConfigValidator,
2857
- Vt as FeatureRewardValidator,
2841
+ tn as FeatureRedeemItemConfigValidator,
2842
+ Ct as FeatureRewardValidator,
2858
2843
  u as FeatureType,
2859
2844
  ot as FeatureTypeValidator,
2860
- Ir as ForumMode,
2861
- Dr as ForumModeValidator,
2845
+ Fr as ForumMode,
2846
+ Ir as ForumModeValidator,
2862
2847
  se as ForumValidator,
2863
2848
  v as GamerItemType,
2864
2849
  ee as GamerItemTypeValidator,
2865
2850
  Ce as Gender,
2866
2851
  Ve as GenderValidator,
2867
- Ln as GiftCodeEngagementDataValidator,
2868
- Sn as InviteEngagementDataValidator,
2869
- _t as LotteryDrawAction,
2870
- Va as LotteryDrawActionValidator,
2871
- $n as LotteryDrawEngagementDataValidator,
2872
- Un as LotteryEngagementDataValidator,
2852
+ xn as GiftCodeEngagementDataValidator,
2853
+ Ln as InviteEngagementDataValidator,
2854
+ pt as LotteryDrawAction,
2855
+ Ra as LotteryDrawActionValidator,
2856
+ En as LotteryDrawEngagementDataValidator,
2857
+ Sn as LotteryEngagementDataValidator,
2873
2858
  w as LotteryTicketStatus,
2874
- Ra as LotteryTicketStatusValidator,
2875
- y as NotificationBaseValidator,
2876
- Gr as NotificationCategory,
2877
- qa as NotificationCategoryValidator,
2878
- zr as NotificationCommentReplyValidator,
2879
- Jr as NotificationCommentValidator,
2859
+ ka as LotteryTicketStatusValidator,
2860
+ b as NotificationBaseValidator,
2861
+ Ar as NotificationCategory,
2862
+ ja as NotificationCategoryValidator,
2863
+ Hr as NotificationCommentReplyValidator,
2864
+ zr as NotificationCommentValidator,
2880
2865
  V as NotificationPayloadCommentValidator,
2881
2866
  A as NotificationPayloadPostValidator,
2882
2867
  G as NotificationPayloadReplyValidator,
2883
- Br as NotificationPayloadSystemValidator,
2884
- Hr as NotificationPostCommentValidator,
2885
- Kr as NotificationPostValidator,
2886
- Zr as NotificationReplyRepliedValidator,
2887
- Xr as NotificationReplyValidator,
2888
- Mr as NotificationSystemValidator,
2868
+ Qr as NotificationPayloadSystemValidator,
2869
+ Kr as NotificationPostCommentValidator,
2870
+ Mr as NotificationPostValidator,
2871
+ Jr as NotificationReplyRepliedValidator,
2872
+ Zr as NotificationReplyValidator,
2873
+ Br as NotificationSystemValidator,
2889
2874
  m as NotificationType,
2890
- Or as NotificationTypeValidator,
2891
- Yr as NotificationValidator,
2875
+ Gr as NotificationTypeValidator,
2876
+ Xr as NotificationValidator,
2892
2877
  Ie as PlayerRoleCardValidator,
2893
2878
  Z as PlayerRoleValidator,
2894
- Ar as PostStatus,
2879
+ Dr as PostStatus,
2895
2880
  ie as PostStatusValidator,
2896
2881
  D as PostValidator,
2897
- Fn as PreregisterEngagementDataValidator,
2898
- Qr as PresignedUrlResponseValidator,
2899
- In as QuestEngagementDataValidator,
2882
+ $n as PreregisterEngagementDataValidator,
2883
+ Nr as PresignedUrlResponseValidator,
2884
+ Fn as QuestEngagementDataValidator,
2900
2885
  it as QuestObjective,
2901
2886
  ne as QuestObjectiveValidator,
2902
- bt as QuestProgressAlgorithm,
2903
- yt as QuestProgressAlgorithmValidator,
2904
- Dn as QuestProgressValidator,
2905
- An as RedeemEngagementDataValidator,
2906
- fa as RedeemParamsValidator,
2907
- Gn as RedeemStocksResponseValidator,
2887
+ _t as QuestProgressAlgorithm,
2888
+ bt as QuestProgressAlgorithmValidator,
2889
+ In as QuestProgressValidator,
2890
+ Dn as RedeemEngagementDataValidator,
2891
+ ha as RedeemParamsValidator,
2892
+ An as RedeemStocksResponseValidator,
2908
2893
  Be as RedemptionValidator,
2909
- Ct as RegularRewardValidator,
2910
- Nr as ReplyToValidator,
2894
+ Rt as RegularRewardValidator,
2895
+ Or as ReplyToValidator,
2911
2896
  C as ReplyValidator,
2912
- ka as RewardItemType,
2897
+ wa as RewardItemType,
2913
2898
  te as RewardItemTypeValidator,
2914
- mt as RewardSource,
2899
+ lt as RewardSource,
2915
2900
  E as RewardSourceValidator,
2916
- g as RewardStatus,
2917
- ut as RewardStatusSuffix,
2918
- re as RewardStatusSuffixValidator,
2919
- va as RewardStatusValidator,
2920
- or as RewardValidator,
2901
+ y as RewardStatus,
2902
+ re as RewardStatusValidator,
2903
+ ar as RewardValidator,
2921
2904
  Fe as RoleBaseInfoValidator,
2922
2905
  $e as ServerBaseInfoValidator,
2923
- On as ShareEngagementDataValidator,
2924
- Qn as SurveyEngagementDataValidator,
2925
- pt as TeamAction,
2926
- Ca as TeamActionValidator,
2927
- Mn as TeamEngagementDataValidator,
2928
- Bn as TeamEngagementValidator,
2929
- ja as TeamMemberValidator,
2930
- dt as TeamVisibility,
2931
- gt as TeamVisibilityValidator,
2906
+ Gn as ShareEngagementDataValidator,
2907
+ Nn as SurveyEngagementDataValidator,
2908
+ gt as TeamAction,
2909
+ va as TeamActionValidator,
2910
+ Bn as TeamEngagementDataValidator,
2911
+ Qn as TeamEngagementValidator,
2912
+ Ca as TeamMemberValidator,
2913
+ mt as TeamVisibility,
2914
+ dt as TeamVisibilityValidator,
2932
2915
  I as TopicValidator,
2933
- Jn as UgcCountResponseValidator,
2934
- Kn as UgcEngagementDataValidator,
2935
- Xn as UgcLeaderboardResponseValidator,
2936
- Hn as UgcRecordBaseResponseValidator,
2937
- zn as UgcRecordResponseValidator,
2938
- kt as UgcReviewStatus,
2939
- vt as UgcReviewStatusValidator,
2940
- wt as UgcSocialMedia,
2916
+ zn as UgcCountResponseValidator,
2917
+ Mn as UgcEngagementDataValidator,
2918
+ Zn as UgcLeaderboardResponseValidator,
2919
+ Kn as UgcRecordBaseResponseValidator,
2920
+ Hn as UgcRecordResponseValidator,
2921
+ wt as UgcReviewStatus,
2922
+ kt as UgcReviewStatusValidator,
2923
+ ft as UgcSocialMedia,
2941
2924
  $ as UgcSocialMediaValidator,
2942
- Zn as UgcUploadImageValidator,
2925
+ Jn as UgcUploadImageValidator,
2943
2926
  F as UserEngagementDataValidator,
2944
- sr as UserEngagementValidator,
2945
- ur as UserFeatureStatusValidator,
2927
+ ir as UserEngagementValidator,
2928
+ cr as UserFeatureStatusValidator,
2946
2929
  R as UserRewardValidator,
2947
- cr as VerifyMobileResultValidator,
2948
- er as Vote2ClaimRewardsResponseValidator,
2949
- Wn as Vote2EngagementDataValidator,
2950
- ht as Vote2RewardType,
2951
- ft as Vote2RewardTypeValidator,
2952
- Yn as VoteEngagementDataValidator,
2930
+ sr as VerifyMobileResultValidator,
2931
+ Wn as Vote2ClaimRewardsResponseValidator,
2932
+ Yn as Vote2EngagementDataValidator,
2933
+ yt as Vote2RewardType,
2934
+ ht as Vote2RewardTypeValidator,
2935
+ Xn as VoteEngagementDataValidator,
2953
2936
  st as VoteOptionSource,
2954
2937
  ct as VoteOptionSourceValidator,
2955
- La as WeixinApi,
2956
- Nn as WeixinSubscribeEngagementDataValidator,
2957
- pa as WeixinWebLoginErrorCode,
2958
- rr as ZeroChatGPTDataValidator,
2959
- ga as isWeixinSignResponse
2938
+ qa as WeixinApi,
2939
+ On as WeixinSubscribeEngagementDataValidator,
2940
+ ga as WeixinWebLoginErrorCode,
2941
+ nr as ZeroChatGPTDataValidator,
2942
+ da as isWeixinSignResponse
2960
2943
  };