2024-06-18 02:07:30 +02:00
|
|
|
import express from "express";
|
2025-08-25 13:37:14 -07:00
|
|
|
import { abandonLibraryDailyTaskController } from "../controllers/api/abandonLibraryDailyTaskController.ts";
|
|
|
|
|
import { abortDojoComponentController } from "../controllers/api/abortDojoComponentController.ts";
|
|
|
|
|
import { abortDojoComponentDestructionController } from "../controllers/api/abortDojoComponentDestructionController.ts";
|
|
|
|
|
import { activateRandomModController } from "../controllers/api/activateRandomModController.ts";
|
|
|
|
|
import { addFriendController } from "../controllers/api/addFriendController.ts";
|
|
|
|
|
import { addFriendImageController } from "../controllers/api/addFriendImageController.ts";
|
|
|
|
|
import { addIgnoredUserController } from "../controllers/api/addIgnoredUserController.ts";
|
|
|
|
|
import { addPendingFriendController } from "../controllers/api/addPendingFriendController.ts";
|
|
|
|
|
import { addToAllianceController } from "../controllers/api/addToAllianceController.ts";
|
|
|
|
|
import { addToGuildController } from "../controllers/api/addToGuildController.ts";
|
|
|
|
|
import { adoptPetController } from "../controllers/api/adoptPetController.ts";
|
|
|
|
|
import { apartmentController } from "../controllers/api/apartmentController.ts";
|
|
|
|
|
import { arcaneCommonController } from "../controllers/api/arcaneCommonController.ts";
|
|
|
|
|
import { archonFusionController } from "../controllers/api/archonFusionController.ts";
|
|
|
|
|
import { artifactsController } from "../controllers/api/artifactsController.ts";
|
|
|
|
|
import { artifactTransmutationController } from "../controllers/api/artifactTransmutationController.ts";
|
|
|
|
|
import { cancelGuildAdvertisementController } from "../controllers/api/cancelGuildAdvertisementController.ts";
|
|
|
|
|
import { changeDojoRootController } from "../controllers/api/changeDojoRootController.ts";
|
|
|
|
|
import { changeGuildRankController } from "../controllers/api/changeGuildRankController.ts";
|
|
|
|
|
import { checkDailyMissionBonusController } from "../controllers/api/checkDailyMissionBonusController.ts";
|
|
|
|
|
import { claimCompletedRecipeController } from "../controllers/api/claimCompletedRecipeController.ts";
|
|
|
|
|
import { claimJunctionChallengeRewardController } from "../controllers/api/claimJunctionChallengeRewardController.ts";
|
|
|
|
|
import { claimLibraryDailyTaskRewardController } from "../controllers/api/claimLibraryDailyTaskRewardController.ts";
|
|
|
|
|
import { clearDialogueHistoryController } from "../controllers/api/clearDialogueHistoryController.ts";
|
|
|
|
|
import { clearNewEpisodeRewardController } from "../controllers/api/clearNewEpisodeRewardController.ts";
|
|
|
|
|
import { completeCalendarEventController } from "../controllers/api/completeCalendarEventController.ts";
|
|
|
|
|
import { completeRandomModChallengeController } from "../controllers/api/completeRandomModChallengeController.ts";
|
|
|
|
|
import { confirmAllianceInvitationController } from "../controllers/api/confirmAllianceInvitationController.ts";
|
|
|
|
|
import { confirmGuildInvitationGetController, confirmGuildInvitationPostController } from "../controllers/api/confirmGuildInvitationController.ts";
|
|
|
|
|
import { contributeGuildClassController } from "../controllers/api/contributeGuildClassController.ts";
|
|
|
|
|
import { contributeToDojoComponentController } from "../controllers/api/contributeToDojoComponentController.ts";
|
|
|
|
|
import { contributeToVaultController } from "../controllers/api/contributeToVaultController.ts";
|
|
|
|
|
import { createAllianceController } from "../controllers/api/createAllianceController.ts";
|
|
|
|
|
import { createGuildController } from "../controllers/api/createGuildController.ts";
|
|
|
|
|
import { creditsController } from "../controllers/api/creditsController.ts";
|
|
|
|
|
import { crewMembersController } from "../controllers/api/crewMembersController.ts";
|
|
|
|
|
import { crewShipFusionController } from "../controllers/api/crewShipFusionController.ts";
|
|
|
|
|
import { crewShipIdentifySalvageController } from "../controllers/api/crewShipIdentifySalvageController.ts";
|
|
|
|
|
import { customizeGuildRanksController } from "../controllers/api/customizeGuildRanksController.ts";
|
|
|
|
|
import { customObstacleCourseLeaderboardController } from "../controllers/api/customObstacleCourseLeaderboardController.ts";
|
|
|
|
|
import { declineAllianceInviteController } from "../controllers/api/declineAllianceInviteController.ts";
|
|
|
|
|
import { declineGuildInviteController } from "../controllers/api/declineGuildInviteController.ts";
|
|
|
|
|
import { deleteSessionController } from "../controllers/api/deleteSessionController.ts";
|
|
|
|
|
import { destroyDojoDecoController } from "../controllers/api/destroyDojoDecoController.ts";
|
|
|
|
|
import { divvyAllianceVaultController } from "../controllers/api/divvyAllianceVaultController.ts";
|
|
|
|
|
import { dojoComponentRushController } from "../controllers/api/dojoComponentRushController.ts";
|
|
|
|
|
import { dojoController, setDojoURLController } from "../controllers/api/dojoController.ts";
|
|
|
|
|
import { dronesController } from "../controllers/api/dronesController.ts";
|
|
|
|
|
import { endlessXpController } from "../controllers/api/endlessXpController.ts";
|
|
|
|
|
import { entratiLabConquestModeController } from "../controllers/api/entratiLabConquestModeController.ts";
|
|
|
|
|
import { evolveWeaponController } from "../controllers/api/evolveWeaponController.ts";
|
|
|
|
|
import { findSessionsController } from "../controllers/api/findSessionsController.ts";
|
|
|
|
|
import { fishmongerController } from "../controllers/api/fishmongerController.ts";
|
|
|
|
|
import { focusController } from "../controllers/api/focusController.ts";
|
2025-10-09 23:02:00 -07:00
|
|
|
import { forceRemoveItemController } from "../controllers/api/forceRemoveItemController.ts";
|
2025-08-25 13:37:14 -07:00
|
|
|
import { fusionTreasuresController } from "../controllers/api/fusionTreasuresController.ts";
|
|
|
|
|
import { gardeningController } from "../controllers/api/gardeningController.ts";
|
|
|
|
|
import { genericUpdateController } from "../controllers/api/genericUpdateController.ts";
|
|
|
|
|
import { getAllianceController } from "../controllers/api/getAllianceController.ts";
|
|
|
|
|
import { getDailyDealStockLevelsController } from "../controllers/api/getDailyDealStockLevelsController.ts";
|
|
|
|
|
import { getFriendsController } from "../controllers/api/getFriendsController.ts";
|
|
|
|
|
import { getGuildContributionsController } from "../controllers/api/getGuildContributionsController.ts";
|
|
|
|
|
import { getGuildController } from "../controllers/api/getGuildController.ts";
|
|
|
|
|
import { getGuildDojoController } from "../controllers/api/getGuildDojoController.ts";
|
|
|
|
|
import { getGuildEventScoreController } from "../controllers/api/getGuildEventScoreController.ts";
|
|
|
|
|
import { getGuildLogController } from "../controllers/api/getGuildLogController.ts";
|
|
|
|
|
import { getIgnoredUsersController } from "../controllers/api/getIgnoredUsersController.ts";
|
|
|
|
|
import { getNewRewardSeedController } from "../controllers/api/getNewRewardSeedController.ts";
|
|
|
|
|
import { getPastWeeklyChallengesController } from "../controllers/api/getPastWeeklyChallengesController.ts";
|
2025-10-09 23:02:00 -07:00
|
|
|
import { getProfileViewingDataPostController } from "../controllers/dynamic/getProfileViewingDataController.ts";
|
2025-08-25 13:37:14 -07:00
|
|
|
import { getShipController } from "../controllers/api/getShipController.ts";
|
|
|
|
|
import { getVendorInfoController } from "../controllers/api/getVendorInfoController.ts";
|
|
|
|
|
import { getVoidProjectionRewardsController } from "../controllers/api/getVoidProjectionRewardsController.ts";
|
|
|
|
|
import { giftingController } from "../controllers/api/giftingController.ts";
|
|
|
|
|
import { gildWeaponController } from "../controllers/api/gildWeaponController.ts";
|
|
|
|
|
import { giveKeyChainTriggeredItemsController } from "../controllers/api/giveKeyChainTriggeredItemsController.ts";
|
|
|
|
|
import { giveKeyChainTriggeredMessageController } from "../controllers/api/giveKeyChainTriggeredMessageController.ts";
|
|
|
|
|
import { giveQuestKeyRewardController } from "../controllers/api/giveQuestKeyRewardController.ts";
|
|
|
|
|
import { giveShipDecoAndLoreFragmentController } from "../controllers/api/giveShipDecoAndLoreFragmentController.ts";
|
|
|
|
|
import { giveStartingGearController } from "../controllers/api/giveStartingGearController.ts";
|
|
|
|
|
import { guildTechController } from "../controllers/api/guildTechController.ts";
|
|
|
|
|
import { hostSessionController } from "../controllers/api/hostSessionController.ts";
|
|
|
|
|
import { hubBlessingController } from "../controllers/api/hubBlessingController.ts";
|
|
|
|
|
import { hubController } from "../controllers/api/hubController.ts";
|
|
|
|
|
import { hubInstancesController } from "../controllers/api/hubInstancesController.ts";
|
|
|
|
|
import { inboxController } from "../controllers/api/inboxController.ts";
|
|
|
|
|
import { infestedFoundryController } from "../controllers/api/infestedFoundryController.ts";
|
|
|
|
|
import { inventoryController } from "../controllers/api/inventoryController.ts";
|
|
|
|
|
import { inventorySlotsController } from "../controllers/api/inventorySlotsController.ts";
|
|
|
|
|
import { joinSessionController } from "../controllers/api/joinSessionController.ts";
|
|
|
|
|
import { loginController } from "../controllers/api/loginController.ts";
|
|
|
|
|
import { loginRewardsController } from "../controllers/api/loginRewardsController.ts";
|
|
|
|
|
import { loginRewardsSelectionController } from "../controllers/api/loginRewardsSelectionController.ts";
|
|
|
|
|
import { logoutController } from "../controllers/api/logoutController.ts";
|
|
|
|
|
import { marketRecommendationsController } from "../controllers/api/marketRecommendationsController.ts";
|
|
|
|
|
import { maturePetController } from "../controllers/api/maturePetController.ts";
|
|
|
|
|
import { missionInventoryUpdateController } from "../controllers/api/missionInventoryUpdateController.ts";
|
|
|
|
|
import { modularWeaponCraftingController } from "../controllers/api/modularWeaponCraftingController.ts";
|
|
|
|
|
import { modularWeaponSaleController } from "../controllers/api/modularWeaponSaleController.ts";
|
|
|
|
|
import { nameWeaponController } from "../controllers/api/nameWeaponController.ts";
|
|
|
|
|
import { nemesisController } from "../controllers/api/nemesisController.ts";
|
|
|
|
|
import { placeDecoInComponentController } from "../controllers/api/placeDecoInComponentController.ts";
|
|
|
|
|
import { playedParkourTutorialController } from "../controllers/api/playedParkourTutorialController.ts";
|
|
|
|
|
import { playerSkillsController } from "../controllers/api/playerSkillsController.ts";
|
|
|
|
|
import { postGuildAdvertisementController } from "../controllers/api/postGuildAdvertisementController.ts";
|
|
|
|
|
import { projectionManagerController } from "../controllers/api/projectionManagerController.ts";
|
|
|
|
|
import { purchaseController } from "../controllers/api/purchaseController.ts";
|
|
|
|
|
import { questControlController } from "../controllers/api/questControlController.ts";
|
|
|
|
|
import { queueDojoComponentDestructionController } from "../controllers/api/queueDojoComponentDestructionController.ts";
|
|
|
|
|
import { redeemPromoCodeController } from "../controllers/api/redeemPromoCodeController.ts";
|
|
|
|
|
import { releasePetController } from "../controllers/api/releasePetController.ts";
|
|
|
|
|
import { removeFriendGetController, removeFriendPostController } from "../controllers/api/removeFriendController.ts";
|
|
|
|
|
import { removeFromAllianceController } from "../controllers/api/removeFromAllianceController.ts";
|
|
|
|
|
import { removeFromGuildController } from "../controllers/api/removeFromGuildController.ts";
|
|
|
|
|
import { removeIgnoredUserController } from "../controllers/api/removeIgnoredUserController.ts";
|
|
|
|
|
import { renamePetController } from "../controllers/api/renamePetController.ts";
|
|
|
|
|
import { rerollRandomModController } from "../controllers/api/rerollRandomModController.ts";
|
|
|
|
|
import { resetQuestProgressController } from "../controllers/api/resetQuestProgressController.ts";
|
|
|
|
|
import { retrievePetFromStasisController } from "../controllers/api/retrievePetFromStasisController.ts";
|
|
|
|
|
import { saveDialogueController } from "../controllers/api/saveDialogueController.ts";
|
|
|
|
|
import { saveLoadoutController } from "../controllers/api/saveLoadoutController.ts";
|
|
|
|
|
import { saveSettingsController } from "../controllers/api/saveSettingsController.ts";
|
|
|
|
|
import { saveVaultAutoContributeController } from "../controllers/api/saveVaultAutoContributeController.ts";
|
|
|
|
|
import { sellController } from "../controllers/api/sellController.ts";
|
|
|
|
|
import { sendMsgToInBoxController } from "../controllers/api/sendMsgToInBoxController.ts";
|
|
|
|
|
import { setActiveQuestController } from "../controllers/api/setActiveQuestController.ts";
|
|
|
|
|
import { setActiveShipController } from "../controllers/api/setActiveShipController.ts";
|
|
|
|
|
import { setAllianceGuildPermissionsController } from "../controllers/api/setAllianceGuildPermissionsController.ts";
|
|
|
|
|
import { setBootLocationController } from "../controllers/api/setBootLocationController.ts";
|
|
|
|
|
import { setDojoComponentColorsController } from "../controllers/api/setDojoComponentColorsController.ts";
|
|
|
|
|
import { setDojoComponentMessageController } from "../controllers/api/setDojoComponentMessageController.ts";
|
|
|
|
|
import { setDojoComponentSettingsController } from "../controllers/api/setDojoComponentSettingsController.ts";
|
|
|
|
|
import { setEquippedInstrumentController } from "../controllers/api/setEquippedInstrumentController.ts";
|
|
|
|
|
import { setFriendNoteController } from "../controllers/api/setFriendNoteController.ts";
|
|
|
|
|
import { setGuildMotdController } from "../controllers/api/setGuildMotdController.ts";
|
|
|
|
|
import { setHubNpcCustomizationsController } from "../controllers/api/setHubNpcCustomizationsController.ts";
|
|
|
|
|
import { setPlacedDecoInfoController } from "../controllers/api/setPlacedDecoInfoController.ts";
|
|
|
|
|
import { setShipCustomizationsController } from "../controllers/api/setShipCustomizationsController.ts";
|
|
|
|
|
import { setShipFavouriteLoadoutController } from "../controllers/api/setShipFavouriteLoadoutController.ts";
|
|
|
|
|
import { setShipVignetteController } from "../controllers/api/setShipVignetteController.ts";
|
|
|
|
|
import { setSuitInfectionController } from "../controllers/api/setSuitInfectionController.ts";
|
|
|
|
|
import { setSupportedSyndicateController } from "../controllers/api/setSupportedSyndicateController.ts";
|
|
|
|
|
import { setWeaponSkillTreeController } from "../controllers/api/setWeaponSkillTreeController.ts";
|
|
|
|
|
import { shipDecorationsController } from "../controllers/api/shipDecorationsController.ts";
|
|
|
|
|
import { startCollectibleEntryController } from "../controllers/api/startCollectibleEntryController.ts";
|
|
|
|
|
import { startDojoRecipeController } from "../controllers/api/startDojoRecipeController.ts";
|
|
|
|
|
import { startLibraryDailyTaskController } from "../controllers/api/startLibraryDailyTaskController.ts";
|
|
|
|
|
import { startLibraryPersonalTargetController } from "../controllers/api/startLibraryPersonalTargetController.ts";
|
|
|
|
|
import { startRecipeController } from "../controllers/api/startRecipeController.ts";
|
|
|
|
|
import { stepSequencersController } from "../controllers/api/stepSequencersController.ts";
|
|
|
|
|
import { surveysController } from "../controllers/api/surveysController.ts";
|
|
|
|
|
import { syndicateSacrificeController } from "../controllers/api/syndicateSacrificeController.ts";
|
|
|
|
|
import { syndicateStandingBonusController } from "../controllers/api/syndicateStandingBonusController.ts";
|
|
|
|
|
import { tauntHistoryController } from "../controllers/api/tauntHistoryController.ts";
|
|
|
|
|
import { tradingController } from "../controllers/api/tradingController.ts";
|
|
|
|
|
import { trainingResultController } from "../controllers/api/trainingResultController.ts";
|
|
|
|
|
import { umbraController } from "../controllers/api/umbraController.ts";
|
|
|
|
|
import { unlockShipFeatureController } from "../controllers/api/unlockShipFeatureController.ts";
|
|
|
|
|
import { updateAlignmentController } from "../controllers/api/updateAlignmentController.ts";
|
|
|
|
|
import { updateChallengeProgressController } from "../controllers/api/updateChallengeProgressController.ts";
|
|
|
|
|
import { updateQuestController } from "../controllers/api/updateQuestController.ts";
|
|
|
|
|
import { updateSessionGetController, updateSessionPostController } from "../controllers/api/updateSessionController.ts";
|
|
|
|
|
import { updateSongChallengeController } from "../controllers/api/updateSongChallengeController.ts";
|
|
|
|
|
import { updateThemeController } from "../controllers/api/updateThemeController.ts";
|
2025-08-28 05:50:13 -07:00
|
|
|
import { upgradeOperatorController } from "../controllers/api/upgradeOperatorController.ts";
|
2025-08-25 13:37:14 -07:00
|
|
|
import { upgradesController } from "../controllers/api/upgradesController.ts";
|
|
|
|
|
import { valenceSwapController } from "../controllers/api/valenceSwapController.ts";
|
|
|
|
|
import { wishlistController } from "../controllers/api/wishlistController.ts";
|
2023-05-19 15:22:48 -03:00
|
|
|
|
|
|
|
|
const apiRouter = express.Router();
|
|
|
|
|
|
|
|
|
|
// get
|
2025-02-25 17:31:52 -08:00
|
|
|
apiRouter.get("/abandonLibraryDailyTask.php", abandonLibraryDailyTaskController);
|
2025-03-06 07:19:01 -08:00
|
|
|
apiRouter.get("/abortDojoComponentDestruction.php", abortDojoComponentDestructionController);
|
2025-07-22 07:34:46 -07:00
|
|
|
apiRouter.get("/apartment.php", apartmentController);
|
2025-03-31 04:14:00 -07:00
|
|
|
apiRouter.get("/cancelGuildAdvertisement.php", cancelGuildAdvertisementController);
|
2025-04-10 07:15:27 -07:00
|
|
|
apiRouter.get("/changeDojoRoot.php", changeDojoRootController);
|
2025-03-12 07:59:29 -07:00
|
|
|
apiRouter.get("/changeGuildRank.php", changeGuildRankController);
|
2023-05-19 15:22:48 -03:00
|
|
|
apiRouter.get("/checkDailyMissionBonus.php", checkDailyMissionBonusController);
|
2025-02-25 17:31:52 -08:00
|
|
|
apiRouter.get("/claimLibraryDailyTaskReward.php", claimLibraryDailyTaskRewardController);
|
2025-04-25 11:53:34 -07:00
|
|
|
apiRouter.get("/completeCalendarEvent.php", completeCalendarEventController);
|
2025-04-03 19:04:21 -07:00
|
|
|
apiRouter.get("/confirmAllianceInvitation.php", confirmAllianceInvitationController);
|
2025-04-05 06:51:37 -07:00
|
|
|
apiRouter.get("/confirmGuildInvitation.php", confirmGuildInvitationGetController);
|
2025-01-04 01:04:58 +01:00
|
|
|
apiRouter.get("/credits.php", creditsController);
|
2025-04-03 19:04:21 -07:00
|
|
|
apiRouter.get("/declineAllianceInvite.php", declineAllianceInviteController);
|
2025-03-10 16:40:40 -07:00
|
|
|
apiRouter.get("/declineGuildInvite.php", declineGuildInviteController);
|
2024-06-18 02:07:30 +02:00
|
|
|
apiRouter.get("/deleteSession.php", deleteSessionController);
|
2025-04-04 06:03:12 -07:00
|
|
|
apiRouter.get("/divvyAllianceVault.php", divvyAllianceVaultController);
|
2024-06-18 02:07:30 +02:00
|
|
|
apiRouter.get("/dojo", dojoController);
|
2023-06-02 00:20:49 -03:00
|
|
|
apiRouter.get("/drones.php", dronesController);
|
2025-05-02 22:14:44 -07:00
|
|
|
apiRouter.get("/getAlliance.php", getAllianceController);
|
2024-06-18 02:07:30 +02:00
|
|
|
apiRouter.get("/getDailyDealStockLevels.php", getDailyDealStockLevelsController);
|
|
|
|
|
apiRouter.get("/getFriends.php", getFriendsController);
|
|
|
|
|
apiRouter.get("/getGuild.php", getGuildController);
|
2025-03-27 03:33:08 -07:00
|
|
|
apiRouter.get("/getGuildContributions.php", getGuildContributionsController);
|
2024-06-18 02:07:30 +02:00
|
|
|
apiRouter.get("/getGuildDojo.php", getGuildDojoController);
|
2025-08-15 08:14:36 -07:00
|
|
|
apiRouter.get("/getGuildEventScore.php", getGuildEventScoreController);
|
2024-06-18 02:07:30 +02:00
|
|
|
apiRouter.get("/getGuildLog.php", getGuildLogController);
|
2023-05-19 15:22:48 -03:00
|
|
|
apiRouter.get("/getIgnoredUsers.php", getIgnoredUsersController);
|
2025-05-07 20:14:21 -07:00
|
|
|
apiRouter.get("/getMessages.php", inboxController); // unsure if this is correct, but needed for U17
|
2023-05-19 15:22:48 -03:00
|
|
|
apiRouter.get("/getNewRewardSeed.php", getNewRewardSeedController);
|
2025-08-08 04:21:18 -07:00
|
|
|
apiRouter.get("/getPastWeeklyChallenges.php", getPastWeeklyChallengesController)
|
2024-06-18 02:07:30 +02:00
|
|
|
apiRouter.get("/getShip.php", getShipController);
|
2025-05-10 19:12:17 -07:00
|
|
|
apiRouter.get("/getShipDecos.php", (_req, res) => { res.end(); }); // needed to log in on U22.8
|
2024-06-20 13:29:48 +02:00
|
|
|
apiRouter.get("/getVendorInfo.php", getVendorInfoController);
|
2023-06-01 17:08:05 -07:00
|
|
|
apiRouter.get("/hub", hubController);
|
2024-06-18 02:07:30 +02:00
|
|
|
apiRouter.get("/hubInstances", hubInstancesController);
|
|
|
|
|
apiRouter.get("/inbox.php", inboxController);
|
|
|
|
|
apiRouter.get("/inventory.php", inventoryController);
|
|
|
|
|
apiRouter.get("/loginRewards.php", loginRewardsController);
|
2023-06-01 17:08:05 -07:00
|
|
|
apiRouter.get("/logout.php", logoutController);
|
2024-06-18 02:07:30 +02:00
|
|
|
apiRouter.get("/marketRecommendations.php", marketRecommendationsController);
|
|
|
|
|
apiRouter.get("/marketSearchRecommendations.php", marketRecommendationsController);
|
|
|
|
|
apiRouter.get("/modularWeaponSale.php", modularWeaponSaleController);
|
2025-04-12 06:14:46 -07:00
|
|
|
apiRouter.get("/playedParkourTutorial.php", playedParkourTutorialController);
|
2025-05-04 17:30:48 -07:00
|
|
|
apiRouter.get("/questControl.php", questControlController);
|
2024-06-18 02:07:30 +02:00
|
|
|
apiRouter.get("/queueDojoComponentDestruction.php", queueDojoComponentDestructionController);
|
2025-05-07 20:14:21 -07:00
|
|
|
apiRouter.get("/removeFriend.php", removeFriendGetController);
|
2025-04-04 15:18:10 -07:00
|
|
|
apiRouter.get("/removeFromAlliance.php", removeFromAllianceController);
|
2025-07-10 20:59:39 -07:00
|
|
|
apiRouter.get("/resetQuestProgress.php", resetQuestProgressController);
|
2024-06-18 02:07:30 +02:00
|
|
|
apiRouter.get("/setActiveQuest.php", setActiveQuestController);
|
2024-02-18 13:58:43 +01:00
|
|
|
apiRouter.get("/setActiveShip.php", setActiveShipController);
|
2025-04-05 06:51:54 -07:00
|
|
|
apiRouter.get("/setAllianceGuildPermissions.php", setAllianceGuildPermissionsController);
|
2024-06-18 02:07:30 +02:00
|
|
|
apiRouter.get("/setBootLocation.php", setBootLocationController);
|
2025-04-12 06:14:02 -07:00
|
|
|
apiRouter.get("/setDojoURL", setDojoURLController);
|
2025-03-09 07:47:32 -07:00
|
|
|
apiRouter.get("/setGuildMotd.php", setGuildMotdController);
|
2024-05-06 15:38:10 +02:00
|
|
|
apiRouter.get("/setSupportedSyndicate.php", setSupportedSyndicateController);
|
2025-02-25 17:31:52 -08:00
|
|
|
apiRouter.get("/startLibraryDailyTask.php", startLibraryDailyTaskController);
|
2025-01-31 17:03:00 +01:00
|
|
|
apiRouter.get("/startLibraryPersonalTarget.php", startLibraryPersonalTargetController);
|
2024-06-18 02:07:30 +02:00
|
|
|
apiRouter.get("/surveys.php", surveysController);
|
2025-03-15 03:21:40 -07:00
|
|
|
apiRouter.get("/trading.php", tradingController);
|
2024-06-18 02:07:30 +02:00
|
|
|
apiRouter.get("/updateSession.php", updateSessionGetController);
|
2025-08-28 05:50:13 -07:00
|
|
|
apiRouter.get("/upgradeOperator.php", upgradeOperatorController);
|
2023-05-19 15:22:48 -03:00
|
|
|
|
|
|
|
|
// post
|
2025-03-03 12:48:39 -08:00
|
|
|
apiRouter.post("/abortDojoComponent.php", abortDojoComponentController);
|
2025-01-06 05:35:57 +01:00
|
|
|
apiRouter.post("/activateRandomMod.php", activateRandomModController);
|
2025-05-07 20:14:21 -07:00
|
|
|
apiRouter.post("/addFriend.php", addFriendController);
|
2024-06-18 02:07:30 +02:00
|
|
|
apiRouter.post("/addFriendImage.php", addFriendImageController);
|
2025-04-18 11:16:43 -07:00
|
|
|
apiRouter.post("/addIgnoredUser.php", addIgnoredUserController);
|
2025-05-07 20:14:21 -07:00
|
|
|
apiRouter.post("/addPendingFriend.php", addPendingFriendController);
|
2025-04-03 19:04:21 -07:00
|
|
|
apiRouter.post("/addToAlliance.php", addToAllianceController);
|
2025-03-10 16:40:40 -07:00
|
|
|
apiRouter.post("/addToGuild.php", addToGuildController);
|
2025-06-07 16:45:50 -07:00
|
|
|
apiRouter.post("/adoptPet.php", adoptPetController);
|
2024-10-06 17:43:43 +02:00
|
|
|
apiRouter.post("/arcaneCommon.php", arcaneCommonController);
|
2025-01-17 05:09:25 +01:00
|
|
|
apiRouter.post("/archonFusion.php", archonFusionController);
|
2023-09-06 14:02:54 +04:00
|
|
|
apiRouter.post("/artifacts.php", artifactsController);
|
2025-03-08 04:34:41 -08:00
|
|
|
apiRouter.post("/artifactTransmutation.php", artifactTransmutationController);
|
2025-02-12 14:06:48 -08:00
|
|
|
apiRouter.post("/changeDojoRoot.php", changeDojoRootController);
|
2024-06-18 02:07:30 +02:00
|
|
|
apiRouter.post("/claimCompletedRecipe.php", claimCompletedRecipeController);
|
2025-06-25 20:24:16 -07:00
|
|
|
apiRouter.post("/claimJunctionChallengeReward.php", claimJunctionChallengeRewardController);
|
2025-01-19 01:57:24 +01:00
|
|
|
apiRouter.post("/clearDialogueHistory.php", clearDialogueHistoryController);
|
2025-03-25 06:38:44 -07:00
|
|
|
apiRouter.post("/clearNewEpisodeReward.php", clearNewEpisodeRewardController);
|
2025-05-06 07:37:30 -07:00
|
|
|
apiRouter.post("/commitStoryModeDecision.php", (_req, res) => { res.end(); }); // U14 (maybe wanna actually unlock the ship features?)
|
2025-02-23 03:55:15 -08:00
|
|
|
apiRouter.post("/completeRandomModChallenge.php", completeRandomModChallengeController);
|
2025-04-05 06:51:37 -07:00
|
|
|
apiRouter.post("/confirmGuildInvitation.php", confirmGuildInvitationPostController);
|
2025-03-08 01:44:30 -08:00
|
|
|
apiRouter.post("/contributeGuildClass.php", contributeGuildClassController);
|
2025-03-03 12:48:39 -08:00
|
|
|
apiRouter.post("/contributeToDojoComponent.php", contributeToDojoComponentController);
|
2025-03-06 21:24:25 -08:00
|
|
|
apiRouter.post("/contributeToVault.php", contributeToVaultController);
|
2025-04-02 04:59:21 -07:00
|
|
|
apiRouter.post("/createAlliance.php", createAllianceController);
|
2024-06-18 02:07:30 +02:00
|
|
|
apiRouter.post("/createGuild.php", createGuildController);
|
2025-04-19 09:06:20 -07:00
|
|
|
apiRouter.post("/crewMembers.php", crewMembersController);
|
2025-06-18 05:52:16 -07:00
|
|
|
apiRouter.post("/crewShipFusion.php", crewShipFusionController);
|
2025-04-16 06:31:00 -07:00
|
|
|
apiRouter.post("/crewShipIdentifySalvage.php", crewShipIdentifySalvageController);
|
2025-03-13 02:14:29 -07:00
|
|
|
apiRouter.post("/customizeGuildRanks.php", customizeGuildRanksController);
|
2025-03-25 15:12:09 -07:00
|
|
|
apiRouter.post("/customObstacleCourseLeaderboard.php", customObstacleCourseLeaderboardController);
|
2025-03-05 23:54:47 -08:00
|
|
|
apiRouter.post("/destroyDojoDeco.php", destroyDojoDecoController);
|
2025-03-04 10:33:38 -08:00
|
|
|
apiRouter.post("/dojoComponentRush.php", dojoComponentRushController);
|
2025-03-03 05:48:46 -08:00
|
|
|
apiRouter.post("/drones.php", dronesController);
|
2024-12-22 20:36:01 +01:00
|
|
|
apiRouter.post("/endlessXp.php", endlessXpController);
|
2025-03-23 05:06:31 -07:00
|
|
|
apiRouter.post("/entratiLabConquestMode.php", entratiLabConquestModeController);
|
2024-06-20 13:05:07 +02:00
|
|
|
apiRouter.post("/evolveWeapon.php", evolveWeaponController);
|
2023-05-19 15:22:48 -03:00
|
|
|
apiRouter.post("/findSessions.php", findSessionsController);
|
2024-12-30 19:48:20 +01:00
|
|
|
apiRouter.post("/fishmonger.php", fishmongerController);
|
2024-06-18 02:07:30 +02:00
|
|
|
apiRouter.post("/focus.php", focusController);
|
2025-10-09 23:02:00 -07:00
|
|
|
apiRouter.post("/forceRemoveItem.php", forceRemoveItemController);
|
2024-10-12 23:51:45 +02:00
|
|
|
apiRouter.post("/fusionTreasures.php", fusionTreasuresController);
|
2025-04-26 11:54:06 -07:00
|
|
|
apiRouter.post("/gardening.php", gardeningController);
|
2024-06-18 02:07:30 +02:00
|
|
|
apiRouter.post("/genericUpdate.php", genericUpdateController);
|
2023-05-19 15:22:48 -03:00
|
|
|
apiRouter.post("/getAlliance.php", getAllianceController);
|
2025-03-19 20:38:14 +01:00
|
|
|
apiRouter.post("/getFriends.php", getFriendsController);
|
2025-03-09 11:16:17 -07:00
|
|
|
apiRouter.post("/getGuildDojo.php", getGuildDojoController);
|
2025-05-03 17:24:40 -07:00
|
|
|
apiRouter.post("/getProfileViewingData.php", getProfileViewingDataPostController);
|
2025-01-06 05:35:36 +01:00
|
|
|
apiRouter.post("/getVoidProjectionRewards.php", getVoidProjectionRewardsController);
|
2025-03-27 12:57:44 -07:00
|
|
|
apiRouter.post("/gifting.php", giftingController);
|
2024-06-27 10:21:02 +02:00
|
|
|
apiRouter.post("/gildWeapon.php", gildWeaponController);
|
2025-01-24 14:13:21 +01:00
|
|
|
apiRouter.post("/giveKeyChainTriggeredItems.php", giveKeyChainTriggeredItemsController);
|
2025-01-31 17:24:42 +01:00
|
|
|
apiRouter.post("/giveKeyChainTriggeredMessage.php", giveKeyChainTriggeredMessageController);
|
|
|
|
|
apiRouter.post("/giveQuestKeyReward.php", giveQuestKeyRewardController);
|
2025-04-15 06:16:19 -07:00
|
|
|
apiRouter.post("/giveShipDecoAndLoreFragment.php", giveShipDecoAndLoreFragmentController);
|
2025-02-22 11:10:52 -08:00
|
|
|
apiRouter.post("/giveStartingGear.php", giveStartingGearController);
|
2024-06-18 02:07:30 +02:00
|
|
|
apiRouter.post("/guildTech.php", guildTechController);
|
2023-05-19 15:22:48 -03:00
|
|
|
apiRouter.post("/hostSession.php", hostSessionController);
|
2025-03-26 14:21:58 -07:00
|
|
|
apiRouter.post("/hubBlessing.php", hubBlessingController);
|
2024-06-18 13:02:29 +02:00
|
|
|
apiRouter.post("/infestedFoundry.php", infestedFoundryController);
|
2024-06-18 02:07:30 +02:00
|
|
|
apiRouter.post("/inventorySlots.php", inventorySlotsController);
|
|
|
|
|
apiRouter.post("/joinSession.php", joinSessionController);
|
|
|
|
|
apiRouter.post("/login.php", loginController);
|
2025-03-21 05:19:42 -07:00
|
|
|
apiRouter.post("/loginRewardsSelection.php", loginRewardsSelectionController);
|
2025-06-21 14:38:24 -07:00
|
|
|
apiRouter.post("/logout.php", logoutController); // from ~U16, don't know when they changed it to GET
|
2025-03-28 15:50:44 -07:00
|
|
|
apiRouter.post("/maturePet.php", maturePetController);
|
2023-06-02 00:20:49 -03:00
|
|
|
apiRouter.post("/missionInventoryUpdate.php", missionInventoryUpdateController);
|
2024-06-18 02:07:30 +02:00
|
|
|
apiRouter.post("/modularWeaponCrafting.php", modularWeaponCraftingController);
|
2025-03-17 05:10:44 -07:00
|
|
|
apiRouter.post("/modularWeaponSale.php", modularWeaponSaleController);
|
2024-06-18 02:07:30 +02:00
|
|
|
apiRouter.post("/nameWeapon.php", nameWeaponController);
|
2025-03-20 05:36:09 -07:00
|
|
|
apiRouter.post("/nemesis.php", nemesisController);
|
2025-03-05 23:54:47 -08:00
|
|
|
apiRouter.post("/placeDecoInComponent.php", placeDecoInComponentController);
|
2025-01-06 05:36:18 +01:00
|
|
|
apiRouter.post("/playerSkills.php", playerSkillsController);
|
2025-03-31 04:14:00 -07:00
|
|
|
apiRouter.post("/postGuildAdvertisement.php", postGuildAdvertisementController);
|
2024-07-03 12:33:44 +02:00
|
|
|
apiRouter.post("/projectionManager.php", projectionManagerController);
|
2024-06-18 02:07:30 +02:00
|
|
|
apiRouter.post("/purchase.php", purchaseController);
|
2025-05-05 18:09:03 -07:00
|
|
|
apiRouter.post("/questControl.php", questControlController); // U17
|
2025-03-24 01:38:08 -07:00
|
|
|
apiRouter.post("/redeemPromoCode.php", redeemPromoCodeController);
|
2025-04-01 02:29:05 -07:00
|
|
|
apiRouter.post("/releasePet.php", releasePetController);
|
2025-05-09 21:37:09 -07:00
|
|
|
apiRouter.post("/removeFriend.php", removeFriendPostController);
|
2025-03-10 16:40:40 -07:00
|
|
|
apiRouter.post("/removeFromGuild.php", removeFromGuildController);
|
2025-04-18 11:16:43 -07:00
|
|
|
apiRouter.post("/removeIgnoredUser.php", removeIgnoredUserController);
|
2025-05-30 11:42:45 -07:00
|
|
|
apiRouter.post("/renamePet.php", renamePetController);
|
2023-06-02 00:20:49 -03:00
|
|
|
apiRouter.post("/rerollRandomMod.php", rerollRandomModController);
|
2025-03-28 03:08:22 -07:00
|
|
|
apiRouter.post("/retrievePetFromStasis.php", retrievePetFromStasisController);
|
2025-01-19 01:57:24 +01:00
|
|
|
apiRouter.post("/saveDialogue.php", saveDialogueController);
|
2023-06-14 02:26:19 +02:00
|
|
|
apiRouter.post("/saveLoadout.php", saveLoadoutController);
|
2025-02-23 05:00:41 +01:00
|
|
|
apiRouter.post("/saveSettings.php", saveSettingsController);
|
2025-04-03 10:39:16 -07:00
|
|
|
apiRouter.post("/saveVaultAutoContribute.php", saveVaultAutoContributeController);
|
2024-06-18 02:07:30 +02:00
|
|
|
apiRouter.post("/sell.php", sellController);
|
2025-04-12 06:15:03 -07:00
|
|
|
apiRouter.post("/sendMsgToInBox.php", sendMsgToInBoxController);
|
2025-04-07 05:30:00 -07:00
|
|
|
apiRouter.post("/setDojoComponentColors.php", setDojoComponentColorsController);
|
2025-02-11 20:11:31 -08:00
|
|
|
apiRouter.post("/setDojoComponentMessage.php", setDojoComponentMessageController);
|
2025-04-08 03:06:06 -07:00
|
|
|
apiRouter.post("/setDojoComponentSettings.php", setDojoComponentSettingsController);
|
2025-01-11 12:54:32 +01:00
|
|
|
apiRouter.post("/setEquippedInstrument.php", setEquippedInstrumentController);
|
2025-05-07 20:14:21 -07:00
|
|
|
apiRouter.post("/setFriendNote.php", setFriendNoteController);
|
2025-03-09 07:47:32 -07:00
|
|
|
apiRouter.post("/setGuildMotd.php", setGuildMotdController);
|
2025-04-21 10:44:12 -07:00
|
|
|
apiRouter.post("/setHubNpcCustomizations.php", setHubNpcCustomizationsController);
|
2024-10-18 16:54:49 +02:00
|
|
|
apiRouter.post("/setPlacedDecoInfo.php", setPlacedDecoInfoController);
|
2024-06-18 02:07:30 +02:00
|
|
|
apiRouter.post("/setShipCustomizations.php", setShipCustomizationsController);
|
2024-12-30 19:48:43 +01:00
|
|
|
apiRouter.post("/setShipFavouriteLoadout.php", setShipFavouriteLoadoutController);
|
2025-04-14 07:16:25 -07:00
|
|
|
apiRouter.post("/setShipVignette.php", setShipVignetteController);
|
2025-06-17 05:01:21 -07:00
|
|
|
apiRouter.post("/setSuitInfection.php", setSuitInfectionController);
|
2024-06-20 13:05:07 +02:00
|
|
|
apiRouter.post("/setWeaponSkillTree.php", setWeaponSkillTreeController);
|
2024-06-18 02:07:30 +02:00
|
|
|
apiRouter.post("/shipDecorations.php", shipDecorationsController);
|
2025-02-28 18:09:37 -08:00
|
|
|
apiRouter.post("/startCollectibleEntry.php", startCollectibleEntryController);
|
2024-06-18 02:07:30 +02:00
|
|
|
apiRouter.post("/startDojoRecipe.php", startDojoRecipeController);
|
|
|
|
|
apiRouter.post("/startRecipe.php", startRecipeController);
|
2024-06-19 10:33:56 +02:00
|
|
|
apiRouter.post("/stepSequencers.php", stepSequencersController);
|
2024-06-18 02:07:30 +02:00
|
|
|
apiRouter.post("/syndicateSacrifice.php", syndicateSacrificeController);
|
2024-12-22 20:37:02 +01:00
|
|
|
apiRouter.post("/syndicateStandingBonus.php", syndicateStandingBonusController);
|
2024-07-01 12:27:33 +02:00
|
|
|
apiRouter.post("/tauntHistory.php", tauntHistoryController);
|
2023-09-11 13:20:07 +02:00
|
|
|
apiRouter.post("/trainingResult.php", trainingResultController);
|
2025-06-17 05:02:11 -07:00
|
|
|
apiRouter.post("/umbra.php", umbraController);
|
2025-01-24 14:13:21 +01:00
|
|
|
apiRouter.post("/unlockShipFeature.php", unlockShipFeatureController);
|
2025-02-28 12:36:49 -08:00
|
|
|
apiRouter.post("/updateAlignment.php", updateAlignmentController);
|
2024-06-18 02:07:30 +02:00
|
|
|
apiRouter.post("/updateChallengeProgress.php", updateChallengeProgressController);
|
2025-05-02 22:14:44 -07:00
|
|
|
apiRouter.post("/updateInventory.php", missionInventoryUpdateController); // U26 and below
|
2024-08-14 15:14:59 +02:00
|
|
|
apiRouter.post("/updateNodeIntros.php", genericUpdateController);
|
2025-02-12 00:22:05 +01:00
|
|
|
apiRouter.post("/updateQuest.php", updateQuestController);
|
2024-06-18 02:07:30 +02:00
|
|
|
apiRouter.post("/updateSession.php", updateSessionPostController);
|
2025-02-28 18:18:33 -08:00
|
|
|
apiRouter.post("/updateSongChallenge.php", updateSongChallengeController);
|
2024-04-04 01:55:51 +03:00
|
|
|
apiRouter.post("/updateTheme.php", updateThemeController);
|
2024-05-06 15:08:56 +02:00
|
|
|
apiRouter.post("/upgrades.php", upgradesController);
|
2025-03-20 09:50:33 -07:00
|
|
|
apiRouter.post("/valenceSwap.php", valenceSwapController);
|
2025-03-23 05:06:06 -07:00
|
|
|
apiRouter.post("/wishlist.php", wishlistController);
|
2023-09-11 13:20:07 +02:00
|
|
|
|
2023-05-19 15:22:48 -03:00
|
|
|
export { apiRouter };
|