maplestory-openapi 3.0.0 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/maplestory/api/common/dto/character/characterBasic.js +0 -3
- package/dist/cjs/maplestory/api/kms/dto/character/characterAndroidEquipment.js +41 -3
- package/dist/cjs/maplestory/api/kms/dto/character/characterBasic.js +4 -10
- package/dist/cjs/maplestory/api/kms/dto/character/characterBeautyEquipment.js +24 -2
- package/dist/cjs/maplestory/api/kms/dto/character/characterCashItemEquipment.js +12 -1
- package/dist/cjs/maplestory/api/kms/dto/character/characterItemEquipment.js +36 -3
- package/dist/cjs/maplestory/api/kms/dto/user/achievement.js +57 -0
- package/dist/cjs/maplestory/api/kms/dto/{character → user}/characterList.js +3 -8
- package/dist/cjs/maplestory/api/kms/kms.js +8 -4
- package/dist/cjs/maplestory/api/kms/mapleStoryApi.js +28 -13
- package/dist/cjs/maplestory/api/msea/dto/character/characterAndroidEquipment.js +6 -1
- package/dist/cjs/maplestory/api/msea/dto/character/characterBasic.js +1 -1
- package/dist/esm/maplestory/api/common/dto/character/characterBasic.js +0 -3
- package/dist/esm/maplestory/api/kms/dto/character/characterAndroidEquipment.js +41 -3
- package/dist/esm/maplestory/api/kms/dto/character/characterBasic.js +4 -10
- package/dist/esm/maplestory/api/kms/dto/character/characterBeautyEquipment.js +24 -2
- package/dist/esm/maplestory/api/kms/dto/character/characterCashItemEquipment.js +12 -1
- package/dist/esm/maplestory/api/kms/dto/character/characterItemEquipment.js +36 -3
- package/dist/esm/maplestory/api/kms/dto/user/achievement.js +51 -0
- package/dist/esm/maplestory/api/kms/dto/{character → user}/characterList.js +3 -8
- package/dist/esm/maplestory/api/kms/kms.js +2 -1
- package/dist/esm/maplestory/api/kms/mapleStoryApi.js +28 -13
- package/dist/esm/maplestory/api/msea/dto/character/characterAndroidEquipment.js +6 -1
- package/dist/esm/maplestory/api/msea/dto/character/characterBasic.js +1 -1
- package/dist/index.min.js +1 -1
- package/package.json +1 -1
- package/types/maplestory/api/common/dto/character/characterAndroidEquipment.d.ts +1 -0
- package/types/maplestory/api/common/dto/character/characterBasic.d.ts +0 -2
- package/types/maplestory/api/kms/dto/character/characterAndroidEquipment.d.ts +28 -0
- package/types/maplestory/api/kms/dto/character/characterBasic.d.ts +2 -6
- package/types/maplestory/api/kms/dto/character/characterBeautyEquipment.d.ts +16 -0
- package/types/maplestory/api/kms/dto/character/characterCashItemEquipment.d.ts +8 -0
- package/types/maplestory/api/kms/dto/character/characterItemEquipment.d.ts +24 -0
- package/types/maplestory/api/kms/dto/user/achievement.d.ts +39 -0
- package/types/maplestory/api/kms/dto/{character → user}/characterList.d.ts +4 -5
- package/types/maplestory/api/kms/index.d.ts +2 -1
- package/types/maplestory/api/kms/mapleStoryApi.d.ts +17 -8
- package/types/maplestory/api/kms/response/character/characterAndroidEquipmentBody.d.ts +4 -0
- package/types/maplestory/api/kms/response/character/characterBasicBody.d.ts +1 -1
- package/types/maplestory/api/kms/response/character/characterBeautyEquipmentBody.d.ts +2 -0
- package/types/maplestory/api/kms/response/character/characterCashItemEquipmentBody.d.ts +1 -0
- package/types/maplestory/api/kms/response/character/characterItemEquipmentBody.d.ts +2 -0
- package/types/maplestory/api/kms/response/user/achievementBody.d.ts +11 -0
- package/types/maplestory/api/msea/dto/character/characterAndroidEquipment.d.ts +4 -0
- package/types/maplestory/api/msea/response/character/characterAndroidEquipmentBody.d.ts +1 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterList.js +0 -14
- package/dist/esm/maplestory/api/common/dto/character/characterList.js +0 -8
- package/types/maplestory/api/common/dto/character/characterList.d.ts +0 -14
- /package/types/maplestory/api/kms/response/{character → user}/characterListBody.d.ts +0 -0
|
@@ -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 };
|
|
@@ -57,12 +57,12 @@ class CharacterBasicDto extends CharacterBasicDto$1 {
|
|
|
57
57
|
*/
|
|
58
58
|
accessFlag;
|
|
59
59
|
/**
|
|
60
|
-
* 해방 퀘스트 완료 여부
|
|
60
|
+
* 해방 퀘스트 완료 여부 (0:미완료, 1:제네시스 무기 해방, 2:데스티니 무기 1차 해방)
|
|
61
61
|
*/
|
|
62
|
-
|
|
62
|
+
liberationQuestClear;
|
|
63
63
|
constructor(obj) {
|
|
64
64
|
super();
|
|
65
|
-
const { date, character_name, world_name, character_gender, character_class, character_class_level, character_level, character_exp, character_exp_rate, character_guild_name, character_image, character_date_create, access_flag,
|
|
65
|
+
const { date, character_name, world_name, character_gender, character_class, character_class_level, character_level, character_exp, character_exp_rate, character_guild_name, character_image, character_date_create, access_flag, liberation_quest_clear, } = obj;
|
|
66
66
|
this.date = date ? new Date(date) : null;
|
|
67
67
|
this.characterName = character_name;
|
|
68
68
|
this.worldName = world_name;
|
|
@@ -76,7 +76,7 @@ class CharacterBasicDto extends CharacterBasicDto$1 {
|
|
|
76
76
|
this.characterImage = character_image;
|
|
77
77
|
this.characterDateCreate = new Date(character_date_create);
|
|
78
78
|
this.accessFlag = access_flag;
|
|
79
|
-
this.
|
|
79
|
+
this.liberationQuestClear = liberation_quest_clear;
|
|
80
80
|
}
|
|
81
81
|
/**
|
|
82
82
|
* 최근 7일간 접속 여부
|
|
@@ -84,12 +84,6 @@ class CharacterBasicDto extends CharacterBasicDto$1 {
|
|
|
84
84
|
get isAccessFlag() {
|
|
85
85
|
return super.isAccessFlag;
|
|
86
86
|
}
|
|
87
|
-
/**
|
|
88
|
-
* 해방 퀘스트 완료 여부
|
|
89
|
-
*/
|
|
90
|
-
get isLiberationQuestClearFlag() {
|
|
91
|
-
return super.isLiberationQuestClearFlag;
|
|
92
|
-
}
|
|
93
87
|
}
|
|
94
88
|
|
|
95
89
|
export { CharacterBasicDto };
|
|
@@ -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 };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 계정의 업적 목록
|
|
3
|
+
*/
|
|
4
|
+
class AchievementDto {
|
|
5
|
+
/**
|
|
6
|
+
* 메이플스토리 계정 목록
|
|
7
|
+
*/
|
|
8
|
+
accountList;
|
|
9
|
+
constructor(obj) {
|
|
10
|
+
const { account_list } = obj;
|
|
11
|
+
this.accountList = account_list.map((account) => new AchievementAccountListDto(account));
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* 메이플스토리 계정
|
|
16
|
+
*/
|
|
17
|
+
class AchievementAccountListDto {
|
|
18
|
+
/**
|
|
19
|
+
* 메이플스토리 계정 식별자
|
|
20
|
+
*/
|
|
21
|
+
accountId;
|
|
22
|
+
/**
|
|
23
|
+
* 달성 업적 정보
|
|
24
|
+
*/
|
|
25
|
+
achievementAchieve;
|
|
26
|
+
constructor(obj) {
|
|
27
|
+
const { account_id, achievement_achieve } = obj;
|
|
28
|
+
this.accountId = account_id;
|
|
29
|
+
this.achievementAchieve = achievement_achieve.map((achieve) => new AchievementAchieveDto(achieve));
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* 달성 업적 정보
|
|
34
|
+
*/
|
|
35
|
+
class AchievementAchieveDto {
|
|
36
|
+
/**
|
|
37
|
+
* 업적 명
|
|
38
|
+
*/
|
|
39
|
+
achievementName;
|
|
40
|
+
/**
|
|
41
|
+
* 업적 설명
|
|
42
|
+
*/
|
|
43
|
+
achievementDescription;
|
|
44
|
+
constructor(obj) {
|
|
45
|
+
const { achievement_name, achievement_description } = obj;
|
|
46
|
+
this.achievementName = achievement_name;
|
|
47
|
+
this.achievementDescription = achievement_description;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export { AchievementAccountListDto, AchievementAchieveDto, AchievementDto };
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import { CharacterListDto as CharacterListDto$1, CharacterListAccountCharacterDto as CharacterListAccountCharacterDto$1, CharacterListAccountDto as CharacterListAccountDto$1 } from '../../../common/dto/character/characterList.js';
|
|
2
|
-
|
|
3
1
|
/**
|
|
4
2
|
* 계정의 보유 캐릭터 목록
|
|
5
3
|
*/
|
|
6
|
-
class CharacterListDto
|
|
4
|
+
class CharacterListDto {
|
|
7
5
|
/**
|
|
8
6
|
* 메이플스토리 계정 목록
|
|
9
7
|
*/
|
|
10
8
|
accountList;
|
|
11
9
|
constructor(obj) {
|
|
12
|
-
super();
|
|
13
10
|
const { account_list } = obj;
|
|
14
11
|
this.accountList = account_list.map((account) => new CharacterListAccountDto(account));
|
|
15
12
|
}
|
|
@@ -17,7 +14,7 @@ class CharacterListDto extends CharacterListDto$1 {
|
|
|
17
14
|
/**
|
|
18
15
|
* 캐릭터 정보
|
|
19
16
|
*/
|
|
20
|
-
class CharacterListAccountCharacterDto
|
|
17
|
+
class CharacterListAccountCharacterDto {
|
|
21
18
|
/**
|
|
22
19
|
* 캐릭터 식별자
|
|
23
20
|
*/
|
|
@@ -39,7 +36,6 @@ class CharacterListAccountCharacterDto extends CharacterListAccountCharacterDto$
|
|
|
39
36
|
*/
|
|
40
37
|
characterLevel;
|
|
41
38
|
constructor(obj) {
|
|
42
|
-
super();
|
|
43
39
|
const { ocid, character_name, world_name, character_class, character_level, } = obj;
|
|
44
40
|
this.ocid = ocid;
|
|
45
41
|
this.characterName = character_name;
|
|
@@ -51,7 +47,7 @@ class CharacterListAccountCharacterDto extends CharacterListAccountCharacterDto$
|
|
|
51
47
|
/**
|
|
52
48
|
* 메이플스토리 계정
|
|
53
49
|
*/
|
|
54
|
-
class CharacterListAccountDto
|
|
50
|
+
class CharacterListAccountDto {
|
|
55
51
|
/**
|
|
56
52
|
* 메이플스토리 계정 식별자
|
|
57
53
|
*/
|
|
@@ -61,7 +57,6 @@ class CharacterListAccountDto extends CharacterListAccountDto$1 {
|
|
|
61
57
|
*/
|
|
62
58
|
characterList;
|
|
63
59
|
constructor(obj) {
|
|
64
|
-
super();
|
|
65
60
|
const { account_id, character_list } = obj;
|
|
66
61
|
this.accountId = account_id;
|
|
67
62
|
this.characterList = character_list.map((character) => new CharacterListAccountCharacterDto(character));
|
|
@@ -12,7 +12,6 @@ export { CharacterHyperStatDto, CharacterHyperStatPresetDto } from './dto/charac
|
|
|
12
12
|
export { CharacterImageDto } from './dto/character/characterImage.js';
|
|
13
13
|
export { CharacterItemEquipmentAddOptionDto, CharacterItemEquipmentBaseOptionDto, CharacterItemEquipmentDragonInfoDto, CharacterItemEquipmentDto, CharacterItemEquipmentEtcOptionDto, CharacterItemEquipmentExceptionalOptionDto, CharacterItemEquipmentInfoDto, CharacterItemEquipmentMechanicInfoDto, CharacterItemEquipmentMedalShapeDto, CharacterItemEquipmentStarforceOptionDto, CharacterItemEquipmentTitleDto, CharacterItemEquipmentTotalOptionDto } from './dto/character/characterItemEquipment.js';
|
|
14
14
|
export { CharacterLinkSkillDto, CharacterLinkSkillInfoDto } from './dto/character/characterLinkSkill.js';
|
|
15
|
-
export { CharacterListAccountCharacterDto, CharacterListAccountDto, CharacterListDto } from './dto/character/characterList.js';
|
|
16
15
|
export { CharacterPetEquipmentAutoSkillDto, CharacterPetEquipmentDto, CharacterPetEquipmentItemDto, CharacterPetEquipmentItemOptionDto } from './dto/character/characterPetEquipment.js';
|
|
17
16
|
export { CharacterPopularityDto } from './dto/character/characterPopularity.js';
|
|
18
17
|
export { CharacterPropensityDto } from './dto/character/characterPropensity.js';
|
|
@@ -44,4 +43,6 @@ export { UnionDto } from './dto/union/union.js';
|
|
|
44
43
|
export { UnionArtifactCrystalDto, UnionArtifactDto, UnionArtifactEffectDto } from './dto/union/unionArtifact.js';
|
|
45
44
|
export { UnionChampionBadgeInfoDto, UnionChampionDto, UnionChampionInfoDto } from './dto/union/unionChampion.js';
|
|
46
45
|
export { UnionRaiderBlockControlPointDto, UnionRaiderBlockDto, UnionRaiderBlockPositionDto, UnionRaiderDto, UnionRaiderInnerStatDto, UnionRaiderPresetDto } from './dto/union/unionRaider.js';
|
|
46
|
+
export { AchievementAccountListDto, AchievementAchieveDto, AchievementDto } from './dto/user/achievement.js';
|
|
47
|
+
export { CharacterListAccountCharacterDto, CharacterListAccountDto, CharacterListDto } from './dto/user/characterList.js';
|
|
47
48
|
export { InspectionInfoDto } from './dto/inspectionInfo.js';
|
|
@@ -14,7 +14,6 @@ import { CharacterHyperStatDto } from './dto/character/characterHyperStat.js';
|
|
|
14
14
|
import { CharacterImageDto } from './dto/character/characterImage.js';
|
|
15
15
|
import { CharacterItemEquipmentDto } from './dto/character/characterItemEquipment.js';
|
|
16
16
|
import { CharacterLinkSkillDto } from './dto/character/characterLinkSkill.js';
|
|
17
|
-
import { CharacterListDto } from './dto/character/characterList.js';
|
|
18
17
|
import { CharacterPetEquipmentDto } from './dto/character/characterPetEquipment.js';
|
|
19
18
|
import { CharacterPopularityDto } from './dto/character/characterPopularity.js';
|
|
20
19
|
import { CharacterPropensityDto } from './dto/character/characterPropensity.js';
|
|
@@ -47,6 +46,8 @@ import { UnionDto } from './dto/union/union.js';
|
|
|
47
46
|
import { UnionArtifactDto } from './dto/union/unionArtifact.js';
|
|
48
47
|
import { UnionChampionDto } from './dto/union/unionChampion.js';
|
|
49
48
|
import { UnionRaiderDto } from './dto/union/unionRaider.js';
|
|
49
|
+
import { AchievementDto } from './dto/user/achievement.js';
|
|
50
|
+
import { CharacterListDto } from './dto/user/characterList.js';
|
|
50
51
|
import { CharacterImageAction, CharacterImageEmotion, CharacterImageWeaponMotion } from '../common/enum/characterImage.js';
|
|
51
52
|
import { MapleStoryApi as MapleStoryApi$1 } from '../common/mapleStoryApi.js';
|
|
52
53
|
import { __exports as buffer } from '../../../_virtual/index.js_commonjs-exports.js';
|
|
@@ -61,6 +62,32 @@ class MapleStoryApi extends MapleStoryApi$1 {
|
|
|
61
62
|
constructor(apiKey) {
|
|
62
63
|
super(apiKey);
|
|
63
64
|
}
|
|
65
|
+
//#region 계정 정보 조회
|
|
66
|
+
/**
|
|
67
|
+
* 계정의 보유 캐릭터 목록을 조회합니다.
|
|
68
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
69
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
70
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
71
|
+
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
72
|
+
*/
|
|
73
|
+
async getCharacterList() {
|
|
74
|
+
const path = `${this.subUrl}/v1/character/list`;
|
|
75
|
+
const { data } = await this.client.get(path);
|
|
76
|
+
return new CharacterListDto(data);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* 계정의 업적 정보를 조회합니다.
|
|
80
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
81
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
82
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
83
|
+
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
84
|
+
*/
|
|
85
|
+
async getAchievement() {
|
|
86
|
+
const path = `${this.subUrl}/v1/user/achievement`;
|
|
87
|
+
const { data } = await this.client.get(path);
|
|
88
|
+
return new AchievementDto(data);
|
|
89
|
+
}
|
|
90
|
+
//#endregin
|
|
64
91
|
//#region 캐릭터 정보 조회
|
|
65
92
|
/**
|
|
66
93
|
* 캐릭터 식별자(ocid)를 조회합니다.
|
|
@@ -81,18 +108,6 @@ class MapleStoryApi extends MapleStoryApi$1 {
|
|
|
81
108
|
});
|
|
82
109
|
return new CharacterDto(data);
|
|
83
110
|
}
|
|
84
|
-
/**
|
|
85
|
-
* 계정의 보유 캐릭터 목록을 조회합니다.
|
|
86
|
-
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
87
|
-
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
88
|
-
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
89
|
-
* - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
|
|
90
|
-
*/
|
|
91
|
-
async getCharacterList() {
|
|
92
|
-
const path = `${this.subUrl}/v1/character/list`;
|
|
93
|
-
const { data } = await this.client.get(path);
|
|
94
|
-
return new CharacterListDto(data);
|
|
95
|
-
}
|
|
96
111
|
/**
|
|
97
112
|
* 기본 정보를 조회합니다.
|
|
98
113
|
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
@@ -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
|
}
|
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}},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
|
@@ -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
|
}
|
|
@@ -12,7 +12,5 @@ export declare abstract class CharacterBasicDto {
|
|
|
12
12
|
abstract characterImage: string;
|
|
13
13
|
abstract characterDateCreate: Date;
|
|
14
14
|
abstract accessFlag: 'true' | 'false';
|
|
15
|
-
abstract liberationQuestClearFlag: 'true' | 'false';
|
|
16
15
|
get isAccessFlag(): boolean;
|
|
17
|
-
get isLiberationQuestClearFlag(): boolean;
|
|
18
16
|
}
|