maplestory-openapi 2.11.0 → 2.12.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/index.js +191 -46
- package/dist/index.min.js +1 -1
- package/dist/index.mjs +191 -46
- package/package.json +1 -1
- package/types/maplestory/api/dto/character/characterAndroidCashItemEquipmentDto.d.ts +8 -0
- package/types/maplestory/api/dto/character/characterCashItemEquipmentPresetDto.d.ts +10 -2
- package/types/maplestory/api/dto/character/characterHexaMatrixStatDto.d.ts +8 -0
- package/types/maplestory/api/dto/character/characterItemEquipmentDragonInfoDto.d.ts +4 -0
- package/types/maplestory/api/dto/character/characterItemEquipmentInfoDto.d.ts +4 -0
- package/types/maplestory/api/dto/character/characterItemEquipmentMechanicInfoDto.d.ts +4 -0
- package/types/maplestory/api/dto/character/characterItemEquipmentTitleDto.d.ts +7 -3
- package/types/maplestory/api/dto/character/characterPetEquipmentDto.d.ts +12 -0
- package/types/maplestory/api/dto/history/starforceEventDto.d.ts +4 -0
- package/types/maplestory/api/dto/history/starforceHistoryDto.d.ts +16 -16
- package/types/maplestory/api/dto/union/unionArtifactCrystalDto.d.ts +6 -2
- package/types/maplestory/api/response/character/characterHexaMatrixStatDtoBody.d.ts +2 -0
- package/types/maplestory/api/response/character/characterItemEquipmentDtoBody.d.ts +4 -4
- package/types/maplestory/api/response/history/starforceEventDtoBody.d.ts +1 -0
package/dist/index.mjs
CHANGED
|
@@ -2547,11 +2547,19 @@ class CharacterAndroidCashItemEquipmentDto {
|
|
|
2547
2547
|
/**
|
|
2548
2548
|
* 안드로이드 캐시 아이템 유효 기간 (KST)
|
|
2549
2549
|
*/
|
|
2550
|
-
dateExpire;
|
|
2550
|
+
dateExpire = null;
|
|
2551
|
+
/**
|
|
2552
|
+
* 안드로이드 캐시 아이템 유효 기간 만료 여부
|
|
2553
|
+
*/
|
|
2554
|
+
isExpired = null;
|
|
2551
2555
|
/**
|
|
2552
2556
|
* 안드로이드 캐시 아이템 옵션 유효 기간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
|
|
2553
2557
|
*/
|
|
2554
|
-
dateOptionExpire;
|
|
2558
|
+
dateOptionExpire = null;
|
|
2559
|
+
/**
|
|
2560
|
+
* 안드로이드 캐시 아이템 옵션 유효 기간 만료 여부
|
|
2561
|
+
*/
|
|
2562
|
+
isOptionExpired = null;
|
|
2555
2563
|
/**
|
|
2556
2564
|
* 안드로이드 캐시 아이템 라벨 정보 (스페셜라벨, 레드라벨, 블랙라벨, 마스터라벨)
|
|
2557
2565
|
*/
|
|
@@ -2568,14 +2576,26 @@ class CharacterAndroidCashItemEquipmentDto {
|
|
|
2568
2576
|
this.cashItemIcon = cash_item_icon;
|
|
2569
2577
|
this.cashItemDescription = cash_item_description;
|
|
2570
2578
|
this.cashItemOption = cash_item_option.map((option) => new CharacterAndroidCashItemEquipmentOptionDto(option));
|
|
2571
|
-
this.dateExpire = date_expire ? new Date(date_expire) : null;
|
|
2572
|
-
this.dateOptionExpire = date_option_expire
|
|
2573
|
-
? new Date(date_option_expire)
|
|
2574
|
-
: null;
|
|
2575
2579
|
this.cashItemLabel = cash_item_label;
|
|
2576
2580
|
this.cashItemColoringPrism = cash_item_coloring_prism
|
|
2577
2581
|
? new CharacterAndroidCashItemEquipmentColoringPrismDto(cash_item_coloring_prism)
|
|
2578
2582
|
: null;
|
|
2583
|
+
if (date_expire === 'expired') {
|
|
2584
|
+
this.isExpired = true;
|
|
2585
|
+
}
|
|
2586
|
+
else if (typeof date_expire === 'string') {
|
|
2587
|
+
this.dateExpire = date_expire
|
|
2588
|
+
? new Date(date_expire)
|
|
2589
|
+
: null;
|
|
2590
|
+
}
|
|
2591
|
+
if (date_option_expire === 'expired') {
|
|
2592
|
+
this.isOptionExpired = true;
|
|
2593
|
+
}
|
|
2594
|
+
else if (typeof date_option_expire === 'string') {
|
|
2595
|
+
this.dateOptionExpire = date_option_expire
|
|
2596
|
+
? new Date(date_option_expire)
|
|
2597
|
+
: null;
|
|
2598
|
+
}
|
|
2579
2599
|
}
|
|
2580
2600
|
}
|
|
2581
2601
|
|
|
@@ -3161,11 +3181,19 @@ class CharacterCashItemEquipmentPresetDto {
|
|
|
3161
3181
|
/**
|
|
3162
3182
|
* 캐시 장비 유효 기간 (KST)
|
|
3163
3183
|
*/
|
|
3164
|
-
dateExpire;
|
|
3184
|
+
dateExpire = null;
|
|
3185
|
+
/**
|
|
3186
|
+
* 캐시 장비 유효 기간 만료 여부
|
|
3187
|
+
*/
|
|
3188
|
+
isExpired = null;
|
|
3165
3189
|
/**
|
|
3166
3190
|
* 캐시 장비 옵션 유효 기간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
|
|
3167
3191
|
*/
|
|
3168
|
-
dateOptionExpire;
|
|
3192
|
+
dateOptionExpire = null;
|
|
3193
|
+
/**
|
|
3194
|
+
* 캐시 장비 옵션 유효 기간 만료 여부
|
|
3195
|
+
*/
|
|
3196
|
+
isOptionExpired = null;
|
|
3169
3197
|
/**
|
|
3170
3198
|
* 캐시 장비 라벨 정보
|
|
3171
3199
|
*/
|
|
@@ -3190,14 +3218,28 @@ class CharacterCashItemEquipmentPresetDto {
|
|
|
3190
3218
|
this.cashItemIcon = cash_item_icon;
|
|
3191
3219
|
this.cashItemDescription = cash_item_description;
|
|
3192
3220
|
this.cashItemOption = cash_item_option.map((option) => new CharacterCashItemEquipmentOptionDto(option));
|
|
3193
|
-
this.dateExpire = date_expire;
|
|
3194
|
-
this.dateOptionExpire = date_option_expire;
|
|
3195
3221
|
this.cashItemLabel = cash_item_label;
|
|
3196
3222
|
this.cashItemColoringPrism = cash_item_coloring_prism
|
|
3197
3223
|
? new CharacterCashItemEquipmentColoringPrismDto(cash_item_coloring_prism)
|
|
3198
3224
|
: null;
|
|
3199
3225
|
this.itemGender = item_gender;
|
|
3200
3226
|
this.skills = skills;
|
|
3227
|
+
if (date_expire === 'expired') {
|
|
3228
|
+
this.isExpired = true;
|
|
3229
|
+
}
|
|
3230
|
+
else if (typeof date_expire === 'string') {
|
|
3231
|
+
this.dateExpire = date_expire
|
|
3232
|
+
? new Date(date_expire)
|
|
3233
|
+
: null;
|
|
3234
|
+
}
|
|
3235
|
+
if (date_option_expire === 'expired') {
|
|
3236
|
+
this.isOptionExpired = true;
|
|
3237
|
+
}
|
|
3238
|
+
else if (typeof date_option_expire === 'string') {
|
|
3239
|
+
this.dateOptionExpire = date_option_expire
|
|
3240
|
+
? new Date(date_option_expire)
|
|
3241
|
+
: null;
|
|
3242
|
+
}
|
|
3201
3243
|
}
|
|
3202
3244
|
}
|
|
3203
3245
|
|
|
@@ -3465,6 +3507,10 @@ class CharacterHexaMatrixStatDto {
|
|
|
3465
3507
|
* HEXA 스탯 II 코어 정보
|
|
3466
3508
|
*/
|
|
3467
3509
|
characterHexaStatCore2;
|
|
3510
|
+
/**
|
|
3511
|
+
* HEXA 스탯 III 코어 정보
|
|
3512
|
+
*/
|
|
3513
|
+
characterHexaStatCore3;
|
|
3468
3514
|
/**
|
|
3469
3515
|
* 프리셋 HEXA 스탯 I 코어 정보
|
|
3470
3516
|
*/
|
|
@@ -3473,14 +3519,20 @@ class CharacterHexaMatrixStatDto {
|
|
|
3473
3519
|
* 프리셋 HEXA 스탯 II 코어 정보
|
|
3474
3520
|
*/
|
|
3475
3521
|
presetHexaStatCore2;
|
|
3522
|
+
/**
|
|
3523
|
+
* 프리셋 HEXA 스탯 III 코어 정보
|
|
3524
|
+
*/
|
|
3525
|
+
presetHexaStatCore3;
|
|
3476
3526
|
constructor(obj) {
|
|
3477
|
-
const { date, character_class, character_hexa_stat_core, character_hexa_stat_core_2, preset_hexa_stat_core, preset_hexa_stat_core_2, } = obj;
|
|
3527
|
+
const { date, character_class, character_hexa_stat_core, character_hexa_stat_core_2, character_hexa_stat_core_3, preset_hexa_stat_core, preset_hexa_stat_core_2, preset_hexa_stat_core_3, } = obj;
|
|
3478
3528
|
this.date = date ? new Date(date) : null;
|
|
3479
3529
|
this.characterClass = character_class;
|
|
3480
3530
|
this.characterHexaStatCore = character_hexa_stat_core.map((core) => new CharacterHexaMatrixStatCoreDto(core));
|
|
3481
3531
|
this.characterHexaStatCore2 = character_hexa_stat_core_2.map((core) => new CharacterHexaMatrixStatCoreDto(core));
|
|
3532
|
+
this.characterHexaStatCore3 = character_hexa_stat_core_3.map((core) => new CharacterHexaMatrixStatCoreDto(core));
|
|
3482
3533
|
this.presetHexaStatCore = preset_hexa_stat_core.map((core) => new CharacterHexaMatrixStatCoreDto(core));
|
|
3483
3534
|
this.presetHexaStatCore2 = preset_hexa_stat_core_2.map((core) => new CharacterHexaMatrixStatCoreDto(core));
|
|
3535
|
+
this.presetHexaStatCore3 = preset_hexa_stat_core_3.map((core) => new CharacterHexaMatrixStatCoreDto(core));
|
|
3484
3536
|
}
|
|
3485
3537
|
}
|
|
3486
3538
|
|
|
@@ -4027,7 +4079,7 @@ class CharacterItemEquipmentExceptionalOptionDto {
|
|
|
4027
4079
|
this.maxMp = max_mp;
|
|
4028
4080
|
this.attackPower = attack_power;
|
|
4029
4081
|
this.magicPower = magic_power;
|
|
4030
|
-
this.exceptionalUpgrade = exceptional_upgrade;
|
|
4082
|
+
this.exceptionalUpgrade = exceptional_upgrade ?? 0;
|
|
4031
4083
|
}
|
|
4032
4084
|
}
|
|
4033
4085
|
|
|
@@ -4309,7 +4361,11 @@ class CharacterItemEquipmentDragonInfoDto {
|
|
|
4309
4361
|
/**
|
|
4310
4362
|
* 장비 유효 기간
|
|
4311
4363
|
*/
|
|
4312
|
-
dateExpire;
|
|
4364
|
+
dateExpire = null;
|
|
4365
|
+
/**
|
|
4366
|
+
* 장비 유효 기간 만료 여부
|
|
4367
|
+
*/
|
|
4368
|
+
isExpired = null;
|
|
4313
4369
|
constructor(obj) {
|
|
4314
4370
|
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;
|
|
4315
4371
|
this.itemEquipmentPart = item_equipment_part;
|
|
@@ -4339,7 +4395,14 @@ class CharacterItemEquipmentDragonInfoDto {
|
|
|
4339
4395
|
this.starforceScrollFlag = starforce_scroll_flag;
|
|
4340
4396
|
this.itemStarforceOption = new CharacterItemEquipmentStarforceOptionDto(item_starforce_option);
|
|
4341
4397
|
this.specialRingLevel = special_ring_level;
|
|
4342
|
-
|
|
4398
|
+
if (date_expire === 'expired') {
|
|
4399
|
+
this.isExpired = true;
|
|
4400
|
+
}
|
|
4401
|
+
else if (typeof date_expire === 'string') {
|
|
4402
|
+
this.dateExpire = date_expire
|
|
4403
|
+
? new Date(date_expire)
|
|
4404
|
+
: null;
|
|
4405
|
+
}
|
|
4343
4406
|
}
|
|
4344
4407
|
}
|
|
4345
4408
|
|
|
@@ -4490,7 +4553,11 @@ class CharacterItemEquipmentInfoDto {
|
|
|
4490
4553
|
/**
|
|
4491
4554
|
* 장비 유효 기간
|
|
4492
4555
|
*/
|
|
4493
|
-
dateExpire;
|
|
4556
|
+
dateExpire = null;
|
|
4557
|
+
/**
|
|
4558
|
+
* 장비 유효 기간 만료 여부
|
|
4559
|
+
*/
|
|
4560
|
+
isExpired = null;
|
|
4494
4561
|
constructor(obj) {
|
|
4495
4562
|
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;
|
|
4496
4563
|
this.itemEquipmentPart = item_equipment_part;
|
|
@@ -4528,7 +4595,14 @@ class CharacterItemEquipmentInfoDto {
|
|
|
4528
4595
|
this.starforceScrollFlag = starforce_scroll_flag;
|
|
4529
4596
|
this.itemStarforceOption = new CharacterItemEquipmentStarforceOptionDto(item_starforce_option);
|
|
4530
4597
|
this.specialRingLevel = special_ring_level;
|
|
4531
|
-
|
|
4598
|
+
if (date_expire === 'expired') {
|
|
4599
|
+
this.isExpired = true;
|
|
4600
|
+
}
|
|
4601
|
+
else if (typeof date_expire === 'string') {
|
|
4602
|
+
this.dateExpire = date_expire
|
|
4603
|
+
? new Date(date_expire)
|
|
4604
|
+
: null;
|
|
4605
|
+
}
|
|
4532
4606
|
}
|
|
4533
4607
|
}
|
|
4534
4608
|
|
|
@@ -4647,7 +4721,11 @@ class CharacterItemEquipmentMechanicInfoDto {
|
|
|
4647
4721
|
/**
|
|
4648
4722
|
* 장비 유효 기간
|
|
4649
4723
|
*/
|
|
4650
|
-
dateExpire;
|
|
4724
|
+
dateExpire = null;
|
|
4725
|
+
/**
|
|
4726
|
+
* 장비 유효 기간 만료 여부
|
|
4727
|
+
*/
|
|
4728
|
+
isExpired = null;
|
|
4651
4729
|
constructor(obj) {
|
|
4652
4730
|
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;
|
|
4653
4731
|
this.itemEquipmentPart = item_equipment_part;
|
|
@@ -4677,7 +4755,14 @@ class CharacterItemEquipmentMechanicInfoDto {
|
|
|
4677
4755
|
this.starforceScrollFlag = starforce_scroll_flag;
|
|
4678
4756
|
this.itemStarforceOption = new CharacterItemEquipmentStarforceOptionDto(item_starforce_option);
|
|
4679
4757
|
this.specialRingLevel = special_ring_level;
|
|
4680
|
-
|
|
4758
|
+
if (date_expire === 'expired') {
|
|
4759
|
+
this.isExpired = true;
|
|
4760
|
+
}
|
|
4761
|
+
else if (typeof date_expire === 'string') {
|
|
4762
|
+
this.dateExpire = date_expire
|
|
4763
|
+
? new Date(date_expire)
|
|
4764
|
+
: null;
|
|
4765
|
+
}
|
|
4681
4766
|
}
|
|
4682
4767
|
}
|
|
4683
4768
|
|
|
@@ -4739,7 +4824,11 @@ class CharacterItemEquipmentTitleDto {
|
|
|
4739
4824
|
/**
|
|
4740
4825
|
* 칭호 유효 기간
|
|
4741
4826
|
*/
|
|
4742
|
-
dateExpire;
|
|
4827
|
+
dateExpire = null;
|
|
4828
|
+
/**
|
|
4829
|
+
* 칭호 유효 기간 만료 여부
|
|
4830
|
+
*/
|
|
4831
|
+
isExpired = null;
|
|
4743
4832
|
/**
|
|
4744
4833
|
* 칭호 옵션 유효 기간
|
|
4745
4834
|
*/
|
|
@@ -4765,10 +4854,17 @@ class CharacterItemEquipmentTitleDto {
|
|
|
4765
4854
|
this.titleName = title_name;
|
|
4766
4855
|
this.titleIcon = title_icon;
|
|
4767
4856
|
this.titleDescription = title_description;
|
|
4768
|
-
this.dateExpire = date_expire ? new Date(date_expire) : null;
|
|
4769
4857
|
this.titleShapeName = title_shape_name;
|
|
4770
4858
|
this.titleShapeIcon = title_shape_icon;
|
|
4771
4859
|
this.titleShapeDescription = title_shape_description;
|
|
4860
|
+
if (date_expire === 'expired') {
|
|
4861
|
+
this.isExpired = true;
|
|
4862
|
+
}
|
|
4863
|
+
else if (typeof date_expire === 'string') {
|
|
4864
|
+
this.dateExpire = date_expire
|
|
4865
|
+
? new Date(date_expire)
|
|
4866
|
+
: null;
|
|
4867
|
+
}
|
|
4772
4868
|
if (date_option_expire === 'expired') {
|
|
4773
4869
|
this.isOptionExpired = true;
|
|
4774
4870
|
}
|
|
@@ -5154,7 +5250,11 @@ class CharacterPetEquipmentDto {
|
|
|
5154
5250
|
/**
|
|
5155
5251
|
* 펫1 마법의 시간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
|
|
5156
5252
|
*/
|
|
5157
|
-
pet1DateExpire;
|
|
5253
|
+
pet1DateExpire = null;
|
|
5254
|
+
/**
|
|
5255
|
+
* 펫1 마법의 시간 만료 여부
|
|
5256
|
+
*/
|
|
5257
|
+
pet1Expired = null;
|
|
5158
5258
|
/**
|
|
5159
5259
|
* 펫1 외형
|
|
5160
5260
|
*/
|
|
@@ -5198,7 +5298,11 @@ class CharacterPetEquipmentDto {
|
|
|
5198
5298
|
/**
|
|
5199
5299
|
* 펫2 마법의 시간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
|
|
5200
5300
|
*/
|
|
5201
|
-
pet2DateExpire;
|
|
5301
|
+
pet2DateExpire = null;
|
|
5302
|
+
/**
|
|
5303
|
+
* 펫2 마법의 시간 만료 여부
|
|
5304
|
+
*/
|
|
5305
|
+
pet2Expired = null;
|
|
5202
5306
|
/**
|
|
5203
5307
|
* 펫2 외형
|
|
5204
5308
|
*/
|
|
@@ -5242,7 +5346,11 @@ class CharacterPetEquipmentDto {
|
|
|
5242
5346
|
/**
|
|
5243
5347
|
* 펫3 마법의 시간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
|
|
5244
5348
|
*/
|
|
5245
|
-
pet3DateExpire;
|
|
5349
|
+
pet3DateExpire = null;
|
|
5350
|
+
/**
|
|
5351
|
+
* 펫3 마법의 시간 만료 여부
|
|
5352
|
+
*/
|
|
5353
|
+
pet3Expired = null;
|
|
5246
5354
|
/**
|
|
5247
5355
|
* 펫3 외형
|
|
5248
5356
|
*/
|
|
@@ -5262,7 +5370,6 @@ class CharacterPetEquipmentDto {
|
|
|
5262
5370
|
this.pet1AutoSkill = pet_1_auto_skill ? new CharacterPetEquipmentAutoSkillDto(pet_1_auto_skill) : null;
|
|
5263
5371
|
this.pet1PetType = pet_1_pet_type;
|
|
5264
5372
|
this.pet1Skill = pet_1_skill;
|
|
5265
|
-
this.pet1DateExpire = pet_1_date_expire ? new Date(pet_1_date_expire) : null;
|
|
5266
5373
|
this.pet1Appearance = pet_1_appearance;
|
|
5267
5374
|
this.pet1AppearanceIcon = pet_1_appearance_icon;
|
|
5268
5375
|
this.pet2Name = pet_2_name;
|
|
@@ -5273,7 +5380,6 @@ class CharacterPetEquipmentDto {
|
|
|
5273
5380
|
this.pet2AutoSkill = pet_2_auto_skill ? new CharacterPetEquipmentAutoSkillDto(pet_2_auto_skill) : null;
|
|
5274
5381
|
this.pet2PetType = pet_2_pet_type;
|
|
5275
5382
|
this.pet2Skill = pet_2_skill;
|
|
5276
|
-
this.pet2DateExpire = pet_2_date_expire ? new Date(pet_2_date_expire) : null;
|
|
5277
5383
|
this.pet2Appearance = pet_2_appearance;
|
|
5278
5384
|
this.pet2AppearanceIcon = pet_2_appearance_icon;
|
|
5279
5385
|
this.pet3Name = pet_3_name;
|
|
@@ -5284,9 +5390,32 @@ class CharacterPetEquipmentDto {
|
|
|
5284
5390
|
this.pet3AutoSkill = pet_3_auto_skill ? new CharacterPetEquipmentAutoSkillDto(pet_3_auto_skill) : null;
|
|
5285
5391
|
this.pet3PetType = pet_3_pet_type;
|
|
5286
5392
|
this.pet3Skill = pet_3_skill;
|
|
5287
|
-
this.pet3DateExpire = pet_3_date_expire ? new Date(pet_3_date_expire) : null;
|
|
5288
5393
|
this.pet3Appearance = pet_3_appearance;
|
|
5289
5394
|
this.pet3AppearanceIcon = pet_3_appearance_icon;
|
|
5395
|
+
if (pet_1_date_expire === 'expired') {
|
|
5396
|
+
this.pet1Expired = true;
|
|
5397
|
+
}
|
|
5398
|
+
else if (typeof pet_1_date_expire === 'string') {
|
|
5399
|
+
this.pet1DateExpire = pet_1_date_expire
|
|
5400
|
+
? new Date(pet_1_date_expire)
|
|
5401
|
+
: null;
|
|
5402
|
+
}
|
|
5403
|
+
if (pet_2_date_expire === 'expired') {
|
|
5404
|
+
this.pet2Expired = true;
|
|
5405
|
+
}
|
|
5406
|
+
else if (typeof pet_2_date_expire === 'string') {
|
|
5407
|
+
this.pet2DateExpire = pet_2_date_expire
|
|
5408
|
+
? new Date(pet_2_date_expire)
|
|
5409
|
+
: null;
|
|
5410
|
+
}
|
|
5411
|
+
if (pet_3_date_expire === 'expired') {
|
|
5412
|
+
this.pet3Expired = true;
|
|
5413
|
+
}
|
|
5414
|
+
else if (typeof pet_3_date_expire === 'string') {
|
|
5415
|
+
this.pet3DateExpire = pet_3_date_expire
|
|
5416
|
+
? new Date(pet_3_date_expire)
|
|
5417
|
+
: null;
|
|
5418
|
+
}
|
|
5290
5419
|
}
|
|
5291
5420
|
}
|
|
5292
5421
|
|
|
@@ -6184,6 +6313,10 @@ class StarforceEventDto {
|
|
|
6184
6313
|
* 이벤트 성공 확률
|
|
6185
6314
|
*/
|
|
6186
6315
|
successRate;
|
|
6316
|
+
/**
|
|
6317
|
+
* 이벤트 파괴 확률 감소율
|
|
6318
|
+
*/
|
|
6319
|
+
destroyDecreaseRate;
|
|
6187
6320
|
/**
|
|
6188
6321
|
* 이벤트 비용 할인율
|
|
6189
6322
|
*/
|
|
@@ -6197,8 +6330,9 @@ class StarforceEventDto {
|
|
|
6197
6330
|
*/
|
|
6198
6331
|
starforceEventRange;
|
|
6199
6332
|
constructor(obj) {
|
|
6200
|
-
const { success_rate, cost_discount_rate, plus_value, starforce_event_range, } = obj;
|
|
6333
|
+
const { success_rate, destroy_decrease_rate, cost_discount_rate, plus_value, starforce_event_range, } = obj;
|
|
6201
6334
|
this.successRate = success_rate;
|
|
6335
|
+
this.destroyDecreaseRate = destroy_decrease_rate;
|
|
6202
6336
|
this.costDiscountRate = cost_discount_rate;
|
|
6203
6337
|
this.plusValue = plus_value;
|
|
6204
6338
|
this.starforceEventRange = starforce_event_range;
|
|
@@ -6210,67 +6344,67 @@ class StarforceEventDto {
|
|
|
6210
6344
|
*/
|
|
6211
6345
|
class StarforceHistoryDto {
|
|
6212
6346
|
/**
|
|
6213
|
-
|
|
6347
|
+
* 스타포스 히스토리 식별자
|
|
6214
6348
|
*/
|
|
6215
6349
|
id;
|
|
6216
6350
|
/**
|
|
6217
|
-
|
|
6351
|
+
* 강화 시도 결과
|
|
6218
6352
|
*/
|
|
6219
6353
|
itemUpgradeResult;
|
|
6220
6354
|
/**
|
|
6221
|
-
|
|
6355
|
+
* 강화 시도 전 스타포스 수치
|
|
6222
6356
|
*/
|
|
6223
6357
|
beforeStarforceCount;
|
|
6224
6358
|
/**
|
|
6225
|
-
|
|
6359
|
+
* 강화 시도 후 스타포스 수치
|
|
6226
6360
|
*/
|
|
6227
6361
|
afterStarforceCount;
|
|
6228
6362
|
/**
|
|
6229
|
-
|
|
6363
|
+
* 스타 캐치
|
|
6230
6364
|
*/
|
|
6231
6365
|
starCatchResult;
|
|
6232
6366
|
/**
|
|
6233
|
-
|
|
6367
|
+
* 슈페리얼 장비
|
|
6234
6368
|
*/
|
|
6235
6369
|
superiorItemFlag;
|
|
6236
6370
|
/**
|
|
6237
|
-
|
|
6371
|
+
* 파괴 방지
|
|
6238
6372
|
*/
|
|
6239
6373
|
destroyDefence;
|
|
6240
6374
|
/**
|
|
6241
|
-
|
|
6375
|
+
* 찬스 타임
|
|
6242
6376
|
*/
|
|
6243
6377
|
chanceTime;
|
|
6244
6378
|
/**
|
|
6245
|
-
|
|
6379
|
+
* 파괴 방지 필드 이벤트
|
|
6246
6380
|
*/
|
|
6247
6381
|
eventFieldFlag;
|
|
6248
6382
|
/**
|
|
6249
|
-
|
|
6383
|
+
* 사용 주문서 명
|
|
6250
6384
|
*/
|
|
6251
6385
|
upgradeItem;
|
|
6252
6386
|
/**
|
|
6253
|
-
|
|
6387
|
+
* 프로텍트 실드
|
|
6254
6388
|
*/
|
|
6255
6389
|
protectShield;
|
|
6256
6390
|
/**
|
|
6257
|
-
|
|
6391
|
+
* 보너스 스탯 부여 아이템 여부
|
|
6258
6392
|
*/
|
|
6259
6393
|
bonusStatUpgrade;
|
|
6260
6394
|
/**
|
|
6261
|
-
|
|
6395
|
+
* 캐릭터 명
|
|
6262
6396
|
*/
|
|
6263
6397
|
characterName;
|
|
6264
6398
|
/**
|
|
6265
|
-
|
|
6399
|
+
* 월드 명
|
|
6266
6400
|
*/
|
|
6267
6401
|
worldName;
|
|
6268
6402
|
/**
|
|
6269
|
-
|
|
6403
|
+
* 대상 장비 아이템 명
|
|
6270
6404
|
*/
|
|
6271
6405
|
targetItem;
|
|
6272
6406
|
/**
|
|
6273
|
-
|
|
6407
|
+
* 강화 일시 (KST)
|
|
6274
6408
|
*/
|
|
6275
6409
|
dateCreate;
|
|
6276
6410
|
/**
|
|
@@ -7113,9 +7247,13 @@ class UnionArtifactCrystalDto {
|
|
|
7113
7247
|
*/
|
|
7114
7248
|
validityFlag;
|
|
7115
7249
|
/**
|
|
7116
|
-
* 능력치 유효 기간(KST)
|
|
7250
|
+
* 능력치 유효 기간 (KST)
|
|
7117
7251
|
*/
|
|
7118
|
-
dateExpire;
|
|
7252
|
+
dateExpire = null;
|
|
7253
|
+
/**
|
|
7254
|
+
* 능력치 유효 기간 만료 여부
|
|
7255
|
+
*/
|
|
7256
|
+
isExpired = null;
|
|
7119
7257
|
/**
|
|
7120
7258
|
* 아티팩트 크리스탈 등급
|
|
7121
7259
|
*/
|
|
@@ -7136,11 +7274,18 @@ class UnionArtifactCrystalDto {
|
|
|
7136
7274
|
const { name, validity_flag, date_expire, level, crystal_option_name_1, crystal_option_name_2, crystal_option_name_3, } = obj;
|
|
7137
7275
|
this.name = name;
|
|
7138
7276
|
this.validityFlag = validity_flag;
|
|
7139
|
-
this.dateExpire = new Date(date_expire);
|
|
7140
7277
|
this.level = level;
|
|
7141
7278
|
this.crystalOptionName1 = crystal_option_name_1;
|
|
7142
7279
|
this.crystalOptionName2 = crystal_option_name_2;
|
|
7143
7280
|
this.crystalOptionName3 = crystal_option_name_3;
|
|
7281
|
+
if (date_expire === 'expired') {
|
|
7282
|
+
this.isExpired = true;
|
|
7283
|
+
}
|
|
7284
|
+
else if (typeof date_expire === 'string') {
|
|
7285
|
+
this.dateExpire = date_expire
|
|
7286
|
+
? new Date(date_expire)
|
|
7287
|
+
: null;
|
|
7288
|
+
}
|
|
7144
7289
|
}
|
|
7145
7290
|
}
|
|
7146
7291
|
|
package/package.json
CHANGED
|
@@ -33,10 +33,18 @@ declare class CharacterAndroidCashItemEquipmentDto {
|
|
|
33
33
|
* 안드로이드 캐시 아이템 유효 기간 (KST)
|
|
34
34
|
*/
|
|
35
35
|
dateExpire: Date | null;
|
|
36
|
+
/**
|
|
37
|
+
* 안드로이드 캐시 아이템 유효 기간 만료 여부
|
|
38
|
+
*/
|
|
39
|
+
isExpired: boolean | null;
|
|
36
40
|
/**
|
|
37
41
|
* 안드로이드 캐시 아이템 옵션 유효 기간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
|
|
38
42
|
*/
|
|
39
43
|
dateOptionExpire: Date | null;
|
|
44
|
+
/**
|
|
45
|
+
* 안드로이드 캐시 아이템 옵션 유효 기간 만료 여부
|
|
46
|
+
*/
|
|
47
|
+
isOptionExpired: boolean | null;
|
|
40
48
|
/**
|
|
41
49
|
* 안드로이드 캐시 아이템 라벨 정보 (스페셜라벨, 레드라벨, 블랙라벨, 마스터라벨)
|
|
42
50
|
*/
|
|
@@ -32,11 +32,19 @@ declare class CharacterCashItemEquipmentPresetDto {
|
|
|
32
32
|
/**
|
|
33
33
|
* 캐시 장비 유효 기간 (KST)
|
|
34
34
|
*/
|
|
35
|
-
dateExpire:
|
|
35
|
+
dateExpire: Date | null;
|
|
36
|
+
/**
|
|
37
|
+
* 캐시 장비 유효 기간 만료 여부
|
|
38
|
+
*/
|
|
39
|
+
isExpired: boolean | null;
|
|
36
40
|
/**
|
|
37
41
|
* 캐시 장비 옵션 유효 기간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
|
|
38
42
|
*/
|
|
39
|
-
dateOptionExpire:
|
|
43
|
+
dateOptionExpire: Date | null;
|
|
44
|
+
/**
|
|
45
|
+
* 캐시 장비 옵션 유효 기간 만료 여부
|
|
46
|
+
*/
|
|
47
|
+
isOptionExpired: boolean | null;
|
|
40
48
|
/**
|
|
41
49
|
* 캐시 장비 라벨 정보
|
|
42
50
|
*/
|
|
@@ -20,6 +20,10 @@ declare class CharacterHexaMatrixStatDto {
|
|
|
20
20
|
* HEXA 스탯 II 코어 정보
|
|
21
21
|
*/
|
|
22
22
|
characterHexaStatCore2: CharacterHexaMatrixStatCoreDto[];
|
|
23
|
+
/**
|
|
24
|
+
* HEXA 스탯 III 코어 정보
|
|
25
|
+
*/
|
|
26
|
+
characterHexaStatCore3: CharacterHexaMatrixStatCoreDto[];
|
|
23
27
|
/**
|
|
24
28
|
* 프리셋 HEXA 스탯 I 코어 정보
|
|
25
29
|
*/
|
|
@@ -28,6 +32,10 @@ declare class CharacterHexaMatrixStatDto {
|
|
|
28
32
|
* 프리셋 HEXA 스탯 II 코어 정보
|
|
29
33
|
*/
|
|
30
34
|
presetHexaStatCore2: CharacterHexaMatrixStatCoreDto[];
|
|
35
|
+
/**
|
|
36
|
+
* 프리셋 HEXA 스탯 III 코어 정보
|
|
37
|
+
*/
|
|
38
|
+
presetHexaStatCore3: CharacterHexaMatrixStatCoreDto[];
|
|
31
39
|
constructor(obj: CharacterHexaMatrixStatDtoBody);
|
|
32
40
|
}
|
|
33
41
|
export { CharacterHexaMatrixStatDto };
|
|
@@ -121,6 +121,10 @@ declare class CharacterItemEquipmentDragonInfoDto {
|
|
|
121
121
|
* 장비 유효 기간
|
|
122
122
|
*/
|
|
123
123
|
dateExpire: Date | null;
|
|
124
|
+
/**
|
|
125
|
+
* 장비 유효 기간 만료 여부
|
|
126
|
+
*/
|
|
127
|
+
isExpired: boolean | null;
|
|
124
128
|
constructor(obj: CharacterItemEquipmentInfoDtoBody);
|
|
125
129
|
}
|
|
126
130
|
export { CharacterItemEquipmentDragonInfoDto };
|
|
@@ -153,6 +153,10 @@ declare class CharacterItemEquipmentInfoDto {
|
|
|
153
153
|
* 장비 유효 기간
|
|
154
154
|
*/
|
|
155
155
|
dateExpire: Date | null;
|
|
156
|
+
/**
|
|
157
|
+
* 장비 유효 기간 만료 여부
|
|
158
|
+
*/
|
|
159
|
+
isExpired: boolean | null;
|
|
156
160
|
constructor(obj: CharacterItemEquipmentInfoDtoBody);
|
|
157
161
|
}
|
|
158
162
|
export { CharacterItemEquipmentInfoDto };
|
|
@@ -121,6 +121,10 @@ declare class CharacterItemEquipmentMechanicInfoDto {
|
|
|
121
121
|
* 장비 유효 기간
|
|
122
122
|
*/
|
|
123
123
|
dateExpire: Date | null;
|
|
124
|
+
/**
|
|
125
|
+
* 장비 유효 기간 만료 여부
|
|
126
|
+
*/
|
|
127
|
+
isExpired: boolean | null;
|
|
124
128
|
constructor(obj: CharacterItemEquipmentInfoDtoBody);
|
|
125
129
|
}
|
|
126
130
|
export { CharacterItemEquipmentMechanicInfoDto };
|
|
@@ -6,19 +6,23 @@ declare class CharacterItemEquipmentTitleDto {
|
|
|
6
6
|
/**
|
|
7
7
|
* 칭호 장비 명
|
|
8
8
|
*/
|
|
9
|
-
titleName: string;
|
|
9
|
+
titleName: string | null;
|
|
10
10
|
/**
|
|
11
11
|
* 칭호 아이콘
|
|
12
12
|
*/
|
|
13
|
-
titleIcon: string;
|
|
13
|
+
titleIcon: string | null;
|
|
14
14
|
/**
|
|
15
15
|
* 칭호 설명
|
|
16
16
|
*/
|
|
17
|
-
titleDescription: string;
|
|
17
|
+
titleDescription: string | null;
|
|
18
18
|
/**
|
|
19
19
|
* 칭호 유효 기간
|
|
20
20
|
*/
|
|
21
21
|
dateExpire: Date | null;
|
|
22
|
+
/**
|
|
23
|
+
* 칭호 유효 기간 만료 여부
|
|
24
|
+
*/
|
|
25
|
+
isExpired: boolean | null;
|
|
22
26
|
/**
|
|
23
27
|
* 칭호 옵션 유효 기간
|
|
24
28
|
*/
|
|
@@ -45,6 +45,10 @@ declare class CharacterPetEquipmentDto {
|
|
|
45
45
|
* 펫1 마법의 시간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
|
|
46
46
|
*/
|
|
47
47
|
pet1DateExpire: Date | null;
|
|
48
|
+
/**
|
|
49
|
+
* 펫1 마법의 시간 만료 여부
|
|
50
|
+
*/
|
|
51
|
+
pet1Expired: boolean | null;
|
|
48
52
|
/**
|
|
49
53
|
* 펫1 외형
|
|
50
54
|
*/
|
|
@@ -89,6 +93,10 @@ declare class CharacterPetEquipmentDto {
|
|
|
89
93
|
* 펫2 마법의 시간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
|
|
90
94
|
*/
|
|
91
95
|
pet2DateExpire: Date | null;
|
|
96
|
+
/**
|
|
97
|
+
* 펫2 마법의 시간 만료 여부
|
|
98
|
+
*/
|
|
99
|
+
pet2Expired: boolean | null;
|
|
92
100
|
/**
|
|
93
101
|
* 펫2 외형
|
|
94
102
|
*/
|
|
@@ -133,6 +141,10 @@ declare class CharacterPetEquipmentDto {
|
|
|
133
141
|
* 펫3 마법의 시간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
|
|
134
142
|
*/
|
|
135
143
|
pet3DateExpire: Date | null;
|
|
144
|
+
/**
|
|
145
|
+
* 펫3 마법의 시간 만료 여부
|
|
146
|
+
*/
|
|
147
|
+
pet3Expired: boolean | null;
|
|
136
148
|
/**
|
|
137
149
|
* 펫3 외형
|
|
138
150
|
*/
|