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 CHANGED
@@ -2555,11 +2555,19 @@ 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
  */
2562
- dateOptionExpire;
2566
+ dateOptionExpire = null;
2567
+ /**
2568
+ * 안드로이드 캐시 아이템 옵션 유효 기간 만료 여부
2569
+ */
2570
+ isOptionExpired = null;
2563
2571
  /**
2564
2572
  * 안드로이드 캐시 아이템 라벨 정보 (스페셜라벨, 레드라벨, 블랙라벨, 마스터라벨)
2565
2573
  */
@@ -2576,14 +2584,26 @@ class CharacterAndroidCashItemEquipmentDto {
2576
2584
  this.cashItemIcon = cash_item_icon;
2577
2585
  this.cashItemDescription = cash_item_description;
2578
2586
  this.cashItemOption = cash_item_option.map((option) => new CharacterAndroidCashItemEquipmentOptionDto(option));
2579
- this.dateExpire = date_expire ? new Date(date_expire) : null;
2580
- this.dateOptionExpire = date_option_expire
2581
- ? new Date(date_option_expire)
2582
- : null;
2583
2587
  this.cashItemLabel = cash_item_label;
2584
2588
  this.cashItemColoringPrism = cash_item_coloring_prism
2585
2589
  ? new CharacterAndroidCashItemEquipmentColoringPrismDto(cash_item_coloring_prism)
2586
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
+ }
2599
+ if (date_option_expire === 'expired') {
2600
+ this.isOptionExpired = true;
2601
+ }
2602
+ else if (typeof date_option_expire === 'string') {
2603
+ this.dateOptionExpire = date_option_expire
2604
+ ? new Date(date_option_expire)
2605
+ : null;
2606
+ }
2587
2607
  }
2588
2608
  }
2589
2609
 
@@ -3169,11 +3189,19 @@ class CharacterCashItemEquipmentPresetDto {
3169
3189
  /**
3170
3190
  * 캐시 장비 유효 기간 (KST)
3171
3191
  */
3172
- dateExpire;
3192
+ dateExpire = null;
3193
+ /**
3194
+ * 캐시 장비 유효 기간 만료 여부
3195
+ */
3196
+ isExpired = null;
3173
3197
  /**
3174
3198
  * 캐시 장비 옵션 유효 기간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
3175
3199
  */
3176
- dateOptionExpire;
3200
+ dateOptionExpire = null;
3201
+ /**
3202
+ * 캐시 장비 옵션 유효 기간 만료 여부
3203
+ */
3204
+ isOptionExpired = null;
3177
3205
  /**
3178
3206
  * 캐시 장비 라벨 정보
3179
3207
  */
@@ -3198,14 +3226,28 @@ class CharacterCashItemEquipmentPresetDto {
3198
3226
  this.cashItemIcon = cash_item_icon;
3199
3227
  this.cashItemDescription = cash_item_description;
3200
3228
  this.cashItemOption = cash_item_option.map((option) => new CharacterCashItemEquipmentOptionDto(option));
3201
- this.dateExpire = date_expire;
3202
- this.dateOptionExpire = date_option_expire;
3203
3229
  this.cashItemLabel = cash_item_label;
3204
3230
  this.cashItemColoringPrism = cash_item_coloring_prism
3205
3231
  ? new CharacterCashItemEquipmentColoringPrismDto(cash_item_coloring_prism)
3206
3232
  : null;
3207
3233
  this.itemGender = item_gender;
3208
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
+ }
3243
+ if (date_option_expire === 'expired') {
3244
+ this.isOptionExpired = true;
3245
+ }
3246
+ else if (typeof date_option_expire === 'string') {
3247
+ this.dateOptionExpire = date_option_expire
3248
+ ? new Date(date_option_expire)
3249
+ : null;
3250
+ }
3209
3251
  }
3210
3252
  }
3211
3253
 
@@ -3473,6 +3515,10 @@ class CharacterHexaMatrixStatDto {
3473
3515
  * HEXA 스탯 II 코어 정보
3474
3516
  */
3475
3517
  characterHexaStatCore2;
3518
+ /**
3519
+ * HEXA 스탯 III 코어 정보
3520
+ */
3521
+ characterHexaStatCore3;
3476
3522
  /**
3477
3523
  * 프리셋 HEXA 스탯 I 코어 정보
3478
3524
  */
@@ -3481,14 +3527,20 @@ class CharacterHexaMatrixStatDto {
3481
3527
  * 프리셋 HEXA 스탯 II 코어 정보
3482
3528
  */
3483
3529
  presetHexaStatCore2;
3530
+ /**
3531
+ * 프리셋 HEXA 스탯 III 코어 정보
3532
+ */
3533
+ presetHexaStatCore3;
3484
3534
  constructor(obj) {
3485
- 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;
3486
3536
  this.date = date ? new Date(date) : null;
3487
3537
  this.characterClass = character_class;
3488
3538
  this.characterHexaStatCore = character_hexa_stat_core.map((core) => new CharacterHexaMatrixStatCoreDto(core));
3489
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));
3490
3541
  this.presetHexaStatCore = preset_hexa_stat_core.map((core) => new CharacterHexaMatrixStatCoreDto(core));
3491
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));
3492
3544
  }
3493
3545
  }
3494
3546
 
@@ -4035,7 +4087,7 @@ class CharacterItemEquipmentExceptionalOptionDto {
4035
4087
  this.maxMp = max_mp;
4036
4088
  this.attackPower = attack_power;
4037
4089
  this.magicPower = magic_power;
4038
- this.exceptionalUpgrade = exceptional_upgrade;
4090
+ this.exceptionalUpgrade = exceptional_upgrade ?? 0;
4039
4091
  }
4040
4092
  }
4041
4093
 
@@ -4317,7 +4369,11 @@ class CharacterItemEquipmentDragonInfoDto {
4317
4369
  /**
4318
4370
  * 장비 유효 기간
4319
4371
  */
4320
- dateExpire;
4372
+ dateExpire = null;
4373
+ /**
4374
+ * 장비 유효 기간 만료 여부
4375
+ */
4376
+ isExpired = null;
4321
4377
  constructor(obj) {
4322
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;
4323
4379
  this.itemEquipmentPart = item_equipment_part;
@@ -4347,7 +4403,14 @@ class CharacterItemEquipmentDragonInfoDto {
4347
4403
  this.starforceScrollFlag = starforce_scroll_flag;
4348
4404
  this.itemStarforceOption = new CharacterItemEquipmentStarforceOptionDto(item_starforce_option);
4349
4405
  this.specialRingLevel = special_ring_level;
4350
- 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
+ }
4351
4414
  }
4352
4415
  }
4353
4416
 
@@ -4498,7 +4561,11 @@ class CharacterItemEquipmentInfoDto {
4498
4561
  /**
4499
4562
  * 장비 유효 기간
4500
4563
  */
4501
- dateExpire;
4564
+ dateExpire = null;
4565
+ /**
4566
+ * 장비 유효 기간 만료 여부
4567
+ */
4568
+ isExpired = null;
4502
4569
  constructor(obj) {
4503
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;
4504
4571
  this.itemEquipmentPart = item_equipment_part;
@@ -4536,7 +4603,14 @@ class CharacterItemEquipmentInfoDto {
4536
4603
  this.starforceScrollFlag = starforce_scroll_flag;
4537
4604
  this.itemStarforceOption = new CharacterItemEquipmentStarforceOptionDto(item_starforce_option);
4538
4605
  this.specialRingLevel = special_ring_level;
4539
- 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
+ }
4540
4614
  }
4541
4615
  }
4542
4616
 
@@ -4655,7 +4729,11 @@ class CharacterItemEquipmentMechanicInfoDto {
4655
4729
  /**
4656
4730
  * 장비 유효 기간
4657
4731
  */
4658
- dateExpire;
4732
+ dateExpire = null;
4733
+ /**
4734
+ * 장비 유효 기간 만료 여부
4735
+ */
4736
+ isExpired = null;
4659
4737
  constructor(obj) {
4660
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;
4661
4739
  this.itemEquipmentPart = item_equipment_part;
@@ -4685,7 +4763,14 @@ class CharacterItemEquipmentMechanicInfoDto {
4685
4763
  this.starforceScrollFlag = starforce_scroll_flag;
4686
4764
  this.itemStarforceOption = new CharacterItemEquipmentStarforceOptionDto(item_starforce_option);
4687
4765
  this.specialRingLevel = special_ring_level;
4688
- 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
+ }
4689
4774
  }
4690
4775
  }
4691
4776
 
@@ -4747,7 +4832,11 @@ class CharacterItemEquipmentTitleDto {
4747
4832
  /**
4748
4833
  * 칭호 유효 기간
4749
4834
  */
4750
- dateExpire;
4835
+ dateExpire = null;
4836
+ /**
4837
+ * 칭호 유효 기간 만료 여부
4838
+ */
4839
+ isExpired = null;
4751
4840
  /**
4752
4841
  * 칭호 옵션 유효 기간
4753
4842
  */
@@ -4773,10 +4862,17 @@ class CharacterItemEquipmentTitleDto {
4773
4862
  this.titleName = title_name;
4774
4863
  this.titleIcon = title_icon;
4775
4864
  this.titleDescription = title_description;
4776
- this.dateExpire = date_expire ? new Date(date_expire) : null;
4777
4865
  this.titleShapeName = title_shape_name;
4778
4866
  this.titleShapeIcon = title_shape_icon;
4779
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
+ }
4780
4876
  if (date_option_expire === 'expired') {
4781
4877
  this.isOptionExpired = true;
4782
4878
  }
@@ -5162,7 +5258,11 @@ class CharacterPetEquipmentDto {
5162
5258
  /**
5163
5259
  * 펫1 마법의 시간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
5164
5260
  */
5165
- pet1DateExpire;
5261
+ pet1DateExpire = null;
5262
+ /**
5263
+ * 펫1 마법의 시간 만료 여부
5264
+ */
5265
+ pet1Expired = null;
5166
5266
  /**
5167
5267
  * 펫1 외형
5168
5268
  */
@@ -5206,7 +5306,11 @@ class CharacterPetEquipmentDto {
5206
5306
  /**
5207
5307
  * 펫2 마법의 시간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
5208
5308
  */
5209
- pet2DateExpire;
5309
+ pet2DateExpire = null;
5310
+ /**
5311
+ * 펫2 마법의 시간 만료 여부
5312
+ */
5313
+ pet2Expired = null;
5210
5314
  /**
5211
5315
  * 펫2 외형
5212
5316
  */
@@ -5250,7 +5354,11 @@ class CharacterPetEquipmentDto {
5250
5354
  /**
5251
5355
  * 펫3 마법의 시간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
5252
5356
  */
5253
- pet3DateExpire;
5357
+ pet3DateExpire = null;
5358
+ /**
5359
+ * 펫3 마법의 시간 만료 여부
5360
+ */
5361
+ pet3Expired = null;
5254
5362
  /**
5255
5363
  * 펫3 외형
5256
5364
  */
@@ -5270,7 +5378,6 @@ class CharacterPetEquipmentDto {
5270
5378
  this.pet1AutoSkill = pet_1_auto_skill ? new CharacterPetEquipmentAutoSkillDto(pet_1_auto_skill) : null;
5271
5379
  this.pet1PetType = pet_1_pet_type;
5272
5380
  this.pet1Skill = pet_1_skill;
5273
- this.pet1DateExpire = pet_1_date_expire ? new Date(pet_1_date_expire) : null;
5274
5381
  this.pet1Appearance = pet_1_appearance;
5275
5382
  this.pet1AppearanceIcon = pet_1_appearance_icon;
5276
5383
  this.pet2Name = pet_2_name;
@@ -5281,7 +5388,6 @@ class CharacterPetEquipmentDto {
5281
5388
  this.pet2AutoSkill = pet_2_auto_skill ? new CharacterPetEquipmentAutoSkillDto(pet_2_auto_skill) : null;
5282
5389
  this.pet2PetType = pet_2_pet_type;
5283
5390
  this.pet2Skill = pet_2_skill;
5284
- this.pet2DateExpire = pet_2_date_expire ? new Date(pet_2_date_expire) : null;
5285
5391
  this.pet2Appearance = pet_2_appearance;
5286
5392
  this.pet2AppearanceIcon = pet_2_appearance_icon;
5287
5393
  this.pet3Name = pet_3_name;
@@ -5292,9 +5398,32 @@ class CharacterPetEquipmentDto {
5292
5398
  this.pet3AutoSkill = pet_3_auto_skill ? new CharacterPetEquipmentAutoSkillDto(pet_3_auto_skill) : null;
5293
5399
  this.pet3PetType = pet_3_pet_type;
5294
5400
  this.pet3Skill = pet_3_skill;
5295
- this.pet3DateExpire = pet_3_date_expire ? new Date(pet_3_date_expire) : null;
5296
5401
  this.pet3Appearance = pet_3_appearance;
5297
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
+ }
5298
5427
  }
5299
5428
  }
5300
5429
 
@@ -6192,6 +6321,10 @@ class StarforceEventDto {
6192
6321
  * 이벤트 성공 확률
6193
6322
  */
6194
6323
  successRate;
6324
+ /**
6325
+ * 이벤트 파괴 확률 감소율
6326
+ */
6327
+ destroyDecreaseRate;
6195
6328
  /**
6196
6329
  * 이벤트 비용 할인율
6197
6330
  */
@@ -6205,8 +6338,9 @@ class StarforceEventDto {
6205
6338
  */
6206
6339
  starforceEventRange;
6207
6340
  constructor(obj) {
6208
- 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;
6209
6342
  this.successRate = success_rate;
6343
+ this.destroyDecreaseRate = destroy_decrease_rate;
6210
6344
  this.costDiscountRate = cost_discount_rate;
6211
6345
  this.plusValue = plus_value;
6212
6346
  this.starforceEventRange = starforce_event_range;
@@ -6218,67 +6352,67 @@ class StarforceEventDto {
6218
6352
  */
6219
6353
  class StarforceHistoryDto {
6220
6354
  /**
6221
- *스타포스 히스토리 식별자
6355
+ * 스타포스 히스토리 식별자
6222
6356
  */
6223
6357
  id;
6224
6358
  /**
6225
- *강화 시도 결과
6359
+ * 강화 시도 결과
6226
6360
  */
6227
6361
  itemUpgradeResult;
6228
6362
  /**
6229
- *강화 시도 전 스타포스 수치
6363
+ * 강화 시도 전 스타포스 수치
6230
6364
  */
6231
6365
  beforeStarforceCount;
6232
6366
  /**
6233
- *강화 시도 후 스타포스 수치
6367
+ * 강화 시도 후 스타포스 수치
6234
6368
  */
6235
6369
  afterStarforceCount;
6236
6370
  /**
6237
- *스타 캐치
6371
+ * 스타 캐치
6238
6372
  */
6239
6373
  starCatchResult;
6240
6374
  /**
6241
- *슈페리얼 장비
6375
+ * 슈페리얼 장비
6242
6376
  */
6243
6377
  superiorItemFlag;
6244
6378
  /**
6245
- *파괴 방지
6379
+ * 파괴 방지
6246
6380
  */
6247
6381
  destroyDefence;
6248
6382
  /**
6249
- *찬스 타임
6383
+ * 찬스 타임
6250
6384
  */
6251
6385
  chanceTime;
6252
6386
  /**
6253
- *파괴 방지 필드 이벤트
6387
+ * 파괴 방지 필드 이벤트
6254
6388
  */
6255
6389
  eventFieldFlag;
6256
6390
  /**
6257
- *사용 주문서 명
6391
+ * 사용 주문서 명
6258
6392
  */
6259
6393
  upgradeItem;
6260
6394
  /**
6261
- *프로텍트 실드
6395
+ * 프로텍트 실드
6262
6396
  */
6263
6397
  protectShield;
6264
6398
  /**
6265
- *보너스 스탯 부여 아이템 여부
6399
+ * 보너스 스탯 부여 아이템 여부
6266
6400
  */
6267
6401
  bonusStatUpgrade;
6268
6402
  /**
6269
- *캐릭터
6403
+ * 캐릭터
6270
6404
  */
6271
6405
  characterName;
6272
6406
  /**
6273
- *월드
6407
+ * 월드
6274
6408
  */
6275
6409
  worldName;
6276
6410
  /**
6277
- *대상 장비 아이템 명
6411
+ * 대상 장비 아이템 명
6278
6412
  */
6279
6413
  targetItem;
6280
6414
  /**
6281
- *강화 일시 (KST)
6415
+ * 강화 일시 (KST)
6282
6416
  */
6283
6417
  dateCreate;
6284
6418
  /**
@@ -7121,9 +7255,13 @@ class UnionArtifactCrystalDto {
7121
7255
  */
7122
7256
  validityFlag;
7123
7257
  /**
7124
- * 능력치 유효 기간(KST)
7258
+ * 능력치 유효 기간 (KST)
7125
7259
  */
7126
- dateExpire;
7260
+ dateExpire = null;
7261
+ /**
7262
+ * 능력치 유효 기간 만료 여부
7263
+ */
7264
+ isExpired = null;
7127
7265
  /**
7128
7266
  * 아티팩트 크리스탈 등급
7129
7267
  */
@@ -7144,11 +7282,18 @@ class UnionArtifactCrystalDto {
7144
7282
  const { name, validity_flag, date_expire, level, crystal_option_name_1, crystal_option_name_2, crystal_option_name_3, } = obj;
7145
7283
  this.name = name;
7146
7284
  this.validityFlag = validity_flag;
7147
- this.dateExpire = new Date(date_expire);
7148
7285
  this.level = level;
7149
7286
  this.crystalOptionName1 = crystal_option_name_1;
7150
7287
  this.crystalOptionName2 = crystal_option_name_2;
7151
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
+ }
7152
7297
  }
7153
7298
  }
7154
7299