maplestory-openapi 3.0.0 → 3.1.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 (33) hide show
  1. package/dist/cjs/_virtual/index.js_commonjs-exports2.js +2 -2
  2. package/dist/cjs/_virtual/index.js_commonjs-exports3.js +2 -2
  3. package/dist/cjs/maplestory/api/kms/dto/character/characterAndroidEquipment.js +41 -3
  4. package/dist/cjs/maplestory/api/kms/dto/character/characterBeautyEquipment.js +24 -2
  5. package/dist/cjs/maplestory/api/kms/dto/character/characterCashItemEquipment.js +12 -1
  6. package/dist/cjs/maplestory/api/kms/dto/character/characterItemEquipment.js +36 -3
  7. package/dist/cjs/maplestory/api/msea/dto/character/characterAndroidEquipment.js +6 -1
  8. package/dist/cjs/node_modules/base64-js/index.js +1 -1
  9. package/dist/cjs/node_modules/buffer/index.js +2 -2
  10. package/dist/cjs/node_modules/ieee754/index.js +1 -1
  11. package/dist/esm/_virtual/index.js_commonjs-exports2.js +2 -2
  12. package/dist/esm/_virtual/index.js_commonjs-exports3.js +2 -2
  13. package/dist/esm/maplestory/api/kms/dto/character/characterAndroidEquipment.js +41 -3
  14. package/dist/esm/maplestory/api/kms/dto/character/characterBeautyEquipment.js +24 -2
  15. package/dist/esm/maplestory/api/kms/dto/character/characterCashItemEquipment.js +12 -1
  16. package/dist/esm/maplestory/api/kms/dto/character/characterItemEquipment.js +36 -3
  17. package/dist/esm/maplestory/api/msea/dto/character/characterAndroidEquipment.js +6 -1
  18. package/dist/esm/node_modules/base64-js/index.js +2 -2
  19. package/dist/esm/node_modules/buffer/index.js +2 -2
  20. package/dist/esm/node_modules/ieee754/index.js +2 -2
  21. package/dist/index.min.js +1 -1
  22. package/package.json +1 -1
  23. package/types/maplestory/api/common/dto/character/characterAndroidEquipment.d.ts +1 -0
  24. package/types/maplestory/api/kms/dto/character/characterAndroidEquipment.d.ts +28 -0
  25. package/types/maplestory/api/kms/dto/character/characterBeautyEquipment.d.ts +16 -0
  26. package/types/maplestory/api/kms/dto/character/characterCashItemEquipment.d.ts +8 -0
  27. package/types/maplestory/api/kms/dto/character/characterItemEquipment.d.ts +24 -0
  28. package/types/maplestory/api/kms/response/character/characterAndroidEquipmentBody.d.ts +4 -0
  29. package/types/maplestory/api/kms/response/character/characterBeautyEquipmentBody.d.ts +2 -0
  30. package/types/maplestory/api/kms/response/character/characterCashItemEquipmentBody.d.ts +1 -0
  31. package/types/maplestory/api/kms/response/character/characterItemEquipmentBody.d.ts +2 -0
  32. package/types/maplestory/api/msea/dto/character/characterAndroidEquipment.d.ts +4 -0
  33. package/types/maplestory/api/msea/response/character/characterAndroidEquipmentBody.d.ts +1 -0
@@ -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;
@@ -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;
@@ -135,13 +135,24 @@ class CharacterAndroidEquipmentFaceDto extends characterAndroidEquipment.Charact
135
135
  * 안드로이드 성형 믹스 컬러의 염색 비율
136
136
  */
137
137
  mixRate;
138
+ /**
139
+ * 프리스타일 쿠폰 적용 여부 (0:미적용, 1:적용)
140
+ */
141
+ freestyleFlag;
138
142
  constructor(obj) {
139
143
  super();
140
- const { face_name, base_color, mix_color, mix_rate } = obj;
144
+ const { face_name, base_color, mix_color, mix_rate, freestyle_flag } = obj;
141
145
  this.faceName = face_name;
142
146
  this.baseColor = base_color;
143
147
  this.mixColor = mix_color;
144
148
  this.mixRate = mix_rate;
149
+ this.freestyleFlag = freestyle_flag;
150
+ }
151
+ /**
152
+ * 프리스타일 쿠폰 적용 여부
153
+ */
154
+ get isFreestyleFlag() {
155
+ return this.freestyleFlag === '1';
145
156
  }
146
157
  }
147
158
  /**
@@ -164,13 +175,24 @@ class CharacterAndroidEquipmentHairDto extends characterAndroidEquipment.Charact
164
175
  * 안드로이드 헤어 믹스 컬러의 염색 비율
165
176
  */
166
177
  mixRate;
178
+ /**
179
+ * 프리스타일 쿠폰 적용 여부 (0:미적용, 1:적용)
180
+ */
181
+ freestyleFlag;
167
182
  constructor(obj) {
168
183
  super();
169
- const { hair_name, base_color, mix_color, mix_rate } = obj;
184
+ const { hair_name, base_color, mix_color, mix_rate, freestyle_flag } = obj;
170
185
  this.hairName = hair_name;
171
186
  this.baseColor = base_color;
172
187
  this.mixColor = mix_color;
173
188
  this.mixRate = mix_rate;
189
+ this.freestyleFlag = freestyle_flag;
190
+ }
191
+ /**
192
+ * 프리스타일 쿠폰 적용 여부
193
+ */
194
+ get isFreestyleFlag() {
195
+ return this.freestyleFlag === '1';
174
196
  }
175
197
  }
176
198
  /**
@@ -378,9 +400,17 @@ class CharacterAndroidCashItemEquipmentDto extends characterAndroidEquipment.Cha
378
400
  * 안드로이드 캐시 아이템 컬러링프리즘 정보
379
401
  */
380
402
  cashItemColoringPrism;
403
+ /**
404
+ * 아이템 장착 가능 성별
405
+ */
406
+ androidItemGender;
407
+ /**
408
+ * 프리스타일 쿠폰 적용 여부 (0:미적용, 1:적용)
409
+ */
410
+ freestyleFlag;
381
411
  constructor(obj) {
382
412
  super();
383
- const { cash_item_equipment_part, cash_item_equipment_slot, cash_item_name, cash_item_icon, cash_item_description, cash_item_option, date_expire, date_option_expire, cash_item_label, cash_item_coloring_prism, } = obj;
413
+ const { cash_item_equipment_part, cash_item_equipment_slot, cash_item_name, cash_item_icon, cash_item_description, cash_item_option, date_expire, date_option_expire, cash_item_label, cash_item_coloring_prism, android_item_gender, freestyle_flag, } = obj;
384
414
  this.cashItemEquipmentPart = cash_item_equipment_part;
385
415
  this.cashItemEquipmentSlot = cash_item_equipment_slot;
386
416
  this.cashItemName = cash_item_name;
@@ -391,6 +421,8 @@ class CharacterAndroidCashItemEquipmentDto extends characterAndroidEquipment.Cha
391
421
  this.cashItemColoringPrism = cash_item_coloring_prism
392
422
  ? new CharacterAndroidCashItemEquipmentColoringPrismDto(cash_item_coloring_prism)
393
423
  : null;
424
+ this.androidItemGender = android_item_gender;
425
+ this.freestyleFlag = freestyle_flag;
394
426
  if (date_expire === 'expired') {
395
427
  this.isExpired = true;
396
428
  }
@@ -406,6 +438,12 @@ class CharacterAndroidCashItemEquipmentDto extends characterAndroidEquipment.Cha
406
438
  : null;
407
439
  }
408
440
  }
441
+ /**
442
+ * 프리스타일 쿠폰 적용 여부
443
+ */
444
+ get isFreestyleFlag() {
445
+ return this.freestyleFlag === '1';
446
+ }
409
447
  }
410
448
 
411
449
  exports.CharacterAndroidCashItemEquipmentColoringPrismDto = CharacterAndroidCashItemEquipmentColoringPrismDto;
@@ -93,13 +93,24 @@ class CharacterBeautyEquipmentFaceDto extends characterBeautyEquipment.Character
93
93
  * 성형 믹스 컬러의 염색 비율
94
94
  */
95
95
  mixRate;
96
+ /**
97
+ * 프리스타일 쿠폰 적용 여부 (0:미적용, 1:적용)
98
+ */
99
+ freestyleFlag;
96
100
  constructor(obj) {
97
101
  super();
98
- const { face_name, base_color, mix_color, mix_rate } = obj;
102
+ const { face_name, base_color, mix_color, mix_rate, freestyle_flag } = obj;
99
103
  this.faceName = face_name;
100
104
  this.baseColor = base_color;
101
105
  this.mixColor = mix_color;
102
106
  this.mixRate = mix_rate;
107
+ this.freestyleFlag = freestyle_flag;
108
+ }
109
+ /**
110
+ * 프리스타일 쿠폰 적용 여부
111
+ */
112
+ get isFreestyleFlag() {
113
+ return this.freestyleFlag === '1';
103
114
  }
104
115
  }
105
116
  /**
@@ -122,13 +133,24 @@ class CharacterBeautyEquipmentHairDto extends characterBeautyEquipment.Character
122
133
  * 헤어 믹스 컬러의 염색 비율
123
134
  */
124
135
  mixRate;
136
+ /**
137
+ * 프리스타일 쿠폰 적용 여부 (0:미적용, 1:적용)
138
+ */
139
+ freestyleFlag;
125
140
  constructor(obj) {
126
141
  super();
127
- const { hair_name, base_color, mix_color, mix_rate } = obj;
142
+ const { hair_name, base_color, mix_color, mix_rate, freestyle_flag } = obj;
128
143
  this.hairName = hair_name;
129
144
  this.baseColor = base_color;
130
145
  this.mixColor = mix_color;
131
146
  this.mixRate = mix_rate;
147
+ this.freestyleFlag = freestyle_flag;
148
+ }
149
+ /**
150
+ * 프리스타일 쿠폰 적용 여부
151
+ */
152
+ get isFreestyleFlag() {
153
+ return this.freestyleFlag === '1';
132
154
  }
133
155
  }
134
156
  /**
@@ -190,9 +190,13 @@ class CharacterCashItemEquipmentPresetDto extends characterCashItemEquipment.Cha
190
190
  * 스킬명
191
191
  */
192
192
  skills;
193
+ /**
194
+ * 프리스타일 쿠폰 적용 여부 (0:미적용, 1:적용)
195
+ */
196
+ freestyleFlag;
193
197
  constructor(obj) {
194
198
  super();
195
- const { cash_item_equipment_part, cash_item_equipment_slot, cash_item_name, cash_item_icon, cash_item_description, cash_item_option, date_expire, date_option_expire, cash_item_label, cash_item_coloring_prism, item_gender, skills, } = obj;
199
+ const { cash_item_equipment_part, cash_item_equipment_slot, cash_item_name, cash_item_icon, cash_item_description, cash_item_option, date_expire, date_option_expire, cash_item_label, cash_item_coloring_prism, item_gender, skills, freestyle_flag, } = obj;
196
200
  this.cashItemEquipmentPart = cash_item_equipment_part;
197
201
  this.cashItemEquipmentSlot = cash_item_equipment_slot;
198
202
  this.cashItemName = cash_item_name;
@@ -205,6 +209,7 @@ class CharacterCashItemEquipmentPresetDto extends characterCashItemEquipment.Cha
205
209
  : null;
206
210
  this.itemGender = item_gender;
207
211
  this.skills = skills;
212
+ this.freestyleFlag = freestyle_flag;
208
213
  if (date_expire === 'expired') {
209
214
  this.isExpired = true;
210
215
  }
@@ -220,6 +225,12 @@ class CharacterCashItemEquipmentPresetDto extends characterCashItemEquipment.Cha
220
225
  : null;
221
226
  }
222
227
  }
228
+ /**
229
+ * 프리스타일 쿠폰 적용 여부
230
+ */
231
+ get isFreestyleFlag() {
232
+ return this.freestyleFlag === '1';
233
+ }
223
234
  }
224
235
 
225
236
  exports.CharacterCashItemEquipmentColoringPrismDto = CharacterCashItemEquipmentColoringPrismDto;
@@ -764,9 +764,13 @@ class CharacterItemEquipmentDragonInfoDto extends characterItemEquipment.Charact
764
764
  * 장비 유효 기간 만료 여부
765
765
  */
766
766
  isExpired = null;
767
+ /**
768
+ * 프리스타일 쿠폰 적용 여부 (0:미적용, 1:적용)
769
+ */
770
+ freestyleFlag;
767
771
  constructor(obj) {
768
772
  super();
769
- const { item_equipment_part, item_equipment_slot, item_name, item_icon, item_description, item_shape_name, item_shape_icon, item_gender, item_total_option, item_base_option, 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;
773
+ const { item_equipment_part, item_equipment_slot, item_name, item_icon, item_description, item_shape_name, item_shape_icon, item_gender, item_total_option, item_base_option, 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, freestyle_flag, } = obj;
770
774
  this.itemEquipmentPart = item_equipment_part;
771
775
  this.itemEquipmentSlot = item_equipment_slot;
772
776
  this.itemName = item_name;
@@ -794,6 +798,7 @@ class CharacterItemEquipmentDragonInfoDto extends characterItemEquipment.Charact
794
798
  this.starforceScrollFlag = starforce_scroll_flag;
795
799
  this.itemStarforceOption = new CharacterItemEquipmentStarforceOptionDto(item_starforce_option);
796
800
  this.specialRingLevel = special_ring_level;
801
+ this.freestyleFlag = freestyle_flag;
797
802
  if (date_expire === 'expired') {
798
803
  this.isExpired = true;
799
804
  }
@@ -801,6 +806,12 @@ class CharacterItemEquipmentDragonInfoDto extends characterItemEquipment.Charact
801
806
  this.dateExpire = date_expire ? new Date(date_expire) : null;
802
807
  }
803
808
  }
809
+ /**
810
+ * 프리스타일 쿠폰 적용 여부
811
+ */
812
+ get isFreestyleFlag() {
813
+ return this.freestyleFlag === '1';
814
+ }
804
815
  }
805
816
  /**
806
817
  * 메카닉 장비 정보
@@ -922,9 +933,13 @@ class CharacterItemEquipmentMechanicInfoDto extends characterItemEquipment.Chara
922
933
  * 장비 유효 기간 만료 여부
923
934
  */
924
935
  isExpired = null;
936
+ /**
937
+ * 프리스타일 쿠폰 적용 여부 (0:미적용, 1:적용)
938
+ */
939
+ freestyleFlag;
925
940
  constructor(obj) {
926
941
  super();
927
- const { item_equipment_part, item_equipment_slot, item_name, item_icon, item_description, item_shape_name, item_shape_icon, item_gender, item_total_option, item_base_option, 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;
942
+ const { item_equipment_part, item_equipment_slot, item_name, item_icon, item_description, item_shape_name, item_shape_icon, item_gender, item_total_option, item_base_option, 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, freestyle_flag, } = obj;
928
943
  this.itemEquipmentPart = item_equipment_part;
929
944
  this.itemEquipmentSlot = item_equipment_slot;
930
945
  this.itemName = item_name;
@@ -952,6 +967,7 @@ class CharacterItemEquipmentMechanicInfoDto extends characterItemEquipment.Chara
952
967
  this.starforceScrollFlag = starforce_scroll_flag;
953
968
  this.itemStarforceOption = new CharacterItemEquipmentStarforceOptionDto(item_starforce_option);
954
969
  this.specialRingLevel = special_ring_level;
970
+ this.freestyleFlag = freestyle_flag;
955
971
  if (date_expire === 'expired') {
956
972
  this.isExpired = true;
957
973
  }
@@ -959,6 +975,12 @@ class CharacterItemEquipmentMechanicInfoDto extends characterItemEquipment.Chara
959
975
  this.dateExpire = date_expire ? new Date(date_expire) : null;
960
976
  }
961
977
  }
978
+ /**
979
+ * 프리스타일 쿠폰 적용 여부
980
+ */
981
+ get isFreestyleFlag() {
982
+ return this.freestyleFlag === '1';
983
+ }
962
984
  }
963
985
  /**
964
986
  * 캐릭터 장비 아이템 상세 정보
@@ -1112,9 +1134,13 @@ class CharacterItemEquipmentInfoDto extends characterItemEquipment.CharacterItem
1112
1134
  * 장비 유효 기간 만료 여부
1113
1135
  */
1114
1136
  isExpired = null;
1137
+ /**
1138
+ * 프리스타일 쿠폰 적용 여부 (0:미적용, 1:적용)
1139
+ */
1140
+ freestyleFlag;
1115
1141
  constructor(obj) {
1116
1142
  super();
1117
- const { item_equipment_part, item_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;
1143
+ const { item_equipment_part, item_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, freestyle_flag, } = obj;
1118
1144
  this.itemEquipmentPart = item_equipment_part;
1119
1145
  this.itemEquipmentSlot = item_equipment_slot;
1120
1146
  this.itemName = item_name;
@@ -1150,6 +1176,7 @@ class CharacterItemEquipmentInfoDto extends characterItemEquipment.CharacterItem
1150
1176
  this.starforceScrollFlag = starforce_scroll_flag;
1151
1177
  this.itemStarforceOption = new CharacterItemEquipmentStarforceOptionDto(item_starforce_option);
1152
1178
  this.specialRingLevel = special_ring_level;
1179
+ this.freestyleFlag = freestyle_flag;
1153
1180
  if (date_expire === 'expired') {
1154
1181
  this.isExpired = true;
1155
1182
  }
@@ -1157,6 +1184,12 @@ class CharacterItemEquipmentInfoDto extends characterItemEquipment.CharacterItem
1157
1184
  this.dateExpire = date_expire ? new Date(date_expire) : null;
1158
1185
  }
1159
1186
  }
1187
+ /**
1188
+ * 프리스타일 쿠폰 적용 여부
1189
+ */
1190
+ get isFreestyleFlag() {
1191
+ return this.freestyleFlag === '1';
1192
+ }
1160
1193
  }
1161
1194
 
1162
1195
  exports.CharacterItemEquipmentAddOptionDto = CharacterItemEquipmentAddOptionDto;
@@ -379,9 +379,13 @@ class CharacterAndroidCashItemEquipmentDto extends characterAndroidEquipment.Cha
379
379
  * Android cash item coloring prism information
380
380
  */
381
381
  cashItemColoringPrism;
382
+ /**
383
+ * Gender compatibility for item equipment
384
+ */
385
+ androidItemGender;
382
386
  constructor(obj) {
383
387
  super();
384
- const { cash_item_equipment_part, cash_item_equipment_slot, cash_item_name, cash_item_icon, cash_item_description, cash_item_option, date_expire, date_option_expire, cash_item_label, cash_item_coloring_prism, } = obj;
388
+ const { cash_item_equipment_part, cash_item_equipment_slot, cash_item_name, cash_item_icon, cash_item_description, cash_item_option, date_expire, date_option_expire, cash_item_label, cash_item_coloring_prism, android_item_gender, } = obj;
385
389
  this.cashItemEquipmentPart = cash_item_equipment_part;
386
390
  this.cashItemEquipmentSlot = cash_item_equipment_slot;
387
391
  this.cashItemName = cash_item_name;
@@ -392,6 +396,7 @@ class CharacterAndroidCashItemEquipmentDto extends characterAndroidEquipment.Cha
392
396
  this.cashItemColoringPrism = cash_item_coloring_prism
393
397
  ? new CharacterAndroidCashItemEquipmentColoringPrismDto(cash_item_coloring_prism)
394
398
  : null;
399
+ this.androidItemGender = android_item_gender;
395
400
  if (date_expire === 'expired') {
396
401
  this.isExpired = true;
397
402
  }
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('../../_virtual/index.js_commonjs-exports2.js');
3
+ var index = require('../../_virtual/index.js_commonjs-exports3.js');
4
4
 
5
5
  index.__exports.byteLength = byteLength;
6
6
  index.__exports.toByteArray = toByteArray;
@@ -3,8 +3,8 @@
3
3
  var index = require('../../_virtual/index.js_commonjs-exports.js');
4
4
  require('../base64-js/index.js');
5
5
  require('../ieee754/index.js');
6
- var index$1 = require('../../_virtual/index.js_commonjs-exports2.js');
7
- var index$2 = require('../../_virtual/index.js_commonjs-exports3.js');
6
+ var index$1 = require('../../_virtual/index.js_commonjs-exports3.js');
7
+ var index$2 = require('../../_virtual/index.js_commonjs-exports2.js');
8
8
 
9
9
  /*!
10
10
  * The buffer module from node.js, for the browser.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('../../_virtual/index.js_commonjs-exports3.js');
3
+ var index = require('../../_virtual/index.js_commonjs-exports2.js');
4
4
 
5
5
  /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
6
6
 
@@ -1,3 +1,3 @@
1
- var base64Js = {};
1
+ var ieee754 = {};
2
2
 
3
- export { base64Js as __exports };
3
+ export { ieee754 as __exports };
@@ -1,3 +1,3 @@
1
- var ieee754 = {};
1
+ var base64Js = {};
2
2
 
3
- export { ieee754 as __exports };
3
+ export { base64Js as __exports };
@@ -131,13 +131,24 @@ class CharacterAndroidEquipmentFaceDto extends CharacterAndroidEquipmentFaceDto$
131
131
  * 안드로이드 성형 믹스 컬러의 염색 비율
132
132
  */
133
133
  mixRate;
134
+ /**
135
+ * 프리스타일 쿠폰 적용 여부 (0:미적용, 1:적용)
136
+ */
137
+ freestyleFlag;
134
138
  constructor(obj) {
135
139
  super();
136
- const { face_name, base_color, mix_color, mix_rate } = obj;
140
+ const { face_name, base_color, mix_color, mix_rate, freestyle_flag } = obj;
137
141
  this.faceName = face_name;
138
142
  this.baseColor = base_color;
139
143
  this.mixColor = mix_color;
140
144
  this.mixRate = mix_rate;
145
+ this.freestyleFlag = freestyle_flag;
146
+ }
147
+ /**
148
+ * 프리스타일 쿠폰 적용 여부
149
+ */
150
+ get isFreestyleFlag() {
151
+ return this.freestyleFlag === '1';
141
152
  }
142
153
  }
143
154
  /**
@@ -160,13 +171,24 @@ class CharacterAndroidEquipmentHairDto extends CharacterAndroidEquipmentHairDto$
160
171
  * 안드로이드 헤어 믹스 컬러의 염색 비율
161
172
  */
162
173
  mixRate;
174
+ /**
175
+ * 프리스타일 쿠폰 적용 여부 (0:미적용, 1:적용)
176
+ */
177
+ freestyleFlag;
163
178
  constructor(obj) {
164
179
  super();
165
- const { hair_name, base_color, mix_color, mix_rate } = obj;
180
+ const { hair_name, base_color, mix_color, mix_rate, freestyle_flag } = obj;
166
181
  this.hairName = hair_name;
167
182
  this.baseColor = base_color;
168
183
  this.mixColor = mix_color;
169
184
  this.mixRate = mix_rate;
185
+ this.freestyleFlag = freestyle_flag;
186
+ }
187
+ /**
188
+ * 프리스타일 쿠폰 적용 여부
189
+ */
190
+ get isFreestyleFlag() {
191
+ return this.freestyleFlag === '1';
170
192
  }
171
193
  }
172
194
  /**
@@ -374,9 +396,17 @@ class CharacterAndroidCashItemEquipmentDto extends CharacterAndroidCashItemEquip
374
396
  * 안드로이드 캐시 아이템 컬러링프리즘 정보
375
397
  */
376
398
  cashItemColoringPrism;
399
+ /**
400
+ * 아이템 장착 가능 성별
401
+ */
402
+ androidItemGender;
403
+ /**
404
+ * 프리스타일 쿠폰 적용 여부 (0:미적용, 1:적용)
405
+ */
406
+ freestyleFlag;
377
407
  constructor(obj) {
378
408
  super();
379
- const { cash_item_equipment_part, cash_item_equipment_slot, cash_item_name, cash_item_icon, cash_item_description, cash_item_option, date_expire, date_option_expire, cash_item_label, cash_item_coloring_prism, } = obj;
409
+ const { cash_item_equipment_part, cash_item_equipment_slot, cash_item_name, cash_item_icon, cash_item_description, cash_item_option, date_expire, date_option_expire, cash_item_label, cash_item_coloring_prism, android_item_gender, freestyle_flag, } = obj;
380
410
  this.cashItemEquipmentPart = cash_item_equipment_part;
381
411
  this.cashItemEquipmentSlot = cash_item_equipment_slot;
382
412
  this.cashItemName = cash_item_name;
@@ -387,6 +417,8 @@ class CharacterAndroidCashItemEquipmentDto extends CharacterAndroidCashItemEquip
387
417
  this.cashItemColoringPrism = cash_item_coloring_prism
388
418
  ? new CharacterAndroidCashItemEquipmentColoringPrismDto(cash_item_coloring_prism)
389
419
  : null;
420
+ this.androidItemGender = android_item_gender;
421
+ this.freestyleFlag = freestyle_flag;
390
422
  if (date_expire === 'expired') {
391
423
  this.isExpired = true;
392
424
  }
@@ -402,6 +434,12 @@ class CharacterAndroidCashItemEquipmentDto extends CharacterAndroidCashItemEquip
402
434
  : null;
403
435
  }
404
436
  }
437
+ /**
438
+ * 프리스타일 쿠폰 적용 여부
439
+ */
440
+ get isFreestyleFlag() {
441
+ return this.freestyleFlag === '1';
442
+ }
405
443
  }
406
444
 
407
445
  export { CharacterAndroidCashItemEquipmentColoringPrismDto, CharacterAndroidCashItemEquipmentDto, CharacterAndroidCashItemEquipmentOptionDto, CharacterAndroidEquipmentDto, CharacterAndroidEquipmentFaceDto, CharacterAndroidEquipmentHairDto, CharacterAndroidEquipmentPresetDto, CharacterAndroidEquipmentSkinDto };
@@ -89,13 +89,24 @@ class CharacterBeautyEquipmentFaceDto extends CharacterBeautyEquipmentFaceDto$1
89
89
  * 성형 믹스 컬러의 염색 비율
90
90
  */
91
91
  mixRate;
92
+ /**
93
+ * 프리스타일 쿠폰 적용 여부 (0:미적용, 1:적용)
94
+ */
95
+ freestyleFlag;
92
96
  constructor(obj) {
93
97
  super();
94
- const { face_name, base_color, mix_color, mix_rate } = obj;
98
+ const { face_name, base_color, mix_color, mix_rate, freestyle_flag } = obj;
95
99
  this.faceName = face_name;
96
100
  this.baseColor = base_color;
97
101
  this.mixColor = mix_color;
98
102
  this.mixRate = mix_rate;
103
+ this.freestyleFlag = freestyle_flag;
104
+ }
105
+ /**
106
+ * 프리스타일 쿠폰 적용 여부
107
+ */
108
+ get isFreestyleFlag() {
109
+ return this.freestyleFlag === '1';
99
110
  }
100
111
  }
101
112
  /**
@@ -118,13 +129,24 @@ class CharacterBeautyEquipmentHairDto extends CharacterBeautyEquipmentHairDto$1
118
129
  * 헤어 믹스 컬러의 염색 비율
119
130
  */
120
131
  mixRate;
132
+ /**
133
+ * 프리스타일 쿠폰 적용 여부 (0:미적용, 1:적용)
134
+ */
135
+ freestyleFlag;
121
136
  constructor(obj) {
122
137
  super();
123
- const { hair_name, base_color, mix_color, mix_rate } = obj;
138
+ const { hair_name, base_color, mix_color, mix_rate, freestyle_flag } = obj;
124
139
  this.hairName = hair_name;
125
140
  this.baseColor = base_color;
126
141
  this.mixColor = mix_color;
127
142
  this.mixRate = mix_rate;
143
+ this.freestyleFlag = freestyle_flag;
144
+ }
145
+ /**
146
+ * 프리스타일 쿠폰 적용 여부
147
+ */
148
+ get isFreestyleFlag() {
149
+ return this.freestyleFlag === '1';
128
150
  }
129
151
  }
130
152
  /**
@@ -186,9 +186,13 @@ class CharacterCashItemEquipmentPresetDto extends CharacterCashItemEquipmentPres
186
186
  * 스킬명
187
187
  */
188
188
  skills;
189
+ /**
190
+ * 프리스타일 쿠폰 적용 여부 (0:미적용, 1:적용)
191
+ */
192
+ freestyleFlag;
189
193
  constructor(obj) {
190
194
  super();
191
- const { cash_item_equipment_part, cash_item_equipment_slot, cash_item_name, cash_item_icon, cash_item_description, cash_item_option, date_expire, date_option_expire, cash_item_label, cash_item_coloring_prism, item_gender, skills, } = obj;
195
+ const { cash_item_equipment_part, cash_item_equipment_slot, cash_item_name, cash_item_icon, cash_item_description, cash_item_option, date_expire, date_option_expire, cash_item_label, cash_item_coloring_prism, item_gender, skills, freestyle_flag, } = obj;
192
196
  this.cashItemEquipmentPart = cash_item_equipment_part;
193
197
  this.cashItemEquipmentSlot = cash_item_equipment_slot;
194
198
  this.cashItemName = cash_item_name;
@@ -201,6 +205,7 @@ class CharacterCashItemEquipmentPresetDto extends CharacterCashItemEquipmentPres
201
205
  : null;
202
206
  this.itemGender = item_gender;
203
207
  this.skills = skills;
208
+ this.freestyleFlag = freestyle_flag;
204
209
  if (date_expire === 'expired') {
205
210
  this.isExpired = true;
206
211
  }
@@ -216,6 +221,12 @@ class CharacterCashItemEquipmentPresetDto extends CharacterCashItemEquipmentPres
216
221
  : null;
217
222
  }
218
223
  }
224
+ /**
225
+ * 프리스타일 쿠폰 적용 여부
226
+ */
227
+ get isFreestyleFlag() {
228
+ return this.freestyleFlag === '1';
229
+ }
219
230
  }
220
231
 
221
232
  export { CharacterCashItemEquipmentColoringPrismDto, CharacterCashItemEquipmentDto, CharacterCashItemEquipmentOptionDto, CharacterCashItemEquipmentPresetDto };
@@ -760,9 +760,13 @@ class CharacterItemEquipmentDragonInfoDto extends CharacterItemEquipmentDragonIn
760
760
  * 장비 유효 기간 만료 여부
761
761
  */
762
762
  isExpired = null;
763
+ /**
764
+ * 프리스타일 쿠폰 적용 여부 (0:미적용, 1:적용)
765
+ */
766
+ freestyleFlag;
763
767
  constructor(obj) {
764
768
  super();
765
- const { item_equipment_part, item_equipment_slot, item_name, item_icon, item_description, item_shape_name, item_shape_icon, item_gender, item_total_option, item_base_option, 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;
769
+ const { item_equipment_part, item_equipment_slot, item_name, item_icon, item_description, item_shape_name, item_shape_icon, item_gender, item_total_option, item_base_option, 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, freestyle_flag, } = obj;
766
770
  this.itemEquipmentPart = item_equipment_part;
767
771
  this.itemEquipmentSlot = item_equipment_slot;
768
772
  this.itemName = item_name;
@@ -790,6 +794,7 @@ class CharacterItemEquipmentDragonInfoDto extends CharacterItemEquipmentDragonIn
790
794
  this.starforceScrollFlag = starforce_scroll_flag;
791
795
  this.itemStarforceOption = new CharacterItemEquipmentStarforceOptionDto(item_starforce_option);
792
796
  this.specialRingLevel = special_ring_level;
797
+ this.freestyleFlag = freestyle_flag;
793
798
  if (date_expire === 'expired') {
794
799
  this.isExpired = true;
795
800
  }
@@ -797,6 +802,12 @@ class CharacterItemEquipmentDragonInfoDto extends CharacterItemEquipmentDragonIn
797
802
  this.dateExpire = date_expire ? new Date(date_expire) : null;
798
803
  }
799
804
  }
805
+ /**
806
+ * 프리스타일 쿠폰 적용 여부
807
+ */
808
+ get isFreestyleFlag() {
809
+ return this.freestyleFlag === '1';
810
+ }
800
811
  }
801
812
  /**
802
813
  * 메카닉 장비 정보
@@ -918,9 +929,13 @@ class CharacterItemEquipmentMechanicInfoDto extends CharacterItemEquipmentMechan
918
929
  * 장비 유효 기간 만료 여부
919
930
  */
920
931
  isExpired = null;
932
+ /**
933
+ * 프리스타일 쿠폰 적용 여부 (0:미적용, 1:적용)
934
+ */
935
+ freestyleFlag;
921
936
  constructor(obj) {
922
937
  super();
923
- const { item_equipment_part, item_equipment_slot, item_name, item_icon, item_description, item_shape_name, item_shape_icon, item_gender, item_total_option, item_base_option, 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;
938
+ const { item_equipment_part, item_equipment_slot, item_name, item_icon, item_description, item_shape_name, item_shape_icon, item_gender, item_total_option, item_base_option, 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, freestyle_flag, } = obj;
924
939
  this.itemEquipmentPart = item_equipment_part;
925
940
  this.itemEquipmentSlot = item_equipment_slot;
926
941
  this.itemName = item_name;
@@ -948,6 +963,7 @@ class CharacterItemEquipmentMechanicInfoDto extends CharacterItemEquipmentMechan
948
963
  this.starforceScrollFlag = starforce_scroll_flag;
949
964
  this.itemStarforceOption = new CharacterItemEquipmentStarforceOptionDto(item_starforce_option);
950
965
  this.specialRingLevel = special_ring_level;
966
+ this.freestyleFlag = freestyle_flag;
951
967
  if (date_expire === 'expired') {
952
968
  this.isExpired = true;
953
969
  }
@@ -955,6 +971,12 @@ class CharacterItemEquipmentMechanicInfoDto extends CharacterItemEquipmentMechan
955
971
  this.dateExpire = date_expire ? new Date(date_expire) : null;
956
972
  }
957
973
  }
974
+ /**
975
+ * 프리스타일 쿠폰 적용 여부
976
+ */
977
+ get isFreestyleFlag() {
978
+ return this.freestyleFlag === '1';
979
+ }
958
980
  }
959
981
  /**
960
982
  * 캐릭터 장비 아이템 상세 정보
@@ -1108,9 +1130,13 @@ class CharacterItemEquipmentInfoDto extends CharacterItemEquipmentInfoDto$1 {
1108
1130
  * 장비 유효 기간 만료 여부
1109
1131
  */
1110
1132
  isExpired = null;
1133
+ /**
1134
+ * 프리스타일 쿠폰 적용 여부 (0:미적용, 1:적용)
1135
+ */
1136
+ freestyleFlag;
1111
1137
  constructor(obj) {
1112
1138
  super();
1113
- const { item_equipment_part, item_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;
1139
+ const { item_equipment_part, item_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, freestyle_flag, } = obj;
1114
1140
  this.itemEquipmentPart = item_equipment_part;
1115
1141
  this.itemEquipmentSlot = item_equipment_slot;
1116
1142
  this.itemName = item_name;
@@ -1146,6 +1172,7 @@ class CharacterItemEquipmentInfoDto extends CharacterItemEquipmentInfoDto$1 {
1146
1172
  this.starforceScrollFlag = starforce_scroll_flag;
1147
1173
  this.itemStarforceOption = new CharacterItemEquipmentStarforceOptionDto(item_starforce_option);
1148
1174
  this.specialRingLevel = special_ring_level;
1175
+ this.freestyleFlag = freestyle_flag;
1149
1176
  if (date_expire === 'expired') {
1150
1177
  this.isExpired = true;
1151
1178
  }
@@ -1153,6 +1180,12 @@ class CharacterItemEquipmentInfoDto extends CharacterItemEquipmentInfoDto$1 {
1153
1180
  this.dateExpire = date_expire ? new Date(date_expire) : null;
1154
1181
  }
1155
1182
  }
1183
+ /**
1184
+ * 프리스타일 쿠폰 적용 여부
1185
+ */
1186
+ get isFreestyleFlag() {
1187
+ return this.freestyleFlag === '1';
1188
+ }
1156
1189
  }
1157
1190
 
1158
1191
  export { CharacterItemEquipmentAddOptionDto, CharacterItemEquipmentBaseOptionDto, CharacterItemEquipmentDragonInfoDto, CharacterItemEquipmentDto, CharacterItemEquipmentEtcOptionDto, CharacterItemEquipmentExceptionalOptionDto, CharacterItemEquipmentInfoDto, CharacterItemEquipmentMechanicInfoDto, CharacterItemEquipmentMedalShapeDto, CharacterItemEquipmentStarforceOptionDto, CharacterItemEquipmentTitleDto, CharacterItemEquipmentTotalOptionDto };
@@ -375,9 +375,13 @@ class CharacterAndroidCashItemEquipmentDto extends CharacterAndroidCashItemEquip
375
375
  * Android cash item coloring prism information
376
376
  */
377
377
  cashItemColoringPrism;
378
+ /**
379
+ * Gender compatibility for item equipment
380
+ */
381
+ androidItemGender;
378
382
  constructor(obj) {
379
383
  super();
380
- const { cash_item_equipment_part, cash_item_equipment_slot, cash_item_name, cash_item_icon, cash_item_description, cash_item_option, date_expire, date_option_expire, cash_item_label, cash_item_coloring_prism, } = obj;
384
+ const { cash_item_equipment_part, cash_item_equipment_slot, cash_item_name, cash_item_icon, cash_item_description, cash_item_option, date_expire, date_option_expire, cash_item_label, cash_item_coloring_prism, android_item_gender, } = obj;
381
385
  this.cashItemEquipmentPart = cash_item_equipment_part;
382
386
  this.cashItemEquipmentSlot = cash_item_equipment_slot;
383
387
  this.cashItemName = cash_item_name;
@@ -388,6 +392,7 @@ class CharacterAndroidCashItemEquipmentDto extends CharacterAndroidCashItemEquip
388
392
  this.cashItemColoringPrism = cash_item_coloring_prism
389
393
  ? new CharacterAndroidCashItemEquipmentColoringPrismDto(cash_item_coloring_prism)
390
394
  : null;
395
+ this.androidItemGender = android_item_gender;
391
396
  if (date_expire === 'expired') {
392
397
  this.isExpired = true;
393
398
  }
@@ -1,5 +1,5 @@
1
- import { __exports as base64Js } from '../../_virtual/index.js_commonjs-exports2.js';
2
- export { __exports as default } from '../../_virtual/index.js_commonjs-exports2.js';
1
+ import { __exports as base64Js } from '../../_virtual/index.js_commonjs-exports3.js';
2
+ export { __exports as default } from '../../_virtual/index.js_commonjs-exports3.js';
3
3
 
4
4
  base64Js.byteLength = byteLength;
5
5
  base64Js.toByteArray = toByteArray;
@@ -2,8 +2,8 @@ import { __exports as buffer } from '../../_virtual/index.js_commonjs-exports.js
2
2
  export { __exports as default } from '../../_virtual/index.js_commonjs-exports.js';
3
3
  import '../base64-js/index.js';
4
4
  import '../ieee754/index.js';
5
- import { __exports as base64Js } from '../../_virtual/index.js_commonjs-exports2.js';
6
- import { __exports as ieee754 } from '../../_virtual/index.js_commonjs-exports3.js';
5
+ import { __exports as base64Js } from '../../_virtual/index.js_commonjs-exports3.js';
6
+ import { __exports as ieee754 } from '../../_virtual/index.js_commonjs-exports2.js';
7
7
 
8
8
  /*!
9
9
  * The buffer module from node.js, for the browser.
@@ -1,5 +1,5 @@
1
- import { __exports as ieee754 } from '../../_virtual/index.js_commonjs-exports3.js';
2
- export { __exports as default } from '../../_virtual/index.js_commonjs-exports3.js';
1
+ import { __exports as ieee754 } from '../../_virtual/index.js_commonjs-exports2.js';
2
+ export { __exports as default } from '../../_virtual/index.js_commonjs-exports2.js';
3
3
 
4
4
  /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
5
5
 
package/dist/index.min.js CHANGED
@@ -1 +1 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("axios"),require("dayjs")):"function"==typeof define&&define.amd?define(["exports","axios","dayjs"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self)["maplestory-openapi"]={},t.axios,t.dayjs)}(this,(function(t,e,a){"use strict";function r(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var o=r(e),i=r(a),s=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self,{exports:{}});!function(t){var e,a;t.exports=(e={year:0,month:1,day:2,hour:3,minute:4,second:5},a={},function(t,r,o){var i,s=function(t,e,r){void 0===r&&(r={});var o=new Date(t),i=function(t,e){void 0===e&&(e={});var r=e.timeZoneName||"short",o=t+"|"+r,i=a[o];return i||(i=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:r}),a[o]=i),i}(e,r);return i.formatToParts(o)},n=function(t,a){for(var r=s(t,a),i=[],n=0;n<r.length;n+=1){var c=r[n],l=c.type,u=c.value,h=e[l];h>=0&&(i[h]=parseInt(u,10))}var f=i[3],m=24===f?0:f,d=i[0]+"-"+i[1]+"-"+i[2]+" "+m+":"+i[4]+":"+i[5]+":000",E=+t;return(o.utc(d).valueOf()-(E-=E%1e3))/6e4},c=r.prototype;c.tz=function(t,e){void 0===t&&(t=i);var a,r=this.utcOffset(),s=this.toDate(),n=s.toLocaleString("en-US",{timeZone:t}),c=Math.round((s-new Date(n))/1e3/60),l=15*-Math.round(s.getTimezoneOffset()/15)-c;if(Number(l)){if(a=o(n,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(l,!0),e){var u=a.utcOffset();a=a.add(r-u,"minute")}}else a=this.utcOffset(0,e);return a.$x.$timezone=t,a},c.offsetName=function(t){var e=this.$x.$timezone||o.tz.guess(),a=s(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=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return l.call(a,t,e).tz(this.$x.$timezone,!0)},o.tz=function(t,e,a){var r=a&&e,s=a||e||i,c=n(+o(),s);if("string"!=typeof t)return o(t).tz(s);var l=function(t,e,a){var r=t-60*e*1e3,o=n(r,a);if(e===o)return[r,e];var i=n(r-=60*(o-e)*1e3,a);return o===i?[r,o]:[t-60*Math.min(o,i)*1e3,Math.max(o,i)]}(o.utc(t,r).valueOf(),c,s),u=l[0],h=l[1],f=o(u).utcOffset(h);return f.$x.$timezone=s,f},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(t){i=t}})}(s);var n=s.exports,c={exports:{}};!function(t){var e,a,r;t.exports=(e="minute",a=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g,function(t,o,i){var s=o.prototype;i.utc=function(t){return new o({date:t,utc:!0,args:arguments})},s.utc=function(t){var a=i(this.toDate(),{locale:this.$L,utc:!0});return t?a.add(this.utcOffset(),e):a},s.local=function(){return i(this.toDate(),{locale:this.$L,utc:!1})};var n=s.parse;s.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),n.call(this,t)};var c=s.init;s.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=s.utcOffset;s.utcOffset=function(t,o){var i=this.$utils().u;if(i(t))return this.$u?0:i(this.$offset)?l.call(this):this.$offset;if("string"==typeof t&&(t=function(t){void 0===t&&(t="");var e=t.match(a);if(!e)return null;var o=(""+e[0]).match(r)||["-",0,0],i=o[0],s=60*+o[1]+ +o[2];return 0===s?0:"+"===i?s:-s}(t),null===t))return this;var s=Math.abs(t)<=16?60*t:t,n=this;if(o)return n.$offset=s,n.$u=0===t,n;if(0!==t){var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(n=this.local().add(s+c,e)).$offset=s,n.$x.$localOffset=c}else n=this.utc();return n};var u=s.format;s.format=function(t){var e=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return u.call(this,e)},s.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},s.isUTC=function(){return!!this.$u},s.toISOString=function(){return this.toDate().toISOString()},s.toString=function(){return this.toDate().toUTCString()};var h=s.toDate;s.toDate=function(t){return"s"===t&&this.$offset?i(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():h.call(this)};var f=s.diff;s.diff=function(t,e,a){if(t&&this.$u===t.$u)return f.call(this,t,e,a);var r=this.local(),o=i(t).local();return f.call(r,o,e,a)}})}(c);var l,u=c.exports;class h extends Error{name="MapleStoryApiError";errorCode;message;constructor(t){const{name:e,message:a}=t.error;super(a),this.errorCode=f[e],this.message=a}}t.MapleStoryApiErrorCode=void 0,(l=t.MapleStoryApiErrorCode||(t.MapleStoryApiErrorCode={}))[l.OPENAPI00001=0]="OPENAPI00001",l[l.OPENAPI00002=1]="OPENAPI00002",l[l.OPENAPI00003=2]="OPENAPI00003",l[l.OPENAPI00004=3]="OPENAPI00004",l[l.OPENAPI00005=4]="OPENAPI00005",l[l.OPENAPI00006=5]="OPENAPI00006",l[l.OPENAPI00007=6]="OPENAPI00007",l[l.OPENAPI00009=7]="OPENAPI00009",l[l.OPENAPI00010=8]="OPENAPI00010",l[l.OPENAPI00011=9]="OPENAPI00011";const f={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,OPENAPI00009:t.MapleStoryApiErrorCode.OPENAPI00009,OPENAPI00010:t.MapleStoryApiErrorCode.OPENAPI00010,OPENAPI00011:t.MapleStoryApiErrorCode.OPENAPI00011};i.default.extend(n),i.default.extend(u);class m{apiKey;client;static BASE_URL="https://open.api.nexon.com/";static DEFAULT_TIMEOUT=5e3;get timeout(){return this.client.defaults.timeout}set timeout(t){this.client.defaults.timeout=t}constructor(t){this.apiKey=t,this.client=o.default.create({baseURL:m.BASE_URL,timeout:m.DEFAULT_TIMEOUT,headers:{"x-nxopen-api-key":this.apiKey}}),this.client.interceptors.response.use((t=>t),(t=>{if(t instanceof e.AxiosError){const e=t.response.data;throw new h(e)}throw t}))}getProperDefaultDateOptions(t){const{hour:e,minute:a,dateOffset:r}=t,o=i.default().utcOffset(this.timezoneOffset),s=i.default().utcOffset(this.timezoneOffset).hour(e).minute(a);let n;return n=o.isAfter(s)?o:o.subtract(1,"day"),n=n.subtract(r??0,"day"),{year:n.year(),month:n.month()+1,day:n.date()}}toDateString(t,e){const a=t=>{let e,a,r,o;return t instanceof Date?(o=i.default(t).utcOffset(this.timezoneOffset),e=o.year(),a=o.month()+1,r=o.date()):(e=t.year,a=t.month,r=t.day,o=i.default(`${e}-${a}-${r}`).utcOffset(this.timezoneOffset)),{year:e,month:a,day:r,d:o}},{year:r,month:o,day:s,d:n}=a(t),c=n.format("YYYY-MM-DD");if(e){const{year:t,month:n,day:c}=a(e);if(r<t||r===t&&o<n||r===t&&o===n&&s<c)throw new Error(`You can only retrieve data after ${i.default(`${t}-${n}-${c}`).format("YYYY-MM-DD")}.`)}return c}}var d,E,p,A;t.CharacterImageAction=void 0,(d=t.CharacterImageAction||(t.CharacterImageAction={})).Stand1="A00",d.Stand2="A01",d.Walk1="A02",d.Walk2="A03",d.Prone="A04",d.Fly="A05",d.Jump="A06",d.Sit="A07",d.Ladder="A08",d.Rope="A09",d.Heal="A10",d.Alert="A11",d.ProneStab="A12",d.SwingO1="A13",d.SwingO2="A14",d.SwingO3="A15",d.SwingOF="A16",d.SwingP1="A17",d.SwingP2="A18",d.SwingPF="A19",d.SwingT1="A20",d.SwingT2="A21",d.SwingT3="A22",d.SwingTF="A23",d.StabO1="A24",d.StabO2="A25",d.StabOF="A26",d.StabT1="A27",d.StabT2="A28",d.StabTF="A29",d.Shoot1="A30",d.Shoot2="A31",d.ShootF="A32",d.Dead="A33",d.GhostWalk="A34",d.GhostStand="A35",d.GhostJump="A36",d.GhostProneStab="A37",d.GhostLadder="A38",d.GhostRope="A39",d.GhostFly="A40",d.GhostSit="A41",t.CharacterImageEmotion=void 0,(E=t.CharacterImageEmotion||(t.CharacterImageEmotion={})).Default="E00",E.Wink="E01",E.Smile="E02",E.Cry="E03",E.Angry="E04",E.Bewildered="E05",E.Blink="E06",E.Blaze="E07",E.Bowing="E08",E.Cheers="E09",E.Chu="E10",E.Dam="E11",E.Despair="E12",E.Glitter="E13",E.Hit="E14",E.Hot="E15",E.Hum="E16",E.Love="E17",E.Oops="E18",E.Pain="E19",E.Troubled="E20",E.QBlue="E21",E.Shine="E22",E.Stunned="E23",E.Vomit="E24",t.CharacterImageWeaponMotion=void 0,(p=t.CharacterImageWeaponMotion||(t.CharacterImageWeaponMotion={})).Default="W00",p.OneHand="W01",p.TwoHands="W02",p.Gun="W03",p.Nothing="W04",t.PotentialOptionGrade=void 0,(A=t.PotentialOptionGrade||(t.PotentialOptionGrade={}))[A.RARE=0]="RARE",A[A.EPIC=1]="EPIC",A[A.UNIQUE=2]="UNIQUE",A[A.LEGENDARY=3]="LEGENDARY";t.CharacterAbilityDto=class{},t.CharacterAbilityInfoDto=class{},t.CharacterAbilityPresetDto=class{},t.CharacterAndroidCashItemEquipmentColoringPrismDto=class{},t.CharacterAndroidCashItemEquipmentDto=class{},t.CharacterAndroidCashItemEquipmentOptionDto=class{},t.CharacterAndroidEquipmentDto=class{},t.CharacterAndroidEquipmentFaceDto=class{},t.CharacterAndroidEquipmentHairDto=class{},t.CharacterAndroidEquipmentPresetDto=class{},t.CharacterAndroidEquipmentSkinDto=class{},t.CharacterBasicDto=class{get isAccessFlag(){return"true"===this.accessFlag}get isLiberationQuestClearFlag(){return"true"===this.liberationQuestClearFlag}},t.CharacterBeautyEquipmentDto=class{},t.CharacterBeautyEquipmentFaceDto=class{},t.CharacterBeautyEquipmentHairDto=class{},t.CharacterBeautyEquipmentSkinDto=class{},t.CharacterCashItemEquipmentColoringPrismDto=class{},t.CharacterCashItemEquipmentDto=class{},t.CharacterCashItemEquipmentOptionDto=class{},t.CharacterCashItemEquipmentPresetDto=class{},t.CharacterDojangDto=class{},t.CharacterDto=class{},t.CharacterFinalStatDto=class{},t.CharacterHexaMatrixDto=class{},t.CharacterHexaMatrixEquipmentDto=class{},t.CharacterHexaMatrixEquipmentLinkedSkillDto=class{},t.CharacterHexaMatrixStatCoreDto=class{},t.CharacterHexaMatrixStatDto=class{},t.CharacterHyperStatDto=class{},t.CharacterHyperStatPresetDto=class{},t.CharacterImageDto=class{},t.CharacterItemEquipmentAddOptionDto=class{},t.CharacterItemEquipmentBaseOptionDto=class{},t.CharacterItemEquipmentDragonInfoDto=class{},t.CharacterItemEquipmentDto=class{},t.CharacterItemEquipmentEtcOptionDto=class{},t.CharacterItemEquipmentExceptionalOptionDto=class{},t.CharacterItemEquipmentInfoDto=class{},t.CharacterItemEquipmentMechanicInfoDto=class{},t.CharacterItemEquipmentStarforceOptionDto=class{},t.CharacterItemEquipmentTitleDto=class{},t.CharacterItemEquipmentTotalOptionDto=class{},t.CharacterLinkSkillDto=class{},t.CharacterLinkSkillInfoDto=class{},t.CharacterPetEquipmentAutoSkillDto=class{},t.CharacterPetEquipmentDto=class{},t.CharacterPetEquipmentItemDto=class{},t.CharacterPetEquipmentItemOptionDto=class{},t.CharacterPopularityDto=class{},t.CharacterPropensityDto=class{},t.CharacterSetEffectDto=class{},t.CharacterSetEffectInfoDto=class{},t.CharacterSetEffectOptionFullDto=class{},t.CharacterSetEffectSetDto=class{},t.CharacterSkillDto=class{},t.CharacterSkillInfoDto=class{},t.CharacterStatDto=class{},t.CharacterSymbolEquipmentDto=class{},t.CharacterSymbolEquipmentInfoDto=class{},t.CharacterVMatrixCodeEquipmentDto=class{},t.CharacterVMatrixDto=class{},t.GuildBasicDto=class{},t.GuildDto=class{},t.GuildSkillDto=class{},t.MapleStoryApi=m,t.MapleStoryApiError=h,t.UnionArtifactCrystalDto=class{},t.UnionArtifactDto=class{},t.UnionArtifactEffectDto=class{},t.UnionDto=class{},t.UnionRaiderBlockControlPointDto=class{},t.UnionRaiderBlockDto=class{},t.UnionRaiderBlockPositionDto=class{},t.UnionRaiderDto=class{},t.UnionRaiderInnerStatDto=class{},t.UnionRaiderPresetDto=class{}}));
1
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("axios"),require("dayjs")):"function"==typeof define&&define.amd?define(["exports","axios","dayjs"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self)["maplestory-openapi"]={},t.axios,t.dayjs)}(this,function(t,e,a){"use strict";function r(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var o=r(e),i=r(a),s=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self,{exports:{}});!function(t){var e,a;t.exports=(e={year:0,month:1,day:2,hour:3,minute:4,second:5},a={},function(t,r,o){var i,s=function(t,e,r){void 0===r&&(r={});var o=new Date(t),i=function(t,e){void 0===e&&(e={});var r=e.timeZoneName||"short",o=t+"|"+r,i=a[o];return i||(i=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:r}),a[o]=i),i}(e,r);return i.formatToParts(o)},n=function(t,a){for(var r=s(t,a),i=[],n=0;n<r.length;n+=1){var c=r[n],l=c.type,u=c.value,h=e[l];h>=0&&(i[h]=parseInt(u,10))}var f=i[3],m=24===f?0:f,d=i[0]+"-"+i[1]+"-"+i[2]+" "+m+":"+i[4]+":"+i[5]+":000",E=+t;return(o.utc(d).valueOf()-(E-=E%1e3))/6e4},c=r.prototype;c.tz=function(t,e){void 0===t&&(t=i);var a,r=this.utcOffset(),s=this.toDate(),n=s.toLocaleString("en-US",{timeZone:t}),c=Math.round((s-new Date(n))/1e3/60),l=15*-Math.round(s.getTimezoneOffset()/15)-c;if(Number(l)){if(a=o(n,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(l,!0),e){var u=a.utcOffset();a=a.add(r-u,"minute")}}else a=this.utcOffset(0,e);return a.$x.$timezone=t,a},c.offsetName=function(t){var e=this.$x.$timezone||o.tz.guess(),a=s(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=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return l.call(a,t,e).tz(this.$x.$timezone,!0)},o.tz=function(t,e,a){var r=a&&e,s=a||e||i,c=n(+o(),s);if("string"!=typeof t)return o(t).tz(s);var l=function(t,e,a){var r=t-60*e*1e3,o=n(r,a);if(e===o)return[r,e];var i=n(r-=60*(o-e)*1e3,a);return o===i?[r,o]:[t-60*Math.min(o,i)*1e3,Math.max(o,i)]}(o.utc(t,r).valueOf(),c,s),u=l[0],h=l[1],f=o(u).utcOffset(h);return f.$x.$timezone=s,f},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(t){i=t}})}(s);var n=s.exports,c={exports:{}};!function(t){var e,a,r;t.exports=(e="minute",a=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g,function(t,o,i){var s=o.prototype;i.utc=function(t){return new o({date:t,utc:!0,args:arguments})},s.utc=function(t){var a=i(this.toDate(),{locale:this.$L,utc:!0});return t?a.add(this.utcOffset(),e):a},s.local=function(){return i(this.toDate(),{locale:this.$L,utc:!1})};var n=s.parse;s.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),n.call(this,t)};var c=s.init;s.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=s.utcOffset;s.utcOffset=function(t,o){var i=this.$utils().u;if(i(t))return this.$u?0:i(this.$offset)?l.call(this):this.$offset;if("string"==typeof t&&(t=function(t){void 0===t&&(t="");var e=t.match(a);if(!e)return null;var o=(""+e[0]).match(r)||["-",0,0],i=o[0],s=60*+o[1]+ +o[2];return 0===s?0:"+"===i?s:-s}(t),null===t))return this;var s=Math.abs(t)<=16?60*t:t,n=this;if(o)return n.$offset=s,n.$u=0===t,n;if(0!==t){var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(n=this.local().add(s+c,e)).$offset=s,n.$x.$localOffset=c}else n=this.utc();return n};var u=s.format;s.format=function(t){var e=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return u.call(this,e)},s.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},s.isUTC=function(){return!!this.$u},s.toISOString=function(){return this.toDate().toISOString()},s.toString=function(){return this.toDate().toUTCString()};var h=s.toDate;s.toDate=function(t){return"s"===t&&this.$offset?i(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():h.call(this)};var f=s.diff;s.diff=function(t,e,a){if(t&&this.$u===t.$u)return f.call(this,t,e,a);var r=this.local(),o=i(t).local();return f.call(r,o,e,a)}})}(c);var l,u=c.exports;class h extends Error{name="MapleStoryApiError";errorCode;message;constructor(t){const{name:e,message:a}=t.error;super(a),this.errorCode=f[e],this.message=a}}t.MapleStoryApiErrorCode=void 0,(l=t.MapleStoryApiErrorCode||(t.MapleStoryApiErrorCode={}))[l.OPENAPI00001=0]="OPENAPI00001",l[l.OPENAPI00002=1]="OPENAPI00002",l[l.OPENAPI00003=2]="OPENAPI00003",l[l.OPENAPI00004=3]="OPENAPI00004",l[l.OPENAPI00005=4]="OPENAPI00005",l[l.OPENAPI00006=5]="OPENAPI00006",l[l.OPENAPI00007=6]="OPENAPI00007",l[l.OPENAPI00009=7]="OPENAPI00009",l[l.OPENAPI00010=8]="OPENAPI00010",l[l.OPENAPI00011=9]="OPENAPI00011";const f={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,OPENAPI00009:t.MapleStoryApiErrorCode.OPENAPI00009,OPENAPI00010:t.MapleStoryApiErrorCode.OPENAPI00010,OPENAPI00011:t.MapleStoryApiErrorCode.OPENAPI00011};i.default.extend(n),i.default.extend(u);class m{apiKey;client;static BASE_URL="https://open.api.nexon.com/";static DEFAULT_TIMEOUT=5e3;get timeout(){return this.client.defaults.timeout}set timeout(t){this.client.defaults.timeout=t}constructor(t){this.apiKey=t,this.client=o.default.create({baseURL:m.BASE_URL,timeout:m.DEFAULT_TIMEOUT,headers:{"x-nxopen-api-key":this.apiKey}}),this.client.interceptors.response.use(t=>t,t=>{if(t instanceof e.AxiosError){const e=t.response.data;throw new h(e)}throw t})}getProperDefaultDateOptions(t){const{hour:e,minute:a,dateOffset:r}=t,o=i.default().utcOffset(this.timezoneOffset),s=i.default().utcOffset(this.timezoneOffset).hour(e).minute(a);let n;return n=o.isAfter(s)?o:o.subtract(1,"day"),n=n.subtract(r??0,"day"),{year:n.year(),month:n.month()+1,day:n.date()}}toDateString(t,e){const a=t=>{let e,a,r,o;return t instanceof Date?(o=i.default(t).utcOffset(this.timezoneOffset),e=o.year(),a=o.month()+1,r=o.date()):(e=t.year,a=t.month,r=t.day,o=i.default(`${e}-${a}-${r}`).utcOffset(this.timezoneOffset)),{year:e,month:a,day:r,d:o}},{year:r,month:o,day:s,d:n}=a(t),c=n.format("YYYY-MM-DD");if(e){const{year:t,month:n,day:c}=a(e);if(r<t||r===t&&o<n||r===t&&o===n&&s<c)throw new Error(`You can only retrieve data after ${i.default(`${t}-${n}-${c}`).format("YYYY-MM-DD")}.`)}return c}}var d,E,p,A;t.CharacterImageAction=void 0,(d=t.CharacterImageAction||(t.CharacterImageAction={})).Stand1="A00",d.Stand2="A01",d.Walk1="A02",d.Walk2="A03",d.Prone="A04",d.Fly="A05",d.Jump="A06",d.Sit="A07",d.Ladder="A08",d.Rope="A09",d.Heal="A10",d.Alert="A11",d.ProneStab="A12",d.SwingO1="A13",d.SwingO2="A14",d.SwingO3="A15",d.SwingOF="A16",d.SwingP1="A17",d.SwingP2="A18",d.SwingPF="A19",d.SwingT1="A20",d.SwingT2="A21",d.SwingT3="A22",d.SwingTF="A23",d.StabO1="A24",d.StabO2="A25",d.StabOF="A26",d.StabT1="A27",d.StabT2="A28",d.StabTF="A29",d.Shoot1="A30",d.Shoot2="A31",d.ShootF="A32",d.Dead="A33",d.GhostWalk="A34",d.GhostStand="A35",d.GhostJump="A36",d.GhostProneStab="A37",d.GhostLadder="A38",d.GhostRope="A39",d.GhostFly="A40",d.GhostSit="A41",t.CharacterImageEmotion=void 0,(E=t.CharacterImageEmotion||(t.CharacterImageEmotion={})).Default="E00",E.Wink="E01",E.Smile="E02",E.Cry="E03",E.Angry="E04",E.Bewildered="E05",E.Blink="E06",E.Blaze="E07",E.Bowing="E08",E.Cheers="E09",E.Chu="E10",E.Dam="E11",E.Despair="E12",E.Glitter="E13",E.Hit="E14",E.Hot="E15",E.Hum="E16",E.Love="E17",E.Oops="E18",E.Pain="E19",E.Troubled="E20",E.QBlue="E21",E.Shine="E22",E.Stunned="E23",E.Vomit="E24",t.CharacterImageWeaponMotion=void 0,(p=t.CharacterImageWeaponMotion||(t.CharacterImageWeaponMotion={})).Default="W00",p.OneHand="W01",p.TwoHands="W02",p.Gun="W03",p.Nothing="W04",t.PotentialOptionGrade=void 0,(A=t.PotentialOptionGrade||(t.PotentialOptionGrade={}))[A.RARE=0]="RARE",A[A.EPIC=1]="EPIC",A[A.UNIQUE=2]="UNIQUE",A[A.LEGENDARY=3]="LEGENDARY";t.CharacterAbilityDto=class{},t.CharacterAbilityInfoDto=class{},t.CharacterAbilityPresetDto=class{},t.CharacterAndroidCashItemEquipmentColoringPrismDto=class{},t.CharacterAndroidCashItemEquipmentDto=class{},t.CharacterAndroidCashItemEquipmentOptionDto=class{},t.CharacterAndroidEquipmentDto=class{},t.CharacterAndroidEquipmentFaceDto=class{},t.CharacterAndroidEquipmentHairDto=class{},t.CharacterAndroidEquipmentPresetDto=class{},t.CharacterAndroidEquipmentSkinDto=class{},t.CharacterBasicDto=class{get isAccessFlag(){return"true"===this.accessFlag}get isLiberationQuestClearFlag(){return"true"===this.liberationQuestClearFlag}},t.CharacterBeautyEquipmentDto=class{},t.CharacterBeautyEquipmentFaceDto=class{},t.CharacterBeautyEquipmentHairDto=class{},t.CharacterBeautyEquipmentSkinDto=class{},t.CharacterCashItemEquipmentColoringPrismDto=class{},t.CharacterCashItemEquipmentDto=class{},t.CharacterCashItemEquipmentOptionDto=class{},t.CharacterCashItemEquipmentPresetDto=class{},t.CharacterDojangDto=class{},t.CharacterDto=class{},t.CharacterFinalStatDto=class{},t.CharacterHexaMatrixDto=class{},t.CharacterHexaMatrixEquipmentDto=class{},t.CharacterHexaMatrixEquipmentLinkedSkillDto=class{},t.CharacterHexaMatrixStatCoreDto=class{},t.CharacterHexaMatrixStatDto=class{},t.CharacterHyperStatDto=class{},t.CharacterHyperStatPresetDto=class{},t.CharacterImageDto=class{},t.CharacterItemEquipmentAddOptionDto=class{},t.CharacterItemEquipmentBaseOptionDto=class{},t.CharacterItemEquipmentDragonInfoDto=class{},t.CharacterItemEquipmentDto=class{},t.CharacterItemEquipmentEtcOptionDto=class{},t.CharacterItemEquipmentExceptionalOptionDto=class{},t.CharacterItemEquipmentInfoDto=class{},t.CharacterItemEquipmentMechanicInfoDto=class{},t.CharacterItemEquipmentStarforceOptionDto=class{},t.CharacterItemEquipmentTitleDto=class{},t.CharacterItemEquipmentTotalOptionDto=class{},t.CharacterLinkSkillDto=class{},t.CharacterLinkSkillInfoDto=class{},t.CharacterPetEquipmentAutoSkillDto=class{},t.CharacterPetEquipmentDto=class{},t.CharacterPetEquipmentItemDto=class{},t.CharacterPetEquipmentItemOptionDto=class{},t.CharacterPopularityDto=class{},t.CharacterPropensityDto=class{},t.CharacterSetEffectDto=class{},t.CharacterSetEffectInfoDto=class{},t.CharacterSetEffectOptionFullDto=class{},t.CharacterSetEffectSetDto=class{},t.CharacterSkillDto=class{},t.CharacterSkillInfoDto=class{},t.CharacterStatDto=class{},t.CharacterSymbolEquipmentDto=class{},t.CharacterSymbolEquipmentInfoDto=class{},t.CharacterVMatrixCodeEquipmentDto=class{},t.CharacterVMatrixDto=class{},t.GuildBasicDto=class{},t.GuildDto=class{},t.GuildSkillDto=class{},t.MapleStoryApi=m,t.MapleStoryApiError=h,t.UnionArtifactCrystalDto=class{},t.UnionArtifactDto=class{},t.UnionArtifactEffectDto=class{},t.UnionDto=class{},t.UnionRaiderBlockControlPointDto=class{},t.UnionRaiderBlockDto=class{},t.UnionRaiderBlockPositionDto=class{},t.UnionRaiderDto=class{},t.UnionRaiderInnerStatDto=class{},t.UnionRaiderPresetDto=class{}});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maplestory-openapi",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
4
  "description": "This JavaScript library enables the use of the MapleStory OpenAPI of Nexon.",
5
5
  "keywords": [
6
6
  "maplestory",
@@ -74,4 +74,5 @@ export declare abstract class CharacterAndroidCashItemEquipmentDto {
74
74
  abstract isOptionExpired: boolean | null;
75
75
  abstract cashItemLabel: string | null;
76
76
  abstract cashItemColoringPrism: CharacterAndroidCashItemEquipmentColoringPrismDto | null;
77
+ abstract androidItemGender: string | null;
77
78
  }
@@ -98,7 +98,15 @@ export declare class CharacterAndroidEquipmentFaceDto extends base.CharacterAndr
98
98
  * 안드로이드 성형 믹스 컬러의 염색 비율
99
99
  */
100
100
  mixRate: string;
101
+ /**
102
+ * 프리스타일 쿠폰 적용 여부 (0:미적용, 1:적용)
103
+ */
104
+ freestyleFlag: string | null;
101
105
  constructor(obj: CharacterAndroidEquipmentFaceBody);
106
+ /**
107
+ * 프리스타일 쿠폰 적용 여부
108
+ */
109
+ get isFreestyleFlag(): boolean;
102
110
  }
103
111
  /**
104
112
  * 캐릭터 안드로이드 헤어 정보
@@ -120,7 +128,15 @@ export declare class CharacterAndroidEquipmentHairDto extends base.CharacterAndr
120
128
  * 안드로이드 헤어 믹스 컬러의 염색 비율
121
129
  */
122
130
  mixRate: string;
131
+ /**
132
+ * 프리스타일 쿠폰 적용 여부 (0:미적용, 1:적용)
133
+ */
134
+ freestyleFlag: string | null;
123
135
  constructor(obj: CharacterAndroidEquipmentHairBody);
136
+ /**
137
+ * 프리스타일 쿠폰 적용 여부
138
+ */
139
+ get isFreestyleFlag(): boolean;
124
140
  }
125
141
  /**
126
142
  * 캐릭터 안드로이드 피부 정보
@@ -290,5 +306,17 @@ export declare class CharacterAndroidCashItemEquipmentDto extends base.Character
290
306
  * 안드로이드 캐시 아이템 컬러링프리즘 정보
291
307
  */
292
308
  cashItemColoringPrism: CharacterAndroidCashItemEquipmentColoringPrismDto | null;
309
+ /**
310
+ * 아이템 장착 가능 성별
311
+ */
312
+ androidItemGender: string | null;
313
+ /**
314
+ * 프리스타일 쿠폰 적용 여부 (0:미적용, 1:적용)
315
+ */
316
+ freestyleFlag: string | null;
293
317
  constructor(obj: CharacterAndroidCashItemEquipmentBody);
318
+ /**
319
+ * 프리스타일 쿠폰 적용 여부
320
+ */
321
+ get isFreestyleFlag(): boolean;
294
322
  }
@@ -65,7 +65,15 @@ export declare class CharacterBeautyEquipmentFaceDto extends base.CharacterBeaut
65
65
  * 성형 믹스 컬러의 염색 비율
66
66
  */
67
67
  mixRate: string;
68
+ /**
69
+ * 프리스타일 쿠폰 적용 여부 (0:미적용, 1:적용)
70
+ */
71
+ freestyleFlag: string | null;
68
72
  constructor(obj: CharacterBeautyEquipmentFaceBody);
73
+ /**
74
+ * 프리스타일 쿠폰 적용 여부
75
+ */
76
+ get isFreestyleFlag(): boolean;
69
77
  }
70
78
  /**
71
79
  * 캐릭터 헤어 정보
@@ -87,7 +95,15 @@ export declare class CharacterBeautyEquipmentHairDto extends base.CharacterBeaut
87
95
  * 헤어 믹스 컬러의 염색 비율
88
96
  */
89
97
  mixRate: string;
98
+ /**
99
+ * 프리스타일 쿠폰 적용 여부 (0:미적용, 1:적용)
100
+ */
101
+ freestyleFlag: string | null;
90
102
  constructor(obj: CharacterBeautyEquipmentHairBody);
103
+ /**
104
+ * 프리스타일 쿠폰 적용 여부
105
+ */
106
+ get isFreestyleFlag(): boolean;
91
107
  }
92
108
  /**
93
109
  * 캐릭터 피부 정보
@@ -154,5 +154,13 @@ export declare class CharacterCashItemEquipmentPresetDto extends base.CharacterC
154
154
  * 스킬명
155
155
  */
156
156
  skills: string[];
157
+ /**
158
+ * 프리스타일 쿠폰 적용 여부 (0:미적용, 1:적용)
159
+ */
160
+ freestyleFlag: string | null;
157
161
  constructor(obj: CharacterCashItemEquipmentPresetBody);
162
+ /**
163
+ * 프리스타일 쿠폰 적용 여부
164
+ */
165
+ get isFreestyleFlag(): boolean;
158
166
  }
@@ -610,7 +610,15 @@ export declare class CharacterItemEquipmentDragonInfoDto extends base.CharacterI
610
610
  * 장비 유효 기간 만료 여부
611
611
  */
612
612
  isExpired: boolean | null;
613
+ /**
614
+ * 프리스타일 쿠폰 적용 여부 (0:미적용, 1:적용)
615
+ */
616
+ freestyleFlag: string | null;
613
617
  constructor(obj: CharacterItemEquipmentDragonInfoBody);
618
+ /**
619
+ * 프리스타일 쿠폰 적용 여부
620
+ */
621
+ get isFreestyleFlag(): boolean;
614
622
  }
615
623
  /**
616
624
  * 메카닉 장비 정보
@@ -732,7 +740,15 @@ export declare class CharacterItemEquipmentMechanicInfoDto extends base.Characte
732
740
  * 장비 유효 기간 만료 여부
733
741
  */
734
742
  isExpired: boolean | null;
743
+ /**
744
+ * 프리스타일 쿠폰 적용 여부 (0:미적용, 1:적용)
745
+ */
746
+ freestyleFlag: string | null;
735
747
  constructor(obj: CharacterItemEquipmentMechanicInfoBody);
748
+ /**
749
+ * 프리스타일 쿠폰 적용 여부
750
+ */
751
+ get isFreestyleFlag(): boolean;
736
752
  }
737
753
  /**
738
754
  * 캐릭터 장비 아이템 상세 정보
@@ -886,5 +902,13 @@ export declare class CharacterItemEquipmentInfoDto extends base.CharacterItemEqu
886
902
  * 장비 유효 기간 만료 여부
887
903
  */
888
904
  isExpired: boolean | null;
905
+ /**
906
+ * 프리스타일 쿠폰 적용 여부 (0:미적용, 1:적용)
907
+ */
908
+ freestyleFlag: string | null;
889
909
  constructor(obj: CharacterItemEquipmentInfoBody);
910
+ /**
911
+ * 프리스타일 쿠폰 적용 여부
912
+ */
913
+ get isFreestyleFlag(): boolean;
890
914
  }
@@ -23,12 +23,14 @@ export type CharacterAndroidEquipmentHairBody = {
23
23
  base_color: string | null;
24
24
  mix_color: string | null;
25
25
  mix_rate: string;
26
+ freestyle_flag: string | null;
26
27
  };
27
28
  export type CharacterAndroidEquipmentFaceBody = {
28
29
  face_name: string | null;
29
30
  base_color: string | null;
30
31
  mix_color: string | null;
31
32
  mix_rate: string;
33
+ freestyle_flag: string | null;
32
34
  };
33
35
  export type CharacterAndroidEquipmentSkinBody = {
34
36
  skin_name: string;
@@ -62,6 +64,8 @@ export type CharacterAndroidCashItemEquipmentBody = {
62
64
  date_option_expire: string | null;
63
65
  cash_item_label: string | null;
64
66
  cash_item_coloring_prism: CharacterAndroidCashItemEquipmentColoringPrismBody | null;
67
+ android_item_gender: string;
68
+ freestyle_flag: string | null;
65
69
  };
66
70
  export type CharacterAndroidCashItemEquipmentOptionBody = {
67
71
  option_type: string;
@@ -14,12 +14,14 @@ export type CharacterBeautyEquipmentHairBody = {
14
14
  base_color: string;
15
15
  mix_color: string | null;
16
16
  mix_rate: string;
17
+ freestyle_flag: string | null;
17
18
  };
18
19
  export type CharacterBeautyEquipmentFaceBody = {
19
20
  face_name: string;
20
21
  base_color: string;
21
22
  mix_color: string | null;
22
23
  mix_rate: string;
24
+ freestyle_flag: string | null;
23
25
  };
24
26
  export type CharacterBeautyEquipmentSkinBody = {
25
27
  skin_name: string;
@@ -26,6 +26,7 @@ export type CharacterCashItemEquipmentPresetBody = {
26
26
  cash_item_coloring_prism: CharacterCashItemEquipmentColoringPrismBody | null;
27
27
  item_gender: string | null;
28
28
  skills: string[];
29
+ freestyle_flag: string | null;
29
30
  };
30
31
  export type CharacterCashItemEquipmentOptionBody = {
31
32
  option_type: string;
@@ -49,6 +49,7 @@ export type CharacterItemEquipmentInfoBody = {
49
49
  item_starforce_option: CharacterItemEquipmentStarforceOptionBody;
50
50
  special_ring_level: number;
51
51
  date_expire: string | null;
52
+ freestyle_flag: string | null;
52
53
  };
53
54
  export type CharacterItemEquipmentMechanicInfoBody = {
54
55
  item_equipment_part: string;
@@ -79,6 +80,7 @@ export type CharacterItemEquipmentMechanicInfoBody = {
79
80
  item_starforce_option: CharacterItemEquipmentOptionBody;
80
81
  special_ring_level: number;
81
82
  date_expire: string | null;
83
+ freestyle_flag: string | null;
82
84
  };
83
85
  export type CharacterItemEquipmentDragonInfoBody = CharacterItemEquipmentMechanicInfoBody;
84
86
  export type CharacterItemEquipmentOptionBody = {
@@ -291,5 +291,9 @@ export declare class CharacterAndroidCashItemEquipmentDto extends base.Character
291
291
  * Android cash item coloring prism information
292
292
  */
293
293
  cashItemColoringPrism: CharacterAndroidCashItemEquipmentColoringPrismDto | null;
294
+ /**
295
+ * Gender compatibility for item equipment
296
+ */
297
+ androidItemGender: string | null;
294
298
  constructor(obj: CharacterAndroidCashItemEquipmentBody);
295
299
  }
@@ -62,6 +62,7 @@ export type CharacterAndroidCashItemEquipmentBody = {
62
62
  date_option_expire: string | null;
63
63
  cash_item_label: string | null;
64
64
  cash_item_coloring_prism: CharacterAndroidCashItemEquipmentColoringPrismBody | null;
65
+ android_item_gender: string | null;
65
66
  };
66
67
  export type CharacterAndroidCashItemEquipmentOptionBody = {
67
68
  option_type: string;