maplestory-openapi 2.3.1 → 2.4.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.
Files changed (35) hide show
  1. package/README.md +1 -1
  2. package/dist/index.js +1520 -622
  3. package/dist/index.min.js +1 -1
  4. package/dist/index.mjs +1511 -623
  5. package/package.json +1 -1
  6. package/types/index.d.ts +10 -0
  7. package/types/maplestory/api/dto/character/characterAbilityDto.d.ts +17 -0
  8. package/types/maplestory/api/dto/character/characterAbilityInfoDto.d.ts +9 -0
  9. package/types/maplestory/api/dto/character/characterAbilityPresetDto.d.ts +17 -0
  10. package/types/maplestory/api/dto/character/characterAndroidEquipmentDto.d.ts +33 -0
  11. package/types/maplestory/api/dto/character/characterAndroidEquipmentPresetDto.d.ts +58 -0
  12. package/types/maplestory/api/dto/character/characterCashItemEquipmentDto.d.ts +14 -6
  13. package/types/maplestory/api/dto/character/characterCashItemEquipmentPresetDto.d.ts +2 -2
  14. package/types/maplestory/api/dto/character/characterItemEquipmentDragonInfoDto.d.ts +126 -0
  15. package/types/maplestory/api/dto/character/characterItemEquipmentDto.d.ts +22 -4
  16. package/types/maplestory/api/dto/character/characterItemEquipmentInfoDto.d.ts +4 -1
  17. package/types/maplestory/api/dto/character/characterItemEquipmentMechanicInfoDto.d.ts +126 -0
  18. package/types/maplestory/api/dto/character/characterLinkSkillDto.d.ts +25 -1
  19. package/types/maplestory/api/dto/character/characterPetEquipmentDto.d.ts +51 -21
  20. package/types/maplestory/api/dto/character/characterPetEquipmentItemDto.d.ts +9 -1
  21. package/types/maplestory/api/dto/history/potentialHistoryDto.d.ts +82 -0
  22. package/types/maplestory/api/dto/history/potentialHistoryResponseDto.d.ts +21 -0
  23. package/types/maplestory/api/dto/history/potentialResultOptionDto.d.ts +18 -0
  24. package/types/maplestory/api/dto/union/unionArtifactCrystalDto.d.ts +36 -0
  25. package/types/maplestory/api/dto/union/unionArtifactDto.d.ts +26 -0
  26. package/types/maplestory/api/dto/union/unionArtifactEffectDto.d.ts +16 -0
  27. package/types/maplestory/api/mapleStoryApi.d.ts +49 -8
  28. package/types/maplestory/api/response/character/characterAbilityDtoBody.d.ts +9 -1
  29. package/types/maplestory/api/response/character/characterAndroidEquipmentDtoBody.d.ts +23 -1
  30. package/types/maplestory/api/response/character/characterCashItemEquipmentDtoBody.d.ts +3 -1
  31. package/types/maplestory/api/response/character/characterItemEquipmentDtoBody.d.ts +40 -5
  32. package/types/maplestory/api/response/character/characterLinkSkillDtoBody.d.ts +7 -1
  33. package/types/maplestory/api/response/character/characterPetEquipmentDtoBody.d.ts +30 -22
  34. package/types/maplestory/api/response/history/potentialHistoryResponseDtoBody.d.ts +29 -0
  35. package/types/maplestory/api/response/union/unionArtifactDtoBody.d.ts +20 -0
@@ -1,32 +1,38 @@
1
1
  type CharacterPetEquipmentDtoBody = {
2
2
  date: string;
3
- pet_1_name: string;
4
- pet_1_nickname: string;
5
- pet_1_icon: string;
6
- pet_1_description: string;
7
- pet_1_equipment: CharacterPetEquipmentItemDtoBody;
8
- pet_1_auto_skill: CharacterPetEquipmentAutoSkillDtoBody;
3
+ pet_1_name: string | null;
4
+ pet_1_nickname: string | null;
5
+ pet_1_icon: string | null;
6
+ pet_1_description: string | null;
7
+ pet_1_equipment: CharacterPetEquipmentItemDtoBody | null;
8
+ pet_1_auto_skill: CharacterPetEquipmentAutoSkillDtoBody | null;
9
9
  pet_1_pet_type: string | null;
10
10
  pet_1_skill: string[];
11
- pet_1_date_expire: string;
12
- pet_2_name: string;
13
- pet_2_nickname: string;
14
- pet_2_icon: string;
15
- pet_2_description: string;
16
- pet_2_equipment: CharacterPetEquipmentItemDtoBody;
17
- pet_2_auto_skill: CharacterPetEquipmentAutoSkillDtoBody;
11
+ pet_1_date_expire: string | null;
12
+ pet_1_appearance: string | null;
13
+ pet_1_appearance_icon: string | null;
14
+ pet_2_name: string | null;
15
+ pet_2_nickname: string | null;
16
+ pet_2_icon: string | null;
17
+ pet_2_description: string | null;
18
+ pet_2_equipment: CharacterPetEquipmentItemDtoBody | null;
19
+ pet_2_auto_skill: CharacterPetEquipmentAutoSkillDtoBody | null;
18
20
  pet_2_pet_type: string | null;
19
21
  pet_2_skill: string[];
20
- pet_2_date_expire: string;
21
- pet_3_name: string;
22
- pet_3_nickname: string;
23
- pet_3_icon: string;
24
- pet_3_description: string;
25
- pet_3_equipment: CharacterPetEquipmentItemDtoBody;
26
- pet_3_auto_skill: CharacterPetEquipmentAutoSkillDtoBody;
22
+ pet_2_date_expire: string | null;
23
+ pet_2_appearance: string | null;
24
+ pet_2_appearance_icon: string | null;
25
+ pet_3_name: string | null;
26
+ pet_3_nickname: string | null;
27
+ pet_3_icon: string | null;
28
+ pet_3_description: string | null;
29
+ pet_3_equipment: CharacterPetEquipmentItemDtoBody | null;
30
+ pet_3_auto_skill: CharacterPetEquipmentAutoSkillDtoBody | null;
27
31
  pet_3_pet_type: string | null;
28
32
  pet_3_skill: string[];
29
- pet_3_date_expire: string;
33
+ pet_3_date_expire: string | null;
34
+ pet_3_appearance: string | null;
35
+ pet_3_appearance_icon: string | null;
30
36
  };
31
37
  type CharacterPetEquipmentItemDtoBody = {
32
38
  item_name: string | null;
@@ -34,7 +40,9 @@ type CharacterPetEquipmentItemDtoBody = {
34
40
  item_description: string | null;
35
41
  item_option: CharacterPetEquipmentItemOptionDtoBody[];
36
42
  scroll_upgrade: number;
37
- scroll_upgradeable: number;
43
+ scroll_upgradable: number;
44
+ item_shape: string | null;
45
+ item_shape_icon: string | null;
38
46
  };
39
47
  type CharacterPetEquipmentItemOptionDtoBody = {
40
48
  option_type: string;
@@ -0,0 +1,29 @@
1
+ type PotentialHistoryResponseDtoBody = {
2
+ count: number;
3
+ potential_history: PotentialHistoryDtoBody[];
4
+ next_cursor: string | null;
5
+ };
6
+ type PotentialHistoryDtoBody = {
7
+ id: string;
8
+ character_name: string;
9
+ date_create: string;
10
+ potential_type: string;
11
+ item_upgrade_result: string;
12
+ miracle_time_flag: string;
13
+ item_equipment_part: string;
14
+ item_level: number;
15
+ target_item: string;
16
+ potential_option_grade: string;
17
+ additional_potential_option_grade: string;
18
+ upgrade_guarantee: boolean;
19
+ upgrade_guarantee_count: number;
20
+ before_potential_option: PotentialResultOptionDtoBody[];
21
+ before_additional_potential_option: PotentialResultOptionDtoBody[];
22
+ after_potential_option: PotentialResultOptionDtoBody[];
23
+ after_additional_potential_option: PotentialResultOptionDtoBody[];
24
+ };
25
+ type PotentialResultOptionDtoBody = {
26
+ value: string;
27
+ grade: string;
28
+ };
29
+ export type { PotentialHistoryResponseDtoBody, PotentialHistoryDtoBody, PotentialResultOptionDtoBody, };
@@ -0,0 +1,20 @@
1
+ type UnionArtifactDtoBody = {
2
+ date: string;
3
+ union_artifact_effect: UnionArtifactEffectDtoBody[];
4
+ union_artifact_crystal: UnionArtifactCrystalDtoBody[];
5
+ union_artifact_remain_ap: number | null;
6
+ };
7
+ type UnionArtifactEffectDtoBody = {
8
+ name: string;
9
+ level: number;
10
+ };
11
+ type UnionArtifactCrystalDtoBody = {
12
+ name: string;
13
+ validity_flag: string;
14
+ date_expire: string;
15
+ level: number;
16
+ crystal_option_name_1: string;
17
+ crystal_option_name_2: string;
18
+ crystal_option_name_3: string;
19
+ };
20
+ export type { UnionArtifactDtoBody, UnionArtifactEffectDtoBody, UnionArtifactCrystalDtoBody, };