maplestory-openapi 2.2.1 → 2.3.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 -1
- package/dist/index.js +233 -25
- package/dist/index.min.js +1 -1
- package/dist/index.mjs +230 -25
- package/package.json +1 -1
- package/types/index.d.ts +81 -78
- package/types/maplestory/api/dto/{characterAbilityDto.d.ts → character/characterAbilityDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterAbilityInfoDto.d.ts → character/characterAbilityInfoDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterAndroidCashItemEquipmentColoringPrismDto.d.ts → character/characterAndroidCashItemEquipmentColoringPrismDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterAndroidCashItemEquipmentDto.d.ts → character/characterAndroidCashItemEquipmentDto.d.ts} +6 -6
- package/types/maplestory/api/dto/{characterAndroidCashItemEquipmentOptionDto.d.ts → character/characterAndroidCashItemEquipmentOptionDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterAndroidEquipmentDto.d.ts → character/characterAndroidEquipmentDto.d.ts} +7 -7
- package/types/maplestory/api/dto/{characterAndroidEquipmentFaceDto.d.ts → character/characterAndroidEquipmentFaceDto.d.ts} +4 -4
- package/types/maplestory/api/dto/{characterAndroidEquipmentHairDto.d.ts → character/characterAndroidEquipmentHairDto.d.ts} +4 -4
- package/types/maplestory/api/dto/{characterBasicDto.d.ts → character/characterBasicDto.d.ts} +2 -2
- package/types/maplestory/api/dto/{characterBeautyEquipmentDto.d.ts → character/characterBeautyEquipmentDto.d.ts} +4 -4
- package/types/maplestory/api/dto/{characterBeautyEquipmentFaceDto.d.ts → character/characterBeautyEquipmentFaceDto.d.ts} +2 -2
- package/types/maplestory/api/dto/{characterBeautyEquipmentHairDto.d.ts → character/characterBeautyEquipmentHairDto.d.ts} +2 -2
- package/types/maplestory/api/dto/{characterCashItemEquipmentColoringPrismDto.d.ts → character/characterCashItemEquipmentColoringPrismDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterCashItemEquipmentDto.d.ts → character/characterCashItemEquipmentDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterCashItemEquipmentOptionDto.d.ts → character/characterCashItemEquipmentOptionDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterCashItemEquipmentPresetDto.d.ts → character/characterCashItemEquipmentPresetDto.d.ts} +6 -6
- package/types/maplestory/api/dto/{characterDojangDto.d.ts → character/characterDojangDto.d.ts} +2 -2
- package/types/maplestory/api/dto/{characterDto.d.ts → character/characterDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterHexaMatrixDto.d.ts → character/characterHexaMatrixDto.d.ts} +2 -2
- package/types/maplestory/api/dto/{characterHexaMatrixEquipmentDto.d.ts → character/characterHexaMatrixEquipmentDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterHexaMatrixEquipmentLinkedSkillDto.d.ts → character/characterHexaMatrixEquipmentLinkedSkillDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterHexaMatrixStatCoreDto.d.ts → character/characterHexaMatrixStatCoreDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterHexaMatrixStatDto.d.ts → character/characterHexaMatrixStatDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterHyperStatDto.d.ts → character/characterHyperStatDto.d.ts} +5 -5
- package/types/maplestory/api/dto/character/characterHyperStatPresetDto.d.ts +24 -0
- package/types/maplestory/api/dto/{characterItemEquipmentAddOptionDto.d.ts → character/characterItemEquipmentAddOptionDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterItemEquipmentBaseOptionDto.d.ts → character/characterItemEquipmentBaseOptionDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterItemEquipmentDto.d.ts → character/characterItemEquipmentDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterItemEquipmentEtcOptionDto.d.ts → character/characterItemEquipmentEtcOptionDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterItemEquipmentExceptionalOptionDto.d.ts → character/characterItemEquipmentExceptionalOptionDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterItemEquipmentInfoDto.d.ts → character/characterItemEquipmentInfoDto.d.ts} +14 -14
- package/types/maplestory/api/dto/{characterItemEquipmentStarforceOptionDto.d.ts → character/characterItemEquipmentStarforceOptionDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterItemEquipmentTitleDto.d.ts → character/characterItemEquipmentTitleDto.d.ts} +7 -3
- package/types/maplestory/api/dto/{characterItemEquipmentTotalOptionDto.d.ts → character/characterItemEquipmentTotalOptionDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterLinkSkillDto.d.ts → character/characterLinkSkillDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterLinkSkillInfoDto.d.ts → character/characterLinkSkillInfoDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterPetEquipmentAutoSkillDto.d.ts → character/characterPetEquipmentAutoSkillDto.d.ts} +5 -5
- package/types/maplestory/api/dto/{characterPetEquipmentDto.d.ts → character/characterPetEquipmentDto.d.ts} +4 -4
- package/types/maplestory/api/dto/{characterPetEquipmentItemDto.d.ts → character/characterPetEquipmentItemDto.d.ts} +4 -4
- package/types/maplestory/api/dto/{characterPetEquipmentItemOptionDto.d.ts → character/characterPetEquipmentItemOptionDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterPopularityDto.d.ts → character/characterPopularityDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterPropensityDto.d.ts → character/characterPropensityDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterSetEffectDto.d.ts → character/characterSetEffectDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterSetEffectInfoDto.d.ts → character/characterSetEffectInfoDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterSetEffectOptionInfoDto.d.ts → character/characterSetEffectOptionInfoDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterSkillDto.d.ts → character/characterSkillDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterSkillInfoDto.d.ts → character/characterSkillInfoDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterStatDto.d.ts → character/characterStatDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterSymbolEquipmentDto.d.ts → character/characterSymbolEquipmentDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterSymbolEquipmentInfoDto.d.ts → character/characterSymbolEquipmentInfoDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{characterVMatrixCoreEquipmentDto.d.ts → character/characterVMatrixCoreEquipmentDto.d.ts} +3 -3
- package/types/maplestory/api/dto/{characterVMatrixDto.d.ts → character/characterVMatrixDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{guildBasicDto.d.ts → guild/guildBasicDto.d.ts} +3 -3
- package/types/maplestory/api/dto/{guildDto.d.ts → guild/guildDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{guildSkillDto.d.ts → guild/guildSkillDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{cubeHistoryDto.d.ts → history/cubeHistoryDto.d.ts} +2 -2
- package/types/maplestory/api/dto/{cubeHistoryResponseDto.d.ts → history/cubeHistoryResponseDto.d.ts} +2 -2
- package/types/maplestory/api/dto/{cubeResultOptionDto.d.ts → history/cubeResultOptionDto.d.ts} +2 -2
- package/types/maplestory/api/dto/history/starforceEventDto.d.ts +24 -0
- package/types/maplestory/api/dto/history/starforceHistoryDto.d.ts +77 -0
- package/types/maplestory/api/dto/history/starforceHistoryResponseDto.d.ts +21 -0
- package/types/maplestory/api/dto/{achievementRankingDto.d.ts → ranking/achievementRankingDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{achievementRankingResponseDto.d.ts → ranking/achievementRankingResponseDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{dojangRankingDto.d.ts → ranking/dojangRankingDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{dojangRankingResponseDto.d.ts → ranking/dojangRankingResponseDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{guildRankingDto.d.ts → ranking/guildRankingDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{guildRankingResponseDto.d.ts → ranking/guildRankingResponseDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{overallRankingDto.d.ts → ranking/overallRankingDto.d.ts} +2 -2
- package/types/maplestory/api/dto/{overallRankingResponseDto.d.ts → ranking/overallRankingResponseDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{theSeedRankingDto.d.ts → ranking/theSeedRankingDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{theSeedRankingResponseDto.d.ts → ranking/theSeedRankingResponseDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{unionRankingDto.d.ts → ranking/unionRankingDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{unionRankingResponseDto.d.ts → ranking/unionRankingResponseDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{unionDto.d.ts → union/unionDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{unionRaiderBlockDto.d.ts → union/unionRaiderBlockDto.d.ts} +2 -2
- package/types/maplestory/api/dto/{unionRaiderBlockPositionDto.d.ts → union/unionRaiderBlockPositionDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{unionRaiderControlPointDto.d.ts → union/unionRaiderControlPointDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{unionRaiderDto.d.ts → union/unionRaiderDto.d.ts} +1 -1
- package/types/maplestory/api/dto/{unionRaiderInnerStatDto.d.ts → union/unionRaiderInnerStatDto.d.ts} +1 -1
- package/types/maplestory/api/mapleStoryApi.d.ts +58 -31
- package/types/maplestory/api/response/{characterAndroidEquipmentDtoBody.d.ts → character/characterAndroidEquipmentDtoBody.d.ts} +17 -17
- package/types/maplestory/api/response/{characterBasicDtoBody.d.ts → character/characterBasicDtoBody.d.ts} +1 -1
- package/types/maplestory/api/response/{characterBeautyEquipmentDtoBody.d.ts → character/characterBeautyEquipmentDtoBody.d.ts} +5 -5
- package/types/maplestory/api/response/{characterCashItemEquipmentDtoBody.d.ts → character/characterCashItemEquipmentDtoBody.d.ts} +5 -5
- package/types/maplestory/api/response/{characterDojangDtoBody.d.ts → character/characterDojangDtoBody.d.ts} +1 -1
- package/types/maplestory/api/response/character/characterHyperStatDtoBody.d.ts +19 -0
- package/types/maplestory/api/response/{characterItemEquipmentDtoBody.d.ts → character/characterItemEquipmentDtoBody.d.ts} +14 -14
- package/types/maplestory/api/response/{characterPetEquipmentDtoBody.d.ts → character/characterPetEquipmentDtoBody.d.ts} +10 -10
- package/types/maplestory/api/response/{characterVMatrixDtoBody.d.ts → character/characterVMatrixDtoBody.d.ts} +2 -2
- package/types/maplestory/api/response/{guildBasicDtoBody.d.ts → guild/guildBasicDtoBody.d.ts} +2 -2
- package/types/maplestory/api/response/{cubeHistoryResponseDtoBody.d.ts → history/cubeHistoryResponseDtoBody.d.ts} +1 -1
- package/types/maplestory/api/response/history/starforceEventDtoBody.d.ts +7 -0
- package/types/maplestory/api/response/history/starforceHistoryDtoBody.d.ts +21 -0
- package/types/maplestory/api/response/history/starforceHistoryResponseDtoBody.d.ts +7 -0
- package/types/maplestory/api/response/{overallRankingResponseDtoBody.d.ts → ranking/overallRankingResponseDtoBody.d.ts} +1 -1
- package/types/maplestory/api/dto/characterHyperStatInfoDto.d.ts +0 -24
- package/types/maplestory/api/response/characterHyperStatDtoBody.d.ts +0 -19
- /package/types/maplestory/api/response/{characterAbilityDtoBody.d.ts → character/characterAbilityDtoBody.d.ts} +0 -0
- /package/types/maplestory/api/response/{characterDtoBody.d.ts → character/characterDtoBody.d.ts} +0 -0
- /package/types/maplestory/api/response/{characterHexaMatrixDtoBody.d.ts → character/characterHexaMatrixDtoBody.d.ts} +0 -0
- /package/types/maplestory/api/response/{characterHexaMatrixStatDtoBody.d.ts → character/characterHexaMatrixStatDtoBody.d.ts} +0 -0
- /package/types/maplestory/api/response/{characterLinkSkillDtoBody.d.ts → character/characterLinkSkillDtoBody.d.ts} +0 -0
- /package/types/maplestory/api/response/{characterPopularityDtoBody.d.ts → character/characterPopularityDtoBody.d.ts} +0 -0
- /package/types/maplestory/api/response/{characterPropensityDtoBody.d.ts → character/characterPropensityDtoBody.d.ts} +0 -0
- /package/types/maplestory/api/response/{characterSetEffectDtoBody.d.ts → character/characterSetEffectDtoBody.d.ts} +0 -0
- /package/types/maplestory/api/response/{characterSkillDtoBody.d.ts → character/characterSkillDtoBody.d.ts} +0 -0
- /package/types/maplestory/api/response/{characterStatDtoBody.d.ts → character/characterStatDtoBody.d.ts} +0 -0
- /package/types/maplestory/api/response/{characterSymbolEquipmentDtoBody.d.ts → character/characterSymbolEquipmentDtoBody.d.ts} +0 -0
- /package/types/maplestory/api/response/{guildDtoBody.d.ts → guild/guildDtoBody.d.ts} +0 -0
- /package/types/maplestory/api/response/{cubeHistoryDtoBody.d.ts → history/cubeHistoryDtoBody.d.ts} +0 -0
- /package/types/maplestory/api/response/{cubeResultOptionDtoBody.d.ts → history/cubeResultOptionDtoBody.d.ts} +0 -0
- /package/types/maplestory/api/response/{achievementRankingResponseDtoBody.d.ts → ranking/achievementRankingResponseDtoBody.d.ts} +0 -0
- /package/types/maplestory/api/response/{dojangRankingResponseDtoBody.d.ts → ranking/dojangRankingResponseDtoBody.d.ts} +0 -0
- /package/types/maplestory/api/response/{guildRankingResponseDtoBody.d.ts → ranking/guildRankingResponseDtoBody.d.ts} +0 -0
- /package/types/maplestory/api/response/{rankingResponseDtoBody.d.ts → ranking/rankingResponseDtoBody.d.ts} +0 -0
- /package/types/maplestory/api/response/{theSeedRankingResponseDtoBody.d.ts → ranking/theSeedRankingResponseDtoBody.d.ts} +0 -0
- /package/types/maplestory/api/response/{unionRankingResponseDtoBody.d.ts → ranking/unionRankingResponseDtoBody.d.ts} +0 -0
- /package/types/maplestory/api/response/{unionDtoBody.d.ts → union/unionDtoBody.d.ts} +0 -0
- /package/types/maplestory/api/response/{unionRaiderDtoBody.d.ts → union/unionRaiderDtoBody.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Packages written in other languages can be found [HERE](https://github.com/Spira
|
|
|
13
13
|
Install the latest version of the JavaScript/TypeScript library in your npm project:
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
npm install maplestory-openapi@2.
|
|
16
|
+
npm install maplestory-openapi@2.3.0 # Replace with the latest version
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
## Usage
|
package/dist/index.js
CHANGED
|
@@ -236,11 +236,14 @@ class CharacterAndroidCashItemEquipmentDto {
|
|
|
236
236
|
this.cashItemIcon = cash_item_icon;
|
|
237
237
|
this.cashItemDescription = cash_item_description;
|
|
238
238
|
this.cashItemOption = cash_item_option.map((option) => new CharacterAndroidCashItemEquipmentOptionDto(option));
|
|
239
|
-
this.dateExpire = new Date(date_expire);
|
|
240
|
-
this.dateOptionExpire =
|
|
239
|
+
this.dateExpire = date_expire ? new Date(date_expire) : null;
|
|
240
|
+
this.dateOptionExpire = date_option_expire
|
|
241
|
+
? new Date(date_option_expire)
|
|
242
|
+
: null;
|
|
241
243
|
this.cashItemLabel = cash_item_label;
|
|
242
|
-
this.cashItemColoringPrism =
|
|
243
|
-
new CharacterAndroidCashItemEquipmentColoringPrismDto(cash_item_coloring_prism)
|
|
244
|
+
this.cashItemColoringPrism = cash_item_coloring_prism
|
|
245
|
+
? new CharacterAndroidCashItemEquipmentColoringPrismDto(cash_item_coloring_prism)
|
|
246
|
+
: null;
|
|
244
247
|
}
|
|
245
248
|
}
|
|
246
249
|
|
|
@@ -357,7 +360,7 @@ class CharacterAndroidEquipmentDto {
|
|
|
357
360
|
this.androidFace = new CharacterAndroidEquipmentFaceDto(android_face);
|
|
358
361
|
this.androidSkinName = android_skin_name;
|
|
359
362
|
this.androidCashItemEquipment = android_cash_item_equipment.map((equipment) => new CharacterAndroidCashItemEquipmentDto(equipment));
|
|
360
|
-
this.androidEarSensorClipFlag = android_ear_sensor_clip_flag;
|
|
363
|
+
this.androidEarSensorClipFlag = android_ear_sensor_clip_flag ?? null;
|
|
361
364
|
}
|
|
362
365
|
}
|
|
363
366
|
|
|
@@ -531,8 +534,12 @@ class CharacterBeautyEquipmentDto {
|
|
|
531
534
|
this.characterHair = new CharacterBeautyEquipmentHairDto(character_hair);
|
|
532
535
|
this.characterFace = new CharacterBeautyEquipmentFaceDto(character_face);
|
|
533
536
|
this.characterSkinName = character_skin_name;
|
|
534
|
-
this.additionalCharacterHair =
|
|
535
|
-
|
|
537
|
+
this.additionalCharacterHair = additional_character_hair
|
|
538
|
+
? new CharacterBeautyEquipmentHairDto(additional_character_hair)
|
|
539
|
+
: null;
|
|
540
|
+
this.additionalCharacterFace = additional_character_face
|
|
541
|
+
? new CharacterBeautyEquipmentFaceDto(additional_character_face)
|
|
542
|
+
: null;
|
|
536
543
|
this.additionalCharacterSkinName = additional_character_skin_name;
|
|
537
544
|
}
|
|
538
545
|
}
|
|
@@ -644,7 +651,9 @@ class CharacterCashItemEquipmentPresetDto {
|
|
|
644
651
|
this.dateExpire = date_expire;
|
|
645
652
|
this.dateOptionExpire = date_option_expire;
|
|
646
653
|
this.cashItemLabel = cash_item_label;
|
|
647
|
-
this.cashItemColoringPrism =
|
|
654
|
+
this.cashItemColoringPrism = cash_item_coloring_prism
|
|
655
|
+
? new CharacterCashItemEquipmentColoringPrismDto(cash_item_coloring_prism)
|
|
656
|
+
: null;
|
|
648
657
|
this.basePresetItemDisableFlag = base_preset_item_disable_flag;
|
|
649
658
|
}
|
|
650
659
|
}
|
|
@@ -744,7 +753,9 @@ class CharacterDojangDto {
|
|
|
744
753
|
this.characterClass = character_class;
|
|
745
754
|
this.worldName = world_name;
|
|
746
755
|
this.dojangBestFloor = dojang_best_floor;
|
|
747
|
-
this.dateDojangRecord =
|
|
756
|
+
this.dateDojangRecord = date_dojang_record
|
|
757
|
+
? new Date(date_dojang_record)
|
|
758
|
+
: null;
|
|
748
759
|
this.dojangBestTime = dojang_best_time;
|
|
749
760
|
}
|
|
750
761
|
}
|
|
@@ -904,9 +915,9 @@ class CharacterHexaMatrixStatDto {
|
|
|
904
915
|
}
|
|
905
916
|
|
|
906
917
|
/**
|
|
907
|
-
* 캐릭터 하이퍼 스탯
|
|
918
|
+
* 캐릭터 하이퍼 스탯 프리셋 정보
|
|
908
919
|
*/
|
|
909
|
-
class
|
|
920
|
+
class CharacterHyperStatPresetDto {
|
|
910
921
|
/**
|
|
911
922
|
* 스탯 종류
|
|
912
923
|
*/
|
|
@@ -982,11 +993,11 @@ class CharacterHyperStatDto {
|
|
|
982
993
|
this.characterClass = character_class;
|
|
983
994
|
this.usePresetNo = use_preset_no;
|
|
984
995
|
this.useAvailableHyperStat = use_available_hyper_stat;
|
|
985
|
-
this.hyperStatPreset1 = hyper_stat_preset_1.map((preset) => new
|
|
996
|
+
this.hyperStatPreset1 = hyper_stat_preset_1.map((preset) => new CharacterHyperStatPresetDto(preset));
|
|
986
997
|
this.hyperStatPreset1RemainPoint = hyper_stat_preset_1_remain_point;
|
|
987
|
-
this.hyperStatPreset2 = hyper_stat_preset_2.map((preset) => new
|
|
998
|
+
this.hyperStatPreset2 = hyper_stat_preset_2.map((preset) => new CharacterHyperStatPresetDto(preset));
|
|
988
999
|
this.hyperStatPreset2RemainPoint = hyper_stat_preset_2_remain_point;
|
|
989
|
-
this.hyperStatPreset3 = hyper_stat_preset_3.map((preset) => new
|
|
1000
|
+
this.hyperStatPreset3 = hyper_stat_preset_3.map((preset) => new CharacterHyperStatPresetDto(preset));
|
|
990
1001
|
this.hyperStatPreset3RemainPoint = hyper_stat_preset_3_remain_point;
|
|
991
1002
|
}
|
|
992
1003
|
}
|
|
@@ -1477,7 +1488,7 @@ class CharacterItemEquipmentInfoDto {
|
|
|
1477
1488
|
/**
|
|
1478
1489
|
* 전용 성별
|
|
1479
1490
|
*/
|
|
1480
|
-
|
|
1491
|
+
itemGender;
|
|
1481
1492
|
/**
|
|
1482
1493
|
* 장비 최종 옵션
|
|
1483
1494
|
*/
|
|
@@ -1591,7 +1602,7 @@ class CharacterItemEquipmentInfoDto {
|
|
|
1591
1602
|
*/
|
|
1592
1603
|
dateExpire;
|
|
1593
1604
|
constructor(obj) {
|
|
1594
|
-
const { item_equipment_part, equipment_slot, item_name, item_icon, item_description, item_shape_name, item_shape_icon,
|
|
1605
|
+
const { item_equipment_part, equipment_slot, item_name, item_icon, item_description, item_shape_name, item_shape_icon, item_gender, item_total_option, item_base_option, potential_option_grade, additional_potential_option_grade, potential_option_1, potential_option_2, potential_option_3, additional_potential_option_1, additional_potential_option_2, additional_potential_option_3, equipment_level_increase, item_exceptional_option, item_add_option, growth_exp, growth_level, scroll_upgrade, cuttable_count, golden_hammer_flag, scroll_resilience_count, scroll_upgradeable_count, soul_name, soul_option, item_etc_option, starforce, starforce_scroll_flag, item_starforce_option, special_ring_level, date_expire, } = obj;
|
|
1595
1606
|
this.itemEquipmentPart = item_equipment_part;
|
|
1596
1607
|
this.equipmentSlot = equipment_slot;
|
|
1597
1608
|
this.itemName = item_name;
|
|
@@ -1599,7 +1610,7 @@ class CharacterItemEquipmentInfoDto {
|
|
|
1599
1610
|
this.itemDescription = item_description;
|
|
1600
1611
|
this.itemShapeName = item_shape_name;
|
|
1601
1612
|
this.itemShapeIcon = item_shape_icon;
|
|
1602
|
-
this.
|
|
1613
|
+
this.itemGender = item_gender;
|
|
1603
1614
|
this.itemTotalOption = new CharacterItemEquipmentTotalOptionDto(item_total_option);
|
|
1604
1615
|
this.itemBaseOption = new CharacterItemEquipmentBaseOptionDto(item_base_option);
|
|
1605
1616
|
this.potentialOptionGrade = potential_option_grade;
|
|
@@ -1627,7 +1638,7 @@ class CharacterItemEquipmentInfoDto {
|
|
|
1627
1638
|
this.starforceScrollFlag = starforce_scroll_flag;
|
|
1628
1639
|
this.itemStarforceOption = new CharacterItemEquipmentStarforceOptionDto(item_starforce_option);
|
|
1629
1640
|
this.specialRingLevel = special_ring_level;
|
|
1630
|
-
this.dateExpire = new Date(date_expire);
|
|
1641
|
+
this.dateExpire = date_expire ? new Date(date_expire) : null;
|
|
1631
1642
|
}
|
|
1632
1643
|
}
|
|
1633
1644
|
|
|
@@ -1654,16 +1665,25 @@ class CharacterItemEquipmentTitleDto {
|
|
|
1654
1665
|
/**
|
|
1655
1666
|
* 칭호 옵션 유효 기간
|
|
1656
1667
|
*/
|
|
1657
|
-
dateOptionExpire;
|
|
1668
|
+
dateOptionExpire = null;
|
|
1669
|
+
/**
|
|
1670
|
+
* 칭호 옵션 유효 기간 만료 여부
|
|
1671
|
+
*/
|
|
1672
|
+
isOptionExpired = null;
|
|
1658
1673
|
constructor(obj) {
|
|
1659
1674
|
const { title_name, title_icon, title_description, date_expire, date_option_expire, } = obj;
|
|
1660
1675
|
this.titleName = title_name;
|
|
1661
1676
|
this.titleIcon = title_icon;
|
|
1662
1677
|
this.titleDescription = title_description;
|
|
1663
|
-
this.dateExpire = new Date(date_expire);
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1678
|
+
this.dateExpire = date_expire ? new Date(date_expire) : null;
|
|
1679
|
+
if (date_option_expire === 'expired') {
|
|
1680
|
+
this.isOptionExpired = true;
|
|
1681
|
+
}
|
|
1682
|
+
else if (typeof date_option_expire === 'string') {
|
|
1683
|
+
this.dateOptionExpire = date_option_expire
|
|
1684
|
+
? new Date(date_option_expire)
|
|
1685
|
+
: null;
|
|
1686
|
+
}
|
|
1667
1687
|
}
|
|
1668
1688
|
}
|
|
1669
1689
|
|
|
@@ -3104,7 +3124,9 @@ class UnionRaiderBlockDto {
|
|
|
3104
3124
|
this.blockClass = block_class;
|
|
3105
3125
|
this.blockLevel = block_level;
|
|
3106
3126
|
this.blockControlPoint = new UnionRaiderBlockControlPointDto(block_control_point);
|
|
3107
|
-
this.blockPosition = block_position
|
|
3127
|
+
this.blockPosition = block_position
|
|
3128
|
+
? block_position.map((position) => new UnionRaiderBlockPositionDto(position))
|
|
3129
|
+
: null;
|
|
3108
3130
|
}
|
|
3109
3131
|
}
|
|
3110
3132
|
|
|
@@ -3260,6 +3282,153 @@ const errorMap = {
|
|
|
3260
3282
|
['OPENAPI00007']: exports.MapleStoryApiErrorCode.OPENAPI00007,
|
|
3261
3283
|
};
|
|
3262
3284
|
|
|
3285
|
+
/**
|
|
3286
|
+
* 스타포스 강화 이벤트 정보
|
|
3287
|
+
*/
|
|
3288
|
+
class StarforceEventDto {
|
|
3289
|
+
/**
|
|
3290
|
+
* 이벤트 성공 확률
|
|
3291
|
+
*/
|
|
3292
|
+
successRate;
|
|
3293
|
+
/**
|
|
3294
|
+
* 이벤트 비용 할인율
|
|
3295
|
+
*/
|
|
3296
|
+
costDiscountRate;
|
|
3297
|
+
/**
|
|
3298
|
+
* 이벤트 강화 수치 가중값
|
|
3299
|
+
*/
|
|
3300
|
+
plusValue;
|
|
3301
|
+
/**
|
|
3302
|
+
* 이벤트 적용 강화 시도 가능한 n성 범위
|
|
3303
|
+
*/
|
|
3304
|
+
starforceEventRange;
|
|
3305
|
+
constructor(obj) {
|
|
3306
|
+
const { success_rate, cost_discount_rate, plus_value, starforce_event_range, } = obj;
|
|
3307
|
+
this.successRate = success_rate;
|
|
3308
|
+
this.costDiscountRate = cost_discount_rate;
|
|
3309
|
+
this.plusValue = plus_value;
|
|
3310
|
+
this.starforceEventRange = starforce_event_range;
|
|
3311
|
+
}
|
|
3312
|
+
}
|
|
3313
|
+
|
|
3314
|
+
/**
|
|
3315
|
+
* 스타포스 히스토리
|
|
3316
|
+
*/
|
|
3317
|
+
class StarforceHistoryDto {
|
|
3318
|
+
/**
|
|
3319
|
+
*스타포스 히스토리 식별자
|
|
3320
|
+
*/
|
|
3321
|
+
id;
|
|
3322
|
+
/**
|
|
3323
|
+
*강화 시도 결과
|
|
3324
|
+
*/
|
|
3325
|
+
itemUpgradeResult;
|
|
3326
|
+
/**
|
|
3327
|
+
*강화 시도 전 스타포스 수치
|
|
3328
|
+
*/
|
|
3329
|
+
beforeStarforceCount;
|
|
3330
|
+
/**
|
|
3331
|
+
*강화 시도 후 스타포스 수치
|
|
3332
|
+
*/
|
|
3333
|
+
afterStarforceCount;
|
|
3334
|
+
/**
|
|
3335
|
+
*스타 캐치
|
|
3336
|
+
*/
|
|
3337
|
+
starCatchResult;
|
|
3338
|
+
/**
|
|
3339
|
+
*슈페리얼 장비
|
|
3340
|
+
*/
|
|
3341
|
+
superiorItemFlag;
|
|
3342
|
+
/**
|
|
3343
|
+
*파괴 방지
|
|
3344
|
+
*/
|
|
3345
|
+
destroyDefence;
|
|
3346
|
+
/**
|
|
3347
|
+
*찬스 타임
|
|
3348
|
+
*/
|
|
3349
|
+
chanceTime;
|
|
3350
|
+
/**
|
|
3351
|
+
*파괴 방지 필드 이벤트
|
|
3352
|
+
*/
|
|
3353
|
+
eventFieldFlag;
|
|
3354
|
+
/**
|
|
3355
|
+
*사용 주문서 명
|
|
3356
|
+
*/
|
|
3357
|
+
upgradeItem;
|
|
3358
|
+
/**
|
|
3359
|
+
*프로텍트 실드
|
|
3360
|
+
*/
|
|
3361
|
+
protectShield;
|
|
3362
|
+
/**
|
|
3363
|
+
*보너스 스탯 부여 아이템 여부
|
|
3364
|
+
*/
|
|
3365
|
+
bonusStatUpgrade;
|
|
3366
|
+
/**
|
|
3367
|
+
*캐릭터 명
|
|
3368
|
+
*/
|
|
3369
|
+
characterName;
|
|
3370
|
+
/**
|
|
3371
|
+
*월드 명
|
|
3372
|
+
*/
|
|
3373
|
+
worldName;
|
|
3374
|
+
/**
|
|
3375
|
+
*대상 장비 아이템 명
|
|
3376
|
+
*/
|
|
3377
|
+
targetItem;
|
|
3378
|
+
/**
|
|
3379
|
+
*강화 일시 (KST)
|
|
3380
|
+
*/
|
|
3381
|
+
dateCreate;
|
|
3382
|
+
/**
|
|
3383
|
+
* 진행 중인 스타포스 강화 이벤트 정보
|
|
3384
|
+
*/
|
|
3385
|
+
starforceEventList;
|
|
3386
|
+
constructor(obj) {
|
|
3387
|
+
const { id, item_upgrade_result, before_starforce_count, after_starforce_count, starcatch_result, superior_item_flag, destroy_defence, chance_time, event_field_flag, upgrade_item, protect_shield, bonus_stat_upgrade, character_name, world_name, target_item, date_create, starforce_event_list, } = obj;
|
|
3388
|
+
this.id = id;
|
|
3389
|
+
this.itemUpgradeResult = item_upgrade_result;
|
|
3390
|
+
this.beforeStarforceCount = before_starforce_count;
|
|
3391
|
+
this.afterStarforceCount = after_starforce_count;
|
|
3392
|
+
this.starCatchResult = starcatch_result;
|
|
3393
|
+
this.superiorItemFlag = superior_item_flag;
|
|
3394
|
+
this.destroyDefence = destroy_defence;
|
|
3395
|
+
this.chanceTime = chance_time;
|
|
3396
|
+
this.eventFieldFlag = event_field_flag;
|
|
3397
|
+
this.upgradeItem = upgrade_item;
|
|
3398
|
+
this.protectShield = protect_shield;
|
|
3399
|
+
this.bonusStatUpgrade = bonus_stat_upgrade;
|
|
3400
|
+
this.characterName = character_name;
|
|
3401
|
+
this.worldName = world_name;
|
|
3402
|
+
this.targetItem = target_item;
|
|
3403
|
+
this.dateCreate = new Date(date_create);
|
|
3404
|
+
this.starforceEventList = starforce_event_list.map((event) => new StarforceEventDto(event));
|
|
3405
|
+
}
|
|
3406
|
+
}
|
|
3407
|
+
|
|
3408
|
+
/**
|
|
3409
|
+
* 스타포스 히스토리 응답 정보
|
|
3410
|
+
*/
|
|
3411
|
+
class StarforceHistoryResponseDto {
|
|
3412
|
+
/**
|
|
3413
|
+
* 결과 건 수
|
|
3414
|
+
*/
|
|
3415
|
+
count;
|
|
3416
|
+
/**
|
|
3417
|
+
* 스타포스 히스토리
|
|
3418
|
+
*/
|
|
3419
|
+
starforceHistory;
|
|
3420
|
+
/**
|
|
3421
|
+
* 페이징 처리를 위한 cursor
|
|
3422
|
+
*/
|
|
3423
|
+
nextCursor;
|
|
3424
|
+
constructor(obj) {
|
|
3425
|
+
const { count, starforce_history, next_cursor } = obj;
|
|
3426
|
+
this.count = count;
|
|
3427
|
+
this.starforceHistory = starforce_history.map((origin) => new StarforceHistoryDto(origin));
|
|
3428
|
+
this.nextCursor = next_cursor;
|
|
3429
|
+
}
|
|
3430
|
+
}
|
|
3431
|
+
|
|
3263
3432
|
dayjs__default["default"].extend(timezone);
|
|
3264
3433
|
dayjs__default["default"].extend(utc);
|
|
3265
3434
|
/**
|
|
@@ -4233,6 +4402,42 @@ class MapleStoryApi {
|
|
|
4233
4402
|
throw e;
|
|
4234
4403
|
}
|
|
4235
4404
|
}
|
|
4405
|
+
async getStarforceHistory(count, parameter) {
|
|
4406
|
+
const query = {
|
|
4407
|
+
count,
|
|
4408
|
+
};
|
|
4409
|
+
if (typeof parameter === 'string') {
|
|
4410
|
+
query.cursor = parameter;
|
|
4411
|
+
}
|
|
4412
|
+
else if (typeof parameter === 'object') {
|
|
4413
|
+
query.date = MapleStoryApi.toDateString({
|
|
4414
|
+
year: 2023,
|
|
4415
|
+
month: 12,
|
|
4416
|
+
day: 27,
|
|
4417
|
+
}, parameter ?? MapleStoryApi.getProperDefaultDateOptions({
|
|
4418
|
+
hour: 0,
|
|
4419
|
+
minute: 0,
|
|
4420
|
+
dateOffset: 0
|
|
4421
|
+
}));
|
|
4422
|
+
}
|
|
4423
|
+
try {
|
|
4424
|
+
const path = 'maplestory/v1/history/starforce';
|
|
4425
|
+
const response = await axios__default["default"].get(path, {
|
|
4426
|
+
baseURL: MapleStoryApi.BASE_URL,
|
|
4427
|
+
timeout: this.timeout,
|
|
4428
|
+
headers: this.buildHeaders(),
|
|
4429
|
+
params: query,
|
|
4430
|
+
});
|
|
4431
|
+
return new StarforceHistoryResponseDto(response.data);
|
|
4432
|
+
}
|
|
4433
|
+
catch (e) {
|
|
4434
|
+
if (e instanceof axios.AxiosError) {
|
|
4435
|
+
const errorBody = e.response.data;
|
|
4436
|
+
throw new MapleStoryApiError(errorBody);
|
|
4437
|
+
}
|
|
4438
|
+
throw e;
|
|
4439
|
+
}
|
|
4440
|
+
}
|
|
4236
4441
|
async getCubeHistory(count, parameter) {
|
|
4237
4442
|
const query = {
|
|
4238
4443
|
count,
|
|
@@ -4662,7 +4867,7 @@ exports.CharacterHexaMatrixEquipmentLinkedSkillDto = CharacterHexaMatrixEquipmen
|
|
|
4662
4867
|
exports.CharacterHexaMatrixStatCoreDto = CharacterHexaMatrixStatCoreDto;
|
|
4663
4868
|
exports.CharacterHexaMatrixStatDto = CharacterHexaMatrixStatDto;
|
|
4664
4869
|
exports.CharacterHyperStatDto = CharacterHyperStatDto;
|
|
4665
|
-
exports.
|
|
4870
|
+
exports.CharacterHyperStatPresetDto = CharacterHyperStatPresetDto;
|
|
4666
4871
|
exports.CharacterItemEquipmentAddOptionDto = CharacterItemEquipmentAddOptionDto;
|
|
4667
4872
|
exports.CharacterItemEquipmentBaseOptionDto = CharacterItemEquipmentBaseOptionDto;
|
|
4668
4873
|
exports.CharacterItemEquipmentDto = CharacterItemEquipmentDto;
|
|
@@ -4705,6 +4910,9 @@ exports.MapleStoryApi = MapleStoryApi;
|
|
|
4705
4910
|
exports.MapleStoryApiError = MapleStoryApiError;
|
|
4706
4911
|
exports.OverallRankingDto = OverallRankingDto;
|
|
4707
4912
|
exports.OverallRankingResponseDto = OverallRankingResponseDto;
|
|
4913
|
+
exports.StarforceEventDto = StarforceEventDto;
|
|
4914
|
+
exports.StarforceHistoryDto = StarforceHistoryDto;
|
|
4915
|
+
exports.StarforceHistoryResponseDto = StarforceHistoryResponseDto;
|
|
4708
4916
|
exports.TheSeedRankingDto = TheSeedRankingDto;
|
|
4709
4917
|
exports.TheSeedRankingResponseDto = TheSeedRankingResponseDto;
|
|
4710
4918
|
exports.UnionDto = UnionDto;
|
package/dist/index.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("axios"),require("dayjs"),require("xml2js")):"function"==typeof define&&define.amd?define(["exports","axios","dayjs","xml2js"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self)["maplestory-openapi"]={},t.axios,t.dayjs,t.xml2js)}(this,(function(t,e,a,i){"use strict";function s(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var r=s(e),o=s(a),n=s(i),c=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self,{exports:{}});!function(t,e){var a,i;t.exports=(a={year:0,month:1,day:2,hour:3,minute:4,second:5},i={},function(t,e,s){var r,o=function(t,e,a){void 0===a&&(a={});var s=new Date(t),r=function(t,e){void 0===e&&(e={});var a=e.timeZoneName||"short",s=t+"|"+a,r=i[s];return r||(r=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:a}),i[s]=r),r}(e,a);return r.formatToParts(s)},n=function(t,e){for(var i=o(t,e),r=[],n=0;n<i.length;n+=1){var c=i[n],l=c.type,h=c.value,m=a[l];m>=0&&(r[m]=parseInt(h,10))}var d=r[3],p=24===d?0:d,u=r[0]+"-"+r[1]+"-"+r[2]+" "+p+":"+r[4]+":"+r[5]+":000",_=+t;return(s.utc(u).valueOf()-(_-=_%1e3))/6e4},c=e.prototype;c.tz=function(t,e){void 0===t&&(t=r);var a=this.utcOffset(),i=this.toDate(),o=i.toLocaleString("en-US",{timeZone:t}),n=Math.round((i-new Date(o))/1e3/60),c=s(o,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(15*-Math.round(i.getTimezoneOffset()/15)-n,!0);if(e){var l=c.utcOffset();c=c.add(a-l,"minute")}return c.$x.$timezone=t,c},c.offsetName=function(t){var e=this.$x.$timezone||s.tz.guess(),a=o(this.valueOf(),e,{timeZoneName:t}).find((function(t){return"timezonename"===t.type.toLowerCase()}));return a&&a.value};var l=c.startOf;c.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return l.call(this,t,e);var a=s(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return l.call(a,t,e).tz(this.$x.$timezone,!0)},s.tz=function(t,e,a){var i=a&&e,o=a||e||r,c=n(+s(),o);if("string"!=typeof t)return s(t).tz(o);var l=function(t,e,a){var i=t-60*e*1e3,s=n(i,a);if(e===s)return[i,e];var r=n(i-=60*(s-e)*1e3,a);return s===r?[i,s]:[t-60*Math.min(s,r)*1e3,Math.max(s,r)]}(s.utc(t,i).valueOf(),c,o),h=l[0],m=l[1],d=s(h).utcOffset(m);return d.$x.$timezone=o,d},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(t){r=t}})}(c);var l=c.exports,h={exports:{}};!function(t,e){var a,i,s;t.exports=(a="minute",i=/[+-]\d\d(?::?\d\d)?/g,s=/([+-]|\d\d)/g,function(t,e,r){var o=e.prototype;r.utc=function(t){return new e({date:t,utc:!0,args:arguments})},o.utc=function(t){var e=r(this.toDate(),{locale:this.$L,utc:!0});return t?e.add(this.utcOffset(),a):e},o.local=function(){return r(this.toDate(),{locale:this.$L,utc:!1})};var n=o.parse;o.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),n.call(this,t)};var c=o.init;o.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else c.call(this)};var l=o.utcOffset;o.utcOffset=function(t,e){var r=this.$utils().u;if(r(t))return this.$u?0:r(this.$offset)?l.call(this):this.$offset;if("string"==typeof t&&(t=function(t){void 0===t&&(t="");var e=t.match(i);if(!e)return null;var a=(""+e[0]).match(s)||["-",0,0],r=a[0],o=60*+a[1]+ +a[2];return 0===o?0:"+"===r?o:-o}(t),null===t))return this;var o=Math.abs(t)<=16?60*t:t,n=this;if(e)return n.$offset=o,n.$u=0===t,n;if(0!==t){var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(n=this.local().add(o+c,a)).$offset=o,n.$x.$localOffset=c}else n=this.utc();return n};var h=o.format;o.format=function(t){var e=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return h.call(this,e)},o.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},o.isUTC=function(){return!!this.$u},o.toISOString=function(){return this.toDate().toISOString()},o.toString=function(){return this.toDate().toUTCString()};var m=o.toDate;o.toDate=function(t){return"s"===t&&this.$offset?r(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():m.call(this)};var d=o.diff;o.diff=function(t,e,a){if(t&&this.$u===t.$u)return d.call(this,t,e,a);var i=this.local(),s=r(t).local();return d.call(i,s,e,a)}})}(h);var m,d=h.exports;class p{date;ranking;characterName;worldName;className;subClassName;trophyGrade;trophyScore;constructor(t){const{date:e,ranking:a,character_name:i,world_name:s,class_name:r,sub_class_name:o,trophy_grade:n,trophy_score:c}=t;this.date=new Date(e),this.ranking=a,this.characterName=i,this.worldName=s,this.className=r,this.subClassName=o,this.trophyGrade=n,this.trophyScore=c}}class u{ranking;constructor(t){const{ranking:e}=t;this.ranking=e.map((t=>new p(t)))}}class _{abilityNo;abilityGrade;abilityValue;constructor(t){const{ability_no:e,ability_grade:a,ability_value:i}=t;this.abilityNo=e,this.abilityGrade=a,this.abilityValue=i}}class f{date;abilityGrade;abilityInfo;remainFame;constructor(t){const{date:e,ability_grade:a,ability_info:i,remain_fame:s}=t;this.date=new Date(e),this.abilityGrade=a,this.abilityInfo=i.map((t=>new _(t))),this.remainFame=s}}class g{colorRange;hue;saturation;value;constructor(t){const{color_range:e,hue:a,saturation:i,value:s}=t;this.colorRange=e,this.hue=a,this.saturation=i,this.value=s}}class w{optionType;optionValue;constructor(t){const{option_type:e,option_value:a}=t;this.optionType=e,this.optionValue=a}}class y{cashItemEquipmentPart;cashItemEquipmentSlot;cashItemName;cashItemIcon;cashItemDescription;cashItemOption;dateExpire;dateOptionExpire;cashItemLabel;cashItemColoringPrism;constructor(t){const{cash_item_equipment_part:e,cash_item_equipment_slot:a,cash_item_name:i,cash_item_icon:s,cash_item_description:r,cash_item_option:o,date_expire:n,date_option_expire:c,cash_item_label:l,cash_item_coloring_prism:h}=t;this.cashItemEquipmentPart=e,this.cashItemEquipmentSlot=a,this.cashItemName=i,this.cashItemIcon=s,this.cashItemDescription=r,this.cashItemOption=o.map((t=>new w(t))),this.dateExpire=new Date(n),this.dateOptionExpire=new Date(c),this.cashItemLabel=l,this.cashItemColoringPrism=new g(h)}}class D{faceName;baseColor;mixColor;mixRate;constructor(t){const{face_name:e,base_color:a,mix_color:i,mix_rate:s}=t;this.faceName=e,this.baseColor=a,this.mixColor=i,this.mixRate=s}}class k{hairName;baseColor;mixColor;mixRate;constructor(t){const{hair_name:e,base_color:a,mix_color:i,mix_rate:s}=t;this.hairName=e,this.baseColor=a,this.mixColor=i,this.mixRate=s}}class b{date;androidName;androidNickname;androidIcon;androidDescription;androidHair;androidFace;androidSkinName;androidCashItemEquipment;androidEarSensorClipFlag;constructor(t){const{date:e,android_name:a,android_nickname:i,android_icon:s,android_description:r,android_hair:o,android_face:n,android_skin_name:c,android_cash_item_equipment:l,android_ear_sensor_clip_flag:h}=t;this.date=new Date(e),this.androidName=a,this.androidNickname=i,this.androidIcon=s,this.androidDescription=r,this.androidHair=new k(o),this.androidFace=new D(n),this.androidSkinName=c,this.androidCashItemEquipment=l.map((t=>new y(t))),this.androidEarSensorClipFlag=h}}class x{date;characterName;worldName;characterGender;characterClass;characterClassLevel;characterLevel;characterExp;characterExpRate;characterGuildName;characterImage;constructor(t){const{date:e,character_name:a,world_name:i,character_gender:s,character_class:r,character_class_level:o,character_level:n,character_exp:c,character_exp_rate:l,character_guild_name:h,character_image:m}=t;this.date=new Date(e),this.characterName=a,this.worldName=i,this.characterGender=s,this.characterClass=r,this.characterClassLevel=o,this.characterLevel=n,this.characterExp=c,this.characterExpRate=l,this.characterGuildName=h,this.characterImage=m}}class E{faceName;baseColor;mixColor;mixRate;constructor(t){const{face_name:e,base_color:a,mix_color:i,mix_rate:s}=t;this.faceName=e,this.baseColor=a,this.mixColor=i,this.mixRate=s}}class C{hairName;baseColor;mixColor;mixRate;constructor(t){const{hair_name:e,base_color:a,mix_color:i,mix_rate:s}=t;this.hairName=e,this.baseColor=a,this.mixColor=i,this.mixRate=s}}class v{date;characterGender;characterClass;characterHair;characterFace;characterSkinName;additionalCharacterHair;additionalCharacterFace;additionalCharacterSkinName;constructor(t){const{date:e,character_gender:a,character_class:i,character_hair:s,character_face:r,character_skin_name:o,additional_character_hair:n,additional_character_face:c,additional_character_skin_name:l}=t;this.date=new Date(e),this.characterGender=a,this.characterClass=i,this.characterHair=new C(s),this.characterFace=new E(r),this.characterSkinName=o,this.additionalCharacterHair=new C(n),this.additionalCharacterFace=new E(c),this.additionalCharacterSkinName=l}}class S{colorRange;hue;saturation;value;constructor(t){const{color_range:e,hue:a,saturation:i,value:s}=t;this.colorRange=e,this.hue=a,this.saturation=i,this.value=s}}class P{optionType;optionValue;constructor(t){const{option_type:e,option_value:a}=t;this.optionType=e,this.optionValue=a}}class O{cashItemEquipmentPart;cashItemEquipmentSlot;cashItemName;cashItemIcon;cashItemDescription;cashItemOption;dateExpire;dateOptionExpire;cashItemLabel;cashItemColoringPrism;basePresetItemDisableFlag;constructor(t){const{cash_item_equipment_part:e,cash_item_equipment_slot:a,cash_item_name:i,cash_item_icon:s,cash_item_description:r,cash_item_option:o,date_expire:n,date_option_expire:c,cash_item_label:l,cash_item_coloring_prism:h,base_preset_item_disable_flag:m}=t;this.cashItemEquipmentPart=e,this.cashItemEquipmentSlot=a,this.cashItemName=i,this.cashItemIcon=s,this.cashItemDescription=r,this.cashItemOption=o.map((t=>new P(t))),this.dateExpire=n,this.dateOptionExpire=c,this.cashItemLabel=l,this.cashItemColoringPrism=new S(h),this.basePresetItemDisableFlag=m}}class I{date;characterGender;characterClass;presetNo;cashItemEquipmentPreset1;cashItemEquipmentPreset2;cashItemEquipmentPreset3;additionalCashItemEquipmentPreset1;additionalCashItemEquipmentPreset2;additionalCashItemEquipmentPreset3;constructor(t){const{date:e,character_gender:a,character_class:i,preset_no:s,cash_item_equipment_preset_1:r,cash_item_equipment_preset_2:o,cash_item_equipment_preset_3:n,additional_cash_item_equipment_preset_1:c,additional_cash_item_equipment_preset_2:l,additional_cash_item_equipment_preset_3:h}=t;this.date=new Date(e),this.characterGender=a,this.characterClass=i,this.presetNo=s,this.cashItemEquipmentPreset1=r.map((t=>new O(t))),this.cashItemEquipmentPreset2=o.map((t=>new O(t))),this.cashItemEquipmentPreset3=n.map((t=>new O(t))),this.additionalCashItemEquipmentPreset1=c.map((t=>new O(t))),this.additionalCashItemEquipmentPreset2=l.map((t=>new O(t))),this.additionalCashItemEquipmentPreset3=h.map((t=>new O(t)))}}class N{date;characterClass;worldName;dojangBestFloor;dateDojangRecord;dojangBestTime;constructor(t){const{date:e,character_class:a,world_name:i,dojang_best_floor:s,date_dojang_record:r,dojang_best_time:o}=t;this.date=new Date(e),this.characterClass=a,this.worldName=i,this.dojangBestFloor=s,this.dateDojangRecord=new Date(r),this.dojangBestTime=o}}class L{ocid;constructor(t){const{ocid:e}=t;this.ocid=e}}class R{hexaSkillId;constructor(t){const{hexa_skill_id:e}=t;this.hexaSkillId=e}}class A{hexaCoreName;hexaCoreLevel;hexaCoreType;linkedSkill;constructor(t){const{hexa_core_name:e,hexa_core_level:a,hexa_core_type:i,linked_skill:s}=t;this.hexaCoreName=e,this.hexaCoreLevel=a,this.hexaCoreType=i,this.linkedSkill=s.map((t=>new R(t)))}}class q{date;characterHexaCoreEquipment;constructor(t){const{date:e,character_hexa_core_equipment:a}=t;this.date=new Date(e),this.characterHexaCoreEquipment=a.map((t=>new A(t)))}}class U{slotId;mainStatName;subStatName1;subStatName2;mainStatLevel;subStatLevel1;subStatLevel2;statGrade;constructor(t){const{slot_id:e,main_stat_name:a,sub_stat_name_1:i,sub_stat_name_2:s,main_stat_level:r,sub_stat_level_1:o,sub_stat_level_2:n,stat_grade:c}=t;this.slotId=e,this.mainStatName=a,this.subStatName1=i,this.subStatName2=s,this.mainStatLevel=r,this.subStatLevel1=o,this.subStatLevel2=n,this.statGrade=c}}class H{date;characterClass;characterHexaStatCore;presetHexaStatCore;constructor(t){const{date:e,character_class:a,character_hexa_stat_core:i,preset_hexa_stat_core:s}=t;this.date=new Date(e),this.characterClass=a,this.characterHexaStatCore=i.map((t=>new U(t))),this.presetHexaStatCore=s.map((t=>new U(t)))}}class M{statType;statPoint;statLevel;statIncrease;constructor(t){const{stat_type:e,stat_point:a,stat_level:i,stat_increase:s}=t;this.statType=e,this.statPoint=a,this.statLevel=i,this.statIncrease=s}}class T{date;characterClass;usePresetNo;useAvailableHyperStat;hyperStatPreset1;hyperStatPreset1RemainPoint;hyperStatPreset2;hyperStatPreset2RemainPoint;hyperStatPreset3;hyperStatPreset3RemainPoint;constructor(t){const{date:e,character_class:a,use_preset_no:i,use_available_hyper_stat:s,hyper_stat_preset_1:r,hyper_stat_preset_1_remain_point:o,hyper_stat_preset_2:n,hyper_stat_preset_2_remain_point:c,hyper_stat_preset_3:l,hyper_stat_preset_3_remain_point:h}=t;this.date=new Date(e),this.characterClass=a,this.usePresetNo=i,this.useAvailableHyperStat=s,this.hyperStatPreset1=r.map((t=>new M(t))),this.hyperStatPreset1RemainPoint=o,this.hyperStatPreset2=n.map((t=>new M(t))),this.hyperStatPreset2RemainPoint=c,this.hyperStatPreset3=l.map((t=>new M(t))),this.hyperStatPreset3RemainPoint=h}}class G{str;dex;int;luk;maxHp;maxMp;attackPower;magicPower;armor;speed;jump;bossDamage;damage;allStat;equipmentLevelDecrease;constructor(t){const{str:e,dex:a,int:i,luk:s,max_hp:r,max_mp:o,attack_power:n,magic_power:c,armor:l,speed:h,jump:m,boss_damage:d,damage:p,all_stat:u,equipment_level_decrease:_}=t;this.str=e,this.dex=a,this.int=i,this.luk=s,this.maxHp=r,this.maxMp=o,this.attackPower=n,this.magicPower=c,this.armor=l,this.speed=h,this.jump=m,this.bossDamage=d,this.damage=p,this.allStat=u,this.equipmentLevelDecrease=_}}class ${str;dex;int;luk;maxHp;maxMp;attackPower;magicPower;armor;speed;jump;bossDamage;ignoreMonsterArmor;allStat;maxHpRate;maxMpRate;baseEquipmentLevel;constructor(t){const{str:e,dex:a,int:i,luk:s,max_hp:r,max_mp:o,attack_power:n,magic_power:c,armor:l,speed:h,jump:m,boss_damage:d,ignore_monster_armor:p,all_stat:u,max_hp_rate:_,max_mp_rate:f,base_equipment_level:g}=t;this.str=e,this.dex=a,this.int=i,this.luk=s,this.maxHp=r,this.maxMp=o,this.attackPower=n,this.magicPower=c,this.armor=l,this.speed=h,this.jump=m,this.bossDamage=d,this.ignoreMonsterArmor=p,this.allStat=u,this.maxHpRate=_,this.maxMpRate=f,this.baseEquipmentLevel=g}}class B{str;dex;int;luk;maxHp;maxMp;attackPower;magicPower;armor;speed;jump;constructor(t){const{str:e,dex:a,int:i,luk:s,max_hp:r,max_mp:o,attack_power:n,magic_power:c,armor:l,speed:h,jump:m}=t;this.str=e,this.dex=a,this.int=i,this.luk=s,this.maxHp=r,this.maxMp=o,this.attackPower=n,this.magicPower=c,this.armor=l,this.speed=h,this.jump=m}}class j{str;dex;int;luk;maxHp;maxMp;attackPower;magicPower;constructor(t){const{str:e,dex:a,int:i,luk:s,max_hp:r,max_mp:o,attack_power:n,magic_power:c}=t;this.str=e,this.dex=a,this.int=i,this.luk=s,this.maxHp=r,this.maxMp=o,this.attackPower=n,this.magicPower=c}}class F{str;dex;int;luk;maxHp;maxMp;attackPower;magicPower;armor;speed;jump;constructor(t){const{str:e,dex:a,int:i,luk:s,max_hp:r,max_mp:o,attack_power:n,magic_power:c,armor:l,speed:h,jump:m}=t;this.str=e,this.dex=a,this.int=i,this.luk=s,this.maxHp=r,this.maxMp=o,this.attackPower=n,this.magicPower=c,this.armor=l,this.speed=h,this.jump=m}}class Y{str;dex;int;luk;maxHp;maxMp;attackPower;magicPower;armor;speed;jump;bossDamage;ignoreMonsterArmor;allStat;damage;equipmentLevelDecrease;maxHpRate;maxMpRate;constructor(t){const{str:e,dex:a,int:i,luk:s,max_hp:r,max_mp:o,attack_power:n,magic_power:c,armor:l,speed:h,jump:m,boss_damage:d,ignore_monster_armor:p,all_stat:u,damage:_,equipment_level_decrease:f,max_hp_rate:g,max_mp_rate:w}=t;this.str=e,this.dex=a,this.int=i,this.luk=s,this.maxHp=r,this.maxMp=o,this.attackPower=n,this.magicPower=c,this.armor=l,this.speed=h,this.jump=m,this.bossDamage=d,this.ignoreMonsterArmor=p,this.allStat=u,this.damage=_,this.equipmentLevelDecrease=f,this.maxHpRate=g,this.maxMpRate=w}}class z{itemEquipmentPart;equipmentSlot;itemName;itemIcon;itemDescription;itemShapeName;itemShapeIcon;gender;itemTotalOption;itemBaseOption;potentialOptionGrade;additionalPotentialOptionGrade;potentialOption1;potentialOption2;potentialOption3;additionalPotentialOption1;additionalPotentialOption2;additionalPotentialOption3;equipmentLevelIncrease;itemExceptionalOption;itemAddOption;growthExp;growthLevel;scrollUpgrade;cuttableCount;goldenHammerFlag;scrollResilienceCount;scrollUpgradeableCount;soulName;soulOption;itemEtcOption;starforce;starforceScrollFlag;itemStarforceOption;specialRingLevel;dateExpire;constructor(t){const{item_equipment_part:e,equipment_slot:a,item_name:i,item_icon:s,item_description:r,item_shape_name:o,item_shape_icon:n,gender:c,item_total_option:l,item_base_option:h,potential_option_grade:m,additional_potential_option_grade:d,potential_option_1:p,potential_option_2:u,potential_option_3:_,additional_potential_option_1:f,additional_potential_option_2:g,additional_potential_option_3:w,equipment_level_increase:y,item_exceptional_option:D,item_add_option:k,growth_exp:b,growth_level:x,scroll_upgrade:E,cuttable_count:C,golden_hammer_flag:v,scroll_resilience_count:S,scroll_upgradeable_count:P,soul_name:O,soul_option:I,item_etc_option:N,starforce:L,starforce_scroll_flag:R,item_starforce_option:A,special_ring_level:q,date_expire:U}=t;this.itemEquipmentPart=e,this.equipmentSlot=a,this.itemName=i,this.itemIcon=s,this.itemDescription=r,this.itemShapeName=o,this.itemShapeIcon=n,this.gender=c,this.itemTotalOption=new Y(l),this.itemBaseOption=new $(h),this.potentialOptionGrade=m,this.additionalPotentialOptionGrade=d,this.potentialOption1=p,this.potentialOption2=u,this.potentialOption3=_,this.additionalPotentialOption1=f,this.additionalPotentialOption2=g,this.additionalPotentialOption3=w,this.equipmentLevelIncrease=y,this.itemExceptionalOption=new j(D),this.itemAddOption=new G(k),this.growthExp=b,this.growthLevel=x,this.scrollUpgrade=E,this.cuttableCount=C,this.goldenHammerFlag=v,this.scrollResilienceCount=S,this.scrollUpgradeableCount=P,this.soulName=O,this.soulOption=I,this.itemEtcOption=new B(N),this.starforce=L,this.starforceScrollFlag=R,this.itemStarforceOption=new F(A),this.specialRingLevel=q,this.dateExpire=new Date(U)}}class V{titleName;titleIcon;titleDescription;dateExpire;dateOptionExpire;constructor(t){const{title_name:e,title_icon:a,title_description:i,date_expire:s,date_option_expire:r}=t;this.titleName=e,this.titleIcon=a,this.titleDescription=i,this.dateExpire=new Date(s),this.dateOptionExpire=r?new Date(r):void 0}}class Z{date;characterGender;characterClass;itemEquipment;title;dragonEquipment;mechanicEquipment;constructor(t){const{date:e,character_gender:a,character_class:i,item_equipment:s,title:r,dragon_equipment:o,mechanic_equipment:n}=t;this.date=new Date(e),this.characterGender=a,this.characterClass=i,this.itemEquipment=s.map((t=>new z(t))),this.title=new V(r),this.dragonEquipment=o?o.map((t=>new z(t))):void 0,this.mechanicEquipment=n?n.map((t=>new z(t))):void 0}}class K{skillName;skillDescription;skillLevel;skillEffect;skillIcon;constructor(t){const{skill_name:e,skill_description:a,skill_level:i,skill_effect:s,skill_icon:r}=t;this.skillName=e,this.skillDescription=a,this.skillLevel=i,this.skillEffect=s,this.skillIcon=r}}class Q{date;characterClass;characterLinkSkill;characterOwnedLinkSkill;constructor(t){const{date:e,character_class:a,character_link_skill:i,character_owned_link_skill:s}=t;this.date=new Date(e),this.characterClass=a,this.characterLinkSkill=new K(i),this.characterOwnedLinkSkill=new K(s)}}class X{skill1;skill1Icon;skill2;skill2Icon;constructor(t){const{skill_1:e,skill_1_icon:a,skill_2:i,skill_2_icon:s}=t;this.skill1=e,this.skill1Icon=a,this.skill2=i,this.skill2Icon=s}}class W{optionType;optionValue;constructor(t){const{option_type:e,option_value:a}=t;this.optionType=e,this.optionValue=a}}class J{itemName;itemIcon;itemDescription;itemOption;scrollUpgrade;scrollUpgradeable;constructor(t){const{item_name:e,item_icon:a,item_description:i,item_option:s,scroll_upgrade:r,scroll_upgradeable:o}=t;this.itemName=e,this.itemIcon=a,this.itemDescription=i,this.itemOption=s.map((t=>new W(t))),this.scrollUpgrade=r,this.scrollUpgradeable=o}}class tt{date;pet1Name;pet1Nickname;pet1Icon;pet1Description;pet1Equipment;pet1AutoSkill;pet1PetType;pet1Skill;pet1DateExpire;pet2Name;pet2Nickname;pet2Icon;pet2Description;pet2Equipment;pet2AutoSkill;pet2PetType;pet2Skill;pet2DateExpire;pet3Name;pet3Nickname;pet3Icon;pet3Description;pet3Equipment;pet3AutoSkill;pet3PetType;pet3Skill;pet3DateExpire;constructor(t){const{date:e,pet_1_name:a,pet_1_nickname:i,pet_1_icon:s,pet_1_description:r,pet_1_equipment:o,pet_1_auto_skill:n,pet_1_pet_type:c,pet_1_skill:l,pet_1_date_expire:h,pet_2_name:m,pet_2_nickname:d,pet_2_icon:p,pet_2_description:u,pet_2_equipment:_,pet_2_auto_skill:f,pet_2_pet_type:g,pet_2_skill:w,pet_2_date_expire:y,pet_3_name:D,pet_3_nickname:k,pet_3_icon:b,pet_3_description:x,pet_3_equipment:E,pet_3_auto_skill:C,pet_3_pet_type:v,pet_3_skill:S,pet_3_date_expire:P}=t;this.date=new Date(e),this.pet1Name=a,this.pet1Nickname=i,this.pet1Icon=s,this.pet1Description=r,this.pet1Equipment=new J(o),this.pet1AutoSkill=new X(n),this.pet1PetType=c,this.pet1Skill=l,this.pet1DateExpire=new Date(h),this.pet2Name=m,this.pet2Nickname=d,this.pet2Icon=p,this.pet2Description=u,this.pet2Equipment=new J(_),this.pet2AutoSkill=new X(f),this.pet2PetType=g,this.pet2Skill=w,this.pet2DateExpire=new Date(y),this.pet3Name=D,this.pet3Nickname=k,this.pet3Icon=b,this.pet3Description=x,this.pet3Equipment=new J(E),this.pet3AutoSkill=new X(C),this.pet3PetType=v,this.pet3Skill=S,this.pet3DateExpire=new Date(P)}}class et{date;popularity;constructor(t){const{date:e,popularity:a}=t;this.date=new Date(e),this.popularity=a}}class at{date;charismaLevel;sensibilityLevel;insightLevel;willingnessLevel;handicraftLevel;charmLevel;constructor(t){const{date:e,charisma_level:a,sensibility_level:i,insight_level:s,willingness_level:r,handicraft_level:o,charm_level:n}=t;this.date=new Date(e),this.charismaLevel=a,this.sensibilityLevel=i,this.insightLevel=s,this.willingnessLevel=r,this.handicraftLevel=o,this.charmLevel=n}}class it{setCount;setOption;constructor(t){const{set_count:e,set_option:a}=t;this.setCount=e,this.setOption=a}}class st{setName;totalSetCount;setEffectInfo;constructor(t){const{set_name:e,total_set_count:a,set_effect_info:i}=t;this.setName=e,this.totalSetCount=a,this.setEffectInfo=i.map((t=>new it(t)))}}class rt{date;setEffect;constructor(t){const{date:e,set_effect:a}=t;this.date=new Date(e),this.setEffect=a.map((t=>new st(t)))}}class ot{skillName;skillDescription;skillLevel;skillEffect;skillIcon;constructor(t){const{skill_name:e,skill_description:a,skill_level:i,skill_effect:s,skill_icon:r}=t;this.skillName=e,this.skillDescription=a,this.skillLevel=i,this.skillEffect=s,this.skillIcon=r}}class nt{date;characterClass;characterSkillGrade;characterSkill;constructor(t){const{date:e,character_class:a,character_skill_grade:i,character_skill:s}=t;this.date=new Date(e),this.characterClass=a,this.characterSkillGrade=i,this.characterSkill=s.map((t=>new ot(t)))}}class ct{date;characterClass;finalStat;remainAP;constructor(t){const{date:e,character_class:a,final_stat:i,remain_ap:s}=t;this.date=new Date(e),this.characterClass=a,this.finalStat=i.map((t=>({statName:t.stat_name,statValue:t.stat_value}))),this.remainAP=s}}class lt{symbolName;symbolIcon;symbolDescription;symbolForce;symbolLevel;symbolStr;symbolDex;symbolInt;symbolLuk;symbolHp;symbolGrowthCount;symbolRequireGrowthCount;constructor(t){const{symbol_name:e,symbol_icon:a,symbol_description:i,symbol_force:s,symbol_level:r,symbol_str:o,symbol_dex:n,symbol_int:c,symbol_luk:l,symbol_hp:h,symbol_growth_count:m,symbol_require_growth_count:d}=t;this.symbolName=e,this.symbolIcon=a,this.symbolDescription=i,this.symbolForce=s,this.symbolLevel=r,this.symbolStr=o,this.symbolDex=n,this.symbolInt=c,this.symbolLuk=l,this.symbolHp=h,this.symbolGrowthCount=m,this.symbolRequireGrowthCount=d}}class ht{date;characterClass;symbol;constructor(t){const{date:e,character_class:a,symbol:i}=t;this.date=new Date(e),this.characterClass=a,this.symbol=i.map((t=>new lt(t)))}}class mt{slotId;slotLevel;vCoreName;vCoreType;vCoreLevel;vCoreSkill1;vCoreSkill2;vCoreSkill3;constructor(t){const{slot_id:e,slot_level:a,v_core_name:i,v_core_type:s,v_core_level:r,v_core_skill_1:o,v_core_skill_2:n,v_core_skill_3:c}=t;this.slotId=e,this.slotLevel=a,this.vCoreName=i,this.vCoreType=s,this.vCoreLevel=r,this.vCoreSkill1=o,this.vCoreSkill2=n,this.vCoreSkill3=c}}class dt{date;characterClass;characterVCoreEquipment;characterVMatrixRemainSlotUpgradePoint;constructor(t){const{date:e,character_class:a,character_v_core_equipment:i,character_v_matrix_remain_slot_upgrade_point:s}=t;this.date=new Date(e),this.characterClass=a,this.characterVCoreEquipment=i.map((t=>new mt(t))),this.characterVMatrixRemainSlotUpgradePoint=s}}t.PotentialOptionGrade=void 0,(m=t.PotentialOptionGrade||(t.PotentialOptionGrade={}))[m.RARE=0]="RARE",m[m.EPIC=1]="EPIC",m[m.UNIQUE=2]="UNIQUE",m[m.LEGENDARY=3]="LEGENDARY";const pt=e=>{const a={"레어":t.PotentialOptionGrade.RARE,"에픽":t.PotentialOptionGrade.EPIC,"유니크":t.PotentialOptionGrade.UNIQUE,"레전드리":t.PotentialOptionGrade.LEGENDARY}[e];if(!a)throw new TypeError("No enum constant for string: "+e);return a};class ut{value;grade;constructor(t){const{value:e,grade:a}=t;this.value=e,this.grade=a}get gradeEnum(){return pt(this.grade)}}class _t{id;characterName;worldName;dateCreate;cubeType;itemUpgradeResult;miracleTimeFlag;itemEquipmentPart;itemLevel;targetItem;potentialOptionGrade;additionalPotentialOptionGrade;upgradeGuarantee;upgradeGuaranteeCount;beforePotentialOption;beforeAdditionalPotentialOption;afterPotentialOption;afterAdditionalPotentialOption;constructor(t){const{id:e,character_name:a,world_name:i,date_create:s,cube_type:r,item_upgrade_result:o,miracle_time_flag:n,item_equipment_part:c,item_level:l,target_item:h,potential_option_grade:m,additional_potential_option_grade:d,upgrade_guarantee:p,upgrade_guarantee_count:u,before_potential_option:_,before_additional_potential_option:f,after_potential_option:g,after_additional_potential_option:w}=t;this.id=e,this.characterName=a,this.worldName=i,this.dateCreate=new Date(s),this.cubeType=r,this.itemUpgradeResult=o,this.miracleTimeFlag=n,this.itemEquipmentPart=c,this.itemLevel=l,this.targetItem=h,this.potentialOptionGrade=m,this.additionalPotentialOptionGrade=d,this.upgradeGuarantee=p,this.upgradeGuaranteeCount=u,this.beforePotentialOption=_.map((t=>new ut(t))),this.beforeAdditionalPotentialOption=f.map((t=>new ut(t))),this.afterPotentialOption=g.map((t=>new ut(t))),this.afterAdditionalPotentialOption=w.map((t=>new ut(t)))}get isItemUpgrade(){return"성공"===this.itemUpgradeResult}get isMiracleTimeFlag(){return"이벤트 적용되지 않음"!==this.miracleTimeFlag}get potentialOptionGradeEnum(){return pt(this.potentialOptionGrade)}get additionalPotentialOptionGradeEnum(){return pt(this.additionalPotentialOptionGrade)}}class ft{count;cubeHistory;nextCursor;constructor(t){const{count:e,cube_history:a,next_cursor:i}=t;this.count=e,this.cubeHistory=a.map((t=>new _t(t))),this.nextCursor=i}}class gt{date;ranking;characterName;worldName;className;subClassName;characterLevel;dojangFloor;dojangTimeRecord;constructor(t){const{date:e,ranking:a,character_name:i,world_name:s,class_name:r,sub_class_name:o,character_level:n,dojang_floor:c,dojang_time_record:l}=t;this.date=new Date(e),this.ranking=a,this.characterName=i,this.worldName=s,this.className=r,this.subClassName=o,this.characterLevel=n,this.dojangFloor=c,this.dojangTimeRecord=l}}class wt{ranking;constructor(t){const{ranking:e}=t;this.ranking=e.map((t=>new gt(t)))}}class yt{skillName;skillDescription;skillLevel;skillEffect;skillIcon;constructor(t){const{skill_name:e,skill_description:a,skill_level:i,skill_effect:s,skill_icon:r}=t;this.skillName=e,this.skillDescription=a,this.skillLevel=i,this.skillEffect=s,this.skillIcon=r}}class Dt{date;worldName;guildName;guildLevel;guildFame;guildPoint;guildMasterName;guildMemberCount;guildMember;guildSkill;guildNoblessSkill;guildMark;guildMarkCustom;constructor(t){const{date:e,world_name:a,guild_name:i,guild_level:s,guild_fame:r,guild_point:o,guild_master_name:n,guild_member_count:c,guild_member:l,guild_skill:h,guild_nobless_skill:m,guild_mark:d,guild_mark_custom:p}=t;this.date=new Date(e),this.worldName=a,this.guildName=i,this.guildLevel=s,this.guildFame=r,this.guildPoint=o,this.guildMasterName=n,this.guildMemberCount=c,this.guildMember=l,this.guildSkill=h.map((t=>new yt(t))),this.guildNoblessSkill=m.map((t=>new yt(t))),this.guildMark=d,this.guildMarkCustom=p}}class kt{oguildId;constructor(t){const{oguild_id:e}=t;this.oguildId=e}}class bt{date;ranking;guildName;worldName;guildLevel;guildMasterName;guildMark;guildPoint;constructor(t){const{date:e,ranking:a,guild_name:i,world_name:s,guild_level:r,guild_master_name:o,guild_mark:n,guild_point:c}=t;this.date=new Date(e),this.ranking=a,this.guildName=i,this.worldName=s,this.guildLevel=r,this.guildMasterName=o,this.guildMark=n,this.guildPoint=c}}class xt{ranking;constructor(t){const{ranking:e}=t;this.ranking=e.map((t=>new bt(t)))}}class Et{serviceCode;startDateTime;endDateTime;strObstacleContents;constructor(t){const e=t["soap:Envelope"]["soap:Body"][0].GetInspectionInfoResponse[0].GetInspectionInfoResult[0]["diffgr:diffgram"][0].NewDataSet[0].InspectionInfo[0];this.serviceCode=Number(e.serviceCode[0]),this.startDateTime=new Date(e.startDateTime[0]),this.endDateTime=new Date(e.endDateTime[0]),this.strObstacleContents=e.strObstacleContents[0]}}class Ct{date;ranking;characterName;worldName;className;subClassName;characterLevel;characterExp;characterPopularity;characterGuildName;constructor(t){const{date:e,ranking:a,character_name:i,world_name:s,class_name:r,sub_class_name:o,character_level:n,character_exp:c,character_popularity:l,character_guildname:h}=t;this.date=new Date(e),this.ranking=a,this.characterName=i,this.worldName=s,this.className=r,this.subClassName=o,this.characterLevel=n,this.characterExp=c,this.characterPopularity=l,this.characterGuildName=h}}class vt{ranking;constructor(t){const{ranking:e}=t;this.ranking=e.map((t=>new Ct(t)))}}class St{date;ranking;characterName;worldName;className;subClassName;characterLevel;theSeedFloor;theSeedTimeRecord;constructor(t){const{date:e,ranking:a,character_name:i,world_name:s,class_name:r,sub_class_name:o,character_level:n,theseed_floor:c,theseed_time_record:l}=t;this.date=new Date(e),this.ranking=a,this.characterName=i,this.worldName=s,this.className=r,this.subClassName=o,this.characterLevel=n,this.theSeedFloor=c,this.theSeedTimeRecord=l}}class Pt{ranking;constructor(t){const{ranking:e}=t;this.ranking=e.map((t=>new St(t)))}}class Ot{date;unionLevel;unionGrade;constructor(t){const{date:e,union_level:a,union_grade:i}=t;this.date=new Date(e),this.unionLevel=a,this.unionGrade=i}}class It{x;y;constructor(t){const{x:e,y:a}=t;this.x=e,this.y=a}}class Nt{x;y;constructor(t){const{x:e,y:a}=t;this.x=e,this.y=a}}class Lt{blockType;blockClass;blockLevel;blockControlPoint;blockPosition;constructor(t){const{block_type:e,block_class:a,block_level:i,block_control_point:s,block_position:r}=t;this.blockType=e,this.blockClass=a,this.blockLevel=i,this.blockControlPoint=new Nt(s),this.blockPosition=r.map((t=>new It(t)))}}class Rt{statFieldId;statFieldEffect;constructor(t){const{stat_field_id:e,stat_field_effect:a}=t;this.statFieldId=e,this.statFieldEffect=a}}class At{date;unionRaiderStat;unionOccupiedStat;unionInnerStat;unionBlock;constructor(t){const{date:e,union_raider_stat:a,union_occupied_stat:i,union_inner_stat:s,union_block:r}=t;this.date=new Date(e),this.unionRaiderStat=a,this.unionOccupiedStat=i,this.unionInnerStat=s.map((t=>new Rt(t))),this.unionBlock=r.map((t=>new Lt(t)))}}class qt{date;ranking;characterName;worldName;className;subClassName;unionLevel;unionPower;constructor(t){const{date:e,ranking:a,character_name:i,world_name:s,class_name:r,sub_class_name:o,union_level:n,union_power:c}=t;this.date=new Date(e),this.ranking=a,this.characterName=i,this.worldName=s,this.className=r,this.subClassName=o,this.unionLevel=n,this.unionPower=c}}class Ut{ranking;constructor(t){const{ranking:e}=t;this.ranking=e.map((t=>new qt(t)))}}class Ht extends Error{name="MapleStoryApiError";errorCode;message;constructor(t){const{name:e,message:a}=t.error;super(a),this.errorCode=Tt[e],this.message=a}}var Mt;t.MapleStoryApiErrorCode=void 0,(Mt=t.MapleStoryApiErrorCode||(t.MapleStoryApiErrorCode={}))[Mt.OPENAPI00001=0]="OPENAPI00001",Mt[Mt.OPENAPI00002=1]="OPENAPI00002",Mt[Mt.OPENAPI00003=2]="OPENAPI00003",Mt[Mt.OPENAPI00004=3]="OPENAPI00004",Mt[Mt.OPENAPI00005=4]="OPENAPI00005",Mt[Mt.OPENAPI00006=5]="OPENAPI00006",Mt[Mt.OPENAPI00007=6]="OPENAPI00007";const Tt={OPENAPI00001:t.MapleStoryApiErrorCode.OPENAPI00001,OPENAPI00002:t.MapleStoryApiErrorCode.OPENAPI00002,OPENAPI00003:t.MapleStoryApiErrorCode.OPENAPI00003,OPENAPI00004:t.MapleStoryApiErrorCode.OPENAPI00004,OPENAPI00005:t.MapleStoryApiErrorCode.OPENAPI00005,OPENAPI00006:t.MapleStoryApiErrorCode.OPENAPI00006,OPENAPI00007:t.MapleStoryApiErrorCode.OPENAPI00007};o.default.extend(l),o.default.extend(d);class Gt{apiKey;static BASE_URL="https://open.api.nexon.com/";static kstOffset=540;timeout;constructor(t){this.apiKey=t,this.timeout=5e3}async getCharacter(t){try{const e="maplestory/v1/id",a=await r.default.get(e,{baseURL:Gt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:{character_name:t}});return new L(a.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterBasic(t,a=Gt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:Gt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/basic",e=await r.default.get(t,{baseURL:Gt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new x(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterPopularity(t,a=Gt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:Gt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/popularity",e=await r.default.get(t,{baseURL:Gt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new et(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterStat(t,a=Gt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:Gt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/stat",e=await r.default.get(t,{baseURL:Gt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new ct(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterHyperStat(t,a=Gt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:Gt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/hyper-stat",e=await r.default.get(t,{baseURL:Gt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new T(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterPropensity(t,a=Gt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:Gt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/propensity",e=await r.default.get(t,{baseURL:Gt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new at(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterAbility(t,a=Gt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:Gt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/ability",e=await r.default.get(t,{baseURL:Gt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new f(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterItemEquipment(t,a=Gt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:Gt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/item-equipment",e=await r.default.get(t,{baseURL:Gt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new Z(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterCashItemEquipment(t,a=Gt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:Gt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/cashitem-equipment",e=await r.default.get(t,{baseURL:Gt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new I(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterSymbolEquipment(t,a=Gt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:Gt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/symbol-equipment",e=await r.default.get(t,{baseURL:Gt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new ht(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterSetEffect(t,a=Gt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:Gt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/set-effect",e=await r.default.get(t,{baseURL:Gt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new rt(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterBeautyEquipment(t,a=Gt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:Gt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/beauty-equipment",e=await r.default.get(t,{baseURL:Gt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new v(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterAndroidEquipment(t,a=Gt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:Gt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/android-equipment",e=await r.default.get(t,{baseURL:Gt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new b(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterPetEquipment(t,a=Gt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:Gt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/pet-equipment",e=await r.default.get(t,{baseURL:Gt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new tt(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterSkill(t,a,i=Gt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const s={ocid:t,character_skill_grade:a,date:Gt.toDateString({year:2023,month:12,day:21},i)};try{const t="maplestory/v1/character/skill",e=await r.default.get(t,{baseURL:Gt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:s});return new nt(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterLinkSkill(t,a=Gt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:Gt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/link-skill",e=await r.default.get(t,{baseURL:Gt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new Q(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterVMatrix(t,a=Gt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:Gt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/vmatrix",e=await r.default.get(t,{baseURL:Gt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new dt(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterHexaMatrix(t,a=Gt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:Gt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/hexamatrix",e=await r.default.get(t,{baseURL:Gt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new q(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterHexaMatrixStat(t,a=Gt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:Gt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/hexamatrix-stat",e=await r.default.get(t,{baseURL:Gt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new H(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterDojang(t,a=Gt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:Gt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/dojang",e=await r.default.get(t,{baseURL:Gt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new N(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getUnionInfo(t,a=Gt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:Gt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/user/union",e=await r.default.get(t,{baseURL:Gt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new Ot(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getUnionRaiderInfo(t,a=Gt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:Gt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/user/union-raider",e=await r.default.get(t,{baseURL:Gt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new At(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getGuild(t,a){try{const e="maplestory/v1/guild/id",i=await r.default.get(e,{baseURL:Gt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:{guild_name:t,world_name:a}});return new kt(i.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getGuildBasic(t,a=Gt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={oguild_id:t,date:Gt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/guild/basic",e=await r.default.get(t,{baseURL:Gt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new Dt(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCubeHistory(t,a){const i={count:t};"string"==typeof a?i.cursor=a:"object"==typeof a&&(i.date=Gt.toDateString({year:2022,month:11,day:25},a??Gt.getProperDefaultDateOptions({hour:4,minute:0,dateOffset:1})));try{const t="maplestory/v1/history/cube",e=await r.default.get(t,{baseURL:Gt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new ft(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getOverallRanking(t,a=Gt.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const i={date:Gt.toDateString({year:2023,month:12,day:22},a)};if(t){const{worldName:e,worldType:a,characterClass:s,ocid:r,page:o}=t;i.world_name=e,i.world_type=a,i.class=s,i.ocid=r,i.page=o}try{const t="maplestory/v1/ranking/overall",e=await r.default.get(t,{baseURL:Gt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new vt(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getUnionRanking(t,a=Gt.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const i={date:Gt.toDateString({year:2023,month:12,day:22},a)};if(t){const{worldName:e,ocid:a,page:s}=t;i.world_name=e,i.ocid=a,i.page=s}try{const t="maplestory/v1/ranking/union",e=await r.default.get(t,{baseURL:Gt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new Ut(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getGuildRanking(t,a=Gt.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const i={date:Gt.toDateString({year:2023,month:12,day:22},a),ranking_type:0};if(t){const{worldName:e,rankingType:a,ocid:s,page:r}=t;i.world_name=e,i.ranking_type=a,i.ocid=s,i.page=r}try{const t="maplestory/v1/ranking/guild",e=await r.default.get(t,{baseURL:Gt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new xt(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getDojangRanking(t,a=Gt.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const i={date:Gt.toDateString({year:2023,month:12,day:22},a),difficulty:0};if(t){const{worldName:e,difficulty:a,characterClass:s,ocid:r,page:o}=t;i.world_name=e,i.difficulty=a,i.class=s,i.ocid=r,i.page=o}try{const t="maplestory/v1/ranking/dojang",e=await r.default.get(t,{baseURL:Gt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new wt(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getSeedRanking(t,a=Gt.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const i={date:Gt.toDateString({year:2023,month:12,day:22},a)};if(t){const{worldName:e,ocid:a,page:s}=t;i.world_name=e,i.ocid=a,i.page=s}try{const t="maplestory/v1/ranking/theseed",e=await r.default.get(t,{baseURL:Gt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new Pt(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getAchievementRanking(t,a=Gt.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const i={date:Gt.toDateString({year:2023,month:12,day:22},a)};if(t){const{ocid:e,page:a}=t;i.ocid=e,i.page=a}try{const t="maplestory/v1/ranking/achievement",e=await r.default.get(t,{baseURL:Gt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new u(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getInspectionInfo(){const t=(new n.default.Builder).buildObject({"soap:Envelope":{$:{"xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:soap":"http://schemas.xmlsoap.org/soap/envelope/"},"soap:Body":{GetInspectionInfo:{$:{xmlns:"https://api.maplestory.nexon.com/soap/"}}}}}),e=await r.default.post("soap/maplestory.asmx",t,{baseURL:"https://api.maplestory.nexon.com/",timeout:this.timeout,headers:{SOAPAction:"https://api.maplestory.nexon.com/soap/GetInspectionInfo","Content-Type":"text/xml; charset=utf-8"}}),a=await n.default.parseStringPromise(e.data);return new Et(a)}buildHeaders(){return{"x-nxopen-api-key":this.apiKey}}static getProperDefaultDateOptions(t){const{hour:e,minute:a,dateOffset:i}=t,s=o.default().utcOffset(Gt.kstOffset),r=o.default().utcOffset(Gt.kstOffset).hour(e).minute(a);let n;return n=s.isAfter(r)?s:s.subtract(1,"day"),n=n.subtract(i??0,"day"),{year:n.year(),month:n.month()+1,day:n.date()}}static toDateString(t,e){const{year:a,month:i,day:s}=t,{year:r,month:n,day:c}=e;if(r<a||r===a&&n<i||r===a&&n===i&&c<s)throw new Error(`You can only retrieve data after ${o.default(`${a}-${i}-${s}`).format("YYYY-MM-DD")}.`);return o.default(`${r}-${n}-${c}`).utcOffset(Gt.kstOffset).format("YYYY-MM-DD")}}t.AchievementRankingDto=p,t.AchievementRankingResponseDto=u,t.CharacterAbilityDto=f,t.CharacterAbilityInfoDto=_,t.CharacterAndroidCashItemEquipmentColoringPrismDto=g,t.CharacterAndroidCashItemEquipmentDto=y,t.CharacterAndroidCashItemEquipmentOptionDto=w,t.CharacterAndroidEquipmentDto=b,t.CharacterAndroidEquipmentFaceDto=D,t.CharacterAndroidEquipmentHairDto=k,t.CharacterBasicDto=x,t.CharacterBeautyEquipmentDto=v,t.CharacterBeautyEquipmentFaceDto=E,t.CharacterBeautyEquipmentHairDto=C,t.CharacterCashItemEquipmentColoringPrismDto=S,t.CharacterCashItemEquipmentDto=I,t.CharacterCashItemEquipmentOptionDto=P,t.CharacterCashItemEquipmentPresetDto=O,t.CharacterDojangDto=N,t.CharacterDto=L,t.CharacterHexaMatrixDto=q,t.CharacterHexaMatrixEquipmentDto=A,t.CharacterHexaMatrixEquipmentLinkedSkillDto=R,t.CharacterHexaMatrixStatCoreDto=U,t.CharacterHexaMatrixStatDto=H,t.CharacterHyperStatDto=T,t.CharacterHyperStatInfoDto=M,t.CharacterItemEquipmentAddOptionDto=G,t.CharacterItemEquipmentBaseOptionDto=$,t.CharacterItemEquipmentDto=Z,t.CharacterItemEquipmentEtcOptionDto=B,t.CharacterItemEquipmentExceptionalOptionDto=j,t.CharacterItemEquipmentInfoDto=z,t.CharacterItemEquipmentStarforceOptionDto=F,t.CharacterItemEquipmentTitleDto=V,t.CharacterItemEquipmentTotalOptionDto=Y,t.CharacterLinkSkillDto=Q,t.CharacterLinkSkillInfoDto=K,t.CharacterPetEquipmentAutoSkillDto=X,t.CharacterPetEquipmentDto=tt,t.CharacterPetEquipmentItemDto=J,t.CharacterPetEquipmentItemOptionDto=W,t.CharacterPopularityDto=et,t.CharacterPropensityDto=at,t.CharacterSetEffectDto=rt,t.CharacterSetEffectInfoDto=st,t.CharacterSetEffectOptionInfoDto=it,t.CharacterSkillDto=nt,t.CharacterSkillInfoDto=ot,t.CharacterStatDto=ct,t.CharacterSymbolEquipmentDto=ht,t.CharacterSymbolEquipmentInfoDto=lt,t.CharacterVMatrixCodeEquipmentDto=mt,t.CharacterVMatrixDto=dt,t.CubeHistoryDto=_t,t.CubeHistoryResponseDto=ft,t.CubeResultOptionDto=ut,t.DojangRankingDto=gt,t.DojangRankingResponseDto=wt,t.GuildBasicDto=Dt,t.GuildDto=kt,t.GuildRankingDto=bt,t.GuildRankingResponseDto=xt,t.GuildSkillDto=yt,t.InspectionInfoDto=Et,t.MapleStoryApi=Gt,t.MapleStoryApiError=Ht,t.OverallRankingDto=Ct,t.OverallRankingResponseDto=vt,t.TheSeedRankingDto=St,t.TheSeedRankingResponseDto=Pt,t.UnionDto=Ot,t.UnionRaiderBlockControlPointDto=Nt,t.UnionRaiderBlockDto=Lt,t.UnionRaiderBlockPositionDto=It,t.UnionRaiderDto=At,t.UnionRaiderInnerStatDto=Rt,t.UnionRankingDto=qt,t.UnionRankingResponseDto=Ut,t.potentialOptionGradeFromString=pt}));
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("axios"),require("dayjs"),require("xml2js")):"function"==typeof define&&define.amd?define(["exports","axios","dayjs","xml2js"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self)["maplestory-openapi"]={},t.axios,t.dayjs,t.xml2js)}(this,(function(t,e,a,i){"use strict";function s(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var r=s(e),o=s(a),n=s(i),c=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self,{exports:{}});!function(t,e){var a,i;t.exports=(a={year:0,month:1,day:2,hour:3,minute:4,second:5},i={},function(t,e,s){var r,o=function(t,e,a){void 0===a&&(a={});var s=new Date(t),r=function(t,e){void 0===e&&(e={});var a=e.timeZoneName||"short",s=t+"|"+a,r=i[s];return r||(r=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:a}),i[s]=r),r}(e,a);return r.formatToParts(s)},n=function(t,e){for(var i=o(t,e),r=[],n=0;n<i.length;n+=1){var c=i[n],l=c.type,h=c.value,m=a[l];m>=0&&(r[m]=parseInt(h,10))}var d=r[3],p=24===d?0:d,u=r[0]+"-"+r[1]+"-"+r[2]+" "+p+":"+r[4]+":"+r[5]+":000",_=+t;return(s.utc(u).valueOf()-(_-=_%1e3))/6e4},c=e.prototype;c.tz=function(t,e){void 0===t&&(t=r);var a=this.utcOffset(),i=this.toDate(),o=i.toLocaleString("en-US",{timeZone:t}),n=Math.round((i-new Date(o))/1e3/60),c=s(o,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(15*-Math.round(i.getTimezoneOffset()/15)-n,!0);if(e){var l=c.utcOffset();c=c.add(a-l,"minute")}return c.$x.$timezone=t,c},c.offsetName=function(t){var e=this.$x.$timezone||s.tz.guess(),a=o(this.valueOf(),e,{timeZoneName:t}).find((function(t){return"timezonename"===t.type.toLowerCase()}));return a&&a.value};var l=c.startOf;c.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return l.call(this,t,e);var a=s(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return l.call(a,t,e).tz(this.$x.$timezone,!0)},s.tz=function(t,e,a){var i=a&&e,o=a||e||r,c=n(+s(),o);if("string"!=typeof t)return s(t).tz(o);var l=function(t,e,a){var i=t-60*e*1e3,s=n(i,a);if(e===s)return[i,e];var r=n(i-=60*(s-e)*1e3,a);return s===r?[i,s]:[t-60*Math.min(s,r)*1e3,Math.max(s,r)]}(s.utc(t,i).valueOf(),c,o),h=l[0],m=l[1],d=s(h).utcOffset(m);return d.$x.$timezone=o,d},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(t){r=t}})}(c);var l=c.exports,h={exports:{}};!function(t,e){var a,i,s;t.exports=(a="minute",i=/[+-]\d\d(?::?\d\d)?/g,s=/([+-]|\d\d)/g,function(t,e,r){var o=e.prototype;r.utc=function(t){return new e({date:t,utc:!0,args:arguments})},o.utc=function(t){var e=r(this.toDate(),{locale:this.$L,utc:!0});return t?e.add(this.utcOffset(),a):e},o.local=function(){return r(this.toDate(),{locale:this.$L,utc:!1})};var n=o.parse;o.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),n.call(this,t)};var c=o.init;o.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else c.call(this)};var l=o.utcOffset;o.utcOffset=function(t,e){var r=this.$utils().u;if(r(t))return this.$u?0:r(this.$offset)?l.call(this):this.$offset;if("string"==typeof t&&(t=function(t){void 0===t&&(t="");var e=t.match(i);if(!e)return null;var a=(""+e[0]).match(s)||["-",0,0],r=a[0],o=60*+a[1]+ +a[2];return 0===o?0:"+"===r?o:-o}(t),null===t))return this;var o=Math.abs(t)<=16?60*t:t,n=this;if(e)return n.$offset=o,n.$u=0===t,n;if(0!==t){var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(n=this.local().add(o+c,a)).$offset=o,n.$x.$localOffset=c}else n=this.utc();return n};var h=o.format;o.format=function(t){var e=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return h.call(this,e)},o.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},o.isUTC=function(){return!!this.$u},o.toISOString=function(){return this.toDate().toISOString()},o.toString=function(){return this.toDate().toUTCString()};var m=o.toDate;o.toDate=function(t){return"s"===t&&this.$offset?r(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():m.call(this)};var d=o.diff;o.diff=function(t,e,a){if(t&&this.$u===t.$u)return d.call(this,t,e,a);var i=this.local(),s=r(t).local();return d.call(i,s,e,a)}})}(h);var m,d=h.exports;class p{date;ranking;characterName;worldName;className;subClassName;trophyGrade;trophyScore;constructor(t){const{date:e,ranking:a,character_name:i,world_name:s,class_name:r,sub_class_name:o,trophy_grade:n,trophy_score:c}=t;this.date=new Date(e),this.ranking=a,this.characterName=i,this.worldName=s,this.className=r,this.subClassName=o,this.trophyGrade=n,this.trophyScore=c}}class u{ranking;constructor(t){const{ranking:e}=t;this.ranking=e.map((t=>new p(t)))}}class _{abilityNo;abilityGrade;abilityValue;constructor(t){const{ability_no:e,ability_grade:a,ability_value:i}=t;this.abilityNo=e,this.abilityGrade=a,this.abilityValue=i}}class f{date;abilityGrade;abilityInfo;remainFame;constructor(t){const{date:e,ability_grade:a,ability_info:i,remain_fame:s}=t;this.date=new Date(e),this.abilityGrade=a,this.abilityInfo=i.map((t=>new _(t))),this.remainFame=s}}class g{colorRange;hue;saturation;value;constructor(t){const{color_range:e,hue:a,saturation:i,value:s}=t;this.colorRange=e,this.hue=a,this.saturation=i,this.value=s}}class y{optionType;optionValue;constructor(t){const{option_type:e,option_value:a}=t;this.optionType=e,this.optionValue=a}}class w{cashItemEquipmentPart;cashItemEquipmentSlot;cashItemName;cashItemIcon;cashItemDescription;cashItemOption;dateExpire;dateOptionExpire;cashItemLabel;cashItemColoringPrism;constructor(t){const{cash_item_equipment_part:e,cash_item_equipment_slot:a,cash_item_name:i,cash_item_icon:s,cash_item_description:r,cash_item_option:o,date_expire:n,date_option_expire:c,cash_item_label:l,cash_item_coloring_prism:h}=t;this.cashItemEquipmentPart=e,this.cashItemEquipmentSlot=a,this.cashItemName=i,this.cashItemIcon=s,this.cashItemDescription=r,this.cashItemOption=o.map((t=>new y(t))),this.dateExpire=n?new Date(n):null,this.dateOptionExpire=c?new Date(c):null,this.cashItemLabel=l,this.cashItemColoringPrism=h?new g(h):null}}class D{faceName;baseColor;mixColor;mixRate;constructor(t){const{face_name:e,base_color:a,mix_color:i,mix_rate:s}=t;this.faceName=e,this.baseColor=a,this.mixColor=i,this.mixRate=s}}class k{hairName;baseColor;mixColor;mixRate;constructor(t){const{hair_name:e,base_color:a,mix_color:i,mix_rate:s}=t;this.hairName=e,this.baseColor=a,this.mixColor=i,this.mixRate=s}}class b{date;androidName;androidNickname;androidIcon;androidDescription;androidHair;androidFace;androidSkinName;androidCashItemEquipment;androidEarSensorClipFlag;constructor(t){const{date:e,android_name:a,android_nickname:i,android_icon:s,android_description:r,android_hair:o,android_face:n,android_skin_name:c,android_cash_item_equipment:l,android_ear_sensor_clip_flag:h}=t;this.date=new Date(e),this.androidName=a,this.androidNickname=i,this.androidIcon=s,this.androidDescription=r,this.androidHair=new k(o),this.androidFace=new D(n),this.androidSkinName=c,this.androidCashItemEquipment=l.map((t=>new w(t))),this.androidEarSensorClipFlag=h??null}}class x{date;characterName;worldName;characterGender;characterClass;characterClassLevel;characterLevel;characterExp;characterExpRate;characterGuildName;characterImage;constructor(t){const{date:e,character_name:a,world_name:i,character_gender:s,character_class:r,character_class_level:o,character_level:n,character_exp:c,character_exp_rate:l,character_guild_name:h,character_image:m}=t;this.date=new Date(e),this.characterName=a,this.worldName=i,this.characterGender=s,this.characterClass=r,this.characterClassLevel=o,this.characterLevel=n,this.characterExp=c,this.characterExpRate=l,this.characterGuildName=h,this.characterImage=m}}class E{faceName;baseColor;mixColor;mixRate;constructor(t){const{face_name:e,base_color:a,mix_color:i,mix_rate:s}=t;this.faceName=e,this.baseColor=a,this.mixColor=i,this.mixRate=s}}class C{hairName;baseColor;mixColor;mixRate;constructor(t){const{hair_name:e,base_color:a,mix_color:i,mix_rate:s}=t;this.hairName=e,this.baseColor=a,this.mixColor=i,this.mixRate=s}}class v{date;characterGender;characterClass;characterHair;characterFace;characterSkinName;additionalCharacterHair;additionalCharacterFace;additionalCharacterSkinName;constructor(t){const{date:e,character_gender:a,character_class:i,character_hair:s,character_face:r,character_skin_name:o,additional_character_hair:n,additional_character_face:c,additional_character_skin_name:l}=t;this.date=new Date(e),this.characterGender=a,this.characterClass=i,this.characterHair=new C(s),this.characterFace=new E(r),this.characterSkinName=o,this.additionalCharacterHair=n?new C(n):null,this.additionalCharacterFace=c?new E(c):null,this.additionalCharacterSkinName=l}}class S{colorRange;hue;saturation;value;constructor(t){const{color_range:e,hue:a,saturation:i,value:s}=t;this.colorRange=e,this.hue=a,this.saturation=i,this.value=s}}class P{optionType;optionValue;constructor(t){const{option_type:e,option_value:a}=t;this.optionType=e,this.optionValue=a}}class O{cashItemEquipmentPart;cashItemEquipmentSlot;cashItemName;cashItemIcon;cashItemDescription;cashItemOption;dateExpire;dateOptionExpire;cashItemLabel;cashItemColoringPrism;basePresetItemDisableFlag;constructor(t){const{cash_item_equipment_part:e,cash_item_equipment_slot:a,cash_item_name:i,cash_item_icon:s,cash_item_description:r,cash_item_option:o,date_expire:n,date_option_expire:c,cash_item_label:l,cash_item_coloring_prism:h,base_preset_item_disable_flag:m}=t;this.cashItemEquipmentPart=e,this.cashItemEquipmentSlot=a,this.cashItemName=i,this.cashItemIcon=s,this.cashItemDescription=r,this.cashItemOption=o.map((t=>new P(t))),this.dateExpire=n,this.dateOptionExpire=c,this.cashItemLabel=l,this.cashItemColoringPrism=h?new S(h):null,this.basePresetItemDisableFlag=m}}class I{date;characterGender;characterClass;presetNo;cashItemEquipmentPreset1;cashItemEquipmentPreset2;cashItemEquipmentPreset3;additionalCashItemEquipmentPreset1;additionalCashItemEquipmentPreset2;additionalCashItemEquipmentPreset3;constructor(t){const{date:e,character_gender:a,character_class:i,preset_no:s,cash_item_equipment_preset_1:r,cash_item_equipment_preset_2:o,cash_item_equipment_preset_3:n,additional_cash_item_equipment_preset_1:c,additional_cash_item_equipment_preset_2:l,additional_cash_item_equipment_preset_3:h}=t;this.date=new Date(e),this.characterGender=a,this.characterClass=i,this.presetNo=s,this.cashItemEquipmentPreset1=r.map((t=>new O(t))),this.cashItemEquipmentPreset2=o.map((t=>new O(t))),this.cashItemEquipmentPreset3=n.map((t=>new O(t))),this.additionalCashItemEquipmentPreset1=c.map((t=>new O(t))),this.additionalCashItemEquipmentPreset2=l.map((t=>new O(t))),this.additionalCashItemEquipmentPreset3=h.map((t=>new O(t)))}}class N{date;characterClass;worldName;dojangBestFloor;dateDojangRecord;dojangBestTime;constructor(t){const{date:e,character_class:a,world_name:i,dojang_best_floor:s,date_dojang_record:r,dojang_best_time:o}=t;this.date=new Date(e),this.characterClass=a,this.worldName=i,this.dojangBestFloor=s,this.dateDojangRecord=r?new Date(r):null,this.dojangBestTime=o}}class R{ocid;constructor(t){const{ocid:e}=t;this.ocid=e}}class L{hexaSkillId;constructor(t){const{hexa_skill_id:e}=t;this.hexaSkillId=e}}class A{hexaCoreName;hexaCoreLevel;hexaCoreType;linkedSkill;constructor(t){const{hexa_core_name:e,hexa_core_level:a,hexa_core_type:i,linked_skill:s}=t;this.hexaCoreName=e,this.hexaCoreLevel=a,this.hexaCoreType=i,this.linkedSkill=s.map((t=>new L(t)))}}class q{date;characterHexaCoreEquipment;constructor(t){const{date:e,character_hexa_core_equipment:a}=t;this.date=new Date(e),this.characterHexaCoreEquipment=a.map((t=>new A(t)))}}class U{slotId;mainStatName;subStatName1;subStatName2;mainStatLevel;subStatLevel1;subStatLevel2;statGrade;constructor(t){const{slot_id:e,main_stat_name:a,sub_stat_name_1:i,sub_stat_name_2:s,main_stat_level:r,sub_stat_level_1:o,sub_stat_level_2:n,stat_grade:c}=t;this.slotId=e,this.mainStatName=a,this.subStatName1=i,this.subStatName2=s,this.mainStatLevel=r,this.subStatLevel1=o,this.subStatLevel2=n,this.statGrade=c}}class H{date;characterClass;characterHexaStatCore;presetHexaStatCore;constructor(t){const{date:e,character_class:a,character_hexa_stat_core:i,preset_hexa_stat_core:s}=t;this.date=new Date(e),this.characterClass=a,this.characterHexaStatCore=i.map((t=>new U(t))),this.presetHexaStatCore=s.map((t=>new U(t)))}}class M{statType;statPoint;statLevel;statIncrease;constructor(t){const{stat_type:e,stat_point:a,stat_level:i,stat_increase:s}=t;this.statType=e,this.statPoint=a,this.statLevel=i,this.statIncrease=s}}class T{date;characterClass;usePresetNo;useAvailableHyperStat;hyperStatPreset1;hyperStatPreset1RemainPoint;hyperStatPreset2;hyperStatPreset2RemainPoint;hyperStatPreset3;hyperStatPreset3RemainPoint;constructor(t){const{date:e,character_class:a,use_preset_no:i,use_available_hyper_stat:s,hyper_stat_preset_1:r,hyper_stat_preset_1_remain_point:o,hyper_stat_preset_2:n,hyper_stat_preset_2_remain_point:c,hyper_stat_preset_3:l,hyper_stat_preset_3_remain_point:h}=t;this.date=new Date(e),this.characterClass=a,this.usePresetNo=i,this.useAvailableHyperStat=s,this.hyperStatPreset1=r.map((t=>new M(t))),this.hyperStatPreset1RemainPoint=o,this.hyperStatPreset2=n.map((t=>new M(t))),this.hyperStatPreset2RemainPoint=c,this.hyperStatPreset3=l.map((t=>new M(t))),this.hyperStatPreset3RemainPoint=h}}class G{str;dex;int;luk;maxHp;maxMp;attackPower;magicPower;armor;speed;jump;bossDamage;damage;allStat;equipmentLevelDecrease;constructor(t){const{str:e,dex:a,int:i,luk:s,max_hp:r,max_mp:o,attack_power:n,magic_power:c,armor:l,speed:h,jump:m,boss_damage:d,damage:p,all_stat:u,equipment_level_decrease:_}=t;this.str=e,this.dex=a,this.int=i,this.luk=s,this.maxHp=r,this.maxMp=o,this.attackPower=n,this.magicPower=c,this.armor=l,this.speed=h,this.jump=m,this.bossDamage=d,this.damage=p,this.allStat=u,this.equipmentLevelDecrease=_}}class ${str;dex;int;luk;maxHp;maxMp;attackPower;magicPower;armor;speed;jump;bossDamage;ignoreMonsterArmor;allStat;maxHpRate;maxMpRate;baseEquipmentLevel;constructor(t){const{str:e,dex:a,int:i,luk:s,max_hp:r,max_mp:o,attack_power:n,magic_power:c,armor:l,speed:h,jump:m,boss_damage:d,ignore_monster_armor:p,all_stat:u,max_hp_rate:_,max_mp_rate:f,base_equipment_level:g}=t;this.str=e,this.dex=a,this.int=i,this.luk=s,this.maxHp=r,this.maxMp=o,this.attackPower=n,this.magicPower=c,this.armor=l,this.speed=h,this.jump=m,this.bossDamage=d,this.ignoreMonsterArmor=p,this.allStat=u,this.maxHpRate=_,this.maxMpRate=f,this.baseEquipmentLevel=g}}class B{str;dex;int;luk;maxHp;maxMp;attackPower;magicPower;armor;speed;jump;constructor(t){const{str:e,dex:a,int:i,luk:s,max_hp:r,max_mp:o,attack_power:n,magic_power:c,armor:l,speed:h,jump:m}=t;this.str=e,this.dex=a,this.int=i,this.luk=s,this.maxHp=r,this.maxMp=o,this.attackPower=n,this.magicPower=c,this.armor=l,this.speed=h,this.jump=m}}class j{str;dex;int;luk;maxHp;maxMp;attackPower;magicPower;constructor(t){const{str:e,dex:a,int:i,luk:s,max_hp:r,max_mp:o,attack_power:n,magic_power:c}=t;this.str=e,this.dex=a,this.int=i,this.luk=s,this.maxHp=r,this.maxMp=o,this.attackPower=n,this.magicPower=c}}class F{str;dex;int;luk;maxHp;maxMp;attackPower;magicPower;armor;speed;jump;constructor(t){const{str:e,dex:a,int:i,luk:s,max_hp:r,max_mp:o,attack_power:n,magic_power:c,armor:l,speed:h,jump:m}=t;this.str=e,this.dex=a,this.int=i,this.luk=s,this.maxHp=r,this.maxMp=o,this.attackPower=n,this.magicPower=c,this.armor=l,this.speed=h,this.jump=m}}class Y{str;dex;int;luk;maxHp;maxMp;attackPower;magicPower;armor;speed;jump;bossDamage;ignoreMonsterArmor;allStat;damage;equipmentLevelDecrease;maxHpRate;maxMpRate;constructor(t){const{str:e,dex:a,int:i,luk:s,max_hp:r,max_mp:o,attack_power:n,magic_power:c,armor:l,speed:h,jump:m,boss_damage:d,ignore_monster_armor:p,all_stat:u,damage:_,equipment_level_decrease:f,max_hp_rate:g,max_mp_rate:y}=t;this.str=e,this.dex=a,this.int=i,this.luk=s,this.maxHp=r,this.maxMp=o,this.attackPower=n,this.magicPower=c,this.armor=l,this.speed=h,this.jump=m,this.bossDamage=d,this.ignoreMonsterArmor=p,this.allStat=u,this.damage=_,this.equipmentLevelDecrease=f,this.maxHpRate=g,this.maxMpRate=y}}class V{itemEquipmentPart;equipmentSlot;itemName;itemIcon;itemDescription;itemShapeName;itemShapeIcon;itemGender;itemTotalOption;itemBaseOption;potentialOptionGrade;additionalPotentialOptionGrade;potentialOption1;potentialOption2;potentialOption3;additionalPotentialOption1;additionalPotentialOption2;additionalPotentialOption3;equipmentLevelIncrease;itemExceptionalOption;itemAddOption;growthExp;growthLevel;scrollUpgrade;cuttableCount;goldenHammerFlag;scrollResilienceCount;scrollUpgradeableCount;soulName;soulOption;itemEtcOption;starforce;starforceScrollFlag;itemStarforceOption;specialRingLevel;dateExpire;constructor(t){const{item_equipment_part:e,equipment_slot:a,item_name:i,item_icon:s,item_description:r,item_shape_name:o,item_shape_icon:n,item_gender:c,item_total_option:l,item_base_option:h,potential_option_grade:m,additional_potential_option_grade:d,potential_option_1:p,potential_option_2:u,potential_option_3:_,additional_potential_option_1:f,additional_potential_option_2:g,additional_potential_option_3:y,equipment_level_increase:w,item_exceptional_option:D,item_add_option:k,growth_exp:b,growth_level:x,scroll_upgrade:E,cuttable_count:C,golden_hammer_flag:v,scroll_resilience_count:S,scroll_upgradeable_count:P,soul_name:O,soul_option:I,item_etc_option:N,starforce:R,starforce_scroll_flag:L,item_starforce_option:A,special_ring_level:q,date_expire:U}=t;this.itemEquipmentPart=e,this.equipmentSlot=a,this.itemName=i,this.itemIcon=s,this.itemDescription=r,this.itemShapeName=o,this.itemShapeIcon=n,this.itemGender=c,this.itemTotalOption=new Y(l),this.itemBaseOption=new $(h),this.potentialOptionGrade=m,this.additionalPotentialOptionGrade=d,this.potentialOption1=p,this.potentialOption2=u,this.potentialOption3=_,this.additionalPotentialOption1=f,this.additionalPotentialOption2=g,this.additionalPotentialOption3=y,this.equipmentLevelIncrease=w,this.itemExceptionalOption=new j(D),this.itemAddOption=new G(k),this.growthExp=b,this.growthLevel=x,this.scrollUpgrade=E,this.cuttableCount=C,this.goldenHammerFlag=v,this.scrollResilienceCount=S,this.scrollUpgradeableCount=P,this.soulName=O,this.soulOption=I,this.itemEtcOption=new B(N),this.starforce=R,this.starforceScrollFlag=L,this.itemStarforceOption=new F(A),this.specialRingLevel=q,this.dateExpire=U?new Date(U):null}}class z{titleName;titleIcon;titleDescription;dateExpire;dateOptionExpire=null;isOptionExpired=null;constructor(t){const{title_name:e,title_icon:a,title_description:i,date_expire:s,date_option_expire:r}=t;this.titleName=e,this.titleIcon=a,this.titleDescription=i,this.dateExpire=s?new Date(s):null,"expired"===r?this.isOptionExpired=!0:"string"==typeof r&&(this.dateOptionExpire=r?new Date(r):null)}}class Z{date;characterGender;characterClass;itemEquipment;title;dragonEquipment;mechanicEquipment;constructor(t){const{date:e,character_gender:a,character_class:i,item_equipment:s,title:r,dragon_equipment:o,mechanic_equipment:n}=t;this.date=new Date(e),this.characterGender=a,this.characterClass=i,this.itemEquipment=s.map((t=>new V(t))),this.title=new z(r),this.dragonEquipment=o?o.map((t=>new V(t))):void 0,this.mechanicEquipment=n?n.map((t=>new V(t))):void 0}}class K{skillName;skillDescription;skillLevel;skillEffect;skillIcon;constructor(t){const{skill_name:e,skill_description:a,skill_level:i,skill_effect:s,skill_icon:r}=t;this.skillName=e,this.skillDescription=a,this.skillLevel=i,this.skillEffect=s,this.skillIcon=r}}class Q{date;characterClass;characterLinkSkill;characterOwnedLinkSkill;constructor(t){const{date:e,character_class:a,character_link_skill:i,character_owned_link_skill:s}=t;this.date=new Date(e),this.characterClass=a,this.characterLinkSkill=new K(i),this.characterOwnedLinkSkill=new K(s)}}class X{skill1;skill1Icon;skill2;skill2Icon;constructor(t){const{skill_1:e,skill_1_icon:a,skill_2:i,skill_2_icon:s}=t;this.skill1=e,this.skill1Icon=a,this.skill2=i,this.skill2Icon=s}}class W{optionType;optionValue;constructor(t){const{option_type:e,option_value:a}=t;this.optionType=e,this.optionValue=a}}class J{itemName;itemIcon;itemDescription;itemOption;scrollUpgrade;scrollUpgradeable;constructor(t){const{item_name:e,item_icon:a,item_description:i,item_option:s,scroll_upgrade:r,scroll_upgradeable:o}=t;this.itemName=e,this.itemIcon=a,this.itemDescription=i,this.itemOption=s.map((t=>new W(t))),this.scrollUpgrade=r,this.scrollUpgradeable=o}}class tt{date;pet1Name;pet1Nickname;pet1Icon;pet1Description;pet1Equipment;pet1AutoSkill;pet1PetType;pet1Skill;pet1DateExpire;pet2Name;pet2Nickname;pet2Icon;pet2Description;pet2Equipment;pet2AutoSkill;pet2PetType;pet2Skill;pet2DateExpire;pet3Name;pet3Nickname;pet3Icon;pet3Description;pet3Equipment;pet3AutoSkill;pet3PetType;pet3Skill;pet3DateExpire;constructor(t){const{date:e,pet_1_name:a,pet_1_nickname:i,pet_1_icon:s,pet_1_description:r,pet_1_equipment:o,pet_1_auto_skill:n,pet_1_pet_type:c,pet_1_skill:l,pet_1_date_expire:h,pet_2_name:m,pet_2_nickname:d,pet_2_icon:p,pet_2_description:u,pet_2_equipment:_,pet_2_auto_skill:f,pet_2_pet_type:g,pet_2_skill:y,pet_2_date_expire:w,pet_3_name:D,pet_3_nickname:k,pet_3_icon:b,pet_3_description:x,pet_3_equipment:E,pet_3_auto_skill:C,pet_3_pet_type:v,pet_3_skill:S,pet_3_date_expire:P}=t;this.date=new Date(e),this.pet1Name=a,this.pet1Nickname=i,this.pet1Icon=s,this.pet1Description=r,this.pet1Equipment=new J(o),this.pet1AutoSkill=new X(n),this.pet1PetType=c,this.pet1Skill=l,this.pet1DateExpire=new Date(h),this.pet2Name=m,this.pet2Nickname=d,this.pet2Icon=p,this.pet2Description=u,this.pet2Equipment=new J(_),this.pet2AutoSkill=new X(f),this.pet2PetType=g,this.pet2Skill=y,this.pet2DateExpire=new Date(w),this.pet3Name=D,this.pet3Nickname=k,this.pet3Icon=b,this.pet3Description=x,this.pet3Equipment=new J(E),this.pet3AutoSkill=new X(C),this.pet3PetType=v,this.pet3Skill=S,this.pet3DateExpire=new Date(P)}}class et{date;popularity;constructor(t){const{date:e,popularity:a}=t;this.date=new Date(e),this.popularity=a}}class at{date;charismaLevel;sensibilityLevel;insightLevel;willingnessLevel;handicraftLevel;charmLevel;constructor(t){const{date:e,charisma_level:a,sensibility_level:i,insight_level:s,willingness_level:r,handicraft_level:o,charm_level:n}=t;this.date=new Date(e),this.charismaLevel=a,this.sensibilityLevel=i,this.insightLevel=s,this.willingnessLevel=r,this.handicraftLevel=o,this.charmLevel=n}}class it{setCount;setOption;constructor(t){const{set_count:e,set_option:a}=t;this.setCount=e,this.setOption=a}}class st{setName;totalSetCount;setEffectInfo;constructor(t){const{set_name:e,total_set_count:a,set_effect_info:i}=t;this.setName=e,this.totalSetCount=a,this.setEffectInfo=i.map((t=>new it(t)))}}class rt{date;setEffect;constructor(t){const{date:e,set_effect:a}=t;this.date=new Date(e),this.setEffect=a.map((t=>new st(t)))}}class ot{skillName;skillDescription;skillLevel;skillEffect;skillIcon;constructor(t){const{skill_name:e,skill_description:a,skill_level:i,skill_effect:s,skill_icon:r}=t;this.skillName=e,this.skillDescription=a,this.skillLevel=i,this.skillEffect=s,this.skillIcon=r}}class nt{date;characterClass;characterSkillGrade;characterSkill;constructor(t){const{date:e,character_class:a,character_skill_grade:i,character_skill:s}=t;this.date=new Date(e),this.characterClass=a,this.characterSkillGrade=i,this.characterSkill=s.map((t=>new ot(t)))}}class ct{date;characterClass;finalStat;remainAP;constructor(t){const{date:e,character_class:a,final_stat:i,remain_ap:s}=t;this.date=new Date(e),this.characterClass=a,this.finalStat=i.map((t=>({statName:t.stat_name,statValue:t.stat_value}))),this.remainAP=s}}class lt{symbolName;symbolIcon;symbolDescription;symbolForce;symbolLevel;symbolStr;symbolDex;symbolInt;symbolLuk;symbolHp;symbolGrowthCount;symbolRequireGrowthCount;constructor(t){const{symbol_name:e,symbol_icon:a,symbol_description:i,symbol_force:s,symbol_level:r,symbol_str:o,symbol_dex:n,symbol_int:c,symbol_luk:l,symbol_hp:h,symbol_growth_count:m,symbol_require_growth_count:d}=t;this.symbolName=e,this.symbolIcon=a,this.symbolDescription=i,this.symbolForce=s,this.symbolLevel=r,this.symbolStr=o,this.symbolDex=n,this.symbolInt=c,this.symbolLuk=l,this.symbolHp=h,this.symbolGrowthCount=m,this.symbolRequireGrowthCount=d}}class ht{date;characterClass;symbol;constructor(t){const{date:e,character_class:a,symbol:i}=t;this.date=new Date(e),this.characterClass=a,this.symbol=i.map((t=>new lt(t)))}}class mt{slotId;slotLevel;vCoreName;vCoreType;vCoreLevel;vCoreSkill1;vCoreSkill2;vCoreSkill3;constructor(t){const{slot_id:e,slot_level:a,v_core_name:i,v_core_type:s,v_core_level:r,v_core_skill_1:o,v_core_skill_2:n,v_core_skill_3:c}=t;this.slotId=e,this.slotLevel=a,this.vCoreName=i,this.vCoreType=s,this.vCoreLevel=r,this.vCoreSkill1=o,this.vCoreSkill2=n,this.vCoreSkill3=c}}class dt{date;characterClass;characterVCoreEquipment;characterVMatrixRemainSlotUpgradePoint;constructor(t){const{date:e,character_class:a,character_v_core_equipment:i,character_v_matrix_remain_slot_upgrade_point:s}=t;this.date=new Date(e),this.characterClass=a,this.characterVCoreEquipment=i.map((t=>new mt(t))),this.characterVMatrixRemainSlotUpgradePoint=s}}t.PotentialOptionGrade=void 0,(m=t.PotentialOptionGrade||(t.PotentialOptionGrade={}))[m.RARE=0]="RARE",m[m.EPIC=1]="EPIC",m[m.UNIQUE=2]="UNIQUE",m[m.LEGENDARY=3]="LEGENDARY";const pt=e=>{const a={"레어":t.PotentialOptionGrade.RARE,"에픽":t.PotentialOptionGrade.EPIC,"유니크":t.PotentialOptionGrade.UNIQUE,"레전드리":t.PotentialOptionGrade.LEGENDARY}[e];if(!a)throw new TypeError("No enum constant for string: "+e);return a};class ut{value;grade;constructor(t){const{value:e,grade:a}=t;this.value=e,this.grade=a}get gradeEnum(){return pt(this.grade)}}class _t{id;characterName;worldName;dateCreate;cubeType;itemUpgradeResult;miracleTimeFlag;itemEquipmentPart;itemLevel;targetItem;potentialOptionGrade;additionalPotentialOptionGrade;upgradeGuarantee;upgradeGuaranteeCount;beforePotentialOption;beforeAdditionalPotentialOption;afterPotentialOption;afterAdditionalPotentialOption;constructor(t){const{id:e,character_name:a,world_name:i,date_create:s,cube_type:r,item_upgrade_result:o,miracle_time_flag:n,item_equipment_part:c,item_level:l,target_item:h,potential_option_grade:m,additional_potential_option_grade:d,upgrade_guarantee:p,upgrade_guarantee_count:u,before_potential_option:_,before_additional_potential_option:f,after_potential_option:g,after_additional_potential_option:y}=t;this.id=e,this.characterName=a,this.worldName=i,this.dateCreate=new Date(s),this.cubeType=r,this.itemUpgradeResult=o,this.miracleTimeFlag=n,this.itemEquipmentPart=c,this.itemLevel=l,this.targetItem=h,this.potentialOptionGrade=m,this.additionalPotentialOptionGrade=d,this.upgradeGuarantee=p,this.upgradeGuaranteeCount=u,this.beforePotentialOption=_.map((t=>new ut(t))),this.beforeAdditionalPotentialOption=f.map((t=>new ut(t))),this.afterPotentialOption=g.map((t=>new ut(t))),this.afterAdditionalPotentialOption=y.map((t=>new ut(t)))}get isItemUpgrade(){return"성공"===this.itemUpgradeResult}get isMiracleTimeFlag(){return"이벤트 적용되지 않음"!==this.miracleTimeFlag}get potentialOptionGradeEnum(){return pt(this.potentialOptionGrade)}get additionalPotentialOptionGradeEnum(){return pt(this.additionalPotentialOptionGrade)}}class ft{count;cubeHistory;nextCursor;constructor(t){const{count:e,cube_history:a,next_cursor:i}=t;this.count=e,this.cubeHistory=a.map((t=>new _t(t))),this.nextCursor=i}}class gt{date;ranking;characterName;worldName;className;subClassName;characterLevel;dojangFloor;dojangTimeRecord;constructor(t){const{date:e,ranking:a,character_name:i,world_name:s,class_name:r,sub_class_name:o,character_level:n,dojang_floor:c,dojang_time_record:l}=t;this.date=new Date(e),this.ranking=a,this.characterName=i,this.worldName=s,this.className=r,this.subClassName=o,this.characterLevel=n,this.dojangFloor=c,this.dojangTimeRecord=l}}class yt{ranking;constructor(t){const{ranking:e}=t;this.ranking=e.map((t=>new gt(t)))}}class wt{skillName;skillDescription;skillLevel;skillEffect;skillIcon;constructor(t){const{skill_name:e,skill_description:a,skill_level:i,skill_effect:s,skill_icon:r}=t;this.skillName=e,this.skillDescription=a,this.skillLevel=i,this.skillEffect=s,this.skillIcon=r}}class Dt{date;worldName;guildName;guildLevel;guildFame;guildPoint;guildMasterName;guildMemberCount;guildMember;guildSkill;guildNoblessSkill;guildMark;guildMarkCustom;constructor(t){const{date:e,world_name:a,guild_name:i,guild_level:s,guild_fame:r,guild_point:o,guild_master_name:n,guild_member_count:c,guild_member:l,guild_skill:h,guild_nobless_skill:m,guild_mark:d,guild_mark_custom:p}=t;this.date=new Date(e),this.worldName=a,this.guildName=i,this.guildLevel=s,this.guildFame=r,this.guildPoint=o,this.guildMasterName=n,this.guildMemberCount=c,this.guildMember=l,this.guildSkill=h.map((t=>new wt(t))),this.guildNoblessSkill=m.map((t=>new wt(t))),this.guildMark=d,this.guildMarkCustom=p}}class kt{oguildId;constructor(t){const{oguild_id:e}=t;this.oguildId=e}}class bt{date;ranking;guildName;worldName;guildLevel;guildMasterName;guildMark;guildPoint;constructor(t){const{date:e,ranking:a,guild_name:i,world_name:s,guild_level:r,guild_master_name:o,guild_mark:n,guild_point:c}=t;this.date=new Date(e),this.ranking=a,this.guildName=i,this.worldName=s,this.guildLevel=r,this.guildMasterName=o,this.guildMark=n,this.guildPoint=c}}class xt{ranking;constructor(t){const{ranking:e}=t;this.ranking=e.map((t=>new bt(t)))}}class Et{serviceCode;startDateTime;endDateTime;strObstacleContents;constructor(t){const e=t["soap:Envelope"]["soap:Body"][0].GetInspectionInfoResponse[0].GetInspectionInfoResult[0]["diffgr:diffgram"][0].NewDataSet[0].InspectionInfo[0];this.serviceCode=Number(e.serviceCode[0]),this.startDateTime=new Date(e.startDateTime[0]),this.endDateTime=new Date(e.endDateTime[0]),this.strObstacleContents=e.strObstacleContents[0]}}class Ct{date;ranking;characterName;worldName;className;subClassName;characterLevel;characterExp;characterPopularity;characterGuildName;constructor(t){const{date:e,ranking:a,character_name:i,world_name:s,class_name:r,sub_class_name:o,character_level:n,character_exp:c,character_popularity:l,character_guildname:h}=t;this.date=new Date(e),this.ranking=a,this.characterName=i,this.worldName=s,this.className=r,this.subClassName=o,this.characterLevel=n,this.characterExp=c,this.characterPopularity=l,this.characterGuildName=h}}class vt{ranking;constructor(t){const{ranking:e}=t;this.ranking=e.map((t=>new Ct(t)))}}class St{date;ranking;characterName;worldName;className;subClassName;characterLevel;theSeedFloor;theSeedTimeRecord;constructor(t){const{date:e,ranking:a,character_name:i,world_name:s,class_name:r,sub_class_name:o,character_level:n,theseed_floor:c,theseed_time_record:l}=t;this.date=new Date(e),this.ranking=a,this.characterName=i,this.worldName=s,this.className=r,this.subClassName=o,this.characterLevel=n,this.theSeedFloor=c,this.theSeedTimeRecord=l}}class Pt{ranking;constructor(t){const{ranking:e}=t;this.ranking=e.map((t=>new St(t)))}}class Ot{date;unionLevel;unionGrade;constructor(t){const{date:e,union_level:a,union_grade:i}=t;this.date=new Date(e),this.unionLevel=a,this.unionGrade=i}}class It{x;y;constructor(t){const{x:e,y:a}=t;this.x=e,this.y=a}}class Nt{x;y;constructor(t){const{x:e,y:a}=t;this.x=e,this.y=a}}class Rt{blockType;blockClass;blockLevel;blockControlPoint;blockPosition;constructor(t){const{block_type:e,block_class:a,block_level:i,block_control_point:s,block_position:r}=t;this.blockType=e,this.blockClass=a,this.blockLevel=i,this.blockControlPoint=new Nt(s),this.blockPosition=r?r.map((t=>new It(t))):null}}class Lt{statFieldId;statFieldEffect;constructor(t){const{stat_field_id:e,stat_field_effect:a}=t;this.statFieldId=e,this.statFieldEffect=a}}class At{date;unionRaiderStat;unionOccupiedStat;unionInnerStat;unionBlock;constructor(t){const{date:e,union_raider_stat:a,union_occupied_stat:i,union_inner_stat:s,union_block:r}=t;this.date=new Date(e),this.unionRaiderStat=a,this.unionOccupiedStat=i,this.unionInnerStat=s.map((t=>new Lt(t))),this.unionBlock=r.map((t=>new Rt(t)))}}class qt{date;ranking;characterName;worldName;className;subClassName;unionLevel;unionPower;constructor(t){const{date:e,ranking:a,character_name:i,world_name:s,class_name:r,sub_class_name:o,union_level:n,union_power:c}=t;this.date=new Date(e),this.ranking=a,this.characterName=i,this.worldName=s,this.className=r,this.subClassName=o,this.unionLevel=n,this.unionPower=c}}class Ut{ranking;constructor(t){const{ranking:e}=t;this.ranking=e.map((t=>new qt(t)))}}class Ht extends Error{name="MapleStoryApiError";errorCode;message;constructor(t){const{name:e,message:a}=t.error;super(a),this.errorCode=Tt[e],this.message=a}}var Mt;t.MapleStoryApiErrorCode=void 0,(Mt=t.MapleStoryApiErrorCode||(t.MapleStoryApiErrorCode={}))[Mt.OPENAPI00001=0]="OPENAPI00001",Mt[Mt.OPENAPI00002=1]="OPENAPI00002",Mt[Mt.OPENAPI00003=2]="OPENAPI00003",Mt[Mt.OPENAPI00004=3]="OPENAPI00004",Mt[Mt.OPENAPI00005=4]="OPENAPI00005",Mt[Mt.OPENAPI00006=5]="OPENAPI00006",Mt[Mt.OPENAPI00007=6]="OPENAPI00007";const Tt={OPENAPI00001:t.MapleStoryApiErrorCode.OPENAPI00001,OPENAPI00002:t.MapleStoryApiErrorCode.OPENAPI00002,OPENAPI00003:t.MapleStoryApiErrorCode.OPENAPI00003,OPENAPI00004:t.MapleStoryApiErrorCode.OPENAPI00004,OPENAPI00005:t.MapleStoryApiErrorCode.OPENAPI00005,OPENAPI00006:t.MapleStoryApiErrorCode.OPENAPI00006,OPENAPI00007:t.MapleStoryApiErrorCode.OPENAPI00007};class Gt{successRate;costDiscountRate;plusValue;starforceEventRange;constructor(t){const{success_rate:e,cost_discount_rate:a,plus_value:i,starforce_event_range:s}=t;this.successRate=e,this.costDiscountRate=a,this.plusValue=i,this.starforceEventRange=s}}class $t{id;itemUpgradeResult;beforeStarforceCount;afterStarforceCount;starCatchResult;superiorItemFlag;destroyDefence;chanceTime;eventFieldFlag;upgradeItem;protectShield;bonusStatUpgrade;characterName;worldName;targetItem;dateCreate;starforceEventList;constructor(t){const{id:e,item_upgrade_result:a,before_starforce_count:i,after_starforce_count:s,starcatch_result:r,superior_item_flag:o,destroy_defence:n,chance_time:c,event_field_flag:l,upgrade_item:h,protect_shield:m,bonus_stat_upgrade:d,character_name:p,world_name:u,target_item:_,date_create:f,starforce_event_list:g}=t;this.id=e,this.itemUpgradeResult=a,this.beforeStarforceCount=i,this.afterStarforceCount=s,this.starCatchResult=r,this.superiorItemFlag=o,this.destroyDefence=n,this.chanceTime=c,this.eventFieldFlag=l,this.upgradeItem=h,this.protectShield=m,this.bonusStatUpgrade=d,this.characterName=p,this.worldName=u,this.targetItem=_,this.dateCreate=new Date(f),this.starforceEventList=g.map((t=>new Gt(t)))}}class Bt{count;starforceHistory;nextCursor;constructor(t){const{count:e,starforce_history:a,next_cursor:i}=t;this.count=e,this.starforceHistory=a.map((t=>new $t(t))),this.nextCursor=i}}o.default.extend(l),o.default.extend(d);class jt{apiKey;static BASE_URL="https://open.api.nexon.com/";static kstOffset=540;timeout;constructor(t){this.apiKey=t,this.timeout=5e3}async getCharacter(t){try{const e="maplestory/v1/id",a=await r.default.get(e,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:{character_name:t}});return new R(a.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterBasic(t,a=jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:jt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/basic",e=await r.default.get(t,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new x(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterPopularity(t,a=jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:jt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/popularity",e=await r.default.get(t,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new et(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterStat(t,a=jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:jt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/stat",e=await r.default.get(t,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new ct(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterHyperStat(t,a=jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:jt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/hyper-stat",e=await r.default.get(t,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new T(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterPropensity(t,a=jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:jt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/propensity",e=await r.default.get(t,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new at(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterAbility(t,a=jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:jt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/ability",e=await r.default.get(t,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new f(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterItemEquipment(t,a=jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:jt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/item-equipment",e=await r.default.get(t,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new Z(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterCashItemEquipment(t,a=jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:jt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/cashitem-equipment",e=await r.default.get(t,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new I(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterSymbolEquipment(t,a=jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:jt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/symbol-equipment",e=await r.default.get(t,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new ht(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterSetEffect(t,a=jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:jt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/set-effect",e=await r.default.get(t,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new rt(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterBeautyEquipment(t,a=jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:jt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/beauty-equipment",e=await r.default.get(t,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new v(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterAndroidEquipment(t,a=jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:jt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/android-equipment",e=await r.default.get(t,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new b(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterPetEquipment(t,a=jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:jt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/pet-equipment",e=await r.default.get(t,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new tt(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterSkill(t,a,i=jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const s={ocid:t,character_skill_grade:a,date:jt.toDateString({year:2023,month:12,day:21},i)};try{const t="maplestory/v1/character/skill",e=await r.default.get(t,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:s});return new nt(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterLinkSkill(t,a=jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:jt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/link-skill",e=await r.default.get(t,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new Q(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterVMatrix(t,a=jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:jt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/vmatrix",e=await r.default.get(t,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new dt(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterHexaMatrix(t,a=jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:jt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/hexamatrix",e=await r.default.get(t,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new q(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterHexaMatrixStat(t,a=jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:jt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/hexamatrix-stat",e=await r.default.get(t,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new H(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCharacterDojang(t,a=jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:jt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/character/dojang",e=await r.default.get(t,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new N(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getUnionInfo(t,a=jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:jt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/user/union",e=await r.default.get(t,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new Ot(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getUnionRaiderInfo(t,a=jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,date:jt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/user/union-raider",e=await r.default.get(t,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new At(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getGuild(t,a){try{const e="maplestory/v1/guild/id",i=await r.default.get(e,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:{guild_name:t,world_name:a}});return new kt(i.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getGuildBasic(t,a=jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={oguild_id:t,date:jt.toDateString({year:2023,month:12,day:21},a)};try{const t="maplestory/v1/guild/basic",e=await r.default.get(t,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new Dt(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getStarforceHistory(t,a){const i={count:t};"string"==typeof a?i.cursor=a:"object"==typeof a&&(i.date=jt.toDateString({year:2023,month:12,day:27},a??jt.getProperDefaultDateOptions({hour:0,minute:0,dateOffset:0})));try{const t="maplestory/v1/history/starforce",e=await r.default.get(t,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new Bt(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getCubeHistory(t,a){const i={count:t};"string"==typeof a?i.cursor=a:"object"==typeof a&&(i.date=jt.toDateString({year:2022,month:11,day:25},a??jt.getProperDefaultDateOptions({hour:4,minute:0,dateOffset:1})));try{const t="maplestory/v1/history/cube",e=await r.default.get(t,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new ft(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getOverallRanking(t,a=jt.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const i={date:jt.toDateString({year:2023,month:12,day:22},a)};if(t){const{worldName:e,worldType:a,characterClass:s,ocid:r,page:o}=t;i.world_name=e,i.world_type=a,i.class=s,i.ocid=r,i.page=o}try{const t="maplestory/v1/ranking/overall",e=await r.default.get(t,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new vt(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getUnionRanking(t,a=jt.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const i={date:jt.toDateString({year:2023,month:12,day:22},a)};if(t){const{worldName:e,ocid:a,page:s}=t;i.world_name=e,i.ocid=a,i.page=s}try{const t="maplestory/v1/ranking/union",e=await r.default.get(t,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new Ut(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getGuildRanking(t,a=jt.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const i={date:jt.toDateString({year:2023,month:12,day:22},a),ranking_type:0};if(t){const{worldName:e,rankingType:a,ocid:s,page:r}=t;i.world_name=e,i.ranking_type=a,i.ocid=s,i.page=r}try{const t="maplestory/v1/ranking/guild",e=await r.default.get(t,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new xt(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getDojangRanking(t,a=jt.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const i={date:jt.toDateString({year:2023,month:12,day:22},a),difficulty:0};if(t){const{worldName:e,difficulty:a,characterClass:s,ocid:r,page:o}=t;i.world_name=e,i.difficulty=a,i.class=s,i.ocid=r,i.page=o}try{const t="maplestory/v1/ranking/dojang",e=await r.default.get(t,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new yt(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getSeedRanking(t,a=jt.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const i={date:jt.toDateString({year:2023,month:12,day:22},a)};if(t){const{worldName:e,ocid:a,page:s}=t;i.world_name=e,i.ocid=a,i.page=s}try{const t="maplestory/v1/ranking/theseed",e=await r.default.get(t,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new Pt(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getAchievementRanking(t,a=jt.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const i={date:jt.toDateString({year:2023,month:12,day:22},a)};if(t){const{ocid:e,page:a}=t;i.ocid=e,i.page=a}try{const t="maplestory/v1/ranking/achievement",e=await r.default.get(t,{baseURL:jt.BASE_URL,timeout:this.timeout,headers:this.buildHeaders(),params:i});return new u(e.data)}catch(t){if(t instanceof e.AxiosError){const e=t.response.data;throw new Ht(e)}throw t}}async getInspectionInfo(){const t=(new n.default.Builder).buildObject({"soap:Envelope":{$:{"xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:soap":"http://schemas.xmlsoap.org/soap/envelope/"},"soap:Body":{GetInspectionInfo:{$:{xmlns:"https://api.maplestory.nexon.com/soap/"}}}}}),e=await r.default.post("soap/maplestory.asmx",t,{baseURL:"https://api.maplestory.nexon.com/",timeout:this.timeout,headers:{SOAPAction:"https://api.maplestory.nexon.com/soap/GetInspectionInfo","Content-Type":"text/xml; charset=utf-8"}}),a=await n.default.parseStringPromise(e.data);return new Et(a)}buildHeaders(){return{"x-nxopen-api-key":this.apiKey}}static getProperDefaultDateOptions(t){const{hour:e,minute:a,dateOffset:i}=t,s=o.default().utcOffset(jt.kstOffset),r=o.default().utcOffset(jt.kstOffset).hour(e).minute(a);let n;return n=s.isAfter(r)?s:s.subtract(1,"day"),n=n.subtract(i??0,"day"),{year:n.year(),month:n.month()+1,day:n.date()}}static toDateString(t,e){const{year:a,month:i,day:s}=t,{year:r,month:n,day:c}=e;if(r<a||r===a&&n<i||r===a&&n===i&&c<s)throw new Error(`You can only retrieve data after ${o.default(`${a}-${i}-${s}`).format("YYYY-MM-DD")}.`);return o.default(`${r}-${n}-${c}`).utcOffset(jt.kstOffset).format("YYYY-MM-DD")}}t.AchievementRankingDto=p,t.AchievementRankingResponseDto=u,t.CharacterAbilityDto=f,t.CharacterAbilityInfoDto=_,t.CharacterAndroidCashItemEquipmentColoringPrismDto=g,t.CharacterAndroidCashItemEquipmentDto=w,t.CharacterAndroidCashItemEquipmentOptionDto=y,t.CharacterAndroidEquipmentDto=b,t.CharacterAndroidEquipmentFaceDto=D,t.CharacterAndroidEquipmentHairDto=k,t.CharacterBasicDto=x,t.CharacterBeautyEquipmentDto=v,t.CharacterBeautyEquipmentFaceDto=E,t.CharacterBeautyEquipmentHairDto=C,t.CharacterCashItemEquipmentColoringPrismDto=S,t.CharacterCashItemEquipmentDto=I,t.CharacterCashItemEquipmentOptionDto=P,t.CharacterCashItemEquipmentPresetDto=O,t.CharacterDojangDto=N,t.CharacterDto=R,t.CharacterHexaMatrixDto=q,t.CharacterHexaMatrixEquipmentDto=A,t.CharacterHexaMatrixEquipmentLinkedSkillDto=L,t.CharacterHexaMatrixStatCoreDto=U,t.CharacterHexaMatrixStatDto=H,t.CharacterHyperStatDto=T,t.CharacterHyperStatPresetDto=M,t.CharacterItemEquipmentAddOptionDto=G,t.CharacterItemEquipmentBaseOptionDto=$,t.CharacterItemEquipmentDto=Z,t.CharacterItemEquipmentEtcOptionDto=B,t.CharacterItemEquipmentExceptionalOptionDto=j,t.CharacterItemEquipmentInfoDto=V,t.CharacterItemEquipmentStarforceOptionDto=F,t.CharacterItemEquipmentTitleDto=z,t.CharacterItemEquipmentTotalOptionDto=Y,t.CharacterLinkSkillDto=Q,t.CharacterLinkSkillInfoDto=K,t.CharacterPetEquipmentAutoSkillDto=X,t.CharacterPetEquipmentDto=tt,t.CharacterPetEquipmentItemDto=J,t.CharacterPetEquipmentItemOptionDto=W,t.CharacterPopularityDto=et,t.CharacterPropensityDto=at,t.CharacterSetEffectDto=rt,t.CharacterSetEffectInfoDto=st,t.CharacterSetEffectOptionInfoDto=it,t.CharacterSkillDto=nt,t.CharacterSkillInfoDto=ot,t.CharacterStatDto=ct,t.CharacterSymbolEquipmentDto=ht,t.CharacterSymbolEquipmentInfoDto=lt,t.CharacterVMatrixCodeEquipmentDto=mt,t.CharacterVMatrixDto=dt,t.CubeHistoryDto=_t,t.CubeHistoryResponseDto=ft,t.CubeResultOptionDto=ut,t.DojangRankingDto=gt,t.DojangRankingResponseDto=yt,t.GuildBasicDto=Dt,t.GuildDto=kt,t.GuildRankingDto=bt,t.GuildRankingResponseDto=xt,t.GuildSkillDto=wt,t.InspectionInfoDto=Et,t.MapleStoryApi=jt,t.MapleStoryApiError=Ht,t.OverallRankingDto=Ct,t.OverallRankingResponseDto=vt,t.StarforceEventDto=Gt,t.StarforceHistoryDto=$t,t.StarforceHistoryResponseDto=Bt,t.TheSeedRankingDto=St,t.TheSeedRankingResponseDto=Pt,t.UnionDto=Ot,t.UnionRaiderBlockControlPointDto=Nt,t.UnionRaiderBlockDto=Rt,t.UnionRaiderBlockPositionDto=It,t.UnionRaiderDto=At,t.UnionRaiderInnerStatDto=Lt,t.UnionRankingDto=qt,t.UnionRankingResponseDto=Ut,t.potentialOptionGradeFromString=pt}));
|