maplestory-openapi 2.11.1 → 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 CHANGED
@@ -2555,7 +2555,11 @@ class CharacterAndroidCashItemEquipmentDto {
2555
2555
  /**
2556
2556
  * 안드로이드 캐시 아이템 유효 기간 (KST)
2557
2557
  */
2558
- dateExpire;
2558
+ dateExpire = null;
2559
+ /**
2560
+ * 안드로이드 캐시 아이템 유효 기간 만료 여부
2561
+ */
2562
+ isExpired = null;
2559
2563
  /**
2560
2564
  * 안드로이드 캐시 아이템 옵션 유효 기간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
2561
2565
  */
@@ -2580,11 +2584,18 @@ class CharacterAndroidCashItemEquipmentDto {
2580
2584
  this.cashItemIcon = cash_item_icon;
2581
2585
  this.cashItemDescription = cash_item_description;
2582
2586
  this.cashItemOption = cash_item_option.map((option) => new CharacterAndroidCashItemEquipmentOptionDto(option));
2583
- this.dateExpire = date_expire ? new Date(date_expire) : null;
2584
2587
  this.cashItemLabel = cash_item_label;
2585
2588
  this.cashItemColoringPrism = cash_item_coloring_prism
2586
2589
  ? new CharacterAndroidCashItemEquipmentColoringPrismDto(cash_item_coloring_prism)
2587
2590
  : null;
2591
+ if (date_expire === 'expired') {
2592
+ this.isExpired = true;
2593
+ }
2594
+ else if (typeof date_expire === 'string') {
2595
+ this.dateExpire = date_expire
2596
+ ? new Date(date_expire)
2597
+ : null;
2598
+ }
2588
2599
  if (date_option_expire === 'expired') {
2589
2600
  this.isOptionExpired = true;
2590
2601
  }
@@ -3178,7 +3189,11 @@ class CharacterCashItemEquipmentPresetDto {
3178
3189
  /**
3179
3190
  * 캐시 장비 유효 기간 (KST)
3180
3191
  */
3181
- dateExpire;
3192
+ dateExpire = null;
3193
+ /**
3194
+ * 캐시 장비 유효 기간 만료 여부
3195
+ */
3196
+ isExpired = null;
3182
3197
  /**
3183
3198
  * 캐시 장비 옵션 유효 기간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
3184
3199
  */
@@ -3211,13 +3226,20 @@ class CharacterCashItemEquipmentPresetDto {
3211
3226
  this.cashItemIcon = cash_item_icon;
3212
3227
  this.cashItemDescription = cash_item_description;
3213
3228
  this.cashItemOption = cash_item_option.map((option) => new CharacterCashItemEquipmentOptionDto(option));
3214
- this.dateExpire = date_expire ? new Date(date_expire) : null;
3215
3229
  this.cashItemLabel = cash_item_label;
3216
3230
  this.cashItemColoringPrism = cash_item_coloring_prism
3217
3231
  ? new CharacterCashItemEquipmentColoringPrismDto(cash_item_coloring_prism)
3218
3232
  : null;
3219
3233
  this.itemGender = item_gender;
3220
3234
  this.skills = skills;
3235
+ if (date_expire === 'expired') {
3236
+ this.isExpired = true;
3237
+ }
3238
+ else if (typeof date_expire === 'string') {
3239
+ this.dateExpire = date_expire
3240
+ ? new Date(date_expire)
3241
+ : null;
3242
+ }
3221
3243
  if (date_option_expire === 'expired') {
3222
3244
  this.isOptionExpired = true;
3223
3245
  }
@@ -3493,6 +3515,10 @@ class CharacterHexaMatrixStatDto {
3493
3515
  * HEXA 스탯 II 코어 정보
3494
3516
  */
3495
3517
  characterHexaStatCore2;
3518
+ /**
3519
+ * HEXA 스탯 III 코어 정보
3520
+ */
3521
+ characterHexaStatCore3;
3496
3522
  /**
3497
3523
  * 프리셋 HEXA 스탯 I 코어 정보
3498
3524
  */
@@ -3501,14 +3527,20 @@ class CharacterHexaMatrixStatDto {
3501
3527
  * 프리셋 HEXA 스탯 II 코어 정보
3502
3528
  */
3503
3529
  presetHexaStatCore2;
3530
+ /**
3531
+ * 프리셋 HEXA 스탯 III 코어 정보
3532
+ */
3533
+ presetHexaStatCore3;
3504
3534
  constructor(obj) {
3505
- const { date, character_class, character_hexa_stat_core, character_hexa_stat_core_2, preset_hexa_stat_core, preset_hexa_stat_core_2, } = obj;
3535
+ 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;
3506
3536
  this.date = date ? new Date(date) : null;
3507
3537
  this.characterClass = character_class;
3508
3538
  this.characterHexaStatCore = character_hexa_stat_core.map((core) => new CharacterHexaMatrixStatCoreDto(core));
3509
3539
  this.characterHexaStatCore2 = character_hexa_stat_core_2.map((core) => new CharacterHexaMatrixStatCoreDto(core));
3540
+ this.characterHexaStatCore3 = character_hexa_stat_core_3.map((core) => new CharacterHexaMatrixStatCoreDto(core));
3510
3541
  this.presetHexaStatCore = preset_hexa_stat_core.map((core) => new CharacterHexaMatrixStatCoreDto(core));
3511
3542
  this.presetHexaStatCore2 = preset_hexa_stat_core_2.map((core) => new CharacterHexaMatrixStatCoreDto(core));
3543
+ this.presetHexaStatCore3 = preset_hexa_stat_core_3.map((core) => new CharacterHexaMatrixStatCoreDto(core));
3512
3544
  }
3513
3545
  }
3514
3546
 
@@ -4337,7 +4369,11 @@ class CharacterItemEquipmentDragonInfoDto {
4337
4369
  /**
4338
4370
  * 장비 유효 기간
4339
4371
  */
4340
- dateExpire;
4372
+ dateExpire = null;
4373
+ /**
4374
+ * 장비 유효 기간 만료 여부
4375
+ */
4376
+ isExpired = null;
4341
4377
  constructor(obj) {
4342
4378
  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;
4343
4379
  this.itemEquipmentPart = item_equipment_part;
@@ -4367,7 +4403,14 @@ class CharacterItemEquipmentDragonInfoDto {
4367
4403
  this.starforceScrollFlag = starforce_scroll_flag;
4368
4404
  this.itemStarforceOption = new CharacterItemEquipmentStarforceOptionDto(item_starforce_option);
4369
4405
  this.specialRingLevel = special_ring_level;
4370
- this.dateExpire = date_expire ? new Date(date_expire) : null;
4406
+ if (date_expire === 'expired') {
4407
+ this.isExpired = true;
4408
+ }
4409
+ else if (typeof date_expire === 'string') {
4410
+ this.dateExpire = date_expire
4411
+ ? new Date(date_expire)
4412
+ : null;
4413
+ }
4371
4414
  }
4372
4415
  }
4373
4416
 
@@ -4518,7 +4561,11 @@ class CharacterItemEquipmentInfoDto {
4518
4561
  /**
4519
4562
  * 장비 유효 기간
4520
4563
  */
4521
- dateExpire;
4564
+ dateExpire = null;
4565
+ /**
4566
+ * 장비 유효 기간 만료 여부
4567
+ */
4568
+ isExpired = null;
4522
4569
  constructor(obj) {
4523
4570
  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;
4524
4571
  this.itemEquipmentPart = item_equipment_part;
@@ -4556,7 +4603,14 @@ class CharacterItemEquipmentInfoDto {
4556
4603
  this.starforceScrollFlag = starforce_scroll_flag;
4557
4604
  this.itemStarforceOption = new CharacterItemEquipmentStarforceOptionDto(item_starforce_option);
4558
4605
  this.specialRingLevel = special_ring_level;
4559
- this.dateExpire = date_expire ? new Date(date_expire) : null;
4606
+ if (date_expire === 'expired') {
4607
+ this.isExpired = true;
4608
+ }
4609
+ else if (typeof date_expire === 'string') {
4610
+ this.dateExpire = date_expire
4611
+ ? new Date(date_expire)
4612
+ : null;
4613
+ }
4560
4614
  }
4561
4615
  }
4562
4616
 
@@ -4675,7 +4729,11 @@ class CharacterItemEquipmentMechanicInfoDto {
4675
4729
  /**
4676
4730
  * 장비 유효 기간
4677
4731
  */
4678
- dateExpire;
4732
+ dateExpire = null;
4733
+ /**
4734
+ * 장비 유효 기간 만료 여부
4735
+ */
4736
+ isExpired = null;
4679
4737
  constructor(obj) {
4680
4738
  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;
4681
4739
  this.itemEquipmentPart = item_equipment_part;
@@ -4705,7 +4763,14 @@ class CharacterItemEquipmentMechanicInfoDto {
4705
4763
  this.starforceScrollFlag = starforce_scroll_flag;
4706
4764
  this.itemStarforceOption = new CharacterItemEquipmentStarforceOptionDto(item_starforce_option);
4707
4765
  this.specialRingLevel = special_ring_level;
4708
- this.dateExpire = date_expire ? new Date(date_expire) : null;
4766
+ if (date_expire === 'expired') {
4767
+ this.isExpired = true;
4768
+ }
4769
+ else if (typeof date_expire === 'string') {
4770
+ this.dateExpire = date_expire
4771
+ ? new Date(date_expire)
4772
+ : null;
4773
+ }
4709
4774
  }
4710
4775
  }
4711
4776
 
@@ -4767,7 +4832,11 @@ class CharacterItemEquipmentTitleDto {
4767
4832
  /**
4768
4833
  * 칭호 유효 기간
4769
4834
  */
4770
- dateExpire;
4835
+ dateExpire = null;
4836
+ /**
4837
+ * 칭호 유효 기간 만료 여부
4838
+ */
4839
+ isExpired = null;
4771
4840
  /**
4772
4841
  * 칭호 옵션 유효 기간
4773
4842
  */
@@ -4793,10 +4862,17 @@ class CharacterItemEquipmentTitleDto {
4793
4862
  this.titleName = title_name;
4794
4863
  this.titleIcon = title_icon;
4795
4864
  this.titleDescription = title_description;
4796
- this.dateExpire = date_expire ? new Date(date_expire) : null;
4797
4865
  this.titleShapeName = title_shape_name;
4798
4866
  this.titleShapeIcon = title_shape_icon;
4799
4867
  this.titleShapeDescription = title_shape_description;
4868
+ if (date_expire === 'expired') {
4869
+ this.isExpired = true;
4870
+ }
4871
+ else if (typeof date_expire === 'string') {
4872
+ this.dateExpire = date_expire
4873
+ ? new Date(date_expire)
4874
+ : null;
4875
+ }
4800
4876
  if (date_option_expire === 'expired') {
4801
4877
  this.isOptionExpired = true;
4802
4878
  }
@@ -5182,7 +5258,11 @@ class CharacterPetEquipmentDto {
5182
5258
  /**
5183
5259
  * 펫1 마법의 시간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
5184
5260
  */
5185
- pet1DateExpire;
5261
+ pet1DateExpire = null;
5262
+ /**
5263
+ * 펫1 마법의 시간 만료 여부
5264
+ */
5265
+ pet1Expired = null;
5186
5266
  /**
5187
5267
  * 펫1 외형
5188
5268
  */
@@ -5226,7 +5306,11 @@ class CharacterPetEquipmentDto {
5226
5306
  /**
5227
5307
  * 펫2 마법의 시간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
5228
5308
  */
5229
- pet2DateExpire;
5309
+ pet2DateExpire = null;
5310
+ /**
5311
+ * 펫2 마법의 시간 만료 여부
5312
+ */
5313
+ pet2Expired = null;
5230
5314
  /**
5231
5315
  * 펫2 외형
5232
5316
  */
@@ -5270,7 +5354,11 @@ class CharacterPetEquipmentDto {
5270
5354
  /**
5271
5355
  * 펫3 마법의 시간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
5272
5356
  */
5273
- pet3DateExpire;
5357
+ pet3DateExpire = null;
5358
+ /**
5359
+ * 펫3 마법의 시간 만료 여부
5360
+ */
5361
+ pet3Expired = null;
5274
5362
  /**
5275
5363
  * 펫3 외형
5276
5364
  */
@@ -5290,7 +5378,6 @@ class CharacterPetEquipmentDto {
5290
5378
  this.pet1AutoSkill = pet_1_auto_skill ? new CharacterPetEquipmentAutoSkillDto(pet_1_auto_skill) : null;
5291
5379
  this.pet1PetType = pet_1_pet_type;
5292
5380
  this.pet1Skill = pet_1_skill;
5293
- this.pet1DateExpire = pet_1_date_expire ? new Date(pet_1_date_expire) : null;
5294
5381
  this.pet1Appearance = pet_1_appearance;
5295
5382
  this.pet1AppearanceIcon = pet_1_appearance_icon;
5296
5383
  this.pet2Name = pet_2_name;
@@ -5301,7 +5388,6 @@ class CharacterPetEquipmentDto {
5301
5388
  this.pet2AutoSkill = pet_2_auto_skill ? new CharacterPetEquipmentAutoSkillDto(pet_2_auto_skill) : null;
5302
5389
  this.pet2PetType = pet_2_pet_type;
5303
5390
  this.pet2Skill = pet_2_skill;
5304
- this.pet2DateExpire = pet_2_date_expire ? new Date(pet_2_date_expire) : null;
5305
5391
  this.pet2Appearance = pet_2_appearance;
5306
5392
  this.pet2AppearanceIcon = pet_2_appearance_icon;
5307
5393
  this.pet3Name = pet_3_name;
@@ -5312,9 +5398,32 @@ class CharacterPetEquipmentDto {
5312
5398
  this.pet3AutoSkill = pet_3_auto_skill ? new CharacterPetEquipmentAutoSkillDto(pet_3_auto_skill) : null;
5313
5399
  this.pet3PetType = pet_3_pet_type;
5314
5400
  this.pet3Skill = pet_3_skill;
5315
- this.pet3DateExpire = pet_3_date_expire ? new Date(pet_3_date_expire) : null;
5316
5401
  this.pet3Appearance = pet_3_appearance;
5317
5402
  this.pet3AppearanceIcon = pet_3_appearance_icon;
5403
+ if (pet_1_date_expire === 'expired') {
5404
+ this.pet1Expired = true;
5405
+ }
5406
+ else if (typeof pet_1_date_expire === 'string') {
5407
+ this.pet1DateExpire = pet_1_date_expire
5408
+ ? new Date(pet_1_date_expire)
5409
+ : null;
5410
+ }
5411
+ if (pet_2_date_expire === 'expired') {
5412
+ this.pet2Expired = true;
5413
+ }
5414
+ else if (typeof pet_2_date_expire === 'string') {
5415
+ this.pet2DateExpire = pet_2_date_expire
5416
+ ? new Date(pet_2_date_expire)
5417
+ : null;
5418
+ }
5419
+ if (pet_3_date_expire === 'expired') {
5420
+ this.pet3Expired = true;
5421
+ }
5422
+ else if (typeof pet_3_date_expire === 'string') {
5423
+ this.pet3DateExpire = pet_3_date_expire
5424
+ ? new Date(pet_3_date_expire)
5425
+ : null;
5426
+ }
5318
5427
  }
5319
5428
  }
5320
5429
 
@@ -6212,6 +6321,10 @@ class StarforceEventDto {
6212
6321
  * 이벤트 성공 확률
6213
6322
  */
6214
6323
  successRate;
6324
+ /**
6325
+ * 이벤트 파괴 확률 감소율
6326
+ */
6327
+ destroyDecreaseRate;
6215
6328
  /**
6216
6329
  * 이벤트 비용 할인율
6217
6330
  */
@@ -6225,8 +6338,9 @@ class StarforceEventDto {
6225
6338
  */
6226
6339
  starforceEventRange;
6227
6340
  constructor(obj) {
6228
- const { success_rate, cost_discount_rate, plus_value, starforce_event_range, } = obj;
6341
+ const { success_rate, destroy_decrease_rate, cost_discount_rate, plus_value, starforce_event_range, } = obj;
6229
6342
  this.successRate = success_rate;
6343
+ this.destroyDecreaseRate = destroy_decrease_rate;
6230
6344
  this.costDiscountRate = cost_discount_rate;
6231
6345
  this.plusValue = plus_value;
6232
6346
  this.starforceEventRange = starforce_event_range;
@@ -6238,67 +6352,67 @@ class StarforceEventDto {
6238
6352
  */
6239
6353
  class StarforceHistoryDto {
6240
6354
  /**
6241
- *스타포스 히스토리 식별자
6355
+ * 스타포스 히스토리 식별자
6242
6356
  */
6243
6357
  id;
6244
6358
  /**
6245
- *강화 시도 결과
6359
+ * 강화 시도 결과
6246
6360
  */
6247
6361
  itemUpgradeResult;
6248
6362
  /**
6249
- *강화 시도 전 스타포스 수치
6363
+ * 강화 시도 전 스타포스 수치
6250
6364
  */
6251
6365
  beforeStarforceCount;
6252
6366
  /**
6253
- *강화 시도 후 스타포스 수치
6367
+ * 강화 시도 후 스타포스 수치
6254
6368
  */
6255
6369
  afterStarforceCount;
6256
6370
  /**
6257
- *스타 캐치
6371
+ * 스타 캐치
6258
6372
  */
6259
6373
  starCatchResult;
6260
6374
  /**
6261
- *슈페리얼 장비
6375
+ * 슈페리얼 장비
6262
6376
  */
6263
6377
  superiorItemFlag;
6264
6378
  /**
6265
- *파괴 방지
6379
+ * 파괴 방지
6266
6380
  */
6267
6381
  destroyDefence;
6268
6382
  /**
6269
- *찬스 타임
6383
+ * 찬스 타임
6270
6384
  */
6271
6385
  chanceTime;
6272
6386
  /**
6273
- *파괴 방지 필드 이벤트
6387
+ * 파괴 방지 필드 이벤트
6274
6388
  */
6275
6389
  eventFieldFlag;
6276
6390
  /**
6277
- *사용 주문서 명
6391
+ * 사용 주문서 명
6278
6392
  */
6279
6393
  upgradeItem;
6280
6394
  /**
6281
- *프로텍트 실드
6395
+ * 프로텍트 실드
6282
6396
  */
6283
6397
  protectShield;
6284
6398
  /**
6285
- *보너스 스탯 부여 아이템 여부
6399
+ * 보너스 스탯 부여 아이템 여부
6286
6400
  */
6287
6401
  bonusStatUpgrade;
6288
6402
  /**
6289
- *캐릭터
6403
+ * 캐릭터
6290
6404
  */
6291
6405
  characterName;
6292
6406
  /**
6293
- *월드
6407
+ * 월드
6294
6408
  */
6295
6409
  worldName;
6296
6410
  /**
6297
- *대상 장비 아이템 명
6411
+ * 대상 장비 아이템 명
6298
6412
  */
6299
6413
  targetItem;
6300
6414
  /**
6301
- *강화 일시 (KST)
6415
+ * 강화 일시 (KST)
6302
6416
  */
6303
6417
  dateCreate;
6304
6418
  /**
@@ -7141,9 +7255,13 @@ class UnionArtifactCrystalDto {
7141
7255
  */
7142
7256
  validityFlag;
7143
7257
  /**
7144
- * 능력치 유효 기간(KST)
7258
+ * 능력치 유효 기간 (KST)
7259
+ */
7260
+ dateExpire = null;
7261
+ /**
7262
+ * 능력치 유효 기간 만료 여부
7145
7263
  */
7146
- dateExpire;
7264
+ isExpired = null;
7147
7265
  /**
7148
7266
  * 아티팩트 크리스탈 등급
7149
7267
  */
@@ -7164,11 +7282,18 @@ class UnionArtifactCrystalDto {
7164
7282
  const { name, validity_flag, date_expire, level, crystal_option_name_1, crystal_option_name_2, crystal_option_name_3, } = obj;
7165
7283
  this.name = name;
7166
7284
  this.validityFlag = validity_flag;
7167
- this.dateExpire = new Date(date_expire);
7168
7285
  this.level = level;
7169
7286
  this.crystalOptionName1 = crystal_option_name_1;
7170
7287
  this.crystalOptionName2 = crystal_option_name_2;
7171
7288
  this.crystalOptionName3 = crystal_option_name_3;
7289
+ if (date_expire === 'expired') {
7290
+ this.isExpired = true;
7291
+ }
7292
+ else if (typeof date_expire === 'string') {
7293
+ this.dateExpire = date_expire
7294
+ ? new Date(date_expire)
7295
+ : null;
7296
+ }
7172
7297
  }
7173
7298
  }
7174
7299