@seayoo-web/gamer-api 2.13.7 → 2.13.9
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 +2 -2
- package/package.json +6 -6
- package/types/src/club.define.d.ts +16 -0
- package/types/src/club.enums.d.ts +5 -0
- package/types/src/community.define.d.ts +14 -0
- package/types/src/community.enums.d.ts +4 -0
- package/types/src/event.config/feature.lottery.d.ts +1 -1
- package/types/src/event.config/index.d.ts +1 -0
- package/types/src/event.config/reward.d.ts +4 -1
- package/types/src/event.engage/engage.d.ts +1 -0
- package/types/src/event.engage/index.d.ts +1 -0
- package/types/src/event.enums.d.ts +23 -4
package/dist/index.js
CHANGED
|
@@ -687,8 +687,8 @@ const v = {
|
|
|
687
687
|
ActivationKey: "activation_key",
|
|
688
688
|
/** 抽奖券 */
|
|
689
689
|
LotteryTicket: "lottery_ticket",
|
|
690
|
-
/**
|
|
691
|
-
|
|
690
|
+
/** 俱乐部积分 */
|
|
691
|
+
ClubCredit: "club_credit",
|
|
692
692
|
/** 外部兑换码 */
|
|
693
693
|
ExternalCode: "external_gift_code",
|
|
694
694
|
/** 空奖励 */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seayoo-web/gamer-api",
|
|
3
3
|
"description": "agent for gamer api",
|
|
4
|
-
"version": "2.13.
|
|
4
|
+
"version": "2.13.9",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"source": "index.ts",
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -30,17 +30,17 @@
|
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "^22.13.1",
|
|
33
|
-
"@seayoo-web/
|
|
33
|
+
"@seayoo-web/scripts": "3.1.6",
|
|
34
34
|
"@seayoo-web/request": "3.4.1",
|
|
35
|
-
"@seayoo-web/scripts": "3.1.5",
|
|
36
|
-
"@seayoo-web/utils": "4.1.3",
|
|
37
35
|
"@seayoo-web/tsconfig": "1.0.5",
|
|
38
|
-
"@seayoo-web/
|
|
36
|
+
"@seayoo-web/combo-webview": "2.8.0",
|
|
37
|
+
"@seayoo-web/utils": "4.1.3",
|
|
38
|
+
"@seayoo-web/validator": "2.0.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@seayoo-web/combo-webview": "^2.8.0",
|
|
42
42
|
"@seayoo-web/utils": "^4.1.3",
|
|
43
|
-
"@seayoo-web/validator": "^
|
|
43
|
+
"@seayoo-web/validator": "^2.0.0"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"prebuild": "pnpm -F validator build && pnpm -F request build && pnpm -F combo-webview build",
|
|
@@ -31,6 +31,7 @@ export type ClubGlobalConfig = {
|
|
|
31
31
|
send_role_mail_rate_limit: number;
|
|
32
32
|
};
|
|
33
33
|
export declare const ClubGlobalConfigValidator: import("@seayoo-web/validator").ObjectValidator<ClubGlobalConfig, false, false> & {
|
|
34
|
+
desc: never;
|
|
34
35
|
plain: never;
|
|
35
36
|
optional: never;
|
|
36
37
|
maybeNull: never;
|
|
@@ -55,6 +56,7 @@ export type ClubPlayer = {
|
|
|
55
56
|
level_expire_time: number;
|
|
56
57
|
};
|
|
57
58
|
export declare const ClubPlayerValidator: import("@seayoo-web/validator").ObjectValidator<ClubPlayer, false, false> & {
|
|
59
|
+
desc: never;
|
|
58
60
|
plain: never;
|
|
59
61
|
optional: never;
|
|
60
62
|
maybeNull: never;
|
|
@@ -67,6 +69,7 @@ export type ServerBaseInfo = {
|
|
|
67
69
|
server_name: string;
|
|
68
70
|
};
|
|
69
71
|
export declare const ServerBaseInfoValidator: import("@seayoo-web/validator").ObjectValidator<ServerBaseInfo, false, false> & {
|
|
72
|
+
desc: never;
|
|
70
73
|
plain: never;
|
|
71
74
|
optional: never;
|
|
72
75
|
maybeNull: never;
|
|
@@ -79,6 +82,7 @@ export type RoleBaseInfo = {
|
|
|
79
82
|
role_name: string;
|
|
80
83
|
};
|
|
81
84
|
export declare const RoleBaseInfoValidator: import("@seayoo-web/validator").ObjectValidator<RoleBaseInfo, false, false> & {
|
|
85
|
+
desc: never;
|
|
82
86
|
plain: never;
|
|
83
87
|
optional: never;
|
|
84
88
|
maybeNull: never;
|
|
@@ -91,6 +95,7 @@ export type PlayerRole = RoleBaseInfo & ServerBaseInfo & {
|
|
|
91
95
|
last_login_time: number;
|
|
92
96
|
};
|
|
93
97
|
export declare const PlayerRoleValidator: import("@seayoo-web/validator").ObjectValidator<PlayerRole, false, false> & {
|
|
98
|
+
desc: never;
|
|
94
99
|
plain: never;
|
|
95
100
|
optional: never;
|
|
96
101
|
maybeNull: never;
|
|
@@ -107,6 +112,7 @@ export type PlayerRoleCard = PlayerRole & {
|
|
|
107
112
|
kin_position?: string;
|
|
108
113
|
};
|
|
109
114
|
export declare const PlayerRoleCardValidator: import("@seayoo-web/validator").ObjectValidator<PlayerRoleCard, false, false> & {
|
|
115
|
+
desc: never;
|
|
110
116
|
plain: never;
|
|
111
117
|
optional: never;
|
|
112
118
|
maybeNull: never;
|
|
@@ -129,6 +135,7 @@ export type ClubUserProfile = {
|
|
|
129
135
|
};
|
|
130
136
|
};
|
|
131
137
|
export declare const ClubUserProfileValidator: import("@seayoo-web/validator").ObjectValidator<ClubUserProfile, false, false> & {
|
|
138
|
+
desc: never;
|
|
132
139
|
plain: never;
|
|
133
140
|
optional: never;
|
|
134
141
|
maybeNull: never;
|
|
@@ -153,6 +160,7 @@ export type ClubAddress = {
|
|
|
153
160
|
is_default: boolean;
|
|
154
161
|
};
|
|
155
162
|
export declare const ClubAddressValidator: import("@seayoo-web/validator").ObjectValidator<ClubAddress, false, false> & {
|
|
163
|
+
desc: never;
|
|
156
164
|
plain: never;
|
|
157
165
|
optional: never;
|
|
158
166
|
maybeNull: never;
|
|
@@ -169,6 +177,7 @@ export type ClubUserCredit = {
|
|
|
169
177
|
balance_credit: number;
|
|
170
178
|
};
|
|
171
179
|
export declare const ClubUserCreditValidator: import("@seayoo-web/validator").ObjectValidator<ClubUserCredit, false, false> & {
|
|
180
|
+
desc: never;
|
|
172
181
|
plain: never;
|
|
173
182
|
optional: never;
|
|
174
183
|
maybeNull: never;
|
|
@@ -189,6 +198,7 @@ export type ClubCreditLog = {
|
|
|
189
198
|
change_time: number;
|
|
190
199
|
};
|
|
191
200
|
export declare const ClubCreditLogValidator: import("@seayoo-web/validator").ObjectValidator<ClubCreditLog, false, false> & {
|
|
201
|
+
desc: never;
|
|
192
202
|
plain: never;
|
|
193
203
|
optional: never;
|
|
194
204
|
maybeNull: never;
|
|
@@ -213,6 +223,7 @@ export type ClubBenefitSummary = {
|
|
|
213
223
|
tag: string;
|
|
214
224
|
};
|
|
215
225
|
export declare const ClubBenefitSummaryValidator: import("@seayoo-web/validator").ObjectValidator<ClubBenefitSummary, false, false> & {
|
|
226
|
+
desc: never;
|
|
216
227
|
plain: never;
|
|
217
228
|
optional: never;
|
|
218
229
|
maybeNull: never;
|
|
@@ -271,6 +282,7 @@ export type ClubProduct = {
|
|
|
271
282
|
redeemable_quantity?: number;
|
|
272
283
|
};
|
|
273
284
|
export declare const ClubProductValidator: import("@seayoo-web/validator").ObjectValidator<ClubProduct, false, false> & {
|
|
285
|
+
desc: never;
|
|
274
286
|
plain: never;
|
|
275
287
|
optional: never;
|
|
276
288
|
maybeNull: never;
|
|
@@ -281,6 +293,7 @@ export type ClubBenefit = Omit<ClubBenefitSummary, "tag"> & {
|
|
|
281
293
|
product?: ClubProduct;
|
|
282
294
|
};
|
|
283
295
|
export declare const ClubBenefitValidator: import("@seayoo-web/validator").ObjectValidator<ClubBenefit, false, false> & {
|
|
296
|
+
desc: never;
|
|
284
297
|
plain: never;
|
|
285
298
|
optional: never;
|
|
286
299
|
maybeNull: never;
|
|
@@ -299,6 +312,7 @@ export declare const RedeemParamsValidator: import("@seayoo-web/validator").Unio
|
|
|
299
312
|
}, false, false>, import("@seayoo-web/validator").ObjectValidator<{
|
|
300
313
|
address_id: number;
|
|
301
314
|
}, false, false>], false, false> & {
|
|
315
|
+
desc: never;
|
|
302
316
|
optional: never;
|
|
303
317
|
maybeNull: never;
|
|
304
318
|
key: never;
|
|
@@ -324,6 +338,7 @@ export type ExtraPhysicalShipment = {
|
|
|
324
338
|
express_number: string;
|
|
325
339
|
};
|
|
326
340
|
export declare const ExtraPhysicalShipmentValidator: import("@seayoo-web/validator").ObjectValidator<ExtraPhysicalShipment, false, false> & {
|
|
341
|
+
desc: never;
|
|
327
342
|
plain: never;
|
|
328
343
|
optional: never;
|
|
329
344
|
maybeNull: never;
|
|
@@ -335,6 +350,7 @@ export type ExtraGameReward = {
|
|
|
335
350
|
role_name: string;
|
|
336
351
|
};
|
|
337
352
|
export declare const ExtraGameRewardValidator: import("@seayoo-web/validator").ObjectValidator<ExtraGameReward, false, false> & {
|
|
353
|
+
desc: never;
|
|
338
354
|
plain: never;
|
|
339
355
|
optional: never;
|
|
340
356
|
maybeNull: never;
|
|
@@ -9,6 +9,7 @@ export declare const Gender: {
|
|
|
9
9
|
};
|
|
10
10
|
export type Gender = ValueOf<typeof Gender>;
|
|
11
11
|
export declare const GenderValidator: import("@seayoo-web/validator").StringValidator<Gender, false, false> & {
|
|
12
|
+
desc: never;
|
|
12
13
|
pattern: never;
|
|
13
14
|
url: never;
|
|
14
15
|
dataUri: never;
|
|
@@ -29,6 +30,7 @@ export declare const ClubCreditChangeType: {
|
|
|
29
30
|
};
|
|
30
31
|
export type ClubCreditChangeType = ValueOf<typeof ClubCreditChangeType>;
|
|
31
32
|
export declare const ClubCreditChangeTypeValidator: import("@seayoo-web/validator").StringValidator<ClubCreditChangeType, false, false> & {
|
|
33
|
+
desc: never;
|
|
32
34
|
pattern: never;
|
|
33
35
|
url: never;
|
|
34
36
|
dataUri: never;
|
|
@@ -55,6 +57,7 @@ export declare const ClubCreditChangeScene: {
|
|
|
55
57
|
};
|
|
56
58
|
export type ClubCreditChangeScene = ValueOf<typeof ClubCreditChangeScene>;
|
|
57
59
|
export declare const ClubCreditChangeSceneValidator: import("@seayoo-web/validator").StringValidator<ClubCreditChangeScene, false, false> & {
|
|
60
|
+
desc: never;
|
|
58
61
|
pattern: never;
|
|
59
62
|
url: never;
|
|
60
63
|
dataUri: never;
|
|
@@ -74,6 +77,7 @@ export declare const ClubItemType: {
|
|
|
74
77
|
};
|
|
75
78
|
export type ClubItemType = ValueOf<typeof ClubItemType>;
|
|
76
79
|
export declare const ClubItemTypeValidator: import("@seayoo-web/validator").StringValidator<ClubItemType, false, false> & {
|
|
80
|
+
desc: never;
|
|
77
81
|
pattern: never;
|
|
78
82
|
url: never;
|
|
79
83
|
dataUri: never;
|
|
@@ -93,6 +97,7 @@ export declare const ClubRedemptionStatus: {
|
|
|
93
97
|
};
|
|
94
98
|
export type ClubRedemptionStatus = ValueOf<typeof ClubRedemptionStatus>;
|
|
95
99
|
export declare const ClubRedemptionStatusValidator: import("@seayoo-web/validator").StringValidator<ClubRedemptionStatus, false, false> & {
|
|
100
|
+
desc: never;
|
|
96
101
|
pattern: never;
|
|
97
102
|
url: never;
|
|
98
103
|
dataUri: never;
|
|
@@ -17,6 +17,7 @@ export interface Forum {
|
|
|
17
17
|
member_ids: number[];
|
|
18
18
|
}
|
|
19
19
|
export declare const ForumValidator: import("@seayoo-web/validator").ObjectValidator<Forum, false, false> & {
|
|
20
|
+
desc: never;
|
|
20
21
|
plain: never;
|
|
21
22
|
optional: never;
|
|
22
23
|
maybeNull: never;
|
|
@@ -37,6 +38,7 @@ export interface Topic {
|
|
|
37
38
|
post_num: number;
|
|
38
39
|
}
|
|
39
40
|
export declare const TopicValidator: import("@seayoo-web/validator").ObjectValidator<Topic, false, false> & {
|
|
41
|
+
desc: never;
|
|
40
42
|
plain: never;
|
|
41
43
|
optional: never;
|
|
42
44
|
maybeNull: never;
|
|
@@ -83,6 +85,7 @@ export interface Post {
|
|
|
83
85
|
create_time: number;
|
|
84
86
|
}
|
|
85
87
|
export declare const PostValidator: import("@seayoo-web/validator").ObjectValidator<Post, false, false> & {
|
|
88
|
+
desc: never;
|
|
86
89
|
plain: never;
|
|
87
90
|
optional: never;
|
|
88
91
|
maybeNull: never;
|
|
@@ -93,6 +96,7 @@ export interface Antispam {
|
|
|
93
96
|
err_msg?: string;
|
|
94
97
|
}
|
|
95
98
|
export declare const AntispamValidator: import("@seayoo-web/validator").ObjectValidator<Antispam, true, false> & {
|
|
99
|
+
desc: never;
|
|
96
100
|
plain: never;
|
|
97
101
|
optional: never;
|
|
98
102
|
maybeNull: never;
|
|
@@ -111,6 +115,7 @@ export interface ReplyTo {
|
|
|
111
115
|
avatar_url: string;
|
|
112
116
|
}
|
|
113
117
|
export declare const ReplyToValidator: import("@seayoo-web/validator").ObjectValidator<ReplyTo, false, false> & {
|
|
118
|
+
desc: never;
|
|
114
119
|
plain: never;
|
|
115
120
|
optional: never;
|
|
116
121
|
maybeNull: never;
|
|
@@ -147,6 +152,7 @@ export interface Reply {
|
|
|
147
152
|
create_time: number;
|
|
148
153
|
}
|
|
149
154
|
export declare const ReplyValidator: import("@seayoo-web/validator").ObjectValidator<Reply, false, false> & {
|
|
155
|
+
desc: never;
|
|
150
156
|
plain: never;
|
|
151
157
|
optional: never;
|
|
152
158
|
maybeNull: never;
|
|
@@ -193,6 +199,7 @@ export interface Comment {
|
|
|
193
199
|
replies?: Reply[];
|
|
194
200
|
}
|
|
195
201
|
export declare const CommentValidator: import("@seayoo-web/validator").ObjectValidator<Comment, false, false> & {
|
|
202
|
+
desc: never;
|
|
196
203
|
plain: never;
|
|
197
204
|
optional: never;
|
|
198
205
|
maybeNull: never;
|
|
@@ -207,6 +214,7 @@ export interface PresignedUrlResponse {
|
|
|
207
214
|
existed: boolean;
|
|
208
215
|
}
|
|
209
216
|
export declare const PresignedUrlResponseValidator: import("@seayoo-web/validator").ObjectValidator<PresignedUrlResponse, false, false> & {
|
|
217
|
+
desc: never;
|
|
210
218
|
plain: never;
|
|
211
219
|
optional: never;
|
|
212
220
|
maybeNull: never;
|
|
@@ -229,6 +237,7 @@ export interface NotificationBase {
|
|
|
229
237
|
origin_user_avatar_url: string;
|
|
230
238
|
}
|
|
231
239
|
export declare const NotificationBaseValidator: import("@seayoo-web/validator").ObjectValidator<NotificationBase, false, false> & {
|
|
240
|
+
desc: never;
|
|
232
241
|
plain: never;
|
|
233
242
|
optional: never;
|
|
234
243
|
maybeNull: never;
|
|
@@ -241,6 +250,7 @@ export interface NotificationPayloadSystem {
|
|
|
241
250
|
system_message_content: string;
|
|
242
251
|
}
|
|
243
252
|
export declare const NotificationPayloadSystemValidator: import("@seayoo-web/validator").ObjectValidator<NotificationPayloadSystem, false, false> & {
|
|
253
|
+
desc: never;
|
|
244
254
|
plain: never;
|
|
245
255
|
optional: never;
|
|
246
256
|
maybeNull: never;
|
|
@@ -257,6 +267,7 @@ export interface NotificationPayloadPost {
|
|
|
257
267
|
post_image_url: string;
|
|
258
268
|
}
|
|
259
269
|
export declare const NotificationPayloadPostValidator: import("@seayoo-web/validator").ObjectValidator<NotificationPayloadPost, false, false> & {
|
|
270
|
+
desc: never;
|
|
260
271
|
plain: never;
|
|
261
272
|
optional: never;
|
|
262
273
|
maybeNull: never;
|
|
@@ -269,6 +280,7 @@ export interface NotificationPayloadComment {
|
|
|
269
280
|
comment_content: string;
|
|
270
281
|
}
|
|
271
282
|
export declare const NotificationPayloadCommentValidator: import("@seayoo-web/validator").ObjectValidator<NotificationPayloadComment, false, false> & {
|
|
283
|
+
desc: never;
|
|
272
284
|
plain: never;
|
|
273
285
|
optional: never;
|
|
274
286
|
maybeNull: never;
|
|
@@ -281,6 +293,7 @@ export interface NotificationPayloadReply {
|
|
|
281
293
|
reply_content: string;
|
|
282
294
|
}
|
|
283
295
|
export declare const NotificationPayloadReplyValidator: import("@seayoo-web/validator").ObjectValidator<NotificationPayloadReply, false, false> & {
|
|
296
|
+
desc: never;
|
|
284
297
|
plain: never;
|
|
285
298
|
optional: never;
|
|
286
299
|
maybeNull: never;
|
|
@@ -323,6 +336,7 @@ export declare const NotificationReplyValidator: import("@seayoo-web/validator")
|
|
|
323
336
|
/** 社区通知 */
|
|
324
337
|
export type NotificationAll = NotificationSystem | NotificationPost | NotificationPostComment | NotificationCommentReply | NotificationComment | NotificationReplyReplied | NotificationReply;
|
|
325
338
|
export declare const NotificationValidator: import("@seayoo-web/validator").UnionValidator<[import("@seayoo-web/validator").ObjectValidator<NotificationSystem, false, false>, import("@seayoo-web/validator").ObjectValidator<NotificationPost, false, false>, import("@seayoo-web/validator").ObjectValidator<NotificationPostComment, false, false>, import("@seayoo-web/validator").ObjectValidator<NotificationCommentReply, false, false>, import("@seayoo-web/validator").ObjectValidator<NotificationComment, false, false>, import("@seayoo-web/validator").ObjectValidator<NotificationReplyReplied, false, false>, import("@seayoo-web/validator").ObjectValidator<NotificationReply, false, false>], false, false> & {
|
|
339
|
+
desc: never;
|
|
326
340
|
optional: never;
|
|
327
341
|
maybeNull: never;
|
|
328
342
|
key: never;
|
|
@@ -8,6 +8,7 @@ export declare const ForumMode: {
|
|
|
8
8
|
};
|
|
9
9
|
export type ForumMode = ValueOf<typeof ForumMode>;
|
|
10
10
|
export declare const ForumModeValidator: import("@seayoo-web/validator").StringValidator<ForumMode, false, false> & {
|
|
11
|
+
desc: never;
|
|
11
12
|
pattern: never;
|
|
12
13
|
url: never;
|
|
13
14
|
dataUri: never;
|
|
@@ -30,6 +31,7 @@ export declare const PostStatus: {
|
|
|
30
31
|
};
|
|
31
32
|
export type PostStatus = ValueOf<typeof PostStatus>;
|
|
32
33
|
export declare const PostStatusValidator: import("@seayoo-web/validator").StringValidator<PostStatus, false, false> & {
|
|
34
|
+
desc: never;
|
|
33
35
|
pattern: never;
|
|
34
36
|
url: never;
|
|
35
37
|
dataUri: never;
|
|
@@ -50,6 +52,7 @@ export declare const NotificationCategory: {
|
|
|
50
52
|
};
|
|
51
53
|
export type NotificationCategory = ValueOf<typeof NotificationCategory>;
|
|
52
54
|
export declare const NotificationCategoryValidator: import("@seayoo-web/validator").StringValidator<NotificationCategory, false, false> & {
|
|
55
|
+
desc: never;
|
|
53
56
|
pattern: never;
|
|
54
57
|
url: never;
|
|
55
58
|
dataUri: never;
|
|
@@ -88,6 +91,7 @@ export declare const NotificationType: {
|
|
|
88
91
|
};
|
|
89
92
|
export type NotificationType = ValueOf<typeof NotificationType>;
|
|
90
93
|
export declare const NotificationTypeValidator: import("@seayoo-web/validator").StringValidator<NotificationType, false, false> & {
|
|
94
|
+
desc: never;
|
|
91
95
|
pattern: never;
|
|
92
96
|
url: never;
|
|
93
97
|
dataUri: never;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { EventFeatureBaseConfig } from "./feature.base";
|
|
2
2
|
import type { InferType } from "@seayoo-web/validator";
|
|
3
|
-
declare const rewardItemTypeValidator: import("@seayoo-web/validator").StringValidator<"
|
|
3
|
+
declare const rewardItemTypeValidator: import("@seayoo-web/validator").StringValidator<"activation_key" | "event_item" | "game_item" | "physical_item" | "weixin_hongbao" | "club_credit" | "external_gift_code" | "void_item", false, false>;
|
|
4
4
|
declare const featureType: "lottery";
|
|
5
5
|
export interface FeatureLotteryItemConfig {
|
|
6
6
|
/** 抽奖奖励道具 id */
|
|
@@ -16,6 +16,7 @@ export interface EventConfig {
|
|
|
16
16
|
features: EventFeatureConfig[];
|
|
17
17
|
}
|
|
18
18
|
export declare const EventConfigValidator: import("@seayoo-web/validator").ObjectValidator<EventConfig, false, false> & {
|
|
19
|
+
desc: never;
|
|
19
20
|
plain: never;
|
|
20
21
|
optional: never;
|
|
21
22
|
maybeNull: never;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { InferType } from "@seayoo-web/validator";
|
|
2
|
-
declare const rewardItemTypeValidator: import("@seayoo-web/validator").StringValidator<"
|
|
2
|
+
declare const rewardItemTypeValidator: import("@seayoo-web/validator").StringValidator<"activation_key" | "gift_code" | "event_item" | "game_item" | "physical_item" | "weixin_hongbao" | "lottery_ticket" | "club_credit" | "external_gift_code" | "void_item", false, false>;
|
|
3
3
|
export interface EventRewardItemConfig {
|
|
4
4
|
/** 玩法奖励道具 id */
|
|
5
5
|
reward_item_id: number;
|
|
@@ -17,6 +17,7 @@ export interface EventRewardItemConfig {
|
|
|
17
17
|
reward_item_rating: number;
|
|
18
18
|
}
|
|
19
19
|
export declare const EventRewardItemConfigValidator: import("@seayoo-web/validator").ObjectValidator<EventRewardItemConfig, false, false> & {
|
|
20
|
+
desc: never;
|
|
20
21
|
plain: never;
|
|
21
22
|
optional: never;
|
|
22
23
|
maybeNull: never;
|
|
@@ -27,6 +28,7 @@ export interface RegularReward {
|
|
|
27
28
|
rewards: EventRewardItemConfig[];
|
|
28
29
|
}
|
|
29
30
|
export declare const RegularRewardValidator: import("@seayoo-web/validator").ObjectValidator<RegularReward, false, false> & {
|
|
31
|
+
desc: never;
|
|
30
32
|
plain: never;
|
|
31
33
|
optional: never;
|
|
32
34
|
maybeNull: never;
|
|
@@ -46,6 +48,7 @@ export declare const FeatureRewardValidator: import("@seayoo-web/validator").Uni
|
|
|
46
48
|
feature_reward_type: "regular";
|
|
47
49
|
reward_details: RegularReward[];
|
|
48
50
|
}, false, false>], false, false> & {
|
|
51
|
+
desc: never;
|
|
49
52
|
optional: never;
|
|
50
53
|
maybeNull: never;
|
|
51
54
|
key: never;
|
|
@@ -53,6 +53,7 @@ export declare const UserEngagementDataValidator: import("@seayoo-web/validator"
|
|
|
53
53
|
content: /*elided*/ any;
|
|
54
54
|
}[];
|
|
55
55
|
}, false, false>, import("@seayoo-web/validator").ObjectValidator<UgcEngagementData, false, false>, import("@seayoo-web/validator").CustomValidator<EmptyObject, false, false>], false, false> & {
|
|
56
|
+
desc: never;
|
|
56
57
|
optional: never;
|
|
57
58
|
maybeNull: never;
|
|
58
59
|
key: never;
|
|
@@ -24,6 +24,7 @@ export type UserEngagement = {
|
|
|
24
24
|
rewards?: Reward[];
|
|
25
25
|
};
|
|
26
26
|
export declare const UserEngagementValidator: import("@seayoo-web/validator").ObjectValidator<UserEngagement, false, false> & {
|
|
27
|
+
desc: never;
|
|
27
28
|
plain: never;
|
|
28
29
|
optional: never;
|
|
29
30
|
maybeNull: never;
|
|
@@ -15,8 +15,8 @@ export declare const GamerItemType: {
|
|
|
15
15
|
readonly ActivationKey: "activation_key";
|
|
16
16
|
/** 抽奖券 */
|
|
17
17
|
readonly LotteryTicket: "lottery_ticket";
|
|
18
|
-
/**
|
|
19
|
-
readonly
|
|
18
|
+
/** 俱乐部积分 */
|
|
19
|
+
readonly ClubCredit: "club_credit";
|
|
20
20
|
/** 外部兑换码 */
|
|
21
21
|
readonly ExternalCode: "external_gift_code";
|
|
22
22
|
/** 空奖励 */
|
|
@@ -24,6 +24,7 @@ export declare const GamerItemType: {
|
|
|
24
24
|
};
|
|
25
25
|
export type GamerItemType = ValueOf<typeof GamerItemType>;
|
|
26
26
|
export declare const GamerItemTypeValidator: import("@seayoo-web/validator").StringValidator<GamerItemType, false, false> & {
|
|
27
|
+
desc: never;
|
|
27
28
|
pattern: never;
|
|
28
29
|
url: never;
|
|
29
30
|
dataUri: never;
|
|
@@ -48,8 +49,8 @@ export declare const RewardItemType: {
|
|
|
48
49
|
readonly ActivationKey: "activation_key";
|
|
49
50
|
/** 抽奖券 */
|
|
50
51
|
readonly LotteryTicket: "lottery_ticket";
|
|
51
|
-
/**
|
|
52
|
-
readonly
|
|
52
|
+
/** 俱乐部积分 */
|
|
53
|
+
readonly ClubCredit: "club_credit";
|
|
53
54
|
/** 外部兑换码 */
|
|
54
55
|
readonly ExternalCode: "external_gift_code";
|
|
55
56
|
/** 空奖励 */
|
|
@@ -57,6 +58,7 @@ export declare const RewardItemType: {
|
|
|
57
58
|
};
|
|
58
59
|
export type RewardItemType = GamerItemType;
|
|
59
60
|
export declare const RewardItemTypeValidator: import("@seayoo-web/validator").StringValidator<GamerItemType, false, false> & {
|
|
61
|
+
desc: never;
|
|
60
62
|
pattern: never;
|
|
61
63
|
url: never;
|
|
62
64
|
dataUri: never;
|
|
@@ -75,6 +77,7 @@ export declare const EngageAccountType: {
|
|
|
75
77
|
};
|
|
76
78
|
export type EngageAccountType = ValueOf<typeof EngageAccountType>;
|
|
77
79
|
export declare const EngageAccountTypeValidator: import("@seayoo-web/validator").StringValidator<EngageAccountType, false, false> & {
|
|
80
|
+
desc: never;
|
|
78
81
|
pattern: never;
|
|
79
82
|
url: never;
|
|
80
83
|
dataUri: never;
|
|
@@ -93,6 +96,7 @@ export declare const EventPeriodType: {
|
|
|
93
96
|
};
|
|
94
97
|
export type EventPeriodType = ValueOf<typeof EventPeriodType>;
|
|
95
98
|
export declare const EventPeriodTypeValidator: import("@seayoo-web/validator").StringValidator<EventPeriodType, false, false> & {
|
|
99
|
+
desc: never;
|
|
96
100
|
pattern: never;
|
|
97
101
|
url: never;
|
|
98
102
|
dataUri: never;
|
|
@@ -153,6 +157,7 @@ export declare const FeatureType: {
|
|
|
153
157
|
};
|
|
154
158
|
export type FeatureType = ValueOf<typeof FeatureType>;
|
|
155
159
|
export declare const FeatureTypeValidator: import("@seayoo-web/validator").StringValidator<FeatureType, false, false> & {
|
|
160
|
+
desc: never;
|
|
156
161
|
pattern: never;
|
|
157
162
|
url: never;
|
|
158
163
|
dataUri: never;
|
|
@@ -189,6 +194,7 @@ export declare const QuestObjective: {
|
|
|
189
194
|
};
|
|
190
195
|
export type QuestObjective = ValueOf<typeof QuestObjective>;
|
|
191
196
|
export declare const QuestObjectiveValidator: import("@seayoo-web/validator").StringValidator<QuestObjective, false, false> & {
|
|
197
|
+
desc: never;
|
|
192
198
|
pattern: never;
|
|
193
199
|
url: never;
|
|
194
200
|
dataUri: never;
|
|
@@ -209,6 +215,7 @@ export declare const VoteOptionSource: {
|
|
|
209
215
|
};
|
|
210
216
|
export type VoteOptionSource = ValueOf<typeof VoteOptionSource>;
|
|
211
217
|
export declare const VoteOptionSourceValidator: import("@seayoo-web/validator").StringValidator<VoteOptionSource, false, false> & {
|
|
218
|
+
desc: never;
|
|
212
219
|
pattern: never;
|
|
213
220
|
url: never;
|
|
214
221
|
dataUri: never;
|
|
@@ -235,6 +242,7 @@ export declare const RewardStatus: {
|
|
|
235
242
|
};
|
|
236
243
|
export type RewardStatus = ValueOf<typeof RewardStatus>;
|
|
237
244
|
export declare const RewardStatusValidator: import("@seayoo-web/validator").StringValidator<RewardStatus, false, false> & {
|
|
245
|
+
desc: never;
|
|
238
246
|
pattern: never;
|
|
239
247
|
url: never;
|
|
240
248
|
dataUri: never;
|
|
@@ -259,6 +267,7 @@ export declare const RewardStatusSuffix: {
|
|
|
259
267
|
};
|
|
260
268
|
export type RewardStatusSuffix = ValueOf<typeof RewardStatusSuffix>;
|
|
261
269
|
export declare const RewardStatusSuffixValidator: import("@seayoo-web/validator").StringValidator<RewardStatusSuffix, false, false> & {
|
|
270
|
+
desc: never;
|
|
262
271
|
pattern: never;
|
|
263
272
|
url: never;
|
|
264
273
|
dataUri: never;
|
|
@@ -284,6 +293,7 @@ export declare const ClaimRewardStatus: {
|
|
|
284
293
|
readonly Delivered: "delivered";
|
|
285
294
|
};
|
|
286
295
|
export declare const ClaimRewardStatusValidator: import("@seayoo-web/validator").StringValidator<ClaimRewardStatus, false, false> & {
|
|
296
|
+
desc: never;
|
|
287
297
|
pattern: never;
|
|
288
298
|
url: never;
|
|
289
299
|
dataUri: never;
|
|
@@ -303,6 +313,7 @@ export declare const RewardSource: {
|
|
|
303
313
|
};
|
|
304
314
|
export type RewardSource = ValueOf<typeof RewardSource>;
|
|
305
315
|
export declare const RewardSourceValidator: import("@seayoo-web/validator").StringValidator<RewardSource, false, false> & {
|
|
316
|
+
desc: never;
|
|
306
317
|
pattern: never;
|
|
307
318
|
url: never;
|
|
308
319
|
dataUri: never;
|
|
@@ -321,6 +332,7 @@ export declare const TeamVisibility: {
|
|
|
321
332
|
};
|
|
322
333
|
export type TeamVisibility = ValueOf<typeof TeamVisibility>;
|
|
323
334
|
export declare const TeamVisibilityValidator: import("@seayoo-web/validator").StringValidator<TeamVisibility, false, false> & {
|
|
335
|
+
desc: never;
|
|
324
336
|
pattern: never;
|
|
325
337
|
url: never;
|
|
326
338
|
dataUri: never;
|
|
@@ -345,6 +357,7 @@ export declare const LotteryTicketStatus: {
|
|
|
345
357
|
};
|
|
346
358
|
export type LotteryTicketStatus = ValueOf<typeof LotteryTicketStatus>;
|
|
347
359
|
export declare const LotteryTicketStatusValidator: import("@seayoo-web/validator").StringValidator<LotteryTicketStatus, false, false> & {
|
|
360
|
+
desc: never;
|
|
348
361
|
pattern: never;
|
|
349
362
|
url: never;
|
|
350
363
|
dataUri: never;
|
|
@@ -369,6 +382,7 @@ export declare const TeamAction: {
|
|
|
369
382
|
};
|
|
370
383
|
export type TeamAction = ValueOf<typeof TeamAction>;
|
|
371
384
|
export declare const TeamActionValidator: import("@seayoo-web/validator").StringValidator<TeamAction, false, false> & {
|
|
385
|
+
desc: never;
|
|
372
386
|
pattern: never;
|
|
373
387
|
url: never;
|
|
374
388
|
dataUri: never;
|
|
@@ -389,6 +403,7 @@ export declare const LotteryDrawAction: {
|
|
|
389
403
|
};
|
|
390
404
|
export type LotteryDrawAction = ValueOf<typeof LotteryDrawAction>;
|
|
391
405
|
export declare const LotteryDrawActionValidator: import("@seayoo-web/validator").StringValidator<LotteryDrawAction, false, false> & {
|
|
406
|
+
desc: never;
|
|
392
407
|
pattern: never;
|
|
393
408
|
url: never;
|
|
394
409
|
dataUri: never;
|
|
@@ -407,6 +422,7 @@ export declare const QuestProgressAlgorithm: {
|
|
|
407
422
|
};
|
|
408
423
|
export type QuestProgressAlgorithm = ValueOf<typeof QuestProgressAlgorithm>;
|
|
409
424
|
export declare const QuestProgressAlgorithmValidator: import("@seayoo-web/validator").StringValidator<QuestProgressAlgorithm, false, false> & {
|
|
425
|
+
desc: never;
|
|
410
426
|
pattern: never;
|
|
411
427
|
url: never;
|
|
412
428
|
dataUri: never;
|
|
@@ -429,6 +445,7 @@ export declare const Vote2RewardType: {
|
|
|
429
445
|
};
|
|
430
446
|
export type Vote2RewardType = (typeof Vote2RewardType)[keyof typeof Vote2RewardType];
|
|
431
447
|
export declare const Vote2RewardTypeValidator: import("@seayoo-web/validator").StringValidator<Vote2RewardType, false, false> & {
|
|
448
|
+
desc: never;
|
|
432
449
|
pattern: never;
|
|
433
450
|
url: never;
|
|
434
451
|
dataUri: never;
|
|
@@ -457,6 +474,7 @@ export declare const UgcSocialMedia: {
|
|
|
457
474
|
};
|
|
458
475
|
export type UgcSocialMedia = ValueOf<typeof UgcSocialMedia>;
|
|
459
476
|
export declare const UgcSocialMediaValidator: import("@seayoo-web/validator").StringValidator<UgcSocialMedia, false, false> & {
|
|
477
|
+
desc: never;
|
|
460
478
|
pattern: never;
|
|
461
479
|
url: never;
|
|
462
480
|
dataUri: never;
|
|
@@ -477,6 +495,7 @@ export declare const UgcReviewStatus: {
|
|
|
477
495
|
};
|
|
478
496
|
export type UgcReviewStatus = ValueOf<typeof UgcReviewStatus>;
|
|
479
497
|
export declare const UgcReviewStatusValidator: import("@seayoo-web/validator").StringValidator<UgcReviewStatus, false, false> & {
|
|
498
|
+
desc: never;
|
|
480
499
|
pattern: never;
|
|
481
500
|
url: never;
|
|
482
501
|
dataUri: never;
|