@fnlb-project/fnbr 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +68 -0
- package/dist/enums/Enums.d.ts +251 -0
- package/dist/enums/Enums.js +202 -0
- package/dist/enums/Enums.js.map +1 -0
- package/dist/index.d.ts +92 -0
- package/dist/index.js +194 -0
- package/dist/index.js.map +1 -0
- package/dist/resources/AuthClients.d.ts +39 -0
- package/dist/resources/AuthClients.js +41 -0
- package/dist/resources/AuthClients.js.map +1 -0
- package/dist/resources/BaseItemRating.json +5203 -0
- package/dist/resources/Endpoints.d.ts +58 -0
- package/dist/resources/Endpoints.js +71 -0
- package/dist/resources/Endpoints.js.map +1 -0
- package/dist/resources/HomebaseRatingMapping.json +255 -0
- package/dist/resources/PowerLevelCurves.d.ts +111 -0
- package/dist/resources/PowerLevelCurves.js +21 -0
- package/dist/resources/PowerLevelCurves.js.map +1 -0
- package/dist/resources/SurvivorItemRating.json +9343 -0
- package/dist/resources/constants.d.ts +2 -0
- package/dist/resources/constants.js +11 -0
- package/dist/resources/constants.js.map +1 -0
- package/dist/resources/defaultPartyMemberMeta.json +28 -0
- package/dist/resources/defaultPartyMeta.json +38 -0
- package/dist/resources/enums.d.ts +12 -0
- package/dist/resources/enums.js +18 -0
- package/dist/resources/enums.js.map +1 -0
- package/dist/resources/httpResponses.d.ts +773 -0
- package/dist/resources/httpResponses.js +3 -0
- package/dist/resources/httpResponses.js.map +1 -0
- package/dist/resources/structs.d.ts +1310 -0
- package/dist/resources/structs.js +3 -0
- package/dist/resources/structs.js.map +1 -0
- package/dist/src/Base.d.ts +15 -0
- package/dist/src/Base.js +15 -0
- package/dist/src/Base.js.map +1 -0
- package/dist/src/Client.d.ts +341 -0
- package/dist/src/Client.js +1043 -0
- package/dist/src/Client.js.map +1 -0
- package/dist/src/auth/Auth.d.ts +66 -0
- package/dist/src/auth/Auth.js +249 -0
- package/dist/src/auth/Auth.js.map +1 -0
- package/dist/src/auth/AuthSession.d.ts +41 -0
- package/dist/src/auth/AuthSession.js +25 -0
- package/dist/src/auth/AuthSession.js.map +1 -0
- package/dist/src/auth/EOSAuthSession.d.ts +19 -0
- package/dist/src/auth/EOSAuthSession.js +80 -0
- package/dist/src/auth/EOSAuthSession.js.map +1 -0
- package/dist/src/auth/FortniteAuthSession.d.ts +53 -0
- package/dist/src/auth/FortniteAuthSession.js +107 -0
- package/dist/src/auth/FortniteAuthSession.js.map +1 -0
- package/dist/src/auth/FortniteClientCredentialsAuthSession.d.ts +18 -0
- package/dist/src/auth/FortniteClientCredentialsAuthSession.js +88 -0
- package/dist/src/auth/FortniteClientCredentialsAuthSession.js.map +1 -0
- package/dist/src/auth/LauncherAuthSession.d.ts +23 -0
- package/dist/src/auth/LauncherAuthSession.js +120 -0
- package/dist/src/auth/LauncherAuthSession.js.map +1 -0
- package/dist/src/exceptions/AuthenticationMissingError.d.ts +15 -0
- package/dist/src/exceptions/AuthenticationMissingError.js +18 -0
- package/dist/src/exceptions/AuthenticationMissingError.js.map +1 -0
- package/dist/src/exceptions/CreativeIslandNotFoundError.d.ts +14 -0
- package/dist/src/exceptions/CreativeIslandNotFoundError.js +18 -0
- package/dist/src/exceptions/CreativeIslandNotFoundError.js.map +1 -0
- package/dist/src/exceptions/CreatorCodeNotFoundError.d.ts +14 -0
- package/dist/src/exceptions/CreatorCodeNotFoundError.js +18 -0
- package/dist/src/exceptions/CreatorCodeNotFoundError.js.map +1 -0
- package/dist/src/exceptions/DuplicateFriendshipError.d.ts +14 -0
- package/dist/src/exceptions/DuplicateFriendshipError.js +18 -0
- package/dist/src/exceptions/DuplicateFriendshipError.js.map +1 -0
- package/dist/src/exceptions/EpicgamesAPIError.d.ts +42 -0
- package/dist/src/exceptions/EpicgamesAPIError.js +27 -0
- package/dist/src/exceptions/EpicgamesAPIError.js.map +1 -0
- package/dist/src/exceptions/EventTimeoutError.d.ts +19 -0
- package/dist/src/exceptions/EventTimeoutError.js +20 -0
- package/dist/src/exceptions/EventTimeoutError.js.map +1 -0
- package/dist/src/exceptions/FriendNotFoundError.d.ts +14 -0
- package/dist/src/exceptions/FriendNotFoundError.js +18 -0
- package/dist/src/exceptions/FriendNotFoundError.js.map +1 -0
- package/dist/src/exceptions/FriendshipRequestAlreadySentError.d.ts +14 -0
- package/dist/src/exceptions/FriendshipRequestAlreadySentError.js +18 -0
- package/dist/src/exceptions/FriendshipRequestAlreadySentError.js.map +1 -0
- package/dist/src/exceptions/InviteeFriendshipRequestLimitExceededError.d.ts +14 -0
- package/dist/src/exceptions/InviteeFriendshipRequestLimitExceededError.js +18 -0
- package/dist/src/exceptions/InviteeFriendshipRequestLimitExceededError.js.map +1 -0
- package/dist/src/exceptions/InviteeFriendshipSettingsError.d.ts +14 -0
- package/dist/src/exceptions/InviteeFriendshipSettingsError.js +18 -0
- package/dist/src/exceptions/InviteeFriendshipSettingsError.js.map +1 -0
- package/dist/src/exceptions/InviteeFriendshipsLimitExceededError.d.ts +14 -0
- package/dist/src/exceptions/InviteeFriendshipsLimitExceededError.js +18 -0
- package/dist/src/exceptions/InviteeFriendshipsLimitExceededError.js.map +1 -0
- package/dist/src/exceptions/InviterFriendshipsLimitExceededError.d.ts +14 -0
- package/dist/src/exceptions/InviterFriendshipsLimitExceededError.js +18 -0
- package/dist/src/exceptions/InviterFriendshipsLimitExceededError.js.map +1 -0
- package/dist/src/exceptions/MatchNotFoundError.d.ts +14 -0
- package/dist/src/exceptions/MatchNotFoundError.js +18 -0
- package/dist/src/exceptions/MatchNotFoundError.js.map +1 -0
- package/dist/src/exceptions/OfferNotFoundError.d.ts +14 -0
- package/dist/src/exceptions/OfferNotFoundError.js +18 -0
- package/dist/src/exceptions/OfferNotFoundError.js.map +1 -0
- package/dist/src/exceptions/PartyAlreadyJoinedError.d.ts +7 -0
- package/dist/src/exceptions/PartyAlreadyJoinedError.js +14 -0
- package/dist/src/exceptions/PartyAlreadyJoinedError.js.map +1 -0
- package/dist/src/exceptions/PartyInvitationExpiredError.d.ts +7 -0
- package/dist/src/exceptions/PartyInvitationExpiredError.js +14 -0
- package/dist/src/exceptions/PartyInvitationExpiredError.js.map +1 -0
- package/dist/src/exceptions/PartyMaxSizeReachedError.d.ts +7 -0
- package/dist/src/exceptions/PartyMaxSizeReachedError.js +14 -0
- package/dist/src/exceptions/PartyMaxSizeReachedError.js.map +1 -0
- package/dist/src/exceptions/PartyMemberNotFoundError.d.ts +14 -0
- package/dist/src/exceptions/PartyMemberNotFoundError.js +18 -0
- package/dist/src/exceptions/PartyMemberNotFoundError.js.map +1 -0
- package/dist/src/exceptions/PartyNotFoundError.d.ts +7 -0
- package/dist/src/exceptions/PartyNotFoundError.js +14 -0
- package/dist/src/exceptions/PartyNotFoundError.js.map +1 -0
- package/dist/src/exceptions/PartyPermissionError.d.ts +7 -0
- package/dist/src/exceptions/PartyPermissionError.js +14 -0
- package/dist/src/exceptions/PartyPermissionError.js.map +1 -0
- package/dist/src/exceptions/SendMessageError.d.ts +27 -0
- package/dist/src/exceptions/SendMessageError.js +21 -0
- package/dist/src/exceptions/SendMessageError.js.map +1 -0
- package/dist/src/exceptions/StatsPrivacyError.d.ts +14 -0
- package/dist/src/exceptions/StatsPrivacyError.js +18 -0
- package/dist/src/exceptions/StatsPrivacyError.js.map +1 -0
- package/dist/src/exceptions/StompConnectionError.d.ts +14 -0
- package/dist/src/exceptions/StompConnectionError.js +18 -0
- package/dist/src/exceptions/StompConnectionError.js.map +1 -0
- package/dist/src/exceptions/UserNotFoundError.d.ts +14 -0
- package/dist/src/exceptions/UserNotFoundError.js +18 -0
- package/dist/src/exceptions/UserNotFoundError.js.map +1 -0
- package/dist/src/exceptions/XMPPConnectionError.d.ts +19 -0
- package/dist/src/exceptions/XMPPConnectionError.js +19 -0
- package/dist/src/exceptions/XMPPConnectionError.js.map +1 -0
- package/dist/src/exceptions/XMPPConnectionTimeoutError.d.ts +14 -0
- package/dist/src/exceptions/XMPPConnectionTimeoutError.js +18 -0
- package/dist/src/exceptions/XMPPConnectionTimeoutError.js.map +1 -0
- package/dist/src/http/HTTP.d.ts +40 -0
- package/dist/src/http/HTTP.js +124 -0
- package/dist/src/http/HTTP.js.map +1 -0
- package/dist/src/managers/ChatManager.d.ts +27 -0
- package/dist/src/managers/ChatManager.js +71 -0
- package/dist/src/managers/ChatManager.js.map +1 -0
- package/dist/src/managers/FriendManager.d.ts +66 -0
- package/dist/src/managers/FriendManager.js +175 -0
- package/dist/src/managers/FriendManager.js.map +1 -0
- package/dist/src/managers/STWManager.d.ts +29 -0
- package/dist/src/managers/STWManager.js +80 -0
- package/dist/src/managers/STWManager.js.map +1 -0
- package/dist/src/managers/TournamentManager.d.ts +51 -0
- package/dist/src/managers/TournamentManager.js +182 -0
- package/dist/src/managers/TournamentManager.js.map +1 -0
- package/dist/src/managers/UserManager.d.ts +78 -0
- package/dist/src/managers/UserManager.js +216 -0
- package/dist/src/managers/UserManager.js.map +1 -0
- package/dist/src/stomp/EOSConnect.d.ts +43 -0
- package/dist/src/stomp/EOSConnect.js +175 -0
- package/dist/src/stomp/EOSConnect.js.map +1 -0
- package/dist/src/structures/Avatar.d.ts +27 -0
- package/dist/src/structures/Avatar.js +22 -0
- package/dist/src/structures/Avatar.js.map +1 -0
- package/dist/src/structures/BaseMessage.d.ts +34 -0
- package/dist/src/structures/BaseMessage.js +22 -0
- package/dist/src/structures/BaseMessage.js.map +1 -0
- package/dist/src/structures/CreatorCode.d.ts +31 -0
- package/dist/src/structures/CreatorCode.js +22 -0
- package/dist/src/structures/CreatorCode.js.map +1 -0
- package/dist/src/structures/EpicgamesServerStatus.d.ts +52 -0
- package/dist/src/structures/EpicgamesServerStatus.js +31 -0
- package/dist/src/structures/EpicgamesServerStatus.js.map +1 -0
- package/dist/src/structures/EpicgamesServerStatusComponent.d.ts +67 -0
- package/dist/src/structures/EpicgamesServerStatusComponent.js +37 -0
- package/dist/src/structures/EpicgamesServerStatusComponent.js.map +1 -0
- package/dist/src/structures/EpicgamesServerStatusIncident.d.ts +58 -0
- package/dist/src/structures/EpicgamesServerStatusIncident.js +36 -0
- package/dist/src/structures/EpicgamesServerStatusIncident.js.map +1 -0
- package/dist/src/structures/EpicgamesServerStatusScheduledMainteance.d.ts +21 -0
- package/dist/src/structures/EpicgamesServerStatusScheduledMainteance.js +20 -0
- package/dist/src/structures/EpicgamesServerStatusScheduledMainteance.js.map +1 -0
- package/dist/src/structures/EventTokens.d.ts +32 -0
- package/dist/src/structures/EventTokens.js +45 -0
- package/dist/src/structures/EventTokens.js.map +1 -0
- package/dist/src/structures/FortniteServerStatus.d.ts +46 -0
- package/dist/src/structures/FortniteServerStatus.js +26 -0
- package/dist/src/structures/FortniteServerStatus.js.map +1 -0
- package/dist/src/structures/GlobalProfile.d.ts +36 -0
- package/dist/src/structures/GlobalProfile.js +25 -0
- package/dist/src/structures/GlobalProfile.js.map +1 -0
- package/dist/src/structures/Image.d.ts +36 -0
- package/dist/src/structures/Image.js +38 -0
- package/dist/src/structures/Image.js.map +1 -0
- package/dist/src/structures/NewsMessage.d.ts +56 -0
- package/dist/src/structures/NewsMessage.js +45 -0
- package/dist/src/structures/NewsMessage.js.map +1 -0
- package/dist/src/structures/NewsMessageVideo.d.ts +47 -0
- package/dist/src/structures/NewsMessageVideo.js +32 -0
- package/dist/src/structures/NewsMessageVideo.js.map +1 -0
- package/dist/src/structures/RadioStation.d.ts +31 -0
- package/dist/src/structures/RadioStation.js +33 -0
- package/dist/src/structures/RadioStation.js.map +1 -0
- package/dist/src/structures/Stats.d.ts +45 -0
- package/dist/src/structures/Stats.js +109 -0
- package/dist/src/structures/Stats.js.map +1 -0
- package/dist/src/structures/Tournament.d.ts +86 -0
- package/dist/src/structures/Tournament.js +64 -0
- package/dist/src/structures/Tournament.js.map +1 -0
- package/dist/src/structures/TournamentWindow.d.ts +124 -0
- package/dist/src/structures/TournamentWindow.js +52 -0
- package/dist/src/structures/TournamentWindow.js.map +1 -0
- package/dist/src/structures/friend/BaseFriendMessage.d.ts +32 -0
- package/dist/src/structures/friend/BaseFriendMessage.js +28 -0
- package/dist/src/structures/friend/BaseFriendMessage.js.map +1 -0
- package/dist/src/structures/friend/BasePendingFriend.d.ts +22 -0
- package/dist/src/structures/friend/BasePendingFriend.js +22 -0
- package/dist/src/structures/friend/BasePendingFriend.js.map +1 -0
- package/dist/src/structures/friend/Friend.d.ts +106 -0
- package/dist/src/structures/friend/Friend.js +97 -0
- package/dist/src/structures/friend/Friend.js.map +1 -0
- package/dist/src/structures/friend/FriendPresence.d.ts +84 -0
- package/dist/src/structures/friend/FriendPresence.js +48 -0
- package/dist/src/structures/friend/FriendPresence.js.map +1 -0
- package/dist/src/structures/friend/IncomingPendingFriend.d.ts +27 -0
- package/dist/src/structures/friend/IncomingPendingFriend.js +36 -0
- package/dist/src/structures/friend/IncomingPendingFriend.js.map +1 -0
- package/dist/src/structures/friend/OutgoingPendingFriend.d.ts +17 -0
- package/dist/src/structures/friend/OutgoingPendingFriend.js +24 -0
- package/dist/src/structures/friend/OutgoingPendingFriend.js.map +1 -0
- package/dist/src/structures/friend/ReceivedFriendMessage.d.ts +27 -0
- package/dist/src/structures/friend/ReceivedFriendMessage.js +27 -0
- package/dist/src/structures/friend/ReceivedFriendMessage.js.map +1 -0
- package/dist/src/structures/friend/SentFriendMessage.d.ts +21 -0
- package/dist/src/structures/friend/SentFriendMessage.js +19 -0
- package/dist/src/structures/friend/SentFriendMessage.js.map +1 -0
- package/dist/src/structures/party/BasePartyInvitation.d.ts +48 -0
- package/dist/src/structures/party/BasePartyInvitation.js +33 -0
- package/dist/src/structures/party/BasePartyInvitation.js.map +1 -0
- package/dist/src/structures/party/BasePartyJoinRequest.d.ts +37 -0
- package/dist/src/structures/party/BasePartyJoinRequest.js +30 -0
- package/dist/src/structures/party/BasePartyJoinRequest.js.map +1 -0
- package/dist/src/structures/party/ClientParty.d.ts +162 -0
- package/dist/src/structures/party/ClientParty.js +412 -0
- package/dist/src/structures/party/ClientParty.js.map +1 -0
- package/dist/src/structures/party/ClientPartyMember.d.ts +144 -0
- package/dist/src/structures/party/ClientPartyMember.js +463 -0
- package/dist/src/structures/party/ClientPartyMember.js.map +1 -0
- package/dist/src/structures/party/ClientPartyMemberMeta.d.ts +18 -0
- package/dist/src/structures/party/ClientPartyMemberMeta.js +54 -0
- package/dist/src/structures/party/ClientPartyMemberMeta.js.map +1 -0
- package/dist/src/structures/party/ClientPartyMeta.d.ts +23 -0
- package/dist/src/structures/party/ClientPartyMeta.js +59 -0
- package/dist/src/structures/party/ClientPartyMeta.js.map +1 -0
- package/dist/src/structures/party/Party.d.ts +95 -0
- package/dist/src/structures/party/Party.js +200 -0
- package/dist/src/structures/party/Party.js.map +1 -0
- package/dist/src/structures/party/PartyChat.d.ts +73 -0
- package/dist/src/structures/party/PartyChat.js +76 -0
- package/dist/src/structures/party/PartyChat.js.map +1 -0
- package/dist/src/structures/party/PartyMember.d.ts +139 -0
- package/dist/src/structures/party/PartyMember.js +201 -0
- package/dist/src/structures/party/PartyMember.js.map +1 -0
- package/dist/src/structures/party/PartyMemberConfirmation.d.ts +43 -0
- package/dist/src/structures/party/PartyMemberConfirmation.js +53 -0
- package/dist/src/structures/party/PartyMemberConfirmation.js.map +1 -0
- package/dist/src/structures/party/PartyMemberMeta.d.ts +76 -0
- package/dist/src/structures/party/PartyMemberMeta.js +145 -0
- package/dist/src/structures/party/PartyMemberMeta.js.map +1 -0
- package/dist/src/structures/party/PartyMessage.d.ts +30 -0
- package/dist/src/structures/party/PartyMessage.js +28 -0
- package/dist/src/structures/party/PartyMessage.js.map +1 -0
- package/dist/src/structures/party/PartyMeta.d.ts +24 -0
- package/dist/src/structures/party/PartyMeta.js +43 -0
- package/dist/src/structures/party/PartyMeta.js.map +1 -0
- package/dist/src/structures/party/PresenceParty.d.ts +66 -0
- package/dist/src/structures/party/PresenceParty.js +49 -0
- package/dist/src/structures/party/PresenceParty.js.map +1 -0
- package/dist/src/structures/party/ReceivedPartyInvitation.d.ts +33 -0
- package/dist/src/structures/party/ReceivedPartyInvitation.js +54 -0
- package/dist/src/structures/party/ReceivedPartyInvitation.js.map +1 -0
- package/dist/src/structures/party/ReceivedPartyJoinRequest.d.ts +26 -0
- package/dist/src/structures/party/ReceivedPartyJoinRequest.js +31 -0
- package/dist/src/structures/party/ReceivedPartyJoinRequest.js.map +1 -0
- package/dist/src/structures/party/SentPartyInvitation.d.ts +27 -0
- package/dist/src/structures/party/SentPartyInvitation.js +39 -0
- package/dist/src/structures/party/SentPartyInvitation.js.map +1 -0
- package/dist/src/structures/party/SentPartyJoinRequest.d.ts +19 -0
- package/dist/src/structures/party/SentPartyJoinRequest.js +22 -0
- package/dist/src/structures/party/SentPartyJoinRequest.js.map +1 -0
- package/dist/src/structures/stw/STWHero.d.ts +61 -0
- package/dist/src/structures/stw/STWHero.js +38 -0
- package/dist/src/structures/stw/STWHero.js.map +1 -0
- package/dist/src/structures/stw/STWHeroLoadout.d.ts +44 -0
- package/dist/src/structures/stw/STWHeroLoadout.js +34 -0
- package/dist/src/structures/stw/STWHeroLoadout.js.map +1 -0
- package/dist/src/structures/stw/STWItem.d.ts +31 -0
- package/dist/src/structures/stw/STWItem.js +23 -0
- package/dist/src/structures/stw/STWItem.js.map +1 -0
- package/dist/src/structures/stw/STWLocker.d.ts +32 -0
- package/dist/src/structures/stw/STWLocker.js +26 -0
- package/dist/src/structures/stw/STWLocker.js.map +1 -0
- package/dist/src/structures/stw/STWMeleeWeaponSchematic.d.ts +14 -0
- package/dist/src/structures/stw/STWMeleeWeaponSchematic.js +15 -0
- package/dist/src/structures/stw/STWMeleeWeaponSchematic.js.map +1 -0
- package/dist/src/structures/stw/STWNewsMessage.d.ts +42 -0
- package/dist/src/structures/stw/STWNewsMessage.js +27 -0
- package/dist/src/structures/stw/STWNewsMessage.js.map +1 -0
- package/dist/src/structures/stw/STWProfile.d.ts +132 -0
- package/dist/src/structures/stw/STWProfile.js +283 -0
- package/dist/src/structures/stw/STWProfile.js.map +1 -0
- package/dist/src/structures/stw/STWRangedWeaponSchematic.d.ts +14 -0
- package/dist/src/structures/stw/STWRangedWeaponSchematic.js +15 -0
- package/dist/src/structures/stw/STWRangedWeaponSchematic.js.map +1 -0
- package/dist/src/structures/stw/STWResource.d.ts +27 -0
- package/dist/src/structures/stw/STWResource.js +22 -0
- package/dist/src/structures/stw/STWResource.js.map +1 -0
- package/dist/src/structures/stw/STWSchematic.d.ts +72 -0
- package/dist/src/structures/stw/STWSchematic.js +40 -0
- package/dist/src/structures/stw/STWSchematic.js.map +1 -0
- package/dist/src/structures/stw/STWStats.d.ts +103 -0
- package/dist/src/structures/stw/STWStats.js +85 -0
- package/dist/src/structures/stw/STWStats.js.map +1 -0
- package/dist/src/structures/stw/STWSurvivor.d.ts +104 -0
- package/dist/src/structures/stw/STWSurvivor.js +76 -0
- package/dist/src/structures/stw/STWSurvivor.js.map +1 -0
- package/dist/src/structures/stw/STWTeamPerk.d.ts +19 -0
- package/dist/src/structures/stw/STWTeamPerk.js +20 -0
- package/dist/src/structures/stw/STWTeamPerk.js.map +1 -0
- package/dist/src/structures/stw/STWTrapSchematic.d.ts +15 -0
- package/dist/src/structures/stw/STWTrapSchematic.js +16 -0
- package/dist/src/structures/stw/STWTrapSchematic.js.map +1 -0
- package/dist/src/structures/stw/STWWeaponSchematic.d.ts +15 -0
- package/dist/src/structures/stw/STWWeaponSchematic.js +16 -0
- package/dist/src/structures/stw/STWWeaponSchematic.js.map +1 -0
- package/dist/src/structures/user/BlockedUser.d.ts +13 -0
- package/dist/src/structures/user/BlockedUser.js +19 -0
- package/dist/src/structures/user/BlockedUser.js.map +1 -0
- package/dist/src/structures/user/ClientUser.d.ts +78 -0
- package/dist/src/structures/user/ClientUser.js +34 -0
- package/dist/src/structures/user/ClientUser.js.map +1 -0
- package/dist/src/structures/user/User.d.ts +98 -0
- package/dist/src/structures/user/User.js +130 -0
- package/dist/src/structures/user/User.js.map +1 -0
- package/dist/src/structures/user/UserSearchResult.d.ts +31 -0
- package/dist/src/structures/user/UserSearchResult.js +23 -0
- package/dist/src/structures/user/UserSearchResult.js.map +1 -0
- package/dist/src/util/AsyncLock.d.ts +28 -0
- package/dist/src/util/AsyncLock.js +44 -0
- package/dist/src/util/AsyncLock.js.map +1 -0
- package/dist/src/util/BinaryWriter.d.ts +79 -0
- package/dist/src/util/BinaryWriter.js +136 -0
- package/dist/src/util/BinaryWriter.js.map +1 -0
- package/dist/src/util/CurveTable.d.ts +24 -0
- package/dist/src/util/CurveTable.js +37 -0
- package/dist/src/util/CurveTable.js.map +1 -0
- package/dist/src/util/Meta.d.ts +41 -0
- package/dist/src/util/Meta.js +73 -0
- package/dist/src/util/Meta.js.map +1 -0
- package/dist/src/util/Util.d.ts +162 -0
- package/dist/src/util/Util.js +539 -0
- package/dist/src/util/Util.js.map +1 -0
- package/dist/src/xmpp/XMPP.d.ts +100 -0
- package/dist/src/xmpp/XMPP.js +702 -0
- package/dist/src/xmpp/XMPP.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +66 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import Base from '../../Base';
|
|
2
|
+
import type { PresencePartyData } from '../../../resources/structs';
|
|
3
|
+
import type Client from '../../Client';
|
|
4
|
+
import type Party from './Party';
|
|
5
|
+
/**
|
|
6
|
+
* Represents a party received by a friend's presence
|
|
7
|
+
*/
|
|
8
|
+
declare class PresenceParty extends Base {
|
|
9
|
+
/**
|
|
10
|
+
* Whether this party is private.
|
|
11
|
+
* NOTE: If this is true, all other properties are undefined
|
|
12
|
+
*/
|
|
13
|
+
isPrivate: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* The party's ID
|
|
16
|
+
*/
|
|
17
|
+
id?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The party's member count
|
|
20
|
+
*/
|
|
21
|
+
size?: number;
|
|
22
|
+
/**
|
|
23
|
+
* The party type ID
|
|
24
|
+
*/
|
|
25
|
+
typeId?: number;
|
|
26
|
+
/**
|
|
27
|
+
* The party key
|
|
28
|
+
*/
|
|
29
|
+
key?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The party's app ID
|
|
32
|
+
*/
|
|
33
|
+
appId?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The party's build ID
|
|
36
|
+
*/
|
|
37
|
+
buildId?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The party's flags
|
|
40
|
+
*/
|
|
41
|
+
flags?: number;
|
|
42
|
+
/**
|
|
43
|
+
* The reason why this party doesn't accept new members.
|
|
44
|
+
* Will be 0 if it does accept new members
|
|
45
|
+
*/
|
|
46
|
+
notAcceptingMembersReason?: number;
|
|
47
|
+
/**
|
|
48
|
+
* @param client The main client
|
|
49
|
+
* @param data The presence party's data
|
|
50
|
+
*/
|
|
51
|
+
constructor(client: Client, data: PresencePartyData);
|
|
52
|
+
/**
|
|
53
|
+
* Joins this presence party
|
|
54
|
+
* @throws {PartyNotFoundError} The party wasn't found
|
|
55
|
+
* @throws {PartyPermissionError} The party cannot be fetched (the party is private)
|
|
56
|
+
* @throws {PartyMaxSizeReachedError} The party has reached its max size
|
|
57
|
+
*/
|
|
58
|
+
join(): Promise<void>;
|
|
59
|
+
/**
|
|
60
|
+
* Fetches this party
|
|
61
|
+
* @throws {PartyNotFoundError} The party wasn't found
|
|
62
|
+
* @throws {PartyPermissionError} The party cannot be fetched (the party is private)
|
|
63
|
+
*/
|
|
64
|
+
fetch(): Promise<Party>;
|
|
65
|
+
}
|
|
66
|
+
export default PresenceParty;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const Base_1 = tslib_1.__importDefault(require("../../Base"));
|
|
5
|
+
const PartyPermissionError_1 = tslib_1.__importDefault(require("../../exceptions/PartyPermissionError"));
|
|
6
|
+
/**
|
|
7
|
+
* Represents a party received by a friend's presence
|
|
8
|
+
*/
|
|
9
|
+
class PresenceParty extends Base_1.default {
|
|
10
|
+
/**
|
|
11
|
+
* @param client The main client
|
|
12
|
+
* @param data The presence party's data
|
|
13
|
+
*/
|
|
14
|
+
constructor(client, data) {
|
|
15
|
+
super(client);
|
|
16
|
+
this.isPrivate = typeof data.bIsPrivate === 'boolean' || false;
|
|
17
|
+
this.id = data.partyId;
|
|
18
|
+
this.size = data.pc;
|
|
19
|
+
this.typeId = data.partyTypeId;
|
|
20
|
+
this.key = data.key;
|
|
21
|
+
this.appId = data.appId;
|
|
22
|
+
this.buildId = data.buildId;
|
|
23
|
+
this.flags = data.partyFlags;
|
|
24
|
+
this.notAcceptingMembersReason = data.notAcceptingReason;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Joins this presence party
|
|
28
|
+
* @throws {PartyNotFoundError} The party wasn't found
|
|
29
|
+
* @throws {PartyPermissionError} The party cannot be fetched (the party is private)
|
|
30
|
+
* @throws {PartyMaxSizeReachedError} The party has reached its max size
|
|
31
|
+
*/
|
|
32
|
+
async join() {
|
|
33
|
+
if (this.isPrivate || !this.id)
|
|
34
|
+
throw new PartyPermissionError_1.default();
|
|
35
|
+
await this.client.joinParty(this.id);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Fetches this party
|
|
39
|
+
* @throws {PartyNotFoundError} The party wasn't found
|
|
40
|
+
* @throws {PartyPermissionError} The party cannot be fetched (the party is private)
|
|
41
|
+
*/
|
|
42
|
+
async fetch() {
|
|
43
|
+
if (this.isPrivate || !this.id)
|
|
44
|
+
throw new PartyPermissionError_1.default();
|
|
45
|
+
return this.client.getParty(this.id);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
exports.default = PresenceParty;
|
|
49
|
+
//# sourceMappingURL=PresenceParty.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PresenceParty.js","sourceRoot":"","sources":["../../../../src/structures/party/PresenceParty.ts"],"names":[],"mappings":";;;AAAA,8DAA8B;AAC9B,yGAAyE;AAKzE;;GAEG;AACH,MAAM,aAAc,SAAQ,cAAI;IAgD9B;;;OAGG;IACH,YAAY,MAAc,EAAE,IAAuB;QACjD,KAAK,CAAC,MAAM,CAAC,CAAC;QAEd,IAAI,CAAC,SAAS,GAAG,OAAO,IAAI,CAAC,UAAU,KAAK,SAAS,IAAI,KAAK,CAAC;QAC/D,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC;QACvB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,EAAE,CAAC;QACpB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,WAAW,CAAC;QAC/B,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC;QACpB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACxB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAC5B,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,UAAU,CAAC;QAC7B,IAAI,CAAC,yBAAyB,GAAG,IAAI,CAAC,kBAAkB,CAAC;IAC3D,CAAC;IAED;;;;;OAKG;IACI,KAAK,CAAC,IAAI;QACf,IAAI,IAAI,CAAC,SAAS,IAAI,CAAC,IAAI,CAAC,EAAE;YAAE,MAAM,IAAI,8BAAoB,EAAE,CAAC;QAEjE,MAAM,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACvC,CAAC;IAED;;;;OAIG;IACI,KAAK,CAAC,KAAK;QAChB,IAAI,IAAI,CAAC,SAAS,IAAI,CAAC,IAAI,CAAC,EAAE;YAAE,MAAM,IAAI,8BAAoB,EAAE,CAAC;QAEjE,OAAO,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAmB,CAAC;IACzD,CAAC;CACF;AAED,kBAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import BasePartyInvitation from './BasePartyInvitation';
|
|
2
|
+
import type ClientUser from '../user/ClientUser';
|
|
3
|
+
import type Friend from '../friend/Friend';
|
|
4
|
+
import type Client from '../../Client';
|
|
5
|
+
import type Party from './Party';
|
|
6
|
+
import type ClientParty from './ClientParty';
|
|
7
|
+
/**
|
|
8
|
+
* Represents a recieved party invitation
|
|
9
|
+
*/
|
|
10
|
+
declare class ReceivedPartyInvitation extends BasePartyInvitation {
|
|
11
|
+
sender: Friend;
|
|
12
|
+
receiver: ClientUser;
|
|
13
|
+
/**
|
|
14
|
+
* @param client The main client
|
|
15
|
+
* @param party The party this invitation belongs to
|
|
16
|
+
* @param sender The friend (or the client user) who sent this invitation
|
|
17
|
+
* @param receiver The friend (or the client user) who received this invitation
|
|
18
|
+
* @param data The invitation data
|
|
19
|
+
*/
|
|
20
|
+
constructor(client: Client, party: Party | ClientParty, sender: Friend, receiver: ClientUser, data: any);
|
|
21
|
+
/**
|
|
22
|
+
* Accepts this invitation
|
|
23
|
+
* @throws {PartyInvitationExpiredError} The invitation already got accepted or declined
|
|
24
|
+
* @throws {EpicgamesAPIError}
|
|
25
|
+
*/
|
|
26
|
+
accept(): Promise<void>;
|
|
27
|
+
/**
|
|
28
|
+
* Declines this invitation
|
|
29
|
+
* @throws {PartyInvitationExpiredError} The invitation already got accepted or declined
|
|
30
|
+
*/
|
|
31
|
+
decline(): Promise<void>;
|
|
32
|
+
}
|
|
33
|
+
export default ReceivedPartyInvitation;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const Endpoints_1 = tslib_1.__importDefault(require("../../../resources/Endpoints"));
|
|
5
|
+
const PartyInvitationExpiredError_1 = tslib_1.__importDefault(require("../../exceptions/PartyInvitationExpiredError"));
|
|
6
|
+
const BasePartyInvitation_1 = tslib_1.__importDefault(require("./BasePartyInvitation"));
|
|
7
|
+
const enums_1 = require("../../../resources/enums");
|
|
8
|
+
/**
|
|
9
|
+
* Represents a recieved party invitation
|
|
10
|
+
*/
|
|
11
|
+
class ReceivedPartyInvitation extends BasePartyInvitation_1.default {
|
|
12
|
+
/**
|
|
13
|
+
* @param client The main client
|
|
14
|
+
* @param party The party this invitation belongs to
|
|
15
|
+
* @param sender The friend (or the client user) who sent this invitation
|
|
16
|
+
* @param receiver The friend (or the client user) who received this invitation
|
|
17
|
+
* @param data The invitation data
|
|
18
|
+
*/
|
|
19
|
+
constructor(client, party, sender, receiver, data) {
|
|
20
|
+
super(client, party, sender, receiver, data);
|
|
21
|
+
this.sender = sender;
|
|
22
|
+
this.receiver = receiver;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Accepts this invitation
|
|
26
|
+
* @throws {PartyInvitationExpiredError} The invitation already got accepted or declined
|
|
27
|
+
* @throws {EpicgamesAPIError}
|
|
28
|
+
*/
|
|
29
|
+
async accept() {
|
|
30
|
+
if (this.isExpired || this.isHandled)
|
|
31
|
+
throw new PartyInvitationExpiredError_1.default();
|
|
32
|
+
await this.party.join();
|
|
33
|
+
this.isHandled = true;
|
|
34
|
+
await this.client.http.epicgamesRequest({
|
|
35
|
+
method: 'DELETE',
|
|
36
|
+
url: `${Endpoints_1.default.BR_PARTY}/user/${this.client.user.self.id}/pings/${this.sender.id}`,
|
|
37
|
+
}, enums_1.AuthSessionStoreKey.Fortnite);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Declines this invitation
|
|
41
|
+
* @throws {PartyInvitationExpiredError} The invitation already got accepted or declined
|
|
42
|
+
*/
|
|
43
|
+
async decline() {
|
|
44
|
+
if (this.isExpired || this.isHandled)
|
|
45
|
+
throw new PartyInvitationExpiredError_1.default();
|
|
46
|
+
await this.client.http.epicgamesRequest({
|
|
47
|
+
method: 'DELETE',
|
|
48
|
+
url: `${Endpoints_1.default.BR_PARTY}/user/${this.client.user.self.id}/pings/${this.sender.id}`,
|
|
49
|
+
}, enums_1.AuthSessionStoreKey.Fortnite);
|
|
50
|
+
this.isHandled = true;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
exports.default = ReceivedPartyInvitation;
|
|
54
|
+
//# sourceMappingURL=ReceivedPartyInvitation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReceivedPartyInvitation.js","sourceRoot":"","sources":["../../../../src/structures/party/ReceivedPartyInvitation.ts"],"names":[],"mappings":";;;AAAA,qFAAqD;AACrD,uHAAuF;AACvF,wFAAwD;AACxD,oDAA+D;AAO/D;;GAEG;AACH,MAAM,uBAAwB,SAAQ,6BAAmB;IAIvD;;;;;;OAMG;IACH,YAAY,MAAc,EAAE,KAA0B,EAAE,MAAc,EAAE,QAAoB,EAAE,IAAS;QACrG,KAAK,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC;QAE7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,CAAC;IAED;;;;OAIG;IACI,KAAK,CAAC,MAAM;QACjB,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,SAAS;YAAE,MAAM,IAAI,qCAA2B,EAAE,CAAC;QAE9E,MAAM,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;QACxB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QAEtB,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC;YACtC,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,GAAG,mBAAS,CAAC,QAAQ,SAAS,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAK,CAAC,EAAE,UAAU,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE;SACvF,EAAE,2BAAmB,CAAC,QAAQ,CAAC,CAAC;IACnC,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,OAAO;QAClB,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,SAAS;YAAE,MAAM,IAAI,qCAA2B,EAAE,CAAC;QAE9E,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC;YACtC,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,GAAG,mBAAS,CAAC,QAAQ,SAAS,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAK,CAAC,EAAE,UAAU,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE;SACvF,EAAE,2BAAmB,CAAC,QAAQ,CAAC,CAAC;QAEjC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;IACxB,CAAC;CACF;AAED,kBAAe,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import BasePartyJoinRequest from './BasePartyJoinRequest';
|
|
2
|
+
import type ClientUser from '../user/ClientUser';
|
|
3
|
+
import type Friend from '../friend/Friend';
|
|
4
|
+
import type Client from '../../Client';
|
|
5
|
+
/**
|
|
6
|
+
* Represents an incoming party join request
|
|
7
|
+
*/
|
|
8
|
+
declare class ReceivedPartyJoinRequest extends BasePartyJoinRequest {
|
|
9
|
+
receiver: ClientUser;
|
|
10
|
+
sender: Friend;
|
|
11
|
+
/**
|
|
12
|
+
* @param client The main client
|
|
13
|
+
* @param sender The user who requested to join the party
|
|
14
|
+
* @param receiver The user who received the join request
|
|
15
|
+
* @param data The party confirmation data
|
|
16
|
+
*/
|
|
17
|
+
constructor(client: Client, sender: Friend, receiver: ClientUser, data: any);
|
|
18
|
+
/**
|
|
19
|
+
* Accepts the join request. If it expired, a normal invite will be sent
|
|
20
|
+
* @throws {PartyAlreadyJoinedError} The user is already a member of this party
|
|
21
|
+
* @throws {PartyMaxSizeReachedError} The party reached its max size
|
|
22
|
+
* @throws {EpicgamesAPIError}
|
|
23
|
+
*/
|
|
24
|
+
accept(): Promise<import("./SentPartyInvitation").default>;
|
|
25
|
+
}
|
|
26
|
+
export default ReceivedPartyJoinRequest;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const BasePartyJoinRequest_1 = tslib_1.__importDefault(require("./BasePartyJoinRequest"));
|
|
5
|
+
/**
|
|
6
|
+
* Represents an incoming party join request
|
|
7
|
+
*/
|
|
8
|
+
class ReceivedPartyJoinRequest extends BasePartyJoinRequest_1.default {
|
|
9
|
+
/**
|
|
10
|
+
* @param client The main client
|
|
11
|
+
* @param sender The user who requested to join the party
|
|
12
|
+
* @param receiver The user who received the join request
|
|
13
|
+
* @param data The party confirmation data
|
|
14
|
+
*/
|
|
15
|
+
constructor(client, sender, receiver, data) {
|
|
16
|
+
super(client, sender, receiver, data);
|
|
17
|
+
this.sender = sender;
|
|
18
|
+
this.receiver = receiver;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Accepts the join request. If it expired, a normal invite will be sent
|
|
22
|
+
* @throws {PartyAlreadyJoinedError} The user is already a member of this party
|
|
23
|
+
* @throws {PartyMaxSizeReachedError} The party reached its max size
|
|
24
|
+
* @throws {EpicgamesAPIError}
|
|
25
|
+
*/
|
|
26
|
+
async accept() {
|
|
27
|
+
return this.client.invite(this.sender.id);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.default = ReceivedPartyJoinRequest;
|
|
31
|
+
//# sourceMappingURL=ReceivedPartyJoinRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReceivedPartyJoinRequest.js","sourceRoot":"","sources":["../../../../src/structures/party/ReceivedPartyJoinRequest.ts"],"names":[],"mappings":";;;AAAA,0FAA0D;AAK1D;;GAEG;AACH,MAAM,wBAAyB,SAAQ,8BAAoB;IAIzD;;;;;OAKG;IACH,YAAY,MAAc,EAAE,MAAc,EAAE,QAAoB,EAAE,IAAS;QACzE,KAAK,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC;QAEtC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,CAAC;IAED;;;;;OAKG;IACI,KAAK,CAAC,MAAM;QACjB,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAC5C,CAAC;CACF;AAED,kBAAe,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import BasePartyInvitation from './BasePartyInvitation';
|
|
2
|
+
import type ClientUser from '../user/ClientUser';
|
|
3
|
+
import type Friend from '../friend/Friend';
|
|
4
|
+
import type Client from '../../Client';
|
|
5
|
+
import type Party from './Party';
|
|
6
|
+
import type ClientParty from './ClientParty';
|
|
7
|
+
/**
|
|
8
|
+
* Represents a sent party invitation
|
|
9
|
+
*/
|
|
10
|
+
declare class SentPartyInvitation extends BasePartyInvitation {
|
|
11
|
+
sender: ClientUser;
|
|
12
|
+
receiver: Friend;
|
|
13
|
+
/**
|
|
14
|
+
* @param client The main client
|
|
15
|
+
* @param party The party this invitation belongs to
|
|
16
|
+
* @param sender The friend (or the client user) who sent this invitation
|
|
17
|
+
* @param receiver The friend (or the client user) who received this invitation
|
|
18
|
+
* @param data The invitation data
|
|
19
|
+
*/
|
|
20
|
+
constructor(client: Client, party: Party | ClientParty, sender: ClientUser, receiver: Friend, data: any);
|
|
21
|
+
/**
|
|
22
|
+
* Declines this invitation
|
|
23
|
+
* @throws {PartyInvitationExpiredError} The invitation already got accepted or declined
|
|
24
|
+
*/
|
|
25
|
+
abort(): Promise<void>;
|
|
26
|
+
}
|
|
27
|
+
export default SentPartyInvitation;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const Endpoints_1 = tslib_1.__importDefault(require("../../../resources/Endpoints"));
|
|
5
|
+
const PartyInvitationExpiredError_1 = tslib_1.__importDefault(require("../../exceptions/PartyInvitationExpiredError"));
|
|
6
|
+
const BasePartyInvitation_1 = tslib_1.__importDefault(require("./BasePartyInvitation"));
|
|
7
|
+
const enums_1 = require("../../../resources/enums");
|
|
8
|
+
/**
|
|
9
|
+
* Represents a sent party invitation
|
|
10
|
+
*/
|
|
11
|
+
class SentPartyInvitation extends BasePartyInvitation_1.default {
|
|
12
|
+
/**
|
|
13
|
+
* @param client The main client
|
|
14
|
+
* @param party The party this invitation belongs to
|
|
15
|
+
* @param sender The friend (or the client user) who sent this invitation
|
|
16
|
+
* @param receiver The friend (or the client user) who received this invitation
|
|
17
|
+
* @param data The invitation data
|
|
18
|
+
*/
|
|
19
|
+
constructor(client, party, sender, receiver, data) {
|
|
20
|
+
super(client, party, sender, receiver, data);
|
|
21
|
+
this.sender = sender;
|
|
22
|
+
this.receiver = receiver;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Declines this invitation
|
|
26
|
+
* @throws {PartyInvitationExpiredError} The invitation already got accepted or declined
|
|
27
|
+
*/
|
|
28
|
+
async abort() {
|
|
29
|
+
if (this.isExpired || this.isHandled)
|
|
30
|
+
throw new PartyInvitationExpiredError_1.default();
|
|
31
|
+
await this.client.http.epicgamesRequest({
|
|
32
|
+
method: 'DELETE',
|
|
33
|
+
url: `${Endpoints_1.default.BR_PARTY}/parties/${this.party.id}/invites/${this.receiver.id}`,
|
|
34
|
+
}, enums_1.AuthSessionStoreKey.Fortnite);
|
|
35
|
+
this.isHandled = true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
exports.default = SentPartyInvitation;
|
|
39
|
+
//# sourceMappingURL=SentPartyInvitation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SentPartyInvitation.js","sourceRoot":"","sources":["../../../../src/structures/party/SentPartyInvitation.ts"],"names":[],"mappings":";;;AAAA,qFAAqD;AACrD,uHAAuF;AACvF,wFAAwD;AACxD,oDAA+D;AAO/D;;GAEG;AACH,MAAM,mBAAoB,SAAQ,6BAAmB;IAInD;;;;;;OAMG;IACH,YAAY,MAAc,EAAE,KAA0B,EAAE,MAAkB,EAAE,QAAgB,EAAE,IAAS;QACrG,KAAK,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC;QAE7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,KAAK;QAChB,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,SAAS;YAAE,MAAM,IAAI,qCAA2B,EAAE,CAAC;QAE9E,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC;YACtC,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,GAAG,mBAAS,CAAC,QAAQ,YAAY,IAAI,CAAC,KAAK,CAAC,EAAE,YAAY,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE;SAClF,EAAE,2BAAmB,CAAC,QAAQ,CAAC,CAAC;QAEjC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;IACxB,CAAC;CACF;AAED,kBAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import BasePartyJoinRequest from './BasePartyJoinRequest';
|
|
2
|
+
import type ClientUser from '../user/ClientUser';
|
|
3
|
+
import type Friend from '../friend/Friend';
|
|
4
|
+
import type Client from '../../Client';
|
|
5
|
+
/**
|
|
6
|
+
* Represents an outgoing party join request
|
|
7
|
+
*/
|
|
8
|
+
declare class SentPartyJoinRequest extends BasePartyJoinRequest {
|
|
9
|
+
receiver: Friend;
|
|
10
|
+
sender: ClientUser;
|
|
11
|
+
/**
|
|
12
|
+
* @param client The main client
|
|
13
|
+
* @param sender The user who requested to join the party
|
|
14
|
+
* @param receiver The user who received the join request
|
|
15
|
+
* @param data The party confirmation data
|
|
16
|
+
*/
|
|
17
|
+
constructor(client: Client, sender: ClientUser, receiver: Friend, data: any);
|
|
18
|
+
}
|
|
19
|
+
export default SentPartyJoinRequest;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const BasePartyJoinRequest_1 = tslib_1.__importDefault(require("./BasePartyJoinRequest"));
|
|
5
|
+
/**
|
|
6
|
+
* Represents an outgoing party join request
|
|
7
|
+
*/
|
|
8
|
+
class SentPartyJoinRequest extends BasePartyJoinRequest_1.default {
|
|
9
|
+
/**
|
|
10
|
+
* @param client The main client
|
|
11
|
+
* @param sender The user who requested to join the party
|
|
12
|
+
* @param receiver The user who received the join request
|
|
13
|
+
* @param data The party confirmation data
|
|
14
|
+
*/
|
|
15
|
+
constructor(client, sender, receiver, data) {
|
|
16
|
+
super(client, sender, receiver, data);
|
|
17
|
+
this.sender = sender;
|
|
18
|
+
this.receiver = receiver;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.default = SentPartyJoinRequest;
|
|
22
|
+
//# sourceMappingURL=SentPartyJoinRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SentPartyJoinRequest.js","sourceRoot":"","sources":["../../../../src/structures/party/SentPartyJoinRequest.ts"],"names":[],"mappings":";;;AAAA,0FAA0D;AAK1D;;GAEG;AACH,MAAM,oBAAqB,SAAQ,8BAAoB;IAIrD;;;;;KAKC;IACD,YAAY,MAAc,EAAE,MAAkB,EAAE,QAAgB,EAAE,IAAS;QACzE,KAAK,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC;QAEtC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,CAAC;CACF;AAED,kBAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import STWItem from './STWItem';
|
|
2
|
+
import type { STWProfileHeroData } from '../../../resources/httpResponses';
|
|
3
|
+
import type { STWItemRarity, STWHeroType, STWItemTier } from '../../../resources/structs';
|
|
4
|
+
import type Client from '../../Client';
|
|
5
|
+
/**
|
|
6
|
+
* Represents a Save The World profile's hero
|
|
7
|
+
*/
|
|
8
|
+
declare class STWHero extends STWItem {
|
|
9
|
+
/**
|
|
10
|
+
* The hero's type.
|
|
11
|
+
*/
|
|
12
|
+
type: STWHeroType;
|
|
13
|
+
/**
|
|
14
|
+
* The hero's name.
|
|
15
|
+
*/
|
|
16
|
+
name?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The hero's tier
|
|
19
|
+
*/
|
|
20
|
+
tier: STWItemTier;
|
|
21
|
+
/**
|
|
22
|
+
* The hero's rarity
|
|
23
|
+
*/
|
|
24
|
+
rarity: STWItemRarity;
|
|
25
|
+
/**
|
|
26
|
+
* The hero's level
|
|
27
|
+
*/
|
|
28
|
+
level: number;
|
|
29
|
+
/**
|
|
30
|
+
* The hero's max level bonus
|
|
31
|
+
*/
|
|
32
|
+
maxLevelBonus: number;
|
|
33
|
+
/**
|
|
34
|
+
* The hero's XP
|
|
35
|
+
*/
|
|
36
|
+
xp: number;
|
|
37
|
+
/**
|
|
38
|
+
* Whether the hero is marked as seen
|
|
39
|
+
*/
|
|
40
|
+
isSeen: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Whether the hero is marked as favorite
|
|
43
|
+
*/
|
|
44
|
+
isFavorite: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Whether the hero is marked as refundable
|
|
47
|
+
*/
|
|
48
|
+
isRefundable: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* @param client The main client
|
|
51
|
+
* @param id The item ID
|
|
52
|
+
* @param data The hero's data
|
|
53
|
+
*/
|
|
54
|
+
constructor(client: Client, id: string, data: STWProfileHeroData);
|
|
55
|
+
/**
|
|
56
|
+
* The hero's power level.
|
|
57
|
+
* Depends on the tier, level, and rarity value
|
|
58
|
+
*/
|
|
59
|
+
get powerLevel(): number;
|
|
60
|
+
}
|
|
61
|
+
export default STWHero;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const Util_1 = require("../../util/Util");
|
|
5
|
+
const STWItem_1 = tslib_1.__importDefault(require("./STWItem"));
|
|
6
|
+
/**
|
|
7
|
+
* Represents a Save The World profile's hero
|
|
8
|
+
*/
|
|
9
|
+
class STWHero extends STWItem_1.default {
|
|
10
|
+
/**
|
|
11
|
+
* @param client The main client
|
|
12
|
+
* @param id The item ID
|
|
13
|
+
* @param data The hero's data
|
|
14
|
+
*/
|
|
15
|
+
constructor(client, id, data) {
|
|
16
|
+
super(client, id, data);
|
|
17
|
+
const parsedHero = (0, Util_1.parseSTWHeroTemplateId)(data.templateId);
|
|
18
|
+
this.type = parsedHero.type;
|
|
19
|
+
this.name = parsedHero.name;
|
|
20
|
+
this.tier = parsedHero.tier;
|
|
21
|
+
this.rarity = parsedHero.rarity;
|
|
22
|
+
this.level = data.attributes.level;
|
|
23
|
+
this.maxLevelBonus = data.attributes.max_level_bonus;
|
|
24
|
+
this.xp = data.attributes.xp;
|
|
25
|
+
this.isSeen = data.attributes.item_seen;
|
|
26
|
+
this.isFavorite = data.attributes.favorite;
|
|
27
|
+
this.isRefundable = data.attributes.refundable;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* The hero's power level.
|
|
31
|
+
* Depends on the tier, level, and rarity value
|
|
32
|
+
*/
|
|
33
|
+
get powerLevel() {
|
|
34
|
+
return (0, Util_1.calcSTWNonSurvivorPowerLevel)(this.rarity, this.level, this.tier);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.default = STWHero;
|
|
38
|
+
//# sourceMappingURL=STWHero.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"STWHero.js","sourceRoot":"","sources":["../../../../src/structures/stw/STWHero.ts"],"names":[],"mappings":";;;AAAA,0CAEyB;AACzB,gEAAgC;AAKhC;;GAEG;AACH,MAAM,OAAQ,SAAQ,iBAAO;IAmD3B;;;;OAIG;IACH,YAAY,MAAc,EAAE,EAAU,EAAE,IAAwB;QAC9D,KAAK,CAAC,MAAM,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;QAExB,MAAM,UAAU,GAAG,IAAA,6BAAsB,EAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAE3D,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC;QAC5B,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC;QAC5B,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC;QAC5B,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAEhC,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;QACnC,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC;QACrD,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;QAE7B,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC;QACxC,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC;QAC3C,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC;IACjD,CAAC;IAED;;;OAGG;IACH,IAAW,UAAU;QACnB,OAAO,IAAA,mCAA4B,EAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IAC1E,CAAC;CACF;AAED,kBAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import STWItem from './STWItem';
|
|
2
|
+
import type { STWProfileHeroLoadoutData } from '../../../resources/httpResponses';
|
|
3
|
+
import type Client from '../../Client';
|
|
4
|
+
/**
|
|
5
|
+
* Represents a Save The World profile's hero loadout
|
|
6
|
+
*/
|
|
7
|
+
declare class STWHeroLoadout extends STWItem {
|
|
8
|
+
/**
|
|
9
|
+
* The loadout's index
|
|
10
|
+
*/
|
|
11
|
+
loadoutIndex: number;
|
|
12
|
+
/**
|
|
13
|
+
* The loadout's team perk ID
|
|
14
|
+
*/
|
|
15
|
+
teamPerk?: string;
|
|
16
|
+
/**
|
|
17
|
+
* The loadout's main hero (commander) ID
|
|
18
|
+
*/
|
|
19
|
+
commanderSlot: string;
|
|
20
|
+
/**
|
|
21
|
+
* The loadout's support hero IDs
|
|
22
|
+
*/
|
|
23
|
+
supportSquad: [
|
|
24
|
+
string | undefined,
|
|
25
|
+
string | undefined,
|
|
26
|
+
string | undefined,
|
|
27
|
+
string | undefined,
|
|
28
|
+
string | undefined
|
|
29
|
+
];
|
|
30
|
+
/**
|
|
31
|
+
* The loadout's gadget IDs
|
|
32
|
+
*/
|
|
33
|
+
gadgets: [
|
|
34
|
+
string | undefined,
|
|
35
|
+
string | undefined
|
|
36
|
+
];
|
|
37
|
+
/**
|
|
38
|
+
* @param client The main client
|
|
39
|
+
* @param id The item ID
|
|
40
|
+
* @param data The loadout data
|
|
41
|
+
*/
|
|
42
|
+
constructor(client: Client, id: string, data: STWProfileHeroLoadoutData);
|
|
43
|
+
}
|
|
44
|
+
export default STWHeroLoadout;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const STWItem_1 = tslib_1.__importDefault(require("./STWItem"));
|
|
5
|
+
/**
|
|
6
|
+
* Represents a Save The World profile's hero loadout
|
|
7
|
+
*/
|
|
8
|
+
class STWHeroLoadout extends STWItem_1.default {
|
|
9
|
+
/**
|
|
10
|
+
* @param client The main client
|
|
11
|
+
* @param id The item ID
|
|
12
|
+
* @param data The loadout data
|
|
13
|
+
*/
|
|
14
|
+
constructor(client, id, data) {
|
|
15
|
+
var _a, _b, _c, _d;
|
|
16
|
+
super(client, id, data);
|
|
17
|
+
this.loadoutIndex = data.attributes.loadout_index;
|
|
18
|
+
this.teamPerk = data.attributes.team_perk !== '' ? data.attributes.team_perk : undefined;
|
|
19
|
+
this.commanderSlot = data.attributes.crew_members.commanderslot;
|
|
20
|
+
this.supportSquad = [
|
|
21
|
+
data.attributes.crew_members.followerslot1 || undefined,
|
|
22
|
+
data.attributes.crew_members.followerslot2 || undefined,
|
|
23
|
+
data.attributes.crew_members.followerslot3 || undefined,
|
|
24
|
+
data.attributes.crew_members.followerslot4 || undefined,
|
|
25
|
+
data.attributes.crew_members.followerslot5 || undefined,
|
|
26
|
+
];
|
|
27
|
+
this.gadgets = [
|
|
28
|
+
(_b = (_a = data.attributes.gadgets) === null || _a === void 0 ? void 0 : _a.find((g) => g.slot_index === 0)) === null || _b === void 0 ? void 0 : _b.gadget,
|
|
29
|
+
(_d = (_c = data.attributes.gadgets) === null || _c === void 0 ? void 0 : _c.find((g) => g.slot_index === 1)) === null || _d === void 0 ? void 0 : _d.gadget,
|
|
30
|
+
];
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.default = STWHeroLoadout;
|
|
34
|
+
//# sourceMappingURL=STWHeroLoadout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"STWHeroLoadout.js","sourceRoot":"","sources":["../../../../src/structures/stw/STWHeroLoadout.ts"],"names":[],"mappings":";;;AAAA,gEAAgC;AAIhC;;GAEG;AACH,MAAM,cAAe,SAAQ,iBAAO;IAmClC;;;;OAIG;IACH,YAAY,MAAc,EAAE,EAAU,EAAE,IAA+B;;QACrE,KAAK,CAAC,MAAM,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;QAExB,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC;QAElD,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,UAAU,CAAC,SAAS,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;QAEzF,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,aAAa,CAAC;QAEhE,IAAI,CAAC,YAAY,GAAG;YAClB,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,aAAa,IAAI,SAAS;YACvD,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,aAAa,IAAI,SAAS;YACvD,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,aAAa,IAAI,SAAS;YACvD,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,aAAa,IAAI,SAAS;YACvD,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,aAAa,IAAI,SAAS;SACxD,CAAC;QAEF,IAAI,CAAC,OAAO,GAAG;YACb,MAAA,MAAA,IAAI,CAAC,UAAU,CAAC,OAAO,0CAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,UAAU,KAAK,CAAC,CAAC,0CAAE,MAAM;YAChE,MAAA,MAAA,IAAI,CAAC,UAAU,CAAC,OAAO,0CAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,UAAU,KAAK,CAAC,CAAC,0CAAE,MAAM;SACjE,CAAC;IACJ,CAAC;CACF;AAED,kBAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import Base from '../../Base';
|
|
2
|
+
import type Client from '../../Client';
|
|
3
|
+
import type { STWProfileItemData } from '../../../resources/httpResponses';
|
|
4
|
+
/**
|
|
5
|
+
* Represents a Save The World profile's item
|
|
6
|
+
*/
|
|
7
|
+
declare class STWItem extends Base {
|
|
8
|
+
/**
|
|
9
|
+
* The item ID
|
|
10
|
+
*/
|
|
11
|
+
id: string;
|
|
12
|
+
/**
|
|
13
|
+
* The item's template ID
|
|
14
|
+
*/
|
|
15
|
+
templateId: string;
|
|
16
|
+
/**
|
|
17
|
+
* The item's quantity
|
|
18
|
+
*/
|
|
19
|
+
quantity: number;
|
|
20
|
+
/**
|
|
21
|
+
* The item's attributes
|
|
22
|
+
*/
|
|
23
|
+
attributes: any;
|
|
24
|
+
/**
|
|
25
|
+
* @param client The main client
|
|
26
|
+
* @param id The item ID
|
|
27
|
+
* @param data The item's data
|
|
28
|
+
*/
|
|
29
|
+
constructor(client: Client, id: string, data: STWProfileItemData);
|
|
30
|
+
}
|
|
31
|
+
export default STWItem;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const Base_1 = tslib_1.__importDefault(require("../../Base"));
|
|
5
|
+
/**
|
|
6
|
+
* Represents a Save The World profile's item
|
|
7
|
+
*/
|
|
8
|
+
class STWItem extends Base_1.default {
|
|
9
|
+
/**
|
|
10
|
+
* @param client The main client
|
|
11
|
+
* @param id The item ID
|
|
12
|
+
* @param data The item's data
|
|
13
|
+
*/
|
|
14
|
+
constructor(client, id, data) {
|
|
15
|
+
super(client);
|
|
16
|
+
this.id = id;
|
|
17
|
+
this.templateId = data.templateId;
|
|
18
|
+
this.quantity = data.quantity;
|
|
19
|
+
this.attributes = data.attributes;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.default = STWItem;
|
|
23
|
+
//# sourceMappingURL=STWItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"STWItem.js","sourceRoot":"","sources":["../../../../src/structures/stw/STWItem.ts"],"names":[],"mappings":";;;AAAA,8DAA8B;AAI9B;;GAEG;AACH,MAAM,OAAQ,SAAQ,cAAI;IAqBxB;;;;OAIG;IACH,YAAY,MAAc,EAAE,EAAU,EAAE,IAAwB;QAC9D,KAAK,CAAC,MAAM,CAAC,CAAC;QAEd,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;QAClC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;QAC9B,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;IACpC,CAAC;CACF;AAED,kBAAe,OAAO,CAAC"}
|