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