maplestory-openapi 3.10.0 → 3.11.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 +1 -0
- package/dist/cjs/_virtual/index.js_commonjs-exports2.js +2 -2
- package/dist/cjs/_virtual/index.js_commonjs-exports3.js +2 -2
- package/dist/cjs/maplestory/api/kms/dto/battlePractice/battlePracticeCharacterInfo.js +196 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterHexaMatrix.js +6 -1
- package/dist/cjs/maplestory/api/kms/dto/character/characterItemEquipment.js +92 -1
- package/dist/cjs/maplestory/api/kms/dto/character/characterPetEquipment.js +223 -1
- package/dist/cjs/maplestory/api/kms/dto/character/characterVMatrix.js +50 -1
- package/dist/cjs/maplestory/api/kms/dto/scheduler/schedulerCharacterState.js +177 -0
- package/dist/cjs/maplestory/api/kms/dto/union/unionRaider.js +35 -1
- package/dist/cjs/maplestory/api/kms/kms.js +10 -0
- package/dist/cjs/maplestory/api/kms/mapleStoryApi.js +38 -14
- package/dist/cjs/maplestory/api/kms/mapleStoryFriendsApi.js +1 -1
- package/dist/cjs/maplestory/api/msea/mapleStoryApi.js +1 -1
- package/dist/cjs/maplestory/api/tms/dto/character/characterFamiliar.js +156 -0
- package/dist/cjs/maplestory/api/tms/dto/character/characterPetEquipment.js +45 -1
- package/dist/cjs/maplestory/api/tms/mapleStoryApi.js +33 -1
- package/dist/cjs/maplestory/api/tms/tms.js +6 -0
- package/dist/cjs/node_modules/base64-js/index.js +1 -1
- package/dist/cjs/node_modules/buffer/index.js +2 -2
- package/dist/cjs/node_modules/ieee754/index.js +1 -1
- package/dist/esm/_virtual/index.js_commonjs-exports2.js +2 -2
- package/dist/esm/_virtual/index.js_commonjs-exports3.js +2 -2
- package/dist/esm/maplestory/api/kms/dto/battlePractice/battlePracticeCharacterInfo.js +196 -1
- package/dist/esm/maplestory/api/kms/dto/character/characterHexaMatrix.js +6 -1
- package/dist/esm/maplestory/api/kms/dto/character/characterItemEquipment.js +92 -2
- package/dist/esm/maplestory/api/kms/dto/character/characterPetEquipment.js +223 -2
- package/dist/esm/maplestory/api/kms/dto/character/characterVMatrix.js +50 -2
- package/dist/esm/maplestory/api/kms/dto/scheduler/schedulerCharacterState.js +170 -0
- package/dist/esm/maplestory/api/kms/dto/union/unionRaider.js +35 -2
- package/dist/esm/maplestory/api/kms/kms.js +6 -5
- package/dist/esm/maplestory/api/kms/mapleStoryApi.js +38 -14
- package/dist/esm/maplestory/api/kms/mapleStoryFriendsApi.js +1 -1
- package/dist/esm/maplestory/api/msea/mapleStoryApi.js +1 -1
- package/dist/esm/maplestory/api/tms/dto/character/characterFamiliar.js +149 -0
- package/dist/esm/maplestory/api/tms/dto/character/characterPetEquipment.js +45 -2
- package/dist/esm/maplestory/api/tms/mapleStoryApi.js +33 -1
- package/dist/esm/maplestory/api/tms/tms.js +2 -1
- package/dist/esm/node_modules/base64-js/index.js +2 -2
- package/dist/esm/node_modules/buffer/index.js +2 -2
- package/dist/esm/node_modules/ieee754/index.js +2 -2
- package/package.json +3 -3
- package/types/maplestory/api/kms/dto/battlePractice/battlePracticeCharacterInfo.d.ts +143 -1
- package/types/maplestory/api/kms/dto/character/characterHexaMatrix.d.ts +4 -0
- package/types/maplestory/api/kms/dto/character/characterItemEquipment.d.ts +63 -1
- package/types/maplestory/api/kms/dto/character/characterPetEquipment.d.ts +163 -1
- package/types/maplestory/api/kms/dto/character/characterVMatrix.d.ts +39 -1
- package/types/maplestory/api/kms/dto/scheduler/schedulerCharacterState.d.ts +137 -0
- package/types/maplestory/api/kms/dto/union/unionRaider.d.ts +27 -1
- package/types/maplestory/api/kms/index.d.ts +1 -0
- package/types/maplestory/api/kms/mapleStoryApi.d.ts +16 -8
- package/types/maplestory/api/kms/mapleStoryFriendsApi.d.ts +2 -2
- package/types/maplestory/api/kms/response/battlePractice/battlePracticeCharacterInfoBody.d.ts +36 -0
- package/types/maplestory/api/kms/response/character/characterHexaMatrixBody.d.ts +1 -0
- package/types/maplestory/api/kms/response/character/characterItemEquipmentBody.d.ts +15 -0
- package/types/maplestory/api/kms/response/character/characterPetEquipmentBody.d.ts +41 -0
- package/types/maplestory/api/kms/response/character/characterVMatrixBody.d.ts +11 -1
- package/types/maplestory/api/kms/response/scheduler/schedulerCharacterStateBody.d.ts +36 -0
- package/types/maplestory/api/kms/response/union/unionRaiderBody.d.ts +7 -0
- package/types/maplestory/api/tms/dto/character/characterFamiliar.d.ts +117 -0
- package/types/maplestory/api/tms/dto/character/characterPetEquipment.d.ts +35 -1
- package/types/maplestory/api/tms/index.d.ts +1 -0
- package/types/maplestory/api/tms/mapleStoryApi.d.ts +12 -0
- package/types/maplestory/api/tms/response/character/characterFamiliarBody.d.ts +31 -0
- package/types/maplestory/api/tms/response/character/characterPetEquipmentBody.d.ts +9 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { MapleStoryApi } from './mapleStoryApi.js';
|
|
2
2
|
export { MapleStoryFriendsApi } from './mapleStoryFriendsApi.js';
|
|
3
|
-
export { BattlePracticeCharacterAbilityInfoDto, BattlePracticeCharacterAbilityObjectDto, BattlePracticeCharacterBasicDto, BattlePracticeCharacterBasicStatDto, BattlePracticeCharacterCashItemEquipmentDto, BattlePracticeCharacterCashItemObjectDto, BattlePracticeCharacterCashItemOptionDto, BattlePracticeCharacterFinalStatDto, BattlePracticeCharacterHexaCoreEquipmentDto, BattlePracticeCharacterHexaCoreObjectDto, BattlePracticeCharacterHexaLinkedSkillDto, BattlePracticeCharacterHexaMatrixObjectDto, BattlePracticeCharacterHexaMatrixStatObjectDto, BattlePracticeCharacterHexaStatCoreDto, BattlePracticeCharacterHyperStatDto, BattlePracticeCharacterHyperStatObjectDto, BattlePracticeCharacterInfoDto, BattlePracticeCharacterItemAddOptionDto, BattlePracticeCharacterItemBaseOptionDto, BattlePracticeCharacterItemDragonEquipmentDto, BattlePracticeCharacterItemEquipmentDto, BattlePracticeCharacterItemEquipmentObjectDto, BattlePracticeCharacterItemEtcOptionDto, BattlePracticeCharacterItemExceptionalOptionDto, BattlePracticeCharacterItemMechanicEquipmentDto, BattlePracticeCharacterItemObjectDto, BattlePracticeCharacterItemStarforceOptionDto, BattlePracticeCharacterItemTitleDto, BattlePracticeCharacterItemTotalOptionDto, BattlePracticeCharacterLinkSkillObjectDto, BattlePracticeCharacterOtherStatDetailDto, BattlePracticeCharacterOtherStatDto, BattlePracticeCharacterOtherStatInfoDto, BattlePracticeCharacterPetAutoSkillDto, BattlePracticeCharacterPetEquipmentDto, BattlePracticeCharacterPetEquipmentItemOptionDto, BattlePracticeCharacterPetObjectDto, BattlePracticeCharacterPropensityDto, BattlePracticeCharacterRingReserveSkillObjectDto, BattlePracticeCharacterSetEffectDto, BattlePracticeCharacterSetEffectInfoDto, BattlePracticeCharacterSetEffectObjectDto, BattlePracticeCharacterSkillInfoDto, BattlePracticeCharacterSkillObjectDto, BattlePracticeCharacterStatDto, BattlePracticeCharacterSymbolDto, BattlePracticeCharacterSymbolStatDto, BattlePracticeCharacterVCoreDto, BattlePracticeCharacterVMatrixObjectDto, BattlePracticeGuildObjectDto, BattlePracticeGuildSkillDto, BattlePracticeUnionArtifactEffectDto, BattlePracticeUnionArtifactObjectDto, BattlePracticeUnionChampionBadgeDto, BattlePracticeUnionChampionObjectDto, BattlePracticeUnionRaiderObjectDto } from './dto/battlePractice/battlePracticeCharacterInfo.js';
|
|
3
|
+
export { BattlePracticeCharacterAbilityInfoDto, BattlePracticeCharacterAbilityObjectDto, BattlePracticeCharacterBasicDto, BattlePracticeCharacterBasicStatDto, BattlePracticeCharacterCashItemEquipmentDto, BattlePracticeCharacterCashItemObjectDto, BattlePracticeCharacterCashItemOptionDto, BattlePracticeCharacterFinalStatDto, BattlePracticeCharacterHexaCoreEquipmentDto, BattlePracticeCharacterHexaCoreObjectDto, BattlePracticeCharacterHexaLinkedSkillDto, BattlePracticeCharacterHexaMatrixObjectDto, BattlePracticeCharacterHexaMatrixStatObjectDto, BattlePracticeCharacterHexaStatCoreDto, BattlePracticeCharacterHyperStatDto, BattlePracticeCharacterHyperStatObjectDto, BattlePracticeCharacterInfoDto, BattlePracticeCharacterItemAddOptionDto, BattlePracticeCharacterItemBaseOptionDto, BattlePracticeCharacterItemDragonEquipmentDto, BattlePracticeCharacterItemEquipmentDto, BattlePracticeCharacterItemEquipmentObjectDto, BattlePracticeCharacterItemEtcOptionDto, BattlePracticeCharacterItemExceptionalOptionDto, BattlePracticeCharacterItemMechanicEquipmentDto, BattlePracticeCharacterItemObjectDto, BattlePracticeCharacterItemStarforceOptionDto, BattlePracticeCharacterItemTitleDto, BattlePracticeCharacterItemTotalOptionDto, BattlePracticeCharacterLinkSkillObjectDto, BattlePracticeCharacterOtherStatDetailDto, BattlePracticeCharacterOtherStatDto, BattlePracticeCharacterOtherStatInfoDto, BattlePracticeCharacterPetAutoSkillDto, BattlePracticeCharacterPetEquipmentDto, BattlePracticeCharacterPetEquipmentItemOptionDto, BattlePracticeCharacterPetObjectDto, BattlePracticeCharacterPetiteLunaPetSkillDto, BattlePracticeCharacterPropensityDto, BattlePracticeCharacterRingReserveSkillObjectDto, BattlePracticeCharacterSetEffectDto, BattlePracticeCharacterSetEffectInfoDto, BattlePracticeCharacterSetEffectObjectDto, BattlePracticeCharacterSkillInfoDto, BattlePracticeCharacterSkillObjectDto, BattlePracticeCharacterStatDto, BattlePracticeCharacterSymbolDto, BattlePracticeCharacterSymbolStatDto, BattlePracticeCharacterVCoreDto, BattlePracticeCharacterVMatrixObjectDto, BattlePracticeGuildObjectDto, BattlePracticeGuildSkillDto, BattlePracticeUnionArtifactEffectDto, BattlePracticeUnionArtifactObjectDto, BattlePracticeUnionChampionBadgeDto, BattlePracticeUnionChampionObjectDto, BattlePracticeUnionRaiderObjectDto } from './dto/battlePractice/battlePracticeCharacterInfo.js';
|
|
4
4
|
export { BattlePracticeReplayIdDto, BattlePracticeReplayIdInfoDto } from './dto/battlePractice/battlePracticeReplayId.js';
|
|
5
5
|
export { BattlePracticeResultDto, BattlePracticeSkillStatisticDto } from './dto/battlePractice/battlePracticeResult.js';
|
|
6
6
|
export { BattlePracticeSkillTimelineDto, BattlePracticeSkillTimelineEventDto } from './dto/battlePractice/battlePracticeSkillTimeline.js';
|
|
@@ -15,10 +15,10 @@ export { CharacterHexaMatrixDto, CharacterHexaMatrixEquipmentDto, CharacterHexaM
|
|
|
15
15
|
export { CharacterHexaMatrixStatCoreDto, CharacterHexaMatrixStatDto } from './dto/character/characterHexaMatrixStat.js';
|
|
16
16
|
export { CharacterHyperStatDto, CharacterHyperStatPresetDto } from './dto/character/characterHyperStat.js';
|
|
17
17
|
export { CharacterImageDto } from './dto/character/characterImage.js';
|
|
18
|
-
export { CharacterItemEquipmentAddOptionDto, CharacterItemEquipmentBaseOptionDto, CharacterItemEquipmentDragonInfoDto, CharacterItemEquipmentDto, CharacterItemEquipmentEtcOptionDto, CharacterItemEquipmentExceptionalOptionDto, CharacterItemEquipmentInfoDto, CharacterItemEquipmentMechanicInfoDto, CharacterItemEquipmentMedalShapeDto, CharacterItemEquipmentStarforceOptionDto, CharacterItemEquipmentTitleDto, CharacterItemEquipmentTotalOptionDto } from './dto/character/characterItemEquipment.js';
|
|
18
|
+
export { CharacterItemEquipmentAddOptionDto, CharacterItemEquipmentBaseOptionDto, CharacterItemEquipmentDragonInfoDto, CharacterItemEquipmentDto, CharacterItemEquipmentEtcOptionDto, CharacterItemEquipmentExceptionalOptionDto, CharacterItemEquipmentInfoDto, CharacterItemEquipmentMechanicInfoDto, CharacterItemEquipmentMedalShapeDto, CharacterItemEquipmentStarforceOptionDto, CharacterItemEquipmentTitleDto, CharacterItemEquipmentTitlePresetDto, CharacterItemEquipmentTotalOptionDto } from './dto/character/characterItemEquipment.js';
|
|
19
19
|
export { CharacterLinkSkillDto, CharacterLinkSkillInfoDto } from './dto/character/characterLinkSkill.js';
|
|
20
20
|
export { CharacterOtherStatDetailDto, CharacterOtherStatDto, CharacterOtherStatInfoDto } from './dto/character/characterOtherStat.js';
|
|
21
|
-
export { CharacterPetEquipmentAutoSkillDto, CharacterPetEquipmentDto, CharacterPetEquipmentItemDto, CharacterPetEquipmentItemOptionDto } from './dto/character/characterPetEquipment.js';
|
|
21
|
+
export { CharacterPetEquipmentAutoSkillDto, CharacterPetEquipmentDto, CharacterPetEquipmentItemDto, CharacterPetEquipmentItemOptionDto, CharacterPetEquipmentPetiteLunaPetSkillDto } from './dto/character/characterPetEquipment.js';
|
|
22
22
|
export { CharacterPopularityDto } from './dto/character/characterPopularity.js';
|
|
23
23
|
export { CharacterPropensityDto } from './dto/character/characterPropensity.js';
|
|
24
24
|
export { CharacterSetEffectDto, CharacterSetEffectInfoDto, CharacterSetEffectOptionFullDto, CharacterSetEffectSetDto } from './dto/character/characterSetEffect.js';
|
|
@@ -27,7 +27,7 @@ export { CharacterFinalStatDto, CharacterStatDto } from './dto/character/charact
|
|
|
27
27
|
export { CharacterSymbolEquipmentDto, CharacterSymbolEquipmentInfoDto } from './dto/character/characterSymbolEquipment.js';
|
|
28
28
|
export { CharacterRingExchangeSkillEquipmentDto } from './dto/character/characterRingExchangeSkillEquipment.js';
|
|
29
29
|
export { CharacterRingReserveSkillEquipmentDto } from './dto/character/characterRingReserveSkillEquipment.js';
|
|
30
|
-
export { CharacterVMatrixCodeEquipmentDto, CharacterVMatrixDto } from './dto/character/characterVMatrix.js';
|
|
30
|
+
export { CharacterVMatrixCodeEquipmentDto, CharacterVMatrixCoreEquipmentPresetDto, CharacterVMatrixDto } from './dto/character/characterVMatrix.js';
|
|
31
31
|
export { GuildDto } from './dto/guild/guild.js';
|
|
32
32
|
export { GuildBasicDto, GuildSkillDto } from './dto/guild/guildBasic.js';
|
|
33
33
|
export { CubeHistoryDto, CubeHistoryResponseDto, CubeResultOptionDto } from './dto/history/cubeHistory.js';
|
|
@@ -47,10 +47,11 @@ export { GuildRankingDto, GuildRankingResponseDto } from './dto/ranking/guildRan
|
|
|
47
47
|
export { OverallRankingDto, OverallRankingResponseDto } from './dto/ranking/overallRanking.js';
|
|
48
48
|
export { TheSeedRankingDto, TheSeedRankingResponseDto } from './dto/ranking/theSeedRanking.js';
|
|
49
49
|
export { UnionRankingDto, UnionRankingResponseDto } from './dto/ranking/unionRanking.js';
|
|
50
|
+
export { SchedulerBossContentDto, SchedulerCharacterStateDto, SchedulerDailyContentDto, SchedulerWeeklyContentDto } from './dto/scheduler/schedulerCharacterState.js';
|
|
50
51
|
export { UnionDto } from './dto/union/union.js';
|
|
51
52
|
export { UnionArtifactCrystalDto, UnionArtifactDto, UnionArtifactEffectDto } from './dto/union/unionArtifact.js';
|
|
52
53
|
export { UnionChampionBadgeInfoDto, UnionChampionDto, UnionChampionInfoDto } from './dto/union/unionChampion.js';
|
|
53
|
-
export { UnionRaiderBlockControlPointDto, UnionRaiderBlockDto, UnionRaiderBlockPositionDto, UnionRaiderDto, UnionRaiderInnerStatDto, UnionRaiderPresetDto } from './dto/union/unionRaider.js';
|
|
54
|
+
export { UnionRaiderBlockControlPointDto, UnionRaiderBlockDto, UnionRaiderBlockPositionDto, UnionRaiderDto, UnionRaiderInnerStatDto, UnionRaiderPresetDto, UnionRaiderStateStatPresetDto } from './dto/union/unionRaider.js';
|
|
54
55
|
export { AchievementAccountListDto, AchievementAchieveDto, AchievementDto } from './dto/user/achievement.js';
|
|
55
56
|
export { CharacterListAccountCharacterDto, CharacterListAccountDto, CharacterListDto } from './dto/user/characterList.js';
|
|
56
57
|
export { InspectionInfoDto } from './dto/inspectionInfo.js';
|
|
@@ -35,6 +35,8 @@ import { CubeHistoryResponseDto } from './dto/history/cubeHistory.js';
|
|
|
35
35
|
import { PotentialHistoryResponseDto } from './dto/history/potentialHistory.js';
|
|
36
36
|
import { StarforceHistoryResponseDto } from './dto/history/starforceHistory.js';
|
|
37
37
|
import { InspectionInfoDto } from './dto/inspectionInfo.js';
|
|
38
|
+
import { removeQuery } from '../common/lib.js';
|
|
39
|
+
import { MapleStoryApi as MapleStoryApi$1 } from '../common/mapleStoryApi.js';
|
|
38
40
|
import { CashshopNoticeDetailDto } from './dto/notice/cashshopNoticeDetail.js';
|
|
39
41
|
import { CashshopNoticeListDto } from './dto/notice/cashshopNoticeList.js';
|
|
40
42
|
import { EventNoticeDetailDto } from './dto/notice/eventNoticeDetail.js';
|
|
@@ -49,6 +51,7 @@ import { GuildRankingResponseDto } from './dto/ranking/guildRanking.js';
|
|
|
49
51
|
import { OverallRankingResponseDto } from './dto/ranking/overallRanking.js';
|
|
50
52
|
import { TheSeedRankingResponseDto } from './dto/ranking/theSeedRanking.js';
|
|
51
53
|
import { UnionRankingResponseDto } from './dto/ranking/unionRanking.js';
|
|
54
|
+
import { SchedulerCharacterStateDto } from './dto/scheduler/schedulerCharacterState.js';
|
|
52
55
|
import { UnionDto } from './dto/union/union.js';
|
|
53
56
|
import { UnionArtifactDto } from './dto/union/unionArtifact.js';
|
|
54
57
|
import { UnionChampionDto } from './dto/union/unionChampion.js';
|
|
@@ -56,8 +59,6 @@ import { UnionRaiderDto } from './dto/union/unionRaider.js';
|
|
|
56
59
|
import { AchievementDto } from './dto/user/achievement.js';
|
|
57
60
|
import { CharacterListDto } from './dto/user/characterList.js';
|
|
58
61
|
import { CharacterImageAction, CharacterImageEmotion, CharacterImageWeaponMotion } from '../common/enum/characterImage.js';
|
|
59
|
-
import { removeQuery } from '../common/lib.js';
|
|
60
|
-
import { MapleStoryApi as MapleStoryApi$1 } from '../common/mapleStoryApi.js';
|
|
61
62
|
import { __exports as buffer } from '../../../_virtual/index.js_commonjs-exports.js';
|
|
62
63
|
|
|
63
64
|
/**
|
|
@@ -1150,6 +1151,29 @@ class MapleStoryApi extends MapleStoryApi$1 {
|
|
|
1150
1151
|
});
|
|
1151
1152
|
return new BattlePracticeCharacterInfoDto(data);
|
|
1152
1153
|
}
|
|
1154
|
+
//#endregion
|
|
1155
|
+
//#region 스케줄러 정보 조회
|
|
1156
|
+
/**
|
|
1157
|
+
* 캐릭터에 대한 스케줄러의 수행 현황 정보를 조회하는 API입니다.
|
|
1158
|
+
*
|
|
1159
|
+
* @param ocid 캐릭터 식별자
|
|
1160
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
1161
|
+
*/
|
|
1162
|
+
async getSchedulerCharacterState(ocid, dateOptions) {
|
|
1163
|
+
const path = `${this.subUrl}/v1/scheduler/character-state`;
|
|
1164
|
+
const date = dateOptions ? this.toDateString(dateOptions) : undefined;
|
|
1165
|
+
const query = {
|
|
1166
|
+
ocid: ocid,
|
|
1167
|
+
date: date,
|
|
1168
|
+
};
|
|
1169
|
+
const { data } = await this.client.get(path, {
|
|
1170
|
+
params: query,
|
|
1171
|
+
});
|
|
1172
|
+
if (this.isEmptyResponse(data)) {
|
|
1173
|
+
return null;
|
|
1174
|
+
}
|
|
1175
|
+
return new SchedulerCharacterStateDto(data);
|
|
1176
|
+
}
|
|
1153
1177
|
async getStarforceHistory(count, parameter) {
|
|
1154
1178
|
const path = `${this.subUrl}/v1/history/starforce`;
|
|
1155
1179
|
const query = {
|
|
@@ -1226,7 +1250,7 @@ class MapleStoryApi extends MapleStoryApi$1 {
|
|
|
1226
1250
|
/**
|
|
1227
1251
|
* 종합 랭킹 정보를 조회합니다.
|
|
1228
1252
|
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
|
|
1229
|
-
* - 오늘의 랭킹 정보는 오전 9시 경부터 조회가 가능합니다. 상황에 따라 시간이 더 소요될 수 있습니다.
|
|
1253
|
+
* - 오늘의 랭킹 정보는 오전 9시 30분 경부터 조회가 가능합니다. 상황에 따라 시간이 더 소요될 수 있습니다.
|
|
1230
1254
|
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
1231
1255
|
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
1232
1256
|
*
|
|
@@ -1236,7 +1260,7 @@ class MapleStoryApi extends MapleStoryApi$1 {
|
|
|
1236
1260
|
*/
|
|
1237
1261
|
async getOverallRanking(filterOptions, dateOptions = this.getProperDefaultDateOptions({
|
|
1238
1262
|
hour: 9,
|
|
1239
|
-
minute:
|
|
1263
|
+
minute: 30,
|
|
1240
1264
|
dateOffset: 0,
|
|
1241
1265
|
})) {
|
|
1242
1266
|
const path = `${this.subUrl}/v1/ranking/overall`;
|
|
@@ -1263,7 +1287,7 @@ class MapleStoryApi extends MapleStoryApi$1 {
|
|
|
1263
1287
|
/**
|
|
1264
1288
|
* 유니온 랭킹 정보를 조회합니다.
|
|
1265
1289
|
* - 2023년 12월 22일 데이터부터 조회할 수 있습니다.
|
|
1266
|
-
* - 오늘의 랭킹 정보는 오전 9시 경부터 조회가 가능합니다. 상황에 따라 시간이 더 소요될 수 있습니다.
|
|
1290
|
+
* - 오늘의 랭킹 정보는 오전 9시 30분 경부터 조회가 가능합니다. 상황에 따라 시간이 더 소요될 수 있습니다.
|
|
1267
1291
|
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
1268
1292
|
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
1269
1293
|
*
|
|
@@ -1272,7 +1296,7 @@ class MapleStoryApi extends MapleStoryApi$1 {
|
|
|
1272
1296
|
*/
|
|
1273
1297
|
async getUnionRanking(filterOptions, dateOptions = this.getProperDefaultDateOptions({
|
|
1274
1298
|
hour: 9,
|
|
1275
|
-
minute:
|
|
1299
|
+
minute: 30,
|
|
1276
1300
|
dateOffset: 0,
|
|
1277
1301
|
})) {
|
|
1278
1302
|
const path = `${this.subUrl}/v1/ranking/union`;
|
|
@@ -1297,7 +1321,7 @@ class MapleStoryApi extends MapleStoryApi$1 {
|
|
|
1297
1321
|
/**
|
|
1298
1322
|
* 길드 랭킹 정보를 조회합니다.
|
|
1299
1323
|
* - 2023년 12월 22일 데이터부터 조회할 수 있습니다.
|
|
1300
|
-
* - 오늘의 랭킹 정보는 오전 9시 경부터 조회가 가능합니다. 상황에 따라 시간이 더 소요될 수 있습니다.
|
|
1324
|
+
* - 오늘의 랭킹 정보는 오전 9시 30분 경부터 조회가 가능합니다. 상황에 따라 시간이 더 소요될 수 있습니다.
|
|
1301
1325
|
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
1302
1326
|
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
1303
1327
|
*
|
|
@@ -1306,7 +1330,7 @@ class MapleStoryApi extends MapleStoryApi$1 {
|
|
|
1306
1330
|
*/
|
|
1307
1331
|
async getGuildRanking(filterOptions, dateOptions = this.getProperDefaultDateOptions({
|
|
1308
1332
|
hour: 9,
|
|
1309
|
-
minute:
|
|
1333
|
+
minute: 30,
|
|
1310
1334
|
dateOffset: 0,
|
|
1311
1335
|
})) {
|
|
1312
1336
|
const path = `${this.subUrl}/v1/ranking/guild`;
|
|
@@ -1333,7 +1357,7 @@ class MapleStoryApi extends MapleStoryApi$1 {
|
|
|
1333
1357
|
/**
|
|
1334
1358
|
* 무릉도장 랭킹 정보를 조회합니다.
|
|
1335
1359
|
* - 2023년 12월 22일 데이터부터 조회할 수 있습니다.
|
|
1336
|
-
* - 오늘의 랭킹 정보는 오전 9시 경부터 조회가 가능합니다. 상황에 따라 시간이 더 소요될 수 있습니다.
|
|
1360
|
+
* - 오늘의 랭킹 정보는 오전 9시 30분 경부터 조회가 가능합니다. 상황에 따라 시간이 더 소요될 수 있습니다.
|
|
1337
1361
|
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
1338
1362
|
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
1339
1363
|
*
|
|
@@ -1342,7 +1366,7 @@ class MapleStoryApi extends MapleStoryApi$1 {
|
|
|
1342
1366
|
*/
|
|
1343
1367
|
async getDojangRanking(filterOptions, dateOptions = this.getProperDefaultDateOptions({
|
|
1344
1368
|
hour: 9,
|
|
1345
|
-
minute:
|
|
1369
|
+
minute: 30,
|
|
1346
1370
|
dateOffset: 0,
|
|
1347
1371
|
})) {
|
|
1348
1372
|
const path = `${this.subUrl}/v1/ranking/dojang`;
|
|
@@ -1370,7 +1394,7 @@ class MapleStoryApi extends MapleStoryApi$1 {
|
|
|
1370
1394
|
/**
|
|
1371
1395
|
* 더 시드 랭킹 정보를 조회합니다.
|
|
1372
1396
|
* - 2023년 12월 22일 데이터부터 조회할 수 있습니다.
|
|
1373
|
-
* - 오늘의 랭킹 정보는 오전 9시 경부터 조회가 가능합니다. 상황에 따라 시간이 더 소요될 수 있습니다.
|
|
1397
|
+
* - 오늘의 랭킹 정보는 오전 9시 30분 경부터 조회가 가능합니다. 상황에 따라 시간이 더 소요될 수 있습니다.
|
|
1374
1398
|
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
1375
1399
|
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
1376
1400
|
*
|
|
@@ -1379,7 +1403,7 @@ class MapleStoryApi extends MapleStoryApi$1 {
|
|
|
1379
1403
|
*/
|
|
1380
1404
|
async getSeedRanking(filterOptions, dateOptions = this.getProperDefaultDateOptions({
|
|
1381
1405
|
hour: 9,
|
|
1382
|
-
minute:
|
|
1406
|
+
minute: 30,
|
|
1383
1407
|
dateOffset: 0,
|
|
1384
1408
|
})) {
|
|
1385
1409
|
const path = `${this.subUrl}/v1/ranking/theseed`;
|
|
@@ -1404,7 +1428,7 @@ class MapleStoryApi extends MapleStoryApi$1 {
|
|
|
1404
1428
|
/**
|
|
1405
1429
|
* 업적 랭킹 정보를 조회합니다.
|
|
1406
1430
|
* - 2023년 12월 22일 데이터부터 조회할 수 있습니다.
|
|
1407
|
-
* - 오늘의 랭킹 정보는 오전 9시 경부터 조회가 가능합니다. 상황에 따라 시간이 더 소요될 수 있습니다.
|
|
1431
|
+
* - 오늘의 랭킹 정보는 오전 9시 30분 경부터 조회가 가능합니다. 상황에 따라 시간이 더 소요될 수 있습니다.
|
|
1408
1432
|
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
1409
1433
|
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
1410
1434
|
*
|
|
@@ -1413,7 +1437,7 @@ class MapleStoryApi extends MapleStoryApi$1 {
|
|
|
1413
1437
|
*/
|
|
1414
1438
|
async getAchievementRanking(filterOptions, dateOptions = this.getProperDefaultDateOptions({
|
|
1415
1439
|
hour: 9,
|
|
1416
|
-
minute:
|
|
1440
|
+
minute: 30,
|
|
1417
1441
|
dateOffset: 0,
|
|
1418
1442
|
})) {
|
|
1419
1443
|
const path = `${this.subUrl}/v1/ranking/achievement`;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { MapleStoryFriendsApi as MapleStoryFriendsApi$1 } from '../common/mapleStoryFriendsApi.js';
|
|
1
2
|
import { CubeHistoryResponseDto } from './dto/history/cubeHistory.js';
|
|
2
3
|
import { PotentialHistoryResponseDto } from './dto/history/potentialHistory.js';
|
|
3
4
|
import { StarforceHistoryResponseDto } from './dto/history/starforceHistory.js';
|
|
4
5
|
import { AchievementDto } from './dto/user/achievement.js';
|
|
5
6
|
import { CharacterListDto } from './dto/user/characterList.js';
|
|
6
|
-
import { MapleStoryFriendsApi as MapleStoryFriendsApi$1 } from '../common/mapleStoryFriendsApi.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* MapleStory Friends API client for KMS<br>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import axios from 'axios';
|
|
2
2
|
import '../../../node_modules/buffer/index.js';
|
|
3
|
+
import { removeQuery } from '../common/lib.js';
|
|
3
4
|
import { CharacterDto } from './dto/character/character.js';
|
|
4
5
|
import { CharacterAbilityDto } from './dto/character/characterAbility.js';
|
|
5
6
|
import { CharacterAndroidEquipmentDto } from './dto/character/characterAndroidEquipment.js';
|
|
@@ -29,7 +30,6 @@ import { UnionChampionDto } from './dto/union/unionChampion.js';
|
|
|
29
30
|
import { UnionRaiderDto } from './dto/union/unionRaider.js';
|
|
30
31
|
import { CharacterImageAction, CharacterImageEmotion, CharacterImageWeaponMotion } from '../common/enum/characterImage.js';
|
|
31
32
|
import { MapleStoryApi as MapleStoryApi$1 } from '../common/mapleStoryApi.js';
|
|
32
|
-
import { removeQuery } from '../common/lib.js';
|
|
33
33
|
import { __exports as buffer } from '../../../_virtual/index.js_commonjs-exports.js';
|
|
34
34
|
|
|
35
35
|
/**
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 萌獸 資訊
|
|
3
|
+
*/
|
|
4
|
+
class CharacterFamiliarDto {
|
|
5
|
+
/**
|
|
6
|
+
* 要搜尋的日期 (TST,每日資料中的小時與分鐘將顯示為 0)
|
|
7
|
+
*/
|
|
8
|
+
date;
|
|
9
|
+
/**
|
|
10
|
+
* 萌獸 鏈路插槽資訊
|
|
11
|
+
*/
|
|
12
|
+
familiarLinkSlot;
|
|
13
|
+
/**
|
|
14
|
+
* 萌獸 細節
|
|
15
|
+
*/
|
|
16
|
+
familiarInfo;
|
|
17
|
+
constructor(obj) {
|
|
18
|
+
const { date, familiar_link_slot, familiar_info } = obj;
|
|
19
|
+
this.date = date ? new Date(date) : null;
|
|
20
|
+
this.familiarLinkSlot = familiar_link_slot.map((x) => new CharacterFamiliarLinkSlotDto(x));
|
|
21
|
+
this.familiarInfo = familiar_info.map((x) => new CharacterFamiliarInfoDto(x));
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* 萌獸 鏈路插槽資訊
|
|
26
|
+
*/
|
|
27
|
+
class CharacterFamiliarLinkSlotDto {
|
|
28
|
+
/**
|
|
29
|
+
* 插槽標識符 (1~3, vip)
|
|
30
|
+
*/
|
|
31
|
+
slotId;
|
|
32
|
+
/**
|
|
33
|
+
* 連結的 萌獸 名稱 (如果插槽中沒有任何關聯,則為 null)
|
|
34
|
+
*/
|
|
35
|
+
familiarName;
|
|
36
|
+
/**
|
|
37
|
+
* 已啟用還是未啟用 (true, false)
|
|
38
|
+
*/
|
|
39
|
+
activeFlag;
|
|
40
|
+
/**
|
|
41
|
+
* 截止日期
|
|
42
|
+
*/
|
|
43
|
+
expireDate;
|
|
44
|
+
constructor(obj) {
|
|
45
|
+
const { slot_id, familiar_name, active_flag, expire_date } = obj;
|
|
46
|
+
this.slotId = slot_id;
|
|
47
|
+
this.familiarName = familiar_name;
|
|
48
|
+
this.activeFlag = active_flag;
|
|
49
|
+
this.expireDate = expire_date ? new Date(expire_date) : null;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* 萌獸 細節
|
|
54
|
+
*/
|
|
55
|
+
class CharacterFamiliarInfoDto {
|
|
56
|
+
/**
|
|
57
|
+
* 萌獸 名稱
|
|
58
|
+
*/
|
|
59
|
+
familiarName;
|
|
60
|
+
/**
|
|
61
|
+
* 萌獸 暱稱
|
|
62
|
+
*/
|
|
63
|
+
familiarNickname;
|
|
64
|
+
/**
|
|
65
|
+
* 特別與否
|
|
66
|
+
*/
|
|
67
|
+
familiarSpecialFlag;
|
|
68
|
+
/**
|
|
69
|
+
* 萌獸 情況
|
|
70
|
+
*/
|
|
71
|
+
familiarState;
|
|
72
|
+
/**
|
|
73
|
+
* 等級
|
|
74
|
+
*/
|
|
75
|
+
familiarLevel;
|
|
76
|
+
/**
|
|
77
|
+
* 經驗
|
|
78
|
+
*/
|
|
79
|
+
familiarExp;
|
|
80
|
+
/**
|
|
81
|
+
* 具備的技能
|
|
82
|
+
*/
|
|
83
|
+
skillName;
|
|
84
|
+
/**
|
|
85
|
+
* 選項等級
|
|
86
|
+
*/
|
|
87
|
+
optionLevel;
|
|
88
|
+
/**
|
|
89
|
+
* 選項訊息
|
|
90
|
+
*/
|
|
91
|
+
option;
|
|
92
|
+
/**
|
|
93
|
+
* 等級
|
|
94
|
+
*/
|
|
95
|
+
familiarGrade;
|
|
96
|
+
/**
|
|
97
|
+
* 外觀名稱
|
|
98
|
+
*/
|
|
99
|
+
lookName;
|
|
100
|
+
/**
|
|
101
|
+
* 當前是否已被召喚
|
|
102
|
+
*/
|
|
103
|
+
summonedFlag;
|
|
104
|
+
/**
|
|
105
|
+
* 連結槽索引 (1~3, vip, not link)
|
|
106
|
+
*/
|
|
107
|
+
slotId;
|
|
108
|
+
constructor(obj) {
|
|
109
|
+
const { familiar_name, familiar_nickname, familiar_special_flag, familiar_state, familiar_level, familiar_exp, skill_name, option_level, option, familiar_grade, look_name, summoned_flag, slot_id, } = obj;
|
|
110
|
+
this.familiarName = familiar_name;
|
|
111
|
+
this.familiarNickname = familiar_nickname;
|
|
112
|
+
this.familiarSpecialFlag = familiar_special_flag;
|
|
113
|
+
this.familiarState = familiar_state;
|
|
114
|
+
this.familiarLevel = familiar_level;
|
|
115
|
+
this.familiarExp = familiar_exp;
|
|
116
|
+
this.skillName = skill_name;
|
|
117
|
+
this.optionLevel = option_level;
|
|
118
|
+
this.option = option.map((x) => new CharacterFamiliarInfoOptionDto(x));
|
|
119
|
+
this.familiarGrade = familiar_grade;
|
|
120
|
+
this.lookName = look_name;
|
|
121
|
+
this.summonedFlag = summoned_flag;
|
|
122
|
+
this.slotId = slot_id;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* 選項訊息
|
|
127
|
+
*/
|
|
128
|
+
class CharacterFamiliarInfoOptionDto {
|
|
129
|
+
/**
|
|
130
|
+
* 選項號
|
|
131
|
+
*/
|
|
132
|
+
optionNo;
|
|
133
|
+
/**
|
|
134
|
+
* 選項名稱
|
|
135
|
+
*/
|
|
136
|
+
optionName;
|
|
137
|
+
/**
|
|
138
|
+
* 選擇權價值
|
|
139
|
+
*/
|
|
140
|
+
optionValue;
|
|
141
|
+
constructor(obj) {
|
|
142
|
+
const { option_no, option_name, option_value } = obj;
|
|
143
|
+
this.optionNo = option_no;
|
|
144
|
+
this.optionName = option_name;
|
|
145
|
+
this.optionValue = option_value;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export { CharacterFamiliarDto, CharacterFamiliarInfoDto, CharacterFamiliarInfoOptionDto, CharacterFamiliarLinkSlotDto };
|
|
@@ -56,6 +56,10 @@ class CharacterPetEquipmentDto extends CharacterPetEquipmentDto$1 {
|
|
|
56
56
|
* 寵物 1 外型圖示
|
|
57
57
|
*/
|
|
58
58
|
pet1AppearanceIcon;
|
|
59
|
+
/**
|
|
60
|
+
* 寵物1 潛在的
|
|
61
|
+
*/
|
|
62
|
+
pet1Potential;
|
|
59
63
|
/**
|
|
60
64
|
* 寵物 2 名稱
|
|
61
65
|
*/
|
|
@@ -104,6 +108,10 @@ class CharacterPetEquipmentDto extends CharacterPetEquipmentDto$1 {
|
|
|
104
108
|
* 寵物 2 外型圖示
|
|
105
109
|
*/
|
|
106
110
|
pet2AppearanceIcon;
|
|
111
|
+
/**
|
|
112
|
+
* 寵物2 潛在的
|
|
113
|
+
*/
|
|
114
|
+
pet2Potential;
|
|
107
115
|
/**
|
|
108
116
|
* 寵物 3 名稱
|
|
109
117
|
*/
|
|
@@ -152,9 +160,13 @@ class CharacterPetEquipmentDto extends CharacterPetEquipmentDto$1 {
|
|
|
152
160
|
* 寵物 3 外型圖示
|
|
153
161
|
*/
|
|
154
162
|
pet3AppearanceIcon;
|
|
163
|
+
/**
|
|
164
|
+
* 寵物3 潛在的
|
|
165
|
+
*/
|
|
166
|
+
pet3Potential;
|
|
155
167
|
constructor(obj) {
|
|
156
168
|
super();
|
|
157
|
-
const { date, pet_1_name, pet_1_nickname, pet_1_icon, pet_1_description, pet_1_equipment, pet_1_auto_skill, pet_1_pet_type, pet_1_skill, pet_1_date_expire, pet_1_appearance, pet_1_appearance_icon, pet_2_name, pet_2_nickname, pet_2_icon, pet_2_description, pet_2_equipment, pet_2_auto_skill, pet_2_pet_type, pet_2_skill, pet_2_date_expire, pet_2_appearance, pet_2_appearance_icon, pet_3_name, pet_3_nickname, pet_3_icon, pet_3_description, pet_3_equipment, pet_3_auto_skill, pet_3_pet_type, pet_3_skill, pet_3_date_expire, pet_3_appearance, pet_3_appearance_icon, } = obj;
|
|
169
|
+
const { date, pet_1_name, pet_1_nickname, pet_1_icon, pet_1_description, pet_1_equipment, pet_1_auto_skill, pet_1_pet_type, pet_1_skill, pet_1_date_expire, pet_1_appearance, pet_1_appearance_icon, pet_1_potential, pet_2_name, pet_2_nickname, pet_2_icon, pet_2_description, pet_2_equipment, pet_2_auto_skill, pet_2_pet_type, pet_2_skill, pet_2_date_expire, pet_2_appearance, pet_2_appearance_icon, pet_2_potential, pet_3_name, pet_3_nickname, pet_3_icon, pet_3_description, pet_3_equipment, pet_3_auto_skill, pet_3_pet_type, pet_3_skill, pet_3_date_expire, pet_3_appearance, pet_3_appearance_icon, pet_3_potential, } = obj;
|
|
158
170
|
this.date = date ? new Date(date) : null;
|
|
159
171
|
this.pet1Name = pet_1_name;
|
|
160
172
|
this.pet1Nickname = pet_1_nickname;
|
|
@@ -170,6 +182,7 @@ class CharacterPetEquipmentDto extends CharacterPetEquipmentDto$1 {
|
|
|
170
182
|
this.pet1Skill = pet_1_skill;
|
|
171
183
|
this.pet1Appearance = pet_1_appearance;
|
|
172
184
|
this.pet1AppearanceIcon = pet_1_appearance_icon;
|
|
185
|
+
this.pet1Potential = pet_1_potential.map((potential) => new CharacterPetEquipmentPotentialDto(potential));
|
|
173
186
|
this.pet2Name = pet_2_name;
|
|
174
187
|
this.pet2Nickname = pet_2_nickname;
|
|
175
188
|
this.pet2Icon = pet_2_icon;
|
|
@@ -184,6 +197,7 @@ class CharacterPetEquipmentDto extends CharacterPetEquipmentDto$1 {
|
|
|
184
197
|
this.pet2Skill = pet_2_skill;
|
|
185
198
|
this.pet2Appearance = pet_2_appearance;
|
|
186
199
|
this.pet2AppearanceIcon = pet_2_appearance_icon;
|
|
200
|
+
this.pet2Potential = pet_2_potential.map((potential) => new CharacterPetEquipmentPotentialDto(potential));
|
|
187
201
|
this.pet3Name = pet_3_name;
|
|
188
202
|
this.pet3Nickname = pet_3_nickname;
|
|
189
203
|
this.pet3Icon = pet_3_icon;
|
|
@@ -198,6 +212,7 @@ class CharacterPetEquipmentDto extends CharacterPetEquipmentDto$1 {
|
|
|
198
212
|
this.pet3Skill = pet_3_skill;
|
|
199
213
|
this.pet3Appearance = pet_3_appearance;
|
|
200
214
|
this.pet3AppearanceIcon = pet_3_appearance_icon;
|
|
215
|
+
this.pet3Potential = pet_3_potential.map((potential) => new CharacterPetEquipmentPotentialDto(potential));
|
|
201
216
|
if (pet_1_date_expire === 'expired') {
|
|
202
217
|
this.pet1Expired = true;
|
|
203
218
|
}
|
|
@@ -321,5 +336,33 @@ class CharacterPetEquipmentItemDto extends CharacterPetEquipmentItemDto$1 {
|
|
|
321
336
|
this.itemShapeIcon = item_shape_icon;
|
|
322
337
|
}
|
|
323
338
|
}
|
|
339
|
+
/**
|
|
340
|
+
* 寵物 潛在的
|
|
341
|
+
*/
|
|
342
|
+
class CharacterPetEquipmentPotentialDto {
|
|
343
|
+
/**
|
|
344
|
+
* 潛在的 步 (1~3, 0:停用)
|
|
345
|
+
*/
|
|
346
|
+
potentialStep;
|
|
347
|
+
/**
|
|
348
|
+
* 潛在的 類型
|
|
349
|
+
*/
|
|
350
|
+
potentialType;
|
|
351
|
+
/**
|
|
352
|
+
* 潛在的 增加 (對於攻擊力/魔法攻擊力以外的其他潛在能力類型,百分比)
|
|
353
|
+
*/
|
|
354
|
+
potentialIncrease1;
|
|
355
|
+
/**
|
|
356
|
+
* 潛在的 增加 2 (如果潛在能力類型為攻擊力/魔法攻擊力,則攻擊力分配給 potential_increase_1,魔法攻擊力分配給 potential_increase_2;如果潛在能力類型為最大生命值/最大魔法值,則最大生命值分配給 potential_increase_1,最大魔法值分配給 potential_increase_2。)
|
|
357
|
+
*/
|
|
358
|
+
potentialIncrease2;
|
|
359
|
+
constructor(obj) {
|
|
360
|
+
const { potential_step, potential_type, potential_increase1, potential_increase2, } = obj;
|
|
361
|
+
this.potentialStep = potential_step;
|
|
362
|
+
this.potentialType = potential_type;
|
|
363
|
+
this.potentialIncrease1 = potential_increase1;
|
|
364
|
+
this.potentialIncrease2 = potential_increase2;
|
|
365
|
+
}
|
|
366
|
+
}
|
|
324
367
|
|
|
325
|
-
export { CharacterPetEquipmentAutoSkillDto, CharacterPetEquipmentDto, CharacterPetEquipmentItemDto, CharacterPetEquipmentItemOptionDto };
|
|
368
|
+
export { CharacterPetEquipmentAutoSkillDto, CharacterPetEquipmentDto, CharacterPetEquipmentItemDto, CharacterPetEquipmentItemOptionDto, CharacterPetEquipmentPotentialDto };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import axios from 'axios';
|
|
2
2
|
import '../../../node_modules/buffer/index.js';
|
|
3
|
+
import { removeQuery } from '../common/lib.js';
|
|
3
4
|
import { CharacterDto } from './dto/character/character.js';
|
|
4
5
|
import { CharacterAbilityDto } from './dto/character/characterAbility.js';
|
|
5
6
|
import { CharacterAndroidEquipmentDto } from './dto/character/characterAndroidEquipment.js';
|
|
@@ -7,6 +8,7 @@ import { CharacterBasicDto } from './dto/character/characterBasic.js';
|
|
|
7
8
|
import { CharacterBeautyEquipmentDto } from './dto/character/characterBeautyEquipment.js';
|
|
8
9
|
import { CharacterCashItemEquipmentDto } from './dto/character/characterCashItemEquipment.js';
|
|
9
10
|
import { CharacterDojangDto } from './dto/character/characterDojang.js';
|
|
11
|
+
import { CharacterFamiliarDto } from './dto/character/characterFamiliar.js';
|
|
10
12
|
import { CharacterHexaMatrixDto } from './dto/character/characterHexaMatrix.js';
|
|
11
13
|
import { CharacterHexaMatrixStatDto } from './dto/character/characterHexaMatrixStat.js';
|
|
12
14
|
import { CharacterHyperStatDto } from './dto/character/characterHyperStat.js';
|
|
@@ -29,7 +31,6 @@ import { UnionChampionDto } from './dto/union/unionChampion.js';
|
|
|
29
31
|
import { UnionRaiderDto } from './dto/union/unionRaider.js';
|
|
30
32
|
import { CharacterImageAction, CharacterImageEmotion, CharacterImageWeaponMotion } from '../common/enum/characterImage.js';
|
|
31
33
|
import { MapleStoryApi as MapleStoryApi$1 } from '../common/mapleStoryApi.js';
|
|
32
|
-
import { removeQuery } from '../common/lib.js';
|
|
33
34
|
import { __exports as buffer } from '../../../_virtual/index.js_commonjs-exports.js';
|
|
34
35
|
|
|
35
36
|
/**
|
|
@@ -717,6 +718,37 @@ class MapleStoryApi extends MapleStoryApi$1 {
|
|
|
717
718
|
}
|
|
718
719
|
return new CharacterDojangDto(data);
|
|
719
720
|
}
|
|
721
|
+
/**
|
|
722
|
+
* 檢視萌獸資訊。
|
|
723
|
+
* - 楓之谷遊戲資料平均在 15 分鐘後即可使用。
|
|
724
|
+
* - 您可以從 2025 年 10 月 15 日起搜尋資料。
|
|
725
|
+
* - 您可以輸入所需日期以搜尋過往資料。前一日的資料將於翌日凌晨 2:00 起提供。(當您搜尋 10 月 15 日的資料時,將會擷取從 15 日 00:00 到 16 日 00:00 的資料。)
|
|
726
|
+
* - 由於遊戲內容變動,OCID 可能會有所變更。在更新以 OCID 為基礎的服務時,請務必留意。
|
|
727
|
+
* - 此 API 提供來自楓之谷台灣的資料。
|
|
728
|
+
* @param ocid 角色辨識器
|
|
729
|
+
* @param dateOptions 要搜尋的日期 (TST)
|
|
730
|
+
*/
|
|
731
|
+
async getCharacterFamiliar(ocid, dateOptions) {
|
|
732
|
+
const path = `${this.subUrl}/v1/character/familiar`;
|
|
733
|
+
const date = dateOptions
|
|
734
|
+
? this.toDateString(dateOptions, {
|
|
735
|
+
year: 2025,
|
|
736
|
+
month: 10,
|
|
737
|
+
day: 15,
|
|
738
|
+
})
|
|
739
|
+
: undefined;
|
|
740
|
+
const query = {
|
|
741
|
+
ocid: ocid,
|
|
742
|
+
date: date,
|
|
743
|
+
};
|
|
744
|
+
const { data } = await this.client.get(path, {
|
|
745
|
+
params: query,
|
|
746
|
+
});
|
|
747
|
+
if (this.isEmptyResponse(data)) {
|
|
748
|
+
return null;
|
|
749
|
+
}
|
|
750
|
+
return new CharacterFamiliarDto(data);
|
|
751
|
+
}
|
|
720
752
|
//#endregion
|
|
721
753
|
//#region 檢視聯盟資訊
|
|
722
754
|
/**
|
|
@@ -6,13 +6,14 @@ export { CharacterBasicDto } from './dto/character/characterBasic.js';
|
|
|
6
6
|
export { CharacterBeautyEquipmentDto, CharacterBeautyEquipmentFaceDto, CharacterBeautyEquipmentHairDto, CharacterBeautyEquipmentSkinDto } from './dto/character/characterBeautyEquipment.js';
|
|
7
7
|
export { CharacterCashItemEquipmentColoringPrismDto, CharacterCashItemEquipmentDto, CharacterCashItemEquipmentOptionDto, CharacterCashItemEquipmentPresetDto } from './dto/character/characterCashItemEquipment.js';
|
|
8
8
|
export { CharacterDojangDto } from './dto/character/characterDojang.js';
|
|
9
|
+
export { CharacterFamiliarDto, CharacterFamiliarInfoDto, CharacterFamiliarInfoOptionDto, CharacterFamiliarLinkSlotDto } from './dto/character/characterFamiliar.js';
|
|
9
10
|
export { CharacterHexaMatrixDto, CharacterHexaMatrixEquipmentDto, CharacterHexaMatrixEquipmentLinkedSkillDto } from './dto/character/characterHexaMatrix.js';
|
|
10
11
|
export { CharacterHexaMatrixStatCoreDto, CharacterHexaMatrixStatDto } from './dto/character/characterHexaMatrixStat.js';
|
|
11
12
|
export { CharacterHyperStatDto, CharacterHyperStatPresetDto } from './dto/character/characterHyperStat.js';
|
|
12
13
|
export { CharacterImageDto } from './dto/character/characterImage.js';
|
|
13
14
|
export { CharacterItemEquipmentAddOptionDto, CharacterItemEquipmentBaseOptionDto, CharacterItemEquipmentDragonInfoDto, CharacterItemEquipmentDto, CharacterItemEquipmentEtcOptionDto, CharacterItemEquipmentExceptionalOptionDto, CharacterItemEquipmentInfoDto, CharacterItemEquipmentMechanicInfoDto, CharacterItemEquipmentMedalShapeDto, CharacterItemEquipmentStarforceOptionDto, CharacterItemEquipmentTitleDto, CharacterItemEquipmentTotalOptionDto } from './dto/character/characterItemEquipment.js';
|
|
14
15
|
export { CharacterLinkSkillDto, CharacterLinkSkillInfoDto } from './dto/character/characterLinkSkill.js';
|
|
15
|
-
export { CharacterPetEquipmentAutoSkillDto, CharacterPetEquipmentDto, CharacterPetEquipmentItemDto, CharacterPetEquipmentItemOptionDto } from './dto/character/characterPetEquipment.js';
|
|
16
|
+
export { CharacterPetEquipmentAutoSkillDto, CharacterPetEquipmentDto, CharacterPetEquipmentItemDto, CharacterPetEquipmentItemOptionDto, CharacterPetEquipmentPotentialDto } from './dto/character/characterPetEquipment.js';
|
|
16
17
|
export { CharacterPopularityDto } from './dto/character/characterPopularity.js';
|
|
17
18
|
export { CharacterPropensityDto } from './dto/character/characterPropensity.js';
|
|
18
19
|
export { CharacterSetEffectDto, CharacterSetEffectInfoDto, CharacterSetEffectOptionFullDto, CharacterSetEffectSetDto } from './dto/character/characterSetEffect.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { __exports as base64Js } from '../../_virtual/index.js_commonjs-
|
|
2
|
-
export { __exports as default } from '../../_virtual/index.js_commonjs-
|
|
1
|
+
import { __exports as base64Js } from '../../_virtual/index.js_commonjs-exports2.js';
|
|
2
|
+
export { __exports as default } from '../../_virtual/index.js_commonjs-exports2.js';
|
|
3
3
|
|
|
4
4
|
base64Js.byteLength = byteLength;
|
|
5
5
|
base64Js.toByteArray = toByteArray;
|
|
@@ -2,8 +2,8 @@ import { __exports as buffer } from '../../_virtual/index.js_commonjs-exports.js
|
|
|
2
2
|
export { __exports as default } from '../../_virtual/index.js_commonjs-exports.js';
|
|
3
3
|
import '../base64-js/index.js';
|
|
4
4
|
import '../ieee754/index.js';
|
|
5
|
-
import { __exports as base64Js } from '../../_virtual/index.js_commonjs-
|
|
6
|
-
import { __exports as ieee754 } from '../../_virtual/index.js_commonjs-
|
|
5
|
+
import { __exports as base64Js } from '../../_virtual/index.js_commonjs-exports2.js';
|
|
6
|
+
import { __exports as ieee754 } from '../../_virtual/index.js_commonjs-exports3.js';
|
|
7
7
|
|
|
8
8
|
/*!
|
|
9
9
|
* The buffer module from node.js, for the browser.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { __exports as ieee754 } from '../../_virtual/index.js_commonjs-
|
|
2
|
-
export { __exports as default } from '../../_virtual/index.js_commonjs-
|
|
1
|
+
import { __exports as ieee754 } from '../../_virtual/index.js_commonjs-exports3.js';
|
|
2
|
+
export { __exports as default } from '../../_virtual/index.js_commonjs-exports3.js';
|
|
3
3
|
|
|
4
4
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
5
5
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "maplestory-openapi",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.11.0",
|
|
4
4
|
"description": "This JavaScript library enables the use of the MapleStory OpenAPI of Nexon.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"maplestory",
|
|
@@ -87,11 +87,11 @@
|
|
|
87
87
|
"prettier": "^3.1.1",
|
|
88
88
|
"rollup": "2.66.1",
|
|
89
89
|
"rollup-plugin-terser": "7.0.2",
|
|
90
|
-
"ts-jest": "^29.
|
|
90
|
+
"ts-jest": "^29.4.11",
|
|
91
91
|
"ts-node": "^10.9.1",
|
|
92
92
|
"tslib": "^2.8.1",
|
|
93
93
|
"tsm": "2.2.1",
|
|
94
|
-
"typescript": "^
|
|
94
|
+
"typescript": "^6.0.3"
|
|
95
95
|
},
|
|
96
96
|
"engines": {
|
|
97
97
|
"node": ">=12"
|