@seayoo-web/gamer-api 4.3.5 → 4.3.7
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
|
@@ -896,19 +896,19 @@ var m = "gamer_token", se = class {
|
|
|
896
896
|
})) }), Mn = f.object({
|
|
897
897
|
avatar_url: f.string().optional(),
|
|
898
898
|
role_name: f.string(),
|
|
899
|
-
server_name: f.string()
|
|
899
|
+
server_name: f.string(),
|
|
900
|
+
user_id: f.string()
|
|
900
901
|
}), Nn = f.object({
|
|
901
902
|
referral_code: f.string().optional(),
|
|
902
903
|
invitee_count: f.number().optional(),
|
|
903
904
|
invitees: f.array(Mn).optional()
|
|
904
905
|
}), Pn = f.object({
|
|
905
906
|
required_invitees: f.number(),
|
|
906
|
-
|
|
907
|
-
generated: f.bool()
|
|
907
|
+
reward_generated: f.bool()
|
|
908
908
|
}), Fn = f.object({
|
|
909
909
|
invitee_count: f.number().optional(),
|
|
910
910
|
generated_rewards: f.array(L).optional(),
|
|
911
|
-
|
|
911
|
+
tier_statuses: f.array(Pn).optional()
|
|
912
912
|
}), In = f.object({ platform: f.string().optional() }), Ln = f.object({ weixin_openid: f.string() }), Rn = f.object({ serial_number: f.number() }), R = f.object({
|
|
913
913
|
team_code: f.string(),
|
|
914
914
|
leader_name: f.string(),
|
|
@@ -1894,4 +1894,4 @@ var ia = "wx_login_cache", aa = class {
|
|
|
1894
1894
|
}
|
|
1895
1895
|
};
|
|
1896
1896
|
//#endregion
|
|
1897
|
-
export { K as AntispamValidator, se as AuthToken, Xn as CandidateVoteValidator, I as CashbackEngagementDataValidator, yn as ClaimActivationKeyEngagementDataValidator, $e as ClaimRewardStatus, k as ClaimRewardStatusValidator, or as ClaimedItemValidator, _ as ClubAddressValidator, He as ClubApi, v as ClubBenefitSummaryValidator, Te as ClubBenefitValidator, fe as ClubCreditChangeScene, pe as ClubCreditChangeSceneValidator, ue as ClubCreditChangeType, de as ClubCreditChangeTypeValidator, we as ClubCreditLogValidator, _e as ClubGlobalConfigValidator, me as ClubItemType, h as ClubItemTypeValidator, ve as ClubPlayerValidator, y as ClubProductValidator, he as ClubRedemptionStatus, ge as ClubRedemptionStatusValidator, Ce as ClubUserCreditValidator, Se as ClubUserProfileValidator, $n as CommentEngagementValidator, J as CommentValidator, ta as CommunityApi, Zn as ConversationValidator, Ge as EngageAccountType, Ke as EngageAccountTypeValidator, ar as EngageResponseValidator, tr as EngageRewardValidator, Ue as EventApi, pr as EventConfigValidator, xt as EventFeatureConfigOfCashbackValidator, Ct as EventFeatureConfigOfCheckInValidator, Tt as EventFeatureConfigOfClaimActivationKeyValidator, Dt as EventFeatureConfigOfClaimRewardsValidator, kt as EventFeatureConfigOfCommentValidator, jt as EventFeatureConfigOfFollowValidator, Pt as EventFeatureConfigOfGiftCodeValidator, It as EventFeatureConfigOfInviteValidator, Rt as EventFeatureConfigOfInvitedRegisterValidator, Wt as EventFeatureConfigOfLotteryDrawValidator, Ht as EventFeatureConfigOfLotteryValidator, Kt as EventFeatureConfigOfPreregisterValidator, Jt as EventFeatureConfigOfQuestValidator, Zt as EventFeatureConfigOfRedeemValidator, en as EventFeatureConfigOfReferralValidator, nn as EventFeatureConfigOfRegisterValidator, an as EventFeatureConfigOfShareValidator, sn as EventFeatureConfigOfSubscribeValidator, ln as EventFeatureConfigOfSurveyValidator, dn as EventFeatureConfigOfTeamValidator, hn as EventFeatureConfigOfUgcLikeValidator, pn as EventFeatureConfigOfUgcValidator, lr as EventFeatureConfigOfVote2Validator, vn as EventFeatureConfigOfVoteValidator, fr as EventFeatureConfigValidator, qe as EventPeriodType, Je as EventPeriodTypeValidator, N as EventRewardItemConfigValidator, Oe as ExtraGameRewardValidator, De as ExtraPhysicalShipmentValidator, Xt as FeatureRedeemItemConfigValidator, $t as FeatureReferralTierItemValidator, yt as FeatureRewardValidator, T as FeatureType, Ye as FeatureTypeValidator, Ci as ForumMode, wi as ForumModeValidator, U as ForumValidator, Si as GGDPublicApi, bi as GGDRoomStatus, xi as GGDRoomStatusValidator, S as GamerItemType, C as GamerItemTypeValidator, ce as Gender, le as GenderValidator, Fn as GenerateReferralRewardsResponseValidator, bn as GiftCodeEngagementDataValidator, xn as InviteEngagementDataValidator, ct as LotteryDrawAction, lt as LotteryDrawActionValidator, Tn as LotteryDrawEngagementDataValidator, Sn as LotteryEngagementDataValidator, j as LotteryTicketStatus, rt as LotteryTicketStatusValidator, Y as NotificationBaseValidator, Ei as NotificationCategory, Di as NotificationCategoryValidator, Fi as NotificationCommentReplyValidator, Ii as NotificationCommentValidator, Z as NotificationPayloadCommentValidator, X as NotificationPayloadPostValidator, Q as NotificationPayloadReplyValidator, ji as NotificationPayloadSystemValidator, Pi as NotificationPostCommentValidator, Ni as NotificationPostValidator, Li as NotificationReplyRepliedValidator, Ri as NotificationReplyValidator, Mi as NotificationSystemValidator, H as NotificationType, Oi as NotificationTypeValidator, zi as NotificationValidator, xe as PlayerRoleCardValidator, g as PlayerRoleValidator, Ti as PostStatus, V as PostStatusValidator, G as PostValidator, En as PreregisterEngagementDataValidator, Ai as PresignedUrlResponseValidator, On as QuestEngagementDataValidator, Xe as QuestObjective, E as QuestObjectiveValidator, ut as QuestProgressAlgorithm, dt as QuestProgressAlgorithmValidator, kn as QuestProgressValidator, An as RedeemEngagementDataValidator, Ee as RedeemParamsValidator, jn as RedeemStocksResponseValidator, ke as RedemptionValidator, ot as ReferralAction, st as ReferralActionValidator, Nn as ReferralEngagementDataValidator, Mn as ReferralInviteValidator,
|
|
1897
|
+
export { K as AntispamValidator, se as AuthToken, Xn as CandidateVoteValidator, I as CashbackEngagementDataValidator, yn as ClaimActivationKeyEngagementDataValidator, $e as ClaimRewardStatus, k as ClaimRewardStatusValidator, or as ClaimedItemValidator, _ as ClubAddressValidator, He as ClubApi, v as ClubBenefitSummaryValidator, Te as ClubBenefitValidator, fe as ClubCreditChangeScene, pe as ClubCreditChangeSceneValidator, ue as ClubCreditChangeType, de as ClubCreditChangeTypeValidator, we as ClubCreditLogValidator, _e as ClubGlobalConfigValidator, me as ClubItemType, h as ClubItemTypeValidator, ve as ClubPlayerValidator, y as ClubProductValidator, he as ClubRedemptionStatus, ge as ClubRedemptionStatusValidator, Ce as ClubUserCreditValidator, Se as ClubUserProfileValidator, $n as CommentEngagementValidator, J as CommentValidator, ta as CommunityApi, Zn as ConversationValidator, Ge as EngageAccountType, Ke as EngageAccountTypeValidator, ar as EngageResponseValidator, tr as EngageRewardValidator, Ue as EventApi, pr as EventConfigValidator, xt as EventFeatureConfigOfCashbackValidator, Ct as EventFeatureConfigOfCheckInValidator, Tt as EventFeatureConfigOfClaimActivationKeyValidator, Dt as EventFeatureConfigOfClaimRewardsValidator, kt as EventFeatureConfigOfCommentValidator, jt as EventFeatureConfigOfFollowValidator, Pt as EventFeatureConfigOfGiftCodeValidator, It as EventFeatureConfigOfInviteValidator, Rt as EventFeatureConfigOfInvitedRegisterValidator, Wt as EventFeatureConfigOfLotteryDrawValidator, Ht as EventFeatureConfigOfLotteryValidator, Kt as EventFeatureConfigOfPreregisterValidator, Jt as EventFeatureConfigOfQuestValidator, Zt as EventFeatureConfigOfRedeemValidator, en as EventFeatureConfigOfReferralValidator, nn as EventFeatureConfigOfRegisterValidator, an as EventFeatureConfigOfShareValidator, sn as EventFeatureConfigOfSubscribeValidator, ln as EventFeatureConfigOfSurveyValidator, dn as EventFeatureConfigOfTeamValidator, hn as EventFeatureConfigOfUgcLikeValidator, pn as EventFeatureConfigOfUgcValidator, lr as EventFeatureConfigOfVote2Validator, vn as EventFeatureConfigOfVoteValidator, fr as EventFeatureConfigValidator, qe as EventPeriodType, Je as EventPeriodTypeValidator, N as EventRewardItemConfigValidator, Oe as ExtraGameRewardValidator, De as ExtraPhysicalShipmentValidator, Xt as FeatureRedeemItemConfigValidator, $t as FeatureReferralTierItemValidator, yt as FeatureRewardValidator, T as FeatureType, Ye as FeatureTypeValidator, Ci as ForumMode, wi as ForumModeValidator, U as ForumValidator, Si as GGDPublicApi, bi as GGDRoomStatus, xi as GGDRoomStatusValidator, S as GamerItemType, C as GamerItemTypeValidator, ce as Gender, le as GenderValidator, Fn as GenerateReferralRewardsResponseValidator, bn as GiftCodeEngagementDataValidator, xn as InviteEngagementDataValidator, ct as LotteryDrawAction, lt as LotteryDrawActionValidator, Tn as LotteryDrawEngagementDataValidator, Sn as LotteryEngagementDataValidator, j as LotteryTicketStatus, rt as LotteryTicketStatusValidator, Y as NotificationBaseValidator, Ei as NotificationCategory, Di as NotificationCategoryValidator, Fi as NotificationCommentReplyValidator, Ii as NotificationCommentValidator, Z as NotificationPayloadCommentValidator, X as NotificationPayloadPostValidator, Q as NotificationPayloadReplyValidator, ji as NotificationPayloadSystemValidator, Pi as NotificationPostCommentValidator, Ni as NotificationPostValidator, Li as NotificationReplyRepliedValidator, Ri as NotificationReplyValidator, Mi as NotificationSystemValidator, H as NotificationType, Oi as NotificationTypeValidator, zi as NotificationValidator, xe as PlayerRoleCardValidator, g as PlayerRoleValidator, Ti as PostStatus, V as PostStatusValidator, G as PostValidator, En as PreregisterEngagementDataValidator, Ai as PresignedUrlResponseValidator, On as QuestEngagementDataValidator, Xe as QuestObjective, E as QuestObjectiveValidator, ut as QuestProgressAlgorithm, dt as QuestProgressAlgorithmValidator, kn as QuestProgressValidator, An as RedeemEngagementDataValidator, Ee as RedeemParamsValidator, jn as RedeemStocksResponseValidator, ke as RedemptionValidator, ot as ReferralAction, st as ReferralActionValidator, Nn as ReferralEngagementDataValidator, Mn as ReferralInviteValidator, vt as RegularRewardValidator, ki as ReplyToValidator, q as ReplyValidator, We as RewardItemType, w as RewardItemTypeValidator, et as RewardSource, A as RewardSourceValidator, D as RewardStatus, O as RewardStatusValidator, er as RewardValidator, be as RoleBaseInfoValidator, ye as ServerBaseInfoValidator, In as ShareEngagementDataValidator, Rn as SurveyEngagementDataValidator, it as TeamAction, at as TeamActionValidator, Bn as TeamEngagementDataValidator, R as TeamEngagementValidator, zn as TeamMemberValidator, tt as TeamVisibility, nt as TeamVisibilityValidator, Pn as TierStatusValidator, W as TopicValidator, Wn as UgcCountResponseValidator, Vn as UgcEngagementDataValidator, Kn as UgcLeaderboardResponseValidator, Hn as UgcRecordBaseResponseValidator, Un as UgcRecordResponseValidator, ht as UgcReviewStatus, gt as UgcReviewStatusValidator, mt as UgcSocialMedia, M as UgcSocialMediaValidator, Gn as UgcUploadImageValidator, z as UserEngagementDataValidator, nr as UserEngagementValidator, ir as UserFeatureStatusValidator, L as UserRewardValidator, rr as VerifyMobileResultValidator, Yn as Vote2ClaimRewardsResponseValidator, Jn as Vote2EngagementDataValidator, ft as Vote2RewardType, pt as Vote2RewardTypeValidator, qn as VoteEngagementDataValidator, Ze as VoteOptionSource, Qe as VoteOptionSourceValidator, aa as WeixinApi, Ln as WeixinSubscribeEngagementDataValidator, ra as WeixinWebLoginErrorCode, Qn as ZeroChatGPTDataValidator, Zr as claimRewards, ci as claimRewardsV2, li as claimWeixinHongbao, Xr as engage, yi as generateReferralRewards, ti as generateUnlimitQrcode, ai as getCashbackQuery, Hr as getConfig, Gr as getEngagements, Wr as getEngagementsCount, Ur as getEngagementsUserCount, ei as getParamsByQrcodeScene, ni as getQuestProgress, vi as getRedeemItemStocks, _i as getUgcLeaderboard, si as getUgcMyCount, hi as getUgcRecommendation, oi as getUgcRecord, gi as getUgcs, $r as getUnlimitQrcodeScene, Jr as getUserEngagementCount, Yr as getUserEngagements, qr as getUserFeatureStatus, pi as getUserItemCount, di as getUserRewards, fi as getUserRewardsCount, ii as getVote2Leaderboard, na as isWeixinSignResponse, Qr as submitUserRewardAddress, mi as ugcUploadImage, ui as verifyActivationKey, Vr as verifyMobileAllowed, Kr as visit, ri as vote2Rewards };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seayoo-web/gamer-api",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.7",
|
|
4
4
|
"description": "agent for gamer api",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "web@seayoo.com",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"@seayoo-web/combo-webview": "2.9.7",
|
|
31
31
|
"@seayoo-web/request": "4.1.0",
|
|
32
32
|
"@seayoo-web/scripts": "4.3.6",
|
|
33
|
-
"@seayoo-web/tsconfig": "1.0.6",
|
|
34
33
|
"@seayoo-web/utils": "4.4.1",
|
|
34
|
+
"@seayoo-web/tsconfig": "1.0.6",
|
|
35
35
|
"@seayoo-web/validator": "2.3.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
@@ -4,6 +4,7 @@ export interface ReferralInvite {
|
|
|
4
4
|
avatar_url?: string;
|
|
5
5
|
role_name: string;
|
|
6
6
|
server_name: string;
|
|
7
|
+
user_id: string;
|
|
7
8
|
}
|
|
8
9
|
export declare const ReferralInviteValidator: import("@seayoo-web/validator").ObjectValidator<ReferralInvite, false, false>;
|
|
9
10
|
export interface ReferralEngagementData {
|
|
@@ -34,15 +35,13 @@ export interface GenerateReferralRewardsResponse {
|
|
|
34
35
|
/** 本次获得的奖励 */
|
|
35
36
|
generated_rewards?: UserReward[];
|
|
36
37
|
/** 阶梯邀请奖励状态 */
|
|
37
|
-
|
|
38
|
+
tier_statuses?: TierStatus[];
|
|
38
39
|
}
|
|
39
|
-
export interface
|
|
40
|
+
export interface TierStatus {
|
|
40
41
|
/** 邀请邀请人数 */
|
|
41
42
|
required_invitees: number;
|
|
42
|
-
/**
|
|
43
|
-
|
|
44
|
-
/** 是否已获得 */
|
|
45
|
-
generated: boolean;
|
|
43
|
+
/** 是否已获得奖励 */
|
|
44
|
+
reward_generated: boolean;
|
|
46
45
|
}
|
|
47
|
-
export declare const
|
|
46
|
+
export declare const TierStatusValidator: import("@seayoo-web/validator").ObjectValidator<TierStatus, false, false>;
|
|
48
47
|
export declare const GenerateReferralRewardsResponseValidator: import("@seayoo-web/validator").ObjectValidator<GenerateReferralRewardsResponse, false, false>;
|