maplestory-openapi 2.2.1 → 2.3.1

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.
Files changed (125) hide show
  1. package/README.md +1 -1
  2. package/dist/index.js +236 -28
  3. package/dist/index.min.js +1 -1
  4. package/dist/index.mjs +233 -28
  5. package/package.json +1 -1
  6. package/types/index.d.ts +81 -78
  7. package/types/maplestory/api/dto/{characterAbilityDto.d.ts → character/characterAbilityDto.d.ts} +1 -1
  8. package/types/maplestory/api/dto/{characterAbilityInfoDto.d.ts → character/characterAbilityInfoDto.d.ts} +1 -1
  9. package/types/maplestory/api/dto/{characterAndroidCashItemEquipmentColoringPrismDto.d.ts → character/characterAndroidCashItemEquipmentColoringPrismDto.d.ts} +1 -1
  10. package/types/maplestory/api/dto/{characterAndroidCashItemEquipmentDto.d.ts → character/characterAndroidCashItemEquipmentDto.d.ts} +6 -6
  11. package/types/maplestory/api/dto/{characterAndroidCashItemEquipmentOptionDto.d.ts → character/characterAndroidCashItemEquipmentOptionDto.d.ts} +1 -1
  12. package/types/maplestory/api/dto/{characterAndroidEquipmentDto.d.ts → character/characterAndroidEquipmentDto.d.ts} +7 -7
  13. package/types/maplestory/api/dto/{characterAndroidEquipmentFaceDto.d.ts → character/characterAndroidEquipmentFaceDto.d.ts} +4 -4
  14. package/types/maplestory/api/dto/{characterAndroidEquipmentHairDto.d.ts → character/characterAndroidEquipmentHairDto.d.ts} +4 -4
  15. package/types/maplestory/api/dto/{characterBasicDto.d.ts → character/characterBasicDto.d.ts} +2 -2
  16. package/types/maplestory/api/dto/{characterBeautyEquipmentDto.d.ts → character/characterBeautyEquipmentDto.d.ts} +4 -4
  17. package/types/maplestory/api/dto/{characterBeautyEquipmentFaceDto.d.ts → character/characterBeautyEquipmentFaceDto.d.ts} +2 -2
  18. package/types/maplestory/api/dto/{characterBeautyEquipmentHairDto.d.ts → character/characterBeautyEquipmentHairDto.d.ts} +2 -2
  19. package/types/maplestory/api/dto/{characterCashItemEquipmentColoringPrismDto.d.ts → character/characterCashItemEquipmentColoringPrismDto.d.ts} +1 -1
  20. package/types/maplestory/api/dto/{characterCashItemEquipmentDto.d.ts → character/characterCashItemEquipmentDto.d.ts} +1 -1
  21. package/types/maplestory/api/dto/{characterCashItemEquipmentOptionDto.d.ts → character/characterCashItemEquipmentOptionDto.d.ts} +1 -1
  22. package/types/maplestory/api/dto/{characterCashItemEquipmentPresetDto.d.ts → character/characterCashItemEquipmentPresetDto.d.ts} +6 -6
  23. package/types/maplestory/api/dto/{characterDojangDto.d.ts → character/characterDojangDto.d.ts} +2 -2
  24. package/types/maplestory/api/dto/{characterDto.d.ts → character/characterDto.d.ts} +1 -1
  25. package/types/maplestory/api/dto/{characterHexaMatrixDto.d.ts → character/characterHexaMatrixDto.d.ts} +2 -2
  26. package/types/maplestory/api/dto/{characterHexaMatrixEquipmentDto.d.ts → character/characterHexaMatrixEquipmentDto.d.ts} +1 -1
  27. package/types/maplestory/api/dto/{characterHexaMatrixEquipmentLinkedSkillDto.d.ts → character/characterHexaMatrixEquipmentLinkedSkillDto.d.ts} +1 -1
  28. package/types/maplestory/api/dto/{characterHexaMatrixStatCoreDto.d.ts → character/characterHexaMatrixStatCoreDto.d.ts} +1 -1
  29. package/types/maplestory/api/dto/{characterHexaMatrixStatDto.d.ts → character/characterHexaMatrixStatDto.d.ts} +1 -1
  30. package/types/maplestory/api/dto/{characterHyperStatDto.d.ts → character/characterHyperStatDto.d.ts} +5 -5
  31. package/types/maplestory/api/dto/character/characterHyperStatPresetDto.d.ts +24 -0
  32. package/types/maplestory/api/dto/{characterItemEquipmentAddOptionDto.d.ts → character/characterItemEquipmentAddOptionDto.d.ts} +1 -1
  33. package/types/maplestory/api/dto/{characterItemEquipmentBaseOptionDto.d.ts → character/characterItemEquipmentBaseOptionDto.d.ts} +1 -1
  34. package/types/maplestory/api/dto/{characterItemEquipmentDto.d.ts → character/characterItemEquipmentDto.d.ts} +1 -1
  35. package/types/maplestory/api/dto/{characterItemEquipmentEtcOptionDto.d.ts → character/characterItemEquipmentEtcOptionDto.d.ts} +1 -1
  36. package/types/maplestory/api/dto/{characterItemEquipmentExceptionalOptionDto.d.ts → character/characterItemEquipmentExceptionalOptionDto.d.ts} +1 -1
  37. package/types/maplestory/api/dto/{characterItemEquipmentInfoDto.d.ts → character/characterItemEquipmentInfoDto.d.ts} +14 -14
  38. package/types/maplestory/api/dto/{characterItemEquipmentStarforceOptionDto.d.ts → character/characterItemEquipmentStarforceOptionDto.d.ts} +1 -1
  39. package/types/maplestory/api/dto/{characterItemEquipmentTitleDto.d.ts → character/characterItemEquipmentTitleDto.d.ts} +7 -3
  40. package/types/maplestory/api/dto/{characterItemEquipmentTotalOptionDto.d.ts → character/characterItemEquipmentTotalOptionDto.d.ts} +1 -1
  41. package/types/maplestory/api/dto/{characterLinkSkillDto.d.ts → character/characterLinkSkillDto.d.ts} +1 -1
  42. package/types/maplestory/api/dto/{characterLinkSkillInfoDto.d.ts → character/characterLinkSkillInfoDto.d.ts} +1 -1
  43. package/types/maplestory/api/dto/{characterPetEquipmentAutoSkillDto.d.ts → character/characterPetEquipmentAutoSkillDto.d.ts} +5 -5
  44. package/types/maplestory/api/dto/{characterPetEquipmentDto.d.ts → character/characterPetEquipmentDto.d.ts} +4 -4
  45. package/types/maplestory/api/dto/{characterPetEquipmentItemDto.d.ts → character/characterPetEquipmentItemDto.d.ts} +4 -4
  46. package/types/maplestory/api/dto/{characterPetEquipmentItemOptionDto.d.ts → character/characterPetEquipmentItemOptionDto.d.ts} +1 -1
  47. package/types/maplestory/api/dto/{characterPopularityDto.d.ts → character/characterPopularityDto.d.ts} +1 -1
  48. package/types/maplestory/api/dto/{characterPropensityDto.d.ts → character/characterPropensityDto.d.ts} +1 -1
  49. package/types/maplestory/api/dto/{characterSetEffectDto.d.ts → character/characterSetEffectDto.d.ts} +1 -1
  50. package/types/maplestory/api/dto/{characterSetEffectInfoDto.d.ts → character/characterSetEffectInfoDto.d.ts} +1 -1
  51. package/types/maplestory/api/dto/{characterSetEffectOptionInfoDto.d.ts → character/characterSetEffectOptionInfoDto.d.ts} +1 -1
  52. package/types/maplestory/api/dto/{characterSkillDto.d.ts → character/characterSkillDto.d.ts} +1 -1
  53. package/types/maplestory/api/dto/{characterSkillInfoDto.d.ts → character/characterSkillInfoDto.d.ts} +1 -1
  54. package/types/maplestory/api/dto/{characterStatDto.d.ts → character/characterStatDto.d.ts} +1 -1
  55. package/types/maplestory/api/dto/{characterSymbolEquipmentDto.d.ts → character/characterSymbolEquipmentDto.d.ts} +1 -1
  56. package/types/maplestory/api/dto/{characterSymbolEquipmentInfoDto.d.ts → character/characterSymbolEquipmentInfoDto.d.ts} +1 -1
  57. package/types/maplestory/api/dto/{characterVMatrixCoreEquipmentDto.d.ts → character/characterVMatrixCoreEquipmentDto.d.ts} +3 -3
  58. package/types/maplestory/api/dto/{characterVMatrixDto.d.ts → character/characterVMatrixDto.d.ts} +1 -1
  59. package/types/maplestory/api/dto/{guildBasicDto.d.ts → guild/guildBasicDto.d.ts} +4 -4
  60. package/types/maplestory/api/dto/{guildDto.d.ts → guild/guildDto.d.ts} +1 -1
  61. package/types/maplestory/api/dto/{guildSkillDto.d.ts → guild/guildSkillDto.d.ts} +1 -1
  62. package/types/maplestory/api/dto/{cubeHistoryDto.d.ts → history/cubeHistoryDto.d.ts} +2 -2
  63. package/types/maplestory/api/dto/{cubeHistoryResponseDto.d.ts → history/cubeHistoryResponseDto.d.ts} +2 -2
  64. package/types/maplestory/api/dto/{cubeResultOptionDto.d.ts → history/cubeResultOptionDto.d.ts} +2 -2
  65. package/types/maplestory/api/dto/history/starforceEventDto.d.ts +24 -0
  66. package/types/maplestory/api/dto/history/starforceHistoryDto.d.ts +77 -0
  67. package/types/maplestory/api/dto/history/starforceHistoryResponseDto.d.ts +21 -0
  68. package/types/maplestory/api/dto/{achievementRankingDto.d.ts → ranking/achievementRankingDto.d.ts} +1 -1
  69. package/types/maplestory/api/dto/{achievementRankingResponseDto.d.ts → ranking/achievementRankingResponseDto.d.ts} +1 -1
  70. package/types/maplestory/api/dto/{dojangRankingDto.d.ts → ranking/dojangRankingDto.d.ts} +1 -1
  71. package/types/maplestory/api/dto/{dojangRankingResponseDto.d.ts → ranking/dojangRankingResponseDto.d.ts} +1 -1
  72. package/types/maplestory/api/dto/{guildRankingDto.d.ts → ranking/guildRankingDto.d.ts} +1 -1
  73. package/types/maplestory/api/dto/{guildRankingResponseDto.d.ts → ranking/guildRankingResponseDto.d.ts} +1 -1
  74. package/types/maplestory/api/dto/{overallRankingDto.d.ts → ranking/overallRankingDto.d.ts} +2 -2
  75. package/types/maplestory/api/dto/{overallRankingResponseDto.d.ts → ranking/overallRankingResponseDto.d.ts} +1 -1
  76. package/types/maplestory/api/dto/{theSeedRankingDto.d.ts → ranking/theSeedRankingDto.d.ts} +1 -1
  77. package/types/maplestory/api/dto/{theSeedRankingResponseDto.d.ts → ranking/theSeedRankingResponseDto.d.ts} +1 -1
  78. package/types/maplestory/api/dto/{unionRankingDto.d.ts → ranking/unionRankingDto.d.ts} +1 -1
  79. package/types/maplestory/api/dto/{unionRankingResponseDto.d.ts → ranking/unionRankingResponseDto.d.ts} +1 -1
  80. package/types/maplestory/api/dto/{unionDto.d.ts → union/unionDto.d.ts} +1 -1
  81. package/types/maplestory/api/dto/{unionRaiderBlockDto.d.ts → union/unionRaiderBlockDto.d.ts} +2 -2
  82. package/types/maplestory/api/dto/{unionRaiderBlockPositionDto.d.ts → union/unionRaiderBlockPositionDto.d.ts} +1 -1
  83. package/types/maplestory/api/dto/{unionRaiderControlPointDto.d.ts → union/unionRaiderControlPointDto.d.ts} +1 -1
  84. package/types/maplestory/api/dto/{unionRaiderDto.d.ts → union/unionRaiderDto.d.ts} +1 -1
  85. package/types/maplestory/api/dto/{unionRaiderInnerStatDto.d.ts → union/unionRaiderInnerStatDto.d.ts} +1 -1
  86. package/types/maplestory/api/mapleStoryApi.d.ts +58 -31
  87. package/types/maplestory/api/response/{characterAndroidEquipmentDtoBody.d.ts → character/characterAndroidEquipmentDtoBody.d.ts} +17 -17
  88. package/types/maplestory/api/response/{characterBasicDtoBody.d.ts → character/characterBasicDtoBody.d.ts} +1 -1
  89. package/types/maplestory/api/response/{characterBeautyEquipmentDtoBody.d.ts → character/characterBeautyEquipmentDtoBody.d.ts} +5 -5
  90. package/types/maplestory/api/response/{characterCashItemEquipmentDtoBody.d.ts → character/characterCashItemEquipmentDtoBody.d.ts} +5 -5
  91. package/types/maplestory/api/response/{characterDojangDtoBody.d.ts → character/characterDojangDtoBody.d.ts} +1 -1
  92. package/types/maplestory/api/response/character/characterHyperStatDtoBody.d.ts +19 -0
  93. package/types/maplestory/api/response/{characterItemEquipmentDtoBody.d.ts → character/characterItemEquipmentDtoBody.d.ts} +14 -14
  94. package/types/maplestory/api/response/{characterPetEquipmentDtoBody.d.ts → character/characterPetEquipmentDtoBody.d.ts} +10 -10
  95. package/types/maplestory/api/response/{characterVMatrixDtoBody.d.ts → character/characterVMatrixDtoBody.d.ts} +2 -2
  96. package/types/maplestory/api/response/{guildBasicDtoBody.d.ts → guild/guildBasicDtoBody.d.ts} +3 -3
  97. package/types/maplestory/api/response/{cubeHistoryResponseDtoBody.d.ts → history/cubeHistoryResponseDtoBody.d.ts} +1 -1
  98. package/types/maplestory/api/response/history/starforceEventDtoBody.d.ts +7 -0
  99. package/types/maplestory/api/response/history/starforceHistoryDtoBody.d.ts +21 -0
  100. package/types/maplestory/api/response/history/starforceHistoryResponseDtoBody.d.ts +7 -0
  101. package/types/maplestory/api/response/{overallRankingResponseDtoBody.d.ts → ranking/overallRankingResponseDtoBody.d.ts} +1 -1
  102. package/types/maplestory/api/dto/characterHyperStatInfoDto.d.ts +0 -24
  103. package/types/maplestory/api/response/characterHyperStatDtoBody.d.ts +0 -19
  104. /package/types/maplestory/api/response/{characterAbilityDtoBody.d.ts → character/characterAbilityDtoBody.d.ts} +0 -0
  105. /package/types/maplestory/api/response/{characterDtoBody.d.ts → character/characterDtoBody.d.ts} +0 -0
  106. /package/types/maplestory/api/response/{characterHexaMatrixDtoBody.d.ts → character/characterHexaMatrixDtoBody.d.ts} +0 -0
  107. /package/types/maplestory/api/response/{characterHexaMatrixStatDtoBody.d.ts → character/characterHexaMatrixStatDtoBody.d.ts} +0 -0
  108. /package/types/maplestory/api/response/{characterLinkSkillDtoBody.d.ts → character/characterLinkSkillDtoBody.d.ts} +0 -0
  109. /package/types/maplestory/api/response/{characterPopularityDtoBody.d.ts → character/characterPopularityDtoBody.d.ts} +0 -0
  110. /package/types/maplestory/api/response/{characterPropensityDtoBody.d.ts → character/characterPropensityDtoBody.d.ts} +0 -0
  111. /package/types/maplestory/api/response/{characterSetEffectDtoBody.d.ts → character/characterSetEffectDtoBody.d.ts} +0 -0
  112. /package/types/maplestory/api/response/{characterSkillDtoBody.d.ts → character/characterSkillDtoBody.d.ts} +0 -0
  113. /package/types/maplestory/api/response/{characterStatDtoBody.d.ts → character/characterStatDtoBody.d.ts} +0 -0
  114. /package/types/maplestory/api/response/{characterSymbolEquipmentDtoBody.d.ts → character/characterSymbolEquipmentDtoBody.d.ts} +0 -0
  115. /package/types/maplestory/api/response/{guildDtoBody.d.ts → guild/guildDtoBody.d.ts} +0 -0
  116. /package/types/maplestory/api/response/{cubeHistoryDtoBody.d.ts → history/cubeHistoryDtoBody.d.ts} +0 -0
  117. /package/types/maplestory/api/response/{cubeResultOptionDtoBody.d.ts → history/cubeResultOptionDtoBody.d.ts} +0 -0
  118. /package/types/maplestory/api/response/{achievementRankingResponseDtoBody.d.ts → ranking/achievementRankingResponseDtoBody.d.ts} +0 -0
  119. /package/types/maplestory/api/response/{dojangRankingResponseDtoBody.d.ts → ranking/dojangRankingResponseDtoBody.d.ts} +0 -0
  120. /package/types/maplestory/api/response/{guildRankingResponseDtoBody.d.ts → ranking/guildRankingResponseDtoBody.d.ts} +0 -0
  121. /package/types/maplestory/api/response/{rankingResponseDtoBody.d.ts → ranking/rankingResponseDtoBody.d.ts} +0 -0
  122. /package/types/maplestory/api/response/{theSeedRankingResponseDtoBody.d.ts → ranking/theSeedRankingResponseDtoBody.d.ts} +0 -0
  123. /package/types/maplestory/api/response/{unionRankingResponseDtoBody.d.ts → ranking/unionRankingResponseDtoBody.d.ts} +0 -0
  124. /package/types/maplestory/api/response/{unionDtoBody.d.ts → union/unionDtoBody.d.ts} +0 -0
  125. /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.2.1 # Replace with the latest version
16
+ npm install maplestory-openapi@2.3.1 # 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 = new Date(date_option_expire);
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 = new CharacterBeautyEquipmentHairDto(additional_character_hair);
535
- this.additionalCharacterFace = new CharacterBeautyEquipmentFaceDto(additional_character_face);
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 = new CharacterCashItemEquipmentColoringPrismDto(cash_item_coloring_prism);
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 = new Date(date_dojang_record);
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 CharacterHyperStatInfoDto {
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 CharacterHyperStatInfoDto(preset));
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 CharacterHyperStatInfoDto(preset));
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 CharacterHyperStatInfoDto(preset));
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
- gender;
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, 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;
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.gender = gender;
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
- this.dateOptionExpire = date_option_expire
1665
- ? new Date(date_option_expire)
1666
- : undefined;
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
 
@@ -2738,7 +2758,7 @@ class GuildBasicDto {
2738
2758
  /**
2739
2759
  * 노블레스 스킬 목록
2740
2760
  */
2741
- guildNoblessSkill;
2761
+ guildNoblesseSkill;
2742
2762
  /**
2743
2763
  * 조합형 길드 마크
2744
2764
  */
@@ -2748,7 +2768,7 @@ class GuildBasicDto {
2748
2768
  */
2749
2769
  guildMarkCustom;
2750
2770
  constructor(obj) {
2751
- const { date, world_name, guild_name, guild_level, guild_fame, guild_point, guild_master_name, guild_member_count, guild_member, guild_skill, guild_nobless_skill, guild_mark, guild_mark_custom, } = obj;
2771
+ const { date, world_name, guild_name, guild_level, guild_fame, guild_point, guild_master_name, guild_member_count, guild_member, guild_skill, guild_noblesse_skill, guild_mark, guild_mark_custom, } = obj;
2752
2772
  this.date = new Date(date);
2753
2773
  this.worldName = world_name;
2754
2774
  this.guildName = guild_name;
@@ -2759,7 +2779,7 @@ class GuildBasicDto {
2759
2779
  this.guildMemberCount = guild_member_count;
2760
2780
  this.guildMember = guild_member;
2761
2781
  this.guildSkill = guild_skill.map((skill) => new GuildSkillDto(skill));
2762
- this.guildNoblessSkill = guild_nobless_skill.map((skill) => new GuildSkillDto(skill));
2782
+ this.guildNoblesseSkill = guild_noblesse_skill.map((skill) => new GuildSkillDto(skill));
2763
2783
  this.guildMark = guild_mark;
2764
2784
  this.guildMarkCustom = guild_mark_custom;
2765
2785
  }
@@ -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.map((position) => new UnionRaiderBlockPositionDto(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.CharacterHyperStatInfoDto = CharacterHyperStatInfoDto;
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;