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