@seayoo-web/gamer-api 2.12.6 → 2.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +281 -271
- package/package.json +3 -3
- package/types/src/event.config/feature.d.ts +4 -2
- package/types/src/event.config/feature.ugcLike.d.ts +12 -0
- package/types/src/event.engage/engage.d.ts +1 -0
- package/types/src/event.engage/engage.ugcLike.d.ts +4 -0
- package/types/src/event.engage/index.d.ts +3 -3
- package/types/src/event.enums.d.ts +2 -0
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isComboWebView as de } from "@seayoo-web/combo-webview";
|
|
2
|
-
import { isPlainObject as k, supportWx as b, useConsole as ge, usePromise as pe, pruneURL as _e, supportWindow as be, queryString as
|
|
2
|
+
import { isPlainObject as k, supportWx as b, useConsole as ge, usePromise as pe, pruneURL as _e, supportWindow as be, queryString as S, pruneObject as c, omitFields as P, parseJSON as ye, removePara as G } from "@seayoo-web/utils";
|
|
3
3
|
import { v as e, objectGuard as s } from "@seayoo-web/validator";
|
|
4
4
|
function he(i) {
|
|
5
5
|
return k(i, "gamer_token") && typeof i.gamer_token == "string";
|
|
@@ -56,7 +56,7 @@ const ke = {
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
}, h = "gamer_token";
|
|
59
|
-
class
|
|
59
|
+
class oa {
|
|
60
60
|
$NetRequest;
|
|
61
61
|
$idToken = "";
|
|
62
62
|
$weixinToken = "";
|
|
@@ -87,7 +87,7 @@ class ra {
|
|
|
87
87
|
this.$gamerToken && (a.headers.Authorization = `Bearer ${this.$gamerToken}`);
|
|
88
88
|
}
|
|
89
89
|
}), be()) {
|
|
90
|
-
const a = /^(?:localhost|[\d.]+):\d{4}$/.test(location.host), o =
|
|
90
|
+
const a = /^(?:localhost|[\d.]+):\d{4}$/.test(location.host), o = S("gamer_token");
|
|
91
91
|
(de() || a && o) && (this.$gamerToken = o);
|
|
92
92
|
}
|
|
93
93
|
this.$gamerToken || this.loadGamerTokenCache();
|
|
@@ -247,14 +247,14 @@ const Ve = {
|
|
|
247
247
|
Physical: "physical",
|
|
248
248
|
/** 虚拟商品 */
|
|
249
249
|
Virtual: "virtual"
|
|
250
|
-
}, z = e.string().enum(xe).lock(),
|
|
250
|
+
}, z = e.string().enum(xe).lock(), Le = {
|
|
251
251
|
/** 待发放 */
|
|
252
252
|
Pending: "pending",
|
|
253
253
|
/** 已发放 */
|
|
254
254
|
Issued: "issued",
|
|
255
255
|
/** 发放失败 */
|
|
256
256
|
Failed: "failed"
|
|
257
|
-
},
|
|
257
|
+
}, Se = e.string().enum(Le).lock(), Pe = e.object({
|
|
258
258
|
default_avatar_url: e.string(),
|
|
259
259
|
official_avatar_urls: e.array(e.string()),
|
|
260
260
|
default_nickname: e.string(),
|
|
@@ -281,15 +281,15 @@ const Ve = {
|
|
|
281
281
|
credit_expiring: e.number(),
|
|
282
282
|
level_change_time: e.number(),
|
|
283
283
|
level_expire_time: e.number()
|
|
284
|
-
}).lock(),
|
|
284
|
+
}).lock(), Ue = e.object({
|
|
285
285
|
server_id: e.string(),
|
|
286
286
|
server_name: e.string()
|
|
287
|
-
}).lock(),
|
|
287
|
+
}).lock(), $e = e.object({
|
|
288
288
|
role_id: e.string(),
|
|
289
289
|
role_name: e.string()
|
|
290
290
|
}).lock(), J = e.object({
|
|
291
|
-
...Ue.shape,
|
|
292
291
|
...$e.shape,
|
|
292
|
+
...Ue.shape,
|
|
293
293
|
role_level: e.number(),
|
|
294
294
|
last_login_time: e.number()
|
|
295
295
|
}).lock(), Fe = e.object({
|
|
@@ -367,7 +367,7 @@ const Ve = {
|
|
|
367
367
|
}).lock(), Ge = e.object({
|
|
368
368
|
...P(X.shape, "tag"),
|
|
369
369
|
product: Y.clone().optional()
|
|
370
|
-
}).lock(),
|
|
370
|
+
}).lock(), ia = e.union(
|
|
371
371
|
e.object({
|
|
372
372
|
server_id: e.string(),
|
|
373
373
|
role_id: e.string()
|
|
@@ -399,7 +399,7 @@ const Ve = {
|
|
|
399
399
|
catalog_name: e.string(),
|
|
400
400
|
quantity: e.number(),
|
|
401
401
|
amount: e.number(),
|
|
402
|
-
status:
|
|
402
|
+
status: Se,
|
|
403
403
|
created_at: e.number(),
|
|
404
404
|
extra_data: e.union(Oe.clone(), Ne.clone()).satisfies().optional()
|
|
405
405
|
}), Be = e.guard(Pe), N = s({ player: Ee }), Me = s({ roles: e.array(J) }), T = s({ role_card: Fe }), Q = e.guard(De), B = e.guard(Z), Ke = s({ addresses: e.array(Z) }), He = e.guard(Ie), ze = s({
|
|
@@ -409,7 +409,7 @@ const Ve = {
|
|
|
409
409
|
redemptions: e.array(Qe),
|
|
410
410
|
next_token: e.string().optional()
|
|
411
411
|
});
|
|
412
|
-
class
|
|
412
|
+
class sa {
|
|
413
413
|
token;
|
|
414
414
|
req;
|
|
415
415
|
constructor(t) {
|
|
@@ -693,7 +693,7 @@ const v = {
|
|
|
693
693
|
ExternalCode: "external_gift_code",
|
|
694
694
|
/** 空奖励 */
|
|
695
695
|
VoidItem: "void_item"
|
|
696
|
-
}, W = e.string().enum(v).lock(),
|
|
696
|
+
}, W = e.string().enum(v).lock(), ca = v, ee = W, We = {
|
|
697
697
|
/** 世游通行证 ID / Combo ID */
|
|
698
698
|
UserId: "user_id",
|
|
699
699
|
/** 游戏角色 ID */
|
|
@@ -747,7 +747,9 @@ const v = {
|
|
|
747
747
|
/** 不朽箴言特有的 AI 聊天 */
|
|
748
748
|
ZeroChatgpt: "zero_chatgpt",
|
|
749
749
|
/** 投稿 */
|
|
750
|
-
Ugc: "ugc"
|
|
750
|
+
Ugc: "ugc",
|
|
751
|
+
/** 投稿点赞 */
|
|
752
|
+
UgcLike: "ugc_like"
|
|
751
753
|
}, rt = e.string().enum(l).lock(), at = {
|
|
752
754
|
/** 累计游戏内活跃值 */
|
|
753
755
|
Active: "player_active_points",
|
|
@@ -789,7 +791,7 @@ const v = {
|
|
|
789
791
|
Failed: "failed",
|
|
790
792
|
/** 奖励已发货 */
|
|
791
793
|
Delivered: "delivered"
|
|
792
|
-
},
|
|
794
|
+
}, la = e.string().enum(g).lock(), st = {
|
|
793
795
|
/** 奖励未领取 */
|
|
794
796
|
Unclaimed: g.Unclaimed,
|
|
795
797
|
/** 奖励已领取 */
|
|
@@ -814,7 +816,7 @@ const v = {
|
|
|
814
816
|
Output: "output",
|
|
815
817
|
/** 玩法参与奖励 */
|
|
816
818
|
Engage: "engage"
|
|
817
|
-
},
|
|
819
|
+
}, U = e.string().enum(lt).lock(), ut = {
|
|
818
820
|
/** 私有队伍 */
|
|
819
821
|
Private: "private",
|
|
820
822
|
/** 公开队伍 */
|
|
@@ -830,7 +832,7 @@ const v = {
|
|
|
830
832
|
Claimed: "claimed",
|
|
831
833
|
/** 领奖失败 */
|
|
832
834
|
Fail: "fail"
|
|
833
|
-
},
|
|
835
|
+
}, ua = e.string().enum(f).lock(), dt = {
|
|
834
836
|
/** 发起组队 */
|
|
835
837
|
Assemble: "assemble",
|
|
836
838
|
/** 加入队伍 */
|
|
@@ -841,14 +843,14 @@ const v = {
|
|
|
841
843
|
ChangeVisibility: "change_visibility",
|
|
842
844
|
/** 查询组队信息 */
|
|
843
845
|
Query: "query"
|
|
844
|
-
},
|
|
846
|
+
}, ma = e.string().enum(dt).lock(), gt = {
|
|
845
847
|
/** 查询抽奖券 */
|
|
846
848
|
Query: "query",
|
|
847
849
|
/** 开奖 */
|
|
848
850
|
Draw: "draw",
|
|
849
851
|
/** 领奖 */
|
|
850
852
|
Claim: "claim"
|
|
851
|
-
},
|
|
853
|
+
}, da = e.string().enum(gt).lock(), pt = {
|
|
852
854
|
/** 将所有队员的进度值求和,作为队伍进度值 */
|
|
853
855
|
Sum: "sum",
|
|
854
856
|
/** 以进度值倒序排名第 N 的队员的进度值,作为队伍进度值。如果队伍人数不足 N,则队伍进度值为 0。N 的值来自于配置字段 top_n */
|
|
@@ -929,9 +931,9 @@ const v = {
|
|
|
929
931
|
}), qt = l.ClaimActivationKey, xt = e.object({
|
|
930
932
|
...u.shape,
|
|
931
933
|
feature_type: e.string().enum(qt)
|
|
932
|
-
}),
|
|
934
|
+
}), Lt = l.ClaimRewards, St = e.object({
|
|
933
935
|
...u.shape,
|
|
934
|
-
feature_type: e.string().enum(
|
|
936
|
+
feature_type: e.string().enum(Lt)
|
|
935
937
|
}), Pt = l.Comment, Et = e.object({
|
|
936
938
|
...u.shape,
|
|
937
939
|
feature_type: e.string().enum(Pt),
|
|
@@ -939,9 +941,9 @@ const v = {
|
|
|
939
941
|
comments: e.array(e.string()),
|
|
940
942
|
send_rate: e.number()
|
|
941
943
|
})
|
|
942
|
-
}),
|
|
944
|
+
}), Ut = l.Follow, $t = e.object({
|
|
943
945
|
...u.shape,
|
|
944
|
-
feature_type: e.string().enum(
|
|
946
|
+
feature_type: e.string().enum(Ut),
|
|
945
947
|
config: e.object({
|
|
946
948
|
platform: e.string(),
|
|
947
949
|
platform_icon: e.string().optional(),
|
|
@@ -1057,7 +1059,13 @@ const v = {
|
|
|
1057
1059
|
allowed_social_medias: e.array(e.string()).optional(),
|
|
1058
1060
|
acceptance_rewards: e.array(y).optional()
|
|
1059
1061
|
})
|
|
1060
|
-
}), dn = l.
|
|
1062
|
+
}), dn = l.Ugc, gn = e.object({
|
|
1063
|
+
...u.shape,
|
|
1064
|
+
feature_type: e.string().enum(dn),
|
|
1065
|
+
config: e.object({
|
|
1066
|
+
ugc_feature_id: e.number()
|
|
1067
|
+
})
|
|
1068
|
+
}), pn = l.Vote, _n = e.object({
|
|
1061
1069
|
sn: e.string(),
|
|
1062
1070
|
name: e.string(),
|
|
1063
1071
|
img_urls: e.array(e.string()).optional(),
|
|
@@ -1067,30 +1075,30 @@ const v = {
|
|
|
1067
1075
|
amount: e.number(),
|
|
1068
1076
|
finalists: e.bool(),
|
|
1069
1077
|
last_vote_time: e.number()
|
|
1070
|
-
}),
|
|
1078
|
+
}), bn = e.object({
|
|
1071
1079
|
...u.shape,
|
|
1072
|
-
feature_type: e.string().enum(
|
|
1080
|
+
feature_type: e.string().enum(pn),
|
|
1073
1081
|
config: e.object({
|
|
1074
1082
|
vote_feature_ids: e.array(e.number()),
|
|
1075
1083
|
submission_feature_ids: e.array(e.number()),
|
|
1076
1084
|
finalists_amount: e.number(),
|
|
1077
1085
|
source: it,
|
|
1078
|
-
options: e.array(
|
|
1086
|
+
options: e.array(_n),
|
|
1079
1087
|
rewards: e.array(y)
|
|
1080
1088
|
})
|
|
1081
|
-
}),
|
|
1089
|
+
}), yn = l.Vote2, hn = e.object({
|
|
1082
1090
|
candidate_id: e.string(),
|
|
1083
1091
|
display_name: e.string(),
|
|
1084
1092
|
images: e.array(e.string()).optional(),
|
|
1085
1093
|
videos: e.array(e.string()).optional(),
|
|
1086
1094
|
description: e.string().optional(),
|
|
1087
1095
|
jump_url: e.string()
|
|
1088
|
-
}),
|
|
1096
|
+
}), fn = e.object({
|
|
1089
1097
|
...u.shape,
|
|
1090
|
-
feature_type: e.string().enum(
|
|
1098
|
+
feature_type: e.string().enum(yn),
|
|
1091
1099
|
config: e.object({
|
|
1092
1100
|
vote_item_id: e.number().optional(),
|
|
1093
|
-
candidates: e.array(
|
|
1101
|
+
candidates: e.array(hn),
|
|
1094
1102
|
vote_since: e.number(),
|
|
1095
1103
|
vote_until: e.number(),
|
|
1096
1104
|
rewards_since: e.number(),
|
|
@@ -1098,15 +1106,15 @@ const v = {
|
|
|
1098
1106
|
winner_rewards: e.array(y).optional(),
|
|
1099
1107
|
consolation_rewards: e.array(y).optional()
|
|
1100
1108
|
})
|
|
1101
|
-
}),
|
|
1109
|
+
}), wn = l.ZeroChatgpt, kn = e.object({
|
|
1102
1110
|
...u.shape,
|
|
1103
|
-
feature_type: e.string().enum(
|
|
1104
|
-
}),
|
|
1111
|
+
feature_type: e.string().enum(wn)
|
|
1112
|
+
}), vn = e.union(
|
|
1105
1113
|
Rt,
|
|
1106
1114
|
Tt,
|
|
1107
|
-
|
|
1115
|
+
St,
|
|
1108
1116
|
Et,
|
|
1109
|
-
|
|
1117
|
+
$t,
|
|
1110
1118
|
It,
|
|
1111
1119
|
Gt,
|
|
1112
1120
|
Nt,
|
|
@@ -1119,36 +1127,37 @@ const v = {
|
|
|
1119
1127
|
an,
|
|
1120
1128
|
sn,
|
|
1121
1129
|
ln,
|
|
1122
|
-
|
|
1123
|
-
yn,
|
|
1124
|
-
xt,
|
|
1130
|
+
bn,
|
|
1125
1131
|
fn,
|
|
1126
|
-
|
|
1127
|
-
|
|
1132
|
+
xt,
|
|
1133
|
+
kn,
|
|
1134
|
+
mn,
|
|
1135
|
+
gn
|
|
1136
|
+
).key("feature_type").satisfies(), Vn = e.object({
|
|
1128
1137
|
event_name: e.string(),
|
|
1129
1138
|
rules: e.string(),
|
|
1130
1139
|
since: e.number(),
|
|
1131
1140
|
until: e.number(),
|
|
1132
1141
|
visit_count: e.number().optional(),
|
|
1133
|
-
features: e.array(
|
|
1142
|
+
features: e.array(vn)
|
|
1134
1143
|
}).lock(), q = e.union(e.string().pattern("NumberString", /^\d+$/), e.number()), ae = e.object({
|
|
1135
1144
|
order_total_amount: q,
|
|
1136
1145
|
cashback_total_amount: q,
|
|
1137
1146
|
game_item_count: q
|
|
1138
|
-
}),
|
|
1147
|
+
}), Cn = e.object({
|
|
1139
1148
|
activation_key: e.string().disallow("")
|
|
1140
|
-
}),
|
|
1149
|
+
}), Rn = e.object({
|
|
1141
1150
|
gift_code: e.string()
|
|
1142
|
-
}),
|
|
1151
|
+
}), jn = e.object({
|
|
1143
1152
|
user_id: e.string(),
|
|
1144
1153
|
name: e.string().optional(),
|
|
1145
1154
|
avatar_url: e.string().optional()
|
|
1146
|
-
}),
|
|
1155
|
+
}), Tn = e.object({
|
|
1147
1156
|
lottery_count: e.number()
|
|
1148
1157
|
}), V = e.object({
|
|
1149
1158
|
reward_id: e.number(),
|
|
1150
1159
|
reward_item_id: e.number(),
|
|
1151
|
-
reward_source:
|
|
1160
|
+
reward_source: U,
|
|
1152
1161
|
reward_item_name: e.string(),
|
|
1153
1162
|
reward_item_type: W,
|
|
1154
1163
|
reward_item_icon_url: e.string(),
|
|
@@ -1163,26 +1172,26 @@ const v = {
|
|
|
1163
1172
|
feature_type: rt,
|
|
1164
1173
|
receive_time: e.number(),
|
|
1165
1174
|
extra_data: e.record(e.unknown()).optional()
|
|
1166
|
-
}),
|
|
1175
|
+
}), qn = e.string().enum(f.Unknown, f.Pending), xn = e.union(
|
|
1167
1176
|
e.object({
|
|
1168
1177
|
ticket: e.string(),
|
|
1169
|
-
status:
|
|
1178
|
+
status: qn
|
|
1170
1179
|
}),
|
|
1171
1180
|
e.object({
|
|
1172
1181
|
ticket: e.string(),
|
|
1173
1182
|
status: e.string().enum(P(f, "Unknown", "Pending")),
|
|
1174
1183
|
reward: V
|
|
1175
1184
|
})
|
|
1176
|
-
).satisfies(),
|
|
1177
|
-
tickets: e.array(
|
|
1178
|
-
}),
|
|
1185
|
+
).satisfies(), Ln = e.object({
|
|
1186
|
+
tickets: e.array(xn)
|
|
1187
|
+
}), Sn = e.object({
|
|
1179
1188
|
platforms: e.array(e.string())
|
|
1180
1189
|
}), oe = e.object({
|
|
1181
1190
|
role_name: e.string(),
|
|
1182
1191
|
is_leader: e.bool(),
|
|
1183
1192
|
is_myself: e.bool().optional(),
|
|
1184
1193
|
progress: e.number().optional()
|
|
1185
|
-
}).lock(),
|
|
1194
|
+
}).lock(), Pn = e.object({
|
|
1186
1195
|
objective: te,
|
|
1187
1196
|
progress: e.number(),
|
|
1188
1197
|
completion_value: e.number().optional(),
|
|
@@ -1191,28 +1200,28 @@ const v = {
|
|
|
1191
1200
|
completion_value: e.number().optional(),
|
|
1192
1201
|
players: e.array(oe)
|
|
1193
1202
|
}).optional()
|
|
1194
|
-
}),
|
|
1203
|
+
}), En = e.object({
|
|
1195
1204
|
progress: e.number(),
|
|
1196
1205
|
team: e.object({
|
|
1197
1206
|
progress: e.number(),
|
|
1198
1207
|
team_members: e.array(oe).optional()
|
|
1199
1208
|
}).optional()
|
|
1200
|
-
}),
|
|
1209
|
+
}), Un = e.object({
|
|
1201
1210
|
platform: e.string()
|
|
1202
|
-
}), En = e.object({
|
|
1203
|
-
weixin_openid: e.string()
|
|
1204
1211
|
}), $n = e.object({
|
|
1212
|
+
weixin_openid: e.string()
|
|
1213
|
+
}), Fn = e.object({
|
|
1205
1214
|
serial_number: e.number()
|
|
1206
|
-
}),
|
|
1215
|
+
}), Dn = e.object({
|
|
1207
1216
|
team_code: e.string(),
|
|
1208
1217
|
leader_name: e.string(),
|
|
1209
1218
|
total_members: e.number()
|
|
1210
|
-
}),
|
|
1219
|
+
}), ga = e.object({
|
|
1211
1220
|
is_leader: e.bool(),
|
|
1212
1221
|
is_myself: e.bool().optional(),
|
|
1213
1222
|
role_name: e.string(),
|
|
1214
1223
|
server_name: e.string()
|
|
1215
|
-
}),
|
|
1224
|
+
}), In = e.object({
|
|
1216
1225
|
team_code: e.string(),
|
|
1217
1226
|
visibility: mt,
|
|
1218
1227
|
members: e.array(
|
|
@@ -1222,14 +1231,14 @@ const v = {
|
|
|
1222
1231
|
server_name: e.string()
|
|
1223
1232
|
})
|
|
1224
1233
|
)
|
|
1225
|
-
}),
|
|
1234
|
+
}), An = e.object({
|
|
1226
1235
|
ugc_id: e.number(),
|
|
1227
1236
|
title: e.string(),
|
|
1228
1237
|
content: e.string().optional(),
|
|
1229
1238
|
image_urls: e.array(e.string()).optional(),
|
|
1230
1239
|
social_media: re.clone().optional(),
|
|
1231
1240
|
social_media_url: e.string().optional()
|
|
1232
|
-
}),
|
|
1241
|
+
}), Gn = e.object({
|
|
1233
1242
|
ugcs: e.array(
|
|
1234
1243
|
e.object({
|
|
1235
1244
|
ugc_id: e.number(),
|
|
@@ -1248,11 +1257,11 @@ const v = {
|
|
|
1248
1257
|
})
|
|
1249
1258
|
).optional(),
|
|
1250
1259
|
next_token: e.string().optional()
|
|
1251
|
-
}),
|
|
1260
|
+
}), On = e.object({
|
|
1252
1261
|
existed: e.bool(),
|
|
1253
1262
|
upload_url: e.string().optional(),
|
|
1254
1263
|
image_url: e.string()
|
|
1255
|
-
}),
|
|
1264
|
+
}), Nn = e.object({
|
|
1256
1265
|
ugcs: e.array(
|
|
1257
1266
|
e.object({
|
|
1258
1267
|
ugc_id: e.number(),
|
|
@@ -1265,68 +1274,68 @@ const v = {
|
|
|
1265
1274
|
role_name: e.string().optional()
|
|
1266
1275
|
})
|
|
1267
1276
|
)
|
|
1268
|
-
}),
|
|
1277
|
+
}), Qn = e.object({
|
|
1269
1278
|
option_sn: e.string()
|
|
1270
|
-
}),
|
|
1279
|
+
}), Bn = e.object({
|
|
1271
1280
|
candidate_id: e.string(),
|
|
1272
1281
|
total_votes: e.number().optional(),
|
|
1273
1282
|
my_votes: e.number().optional(),
|
|
1274
1283
|
votes: e.number().optional()
|
|
1275
|
-
}),
|
|
1284
|
+
}), Mn = e.object({
|
|
1276
1285
|
rewards_type: yt,
|
|
1277
1286
|
rewards: e.array(V).optional()
|
|
1278
|
-
}),
|
|
1287
|
+
}), Kn = e.object({
|
|
1279
1288
|
candidate_id: e.string(),
|
|
1280
1289
|
is_winner: e.bool(),
|
|
1281
1290
|
total_votes: e.number(),
|
|
1282
1291
|
my_votes: e.number()
|
|
1283
|
-
}),
|
|
1292
|
+
}), Hn = e.object({
|
|
1284
1293
|
role: e.string(),
|
|
1285
1294
|
content: e.string()
|
|
1286
|
-
}),
|
|
1287
|
-
conversations: e.array(
|
|
1288
|
-
}),
|
|
1295
|
+
}), zn = e.object({
|
|
1296
|
+
conversations: e.array(Hn)
|
|
1297
|
+
}), Jn = e.object({
|
|
1289
1298
|
user_id: e.string(),
|
|
1290
1299
|
name: e.string(),
|
|
1291
1300
|
avatar_url: e.string(),
|
|
1292
1301
|
comment: e.string(),
|
|
1293
1302
|
video_note: e.number(),
|
|
1294
1303
|
created_at: e.number()
|
|
1295
|
-
}),
|
|
1296
|
-
|
|
1297
|
-
|
|
1304
|
+
}), $ = e.union(
|
|
1305
|
+
Sn,
|
|
1306
|
+
Tn,
|
|
1307
|
+
Fn,
|
|
1308
|
+
jn,
|
|
1309
|
+
Un,
|
|
1310
|
+
Qn,
|
|
1311
|
+
Bn,
|
|
1298
1312
|
$n,
|
|
1299
|
-
Cn,
|
|
1300
|
-
Pn,
|
|
1301
|
-
On,
|
|
1302
|
-
Nn,
|
|
1303
|
-
En,
|
|
1304
1313
|
ae,
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1314
|
+
Rn,
|
|
1315
|
+
In,
|
|
1316
|
+
Pn,
|
|
1317
|
+
Ln,
|
|
1318
|
+
Cn,
|
|
1319
|
+
zn,
|
|
1320
|
+
An,
|
|
1312
1321
|
e.custom(
|
|
1313
1322
|
"EmptyObject",
|
|
1314
1323
|
(i) => k(i) && Object.keys(i).length === 0
|
|
1315
1324
|
)
|
|
1316
|
-
).satisfies().lock(),
|
|
1325
|
+
).satisfies().lock(), Zn = e.object({
|
|
1317
1326
|
reward_id: e.number(),
|
|
1318
1327
|
reward_item_id: e.number(),
|
|
1319
1328
|
reward_item_type: ee,
|
|
1320
1329
|
reward_count: e.number(),
|
|
1321
1330
|
reward_status: ne,
|
|
1322
|
-
reward_source:
|
|
1331
|
+
reward_source: U,
|
|
1323
1332
|
reward_item_name: e.string(),
|
|
1324
1333
|
reward_item_icon_url: e.string(),
|
|
1325
1334
|
reward_item_desc: e.string().optional(),
|
|
1326
1335
|
reward_item_rating: e.number(),
|
|
1327
1336
|
receive_time: e.number(),
|
|
1328
|
-
extra_data: e.union(
|
|
1329
|
-
}),
|
|
1337
|
+
extra_data: e.union(...$.validators, e.record(e.unknown())).satisfies().optional()
|
|
1338
|
+
}), Xn = e.object({
|
|
1330
1339
|
reward_id: e.number(),
|
|
1331
1340
|
reward_item_id: e.number(),
|
|
1332
1341
|
reward_item_name: e.string(),
|
|
@@ -1336,69 +1345,69 @@ const v = {
|
|
|
1336
1345
|
reward_item_rating: e.number(),
|
|
1337
1346
|
reward_amount: e.number(),
|
|
1338
1347
|
reward_status: ne,
|
|
1339
|
-
reward_source:
|
|
1348
|
+
reward_source: U,
|
|
1340
1349
|
extra_data: e.record(e.unknown()).optional()
|
|
1341
|
-
}),
|
|
1350
|
+
}), Yn = e.object({
|
|
1342
1351
|
engagement_id: e.number(),
|
|
1343
1352
|
user_id: e.string(),
|
|
1344
1353
|
event_id: e.number(),
|
|
1345
1354
|
feature_id: e.number(),
|
|
1346
1355
|
sequence: e.number(),
|
|
1347
|
-
data:
|
|
1356
|
+
data: $.clone().optional(),
|
|
1348
1357
|
server_id: e.string().optional(),
|
|
1349
1358
|
role_id: e.string().optional(),
|
|
1350
1359
|
created_at: e.number(),
|
|
1351
|
-
rewards: e.array(
|
|
1352
|
-
}).lock(),
|
|
1360
|
+
rewards: e.array(Zn).optional()
|
|
1361
|
+
}).lock(), Wn = e.object({
|
|
1353
1362
|
allowed: e.bool(),
|
|
1354
1363
|
registered: e.bool()
|
|
1355
|
-
}),
|
|
1364
|
+
}), er = e.object({
|
|
1356
1365
|
feature_id: e.number(),
|
|
1357
1366
|
can_engage: e.bool(),
|
|
1358
1367
|
has_unclaimed_rewards: e.bool()
|
|
1359
|
-
}),
|
|
1368
|
+
}), tr = e.object({
|
|
1360
1369
|
engagement_id: e.number(),
|
|
1361
1370
|
engagement: e.object({
|
|
1362
1371
|
engagement_id: e.number(),
|
|
1363
1372
|
sequence: e.number(),
|
|
1364
1373
|
feature_id: e.number(),
|
|
1365
|
-
data:
|
|
1374
|
+
data: $.clone().optional()
|
|
1366
1375
|
}).optional(),
|
|
1367
|
-
rewards: e.array(
|
|
1376
|
+
rewards: e.array(Xn).optional(),
|
|
1368
1377
|
scan: e.bool().optional()
|
|
1369
|
-
}),
|
|
1378
|
+
}), nr = e.object({
|
|
1370
1379
|
reward_id: e.number(),
|
|
1371
1380
|
reward_status: E
|
|
1372
|
-
}),
|
|
1373
|
-
engagements: e.union(e.array(
|
|
1374
|
-
}), or = s({
|
|
1375
|
-
status: e.array(Yn)
|
|
1376
|
-
}), ir = s({
|
|
1377
|
-
engagements_counts: e.record(e.number())
|
|
1381
|
+
}), rr = e.guard(Vn), ar = e.guard(Wn), x = s({ count: e.number() }), or = s({ first_visit: e.bool() }), ir = s({
|
|
1382
|
+
engagements: e.union(e.array(Jn), e.array(Dn))
|
|
1378
1383
|
}), sr = s({
|
|
1379
|
-
|
|
1384
|
+
status: e.array(er)
|
|
1385
|
+
}), cr = s({
|
|
1386
|
+
engagements_counts: e.record(e.number())
|
|
1387
|
+
}), lr = s({
|
|
1388
|
+
engagements: e.array(Yn),
|
|
1380
1389
|
next_token: e.string().optional()
|
|
1381
|
-
}),
|
|
1382
|
-
claimed_items: e.array(
|
|
1383
|
-
}),
|
|
1390
|
+
}), ur = e.guard(tr), mr = s({
|
|
1391
|
+
claimed_items: e.array(nr)
|
|
1392
|
+
}), dr = s({
|
|
1384
1393
|
rewards: e.array(V)
|
|
1385
|
-
}),
|
|
1394
|
+
}), gr = s({
|
|
1386
1395
|
reward_status: E
|
|
1387
|
-
}),
|
|
1396
|
+
}), pr = s({
|
|
1388
1397
|
user_rewards: e.array(V),
|
|
1389
1398
|
next_token: e.string().optional()
|
|
1390
|
-
}),
|
|
1399
|
+
}), _r = s({
|
|
1391
1400
|
scene: e.string()
|
|
1392
|
-
}),
|
|
1401
|
+
}), br = s({
|
|
1393
1402
|
params: e.string()
|
|
1394
|
-
}),
|
|
1403
|
+
}), yr = s({
|
|
1395
1404
|
img: e.string()
|
|
1396
|
-
}),
|
|
1405
|
+
}), hr = e.guard(En), fr = e.guard(Mn), wr = e.guard(
|
|
1397
1406
|
e.object({
|
|
1398
|
-
candidate_votes: e.array(
|
|
1407
|
+
candidate_votes: e.array(Kn)
|
|
1399
1408
|
})
|
|
1400
|
-
),
|
|
1401
|
-
class
|
|
1409
|
+
), kr = e.guard(ae), M = e.guard(Gn), vr = e.guard(On), Vr = e.guard(Nn);
|
|
1410
|
+
class pa {
|
|
1402
1411
|
token;
|
|
1403
1412
|
event = 0;
|
|
1404
1413
|
req;
|
|
@@ -1411,7 +1420,7 @@ class da {
|
|
|
1411
1420
|
* https://kdocs.cn/l/cf2mO2uRLqh9?linkname=OWGSPF3Ysl
|
|
1412
1421
|
*/
|
|
1413
1422
|
async verifyMobileAllowed(t, n, r) {
|
|
1414
|
-
const { data: a } = await this.req.get("verify-mobile-allowed",
|
|
1423
|
+
const { data: a } = await this.req.get("verify-mobile-allowed", ar, {
|
|
1415
1424
|
...r,
|
|
1416
1425
|
params: { game_id: t, mobile: n }
|
|
1417
1426
|
});
|
|
@@ -1423,7 +1432,7 @@ class da {
|
|
|
1423
1432
|
* https://kdocs.cn/l/ckWFDcOsYEUA?linkname=wFXxtdNKPm
|
|
1424
1433
|
*/
|
|
1425
1434
|
async getConfig(t) {
|
|
1426
|
-
const { data: n } = await this.req.get(`event/${this.event}/event-config`,
|
|
1435
|
+
const { data: n } = await this.req.get(`event/${this.event}/event-config`, rr, t);
|
|
1427
1436
|
return n;
|
|
1428
1437
|
}
|
|
1429
1438
|
/**
|
|
@@ -1458,7 +1467,7 @@ class da {
|
|
|
1458
1467
|
* https://kdocs.cn/l/ckWFDcOsYEUA?linkname=THtZ4ewIQW
|
|
1459
1468
|
*/
|
|
1460
1469
|
async getEngagements(t, n) {
|
|
1461
|
-
const { data: r } = await this.req.get(`event/${this.event}/feature-engagements`,
|
|
1470
|
+
const { data: r } = await this.req.get(`event/${this.event}/feature-engagements`, ir, {
|
|
1462
1471
|
...n,
|
|
1463
1472
|
params: { feature_id: t }
|
|
1464
1473
|
});
|
|
@@ -1474,7 +1483,7 @@ class da {
|
|
|
1474
1483
|
const { data: r, code: a, message: o } = await this.req.post(
|
|
1475
1484
|
`event/${this.event}/visit`,
|
|
1476
1485
|
c(t || {}),
|
|
1477
|
-
|
|
1486
|
+
or,
|
|
1478
1487
|
n
|
|
1479
1488
|
);
|
|
1480
1489
|
return r ?? {
|
|
@@ -1491,7 +1500,7 @@ class da {
|
|
|
1491
1500
|
*/
|
|
1492
1501
|
async getUserFeatureStatus(t, n) {
|
|
1493
1502
|
if (!await this.token.autoLogin()) return [];
|
|
1494
|
-
const { data: r } = await this.req.get("event/user-feature-status",
|
|
1503
|
+
const { data: r } = await this.req.get("event/user-feature-status", sr, {
|
|
1495
1504
|
...n,
|
|
1496
1505
|
message: !1,
|
|
1497
1506
|
params: c({ ...t, event_id: this.event })
|
|
@@ -1505,7 +1514,7 @@ class da {
|
|
|
1505
1514
|
*/
|
|
1506
1515
|
async getUserEngagementCount(t, n) {
|
|
1507
1516
|
if (!await this.token.autoLogin()) return {};
|
|
1508
|
-
const { data: r } = await this.req.get("event/user-engagements-count",
|
|
1517
|
+
const { data: r } = await this.req.get("event/user-engagements-count", cr, {
|
|
1509
1518
|
message: !1,
|
|
1510
1519
|
params: c({ ...n, event_id: this.event, feature_id: t })
|
|
1511
1520
|
});
|
|
@@ -1524,7 +1533,7 @@ class da {
|
|
|
1524
1533
|
engagements: [],
|
|
1525
1534
|
next_token: ""
|
|
1526
1535
|
};
|
|
1527
|
-
const { data: a } = await this.req.get("event/user-engagements",
|
|
1536
|
+
const { data: a } = await this.req.get("event/user-engagements", lr, {
|
|
1528
1537
|
...r,
|
|
1529
1538
|
params: c({
|
|
1530
1539
|
max_results: 20,
|
|
@@ -1556,7 +1565,7 @@ class da {
|
|
|
1556
1565
|
engagement: n,
|
|
1557
1566
|
...r
|
|
1558
1567
|
}),
|
|
1559
|
-
|
|
1568
|
+
ur,
|
|
1560
1569
|
a
|
|
1561
1570
|
);
|
|
1562
1571
|
return o ?? {
|
|
@@ -1579,7 +1588,7 @@ class da {
|
|
|
1579
1588
|
...t,
|
|
1580
1589
|
server_id: t.server_id ? +t.server_id : void 0
|
|
1581
1590
|
}),
|
|
1582
|
-
|
|
1591
|
+
mr,
|
|
1583
1592
|
n
|
|
1584
1593
|
);
|
|
1585
1594
|
return r?.claimed_items || {
|
|
@@ -1600,7 +1609,7 @@ class da {
|
|
|
1600
1609
|
...t,
|
|
1601
1610
|
server_id: t.server_id ? +t.server_id : void 0
|
|
1602
1611
|
}),
|
|
1603
|
-
|
|
1612
|
+
dr,
|
|
1604
1613
|
n
|
|
1605
1614
|
);
|
|
1606
1615
|
return r?.rewards || {
|
|
@@ -1618,7 +1627,7 @@ class da {
|
|
|
1618
1627
|
const { data: r, code: a, message: o } = await this.req.post(
|
|
1619
1628
|
"event/claim-weixin-hongbao",
|
|
1620
1629
|
{ reward_id: t },
|
|
1621
|
-
|
|
1630
|
+
gr,
|
|
1622
1631
|
n
|
|
1623
1632
|
);
|
|
1624
1633
|
return r || {
|
|
@@ -1659,7 +1668,7 @@ class da {
|
|
|
1659
1668
|
const { data: r } = await this.req.post(
|
|
1660
1669
|
"event/user-rewards",
|
|
1661
1670
|
c({ max_results: 20, ...t, event_id: this.event }),
|
|
1662
|
-
|
|
1671
|
+
pr,
|
|
1663
1672
|
n
|
|
1664
1673
|
);
|
|
1665
1674
|
return {
|
|
@@ -1707,7 +1716,7 @@ class da {
|
|
|
1707
1716
|
*/
|
|
1708
1717
|
async getUnlimitQrcodeScene(t, n) {
|
|
1709
1718
|
if (!await this.token.autoLogin()) return null;
|
|
1710
|
-
const { data: r } = await this.req.get("event/unlimit-qrcode-scene",
|
|
1719
|
+
const { data: r } = await this.req.get("event/unlimit-qrcode-scene", _r, {
|
|
1711
1720
|
...n,
|
|
1712
1721
|
params: { params: t }
|
|
1713
1722
|
});
|
|
@@ -1721,7 +1730,7 @@ class da {
|
|
|
1721
1730
|
* @param scene - 小程序码 scene 值
|
|
1722
1731
|
*/
|
|
1723
1732
|
async getParamsByQrcodeScene(t, n) {
|
|
1724
|
-
const { data: r } = await this.req.get("event/params-by-qrcode-scene",
|
|
1733
|
+
const { data: r } = await this.req.get("event/params-by-qrcode-scene", br, {
|
|
1725
1734
|
...n,
|
|
1726
1735
|
params: { scene: t }
|
|
1727
1736
|
});
|
|
@@ -1737,7 +1746,7 @@ class da {
|
|
|
1737
1746
|
const { data: r } = await this.req.post(
|
|
1738
1747
|
"event/unlimit-qrcode",
|
|
1739
1748
|
c(t),
|
|
1740
|
-
|
|
1749
|
+
yr,
|
|
1741
1750
|
n
|
|
1742
1751
|
);
|
|
1743
1752
|
return r?.img ?? null;
|
|
@@ -1749,7 +1758,7 @@ class da {
|
|
|
1749
1758
|
*/
|
|
1750
1759
|
async getQuestProgress(t, n) {
|
|
1751
1760
|
if (!await this.token.autoLogin()) return null;
|
|
1752
|
-
const { data: r, code: a, message: o } = await this.req.get(`event/${this.event}/quest-progress`,
|
|
1761
|
+
const { data: r, code: a, message: o } = await this.req.get(`event/${this.event}/quest-progress`, hr, {
|
|
1753
1762
|
message: !1,
|
|
1754
1763
|
...n,
|
|
1755
1764
|
params: { feature_id: t }
|
|
@@ -1771,7 +1780,7 @@ class da {
|
|
|
1771
1780
|
const { data: r, code: a, message: o } = await this.req.post(
|
|
1772
1781
|
"event/vote2/rewards",
|
|
1773
1782
|
{ feature_id: t, event_id: this.event },
|
|
1774
|
-
|
|
1783
|
+
fr,
|
|
1775
1784
|
n
|
|
1776
1785
|
);
|
|
1777
1786
|
return r || {
|
|
@@ -1786,7 +1795,7 @@ class da {
|
|
|
1786
1795
|
*/
|
|
1787
1796
|
async getVote2Leaderboard(t, n) {
|
|
1788
1797
|
if (!await this.token.autoLogin()) return [];
|
|
1789
|
-
const { data: r } = await this.req.get("event/vote2/leaderboard",
|
|
1798
|
+
const { data: r } = await this.req.get("event/vote2/leaderboard", wr, {
|
|
1790
1799
|
...n,
|
|
1791
1800
|
params: { feature_id: t, event_id: this.event }
|
|
1792
1801
|
});
|
|
@@ -1799,7 +1808,7 @@ class da {
|
|
|
1799
1808
|
*/
|
|
1800
1809
|
async getCashbackQuery(t, n) {
|
|
1801
1810
|
if (!await this.token.autoLogin()) return null;
|
|
1802
|
-
const { data: r, code: a, message: o } = await this.req.get("event/cashback/query",
|
|
1811
|
+
const { data: r, code: a, message: o } = await this.req.get("event/cashback/query", kr, {
|
|
1803
1812
|
...n,
|
|
1804
1813
|
params: { feature_id: t, event_id: this.event }
|
|
1805
1814
|
});
|
|
@@ -1843,7 +1852,7 @@ class da {
|
|
|
1843
1852
|
const { data: a, code: o, message: d } = await this.req.post(
|
|
1844
1853
|
"event/ugc/upload-image",
|
|
1845
1854
|
{ feature_id: t, ...n, event_id: this.event },
|
|
1846
|
-
|
|
1855
|
+
vr,
|
|
1847
1856
|
r
|
|
1848
1857
|
);
|
|
1849
1858
|
return a || {
|
|
@@ -1882,7 +1891,7 @@ class da {
|
|
|
1882
1891
|
*/
|
|
1883
1892
|
async getUgcLeaderboard(t, n) {
|
|
1884
1893
|
if (!await this.token.autoLogin()) return null;
|
|
1885
|
-
const { data: r, code: a, message: o } = await this.req.get("event/ugc/leaderboard",
|
|
1894
|
+
const { data: r, code: a, message: o } = await this.req.get("event/ugc/leaderboard", Vr, {
|
|
1886
1895
|
...n,
|
|
1887
1896
|
params: {
|
|
1888
1897
|
feature_id: t,
|
|
@@ -1895,12 +1904,12 @@ class da {
|
|
|
1895
1904
|
};
|
|
1896
1905
|
}
|
|
1897
1906
|
}
|
|
1898
|
-
const
|
|
1907
|
+
const Cr = {
|
|
1899
1908
|
/** 所有人均可以发帖 */
|
|
1900
1909
|
All: "all",
|
|
1901
1910
|
/** 指定用户可发帖 */
|
|
1902
1911
|
Limit: "limit"
|
|
1903
|
-
},
|
|
1912
|
+
}, Rr = e.string().enum(Cr).lock(), jr = {
|
|
1904
1913
|
/** 待审核(仅自己可见) */
|
|
1905
1914
|
Pending: "pending",
|
|
1906
1915
|
/** 审核通过 */
|
|
@@ -1909,14 +1918,14 @@ const vr = {
|
|
|
1909
1918
|
Failed: "failed",
|
|
1910
1919
|
/** 嫌疑(仅自己可见) */
|
|
1911
1920
|
Suspect: "suspect"
|
|
1912
|
-
}, ie = e.string().enum(
|
|
1921
|
+
}, ie = e.string().enum(jr).lock(), Tr = {
|
|
1913
1922
|
/** 系统通知 */
|
|
1914
1923
|
System: "system",
|
|
1915
1924
|
/** 评论我的 */
|
|
1916
1925
|
Comment: "comment",
|
|
1917
1926
|
/** 点赞通知 */
|
|
1918
1927
|
Like: "like"
|
|
1919
|
-
},
|
|
1928
|
+
}, _a = e.string().enum(Tr).lock(), m = {
|
|
1920
1929
|
/** 系统通知 */
|
|
1921
1930
|
System: "system",
|
|
1922
1931
|
/** 帖子被置顶 */
|
|
@@ -1941,13 +1950,13 @@ const vr = {
|
|
|
1941
1950
|
ReplyLiked: "reply_liked",
|
|
1942
1951
|
/** 回复被删除 */
|
|
1943
1952
|
ReplyDeleted: "reply_deleted"
|
|
1944
|
-
},
|
|
1953
|
+
}, qr = e.string().enum(m).lock(), se = e.object({
|
|
1945
1954
|
forum_id: e.number(),
|
|
1946
1955
|
icon_url: e.string(),
|
|
1947
1956
|
name: e.string(),
|
|
1948
1957
|
tags: e.array(e.string()),
|
|
1949
1958
|
sort: e.number(),
|
|
1950
|
-
mode:
|
|
1959
|
+
mode: Rr,
|
|
1951
1960
|
member_ids: e.array(e.number())
|
|
1952
1961
|
}).lock(), F = e.object({
|
|
1953
1962
|
topic_id: e.number(),
|
|
@@ -1978,7 +1987,7 @@ const vr = {
|
|
|
1978
1987
|
create_time: e.number()
|
|
1979
1988
|
}).lock(), ce = e.object({
|
|
1980
1989
|
err_msg: e.string().optional()
|
|
1981
|
-
}).optional().lock(),
|
|
1990
|
+
}).optional().lock(), xr = e.object({
|
|
1982
1991
|
reply_id: e.number(),
|
|
1983
1992
|
reply_content: e.string().optional(),
|
|
1984
1993
|
replied_by: e.string(),
|
|
@@ -1997,7 +2006,7 @@ const vr = {
|
|
|
1997
2006
|
content: e.string(),
|
|
1998
2007
|
like_num: e.number(),
|
|
1999
2008
|
liked: e.bool(),
|
|
2000
|
-
reply_to:
|
|
2009
|
+
reply_to: xr,
|
|
2001
2010
|
create_time: e.number()
|
|
2002
2011
|
}).lock(), w = e.object({
|
|
2003
2012
|
comment_id: e.number(),
|
|
@@ -2019,19 +2028,19 @@ const vr = {
|
|
|
2019
2028
|
create_time: e.number(),
|
|
2020
2029
|
status: ie,
|
|
2021
2030
|
replies: e.array(C).optional()
|
|
2022
|
-
}).lock(),
|
|
2031
|
+
}).lock(), Lr = e.object({
|
|
2023
2032
|
image_url: e.string(),
|
|
2024
2033
|
upload_url: e.string(),
|
|
2025
2034
|
existed: e.bool()
|
|
2026
2035
|
}).lock(), _ = e.object({
|
|
2027
2036
|
notification_id: e.string(),
|
|
2028
|
-
notification_type:
|
|
2037
|
+
notification_type: qr,
|
|
2029
2038
|
is_read: e.bool(),
|
|
2030
2039
|
create_time: e.number(),
|
|
2031
2040
|
origin_user_id: e.string(),
|
|
2032
2041
|
origin_user_name: e.string(),
|
|
2033
2042
|
origin_user_avatar_url: e.string()
|
|
2034
|
-
}).lock(),
|
|
2043
|
+
}).lock(), Sr = e.object({
|
|
2035
2044
|
system_message_subject: e.string(),
|
|
2036
2045
|
system_message_content: e.string()
|
|
2037
2046
|
}).lock(), I = e.object({
|
|
@@ -2045,11 +2054,11 @@ const vr = {
|
|
|
2045
2054
|
}).lock(), A = e.object({
|
|
2046
2055
|
reply_id: e.number(),
|
|
2047
2056
|
reply_content: e.string()
|
|
2048
|
-
}).lock(),
|
|
2057
|
+
}).lock(), Pr = e.object({
|
|
2049
2058
|
..._.shape,
|
|
2050
|
-
...
|
|
2059
|
+
...Sr.shape,
|
|
2051
2060
|
notification_type: e.string().enum(m.System)
|
|
2052
|
-
}),
|
|
2061
|
+
}), Er = e.object({
|
|
2053
2062
|
..._.shape,
|
|
2054
2063
|
...I.shape,
|
|
2055
2064
|
notification_type: e.string().enum(
|
|
@@ -2058,68 +2067,68 @@ const vr = {
|
|
|
2058
2067
|
m.PostDeleted,
|
|
2059
2068
|
m.PostLiked
|
|
2060
2069
|
)
|
|
2061
|
-
}),
|
|
2070
|
+
}), Ur = e.object({
|
|
2062
2071
|
..._.shape,
|
|
2063
2072
|
...I.shape,
|
|
2064
2073
|
...R.shape,
|
|
2065
2074
|
notification_type: e.string().enum(m.PostCommented)
|
|
2066
|
-
}),
|
|
2075
|
+
}), $r = e.object({
|
|
2067
2076
|
..._.shape,
|
|
2068
2077
|
...R.shape,
|
|
2069
2078
|
...A.shape,
|
|
2070
2079
|
notification_type: e.string().enum(m.CommentReplied)
|
|
2071
|
-
}),
|
|
2080
|
+
}), Fr = e.object({
|
|
2072
2081
|
..._.shape,
|
|
2073
2082
|
...R.shape,
|
|
2074
2083
|
...I.shape,
|
|
2075
2084
|
notification_type: e.string().enum(m.CommentLiked, m.CommentDeleted)
|
|
2076
|
-
}),
|
|
2085
|
+
}), Dr = e.object({
|
|
2077
2086
|
..._.shape,
|
|
2078
2087
|
...A.shape,
|
|
2079
2088
|
notification_type: e.string().enum(m.ReplyReplied),
|
|
2080
2089
|
comment_id: e.number(),
|
|
2081
2090
|
reply_to_reply_id: e.number(),
|
|
2082
2091
|
reply_to_reply_content: e.string()
|
|
2083
|
-
}),
|
|
2092
|
+
}), Ir = e.object({
|
|
2084
2093
|
..._.shape,
|
|
2085
2094
|
...A.shape,
|
|
2086
2095
|
...R.shape,
|
|
2087
2096
|
notification_type: e.string().enum(m.ReplyLiked, m.ReplyDeleted)
|
|
2088
|
-
}),
|
|
2089
|
-
Sr,
|
|
2090
|
-
Lr,
|
|
2097
|
+
}), Ar = e.union(
|
|
2091
2098
|
Pr,
|
|
2092
2099
|
Er,
|
|
2093
|
-
$r,
|
|
2094
2100
|
Ur,
|
|
2095
|
-
|
|
2096
|
-
|
|
2101
|
+
$r,
|
|
2102
|
+
Fr,
|
|
2103
|
+
Dr,
|
|
2104
|
+
Ir
|
|
2105
|
+
).satisfies().lock(), Gr = s({ forums: e.array(se) }), Or = s({ topics: e.array(F) }), Nr = s({ topic: F }), Qr = s({ post: D }), K = s({
|
|
2097
2106
|
posts: e.array(D),
|
|
2098
2107
|
next_token: e.string().optional()
|
|
2099
|
-
}),
|
|
2108
|
+
}), Br = s({
|
|
2100
2109
|
post: D.clone().optional(),
|
|
2101
2110
|
antispam: ce.clone().optional()
|
|
2102
|
-
}),
|
|
2111
|
+
}), Mr = s({
|
|
2103
2112
|
replies: e.array(C),
|
|
2104
2113
|
next_token: e.string().optional()
|
|
2105
|
-
}),
|
|
2114
|
+
}), Kr = s({ reply: C }), Hr = s({
|
|
2106
2115
|
reply: C.clone().optional(),
|
|
2107
2116
|
antispam: ce.clone().optional()
|
|
2108
|
-
}),
|
|
2117
|
+
}), zr = s({ comment: w }), Jr = s({
|
|
2109
2118
|
comments: e.array(w),
|
|
2110
2119
|
next_token: e.string().optional()
|
|
2111
|
-
}),
|
|
2120
|
+
}), Zr = s({
|
|
2112
2121
|
comment: w.clone().optional(),
|
|
2113
2122
|
antispam: w.clone().optional()
|
|
2114
|
-
}),
|
|
2115
|
-
notifications: e.array(
|
|
2123
|
+
}), Xr = e.guard(Lr), Yr = s({
|
|
2124
|
+
notifications: e.array(Ar),
|
|
2116
2125
|
next_token: e.string().optional()
|
|
2117
|
-
}),
|
|
2126
|
+
}), Wr = s({
|
|
2118
2127
|
system: e.number(),
|
|
2119
2128
|
comment: e.number(),
|
|
2120
2129
|
like: e.number()
|
|
2121
2130
|
});
|
|
2122
|
-
class
|
|
2131
|
+
class ba {
|
|
2123
2132
|
token;
|
|
2124
2133
|
req;
|
|
2125
2134
|
constructor(t) {
|
|
@@ -2131,7 +2140,7 @@ class pa {
|
|
|
2131
2140
|
* https://kdocs.cn/l/cbggfJodHLIz?linkname=QaqUa2K0z0
|
|
2132
2141
|
*/
|
|
2133
2142
|
async getForums(t) {
|
|
2134
|
-
const { data: n } = await this.req.get("community/forums",
|
|
2143
|
+
const { data: n } = await this.req.get("community/forums", Gr, t);
|
|
2135
2144
|
return n?.forums || [];
|
|
2136
2145
|
}
|
|
2137
2146
|
/**
|
|
@@ -2140,7 +2149,7 @@ class pa {
|
|
|
2140
2149
|
* https://kdocs.cn/l/cbggfJodHLIz?linkname=mIwpymAQom
|
|
2141
2150
|
*/
|
|
2142
2151
|
async getTopics(t) {
|
|
2143
|
-
const { data: n } = await this.req.get("community/topics",
|
|
2152
|
+
const { data: n } = await this.req.get("community/topics", Or, t);
|
|
2144
2153
|
return n?.topics || [];
|
|
2145
2154
|
}
|
|
2146
2155
|
/**
|
|
@@ -2149,7 +2158,7 @@ class pa {
|
|
|
2149
2158
|
* https://kdocs.cn/l/cbggfJodHLIz?linkname=Jvw7xMK31K
|
|
2150
2159
|
*/
|
|
2151
2160
|
async getTopic(t, n) {
|
|
2152
|
-
const { data: r, code: a } = await this.req.get("community/topic",
|
|
2161
|
+
const { data: r, code: a } = await this.req.get("community/topic", Nr, {
|
|
2153
2162
|
...n,
|
|
2154
2163
|
params: { topic_id: t }
|
|
2155
2164
|
});
|
|
@@ -2191,7 +2200,7 @@ class pa {
|
|
|
2191
2200
|
* https://kdocs.cn/l/cbggfJodHLIz?linkname=hj1AZy5rcP
|
|
2192
2201
|
*/
|
|
2193
2202
|
async getPost(t, n) {
|
|
2194
|
-
const { data: r, code: a, message: o } = await this.req.get("community/post",
|
|
2203
|
+
const { data: r, code: a, message: o } = await this.req.get("community/post", Qr, {
|
|
2195
2204
|
...n,
|
|
2196
2205
|
params: { post_id: t }
|
|
2197
2206
|
});
|
|
@@ -2209,7 +2218,7 @@ class pa {
|
|
|
2209
2218
|
const { data: r, code: a, message: o } = await this.req.post(
|
|
2210
2219
|
"community/post",
|
|
2211
2220
|
c(t),
|
|
2212
|
-
|
|
2221
|
+
Br,
|
|
2213
2222
|
n
|
|
2214
2223
|
);
|
|
2215
2224
|
return r ?? {
|
|
@@ -2223,7 +2232,7 @@ class pa {
|
|
|
2223
2232
|
* https://kdocs.cn/l/cbggfJodHLIz?linkname=djKbX7lFdp
|
|
2224
2233
|
*/
|
|
2225
2234
|
async getComments(t, n) {
|
|
2226
|
-
const { data: r, code: a, message: o } = await this.req.get("community/comments",
|
|
2235
|
+
const { data: r, code: a, message: o } = await this.req.get("community/comments", Jr, {
|
|
2227
2236
|
...n,
|
|
2228
2237
|
params: c(t)
|
|
2229
2238
|
});
|
|
@@ -2238,7 +2247,7 @@ class pa {
|
|
|
2238
2247
|
* https://kdocs.cn/l/cbggfJodHLIz?linkname=RIc7oxVGae
|
|
2239
2248
|
*/
|
|
2240
2249
|
async getComment(t, n) {
|
|
2241
|
-
const { data: r, code: a, message: o } = await this.req.get("community/comment",
|
|
2250
|
+
const { data: r, code: a, message: o } = await this.req.get("community/comment", zr, {
|
|
2242
2251
|
...n,
|
|
2243
2252
|
params: { comment_id: t }
|
|
2244
2253
|
});
|
|
@@ -2257,7 +2266,7 @@ class pa {
|
|
|
2257
2266
|
const { data: r, code: a, message: o } = await this.req.post(
|
|
2258
2267
|
"community/comment",
|
|
2259
2268
|
c(t),
|
|
2260
|
-
|
|
2269
|
+
Zr,
|
|
2261
2270
|
n
|
|
2262
2271
|
);
|
|
2263
2272
|
return r ?? {
|
|
@@ -2271,7 +2280,7 @@ class pa {
|
|
|
2271
2280
|
* https://kdocs.cn/l/cbggfJodHLIz?linkname=sVKBbY83MY
|
|
2272
2281
|
*/
|
|
2273
2282
|
async getReplies(t, n) {
|
|
2274
|
-
const { data: r } = await this.req.get("community/replies",
|
|
2283
|
+
const { data: r } = await this.req.get("community/replies", Mr, {
|
|
2275
2284
|
...n,
|
|
2276
2285
|
params: c({ max_results: 20, ...t })
|
|
2277
2286
|
});
|
|
@@ -2286,7 +2295,7 @@ class pa {
|
|
|
2286
2295
|
* https://kdocs.cn/l/cbggfJodHLIz?linkname=kxhcSXD3MG
|
|
2287
2296
|
*/
|
|
2288
2297
|
async getReply(t, n) {
|
|
2289
|
-
const { data: r, code: a, message: o } = await this.req.get("community/reply",
|
|
2298
|
+
const { data: r, code: a, message: o } = await this.req.get("community/reply", Kr, {
|
|
2290
2299
|
...n,
|
|
2291
2300
|
params: { reply_id: t }
|
|
2292
2301
|
});
|
|
@@ -2305,7 +2314,7 @@ class pa {
|
|
|
2305
2314
|
const { data: r, code: a, message: o } = await this.req.post(
|
|
2306
2315
|
"community/reply",
|
|
2307
2316
|
c(t),
|
|
2308
|
-
|
|
2317
|
+
Hr,
|
|
2309
2318
|
n
|
|
2310
2319
|
);
|
|
2311
2320
|
return r ?? {
|
|
@@ -2356,7 +2365,7 @@ class pa {
|
|
|
2356
2365
|
*/
|
|
2357
2366
|
async getMediaPresignedUrl(t, n) {
|
|
2358
2367
|
await this.token.autoLogin();
|
|
2359
|
-
const { data: r } = await this.req.get("community/media-presign-url",
|
|
2368
|
+
const { data: r } = await this.req.get("community/media-presign-url", Xr, {
|
|
2360
2369
|
...n,
|
|
2361
2370
|
params: t
|
|
2362
2371
|
});
|
|
@@ -2371,7 +2380,7 @@ class pa {
|
|
|
2371
2380
|
*/
|
|
2372
2381
|
async getNotifications(t, n) {
|
|
2373
2382
|
await this.token.autoLogin();
|
|
2374
|
-
const { data: r } = await this.req.get("community/notifications",
|
|
2383
|
+
const { data: r } = await this.req.get("community/notifications", Yr, {
|
|
2375
2384
|
...n,
|
|
2376
2385
|
params: c({ max_results: 20, ...t })
|
|
2377
2386
|
});
|
|
@@ -2389,7 +2398,7 @@ class pa {
|
|
|
2389
2398
|
if (!await this.token.autoLogin()) return null;
|
|
2390
2399
|
const { data: n } = await this.req.get(
|
|
2391
2400
|
"community/unread-notifications-count",
|
|
2392
|
-
|
|
2401
|
+
Wr,
|
|
2393
2402
|
t
|
|
2394
2403
|
);
|
|
2395
2404
|
return n;
|
|
@@ -2405,17 +2414,17 @@ class pa {
|
|
|
2405
2414
|
return r;
|
|
2406
2415
|
}
|
|
2407
2416
|
}
|
|
2408
|
-
const
|
|
2417
|
+
const ea = s({
|
|
2409
2418
|
nonce_str: e.string(),
|
|
2410
2419
|
timestamp: e.number(),
|
|
2411
2420
|
signature: e.string()
|
|
2412
2421
|
});
|
|
2413
|
-
var
|
|
2414
|
-
function
|
|
2422
|
+
var ta = /* @__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))(ta || {});
|
|
2423
|
+
function L(i) {
|
|
2415
2424
|
return k(i, "open_id", "union_id", "weixin_token");
|
|
2416
2425
|
}
|
|
2417
2426
|
const H = "wx_login_cache";
|
|
2418
|
-
class
|
|
2427
|
+
class ya {
|
|
2419
2428
|
token;
|
|
2420
2429
|
$appid;
|
|
2421
2430
|
req;
|
|
@@ -2450,7 +2459,7 @@ class _a {
|
|
|
2450
2459
|
if (!t)
|
|
2451
2460
|
return null;
|
|
2452
2461
|
const n = ye(t);
|
|
2453
|
-
return
|
|
2462
|
+
return L(n) ? (this.token.weixinToken = n.weixin_token, await this.token.autoLogin(), n) : null;
|
|
2454
2463
|
}
|
|
2455
2464
|
/**
|
|
2456
2465
|
* 小程序页面微信静默登录,获取 weixinToken / open_id / union_id。
|
|
@@ -2478,7 +2487,7 @@ class _a {
|
|
|
2478
2487
|
const r = await we(), { data: a, code: o, message: d } = await this.req.post(
|
|
2479
2488
|
"weixin/login",
|
|
2480
2489
|
{ code: r, appid: this.appid },
|
|
2481
|
-
|
|
2490
|
+
L,
|
|
2482
2491
|
{ ...t, message: !1 }
|
|
2483
2492
|
);
|
|
2484
2493
|
return a && (this.token.weixinToken = a.weixin_token, this.token.storage.set(H, JSON.stringify(a))), a ?? {
|
|
@@ -2503,7 +2512,7 @@ class _a {
|
|
|
2503
2512
|
* - snsapi_userinfo 【默认】弹出授权页面,可拿到 openid、union_id、昵称、头像等信息,但用户也可能会拒绝授权
|
|
2504
2513
|
*/
|
|
2505
2514
|
async webLogin(t = "snsapi_userinfo", n) {
|
|
2506
|
-
const r =
|
|
2515
|
+
const r = S("code"), a = Date.now(), o = +S("state");
|
|
2507
2516
|
if (!r || !o || o < a - 1e3 * 60 * 5 || o > a) {
|
|
2508
2517
|
const me = G(["code", "state"]);
|
|
2509
2518
|
location.replace(
|
|
@@ -2522,7 +2531,7 @@ class _a {
|
|
|
2522
2531
|
data: p,
|
|
2523
2532
|
code: le,
|
|
2524
2533
|
message: ue
|
|
2525
|
-
} = await this.req.post("weixin/login", { code: r, appid: this.appid },
|
|
2534
|
+
} = await this.req.post("weixin/login", { code: r, appid: this.appid }, L, n);
|
|
2526
2535
|
return p && (this.token.weixinToken = p.weixin_token, await this.token.autoLogin()), p ?? {
|
|
2527
2536
|
message: ue,
|
|
2528
2537
|
error: le
|
|
@@ -2555,7 +2564,7 @@ class _a {
|
|
|
2555
2564
|
* https://kdocs.cn/l/cf2mO2uRLqh9?linkname=CuWOqxr9Ue
|
|
2556
2565
|
*/
|
|
2557
2566
|
async getJSSDKConfig(t) {
|
|
2558
|
-
const { data: n } = await this.req.get("weixin/offiaccount/jssdk-sign",
|
|
2567
|
+
const { data: n } = await this.req.get("weixin/offiaccount/jssdk-sign", ea, {
|
|
2559
2568
|
...t,
|
|
2560
2569
|
params: {
|
|
2561
2570
|
appid: this.appid,
|
|
@@ -2572,15 +2581,15 @@ class _a {
|
|
|
2572
2581
|
}
|
|
2573
2582
|
export {
|
|
2574
2583
|
ce as AntispamValidator,
|
|
2575
|
-
|
|
2576
|
-
|
|
2584
|
+
oa as AuthToken,
|
|
2585
|
+
Kn as CandidateVoteValidator,
|
|
2577
2586
|
ae as CashbackEngagementDataValidator,
|
|
2578
|
-
|
|
2587
|
+
Cn as ClaimActivationKeyEngagementDataValidator,
|
|
2579
2588
|
ct as ClaimRewardStatus,
|
|
2580
2589
|
E as ClaimRewardStatusValidator,
|
|
2581
|
-
|
|
2590
|
+
nr as ClaimedItemValidator,
|
|
2582
2591
|
Z as ClubAddressValidator,
|
|
2583
|
-
|
|
2592
|
+
sa as ClubApi,
|
|
2584
2593
|
X as ClubBenefitSummaryValidator,
|
|
2585
2594
|
Ge as ClubBenefitValidator,
|
|
2586
2595
|
Te as ClubCreditChangeScene,
|
|
@@ -2593,26 +2602,26 @@ export {
|
|
|
2593
2602
|
z as ClubItemTypeValidator,
|
|
2594
2603
|
Ee as ClubPlayerValidator,
|
|
2595
2604
|
Y as ClubProductValidator,
|
|
2596
|
-
|
|
2597
|
-
|
|
2605
|
+
Le as ClubRedemptionStatus,
|
|
2606
|
+
Se as ClubRedemptionStatusValidator,
|
|
2598
2607
|
Ie as ClubUserCreditValidator,
|
|
2599
2608
|
De as ClubUserProfileValidator,
|
|
2600
|
-
|
|
2609
|
+
Jn as CommentEngagementValidator,
|
|
2601
2610
|
w as CommentValidator,
|
|
2602
|
-
|
|
2603
|
-
|
|
2611
|
+
ba as CommunityApi,
|
|
2612
|
+
Hn as ConversationValidator,
|
|
2604
2613
|
We as EngageAccountType,
|
|
2605
2614
|
et as EngageAccountTypeValidator,
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2615
|
+
tr as EngageResponseValidator,
|
|
2616
|
+
Xn as EngageRewardValidator,
|
|
2617
|
+
pa as EventApi,
|
|
2618
|
+
Vn as EventConfigValidator,
|
|
2610
2619
|
Rt as EventFeatureConfigOfCashbackValidator,
|
|
2611
2620
|
Tt as EventFeatureConfigOfCheckInValidator,
|
|
2612
2621
|
xt as EventFeatureConfigOfClaimActivationKeyValidator,
|
|
2613
|
-
|
|
2622
|
+
St as EventFeatureConfigOfClaimRewardsValidator,
|
|
2614
2623
|
Et as EventFeatureConfigOfCommentValidator,
|
|
2615
|
-
|
|
2624
|
+
$t as EventFeatureConfigOfFollowValidator,
|
|
2616
2625
|
It as EventFeatureConfigOfGiftCodeValidator,
|
|
2617
2626
|
Gt as EventFeatureConfigOfInviteValidator,
|
|
2618
2627
|
Nt as EventFeatureConfigOfInvitedRegisterValidator,
|
|
@@ -2625,10 +2634,11 @@ export {
|
|
|
2625
2634
|
an as EventFeatureConfigOfSubscribeValidator,
|
|
2626
2635
|
sn as EventFeatureConfigOfSurveyValidator,
|
|
2627
2636
|
ln as EventFeatureConfigOfTeamValidator,
|
|
2637
|
+
gn as EventFeatureConfigOfUgcLikeValidator,
|
|
2628
2638
|
mn as EventFeatureConfigOfUgcValidator,
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2639
|
+
fn as EventFeatureConfigOfVote2Validator,
|
|
2640
|
+
bn as EventFeatureConfigOfVoteValidator,
|
|
2641
|
+
vn as EventFeatureConfigValidator,
|
|
2632
2642
|
tt as EventPeriodType,
|
|
2633
2643
|
nt as EventPeriodTypeValidator,
|
|
2634
2644
|
y as EventRewardItemConfigValidator,
|
|
@@ -2637,100 +2647,100 @@ export {
|
|
|
2637
2647
|
Vt as FeatureRewardValidator,
|
|
2638
2648
|
l as FeatureType,
|
|
2639
2649
|
rt as FeatureTypeValidator,
|
|
2640
|
-
|
|
2641
|
-
|
|
2650
|
+
Cr as ForumMode,
|
|
2651
|
+
Rr as ForumModeValidator,
|
|
2642
2652
|
se as ForumValidator,
|
|
2643
2653
|
v as GamerItemType,
|
|
2644
2654
|
W as GamerItemTypeValidator,
|
|
2645
2655
|
Ve as Gender,
|
|
2646
2656
|
Ce as GenderValidator,
|
|
2647
|
-
|
|
2648
|
-
|
|
2657
|
+
Rn as GiftCodeEngagementDataValidator,
|
|
2658
|
+
jn as InviteEngagementDataValidator,
|
|
2649
2659
|
gt as LotteryDrawAction,
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2660
|
+
da as LotteryDrawActionValidator,
|
|
2661
|
+
Ln as LotteryDrawEngagementDataValidator,
|
|
2662
|
+
Tn as LotteryEngagementDataValidator,
|
|
2653
2663
|
f as LotteryTicketStatus,
|
|
2654
|
-
|
|
2664
|
+
ua as LotteryTicketStatusValidator,
|
|
2655
2665
|
_ as NotificationBaseValidator,
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2666
|
+
Tr as NotificationCategory,
|
|
2667
|
+
_a as NotificationCategoryValidator,
|
|
2668
|
+
$r as NotificationCommentReplyValidator,
|
|
2669
|
+
Fr as NotificationCommentValidator,
|
|
2660
2670
|
R as NotificationPayloadCommentValidator,
|
|
2661
2671
|
I as NotificationPayloadPostValidator,
|
|
2662
2672
|
A as NotificationPayloadReplyValidator,
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2673
|
+
Sr as NotificationPayloadSystemValidator,
|
|
2674
|
+
Ur as NotificationPostCommentValidator,
|
|
2675
|
+
Er as NotificationPostValidator,
|
|
2676
|
+
Dr as NotificationReplyRepliedValidator,
|
|
2677
|
+
Ir as NotificationReplyValidator,
|
|
2678
|
+
Pr as NotificationSystemValidator,
|
|
2669
2679
|
m as NotificationType,
|
|
2670
|
-
|
|
2671
|
-
|
|
2680
|
+
qr as NotificationTypeValidator,
|
|
2681
|
+
Ar as NotificationValidator,
|
|
2672
2682
|
Fe as PlayerRoleCardValidator,
|
|
2673
2683
|
J as PlayerRoleValidator,
|
|
2674
|
-
|
|
2684
|
+
jr as PostStatus,
|
|
2675
2685
|
ie as PostStatusValidator,
|
|
2676
2686
|
D as PostValidator,
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2687
|
+
Sn as PreregisterEngagementDataValidator,
|
|
2688
|
+
Lr as PresignedUrlResponseValidator,
|
|
2689
|
+
Pn as QuestEngagementDataValidator,
|
|
2680
2690
|
at as QuestObjective,
|
|
2681
2691
|
te as QuestObjectiveValidator,
|
|
2682
2692
|
pt as QuestProgressAlgorithm,
|
|
2683
2693
|
_t as QuestProgressAlgorithmValidator,
|
|
2684
|
-
|
|
2685
|
-
|
|
2694
|
+
En as QuestProgressValidator,
|
|
2695
|
+
ia as RedeemParamsValidator,
|
|
2686
2696
|
Qe as RedemptionValidator,
|
|
2687
2697
|
vt as RegularRewardValidator,
|
|
2688
|
-
|
|
2698
|
+
xr as ReplyToValidator,
|
|
2689
2699
|
C as ReplyValidator,
|
|
2690
|
-
|
|
2700
|
+
ca as RewardItemType,
|
|
2691
2701
|
ee as RewardItemTypeValidator,
|
|
2692
2702
|
lt as RewardSource,
|
|
2693
|
-
|
|
2703
|
+
U as RewardSourceValidator,
|
|
2694
2704
|
g as RewardStatus,
|
|
2695
2705
|
st as RewardStatusSuffix,
|
|
2696
2706
|
ne as RewardStatusSuffixValidator,
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2707
|
+
la as RewardStatusValidator,
|
|
2708
|
+
Zn as RewardValidator,
|
|
2709
|
+
$e as RoleBaseInfoValidator,
|
|
2710
|
+
Ue as ServerBaseInfoValidator,
|
|
2711
|
+
Un as ShareEngagementDataValidator,
|
|
2712
|
+
Fn as SurveyEngagementDataValidator,
|
|
2703
2713
|
dt as TeamAction,
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2714
|
+
ma as TeamActionValidator,
|
|
2715
|
+
In as TeamEngagementDataValidator,
|
|
2716
|
+
Dn as TeamEngagementValidator,
|
|
2717
|
+
ga as TeamMemberValidator,
|
|
2708
2718
|
ut as TeamVisibility,
|
|
2709
2719
|
mt as TeamVisibilityValidator,
|
|
2710
2720
|
F as TopicValidator,
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2721
|
+
An as UgcEngagementDataValidator,
|
|
2722
|
+
Nn as UgcLeaderboardResponseValidator,
|
|
2723
|
+
Gn as UgcRecordResponseValidator,
|
|
2714
2724
|
ft as UgcReviewStatus,
|
|
2715
2725
|
wt as UgcReviewStatusValidator,
|
|
2716
2726
|
ht as UgcSocialMedia,
|
|
2717
2727
|
re as UgcSocialMediaValidator,
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2728
|
+
On as UgcUploadImageValidator,
|
|
2729
|
+
$ as UserEngagementDataValidator,
|
|
2730
|
+
Yn as UserEngagementValidator,
|
|
2731
|
+
er as UserFeatureStatusValidator,
|
|
2722
2732
|
V as UserRewardValidator,
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2733
|
+
Wn as VerifyMobileResultValidator,
|
|
2734
|
+
Mn as Vote2ClaimRewardsResponseValidator,
|
|
2735
|
+
Bn as Vote2EngagementDataValidator,
|
|
2726
2736
|
bt as Vote2RewardType,
|
|
2727
2737
|
yt as Vote2RewardTypeValidator,
|
|
2728
|
-
|
|
2738
|
+
Qn as VoteEngagementDataValidator,
|
|
2729
2739
|
ot as VoteOptionSource,
|
|
2730
2740
|
it as VoteOptionSourceValidator,
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2741
|
+
ya as WeixinApi,
|
|
2742
|
+
$n as WeixinSubscribeEngagementDataValidator,
|
|
2743
|
+
ta as WeixinWebLoginErrorCode,
|
|
2744
|
+
zn as ZeroChatGPTDataValidator,
|
|
2745
|
+
ea as isWeixinSignResponse
|
|
2736
2746
|
};
|