maplestory-openapi 2.13.1 → 3.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/README.md +37 -6
- package/dist/cjs/_virtual/_commonjsHelpers.js +7 -0
- package/dist/cjs/_virtual/index.js_commonjs-exports.js +7 -0
- package/dist/cjs/_virtual/index.js_commonjs-exports2.js +7 -0
- package/dist/cjs/_virtual/index.js_commonjs-exports3.js +7 -0
- package/dist/cjs/_virtual/timezone.js_commonjs-module.js +7 -0
- package/dist/cjs/_virtual/utc.js_commonjs-module.js +7 -0
- package/dist/cjs/index.js +133 -0
- package/dist/cjs/maplestory/api/common/dto/character/character.js +8 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterAbility.js +14 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterAndroidEquipment.js +29 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterBasic.js +14 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterBeautyEquipment.js +17 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterCashItemEquipment.js +17 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterDojang.js +8 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterHexaMatrix.js +14 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterHexaMatrixStat.js +11 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterHyperStat.js +11 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterImage.js +8 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterItemEquipment.js +38 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterLinkSkill.js +11 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterList.js +14 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterPetEquipment.js +17 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterPopularity.js +8 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterPropensity.js +8 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterSetEffect.js +17 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterSkill.js +11 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterStat.js +11 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterSymbolEquipment.js +11 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterVMatrix.js +11 -0
- package/dist/cjs/maplestory/api/common/dto/guild/guild.js +8 -0
- package/dist/cjs/maplestory/api/common/dto/guild/guildBasic.js +11 -0
- package/dist/cjs/maplestory/api/common/dto/union/union.js +8 -0
- package/dist/cjs/maplestory/api/common/dto/union/unionArtifact.js +14 -0
- package/dist/cjs/maplestory/api/common/dto/union/unionRaider.js +23 -0
- package/dist/cjs/maplestory/api/common/enum/characterImage.js +94 -0
- package/dist/cjs/maplestory/api/common/enum/potentialOptionGrade.js +11 -0
- package/dist/cjs/maplestory/api/common/lib.js +26 -0
- package/dist/cjs/maplestory/api/common/mapleStoryApi.js +121 -0
- package/dist/cjs/maplestory/api/common/mapleStoryApiError.js +50 -0
- package/dist/cjs/maplestory/api/kms/dto/character/character.js +22 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterAbility.js +108 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterAndroidEquipment.js +418 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterBasic.js +99 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterBeautyEquipment.js +172 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterCashItemEquipment.js +228 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterDojang.js +49 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterHexaMatrix.js +73 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterHexaMatrixStat.js +113 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterHyperStat.js +97 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterImage.js +81 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterItemEquipment.js +1173 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterLinkSkill.js +115 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterList.js +77 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterPetEquipment.js +332 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterPopularity.js +27 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterPropensity.js +52 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterSetEffect.js +97 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterSkill.js +77 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterStat.js +57 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterSymbolEquipment.js +119 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterVMatrix.js +88 -0
- package/dist/cjs/maplestory/api/kms/dto/guild/guild.js +22 -0
- package/dist/cjs/maplestory/api/kms/dto/guild/guildBasic.js +107 -0
- package/dist/cjs/maplestory/api/kms/dto/history/cubeHistory.js +165 -0
- package/dist/cjs/maplestory/api/kms/dto/history/potentialHistory.js +160 -0
- package/dist/cjs/maplestory/api/kms/dto/history/starforceHistory.js +159 -0
- package/dist/cjs/maplestory/api/kms/dto/inspectionInfo.js +34 -0
- package/dist/cjs/maplestory/api/kms/dto/notice/cashshopNoticeDetail.js +55 -0
- package/dist/cjs/maplestory/api/kms/dto/notice/cashshopNoticeList.js +69 -0
- package/dist/cjs/maplestory/api/kms/dto/notice/eventNoticeDetail.js +44 -0
- package/dist/cjs/maplestory/api/kms/dto/notice/eventNoticeList.js +58 -0
- package/dist/cjs/maplestory/api/kms/dto/notice/noticeDetail.js +34 -0
- package/dist/cjs/maplestory/api/kms/dto/notice/noticeList.js +48 -0
- package/dist/cjs/maplestory/api/kms/dto/notice/updateNoticeDetail.js +34 -0
- package/dist/cjs/maplestory/api/kms/dto/notice/updateNoticeList.js +48 -0
- package/dist/cjs/maplestory/api/kms/dto/ranking/achievementRanking.js +68 -0
- package/dist/cjs/maplestory/api/kms/dto/ranking/dojangRanking.js +73 -0
- package/dist/cjs/maplestory/api/kms/dto/ranking/guildRanking.js +68 -0
- package/dist/cjs/maplestory/api/kms/dto/ranking/overallRanking.js +78 -0
- package/dist/cjs/maplestory/api/kms/dto/ranking/theSeedRanking.js +73 -0
- package/dist/cjs/maplestory/api/kms/dto/ranking/unionRanking.js +68 -0
- package/dist/cjs/maplestory/api/kms/dto/union/union.js +47 -0
- package/dist/cjs/maplestory/api/kms/dto/union/unionArtifact.js +111 -0
- package/dist/cjs/maplestory/api/kms/dto/union/unionChampion.js +77 -0
- package/dist/cjs/maplestory/api/kms/dto/union/unionRaider.js +209 -0
- package/dist/cjs/maplestory/api/kms/kms.js +170 -0
- package/dist/cjs/maplestory/api/kms/mapleStoryApi.js +1321 -0
- package/dist/cjs/maplestory/api/msea/dto/character/character.js +22 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterAbility.js +108 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterAndroidEquipment.js +419 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterBasic.js +99 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterBeautyEquipment.js +172 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterCashItemEquipment.js +223 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterDojang.js +49 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterHexaMatrix.js +73 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterHexaMatrixStat.js +113 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterHyperStat.js +97 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterImage.js +81 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterItemEquipment.js +1112 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterLinkSkill.js +115 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterPetEquipment.js +332 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterPopularity.js +27 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterPropensity.js +52 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterSetEffect.js +97 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterSkill.js +77 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterStat.js +57 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterSymbolEquipment.js +119 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterVMatrix.js +88 -0
- package/dist/cjs/maplestory/api/msea/dto/guild/guild.js +22 -0
- package/dist/cjs/maplestory/api/msea/dto/guild/guildBasic.js +107 -0
- package/dist/cjs/maplestory/api/msea/dto/union/union.js +47 -0
- package/dist/cjs/maplestory/api/msea/dto/union/unionArtifact.js +111 -0
- package/dist/cjs/maplestory/api/msea/dto/union/unionRaider.js +214 -0
- package/dist/cjs/maplestory/api/msea/mapleStoryApi.js +802 -0
- package/dist/cjs/maplestory/api/msea/msea.js +109 -0
- package/dist/cjs/node_modules/base64-js/index.js +154 -0
- package/dist/cjs/node_modules/buffer/index.js +2116 -0
- package/dist/cjs/node_modules/dayjs/plugin/timezone.js +12 -0
- package/dist/cjs/node_modules/dayjs/plugin/utc.js +12 -0
- package/dist/cjs/node_modules/ieee754/index.js +92 -0
- package/dist/esm/_virtual/_commonjsHelpers.js +3 -0
- package/dist/esm/_virtual/index.js_commonjs-exports.js +3 -0
- package/dist/esm/_virtual/index.js_commonjs-exports2.js +3 -0
- package/dist/esm/_virtual/index.js_commonjs-exports3.js +3 -0
- package/dist/esm/_virtual/timezone.js_commonjs-module.js +3 -0
- package/dist/esm/_virtual/utc.js_commonjs-module.js +3 -0
- package/dist/esm/index.js +30 -0
- package/dist/esm/maplestory/api/common/dto/character/character.js +4 -0
- package/dist/esm/maplestory/api/common/dto/character/characterAbility.js +8 -0
- package/dist/esm/maplestory/api/common/dto/character/characterAndroidEquipment.js +18 -0
- package/dist/esm/maplestory/api/common/dto/character/characterBasic.js +10 -0
- package/dist/esm/maplestory/api/common/dto/character/characterBeautyEquipment.js +10 -0
- package/dist/esm/maplestory/api/common/dto/character/characterCashItemEquipment.js +10 -0
- package/dist/esm/maplestory/api/common/dto/character/characterDojang.js +4 -0
- package/dist/esm/maplestory/api/common/dto/character/characterHexaMatrix.js +8 -0
- package/dist/esm/maplestory/api/common/dto/character/characterHexaMatrixStat.js +6 -0
- package/dist/esm/maplestory/api/common/dto/character/characterHyperStat.js +6 -0
- package/dist/esm/maplestory/api/common/dto/character/characterImage.js +4 -0
- package/dist/esm/maplestory/api/common/dto/character/characterItemEquipment.js +24 -0
- package/dist/esm/maplestory/api/common/dto/character/characterLinkSkill.js +6 -0
- package/dist/esm/maplestory/api/common/dto/character/characterList.js +8 -0
- package/dist/esm/maplestory/api/common/dto/character/characterPetEquipment.js +10 -0
- package/dist/esm/maplestory/api/common/dto/character/characterPopularity.js +4 -0
- package/dist/esm/maplestory/api/common/dto/character/characterPropensity.js +4 -0
- package/dist/esm/maplestory/api/common/dto/character/characterSetEffect.js +10 -0
- package/dist/esm/maplestory/api/common/dto/character/characterSkill.js +6 -0
- package/dist/esm/maplestory/api/common/dto/character/characterStat.js +6 -0
- package/dist/esm/maplestory/api/common/dto/character/characterSymbolEquipment.js +6 -0
- package/dist/esm/maplestory/api/common/dto/character/characterVMatrix.js +6 -0
- package/dist/esm/maplestory/api/common/dto/guild/guild.js +4 -0
- package/dist/esm/maplestory/api/common/dto/guild/guildBasic.js +6 -0
- package/dist/esm/maplestory/api/common/dto/union/union.js +4 -0
- package/dist/esm/maplestory/api/common/dto/union/unionArtifact.js +8 -0
- package/dist/esm/maplestory/api/common/dto/union/unionRaider.js +14 -0
- package/dist/esm/maplestory/api/common/enum/characterImage.js +92 -0
- package/dist/esm/maplestory/api/common/enum/potentialOptionGrade.js +9 -0
- package/dist/esm/maplestory/api/common/lib.js +22 -0
- package/dist/esm/maplestory/api/common/mapleStoryApi.js +112 -0
- package/dist/esm/maplestory/api/common/mapleStoryApiError.js +46 -0
- package/dist/esm/maplestory/api/kms/dto/character/character.js +18 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterAbility.js +102 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterAndroidEquipment.js +407 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterBasic.js +95 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterBeautyEquipment.js +165 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterCashItemEquipment.js +221 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterDojang.js +45 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterHexaMatrix.js +67 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterHexaMatrixStat.js +108 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterHyperStat.js +92 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterImage.js +77 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterItemEquipment.js +1158 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterLinkSkill.js +110 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterList.js +71 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterPetEquipment.js +325 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterPopularity.js +23 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterPropensity.js +48 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterSetEffect.js +90 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterSkill.js +72 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterStat.js +52 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterSymbolEquipment.js +114 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterVMatrix.js +83 -0
- package/dist/esm/maplestory/api/kms/dto/guild/guild.js +18 -0
- package/dist/esm/maplestory/api/kms/dto/guild/guildBasic.js +102 -0
- package/dist/esm/maplestory/api/kms/dto/history/cubeHistory.js +159 -0
- package/dist/esm/maplestory/api/kms/dto/history/potentialHistory.js +154 -0
- package/dist/esm/maplestory/api/kms/dto/history/starforceHistory.js +153 -0
- package/dist/esm/maplestory/api/kms/dto/inspectionInfo.js +30 -0
- package/dist/esm/maplestory/api/kms/dto/notice/cashshopNoticeDetail.js +51 -0
- package/dist/esm/maplestory/api/kms/dto/notice/cashshopNoticeList.js +64 -0
- package/dist/esm/maplestory/api/kms/dto/notice/eventNoticeDetail.js +40 -0
- package/dist/esm/maplestory/api/kms/dto/notice/eventNoticeList.js +53 -0
- package/dist/esm/maplestory/api/kms/dto/notice/noticeDetail.js +30 -0
- package/dist/esm/maplestory/api/kms/dto/notice/noticeList.js +43 -0
- package/dist/esm/maplestory/api/kms/dto/notice/updateNoticeDetail.js +30 -0
- package/dist/esm/maplestory/api/kms/dto/notice/updateNoticeList.js +43 -0
- package/dist/esm/maplestory/api/kms/dto/ranking/achievementRanking.js +63 -0
- package/dist/esm/maplestory/api/kms/dto/ranking/dojangRanking.js +68 -0
- package/dist/esm/maplestory/api/kms/dto/ranking/guildRanking.js +63 -0
- package/dist/esm/maplestory/api/kms/dto/ranking/overallRanking.js +73 -0
- package/dist/esm/maplestory/api/kms/dto/ranking/theSeedRanking.js +68 -0
- package/dist/esm/maplestory/api/kms/dto/ranking/unionRanking.js +63 -0
- package/dist/esm/maplestory/api/kms/dto/union/union.js +43 -0
- package/dist/esm/maplestory/api/kms/dto/union/unionArtifact.js +105 -0
- package/dist/esm/maplestory/api/kms/dto/union/unionChampion.js +71 -0
- package/dist/esm/maplestory/api/kms/dto/union/unionRaider.js +200 -0
- package/dist/esm/maplestory/api/kms/kms.js +47 -0
- package/dist/esm/maplestory/api/kms/mapleStoryApi.js +1312 -0
- package/dist/esm/maplestory/api/msea/dto/character/character.js +18 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterAbility.js +102 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterAndroidEquipment.js +408 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterBasic.js +95 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterBeautyEquipment.js +165 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterCashItemEquipment.js +216 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterDojang.js +45 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterHexaMatrix.js +67 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterHexaMatrixStat.js +108 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterHyperStat.js +92 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterImage.js +77 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterItemEquipment.js +1098 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterLinkSkill.js +110 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterPetEquipment.js +325 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterPopularity.js +23 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterPropensity.js +48 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterSetEffect.js +90 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterSkill.js +72 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterStat.js +52 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterSymbolEquipment.js +114 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterVMatrix.js +83 -0
- package/dist/esm/maplestory/api/msea/dto/guild/guild.js +18 -0
- package/dist/esm/maplestory/api/msea/dto/guild/guildBasic.js +102 -0
- package/dist/esm/maplestory/api/msea/dto/union/union.js +43 -0
- package/dist/esm/maplestory/api/msea/dto/union/unionArtifact.js +105 -0
- package/dist/esm/maplestory/api/msea/dto/union/unionRaider.js +205 -0
- package/dist/esm/maplestory/api/msea/mapleStoryApi.js +794 -0
- package/dist/esm/maplestory/api/msea/msea.js +27 -0
- package/dist/esm/node_modules/base64-js/index.js +151 -0
- package/dist/esm/node_modules/buffer/index.js +2113 -0
- package/dist/esm/node_modules/dayjs/plugin/timezone.js +10 -0
- package/dist/esm/node_modules/dayjs/plugin/utc.js +10 -0
- package/dist/esm/node_modules/ieee754/index.js +89 -0
- package/dist/index.min.js +1 -10
- package/package.json +14 -3
- package/types/index.d.ts +30 -111
- package/types/maplestory/api/common/dto/character/character.d.ts +3 -0
- package/types/maplestory/api/common/dto/character/characterAbility.d.ts +19 -0
- package/types/maplestory/api/common/dto/character/characterAndroidEquipment.d.ts +77 -0
- package/types/maplestory/api/common/dto/character/characterBasic.d.ts +18 -0
- package/types/maplestory/api/common/dto/character/characterBeautyEquipment.d.ts +30 -0
- package/types/maplestory/api/common/dto/character/characterCashItemEquipment.d.ts +40 -0
- package/types/maplestory/api/common/dto/character/characterDojang.d.ts +8 -0
- package/types/maplestory/api/common/dto/character/characterHexaMatrix.d.ts +13 -0
- package/types/maplestory/api/common/dto/character/characterHexaMatrixStat.d.ts +20 -0
- package/types/maplestory/api/common/dto/character/characterHyperStat.d.ts +18 -0
- package/types/maplestory/api/common/dto/character/characterImage.d.ts +16 -0
- package/types/maplestory/api/common/dto/character/characterItemEquipment.d.ts +216 -0
- package/types/maplestory/api/common/dto/character/characterLinkSkill.d.ts +20 -0
- package/types/maplestory/api/common/dto/character/characterList.d.ts +14 -0
- package/types/maplestory/api/common/dto/character/characterPetEquipment.d.ts +59 -0
- package/types/maplestory/api/common/dto/character/characterPopularity.d.ts +4 -0
- package/types/maplestory/api/common/dto/character/characterPropensity.d.ts +9 -0
- package/types/maplestory/api/common/dto/character/characterSetEffect.d.ts +18 -0
- package/types/maplestory/api/common/dto/character/characterSkill.d.ts +14 -0
- package/types/maplestory/api/common/dto/character/characterStat.d.ts +10 -0
- package/types/maplestory/api/common/dto/character/characterSymbolEquipment.d.ts +22 -0
- package/types/maplestory/api/common/dto/character/characterVMatrix.d.ts +16 -0
- package/types/maplestory/api/common/dto/guild/guild.d.ts +3 -0
- package/types/maplestory/api/common/dto/guild/guildBasic.d.ts +20 -0
- package/types/maplestory/api/common/dto/union/union.d.ts +8 -0
- package/types/maplestory/api/common/dto/union/unionArtifact.d.ts +20 -0
- package/types/maplestory/api/common/dto/union/unionRaider.d.ts +38 -0
- package/types/maplestory/api/common/enum/characterImage.d.ts +87 -0
- package/types/maplestory/api/common/enum/potentialOptionGrade.d.ts +6 -0
- package/types/maplestory/api/common/lib.d.ts +7 -0
- package/types/maplestory/api/common/mapleStoryApi.d.ts +140 -0
- package/types/maplestory/api/{mapleStoryApiError.d.ts → common/mapleStoryApiError.d.ts} +3 -4
- package/types/maplestory/api/common/mapleStoryApiErrorBody.d.ts +6 -0
- package/types/maplestory/api/kms/dto/character/character.d.ts +12 -0
- package/types/maplestory/api/kms/dto/character/characterAbility.d.ts +72 -0
- package/types/maplestory/api/kms/dto/character/characterAndroidEquipment.d.ts +294 -0
- package/types/maplestory/api/{dto/character/characterBasicDto.d.ts → kms/dto/character/characterBasic.d.ts} +7 -4
- package/types/maplestory/api/kms/dto/character/characterBeautyEquipment.d.ts +117 -0
- package/types/maplestory/api/kms/dto/character/characterCashItemEquipment.d.ts +158 -0
- package/types/maplestory/api/{dto/character/characterDojangDto.d.ts → kms/dto/character/characterDojang.d.ts} +6 -6
- package/types/maplestory/api/kms/dto/character/characterHexaMatrix.d.ts +48 -0
- package/types/maplestory/api/kms/dto/character/characterHexaMatrixStat.d.ts +78 -0
- package/types/maplestory/api/{dto/character/characterHyperStatDto.d.ts → kms/dto/character/characterHyperStat.d.ts} +27 -6
- package/types/maplestory/api/kms/dto/character/characterImage.d.ts +74 -0
- package/types/maplestory/api/kms/dto/character/characterItemEquipment.d.ts +890 -0
- package/types/maplestory/api/{dto/character/characterLinkSkillDto.d.ts → kms/dto/character/characterLinkSkill.d.ts} +35 -6
- package/types/maplestory/api/kms/dto/character/characterList.d.ts +52 -0
- package/types/maplestory/api/{dto/character/characterPetEquipmentDto.d.ts → kms/dto/character/characterPetEquipment.d.ts} +79 -7
- package/types/maplestory/api/kms/dto/character/characterPopularity.d.ts +16 -0
- package/types/maplestory/api/{dto/character/characterPropensityDto.d.ts → kms/dto/character/characterPropensity.d.ts} +7 -4
- package/types/maplestory/api/kms/dto/character/characterSetEffect.d.ts +66 -0
- package/types/maplestory/api/kms/dto/character/characterSkill.d.ts +54 -0
- package/types/maplestory/api/kms/dto/character/characterStat.d.ts +38 -0
- package/types/maplestory/api/{dto/character/characterSymbolEquipmentInfoDto.d.ts → kms/dto/character/characterSymbolEquipment.d.ts} +22 -4
- package/types/maplestory/api/kms/dto/character/characterVMatrix.d.ts +62 -0
- package/types/maplestory/api/kms/dto/guild/guild.d.ts +12 -0
- package/types/maplestory/api/kms/dto/guild/guildBasic.d.ts +78 -0
- package/types/maplestory/api/{dto/history/cubeHistoryDto.d.ts → kms/dto/history/cubeHistory.d.ts} +37 -6
- package/types/maplestory/api/{dto/history/potentialHistoryDto.d.ts → kms/dto/history/potentialHistory.d.ts} +37 -6
- package/types/maplestory/api/{dto/history/starforceHistoryDto.d.ts → kms/dto/history/starforceHistory.d.ts} +47 -5
- package/types/maplestory/api/{dto/inspectionInfoDto.d.ts → kms/dto/inspectionInfo.d.ts} +1 -2
- package/types/maplestory/api/{dto/notice/cashshopNoticeDetailDto.d.ts → kms/dto/notice/cashshopNoticeDetail.d.ts} +3 -4
- package/types/maplestory/api/{dto/notice/cashshopNoticeListItemDto.d.ts → kms/dto/notice/cashshopNoticeList.d.ts} +13 -4
- package/types/maplestory/api/{dto/notice/eventNoticeDetailDto.d.ts → kms/dto/notice/eventNoticeDetail.d.ts} +3 -4
- package/types/maplestory/api/kms/dto/notice/eventNoticeList.d.ts +41 -0
- package/types/maplestory/api/{dto/notice/noticeDetailDto.d.ts → kms/dto/notice/noticeDetail.d.ts} +3 -4
- package/types/maplestory/api/kms/dto/notice/noticeList.d.ts +33 -0
- package/types/maplestory/api/{dto/notice/updateNoticeDetailDto.d.ts → kms/dto/notice/updateNoticeDetail.d.ts} +3 -4
- package/types/maplestory/api/kms/dto/notice/updateNoticeList.d.ts +33 -0
- package/types/maplestory/api/{dto/ranking/achievementRankingDto.d.ts → kms/dto/ranking/achievementRanking.d.ts} +13 -4
- package/types/maplestory/api/{dto/ranking/dojangRankingDto.d.ts → kms/dto/ranking/dojangRanking.d.ts} +13 -4
- package/types/maplestory/api/{dto/ranking/guildRankingDto.d.ts → kms/dto/ranking/guildRanking.d.ts} +13 -4
- package/types/maplestory/api/{dto/ranking/overallRankingDto.d.ts → kms/dto/ranking/overallRanking.d.ts} +13 -4
- package/types/maplestory/api/{dto/ranking/theSeedRankingDto.d.ts → kms/dto/ranking/theSeedRanking.d.ts} +13 -4
- package/types/maplestory/api/{dto/ranking/unionRankingDto.d.ts → kms/dto/ranking/unionRanking.d.ts} +13 -4
- package/types/maplestory/api/{dto/union/unionDto.d.ts → kms/dto/union/union.d.ts} +5 -5
- package/types/maplestory/api/kms/dto/union/unionArtifact.d.ts +76 -0
- package/types/maplestory/api/kms/dto/union/unionChampion.d.ts +55 -0
- package/types/maplestory/api/kms/dto/union/unionRaider.d.ts +142 -0
- package/types/maplestory/api/kms/index.d.ts +47 -0
- package/types/maplestory/api/{mapleStoryApi.d.ts → kms/mapleStoryApi.d.ts} +83 -78
- package/types/maplestory/api/kms/response/character/characterAbilityBody.d.ts +19 -0
- package/types/maplestory/api/{response/character/characterAndroidEquipmentDtoBody.d.ts → kms/response/character/characterAndroidEquipmentBody.d.ts} +20 -21
- package/types/maplestory/api/{response/character/characterBasicDtoBody.d.ts → kms/response/character/characterBasicBody.d.ts} +1 -2
- package/types/maplestory/api/kms/response/character/characterBeautyEquipmentBody.d.ts +30 -0
- package/types/maplestory/api/kms/response/character/characterBody.d.ts +3 -0
- package/types/maplestory/api/{response/character/characterCashItemEquipmentDtoBody.d.ts → kms/response/character/characterCashItemEquipmentBody.d.ts} +14 -15
- package/types/maplestory/api/{response/character/characterDojangDtoBody.d.ts → kms/response/character/characterDojangBody.d.ts} +1 -2
- package/types/maplestory/api/kms/response/character/characterHexaMatrixBody.d.ts +13 -0
- package/types/maplestory/api/kms/response/character/characterHexaMatrixStatBody.d.ts +20 -0
- package/types/maplestory/api/{response/character/characterHyperStatDtoBody.d.ts → kms/response/character/characterHyperStatBody.d.ts} +5 -6
- package/types/maplestory/api/{response/character/characterItemEquipmentDtoBody.d.ts → kms/response/character/characterItemEquipmentBody.d.ts} +33 -34
- package/types/maplestory/api/kms/response/character/characterLinkSkillBody.d.ts +20 -0
- package/types/maplestory/api/kms/response/character/characterListBody.d.ts +14 -0
- package/types/maplestory/api/{response/character/characterPetEquipmentDtoBody.d.ts → kms/response/character/characterPetEquipmentBody.d.ts} +11 -12
- package/types/maplestory/api/kms/response/character/characterPopularityBody.d.ts +4 -0
- package/types/maplestory/api/{response/character/characterPropensityDtoBody.d.ts → kms/response/character/characterPropensityBody.d.ts} +1 -2
- package/types/maplestory/api/kms/response/character/characterSetEffectBody.d.ts +18 -0
- package/types/maplestory/api/{response/character/characterSkillDtoBody.d.ts → kms/response/character/characterSkillBody.d.ts} +3 -4
- package/types/maplestory/api/kms/response/character/characterStatBody.d.ts +10 -0
- package/types/maplestory/api/{response/character/characterSymbolEquipmentDtoBody.d.ts → kms/response/character/characterSymbolEquipmentBody.d.ts} +3 -4
- package/types/maplestory/api/{response/character/characterVMatrixDtoBody.d.ts → kms/response/character/characterVMatrixBody.d.ts} +2 -3
- package/types/maplestory/api/{response/guild/guildBasicDtoBody.d.ts → kms/response/guild/guildBasicBody.d.ts} +4 -5
- package/types/maplestory/api/kms/response/guild/guildBody.d.ts +3 -0
- package/types/maplestory/api/kms/response/history/cubeHistoryBody.d.ts +29 -0
- package/types/maplestory/api/kms/response/history/potentialHistoryBody.d.ts +28 -0
- package/types/maplestory/api/{response/history/starforceHistoryDtoBody.d.ts → kms/response/history/starforceHistoryBody.d.ts} +14 -4
- package/types/maplestory/api/{response → kms/response}/inspectionInfoSoapBody.d.ts +1 -2
- package/types/maplestory/api/{response/notice/cashshopNoticeDetailDtoBody.d.ts → kms/response/notice/cashshopNoticeDetailBody.d.ts} +1 -2
- package/types/maplestory/api/kms/response/notice/cashshopNoticeListBody.d.ts +12 -0
- package/types/maplestory/api/{response/notice/eventNoticeDetailDtoBody.d.ts → kms/response/notice/eventNoticeDetailBody.d.ts} +1 -2
- package/types/maplestory/api/kms/response/notice/eventNoticeListBody.d.ts +11 -0
- package/types/maplestory/api/{response/notice/noticeDetailDtoBody.d.ts → kms/response/notice/noticeDetailBody.d.ts} +1 -2
- package/types/maplestory/api/kms/response/notice/noticeListBody.d.ts +9 -0
- package/types/maplestory/api/{response/notice/updateNoticeDetailDtoBody.d.ts → kms/response/notice/updateNoticeDetailBody.d.ts} +1 -2
- package/types/maplestory/api/kms/response/notice/updateNoticeListBody.d.ts +9 -0
- package/types/maplestory/api/kms/response/ranking/achievementRankingBody.d.ts +12 -0
- package/types/maplestory/api/kms/response/ranking/dojangRankingBody.d.ts +13 -0
- package/types/maplestory/api/kms/response/ranking/guildRankingBody.d.ts +12 -0
- package/types/maplestory/api/{response/ranking/overallRankingResponseDtoBody.d.ts → kms/response/ranking/overallRankingBody.d.ts} +3 -4
- package/types/maplestory/api/kms/response/ranking/rankingResponseBody.d.ts +6 -0
- package/types/maplestory/api/kms/response/ranking/theSeedRankingBody.d.ts +13 -0
- package/types/maplestory/api/kms/response/ranking/unionRankingBody.d.ts +12 -0
- package/types/maplestory/api/kms/response/union/unionArtifactBody.d.ts +19 -0
- package/types/maplestory/api/{response/union/unionDtoBody.d.ts → kms/response/union/unionBody.d.ts} +1 -2
- package/types/maplestory/api/kms/response/union/unionChampionBody.d.ts +15 -0
- package/types/maplestory/api/kms/response/union/unionRaiderBody.d.ts +38 -0
- package/types/maplestory/api/msea/dto/character/character.d.ts +12 -0
- package/types/maplestory/api/msea/dto/character/characterAbility.d.ts +72 -0
- package/types/maplestory/api/msea/dto/character/characterAndroidEquipment.d.ts +295 -0
- package/types/maplestory/api/msea/dto/character/characterBasic.d.ts +72 -0
- package/types/maplestory/api/msea/dto/character/characterBeautyEquipment.d.ts +117 -0
- package/types/maplestory/api/msea/dto/character/characterCashItemEquipment.d.ts +154 -0
- package/types/maplestory/api/msea/dto/character/characterDojang.d.ts +32 -0
- package/types/maplestory/api/msea/dto/character/characterHexaMatrix.d.ts +48 -0
- package/types/maplestory/api/msea/dto/character/characterHexaMatrixStat.d.ts +78 -0
- package/types/maplestory/api/msea/dto/character/characterHyperStat.d.ts +70 -0
- package/types/maplestory/api/msea/dto/character/characterImage.d.ts +74 -0
- package/types/maplestory/api/msea/dto/character/characterItemEquipment.d.ts +844 -0
- package/types/maplestory/api/msea/dto/character/characterLinkSkill.d.ts +78 -0
- package/types/maplestory/api/msea/dto/character/characterPetEquipment.d.ts +230 -0
- package/types/maplestory/api/msea/dto/character/characterPopularity.d.ts +16 -0
- package/types/maplestory/api/msea/dto/character/characterPropensity.d.ts +36 -0
- package/types/maplestory/api/msea/dto/character/characterSetEffect.d.ts +66 -0
- package/types/maplestory/api/msea/dto/character/characterSkill.d.ts +54 -0
- package/types/maplestory/api/msea/dto/character/characterStat.d.ts +38 -0
- package/types/maplestory/api/msea/dto/character/characterSymbolEquipment.d.ts +86 -0
- package/types/maplestory/api/msea/dto/character/characterVMatrix.d.ts +62 -0
- package/types/maplestory/api/msea/dto/guild/guild.d.ts +12 -0
- package/types/maplestory/api/msea/dto/guild/guildBasic.d.ts +78 -0
- package/types/maplestory/api/msea/dto/union/union.d.ts +32 -0
- package/types/maplestory/api/msea/dto/union/unionArtifact.d.ts +76 -0
- package/types/maplestory/api/msea/dto/union/unionRaider.d.ts +147 -0
- package/types/maplestory/api/msea/index.d.ts +27 -0
- package/types/maplestory/api/msea/mapleStoryApi.d.ts +364 -0
- package/types/maplestory/api/msea/response/character/characterAbilityBody.d.ts +19 -0
- package/types/maplestory/api/msea/response/character/characterAndroidEquipmentBody.d.ts +75 -0
- package/types/maplestory/api/msea/response/character/characterBasicBody.d.ts +16 -0
- package/types/maplestory/api/msea/response/character/characterBeautyEquipmentBody.d.ts +30 -0
- package/types/maplestory/api/msea/response/character/characterBody.d.ts +3 -0
- package/types/maplestory/api/msea/response/character/characterCashItemEquipmentBody.d.ts +38 -0
- package/types/maplestory/api/msea/response/character/characterDojangBody.d.ts +8 -0
- package/types/maplestory/api/msea/response/character/characterHexaMatrixBody.d.ts +13 -0
- package/types/maplestory/api/msea/response/character/characterHexaMatrixStatBody.d.ts +20 -0
- package/types/maplestory/api/msea/response/character/characterHyperStatBody.d.ts +18 -0
- package/types/maplestory/api/msea/response/character/characterItemEquipmentBody.d.ts +190 -0
- package/types/maplestory/api/msea/response/character/characterLinkSkillBody.d.ts +20 -0
- package/types/maplestory/api/msea/response/character/characterPetEquipmentBody.d.ts +56 -0
- package/types/maplestory/api/msea/response/character/characterPopularityBody.d.ts +4 -0
- package/types/maplestory/api/msea/response/character/characterPropensityBody.d.ts +9 -0
- package/types/maplestory/api/msea/response/character/characterSetEffectBody.d.ts +18 -0
- package/types/maplestory/api/msea/response/character/characterSkillBody.d.ts +14 -0
- package/types/maplestory/api/msea/response/character/characterStatBody.d.ts +10 -0
- package/types/maplestory/api/msea/response/character/characterSymbolEquipmentBody.d.ts +22 -0
- package/types/maplestory/api/msea/response/character/characterVMatrixBody.d.ts +16 -0
- package/types/maplestory/api/msea/response/guild/guildBasicBody.d.ts +20 -0
- package/types/maplestory/api/msea/response/guild/guildBody.d.ts +3 -0
- package/types/maplestory/api/msea/response/union/unionArtifactBody.d.ts +19 -0
- package/types/maplestory/api/msea/response/union/unionBody.d.ts +8 -0
- package/types/maplestory/api/msea/response/union/unionRaiderBody.d.ts +38 -0
- package/dist/index.js +0 -9120
- package/dist/index.mjs +0 -9002
- package/types/maplestory/api/dto/character/characterAbilityDto.d.ts +0 -42
- package/types/maplestory/api/dto/character/characterAbilityInfoDto.d.ts +0 -20
- package/types/maplestory/api/dto/character/characterAbilityPresetDto.d.ts +0 -17
- package/types/maplestory/api/dto/character/characterAndroidCashItemEquipmentColoringPrismDto.d.ts +0 -24
- package/types/maplestory/api/dto/character/characterAndroidCashItemEquipmentDto.d.ts +0 -58
- package/types/maplestory/api/dto/character/characterAndroidCashItemEquipmentOptionDto.d.ts +0 -16
- package/types/maplestory/api/dto/character/characterAndroidEquipmentDto.d.ts +0 -85
- package/types/maplestory/api/dto/character/characterAndroidEquipmentFaceDto.d.ts +0 -24
- package/types/maplestory/api/dto/character/characterAndroidEquipmentHairDto.d.ts +0 -24
- package/types/maplestory/api/dto/character/characterAndroidEquipmentPresetDto.d.ts +0 -59
- package/types/maplestory/api/dto/character/characterAndroidEquipmentSkinDto.d.ts +0 -28
- package/types/maplestory/api/dto/character/characterBeautyEquipmentDto.d.ts +0 -50
- package/types/maplestory/api/dto/character/characterBeautyEquipmentFaceDto.d.ts +0 -24
- package/types/maplestory/api/dto/character/characterBeautyEquipmentHairDto.d.ts +0 -24
- package/types/maplestory/api/dto/character/characterBeautyEquipmentSkinDto.d.ts +0 -28
- package/types/maplestory/api/dto/character/characterCashItemEquipmentColoringPrismDto.d.ts +0 -24
- package/types/maplestory/api/dto/character/characterCashItemEquipmentDto.d.ts +0 -61
- package/types/maplestory/api/dto/character/characterCashItemEquipmentOptionDto.d.ts +0 -16
- package/types/maplestory/api/dto/character/characterCashItemEquipmentPresetDto.d.ts +0 -66
- package/types/maplestory/api/dto/character/characterDto.d.ts +0 -12
- package/types/maplestory/api/dto/character/characterHexaMatrixDto.d.ts +0 -17
- package/types/maplestory/api/dto/character/characterHexaMatrixEquipmentDto.d.ts +0 -25
- package/types/maplestory/api/dto/character/characterHexaMatrixEquipmentLinkedSkillDto.d.ts +0 -12
- package/types/maplestory/api/dto/character/characterHexaMatrixStatCoreDto.d.ts +0 -40
- package/types/maplestory/api/dto/character/characterHexaMatrixStatDto.d.ts +0 -41
- package/types/maplestory/api/dto/character/characterHyperStatPresetDto.d.ts +0 -24
- package/types/maplestory/api/dto/character/characterImageDto.d.ts +0 -160
- package/types/maplestory/api/dto/character/characterItemEquipmentAddOptionDto.d.ts +0 -68
- package/types/maplestory/api/dto/character/characterItemEquipmentBaseOptionDto.d.ts +0 -76
- package/types/maplestory/api/dto/character/characterItemEquipmentDragonInfoDto.d.ts +0 -130
- package/types/maplestory/api/dto/character/characterItemEquipmentDto.d.ts +0 -61
- package/types/maplestory/api/dto/character/characterItemEquipmentEtcOptionDto.d.ts +0 -52
- package/types/maplestory/api/dto/character/characterItemEquipmentExceptionalOptionDto.d.ts +0 -44
- package/types/maplestory/api/dto/character/characterItemEquipmentInfoDto.d.ts +0 -162
- package/types/maplestory/api/dto/character/characterItemEquipmentMechanicInfoDto.d.ts +0 -130
- package/types/maplestory/api/dto/character/characterItemEquipmentMedalShapeDto.d.ts +0 -32
- package/types/maplestory/api/dto/character/characterItemEquipmentStarforceOptionDto.d.ts +0 -52
- package/types/maplestory/api/dto/character/characterItemEquipmentTitleDto.d.ts +0 -48
- package/types/maplestory/api/dto/character/characterItemEquipmentTotalOptionDto.d.ts +0 -80
- package/types/maplestory/api/dto/character/characterLinkSkillInfoDto.d.ts +0 -32
- package/types/maplestory/api/dto/character/characterListAccountCharacterDto.d.ts +0 -28
- package/types/maplestory/api/dto/character/characterListAccountDto.d.ts +0 -17
- package/types/maplestory/api/dto/character/characterListDto.d.ts +0 -13
- package/types/maplestory/api/dto/character/characterPetEquipmentAutoSkillDto.d.ts +0 -24
- package/types/maplestory/api/dto/character/characterPetEquipmentItemDto.d.ts +0 -41
- package/types/maplestory/api/dto/character/characterPetEquipmentItemOptionDto.d.ts +0 -16
- package/types/maplestory/api/dto/character/characterPopularityDto.d.ts +0 -16
- package/types/maplestory/api/dto/character/characterSetEffectDto.d.ts +0 -17
- package/types/maplestory/api/dto/character/characterSetEffectInfoDto.d.ts +0 -16
- package/types/maplestory/api/dto/character/characterSetEffectOptionFullDto.d.ts +0 -16
- package/types/maplestory/api/dto/character/characterSetEffectSetDto.d.ts +0 -26
- package/types/maplestory/api/dto/character/characterSkillDto.d.ts +0 -25
- package/types/maplestory/api/dto/character/characterSkillInfoDto.d.ts +0 -32
- package/types/maplestory/api/dto/character/characterStatDto.d.ts +0 -27
- package/types/maplestory/api/dto/character/characterSymbolEquipmentDto.d.ts +0 -21
- package/types/maplestory/api/dto/character/characterVMatrixCoreEquipmentDto.d.ts +0 -40
- package/types/maplestory/api/dto/character/characterVMatrixDto.d.ts +0 -25
- package/types/maplestory/api/dto/guild/guildBasicDto.d.ts +0 -53
- package/types/maplestory/api/dto/guild/guildDto.d.ts +0 -12
- package/types/maplestory/api/dto/guild/guildSkillDto.d.ts +0 -28
- package/types/maplestory/api/dto/history/cubeHistoryResponseDto.d.ts +0 -21
- package/types/maplestory/api/dto/history/cubeResultOptionDto.d.ts +0 -18
- package/types/maplestory/api/dto/history/potentialHistoryResponseDto.d.ts +0 -21
- package/types/maplestory/api/dto/history/potentialResultOptionDto.d.ts +0 -18
- package/types/maplestory/api/dto/history/starforceEventDto.d.ts +0 -28
- package/types/maplestory/api/dto/history/starforceHistoryResponseDto.d.ts +0 -21
- package/types/maplestory/api/dto/notice/cashshopNoticeListDto.d.ts +0 -13
- package/types/maplestory/api/dto/notice/eventNoticeListDto.d.ts +0 -13
- package/types/maplestory/api/dto/notice/eventNoticeListItemDto.d.ts +0 -32
- package/types/maplestory/api/dto/notice/noticeListDto.d.ts +0 -13
- package/types/maplestory/api/dto/notice/noticeListItemDto.d.ts +0 -24
- package/types/maplestory/api/dto/notice/updateNoticeListDto.d.ts +0 -13
- package/types/maplestory/api/dto/notice/updateNoticeListItemDto.d.ts +0 -24
- package/types/maplestory/api/dto/potentialOptionGrade.d.ts +0 -13
- package/types/maplestory/api/dto/ranking/achievementRankingResponseDto.d.ts +0 -13
- package/types/maplestory/api/dto/ranking/dojangRankingResponseDto.d.ts +0 -13
- package/types/maplestory/api/dto/ranking/guildRankingResponseDto.d.ts +0 -13
- package/types/maplestory/api/dto/ranking/overallRankingResponseDto.d.ts +0 -13
- package/types/maplestory/api/dto/ranking/theSeedRankingResponseDto.d.ts +0 -13
- package/types/maplestory/api/dto/ranking/unionRankingResponseDto.d.ts +0 -13
- package/types/maplestory/api/dto/union/unionArtifactCrystalDto.d.ts +0 -40
- package/types/maplestory/api/dto/union/unionArtifactDto.d.ts +0 -26
- package/types/maplestory/api/dto/union/unionArtifactEffectDto.d.ts +0 -16
- package/types/maplestory/api/dto/union/unionChampionBadgeInfoDto.d.ts +0 -12
- package/types/maplestory/api/dto/union/unionChampionDto.d.ts +0 -22
- package/types/maplestory/api/dto/union/unionChampionInfoDto.d.ts +0 -29
- package/types/maplestory/api/dto/union/unionRaiderBlockDto.d.ts +0 -30
- package/types/maplestory/api/dto/union/unionRaiderBlockPositionDto.d.ts +0 -16
- package/types/maplestory/api/dto/union/unionRaiderControlPointDto.d.ts +0 -16
- package/types/maplestory/api/dto/union/unionRaiderDto.d.ts +0 -52
- package/types/maplestory/api/dto/union/unionRaiderInnerStatDto.d.ts +0 -16
- package/types/maplestory/api/dto/union/unionRaiderPresetDto.d.ts +0 -26
- package/types/maplestory/api/response/character/characterAbilityDtoBody.d.ts +0 -20
- package/types/maplestory/api/response/character/characterBeautyEquipmentDtoBody.d.ts +0 -31
- package/types/maplestory/api/response/character/characterDtoBody.d.ts +0 -4
- package/types/maplestory/api/response/character/characterHexaMatrixDtoBody.d.ts +0 -14
- package/types/maplestory/api/response/character/characterHexaMatrixStatDtoBody.d.ts +0 -21
- package/types/maplestory/api/response/character/characterLinkSkillDtoBody.d.ts +0 -21
- package/types/maplestory/api/response/character/characterListDtoBody.d.ts +0 -15
- package/types/maplestory/api/response/character/characterPopularityDtoBody.d.ts +0 -5
- package/types/maplestory/api/response/character/characterSetEffectDtoBody.d.ts +0 -19
- package/types/maplestory/api/response/character/characterStatDtoBody.d.ts +0 -10
- package/types/maplestory/api/response/guild/guildDtoBody.d.ts +0 -4
- package/types/maplestory/api/response/history/cubeHistoryDtoBody.d.ts +0 -22
- package/types/maplestory/api/response/history/cubeHistoryResponseDtoBody.d.ts +0 -7
- package/types/maplestory/api/response/history/cubeResultOptionDtoBody.d.ts +0 -5
- package/types/maplestory/api/response/history/potentialHistoryResponseDtoBody.d.ts +0 -29
- package/types/maplestory/api/response/history/starforceEventDtoBody.d.ts +0 -8
- package/types/maplestory/api/response/history/starforceHistoryResponseDtoBody.d.ts +0 -7
- package/types/maplestory/api/response/notice/cashshopNoticeListDtoBody.d.ts +0 -13
- package/types/maplestory/api/response/notice/eventNoticeListDtoBody.d.ts +0 -12
- package/types/maplestory/api/response/notice/noticeListDtoBody.d.ts +0 -10
- package/types/maplestory/api/response/notice/updateNoticeListDtoBody.d.ts +0 -10
- package/types/maplestory/api/response/ranking/achievementRankingResponseDtoBody.d.ts +0 -13
- package/types/maplestory/api/response/ranking/dojangRankingResponseDtoBody.d.ts +0 -14
- package/types/maplestory/api/response/ranking/guildRankingResponseDtoBody.d.ts +0 -13
- package/types/maplestory/api/response/ranking/rankingResponseDtoBody.d.ts +0 -7
- package/types/maplestory/api/response/ranking/theSeedRankingResponseDtoBody.d.ts +0 -14
- package/types/maplestory/api/response/ranking/unionRankingResponseDtoBody.d.ts +0 -13
- package/types/maplestory/api/response/union/unionArtifactDtoBody.d.ts +0 -20
- package/types/maplestory/api/response/union/unionChampionDtoBody.d.ts +0 -16
- package/types/maplestory/api/response/union/unionRaiderDtoBody.d.ts +0 -39
|
@@ -0,0 +1,1312 @@
|
|
|
1
|
+
import axios from 'axios';
|
|
2
|
+
import '../../../node_modules/buffer/index.js';
|
|
3
|
+
import xml2js from 'xml2js';
|
|
4
|
+
import { CharacterDto } from './dto/character/character.js';
|
|
5
|
+
import { CharacterAbilityDto } from './dto/character/characterAbility.js';
|
|
6
|
+
import { CharacterAndroidEquipmentDto } from './dto/character/characterAndroidEquipment.js';
|
|
7
|
+
import { CharacterBasicDto } from './dto/character/characterBasic.js';
|
|
8
|
+
import { CharacterBeautyEquipmentDto } from './dto/character/characterBeautyEquipment.js';
|
|
9
|
+
import { CharacterCashItemEquipmentDto } from './dto/character/characterCashItemEquipment.js';
|
|
10
|
+
import { CharacterDojangDto } from './dto/character/characterDojang.js';
|
|
11
|
+
import { CharacterHexaMatrixDto } from './dto/character/characterHexaMatrix.js';
|
|
12
|
+
import { CharacterHexaMatrixStatDto } from './dto/character/characterHexaMatrixStat.js';
|
|
13
|
+
import { CharacterHyperStatDto } from './dto/character/characterHyperStat.js';
|
|
14
|
+
import { CharacterImageDto } from './dto/character/characterImage.js';
|
|
15
|
+
import { CharacterItemEquipmentDto } from './dto/character/characterItemEquipment.js';
|
|
16
|
+
import { CharacterLinkSkillDto } from './dto/character/characterLinkSkill.js';
|
|
17
|
+
import { CharacterListDto } from './dto/character/characterList.js';
|
|
18
|
+
import { CharacterPetEquipmentDto } from './dto/character/characterPetEquipment.js';
|
|
19
|
+
import { CharacterPopularityDto } from './dto/character/characterPopularity.js';
|
|
20
|
+
import { CharacterPropensityDto } from './dto/character/characterPropensity.js';
|
|
21
|
+
import { CharacterSetEffectDto } from './dto/character/characterSetEffect.js';
|
|
22
|
+
import { CharacterSkillDto } from './dto/character/characterSkill.js';
|
|
23
|
+
import { CharacterStatDto } from './dto/character/characterStat.js';
|
|
24
|
+
import { CharacterSymbolEquipmentDto } from './dto/character/characterSymbolEquipment.js';
|
|
25
|
+
import { CharacterVMatrixDto } from './dto/character/characterVMatrix.js';
|
|
26
|
+
import { GuildDto } from './dto/guild/guild.js';
|
|
27
|
+
import { GuildBasicDto } from './dto/guild/guildBasic.js';
|
|
28
|
+
import { CubeHistoryResponseDto } from './dto/history/cubeHistory.js';
|
|
29
|
+
import { PotentialHistoryResponseDto } from './dto/history/potentialHistory.js';
|
|
30
|
+
import { StarforceHistoryResponseDto } from './dto/history/starforceHistory.js';
|
|
31
|
+
import { InspectionInfoDto } from './dto/inspectionInfo.js';
|
|
32
|
+
import { CashshopNoticeDetailDto } from './dto/notice/cashshopNoticeDetail.js';
|
|
33
|
+
import { CashshopNoticeListDto } from './dto/notice/cashshopNoticeList.js';
|
|
34
|
+
import { EventNoticeDetailDto } from './dto/notice/eventNoticeDetail.js';
|
|
35
|
+
import { EventNoticeListDto } from './dto/notice/eventNoticeList.js';
|
|
36
|
+
import { NoticeDetailDto } from './dto/notice/noticeDetail.js';
|
|
37
|
+
import { NoticeListDto } from './dto/notice/noticeList.js';
|
|
38
|
+
import { UpdateNoticeDetailDto } from './dto/notice/updateNoticeDetail.js';
|
|
39
|
+
import { UpdateNoticeListDto } from './dto/notice/updateNoticeList.js';
|
|
40
|
+
import { AchievementRankingResponseDto } from './dto/ranking/achievementRanking.js';
|
|
41
|
+
import { DojangRankingResponseDto } from './dto/ranking/dojangRanking.js';
|
|
42
|
+
import { GuildRankingResponseDto } from './dto/ranking/guildRanking.js';
|
|
43
|
+
import { OverallRankingResponseDto } from './dto/ranking/overallRanking.js';
|
|
44
|
+
import { TheSeedRankingResponseDto } from './dto/ranking/theSeedRanking.js';
|
|
45
|
+
import { UnionRankingResponseDto } from './dto/ranking/unionRanking.js';
|
|
46
|
+
import { UnionDto } from './dto/union/union.js';
|
|
47
|
+
import { UnionArtifactDto } from './dto/union/unionArtifact.js';
|
|
48
|
+
import { UnionChampionDto } from './dto/union/unionChampion.js';
|
|
49
|
+
import { UnionRaiderDto } from './dto/union/unionRaider.js';
|
|
50
|
+
import { CharacterImageAction, CharacterImageEmotion, CharacterImageWeaponMotion } from '../common/enum/characterImage.js';
|
|
51
|
+
import { MapleStoryApi as MapleStoryApi$1 } from '../common/mapleStoryApi.js';
|
|
52
|
+
import { __exports as buffer } from '../../../_virtual/index.js_commonjs-exports.js';
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* MapleStory OpenAPI client for KMS.<br>
|
|
56
|
+
* This is an implementation of <a href="https://openapi.nexon.com/game/maplestory">MapleStory API</a>
|
|
57
|
+
*/
|
|
58
|
+
class MapleStoryApi extends MapleStoryApi$1 {
|
|
59
|
+
subUrl = 'maplestory';
|
|
60
|
+
timezoneOffset = 540;
|
|
61
|
+
constructor(apiKey) {
|
|
62
|
+
super(apiKey);
|
|
63
|
+
}
|
|
64
|
+
//#region 캐릭터 정보 조회
|
|
65
|
+
/**
|
|
66
|
+
* 캐릭터 식별자(ocid)를 조회합니다.
|
|
67
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
68
|
+
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
|
|
69
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
70
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
71
|
+
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
72
|
+
*
|
|
73
|
+
* @param characterName 캐릭터 명
|
|
74
|
+
*/
|
|
75
|
+
async getCharacter(characterName) {
|
|
76
|
+
const path = `${this.subUrl}/v1/id`;
|
|
77
|
+
const { data } = await this.client.get(path, {
|
|
78
|
+
params: {
|
|
79
|
+
character_name: characterName,
|
|
80
|
+
},
|
|
81
|
+
});
|
|
82
|
+
return new CharacterDto(data);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* 계정의 보유 캐릭터 목록을 조회합니다.
|
|
86
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
87
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
88
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
89
|
+
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
90
|
+
*/
|
|
91
|
+
async getCharacterList() {
|
|
92
|
+
const path = `${this.subUrl}/v1/character/list`;
|
|
93
|
+
const { data } = await this.client.get(path);
|
|
94
|
+
return new CharacterListDto(data);
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* 기본 정보를 조회합니다.
|
|
98
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
99
|
+
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
|
|
100
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
101
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
102
|
+
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
103
|
+
*
|
|
104
|
+
* @param ocid 캐릭터 식별자
|
|
105
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
106
|
+
*/
|
|
107
|
+
async getCharacterBasic(ocid, dateOptions) {
|
|
108
|
+
const path = `${this.subUrl}/v1/character/basic`;
|
|
109
|
+
const date = dateOptions
|
|
110
|
+
? this.toDateString(dateOptions, {
|
|
111
|
+
year: 2023,
|
|
112
|
+
month: 12,
|
|
113
|
+
day: 21,
|
|
114
|
+
})
|
|
115
|
+
: undefined;
|
|
116
|
+
const query = {
|
|
117
|
+
ocid: ocid,
|
|
118
|
+
date: date,
|
|
119
|
+
};
|
|
120
|
+
const { data } = await this.client.get(path, {
|
|
121
|
+
params: query,
|
|
122
|
+
});
|
|
123
|
+
return new CharacterBasicDto(data);
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* 캐릭터 외형 이미지 정보를 조회합니다.
|
|
127
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
128
|
+
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
|
|
129
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
130
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
131
|
+
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
132
|
+
*
|
|
133
|
+
* @param ocid 캐릭터 식별자
|
|
134
|
+
* @param imageOptions 캐릭터 외형 파라미터
|
|
135
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
136
|
+
*/
|
|
137
|
+
async getCharacterImage(ocid, imageOptions, dateOptions) {
|
|
138
|
+
const { date, characterImage: path } = await this.getCharacterBasic(ocid, dateOptions);
|
|
139
|
+
const action = imageOptions?.action ?? CharacterImageAction.Stand1;
|
|
140
|
+
const emotion = imageOptions?.emotion ?? CharacterImageEmotion.Default;
|
|
141
|
+
const wmotion = imageOptions?.wmotion ?? CharacterImageWeaponMotion.Default;
|
|
142
|
+
const actionFrame = imageOptions?.actionFrame ?? 0;
|
|
143
|
+
const emotionFrame = imageOptions?.emotionFrame ?? 0;
|
|
144
|
+
const width = 96;
|
|
145
|
+
const height = 96;
|
|
146
|
+
const x = imageOptions?.x ?? null;
|
|
147
|
+
const y = imageOptions?.y ?? null;
|
|
148
|
+
const query = {
|
|
149
|
+
action: `${action}.${actionFrame}`,
|
|
150
|
+
emotion: `${emotion}.${emotionFrame}`,
|
|
151
|
+
wmotion,
|
|
152
|
+
width,
|
|
153
|
+
height,
|
|
154
|
+
x,
|
|
155
|
+
y,
|
|
156
|
+
};
|
|
157
|
+
const urlImageToBase64 = async (path, query) => {
|
|
158
|
+
const { data, headers } = await axios.get(path, {
|
|
159
|
+
params: query,
|
|
160
|
+
responseType: 'arraybuffer',
|
|
161
|
+
});
|
|
162
|
+
const base64 = buffer.Buffer.from(data, 'binary').toString('base64');
|
|
163
|
+
const mimeType = headers['content-type'];
|
|
164
|
+
return `data:${mimeType};base64,${base64}`;
|
|
165
|
+
};
|
|
166
|
+
const [originImage, image] = await Promise.all([
|
|
167
|
+
urlImageToBase64(path),
|
|
168
|
+
urlImageToBase64(path, query),
|
|
169
|
+
]);
|
|
170
|
+
return new CharacterImageDto({
|
|
171
|
+
date,
|
|
172
|
+
originUrl: path,
|
|
173
|
+
originImage,
|
|
174
|
+
image,
|
|
175
|
+
action,
|
|
176
|
+
emotion,
|
|
177
|
+
wmotion,
|
|
178
|
+
actionFrame,
|
|
179
|
+
emotionFrame,
|
|
180
|
+
width,
|
|
181
|
+
height,
|
|
182
|
+
x,
|
|
183
|
+
y,
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* 인기도 정보를 조회합니다.
|
|
188
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
189
|
+
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
|
|
190
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
191
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
192
|
+
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
193
|
+
*
|
|
194
|
+
* @param ocid 캐릭터 식별자
|
|
195
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
196
|
+
*/
|
|
197
|
+
async getCharacterPopularity(ocid, dateOptions) {
|
|
198
|
+
const path = `${this.subUrl}/v1/character/popularity`;
|
|
199
|
+
const date = dateOptions
|
|
200
|
+
? this.toDateString(dateOptions, {
|
|
201
|
+
year: 2023,
|
|
202
|
+
month: 12,
|
|
203
|
+
day: 21,
|
|
204
|
+
})
|
|
205
|
+
: undefined;
|
|
206
|
+
const query = {
|
|
207
|
+
ocid: ocid,
|
|
208
|
+
date: date,
|
|
209
|
+
};
|
|
210
|
+
const { data } = await this.client.get(path, {
|
|
211
|
+
params: query,
|
|
212
|
+
});
|
|
213
|
+
return new CharacterPopularityDto(data);
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* 종합 능력치 정보를 조회합니다.
|
|
217
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
218
|
+
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
|
|
219
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
220
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
221
|
+
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
222
|
+
*
|
|
223
|
+
* @param ocid 캐릭터 식별자
|
|
224
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
225
|
+
*/
|
|
226
|
+
async getCharacterStat(ocid, dateOptions) {
|
|
227
|
+
const path = `${this.subUrl}/v1/character/stat`;
|
|
228
|
+
const date = dateOptions
|
|
229
|
+
? this.toDateString(dateOptions, {
|
|
230
|
+
year: 2023,
|
|
231
|
+
month: 12,
|
|
232
|
+
day: 21,
|
|
233
|
+
})
|
|
234
|
+
: undefined;
|
|
235
|
+
const query = {
|
|
236
|
+
ocid: ocid,
|
|
237
|
+
date: date,
|
|
238
|
+
};
|
|
239
|
+
const { data } = await this.client.get(path, {
|
|
240
|
+
params: query,
|
|
241
|
+
});
|
|
242
|
+
return new CharacterStatDto(data);
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* 하이퍼스탯 정보를 조회합니다.
|
|
246
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
247
|
+
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
|
|
248
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
249
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
250
|
+
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
251
|
+
*
|
|
252
|
+
* @param ocid 캐릭터 식별자
|
|
253
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
254
|
+
*/
|
|
255
|
+
async getCharacterHyperStat(ocid, dateOptions) {
|
|
256
|
+
const path = `${this.subUrl}/v1/character/hyper-stat`;
|
|
257
|
+
const date = dateOptions
|
|
258
|
+
? this.toDateString(dateOptions, {
|
|
259
|
+
year: 2023,
|
|
260
|
+
month: 12,
|
|
261
|
+
day: 21,
|
|
262
|
+
})
|
|
263
|
+
: undefined;
|
|
264
|
+
const query = {
|
|
265
|
+
ocid: ocid,
|
|
266
|
+
date: date,
|
|
267
|
+
};
|
|
268
|
+
const { data } = await this.client.get(path, {
|
|
269
|
+
params: query,
|
|
270
|
+
});
|
|
271
|
+
return new CharacterHyperStatDto(data);
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* 성향 정보를 조회합니다.
|
|
275
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
276
|
+
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
|
|
277
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
278
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
279
|
+
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
280
|
+
*
|
|
281
|
+
* @param ocid 캐릭터 식별자
|
|
282
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
283
|
+
*/
|
|
284
|
+
async getCharacterPropensity(ocid, dateOptions) {
|
|
285
|
+
const path = `${this.subUrl}/v1/character/propensity`;
|
|
286
|
+
const date = dateOptions
|
|
287
|
+
? this.toDateString(dateOptions, {
|
|
288
|
+
year: 2023,
|
|
289
|
+
month: 12,
|
|
290
|
+
day: 21,
|
|
291
|
+
})
|
|
292
|
+
: undefined;
|
|
293
|
+
const query = {
|
|
294
|
+
ocid: ocid,
|
|
295
|
+
date: date,
|
|
296
|
+
};
|
|
297
|
+
const { data } = await this.client.get(path, {
|
|
298
|
+
params: query,
|
|
299
|
+
});
|
|
300
|
+
return new CharacterPropensityDto(data);
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* 어빌리티 정보를 조회합니다.
|
|
304
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
305
|
+
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
|
|
306
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
307
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
308
|
+
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
309
|
+
*
|
|
310
|
+
* @param ocid 캐릭터 식별자
|
|
311
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
312
|
+
*/
|
|
313
|
+
async getCharacterAbility(ocid, dateOptions) {
|
|
314
|
+
const path = `${this.subUrl}/v1/character/ability`;
|
|
315
|
+
const date = dateOptions
|
|
316
|
+
? this.toDateString(dateOptions, {
|
|
317
|
+
year: 2023,
|
|
318
|
+
month: 12,
|
|
319
|
+
day: 21,
|
|
320
|
+
})
|
|
321
|
+
: undefined;
|
|
322
|
+
const query = {
|
|
323
|
+
ocid: ocid,
|
|
324
|
+
date: date,
|
|
325
|
+
};
|
|
326
|
+
const { data } = await this.client.get(path, {
|
|
327
|
+
params: query,
|
|
328
|
+
});
|
|
329
|
+
return new CharacterAbilityDto(data);
|
|
330
|
+
}
|
|
331
|
+
/**
|
|
332
|
+
* 장착한 장비 중 캐시 장비를 제외한 나머지 장비 정보를 조회합니다.
|
|
333
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
334
|
+
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
|
|
335
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
336
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
337
|
+
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
338
|
+
*
|
|
339
|
+
* @param ocid 캐릭터 식별자
|
|
340
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
341
|
+
*/
|
|
342
|
+
async getCharacterItemEquipment(ocid, dateOptions) {
|
|
343
|
+
const path = `${this.subUrl}/v1/character/item-equipment`;
|
|
344
|
+
const date = dateOptions
|
|
345
|
+
? this.toDateString(dateOptions, {
|
|
346
|
+
year: 2023,
|
|
347
|
+
month: 12,
|
|
348
|
+
day: 21,
|
|
349
|
+
})
|
|
350
|
+
: undefined;
|
|
351
|
+
const query = {
|
|
352
|
+
ocid: ocid,
|
|
353
|
+
date: date,
|
|
354
|
+
};
|
|
355
|
+
const { data } = await this.client.get(path, {
|
|
356
|
+
params: query,
|
|
357
|
+
});
|
|
358
|
+
return new CharacterItemEquipmentDto(data);
|
|
359
|
+
}
|
|
360
|
+
/**
|
|
361
|
+
* 장착한 캐시 장비 정보를 조회합니다.
|
|
362
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
363
|
+
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
|
|
364
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
365
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
366
|
+
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
367
|
+
*
|
|
368
|
+
* @param ocid 캐릭터 식별자
|
|
369
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
370
|
+
*/
|
|
371
|
+
async getCharacterCashItemEquipment(ocid, dateOptions) {
|
|
372
|
+
const path = `${this.subUrl}/v1/character/cashitem-equipment`;
|
|
373
|
+
const date = dateOptions
|
|
374
|
+
? this.toDateString(dateOptions, {
|
|
375
|
+
year: 2023,
|
|
376
|
+
month: 12,
|
|
377
|
+
day: 21,
|
|
378
|
+
})
|
|
379
|
+
: undefined;
|
|
380
|
+
const query = {
|
|
381
|
+
ocid: ocid,
|
|
382
|
+
date: date,
|
|
383
|
+
};
|
|
384
|
+
const { data } = await this.client.get(path, {
|
|
385
|
+
params: query,
|
|
386
|
+
});
|
|
387
|
+
return new CharacterCashItemEquipmentDto(data);
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* 장착한 심볼 정보를 조회합니다.
|
|
391
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
392
|
+
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
|
|
393
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
394
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
395
|
+
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
396
|
+
*
|
|
397
|
+
* @param ocid 캐릭터 식별자
|
|
398
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
399
|
+
*/
|
|
400
|
+
async getCharacterSymbolEquipment(ocid, dateOptions) {
|
|
401
|
+
const path = `${this.subUrl}/v1/character/symbol-equipment`;
|
|
402
|
+
const date = dateOptions
|
|
403
|
+
? this.toDateString(dateOptions, {
|
|
404
|
+
year: 2023,
|
|
405
|
+
month: 12,
|
|
406
|
+
day: 21,
|
|
407
|
+
})
|
|
408
|
+
: undefined;
|
|
409
|
+
const query = {
|
|
410
|
+
ocid: ocid,
|
|
411
|
+
date: date,
|
|
412
|
+
};
|
|
413
|
+
const { data } = await this.client.get(path, {
|
|
414
|
+
params: query,
|
|
415
|
+
});
|
|
416
|
+
return new CharacterSymbolEquipmentDto(data);
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* 적용받고 있는 세트 효과 정보를 조회합니다.
|
|
420
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
421
|
+
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
|
|
422
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
423
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
424
|
+
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
425
|
+
*
|
|
426
|
+
* @param ocid 캐릭터 식별자
|
|
427
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
428
|
+
*/
|
|
429
|
+
async getCharacterSetEffect(ocid, dateOptions) {
|
|
430
|
+
const path = `${this.subUrl}/v1/character/set-effect`;
|
|
431
|
+
const date = dateOptions
|
|
432
|
+
? this.toDateString(dateOptions, {
|
|
433
|
+
year: 2023,
|
|
434
|
+
month: 12,
|
|
435
|
+
day: 21,
|
|
436
|
+
})
|
|
437
|
+
: undefined;
|
|
438
|
+
const query = {
|
|
439
|
+
ocid: ocid,
|
|
440
|
+
date: date,
|
|
441
|
+
};
|
|
442
|
+
const { data } = await this.client.get(path, {
|
|
443
|
+
params: query,
|
|
444
|
+
});
|
|
445
|
+
return new CharacterSetEffectDto(data);
|
|
446
|
+
}
|
|
447
|
+
/**
|
|
448
|
+
* 장착 중인 헤어, 성형, 피부 정보를 조회합니다.
|
|
449
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
450
|
+
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
|
|
451
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
452
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
453
|
+
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
454
|
+
*
|
|
455
|
+
* @param ocid 캐릭터 식별자
|
|
456
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
457
|
+
*/
|
|
458
|
+
async getCharacterBeautyEquipment(ocid, dateOptions) {
|
|
459
|
+
const path = `${this.subUrl}/v1/character/beauty-equipment`;
|
|
460
|
+
const date = dateOptions
|
|
461
|
+
? this.toDateString(dateOptions, {
|
|
462
|
+
year: 2023,
|
|
463
|
+
month: 12,
|
|
464
|
+
day: 21,
|
|
465
|
+
})
|
|
466
|
+
: undefined;
|
|
467
|
+
const query = {
|
|
468
|
+
ocid: ocid,
|
|
469
|
+
date: date,
|
|
470
|
+
};
|
|
471
|
+
const { data } = await this.client.get(path, {
|
|
472
|
+
params: query,
|
|
473
|
+
});
|
|
474
|
+
return new CharacterBeautyEquipmentDto(data);
|
|
475
|
+
}
|
|
476
|
+
/**
|
|
477
|
+
* 장착한 안드로이드 정보를 조회합니다.
|
|
478
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
479
|
+
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
|
|
480
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
481
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
482
|
+
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
483
|
+
*
|
|
484
|
+
* @param ocid 캐릭터 식별자
|
|
485
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
486
|
+
*/
|
|
487
|
+
async getCharacterAndroidEquipment(ocid, dateOptions) {
|
|
488
|
+
const path = `${this.subUrl}/v1/character/android-equipment`;
|
|
489
|
+
const date = dateOptions
|
|
490
|
+
? this.toDateString(dateOptions, {
|
|
491
|
+
year: 2023,
|
|
492
|
+
month: 12,
|
|
493
|
+
day: 21,
|
|
494
|
+
})
|
|
495
|
+
: undefined;
|
|
496
|
+
const query = {
|
|
497
|
+
ocid: ocid,
|
|
498
|
+
date: date,
|
|
499
|
+
};
|
|
500
|
+
const { data } = await this.client.get(path, {
|
|
501
|
+
params: query,
|
|
502
|
+
});
|
|
503
|
+
return new CharacterAndroidEquipmentDto(data);
|
|
504
|
+
}
|
|
505
|
+
/**
|
|
506
|
+
* 장착한 펫 및 펫 스킬, 장비 정보를 조회합니다.
|
|
507
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
508
|
+
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
|
|
509
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
510
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
511
|
+
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
512
|
+
*
|
|
513
|
+
* @param ocid 캐릭터 식별자
|
|
514
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
515
|
+
*/
|
|
516
|
+
async getCharacterPetEquipment(ocid, dateOptions) {
|
|
517
|
+
const path = `${this.subUrl}/v1/character/pet-equipment`;
|
|
518
|
+
const date = dateOptions
|
|
519
|
+
? this.toDateString(dateOptions, {
|
|
520
|
+
year: 2023,
|
|
521
|
+
month: 12,
|
|
522
|
+
day: 21,
|
|
523
|
+
})
|
|
524
|
+
: undefined;
|
|
525
|
+
const query = {
|
|
526
|
+
ocid: ocid,
|
|
527
|
+
date: date,
|
|
528
|
+
};
|
|
529
|
+
const { data } = await this.client.get(path, {
|
|
530
|
+
params: query,
|
|
531
|
+
});
|
|
532
|
+
return new CharacterPetEquipmentDto(data);
|
|
533
|
+
}
|
|
534
|
+
/**
|
|
535
|
+
* 캐릭터 스킬과 하이퍼 스킬 정보를 조회합니다.
|
|
536
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
537
|
+
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
|
|
538
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
539
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
540
|
+
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
541
|
+
*
|
|
542
|
+
* @param ocid 캐릭터 식별자
|
|
543
|
+
* @param characterSkillGrade 조회하고자 하는 전직 차수 <a href="https://openapi.nexon.com/ko/game/maplestory/?id=14">Available values</a>
|
|
544
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
545
|
+
*/
|
|
546
|
+
async getCharacterSkill(ocid, characterSkillGrade, dateOptions) {
|
|
547
|
+
const path = `${this.subUrl}/v1/character/skill`;
|
|
548
|
+
const date = dateOptions
|
|
549
|
+
? this.toDateString(dateOptions, {
|
|
550
|
+
year: 2023,
|
|
551
|
+
month: 12,
|
|
552
|
+
day: 21,
|
|
553
|
+
})
|
|
554
|
+
: undefined;
|
|
555
|
+
const query = {
|
|
556
|
+
ocid: ocid,
|
|
557
|
+
character_skill_grade: characterSkillGrade,
|
|
558
|
+
date: date,
|
|
559
|
+
};
|
|
560
|
+
const { data } = await this.client.get(path, {
|
|
561
|
+
params: query,
|
|
562
|
+
});
|
|
563
|
+
return new CharacterSkillDto(data);
|
|
564
|
+
}
|
|
565
|
+
/**
|
|
566
|
+
* 장착 링크 스킬 정보를 조회합니다.
|
|
567
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
568
|
+
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
|
|
569
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
570
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
571
|
+
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
572
|
+
*
|
|
573
|
+
* @param ocid 캐릭터 식별자
|
|
574
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
575
|
+
*/
|
|
576
|
+
async getCharacterLinkSkill(ocid, dateOptions) {
|
|
577
|
+
const path = `${this.subUrl}/v1/character/link-skill`;
|
|
578
|
+
const date = dateOptions
|
|
579
|
+
? this.toDateString(dateOptions, {
|
|
580
|
+
year: 2023,
|
|
581
|
+
month: 12,
|
|
582
|
+
day: 21,
|
|
583
|
+
})
|
|
584
|
+
: undefined;
|
|
585
|
+
const query = {
|
|
586
|
+
ocid: ocid,
|
|
587
|
+
date: date,
|
|
588
|
+
};
|
|
589
|
+
const { data } = await this.client.get(path, {
|
|
590
|
+
params: query,
|
|
591
|
+
});
|
|
592
|
+
return new CharacterLinkSkillDto(data);
|
|
593
|
+
}
|
|
594
|
+
/**
|
|
595
|
+
* V매트릭스 슬롯 정보와 장착한 V코어 정보를 조회합니다.
|
|
596
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
597
|
+
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
|
|
598
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
599
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
600
|
+
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
601
|
+
*
|
|
602
|
+
* @param ocid 캐릭터 식별자
|
|
603
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
604
|
+
*/
|
|
605
|
+
async getCharacterVMatrix(ocid, dateOptions) {
|
|
606
|
+
const path = `${this.subUrl}/v1/character/vmatrix`;
|
|
607
|
+
const date = dateOptions
|
|
608
|
+
? this.toDateString(dateOptions, {
|
|
609
|
+
year: 2023,
|
|
610
|
+
month: 12,
|
|
611
|
+
day: 21,
|
|
612
|
+
})
|
|
613
|
+
: undefined;
|
|
614
|
+
const query = {
|
|
615
|
+
ocid: ocid,
|
|
616
|
+
date: date,
|
|
617
|
+
};
|
|
618
|
+
const { data } = await this.client.get(path, {
|
|
619
|
+
params: query,
|
|
620
|
+
});
|
|
621
|
+
return new CharacterVMatrixDto(data);
|
|
622
|
+
}
|
|
623
|
+
/**
|
|
624
|
+
* HEXA 매트릭스에 장착한 HEXA 코어 정보를 조회합니다.
|
|
625
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
626
|
+
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
|
|
627
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
628
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
629
|
+
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
630
|
+
*
|
|
631
|
+
* @param ocid 캐릭터 식별자
|
|
632
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
633
|
+
*/
|
|
634
|
+
async getCharacterHexaMatrix(ocid, dateOptions) {
|
|
635
|
+
const path = `${this.subUrl}/v1/character/hexamatrix`;
|
|
636
|
+
const date = dateOptions
|
|
637
|
+
? this.toDateString(dateOptions, {
|
|
638
|
+
year: 2023,
|
|
639
|
+
month: 12,
|
|
640
|
+
day: 21,
|
|
641
|
+
})
|
|
642
|
+
: undefined;
|
|
643
|
+
const query = {
|
|
644
|
+
ocid: ocid,
|
|
645
|
+
date: date,
|
|
646
|
+
};
|
|
647
|
+
const { data } = await this.client.get(path, {
|
|
648
|
+
params: query,
|
|
649
|
+
});
|
|
650
|
+
return new CharacterHexaMatrixDto(data);
|
|
651
|
+
}
|
|
652
|
+
/**
|
|
653
|
+
* HEXA 매트릭스에 설정한 HEXA 스탯 정보를 조회합니다.
|
|
654
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
655
|
+
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
|
|
656
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
657
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
658
|
+
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
659
|
+
*
|
|
660
|
+
* @param ocid 캐릭터 식별자
|
|
661
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
662
|
+
*/
|
|
663
|
+
async getCharacterHexaMatrixStat(ocid, dateOptions) {
|
|
664
|
+
const path = `${this.subUrl}/v1/character/hexamatrix-stat`;
|
|
665
|
+
const date = dateOptions
|
|
666
|
+
? this.toDateString(dateOptions, {
|
|
667
|
+
year: 2023,
|
|
668
|
+
month: 12,
|
|
669
|
+
day: 21,
|
|
670
|
+
})
|
|
671
|
+
: undefined;
|
|
672
|
+
const query = {
|
|
673
|
+
ocid: ocid,
|
|
674
|
+
date: date,
|
|
675
|
+
};
|
|
676
|
+
const { data } = await this.client.get(path, {
|
|
677
|
+
params: query,
|
|
678
|
+
});
|
|
679
|
+
return new CharacterHexaMatrixStatDto(data);
|
|
680
|
+
}
|
|
681
|
+
/**
|
|
682
|
+
* 캐릭터 무릉도장 최고 기록 정보를 조회합니다.
|
|
683
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
684
|
+
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
|
|
685
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
686
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
687
|
+
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
688
|
+
*
|
|
689
|
+
* @param ocid 캐릭터 식별자
|
|
690
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
691
|
+
*/
|
|
692
|
+
async getCharacterDojang(ocid, dateOptions) {
|
|
693
|
+
const path = `${this.subUrl}/v1/character/dojang`;
|
|
694
|
+
const date = dateOptions
|
|
695
|
+
? this.toDateString(dateOptions, {
|
|
696
|
+
year: 2023,
|
|
697
|
+
month: 12,
|
|
698
|
+
day: 21,
|
|
699
|
+
})
|
|
700
|
+
: undefined;
|
|
701
|
+
const query = {
|
|
702
|
+
ocid: ocid,
|
|
703
|
+
date: date,
|
|
704
|
+
};
|
|
705
|
+
const { data } = await this.client.get(path, {
|
|
706
|
+
params: query,
|
|
707
|
+
});
|
|
708
|
+
return new CharacterDojangDto(data);
|
|
709
|
+
}
|
|
710
|
+
//#endregion
|
|
711
|
+
//#region 유니온 정보 조회
|
|
712
|
+
/**
|
|
713
|
+
* 유니온 정보를 조회합니다.
|
|
714
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
715
|
+
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
|
|
716
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
717
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
718
|
+
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
719
|
+
*
|
|
720
|
+
* @param ocid 캐릭터 식별자
|
|
721
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
722
|
+
*/
|
|
723
|
+
async getUnion(ocid, dateOptions) {
|
|
724
|
+
const path = `${this.subUrl}/v1/user/union`;
|
|
725
|
+
const date = dateOptions
|
|
726
|
+
? this.toDateString(dateOptions, {
|
|
727
|
+
year: 2023,
|
|
728
|
+
month: 12,
|
|
729
|
+
day: 21,
|
|
730
|
+
})
|
|
731
|
+
: undefined;
|
|
732
|
+
const query = {
|
|
733
|
+
ocid: ocid,
|
|
734
|
+
date: date,
|
|
735
|
+
};
|
|
736
|
+
const { data } = await this.client.get(path, {
|
|
737
|
+
params: query,
|
|
738
|
+
});
|
|
739
|
+
return new UnionDto(data);
|
|
740
|
+
}
|
|
741
|
+
/**
|
|
742
|
+
* 유니온 공격대 정보를 조회합니다.
|
|
743
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
744
|
+
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
|
|
745
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
746
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
747
|
+
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
748
|
+
*
|
|
749
|
+
* @param ocid 캐릭터 식별자
|
|
750
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
751
|
+
*/
|
|
752
|
+
async getUnionRaider(ocid, dateOptions) {
|
|
753
|
+
const path = `${this.subUrl}/v1/user/union-raider`;
|
|
754
|
+
const date = dateOptions
|
|
755
|
+
? this.toDateString(dateOptions, {
|
|
756
|
+
year: 2023,
|
|
757
|
+
month: 12,
|
|
758
|
+
day: 21,
|
|
759
|
+
})
|
|
760
|
+
: undefined;
|
|
761
|
+
const query = {
|
|
762
|
+
ocid: ocid,
|
|
763
|
+
date: date,
|
|
764
|
+
};
|
|
765
|
+
const { data } = await this.client.get(path, {
|
|
766
|
+
params: query,
|
|
767
|
+
});
|
|
768
|
+
return new UnionRaiderDto(data);
|
|
769
|
+
}
|
|
770
|
+
/**
|
|
771
|
+
* 유니온 아티팩트 정보를 조회합니다.
|
|
772
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
773
|
+
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
|
|
774
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
775
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
776
|
+
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
777
|
+
*
|
|
778
|
+
* @param ocid 캐릭터 식별자
|
|
779
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
780
|
+
*/
|
|
781
|
+
async getUnionArtifact(ocid, dateOptions) {
|
|
782
|
+
const path = `${this.subUrl}/v1/user/union-artifact`;
|
|
783
|
+
const date = dateOptions
|
|
784
|
+
? this.toDateString(dateOptions, {
|
|
785
|
+
year: 2023,
|
|
786
|
+
month: 12,
|
|
787
|
+
day: 21,
|
|
788
|
+
})
|
|
789
|
+
: undefined;
|
|
790
|
+
const query = {
|
|
791
|
+
ocid: ocid,
|
|
792
|
+
date: date,
|
|
793
|
+
};
|
|
794
|
+
const { data } = await this.client.get(path, {
|
|
795
|
+
params: query,
|
|
796
|
+
});
|
|
797
|
+
return new UnionArtifactDto(data);
|
|
798
|
+
}
|
|
799
|
+
/**
|
|
800
|
+
* 유니온 챔피언 정보를 조회합니다.<br>
|
|
801
|
+
* 유니온 챔피언 정보는 2025년 2월 20일 메이플스토리 점검 이후 데이터부터 조회 가능합니다.<br>
|
|
802
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
803
|
+
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
|
|
804
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
805
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
806
|
+
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
807
|
+
*
|
|
808
|
+
* @param ocid 캐릭터 식별자
|
|
809
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
810
|
+
*/
|
|
811
|
+
async getUnionChampion(ocid, dateOptions) {
|
|
812
|
+
const path = `${this.subUrl}/v1/user/union-champion`;
|
|
813
|
+
const date = dateOptions
|
|
814
|
+
? this.toDateString(dateOptions, {
|
|
815
|
+
year: 2023,
|
|
816
|
+
month: 12,
|
|
817
|
+
day: 21,
|
|
818
|
+
})
|
|
819
|
+
: undefined;
|
|
820
|
+
const query = {
|
|
821
|
+
ocid: ocid,
|
|
822
|
+
date: date,
|
|
823
|
+
};
|
|
824
|
+
const { data } = await this.client.get(path, {
|
|
825
|
+
params: query,
|
|
826
|
+
});
|
|
827
|
+
return new UnionChampionDto(data);
|
|
828
|
+
}
|
|
829
|
+
//#endregion
|
|
830
|
+
//#region 길드 정보 조회
|
|
831
|
+
/**
|
|
832
|
+
* 길드 식별자(oguild_id) 정보를 조회합니다.
|
|
833
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
834
|
+
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
|
|
835
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
836
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
837
|
+
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
838
|
+
*
|
|
839
|
+
* @param guildName 길드 명
|
|
840
|
+
* @param worldName 월드 명
|
|
841
|
+
*/
|
|
842
|
+
async getGuild(guildName, worldName) {
|
|
843
|
+
const path = `${this.subUrl}/v1/guild/id`;
|
|
844
|
+
const { data } = await this.client.get(path, {
|
|
845
|
+
params: {
|
|
846
|
+
guild_name: guildName,
|
|
847
|
+
world_name: worldName,
|
|
848
|
+
},
|
|
849
|
+
});
|
|
850
|
+
return new GuildDto(data);
|
|
851
|
+
}
|
|
852
|
+
/**
|
|
853
|
+
* 길드 기본 정보를 조회합니다.
|
|
854
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
855
|
+
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
|
|
856
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
857
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
858
|
+
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
859
|
+
*
|
|
860
|
+
* @param guildId 길드 식별자
|
|
861
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
862
|
+
*/
|
|
863
|
+
async getGuildBasic(guildId, dateOptions) {
|
|
864
|
+
const path = `${this.subUrl}/v1/guild/basic`;
|
|
865
|
+
const date = dateOptions
|
|
866
|
+
? this.toDateString(dateOptions, {
|
|
867
|
+
year: 2023,
|
|
868
|
+
month: 12,
|
|
869
|
+
day: 21,
|
|
870
|
+
})
|
|
871
|
+
: undefined;
|
|
872
|
+
const query = {
|
|
873
|
+
oguild_id: guildId,
|
|
874
|
+
date: date,
|
|
875
|
+
};
|
|
876
|
+
const { data } = await this.client.get(path, {
|
|
877
|
+
params: query,
|
|
878
|
+
});
|
|
879
|
+
return new GuildBasicDto(data);
|
|
880
|
+
}
|
|
881
|
+
async getStarforceHistory(count, parameter) {
|
|
882
|
+
const path = `${this.subUrl}/v1/history/starforce`;
|
|
883
|
+
const query = {
|
|
884
|
+
count,
|
|
885
|
+
};
|
|
886
|
+
if (typeof parameter === 'string') {
|
|
887
|
+
query.cursor = parameter;
|
|
888
|
+
}
|
|
889
|
+
else if (typeof parameter === 'object' || parameter === undefined) {
|
|
890
|
+
query.date = this.toDateString(parameter ??
|
|
891
|
+
this.getProperDefaultDateOptions({
|
|
892
|
+
hour: 0,
|
|
893
|
+
minute: 0,
|
|
894
|
+
dateOffset: 0,
|
|
895
|
+
}), {
|
|
896
|
+
year: 2023,
|
|
897
|
+
month: 12,
|
|
898
|
+
day: 27,
|
|
899
|
+
});
|
|
900
|
+
}
|
|
901
|
+
const { data } = await this.client.get(path, {
|
|
902
|
+
params: query,
|
|
903
|
+
});
|
|
904
|
+
return new StarforceHistoryResponseDto(data);
|
|
905
|
+
}
|
|
906
|
+
async getCubeHistory(count, parameter) {
|
|
907
|
+
const path = `${this.subUrl}/v1/history/cube`;
|
|
908
|
+
const query = {
|
|
909
|
+
count,
|
|
910
|
+
};
|
|
911
|
+
if (typeof parameter === 'string') {
|
|
912
|
+
query.cursor = parameter;
|
|
913
|
+
}
|
|
914
|
+
else if (typeof parameter === 'object' || parameter === undefined) {
|
|
915
|
+
query.date = this.toDateString(parameter ??
|
|
916
|
+
this.getProperDefaultDateOptions({
|
|
917
|
+
hour: 0,
|
|
918
|
+
minute: 0,
|
|
919
|
+
dateOffset: 0,
|
|
920
|
+
}));
|
|
921
|
+
}
|
|
922
|
+
const { data } = await this.client.get(path, {
|
|
923
|
+
params: query,
|
|
924
|
+
});
|
|
925
|
+
return new CubeHistoryResponseDto(data);
|
|
926
|
+
}
|
|
927
|
+
async getPotentialHistory(count, parameter) {
|
|
928
|
+
const path = `${this.subUrl}/v1/history/potential`;
|
|
929
|
+
const query = {
|
|
930
|
+
count,
|
|
931
|
+
};
|
|
932
|
+
if (typeof parameter === 'string') {
|
|
933
|
+
query.cursor = parameter;
|
|
934
|
+
}
|
|
935
|
+
else if (typeof parameter === 'object' || parameter === undefined) {
|
|
936
|
+
query.date = this.toDateString(parameter ??
|
|
937
|
+
this.getProperDefaultDateOptions({
|
|
938
|
+
hour: 0,
|
|
939
|
+
minute: 0,
|
|
940
|
+
dateOffset: 0,
|
|
941
|
+
}), {
|
|
942
|
+
year: 2024,
|
|
943
|
+
month: 1,
|
|
944
|
+
day: 25,
|
|
945
|
+
});
|
|
946
|
+
}
|
|
947
|
+
const { data } = await this.client.get(path, {
|
|
948
|
+
params: query,
|
|
949
|
+
});
|
|
950
|
+
return new PotentialHistoryResponseDto(data);
|
|
951
|
+
}
|
|
952
|
+
//#endregion
|
|
953
|
+
//#region 랭킹 정보 조회
|
|
954
|
+
/**
|
|
955
|
+
* 종합 랭킹 정보를 조회합니다.
|
|
956
|
+
* - 2023년 12월 22일 데이터부터 조회할 수 있습니다.
|
|
957
|
+
* - 오전 8시 30분부터 오늘의 랭킹 정보를 조회할 수 있습니다.
|
|
958
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
959
|
+
*
|
|
960
|
+
* @param filterOptions 검색 기준
|
|
961
|
+
* @param dateOptions 조회 기준일 (KST).
|
|
962
|
+
*
|
|
963
|
+
*/
|
|
964
|
+
async getOverallRanking(filterOptions, dateOptions = this.getProperDefaultDateOptions({
|
|
965
|
+
hour: 8,
|
|
966
|
+
minute: 30,
|
|
967
|
+
dateOffset: 0,
|
|
968
|
+
})) {
|
|
969
|
+
const path = `${this.subUrl}/v1/ranking/overall`;
|
|
970
|
+
const query = {
|
|
971
|
+
date: this.toDateString(dateOptions, {
|
|
972
|
+
year: 2023,
|
|
973
|
+
month: 12,
|
|
974
|
+
day: 22,
|
|
975
|
+
}),
|
|
976
|
+
};
|
|
977
|
+
if (filterOptions) {
|
|
978
|
+
const { worldName, worldType, characterClass, ocid, page } = filterOptions;
|
|
979
|
+
query.world_name = worldName;
|
|
980
|
+
query.world_type = worldType;
|
|
981
|
+
query.class = characterClass;
|
|
982
|
+
query.ocid = ocid;
|
|
983
|
+
query.page = page;
|
|
984
|
+
}
|
|
985
|
+
const { data } = await this.client.get(path, {
|
|
986
|
+
params: query,
|
|
987
|
+
});
|
|
988
|
+
return new OverallRankingResponseDto(data);
|
|
989
|
+
}
|
|
990
|
+
/**
|
|
991
|
+
* 유니온 랭킹 정보를 조회합니다.
|
|
992
|
+
* - 2023년 12월 22일 데이터부터 조회할 수 있습니다.
|
|
993
|
+
* - 오전 8시 30분부터 오늘의 랭킹 정보를 조회할 수 있습니다.
|
|
994
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
995
|
+
*
|
|
996
|
+
* @param filterOptions 검색 기준
|
|
997
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
998
|
+
*/
|
|
999
|
+
async getUnionRanking(filterOptions, dateOptions = this.getProperDefaultDateOptions({
|
|
1000
|
+
hour: 8,
|
|
1001
|
+
minute: 30,
|
|
1002
|
+
dateOffset: 0,
|
|
1003
|
+
})) {
|
|
1004
|
+
const path = `${this.subUrl}/v1/ranking/union`;
|
|
1005
|
+
const query = {
|
|
1006
|
+
date: this.toDateString(dateOptions, {
|
|
1007
|
+
year: 2023,
|
|
1008
|
+
month: 12,
|
|
1009
|
+
day: 22,
|
|
1010
|
+
}),
|
|
1011
|
+
};
|
|
1012
|
+
if (filterOptions) {
|
|
1013
|
+
const { worldName, ocid, page } = filterOptions;
|
|
1014
|
+
query.world_name = worldName;
|
|
1015
|
+
query.ocid = ocid;
|
|
1016
|
+
query.page = page;
|
|
1017
|
+
}
|
|
1018
|
+
const { data } = await this.client.get(path, {
|
|
1019
|
+
params: query,
|
|
1020
|
+
});
|
|
1021
|
+
return new UnionRankingResponseDto(data);
|
|
1022
|
+
}
|
|
1023
|
+
/**
|
|
1024
|
+
* 길드 랭킹 정보를 조회합니다.
|
|
1025
|
+
* - 2023년 12월 22일 데이터부터 조회할 수 있습니다.
|
|
1026
|
+
* - 오전 8시 30분부터 오늘의 랭킹 정보를 조회할 수 있습니다.
|
|
1027
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
1028
|
+
*
|
|
1029
|
+
* @param filterOptions 검색 기준
|
|
1030
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
1031
|
+
*/
|
|
1032
|
+
async getGuildRanking(filterOptions, dateOptions = this.getProperDefaultDateOptions({
|
|
1033
|
+
hour: 8,
|
|
1034
|
+
minute: 30,
|
|
1035
|
+
dateOffset: 0,
|
|
1036
|
+
})) {
|
|
1037
|
+
const path = `${this.subUrl}/v1/ranking/guild`;
|
|
1038
|
+
const query = {
|
|
1039
|
+
date: this.toDateString(dateOptions, {
|
|
1040
|
+
year: 2023,
|
|
1041
|
+
month: 12,
|
|
1042
|
+
day: 22,
|
|
1043
|
+
}),
|
|
1044
|
+
ranking_type: 0,
|
|
1045
|
+
};
|
|
1046
|
+
if (filterOptions) {
|
|
1047
|
+
const { worldName, rankingType, ocid, page } = filterOptions;
|
|
1048
|
+
query.world_name = worldName;
|
|
1049
|
+
query.ranking_type = rankingType;
|
|
1050
|
+
query.ocid = ocid;
|
|
1051
|
+
query.page = page;
|
|
1052
|
+
}
|
|
1053
|
+
const { data } = await this.client.get(path, {
|
|
1054
|
+
params: query,
|
|
1055
|
+
});
|
|
1056
|
+
return new GuildRankingResponseDto(data);
|
|
1057
|
+
}
|
|
1058
|
+
/**
|
|
1059
|
+
* 무릉도장 랭킹 정보를 조회합니다.
|
|
1060
|
+
* - 2023년 12월 22일 데이터부터 조회할 수 있습니다.
|
|
1061
|
+
* - 오전 8시 30분부터 오늘의 랭킹 정보를 조회할 수 있습니다.
|
|
1062
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
1063
|
+
*
|
|
1064
|
+
* @param filterOptions 검색 기준
|
|
1065
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
1066
|
+
*/
|
|
1067
|
+
async getDojangRanking(filterOptions, dateOptions = this.getProperDefaultDateOptions({
|
|
1068
|
+
hour: 8,
|
|
1069
|
+
minute: 30,
|
|
1070
|
+
dateOffset: 0,
|
|
1071
|
+
})) {
|
|
1072
|
+
const path = `${this.subUrl}/v1/ranking/dojang`;
|
|
1073
|
+
const query = {
|
|
1074
|
+
date: this.toDateString(dateOptions, {
|
|
1075
|
+
year: 2023,
|
|
1076
|
+
month: 12,
|
|
1077
|
+
day: 22,
|
|
1078
|
+
}),
|
|
1079
|
+
difficulty: 0,
|
|
1080
|
+
};
|
|
1081
|
+
if (filterOptions) {
|
|
1082
|
+
const { worldName, difficulty, characterClass, ocid, page } = filterOptions;
|
|
1083
|
+
query.world_name = worldName;
|
|
1084
|
+
query.difficulty = difficulty;
|
|
1085
|
+
query.class = characterClass;
|
|
1086
|
+
query.ocid = ocid;
|
|
1087
|
+
query.page = page;
|
|
1088
|
+
}
|
|
1089
|
+
const { data } = await this.client.get(path, {
|
|
1090
|
+
params: query,
|
|
1091
|
+
});
|
|
1092
|
+
return new DojangRankingResponseDto(data);
|
|
1093
|
+
}
|
|
1094
|
+
/**
|
|
1095
|
+
* 더 시드 랭킹 정보를 조회합니다.
|
|
1096
|
+
* - 2023년 12월 22일 데이터부터 조회할 수 있습니다.
|
|
1097
|
+
* - 오전 8시 30분부터 오늘의 랭킹 정보를 조회할 수 있습니다.
|
|
1098
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
1099
|
+
*
|
|
1100
|
+
* @param filterOptions 검색 기준
|
|
1101
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
1102
|
+
*/
|
|
1103
|
+
async getSeedRanking(filterOptions, dateOptions = this.getProperDefaultDateOptions({
|
|
1104
|
+
hour: 8,
|
|
1105
|
+
minute: 30,
|
|
1106
|
+
dateOffset: 0,
|
|
1107
|
+
})) {
|
|
1108
|
+
const path = `${this.subUrl}/v1/ranking/theseed`;
|
|
1109
|
+
const query = {
|
|
1110
|
+
date: this.toDateString(dateOptions, {
|
|
1111
|
+
year: 2023,
|
|
1112
|
+
month: 12,
|
|
1113
|
+
day: 22,
|
|
1114
|
+
}),
|
|
1115
|
+
};
|
|
1116
|
+
if (filterOptions) {
|
|
1117
|
+
const { worldName, ocid, page } = filterOptions;
|
|
1118
|
+
query.world_name = worldName;
|
|
1119
|
+
query.ocid = ocid;
|
|
1120
|
+
query.page = page;
|
|
1121
|
+
}
|
|
1122
|
+
const { data } = await this.client.get(path, {
|
|
1123
|
+
params: query,
|
|
1124
|
+
});
|
|
1125
|
+
return new TheSeedRankingResponseDto(data);
|
|
1126
|
+
}
|
|
1127
|
+
/**
|
|
1128
|
+
* 업적 랭킹 정보를 조회합니다.
|
|
1129
|
+
* - 2023년 12월 22일 데이터부터 조회할 수 있습니다.
|
|
1130
|
+
* - 오전 8시 30분부터 오늘의 랭킹 정보를 조회할 수 있습니다.
|
|
1131
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
1132
|
+
*
|
|
1133
|
+
* @param filterOptions 검색 기준
|
|
1134
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
1135
|
+
*/
|
|
1136
|
+
async getAchievementRanking(filterOptions, dateOptions = this.getProperDefaultDateOptions({
|
|
1137
|
+
hour: 8,
|
|
1138
|
+
minute: 30,
|
|
1139
|
+
dateOffset: 0,
|
|
1140
|
+
})) {
|
|
1141
|
+
const path = `${this.subUrl}/v1/ranking/achievement`;
|
|
1142
|
+
const query = {
|
|
1143
|
+
date: this.toDateString(dateOptions, {
|
|
1144
|
+
year: 2023,
|
|
1145
|
+
month: 12,
|
|
1146
|
+
day: 22,
|
|
1147
|
+
}),
|
|
1148
|
+
};
|
|
1149
|
+
if (filterOptions) {
|
|
1150
|
+
const { ocid, page } = filterOptions;
|
|
1151
|
+
query.ocid = ocid;
|
|
1152
|
+
query.page = page;
|
|
1153
|
+
}
|
|
1154
|
+
const { data } = await this.client.get(path, {
|
|
1155
|
+
params: query,
|
|
1156
|
+
});
|
|
1157
|
+
return new AchievementRankingResponseDto(data);
|
|
1158
|
+
}
|
|
1159
|
+
//#endregion
|
|
1160
|
+
//#region 공지 정보 조회
|
|
1161
|
+
/**
|
|
1162
|
+
* 메이플스토리 공지사항에 최근 등록된 게시글 20개를 조회합니다.
|
|
1163
|
+
*
|
|
1164
|
+
* - 공지 정보 API는 데이터 최신화(공지 내용 수정/ 업데이트 고려)를 위해 실시간 조회 또는 최소 일배치 작업을 권장합니다.
|
|
1165
|
+
* - 실시간으로 정보를 제공하지 않는 경우, 신규/수정 공지 내용이 반영되지 않을 수 있으니 서비스 이용 유저에게 홈페이지 공지 사항을 확인하라는 가이드를 제공해주세요.
|
|
1166
|
+
*/
|
|
1167
|
+
async getNoticeList() {
|
|
1168
|
+
const path = `${this.subUrl}/v1/notice`;
|
|
1169
|
+
const { data } = await this.client.get(path);
|
|
1170
|
+
return new NoticeListDto(data);
|
|
1171
|
+
}
|
|
1172
|
+
/**
|
|
1173
|
+
* 메이플스토리 공지사항 게시글 세부 사항을 조회합니다.
|
|
1174
|
+
*
|
|
1175
|
+
* - 공지 정보 API는 데이터 최신화(공지 내용 수정/ 업데이트 고려)를 위해 실시간 조회 또는 최소 일배치 작업을 권장합니다.
|
|
1176
|
+
* - 실시간으로 정보를 제공하지 않는 경우, 신규/수정 공지 내용이 반영되지 않을 수 있으니 서비스 이용 유저에게 홈페이지 공지 사항을 확인하라는 가이드를 제공해주세요.
|
|
1177
|
+
* @param noticeId 공지 식별자
|
|
1178
|
+
*/
|
|
1179
|
+
async getNoticeDetail(noticeId) {
|
|
1180
|
+
const path = `${this.subUrl}/v1/notice/detail`;
|
|
1181
|
+
const query = {
|
|
1182
|
+
notice_id: noticeId,
|
|
1183
|
+
};
|
|
1184
|
+
const { data } = await this.client.get(path, {
|
|
1185
|
+
params: query,
|
|
1186
|
+
});
|
|
1187
|
+
return new NoticeDetailDto(data);
|
|
1188
|
+
}
|
|
1189
|
+
/**
|
|
1190
|
+
* 메이플스토리 업데이트에 최근 등록된 게시글 20개를 조회합니다.
|
|
1191
|
+
*
|
|
1192
|
+
* - 공지 정보 API는 데이터 최신화(공지 내용 수정/ 업데이트 고려)를 위해 실시간 조회 또는 최소 일배치 작업을 권장합니다.
|
|
1193
|
+
* - 실시간으로 정보를 제공하지 않는 경우, 신규/수정 공지 내용이 반영되지 않을 수 있으니 서비스 이용 유저에게 홈페이지 공지 사항을 확인하라는 가이드를 제공해주세요.
|
|
1194
|
+
*/
|
|
1195
|
+
async getUpdateNoticeList() {
|
|
1196
|
+
const path = `${this.subUrl}/v1/notice-update`;
|
|
1197
|
+
const { data } = await this.client.get(path);
|
|
1198
|
+
return new UpdateNoticeListDto(data);
|
|
1199
|
+
}
|
|
1200
|
+
/**
|
|
1201
|
+
* 메이플스토리 업데이트 게시글 세부 사항을 조회합니다.
|
|
1202
|
+
*
|
|
1203
|
+
* - 공지 정보 API는 데이터 최신화(공지 내용 수정/ 업데이트 고려)를 위해 실시간 조회 또는 최소 일배치 작업을 권장합니다.
|
|
1204
|
+
* - 실시간으로 정보를 제공하지 않는 경우, 신규/수정 공지 내용이 반영되지 않을 수 있으니 서비스 이용 유저에게 홈페이지 공지 사항을 확인하라는 가이드를 제공해주세요.
|
|
1205
|
+
* @param noticeId 공지 식별자
|
|
1206
|
+
*/
|
|
1207
|
+
async getUpdateNoticeDetail(noticeId) {
|
|
1208
|
+
const path = `${this.subUrl}/v1/notice-update/detail`;
|
|
1209
|
+
const query = {
|
|
1210
|
+
notice_id: noticeId,
|
|
1211
|
+
};
|
|
1212
|
+
const { data } = await this.client.get(path, {
|
|
1213
|
+
params: query,
|
|
1214
|
+
});
|
|
1215
|
+
return new UpdateNoticeDetailDto(data);
|
|
1216
|
+
}
|
|
1217
|
+
/**
|
|
1218
|
+
* 메이플스토리 진행 중 이벤트에 최근 등록된 공지사항 20개를 조회합니다.
|
|
1219
|
+
*
|
|
1220
|
+
* - 공지 정보 API는 데이터 최신화(공지 내용 수정/ 업데이트 고려)를 위해 실시간 조회 또는 최소 일배치 작업을 권장합니다.
|
|
1221
|
+
* - 실시간으로 정보를 제공하지 않는 경우, 신규/수정 공지 내용이 반영되지 않을 수 있으니 서비스 이용 유저에게 홈페이지 공지 사항을 확인하라는 가이드를 제공해주세요.
|
|
1222
|
+
*/
|
|
1223
|
+
async getEventNoticeList() {
|
|
1224
|
+
const path = `${this.subUrl}/v1/notice-event`;
|
|
1225
|
+
const { data } = await this.client.get(path);
|
|
1226
|
+
return new EventNoticeListDto(data);
|
|
1227
|
+
}
|
|
1228
|
+
/**
|
|
1229
|
+
* 메이플스토리 진행 중 이벤트 게시글 세부 사항을 조회합니다.
|
|
1230
|
+
*
|
|
1231
|
+
* - 공지 정보 API는 데이터 최신화(공지 내용 수정/ 업데이트 고려)를 위해 실시간 조회 또는 최소 일배치 작업을 권장합니다.
|
|
1232
|
+
* - 실시간으로 정보를 제공하지 않는 경우, 신규/수정 공지 내용이 반영되지 않을 수 있으니 서비스 이용 유저에게 홈페이지 공지 사항을 확인하라는 가이드를 제공해주세요.
|
|
1233
|
+
* @param noticeId 공지 식별자
|
|
1234
|
+
*/
|
|
1235
|
+
async getEventNoticeDetail(noticeId) {
|
|
1236
|
+
const path = `${this.subUrl}/v1/notice-event/detail`;
|
|
1237
|
+
const query = {
|
|
1238
|
+
notice_id: noticeId,
|
|
1239
|
+
};
|
|
1240
|
+
const { data } = await this.client.get(path, {
|
|
1241
|
+
params: query,
|
|
1242
|
+
});
|
|
1243
|
+
return new EventNoticeDetailDto(data);
|
|
1244
|
+
}
|
|
1245
|
+
/**
|
|
1246
|
+
* 메이플스토리 캐시샵 공지에 최근 등록된 공지사항 20개를 조회합니다.
|
|
1247
|
+
*
|
|
1248
|
+
* - 공지 정보 API는 데이터 최신화(공지 내용 수정/ 업데이트 고려)를 위해 실시간 조회 또는 최소 일배치 작업을 권장합니다.
|
|
1249
|
+
* - 실시간으로 정보를 제공하지 않는 경우, 신규/수정 공지 내용이 반영되지 않을 수 있으니 서비스 이용 유저에게 홈페이지 공지 사항을 확인하라는 가이드를 제공해주세요.
|
|
1250
|
+
*/
|
|
1251
|
+
async getCashshopNoticeList() {
|
|
1252
|
+
const path = `${this.subUrl}/v1/notice-cashshop`;
|
|
1253
|
+
const { data } = await this.client.get(path);
|
|
1254
|
+
return new CashshopNoticeListDto(data);
|
|
1255
|
+
}
|
|
1256
|
+
/**
|
|
1257
|
+
* 메이플스토리 캐시샵 공지 게시글 세부 사항을 조회합니다.
|
|
1258
|
+
*
|
|
1259
|
+
* - 공지 정보 API는 데이터 최신화(공지 내용 수정/ 업데이트 고려)를 위해 실시간 조회 또는 최소 일배치 작업을 권장합니다.
|
|
1260
|
+
* - 실시간으로 정보를 제공하지 않는 경우, 신규/수정 공지 내용이 반영되지 않을 수 있으니 서비스 이용 유저에게 홈페이지 공지 사항을 확인하라는 가이드를 제공해주세요.
|
|
1261
|
+
* @param noticeId 공지 식별자
|
|
1262
|
+
*/
|
|
1263
|
+
async getCashshopNoticeDetail(noticeId) {
|
|
1264
|
+
const path = `${this.subUrl}/v1/notice-cashshop/detail`;
|
|
1265
|
+
const query = {
|
|
1266
|
+
notice_id: noticeId,
|
|
1267
|
+
};
|
|
1268
|
+
const { data } = await this.client.get(path, {
|
|
1269
|
+
params: query,
|
|
1270
|
+
});
|
|
1271
|
+
return new CashshopNoticeDetailDto(data);
|
|
1272
|
+
}
|
|
1273
|
+
//#endregion
|
|
1274
|
+
/**
|
|
1275
|
+
* 서버 점검 정보를 조회합니다.
|
|
1276
|
+
*/
|
|
1277
|
+
async getInspectionInfo() {
|
|
1278
|
+
const xmlBuilder = new xml2js.Builder();
|
|
1279
|
+
const soapEnvelop = {
|
|
1280
|
+
'soap:Envelope': {
|
|
1281
|
+
$: {
|
|
1282
|
+
'xmlns:xsi': 'http://www.w3.org/2001/XMLSchema-instance',
|
|
1283
|
+
'xmlns:xsd': 'http://www.w3.org/2001/XMLSchema',
|
|
1284
|
+
'xmlns:soap': 'http://schemas.xmlsoap.org/soap/envelope/',
|
|
1285
|
+
},
|
|
1286
|
+
'soap:Body': {
|
|
1287
|
+
GetInspectionInfo: {
|
|
1288
|
+
$: {
|
|
1289
|
+
xmlns: 'https://api.maplestory.nexon.com/soap/',
|
|
1290
|
+
},
|
|
1291
|
+
},
|
|
1292
|
+
},
|
|
1293
|
+
},
|
|
1294
|
+
};
|
|
1295
|
+
const baseUrl = 'https://api.maplestory.nexon.com/';
|
|
1296
|
+
const path = 'soap/maplestory.asmx';
|
|
1297
|
+
const headers = {
|
|
1298
|
+
SOAPAction: 'https://api.maplestory.nexon.com/soap/GetInspectionInfo',
|
|
1299
|
+
'Content-Type': 'text/xml; charset=utf-8',
|
|
1300
|
+
};
|
|
1301
|
+
const body = xmlBuilder.buildObject(soapEnvelop);
|
|
1302
|
+
const response = await axios.post(path, body, {
|
|
1303
|
+
baseURL: baseUrl,
|
|
1304
|
+
timeout: this.timeout,
|
|
1305
|
+
headers,
|
|
1306
|
+
});
|
|
1307
|
+
const xml = (await xml2js.parseStringPromise(response.data));
|
|
1308
|
+
return new InspectionInfoDto(xml);
|
|
1309
|
+
}
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1312
|
+
export { MapleStoryApi };
|