maplestory-openapi 3.10.0 → 3.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/README.md +1 -0
  2. package/dist/cjs/_virtual/index.js_commonjs-exports2.js +2 -2
  3. package/dist/cjs/_virtual/index.js_commonjs-exports3.js +2 -2
  4. package/dist/cjs/maplestory/api/kms/dto/battlePractice/battlePracticeCharacterInfo.js +196 -0
  5. package/dist/cjs/maplestory/api/kms/dto/character/characterHexaMatrix.js +6 -1
  6. package/dist/cjs/maplestory/api/kms/dto/character/characterItemEquipment.js +92 -1
  7. package/dist/cjs/maplestory/api/kms/dto/character/characterPetEquipment.js +223 -1
  8. package/dist/cjs/maplestory/api/kms/dto/character/characterVMatrix.js +50 -1
  9. package/dist/cjs/maplestory/api/kms/dto/scheduler/schedulerCharacterState.js +177 -0
  10. package/dist/cjs/maplestory/api/kms/dto/union/unionRaider.js +35 -1
  11. package/dist/cjs/maplestory/api/kms/kms.js +10 -0
  12. package/dist/cjs/maplestory/api/kms/mapleStoryApi.js +38 -14
  13. package/dist/cjs/maplestory/api/kms/mapleStoryFriendsApi.js +1 -1
  14. package/dist/cjs/maplestory/api/msea/mapleStoryApi.js +1 -1
  15. package/dist/cjs/maplestory/api/tms/dto/character/characterFamiliar.js +156 -0
  16. package/dist/cjs/maplestory/api/tms/dto/character/characterPetEquipment.js +45 -1
  17. package/dist/cjs/maplestory/api/tms/mapleStoryApi.js +33 -1
  18. package/dist/cjs/maplestory/api/tms/tms.js +6 -0
  19. package/dist/cjs/node_modules/base64-js/index.js +1 -1
  20. package/dist/cjs/node_modules/buffer/index.js +2 -2
  21. package/dist/cjs/node_modules/ieee754/index.js +1 -1
  22. package/dist/esm/_virtual/index.js_commonjs-exports2.js +2 -2
  23. package/dist/esm/_virtual/index.js_commonjs-exports3.js +2 -2
  24. package/dist/esm/maplestory/api/kms/dto/battlePractice/battlePracticeCharacterInfo.js +196 -1
  25. package/dist/esm/maplestory/api/kms/dto/character/characterHexaMatrix.js +6 -1
  26. package/dist/esm/maplestory/api/kms/dto/character/characterItemEquipment.js +92 -2
  27. package/dist/esm/maplestory/api/kms/dto/character/characterPetEquipment.js +223 -2
  28. package/dist/esm/maplestory/api/kms/dto/character/characterVMatrix.js +50 -2
  29. package/dist/esm/maplestory/api/kms/dto/scheduler/schedulerCharacterState.js +170 -0
  30. package/dist/esm/maplestory/api/kms/dto/union/unionRaider.js +35 -2
  31. package/dist/esm/maplestory/api/kms/kms.js +6 -5
  32. package/dist/esm/maplestory/api/kms/mapleStoryApi.js +38 -14
  33. package/dist/esm/maplestory/api/kms/mapleStoryFriendsApi.js +1 -1
  34. package/dist/esm/maplestory/api/msea/mapleStoryApi.js +1 -1
  35. package/dist/esm/maplestory/api/tms/dto/character/characterFamiliar.js +149 -0
  36. package/dist/esm/maplestory/api/tms/dto/character/characterPetEquipment.js +45 -2
  37. package/dist/esm/maplestory/api/tms/mapleStoryApi.js +33 -1
  38. package/dist/esm/maplestory/api/tms/tms.js +2 -1
  39. package/dist/esm/node_modules/base64-js/index.js +2 -2
  40. package/dist/esm/node_modules/buffer/index.js +2 -2
  41. package/dist/esm/node_modules/ieee754/index.js +2 -2
  42. package/package.json +3 -3
  43. package/types/maplestory/api/kms/dto/battlePractice/battlePracticeCharacterInfo.d.ts +143 -1
  44. package/types/maplestory/api/kms/dto/character/characterHexaMatrix.d.ts +4 -0
  45. package/types/maplestory/api/kms/dto/character/characterItemEquipment.d.ts +63 -1
  46. package/types/maplestory/api/kms/dto/character/characterPetEquipment.d.ts +163 -1
  47. package/types/maplestory/api/kms/dto/character/characterVMatrix.d.ts +39 -1
  48. package/types/maplestory/api/kms/dto/scheduler/schedulerCharacterState.d.ts +137 -0
  49. package/types/maplestory/api/kms/dto/union/unionRaider.d.ts +27 -1
  50. package/types/maplestory/api/kms/index.d.ts +1 -0
  51. package/types/maplestory/api/kms/mapleStoryApi.d.ts +16 -8
  52. package/types/maplestory/api/kms/mapleStoryFriendsApi.d.ts +2 -2
  53. package/types/maplestory/api/kms/response/battlePractice/battlePracticeCharacterInfoBody.d.ts +36 -0
  54. package/types/maplestory/api/kms/response/character/characterHexaMatrixBody.d.ts +1 -0
  55. package/types/maplestory/api/kms/response/character/characterItemEquipmentBody.d.ts +15 -0
  56. package/types/maplestory/api/kms/response/character/characterPetEquipmentBody.d.ts +41 -0
  57. package/types/maplestory/api/kms/response/character/characterVMatrixBody.d.ts +11 -1
  58. package/types/maplestory/api/kms/response/scheduler/schedulerCharacterStateBody.d.ts +36 -0
  59. package/types/maplestory/api/kms/response/union/unionRaiderBody.d.ts +7 -0
  60. package/types/maplestory/api/tms/dto/character/characterFamiliar.d.ts +117 -0
  61. package/types/maplestory/api/tms/dto/character/characterPetEquipment.d.ts +35 -1
  62. package/types/maplestory/api/tms/index.d.ts +1 -0
  63. package/types/maplestory/api/tms/mapleStoryApi.d.ts +12 -0
  64. package/types/maplestory/api/tms/response/character/characterFamiliarBody.d.ts +31 -0
  65. package/types/maplestory/api/tms/response/character/characterPetEquipmentBody.d.ts +9 -0
package/README.md CHANGED
@@ -105,6 +105,7 @@ You can find more examples in the test cases at the following link.
105
105
  - [Guild Information Retrieval](https://github.com/SpiralMoon/maplestory.openapi/blob/master/js/test/kms/guildApi.test.ts)
106
106
  - [Battle Practice Information Retrieval](https://github.com/SpiralMoon/maplestory.openapi/blob/master/js/test/kms/battlePracticeApi.test.ts)
107
107
  - [History Information Retrieval](https://github.com/SpiralMoon/maplestory.openapi/blob/master/js/test/kms/historyApi.test.ts)
108
+ - [Scheduler Information Retrieval](https://github.com/SpiralMoon/maplestory.openapi/blob/master/js/test/kms/schedulerApi.test.ts)
108
109
  - [Ranking Information Retrieval](https://github.com/SpiralMoon/maplestory.openapi/blob/master/js/test/kms/rankingApi.test.ts)
109
110
  - [Notice Information Retrieval](https://github.com/SpiralMoon/maplestory.openapi/blob/master/js/test/kms/noticeApi.test.ts)
110
111
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var ieee754 = {};
5
+ var base64Js = {};
6
6
 
7
- exports.__exports = ieee754;
7
+ exports.__exports = base64Js;
@@ -2,6 +2,6 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var base64Js = {};
5
+ var ieee754 = {};
6
6
 
7
- exports.__exports = base64Js;
7
+ exports.__exports = ieee754;
@@ -1652,6 +1652,10 @@ class BattlePracticeCharacterCashItemOptionDto {
1652
1652
  * 연무장 입장 시 캐릭터 장착 펫 정보
1653
1653
  */
1654
1654
  class BattlePracticeCharacterPetObjectDto {
1655
+ /**
1656
+ * 활성화된 펫 유형 (0:캐릭터 펫, 1:월드 공유 펫)
1657
+ */
1658
+ petActivateFlag;
1655
1659
  /**
1656
1660
  * 펫1 명
1657
1661
  */
@@ -1760,7 +1764,120 @@ class BattlePracticeCharacterPetObjectDto {
1760
1764
  * 펫3 마법의 시간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
1761
1765
  */
1762
1766
  pet3DateExpire;
1767
+ /**
1768
+ * 월드 공유 펫1 명
1769
+ */
1770
+ worldSharePet1Name;
1771
+ /**
1772
+ * 월드 공유 펫1 닉네임
1773
+ */
1774
+ worldSharePet1Nickname;
1775
+ /**
1776
+ * 월드 공유 펫1 아이콘
1777
+ */
1778
+ worldSharePet1Icon;
1779
+ /**
1780
+ * 월드 공유 펫1 설명
1781
+ */
1782
+ worldSharePet1Description;
1783
+ /**
1784
+ * 월드 공유 펫1 원더 펫 종류
1785
+ */
1786
+ worldSharePet1PetType;
1787
+ /**
1788
+ * 월드 공유 펫1 장착 정보
1789
+ */
1790
+ worldSharePet1Equipment;
1791
+ /**
1792
+ * 월드 공유 펫1 버프 자동스킬 정보
1793
+ */
1794
+ worldSharePet1AutoSkill;
1795
+ /**
1796
+ * 월드 공유 펫1 펫 보유 스킬
1797
+ */
1798
+ worldSharePet1Skill;
1799
+ /**
1800
+ * 월드 공유 펫1 마법의 시간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
1801
+ */
1802
+ worldSharePet1DateExpire;
1803
+ /**
1804
+ * 월드 공유 펫2 명
1805
+ */
1806
+ worldSharePet2Name;
1807
+ /**
1808
+ * 월드 공유 펫2 닉네임
1809
+ */
1810
+ worldSharePet2Nickname;
1811
+ /**
1812
+ * 월드 공유 펫2 아이콘
1813
+ */
1814
+ worldSharePet2Icon;
1815
+ /**
1816
+ * 월드 공유 펫2 설명
1817
+ */
1818
+ worldSharePet2Description;
1819
+ /**
1820
+ * 월드 공유 펫2 원더 펫 종류
1821
+ */
1822
+ worldSharePet2PetType;
1823
+ /**
1824
+ * 월드 공유 펫2 장착 정보
1825
+ */
1826
+ worldSharePet2Equipment;
1827
+ /**
1828
+ * 월드 공유 펫2 버프 자동스킬 정보
1829
+ */
1830
+ worldSharePet2AutoSkill;
1831
+ /**
1832
+ * 월드 공유 펫2 펫 보유 스킬
1833
+ */
1834
+ worldSharePet2Skill;
1835
+ /**
1836
+ * 월드 공유 펫2 마법의 시간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
1837
+ */
1838
+ worldSharePet2DateExpire;
1839
+ /**
1840
+ * 월드 공유 펫3 명
1841
+ */
1842
+ worldSharePet3Name;
1843
+ /**
1844
+ * 월드 공유 펫3 닉네임
1845
+ */
1846
+ worldSharePet3Nickname;
1847
+ /**
1848
+ * 월드 공유 펫3 아이콘
1849
+ */
1850
+ worldSharePet3Icon;
1851
+ /**
1852
+ * 월드 공유 펫3 설명
1853
+ */
1854
+ worldSharePet3Description;
1855
+ /**
1856
+ * 월드 공유 펫3 원더 펫 종류
1857
+ */
1858
+ worldSharePet3PetType;
1859
+ /**
1860
+ * 월드 공유 펫3 장착 정보
1861
+ */
1862
+ worldSharePet3Equipment;
1863
+ /**
1864
+ * 월드 공유 펫3 버프 자동스킬 정보
1865
+ */
1866
+ worldSharePet3AutoSkill;
1867
+ /**
1868
+ * 월드 공유 펫3 펫 보유 스킬
1869
+ */
1870
+ worldSharePet3Skill;
1871
+ /**
1872
+ * 월드 공유 펫3 마법의 시간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
1873
+ */
1874
+ worldSharePet3DateExpire;
1875
+ /**
1876
+ * 루나 쁘띠 펫 스킬 정보
1877
+ */
1878
+ petiteLunaPetSkill;
1763
1879
  constructor(obj) {
1880
+ this.petActivateFlag = obj.pet_activate_flag ?? null;
1764
1881
  this.pet1Name = obj.pet_1_name;
1765
1882
  this.pet1Nickname = obj.pet_1_nickname;
1766
1883
  this.pet1Icon = obj.pet_1_icon;
@@ -1806,6 +1923,52 @@ class BattlePracticeCharacterPetObjectDto {
1806
1923
  this.pet3DateExpire = obj.pet_3_date_expire
1807
1924
  ? new Date(obj.pet_3_date_expire)
1808
1925
  : null;
1926
+ this.worldSharePet1Name = obj.world_share_pet_1_name ?? null;
1927
+ this.worldSharePet1Nickname = obj.world_share_pet_1_nickname ?? null;
1928
+ this.worldSharePet1Icon = obj.world_share_pet_1_icon ?? null;
1929
+ this.worldSharePet1Description = obj.world_share_pet_1_description ?? null;
1930
+ this.worldSharePet1PetType = obj.world_share_pet_1_pet_type ?? null;
1931
+ this.worldSharePet1Equipment = obj.world_share_pet_1_equipment
1932
+ ? new BattlePracticeCharacterPetEquipmentDto(obj.world_share_pet_1_equipment)
1933
+ : null;
1934
+ this.worldSharePet1AutoSkill = obj.world_share_pet_1_auto_skill
1935
+ ? new BattlePracticeCharacterPetAutoSkillDto(obj.world_share_pet_1_auto_skill)
1936
+ : null;
1937
+ this.worldSharePet1Skill = obj.world_share_pet_1_skill ?? [];
1938
+ this.worldSharePet1DateExpire = obj.world_share_pet_1_date_expire
1939
+ ? new Date(obj.world_share_pet_1_date_expire)
1940
+ : null;
1941
+ this.worldSharePet2Name = obj.world_share_pet_2_name ?? null;
1942
+ this.worldSharePet2Nickname = obj.world_share_pet_2_nickname ?? null;
1943
+ this.worldSharePet2Icon = obj.world_share_pet_2_icon ?? null;
1944
+ this.worldSharePet2Description = obj.world_share_pet_2_description ?? null;
1945
+ this.worldSharePet2PetType = obj.world_share_pet_2_pet_type ?? null;
1946
+ this.worldSharePet2Equipment = obj.world_share_pet_2_equipment
1947
+ ? new BattlePracticeCharacterPetEquipmentDto(obj.world_share_pet_2_equipment)
1948
+ : null;
1949
+ this.worldSharePet2AutoSkill = obj.world_share_pet_2_auto_skill
1950
+ ? new BattlePracticeCharacterPetAutoSkillDto(obj.world_share_pet_2_auto_skill)
1951
+ : null;
1952
+ this.worldSharePet2Skill = obj.world_share_pet_2_skill ?? [];
1953
+ this.worldSharePet2DateExpire = obj.world_share_pet_2_date_expire
1954
+ ? new Date(obj.world_share_pet_2_date_expire)
1955
+ : null;
1956
+ this.worldSharePet3Name = obj.world_share_pet_3_name ?? null;
1957
+ this.worldSharePet3Nickname = obj.world_share_pet_3_nickname ?? null;
1958
+ this.worldSharePet3Icon = obj.world_share_pet_3_icon ?? null;
1959
+ this.worldSharePet3Description = obj.world_share_pet_3_description ?? null;
1960
+ this.worldSharePet3PetType = obj.world_share_pet_3_pet_type ?? null;
1961
+ this.worldSharePet3Equipment = obj.world_share_pet_3_equipment
1962
+ ? new BattlePracticeCharacterPetEquipmentDto(obj.world_share_pet_3_equipment)
1963
+ : null;
1964
+ this.worldSharePet3AutoSkill = obj.world_share_pet_3_auto_skill
1965
+ ? new BattlePracticeCharacterPetAutoSkillDto(obj.world_share_pet_3_auto_skill)
1966
+ : null;
1967
+ this.worldSharePet3Skill = obj.world_share_pet_3_skill ?? [];
1968
+ this.worldSharePet3DateExpire = obj.world_share_pet_3_date_expire
1969
+ ? new Date(obj.world_share_pet_3_date_expire)
1970
+ : null;
1971
+ this.petiteLunaPetSkill = (obj.petite_luna_pet_skill ?? []).map((s) => new BattlePracticeCharacterPetiteLunaPetSkillDto(s));
1809
1972
  }
1810
1973
  }
1811
1974
  /**
@@ -1906,6 +2069,33 @@ class BattlePracticeCharacterPetAutoSkillDto {
1906
2069
  this.skill2Icon = obj.skill_2_icon;
1907
2070
  }
1908
2071
  }
2072
+ /**
2073
+ * 연무장 입장 시 루나 쁘띠 펫 스킬 정보
2074
+ */
2075
+ class BattlePracticeCharacterPetiteLunaPetSkillDto {
2076
+ /**
2077
+ * 스킬 명
2078
+ */
2079
+ skillName;
2080
+ /**
2081
+ * 스킬 설명
2082
+ */
2083
+ skillDescription;
2084
+ /**
2085
+ * 스킬 효과 설명
2086
+ */
2087
+ skillEffect;
2088
+ /**
2089
+ * 스킬 아이콘
2090
+ */
2091
+ skillIcon;
2092
+ constructor(obj) {
2093
+ this.skillName = obj.skill_name;
2094
+ this.skillDescription = obj.skill_description;
2095
+ this.skillEffect = obj.skill_effect;
2096
+ this.skillIcon = obj.skill_icon;
2097
+ }
2098
+ }
1909
2099
  /**
1910
2100
  * 연무장 입장 시 캐릭터 캐릭터 스킬 정보
1911
2101
  */
@@ -2204,9 +2394,14 @@ class BattlePracticeUnionRaiderObjectDto {
2204
2394
  * 유니온 공격대 점령 효과
2205
2395
  */
2206
2396
  unionOccupiedStat;
2397
+ /**
2398
+ * 적용 중인 유니온 스탯 효과
2399
+ */
2400
+ unionStateStat;
2207
2401
  constructor(obj) {
2208
2402
  this.unionRaiderStat = obj.union_raider_stat;
2209
2403
  this.unionOccupiedStat = obj.union_occupied_stat;
2404
+ this.unionStateStat = obj.union_state_stat ?? [];
2210
2405
  }
2211
2406
  }
2212
2407
  /**
@@ -2349,6 +2544,7 @@ exports.BattlePracticeCharacterPetAutoSkillDto = BattlePracticeCharacterPetAutoS
2349
2544
  exports.BattlePracticeCharacterPetEquipmentDto = BattlePracticeCharacterPetEquipmentDto;
2350
2545
  exports.BattlePracticeCharacterPetEquipmentItemOptionDto = BattlePracticeCharacterPetEquipmentItemOptionDto;
2351
2546
  exports.BattlePracticeCharacterPetObjectDto = BattlePracticeCharacterPetObjectDto;
2547
+ exports.BattlePracticeCharacterPetiteLunaPetSkillDto = BattlePracticeCharacterPetiteLunaPetSkillDto;
2352
2548
  exports.BattlePracticeCharacterPropensityDto = BattlePracticeCharacterPropensityDto;
2353
2549
  exports.BattlePracticeCharacterRingReserveSkillObjectDto = BattlePracticeCharacterRingReserveSkillObjectDto;
2354
2550
  exports.BattlePracticeCharacterSetEffectDto = BattlePracticeCharacterSetEffectDto;
@@ -50,6 +50,10 @@ class CharacterHexaMatrixEquipmentDto extends characterHexaMatrix.CharacterHexaM
50
50
  * 코어 레벨
51
51
  */
52
52
  hexaCoreLevel;
53
+ /**
54
+ * 코어 이벤트 레벨
55
+ */
56
+ hexaCoreEventLevel;
53
57
  /**
54
58
  * 코어 타입
55
59
  */
@@ -60,9 +64,10 @@ class CharacterHexaMatrixEquipmentDto extends characterHexaMatrix.CharacterHexaM
60
64
  linkedSkill;
61
65
  constructor(obj) {
62
66
  super();
63
- const { hexa_core_name, hexa_core_level, hexa_core_type, linked_skill } = obj;
67
+ const { hexa_core_name, hexa_core_level, hexa_core_event_level, hexa_core_type, linked_skill } = obj;
64
68
  this.hexaCoreName = hexa_core_name;
65
69
  this.hexaCoreLevel = hexa_core_level;
70
+ this.hexaCoreEventLevel = hexa_core_event_level;
66
71
  this.hexaCoreType = hexa_core_type;
67
72
  this.linkedSkill = linked_skill.map((skill) => new CharacterHexaMatrixEquipmentLinkedSkillDto(skill));
68
73
  }
@@ -82,6 +82,10 @@ class CharacterItemEquipmentDto extends characterItemEquipment.CharacterItemEqui
82
82
  * 캐릭터 칭호 아이템 정보
83
83
  */
84
84
  class CharacterItemEquipmentTitleDto extends characterItemEquipment.CharacterItemEquipmentTitleDto {
85
+ /**
86
+ * 적용 중인 프리셋 번호
87
+ */
88
+ presetNo;
85
89
  /**
86
90
  * 칭호 장비 명
87
91
  */
@@ -122,15 +126,37 @@ class CharacterItemEquipmentTitleDto extends characterItemEquipment.CharacterIte
122
126
  * 외형 설정에 등록한 칭호 설명
123
127
  */
124
128
  titleShapeDescription;
129
+ /**
130
+ * 프리셋 1번 칭호 정보
131
+ */
132
+ titlePreset1;
133
+ /**
134
+ * 프리셋 2번 칭호 정보
135
+ */
136
+ titlePreset2;
137
+ /**
138
+ * 프리셋 3번 칭호 정보
139
+ */
140
+ titlePreset3;
125
141
  constructor(obj) {
126
142
  super();
127
- const { title_name, title_icon, title_description, date_expire, date_option_expire, title_shape_name, title_shape_icon, title_shape_description, } = obj;
143
+ const { preset_no, title_name, title_icon, title_description, date_expire, date_option_expire, title_shape_name, title_shape_icon, title_shape_description, title_preset_1, title_preset_2, title_preset_3, } = obj;
144
+ this.presetNo = preset_no;
128
145
  this.titleName = title_name;
129
146
  this.titleIcon = title_icon;
130
147
  this.titleDescription = title_description;
131
148
  this.titleShapeName = title_shape_name;
132
149
  this.titleShapeIcon = title_shape_icon;
133
150
  this.titleShapeDescription = title_shape_description;
151
+ this.titlePreset1 = title_preset_1
152
+ ? new CharacterItemEquipmentTitlePresetDto(title_preset_1)
153
+ : null;
154
+ this.titlePreset2 = title_preset_2
155
+ ? new CharacterItemEquipmentTitlePresetDto(title_preset_2)
156
+ : null;
157
+ this.titlePreset3 = title_preset_3
158
+ ? new CharacterItemEquipmentTitlePresetDto(title_preset_3)
159
+ : null;
134
160
  if (date_expire === 'expired') {
135
161
  this.isExpired = true;
136
162
  }
@@ -147,6 +173,70 @@ class CharacterItemEquipmentTitleDto extends characterItemEquipment.CharacterIte
147
173
  }
148
174
  }
149
175
  }
176
+ /**
177
+ * 캐릭터 장비 칭호 프리셋 정보
178
+ */
179
+ class CharacterItemEquipmentTitlePresetDto {
180
+ /**
181
+ * 칭호 장비 명
182
+ */
183
+ titleName;
184
+ /**
185
+ * 칭호 아이콘
186
+ */
187
+ titleIcon;
188
+ /**
189
+ * 칭호 설명
190
+ */
191
+ titleDescription;
192
+ /**
193
+ * 칭호 유효 기간 (KST)
194
+ */
195
+ dateExpire;
196
+ /**
197
+ * 칭호 옵션 유효 기간 (expired:만료, null:무제한) (KST)
198
+ */
199
+ dateOptionExpire = null;
200
+ /**
201
+ * 칭호 옵션 유효 기간 만료 여부
202
+ */
203
+ isOptionExpired = null;
204
+ /**
205
+ * 외형 설정에 등록한 칭호 장비 명
206
+ */
207
+ titleShapeName;
208
+ /**
209
+ * 외형 설정에 등록한 칭호 아이콘
210
+ */
211
+ titleShapeIcon;
212
+ /**
213
+ * 외형 설정에 등록한 칭호 설명
214
+ */
215
+ titleShapeDescription;
216
+ /**
217
+ * 비활성화 여부
218
+ */
219
+ disableFlag;
220
+ constructor(obj) {
221
+ const { title_name, title_icon, title_description, date_expire, date_option_expire, title_shape_name, title_shape_icon, title_shape_description, disable_flag, } = obj;
222
+ this.titleName = title_name;
223
+ this.titleIcon = title_icon;
224
+ this.titleDescription = title_description;
225
+ this.dateExpire = date_expire ? new Date(date_expire) : null;
226
+ this.titleShapeName = title_shape_name;
227
+ this.titleShapeIcon = title_shape_icon;
228
+ this.titleShapeDescription = title_shape_description;
229
+ this.disableFlag = disable_flag;
230
+ if (date_option_expire === 'expired') {
231
+ this.isOptionExpired = true;
232
+ }
233
+ else if (typeof date_option_expire === 'string') {
234
+ this.dateOptionExpire = date_option_expire
235
+ ? new Date(date_option_expire)
236
+ : null;
237
+ }
238
+ }
239
+ }
150
240
  /**
151
241
  * 캐릭터 외형 설정에 등록한 훈장 외형 정보
152
242
  */
@@ -1214,4 +1304,5 @@ exports.CharacterItemEquipmentMechanicInfoDto = CharacterItemEquipmentMechanicIn
1214
1304
  exports.CharacterItemEquipmentMedalShapeDto = CharacterItemEquipmentMedalShapeDto;
1215
1305
  exports.CharacterItemEquipmentStarforceOptionDto = CharacterItemEquipmentStarforceOptionDto;
1216
1306
  exports.CharacterItemEquipmentTitleDto = CharacterItemEquipmentTitleDto;
1307
+ exports.CharacterItemEquipmentTitlePresetDto = CharacterItemEquipmentTitlePresetDto;
1217
1308
  exports.CharacterItemEquipmentTotalOptionDto = CharacterItemEquipmentTotalOptionDto;
@@ -12,6 +12,10 @@ class CharacterPetEquipmentDto extends characterPetEquipment.CharacterPetEquipme
12
12
  * 조회 기준일 (KST, 일 단위 데이터로 시, 분은 일괄 0으로 표기)
13
13
  */
14
14
  date;
15
+ /**
16
+ * 활성화된 펫 유형 (0:캐릭터 펫, 1:월드 공유 펫)
17
+ */
18
+ petActivateFlag;
15
19
  /**
16
20
  * 펫1 명
17
21
  */
@@ -156,10 +160,147 @@ class CharacterPetEquipmentDto extends characterPetEquipment.CharacterPetEquipme
156
160
  * 펫3 외형 아이콘
157
161
  */
158
162
  pet3AppearanceIcon;
163
+ /**
164
+ * 월드 공유 펫1 명
165
+ */
166
+ worldSharePet1Name;
167
+ /**
168
+ * 월드 공유 펫1 닉네임
169
+ */
170
+ worldSharePet1Nickname;
171
+ /**
172
+ * 월드 공유 펫1 아이콘
173
+ */
174
+ worldSharePet1Icon;
175
+ /**
176
+ * 월드 공유 펫1 설명
177
+ */
178
+ worldSharePet1Description;
179
+ /**
180
+ * 월드 공유 펫1 원더 펫 종류
181
+ */
182
+ worldSharePet1PetType;
183
+ /**
184
+ * 월드 공유 펫1 장착 정보
185
+ */
186
+ worldSharePet1Equipment;
187
+ /**
188
+ * 월드 공유 펫1 버프 자동스킬 정보
189
+ */
190
+ worldSharePet1AutoSkill;
191
+ /**
192
+ * 월드 공유 펫1 펫 보유 스킬
193
+ */
194
+ worldSharePet1Skill;
195
+ /**
196
+ * 월드 공유 펫1 마법의 시간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
197
+ */
198
+ worldSharePet1DateExpire;
199
+ /**
200
+ * 월드 공유 펫1 외형 명
201
+ */
202
+ worldSharePet1Appearance;
203
+ /**
204
+ * 월드 공유 펫1 외형 아이콘
205
+ */
206
+ worldSharePet1AppearanceIcon;
207
+ /**
208
+ * 월드 공유 펫2 명
209
+ */
210
+ worldSharePet2Name;
211
+ /**
212
+ * 월드 공유 펫2 닉네임
213
+ */
214
+ worldSharePet2Nickname;
215
+ /**
216
+ * 월드 공유 펫2 아이콘
217
+ */
218
+ worldSharePet2Icon;
219
+ /**
220
+ * 월드 공유 펫2 설명
221
+ */
222
+ worldSharePet2Description;
223
+ /**
224
+ * 월드 공유 펫2 원더 펫 종류
225
+ */
226
+ worldSharePet2PetType;
227
+ /**
228
+ * 월드 공유 펫2 장착 정보
229
+ */
230
+ worldSharePet2Equipment;
231
+ /**
232
+ * 월드 공유 펫2 버프 자동스킬 정보
233
+ */
234
+ worldSharePet2AutoSkill;
235
+ /**
236
+ * 월드 공유 펫2 펫 보유 스킬
237
+ */
238
+ worldSharePet2Skill;
239
+ /**
240
+ * 월드 공유 펫2 마법의 시간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
241
+ */
242
+ worldSharePet2DateExpire;
243
+ /**
244
+ * 월드 공유 펫2 외형 명
245
+ */
246
+ worldSharePet2Appearance;
247
+ /**
248
+ * 월드 공유 펫2 외형 아이콘
249
+ */
250
+ worldSharePet2AppearanceIcon;
251
+ /**
252
+ * 월드 공유 펫3 명
253
+ */
254
+ worldSharePet3Name;
255
+ /**
256
+ * 월드 공유 펫3 닉네임
257
+ */
258
+ worldSharePet3Nickname;
259
+ /**
260
+ * 월드 공유 펫3 아이콘
261
+ */
262
+ worldSharePet3Icon;
263
+ /**
264
+ * 월드 공유 펫3 설명
265
+ */
266
+ worldSharePet3Description;
267
+ /**
268
+ * 월드 공유 펫3 원더 펫 종류
269
+ */
270
+ worldSharePet3PetType;
271
+ /**
272
+ * 월드 공유 펫3 장착 정보
273
+ */
274
+ worldSharePet3Equipment;
275
+ /**
276
+ * 월드 공유 펫3 버프 자동스킬 정보
277
+ */
278
+ worldSharePet3AutoSkill;
279
+ /**
280
+ * 월드 공유 펫3 펫 보유 스킬
281
+ */
282
+ worldSharePet3Skill;
283
+ /**
284
+ * 월드 공유 펫3 마법의 시간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
285
+ */
286
+ worldSharePet3DateExpire;
287
+ /**
288
+ * 월드 공유 펫3 외형 명
289
+ */
290
+ worldSharePet3Appearance;
291
+ /**
292
+ * 월드 공유 펫3 외형 아이콘
293
+ */
294
+ worldSharePet3AppearanceIcon;
295
+ /**
296
+ * 루나 쁘띠 펫 스킬 정보
297
+ */
298
+ petiteLunaPetSkill;
159
299
  constructor(obj) {
160
300
  super();
161
- const { date, pet_1_name, pet_1_nickname, pet_1_icon, pet_1_description, pet_1_equipment, pet_1_auto_skill, pet_1_pet_type, pet_1_skill, pet_1_date_expire, pet_1_appearance, pet_1_appearance_icon, pet_2_name, pet_2_nickname, pet_2_icon, pet_2_description, pet_2_equipment, pet_2_auto_skill, pet_2_pet_type, pet_2_skill, pet_2_date_expire, pet_2_appearance, pet_2_appearance_icon, pet_3_name, pet_3_nickname, pet_3_icon, pet_3_description, pet_3_equipment, pet_3_auto_skill, pet_3_pet_type, pet_3_skill, pet_3_date_expire, pet_3_appearance, pet_3_appearance_icon, } = obj;
301
+ const { date, pet_activate_flag, pet_1_name, pet_1_nickname, pet_1_icon, pet_1_description, pet_1_equipment, pet_1_auto_skill, pet_1_pet_type, pet_1_skill, pet_1_date_expire, pet_1_appearance, pet_1_appearance_icon, pet_2_name, pet_2_nickname, pet_2_icon, pet_2_description, pet_2_equipment, pet_2_auto_skill, pet_2_pet_type, pet_2_skill, pet_2_date_expire, pet_2_appearance, pet_2_appearance_icon, pet_3_name, pet_3_nickname, pet_3_icon, pet_3_description, pet_3_equipment, pet_3_auto_skill, pet_3_pet_type, pet_3_skill, pet_3_date_expire, pet_3_appearance, pet_3_appearance_icon, world_share_pet_1_name, world_share_pet_1_nickname, world_share_pet_1_icon, world_share_pet_1_description, world_share_pet_1_pet_type, world_share_pet_1_equipment, world_share_pet_1_auto_skill, world_share_pet_1_skill, world_share_pet_1_date_expire, world_share_pet_1_appearance, world_share_pet_1_appearance_icon, world_share_pet_2_name, world_share_pet_2_nickname, world_share_pet_2_icon, world_share_pet_2_description, world_share_pet_2_pet_type, world_share_pet_2_equipment, world_share_pet_2_auto_skill, world_share_pet_2_skill, world_share_pet_2_date_expire, world_share_pet_2_appearance, world_share_pet_2_appearance_icon, world_share_pet_3_name, world_share_pet_3_nickname, world_share_pet_3_icon, world_share_pet_3_description, world_share_pet_3_pet_type, world_share_pet_3_equipment, world_share_pet_3_auto_skill, world_share_pet_3_skill, world_share_pet_3_date_expire, world_share_pet_3_appearance, world_share_pet_3_appearance_icon, petite_luna_pet_skill, } = obj;
162
302
  this.date = date ? new Date(date) : null;
303
+ this.petActivateFlag = pet_activate_flag;
163
304
  this.pet1Name = pet_1_name;
164
305
  this.pet1Nickname = pet_1_nickname;
165
306
  this.pet1Icon = pet_1_icon;
@@ -226,6 +367,58 @@ class CharacterPetEquipmentDto extends characterPetEquipment.CharacterPetEquipme
226
367
  ? new Date(pet_3_date_expire)
227
368
  : null;
228
369
  }
370
+ this.worldSharePet1Name = world_share_pet_1_name;
371
+ this.worldSharePet1Nickname = world_share_pet_1_nickname;
372
+ this.worldSharePet1Icon = world_share_pet_1_icon;
373
+ this.worldSharePet1Description = world_share_pet_1_description;
374
+ this.worldSharePet1PetType = world_share_pet_1_pet_type;
375
+ this.worldSharePet1Equipment = world_share_pet_1_equipment
376
+ ? new CharacterPetEquipmentItemDto(world_share_pet_1_equipment)
377
+ : null;
378
+ this.worldSharePet1AutoSkill = world_share_pet_1_auto_skill
379
+ ? new CharacterPetEquipmentAutoSkillDto(world_share_pet_1_auto_skill)
380
+ : null;
381
+ this.worldSharePet1Skill = world_share_pet_1_skill;
382
+ this.worldSharePet1DateExpire = world_share_pet_1_date_expire
383
+ ? new Date(world_share_pet_1_date_expire)
384
+ : null;
385
+ this.worldSharePet1Appearance = world_share_pet_1_appearance;
386
+ this.worldSharePet1AppearanceIcon = world_share_pet_1_appearance_icon;
387
+ this.worldSharePet2Name = world_share_pet_2_name;
388
+ this.worldSharePet2Nickname = world_share_pet_2_nickname;
389
+ this.worldSharePet2Icon = world_share_pet_2_icon;
390
+ this.worldSharePet2Description = world_share_pet_2_description;
391
+ this.worldSharePet2PetType = world_share_pet_2_pet_type;
392
+ this.worldSharePet2Equipment = world_share_pet_2_equipment
393
+ ? new CharacterPetEquipmentItemDto(world_share_pet_2_equipment)
394
+ : null;
395
+ this.worldSharePet2AutoSkill = world_share_pet_2_auto_skill
396
+ ? new CharacterPetEquipmentAutoSkillDto(world_share_pet_2_auto_skill)
397
+ : null;
398
+ this.worldSharePet2Skill = world_share_pet_2_skill;
399
+ this.worldSharePet2DateExpire = world_share_pet_2_date_expire
400
+ ? new Date(world_share_pet_2_date_expire)
401
+ : null;
402
+ this.worldSharePet2Appearance = world_share_pet_2_appearance;
403
+ this.worldSharePet2AppearanceIcon = world_share_pet_2_appearance_icon;
404
+ this.worldSharePet3Name = world_share_pet_3_name;
405
+ this.worldSharePet3Nickname = world_share_pet_3_nickname;
406
+ this.worldSharePet3Icon = world_share_pet_3_icon;
407
+ this.worldSharePet3Description = world_share_pet_3_description;
408
+ this.worldSharePet3PetType = world_share_pet_3_pet_type;
409
+ this.worldSharePet3Equipment = world_share_pet_3_equipment
410
+ ? new CharacterPetEquipmentItemDto(world_share_pet_3_equipment)
411
+ : null;
412
+ this.worldSharePet3AutoSkill = world_share_pet_3_auto_skill
413
+ ? new CharacterPetEquipmentAutoSkillDto(world_share_pet_3_auto_skill)
414
+ : null;
415
+ this.worldSharePet3Skill = world_share_pet_3_skill;
416
+ this.worldSharePet3DateExpire = world_share_pet_3_date_expire
417
+ ? new Date(world_share_pet_3_date_expire)
418
+ : null;
419
+ this.worldSharePet3Appearance = world_share_pet_3_appearance;
420
+ this.worldSharePet3AppearanceIcon = world_share_pet_3_appearance_icon;
421
+ this.petiteLunaPetSkill = (petite_luna_pet_skill ?? []).map((skill) => new CharacterPetEquipmentPetiteLunaPetSkillDto(skill));
229
422
  }
230
423
  }
231
424
  /**
@@ -276,6 +469,34 @@ class CharacterPetEquipmentItemOptionDto extends characterPetEquipment.Character
276
469
  this.optionValue = option_value;
277
470
  }
278
471
  }
472
+ /**
473
+ * 캐릭터 펫 루나 쁘띠 펫 스킬 정보
474
+ */
475
+ class CharacterPetEquipmentPetiteLunaPetSkillDto {
476
+ /**
477
+ * 스킬 명
478
+ */
479
+ skillName;
480
+ /**
481
+ * 스킬 설명
482
+ */
483
+ skillDescription;
484
+ /**
485
+ * 스킬 효과 설명
486
+ */
487
+ skillEffect;
488
+ /**
489
+ * 스킬 아이콘
490
+ */
491
+ skillIcon;
492
+ constructor(obj) {
493
+ const { skill_name, skill_description, skill_effect, skill_icon } = obj;
494
+ this.skillName = skill_name;
495
+ this.skillDescription = skill_description;
496
+ this.skillEffect = skill_effect;
497
+ this.skillIcon = skill_icon;
498
+ }
499
+ }
279
500
  /**
280
501
  * 캐릭터 펫 장비 아이템 정보
281
502
  */
@@ -335,3 +556,4 @@ exports.CharacterPetEquipmentAutoSkillDto = CharacterPetEquipmentAutoSkillDto;
335
556
  exports.CharacterPetEquipmentDto = CharacterPetEquipmentDto;
336
557
  exports.CharacterPetEquipmentItemDto = CharacterPetEquipmentItemDto;
337
558
  exports.CharacterPetEquipmentItemOptionDto = CharacterPetEquipmentItemOptionDto;
559
+ exports.CharacterPetEquipmentPetiteLunaPetSkillDto = CharacterPetEquipmentPetiteLunaPetSkillDto;