maplestory-openapi 2.4.0 → 2.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/README.md +51 -39
  2. package/dist/index.js +1459 -1153
  3. package/dist/index.min.js +1 -1
  4. package/dist/index.mjs +1442 -1153
  5. package/package.json +6 -4
  6. package/types/index.d.ts +18 -3
  7. package/types/maplestory/api/dto/character/characterAbilityDto.d.ts +1 -1
  8. package/types/maplestory/api/dto/character/characterAndroidEquipmentDto.d.ts +2 -2
  9. package/types/maplestory/api/dto/character/characterAndroidEquipmentPresetDto.d.ts +2 -2
  10. package/types/maplestory/api/dto/character/characterBasicDto.d.ts +21 -1
  11. package/types/maplestory/api/dto/character/characterBeautyEquipmentDto.d.ts +1 -1
  12. package/types/maplestory/api/dto/character/characterCashItemEquipmentDto.d.ts +1 -1
  13. package/types/maplestory/api/dto/character/characterDojangDto.d.ts +1 -1
  14. package/types/maplestory/api/dto/character/characterHexaMatrixDto.d.ts +1 -1
  15. package/types/maplestory/api/dto/character/characterHexaMatrixStatDto.d.ts +1 -1
  16. package/types/maplestory/api/dto/character/characterHyperStatDto.d.ts +1 -1
  17. package/types/maplestory/api/dto/character/characterItemEquipmentDto.d.ts +3 -3
  18. package/types/maplestory/api/dto/character/characterLinkSkillDto.d.ts +1 -1
  19. package/types/maplestory/api/dto/character/characterLinkSkillInfoDto.d.ts +4 -0
  20. package/types/maplestory/api/dto/character/characterListAccountCharacterDto.d.ts +28 -0
  21. package/types/maplestory/api/dto/character/characterListAccountDto.d.ts +17 -0
  22. package/types/maplestory/api/dto/character/characterListDto.d.ts +13 -0
  23. package/types/maplestory/api/dto/character/characterPetEquipmentDto.d.ts +1 -1
  24. package/types/maplestory/api/dto/character/characterPopularityDto.d.ts +1 -1
  25. package/types/maplestory/api/dto/character/characterPropensityDto.d.ts +1 -1
  26. package/types/maplestory/api/dto/character/characterSetEffectDto.d.ts +3 -3
  27. package/types/maplestory/api/dto/character/characterSetEffectInfoDto.d.ts +5 -10
  28. package/types/maplestory/api/dto/character/characterSetEffectOptionFullDto.d.ts +16 -0
  29. package/types/maplestory/api/dto/character/characterSetEffectSetDto.d.ts +26 -0
  30. package/types/maplestory/api/dto/character/characterSkillDto.d.ts +1 -1
  31. package/types/maplestory/api/dto/character/characterSkillInfoDto.d.ts +4 -0
  32. package/types/maplestory/api/dto/character/characterStatDto.d.ts +1 -1
  33. package/types/maplestory/api/dto/character/characterSymbolEquipmentDto.d.ts +1 -1
  34. package/types/maplestory/api/dto/character/characterVMatrixCoreEquipmentDto.d.ts +2 -2
  35. package/types/maplestory/api/dto/character/characterVMatrixDto.d.ts +1 -1
  36. package/types/maplestory/api/dto/guild/guildBasicDto.d.ts +1 -9
  37. package/types/maplestory/api/dto/history/cubeHistoryDto.d.ts +1 -1
  38. package/types/maplestory/api/dto/history/cubeResultOptionDto.d.ts +1 -1
  39. package/types/maplestory/api/dto/history/potentialHistoryDto.d.ts +2 -2
  40. package/types/maplestory/api/dto/history/potentialResultOptionDto.d.ts +1 -1
  41. package/types/maplestory/api/dto/history/starforceHistoryDto.d.ts +1 -1
  42. package/types/maplestory/api/dto/notice/cashshopNoticeDetailDto.d.ts +40 -0
  43. package/types/maplestory/api/dto/notice/cashshopNoticeListDto.d.ts +13 -0
  44. package/types/maplestory/api/dto/notice/cashshopNoticeListItemDto.d.ts +40 -0
  45. package/types/maplestory/api/dto/notice/eventNoticeDetailDto.d.ts +32 -0
  46. package/types/maplestory/api/dto/notice/eventNoticeListDto.d.ts +13 -0
  47. package/types/maplestory/api/dto/notice/eventNoticeListItemDto.d.ts +32 -0
  48. package/types/maplestory/api/dto/notice/noticeDetailDto.d.ts +24 -0
  49. package/types/maplestory/api/dto/notice/noticeListDto.d.ts +13 -0
  50. package/types/maplestory/api/dto/notice/noticeListItemDto.d.ts +24 -0
  51. package/types/maplestory/api/dto/notice/updateNoticeDetailDto.d.ts +24 -0
  52. package/types/maplestory/api/dto/notice/updateNoticeListDto.d.ts +13 -0
  53. package/types/maplestory/api/dto/notice/updateNoticeListItemDto.d.ts +24 -0
  54. package/types/maplestory/api/dto/union/unionArtifactDto.d.ts +1 -1
  55. package/types/maplestory/api/dto/union/unionDto.d.ts +13 -1
  56. package/types/maplestory/api/dto/union/unionRaiderDto.d.ts +26 -1
  57. package/types/maplestory/api/dto/union/unionRaiderPresetDto.d.ts +26 -0
  58. package/types/maplestory/api/mapleStoryApi.d.ts +133 -30
  59. package/types/maplestory/api/mapleStoryApiError.d.ts +4 -1
  60. package/types/maplestory/api/response/character/characterAbilityDtoBody.d.ts +1 -1
  61. package/types/maplestory/api/response/character/characterAndroidEquipmentDtoBody.d.ts +1 -1
  62. package/types/maplestory/api/response/character/characterBasicDtoBody.d.ts +4 -1
  63. package/types/maplestory/api/response/character/characterBeautyEquipmentDtoBody.d.ts +1 -1
  64. package/types/maplestory/api/response/character/characterCashItemEquipmentDtoBody.d.ts +1 -1
  65. package/types/maplestory/api/response/character/characterDojangDtoBody.d.ts +1 -1
  66. package/types/maplestory/api/response/character/characterHexaMatrixDtoBody.d.ts +1 -1
  67. package/types/maplestory/api/response/character/characterHexaMatrixStatDtoBody.d.ts +1 -1
  68. package/types/maplestory/api/response/character/characterHyperStatDtoBody.d.ts +1 -1
  69. package/types/maplestory/api/response/character/characterItemEquipmentDtoBody.d.ts +1 -1
  70. package/types/maplestory/api/response/character/characterLinkSkillDtoBody.d.ts +2 -1
  71. package/types/maplestory/api/response/character/characterListDtoBody.d.ts +15 -0
  72. package/types/maplestory/api/response/character/characterPetEquipmentDtoBody.d.ts +1 -1
  73. package/types/maplestory/api/response/character/characterPopularityDtoBody.d.ts +1 -1
  74. package/types/maplestory/api/response/character/characterPropensityDtoBody.d.ts +1 -1
  75. package/types/maplestory/api/response/character/characterSetEffectDtoBody.d.ts +11 -6
  76. package/types/maplestory/api/response/character/characterSkillDtoBody.d.ts +2 -1
  77. package/types/maplestory/api/response/character/characterStatDtoBody.d.ts +1 -1
  78. package/types/maplestory/api/response/character/characterSymbolEquipmentDtoBody.d.ts +1 -1
  79. package/types/maplestory/api/response/character/characterVMatrixDtoBody.d.ts +3 -3
  80. package/types/maplestory/api/response/guild/guildBasicDtoBody.d.ts +1 -3
  81. package/types/maplestory/api/response/history/cubeHistoryDtoBody.d.ts +1 -1
  82. package/types/maplestory/api/response/history/cubeHistoryResponseDtoBody.d.ts +1 -1
  83. package/types/maplestory/api/response/history/starforceHistoryDtoBody.d.ts +2 -2
  84. package/types/maplestory/api/response/history/starforceHistoryResponseDtoBody.d.ts +1 -1
  85. package/types/maplestory/api/response/notice/cashshopNoticeDetailDtoBody.d.ts +10 -0
  86. package/types/maplestory/api/response/notice/cashshopNoticeListDtoBody.d.ts +13 -0
  87. package/types/maplestory/api/response/notice/eventNoticeDetailDtoBody.d.ts +9 -0
  88. package/types/maplestory/api/response/notice/eventNoticeListDtoBody.d.ts +12 -0
  89. package/types/maplestory/api/response/notice/noticeDetailDtoBody.d.ts +7 -0
  90. package/types/maplestory/api/response/notice/noticeListDtoBody.d.ts +10 -0
  91. package/types/maplestory/api/response/notice/updateNoticeDetailDtoBody.d.ts +7 -0
  92. package/types/maplestory/api/response/notice/updateNoticeListDtoBody.d.ts +10 -0
  93. package/types/maplestory/api/response/ranking/theSeedRankingResponseDtoBody.d.ts +2 -3
  94. package/types/maplestory/api/response/union/unionArtifactDtoBody.d.ts +1 -1
  95. package/types/maplestory/api/response/union/unionDtoBody.d.ts +4 -1
  96. package/types/maplestory/api/response/union/unionRaiderDtoBody.d.ts +14 -2
  97. package/types/maplestory/api/dto/character/characterSetEffectOptionInfoDto.d.ts +0 -16
@@ -1,5 +1,5 @@
1
1
  type CharacterStatDtoBody = {
2
- date: string;
2
+ date: string | null;
3
3
  character_class: string;
4
4
  final_stat: {
5
5
  stat_name: string;
@@ -1,5 +1,5 @@
1
1
  type CharacterSymbolEquipmentDtoBody = {
2
- date: string;
2
+ date: string | null;
3
3
  character_class: string;
4
4
  symbol: CharacterSymbolEquipmentInfoDtoBody[];
5
5
  };
@@ -1,5 +1,5 @@
1
1
  type CharacterVMatrixDtoBody = {
2
- date: string;
2
+ date: string | null;
3
3
  character_class: string;
4
4
  character_v_core_equipment: CharacterVMatrixCoreEquipmentDtoBody[];
5
5
  character_v_matrix_remain_slot_upgrade_point: number;
@@ -7,8 +7,8 @@ type CharacterVMatrixDtoBody = {
7
7
  type CharacterVMatrixCoreEquipmentDtoBody = {
8
8
  slot_id: string;
9
9
  slot_level: number;
10
- v_core_name: string;
11
- v_core_type: string;
10
+ v_core_name: string | null;
11
+ v_core_type: string | null;
12
12
  v_core_level: number;
13
13
  v_core_skill_1: string;
14
14
  v_core_skill_2: string | null;
@@ -1,5 +1,5 @@
1
1
  type GuildBasicDtoBody = {
2
- date: string;
2
+ date: string | null;
3
3
  world_name: string;
4
4
  guild_name: string;
5
5
  guild_level: number;
@@ -10,8 +10,6 @@ type GuildBasicDtoBody = {
10
10
  guild_member: string[];
11
11
  guild_skill: GuildSkillDtoBody[];
12
12
  guild_noblesse_skill: GuildSkillDtoBody[];
13
- guild_mark: string | null;
14
- guild_mark_custom: string | null;
15
13
  };
16
14
  type GuildSkillDtoBody = {
17
15
  skill_name: string;
@@ -1,4 +1,4 @@
1
- import { CubeResultOptionDtoBody } from './cubeResultOptionDtoBody';
1
+ import { CubeResultOptionDtoBody } from '@src/maplestory/api/response/history/cubeResultOptionDtoBody';
2
2
  type CubeHistoryDtoBody = {
3
3
  id: string;
4
4
  character_name: string;
@@ -1,4 +1,4 @@
1
- import { CubeHistoryDtoBody } from './cubeHistoryDtoBody';
1
+ import { CubeHistoryDtoBody } from '@src/maplestory/api/response/history/cubeHistoryDtoBody';
2
2
  type CubeHistoryResponseDtoBody = {
3
3
  count: number;
4
4
  cube_history: CubeHistoryDtoBody[];
@@ -1,4 +1,4 @@
1
- import { StarforceEventDtoBody } from './starforceEventDtoBody';
1
+ import { StarforceEventDtoBody } from '@src/maplestory/api/response/history/starforceEventDtoBody';
2
2
  type StarforceHistoryDtoBody = {
3
3
  id: string;
4
4
  item_upgrade_result: string;
@@ -16,6 +16,6 @@ type StarforceHistoryDtoBody = {
16
16
  world_name: string;
17
17
  target_item: string;
18
18
  date_create: string;
19
- starforce_event_list: StarforceEventDtoBody[];
19
+ starforce_event_list: StarforceEventDtoBody[] | null;
20
20
  };
21
21
  export type { StarforceHistoryDtoBody };
@@ -1,4 +1,4 @@
1
- import { StarforceHistoryDtoBody } from './starforceHistoryDtoBody';
1
+ import { StarforceHistoryDtoBody } from '@src/maplestory/api/response/history/starforceHistoryDtoBody';
2
2
  type StarforceHistoryResponseDtoBody = {
3
3
  count: number;
4
4
  starforce_history: StarforceHistoryDtoBody[];
@@ -0,0 +1,10 @@
1
+ type CashshopNoticeDetailDtoBody = {
2
+ title: string;
3
+ url: string;
4
+ contents: string;
5
+ date: string;
6
+ date_sale_start: string | null;
7
+ date_sale_end: string | null;
8
+ ongoing_flag: string;
9
+ };
10
+ export type { CashshopNoticeDetailDtoBody };
@@ -0,0 +1,13 @@
1
+ type CashshopNoticeListDtoBody = {
2
+ cashshop_notice: CashshopNoticeListItemDtoBody[];
3
+ };
4
+ type CashshopNoticeListItemDtoBody = {
5
+ title: string;
6
+ url: string;
7
+ notice_id: number;
8
+ date: string;
9
+ date_sale_start: string | null;
10
+ date_sale_end: string | null;
11
+ ongoing_flag: string;
12
+ };
13
+ export type { CashshopNoticeListDtoBody, CashshopNoticeListItemDtoBody };
@@ -0,0 +1,9 @@
1
+ type EventNoticeDetailDtoBody = {
2
+ title: string;
3
+ url: string;
4
+ contents: string;
5
+ date: string;
6
+ date_event_start: string;
7
+ date_event_end: string;
8
+ };
9
+ export type { EventNoticeDetailDtoBody };
@@ -0,0 +1,12 @@
1
+ type EventNoticeListDtoBody = {
2
+ event_notice: EventNoticeListItemDtoBody[];
3
+ };
4
+ type EventNoticeListItemDtoBody = {
5
+ title: string;
6
+ url: string;
7
+ notice_id: number;
8
+ date: string;
9
+ date_event_start: string;
10
+ date_event_end: string;
11
+ };
12
+ export type { EventNoticeListDtoBody, EventNoticeListItemDtoBody };
@@ -0,0 +1,7 @@
1
+ type NoticeDetailDtoBody = {
2
+ title: string;
3
+ url: string;
4
+ contents: string;
5
+ date: string;
6
+ };
7
+ export type { NoticeDetailDtoBody };
@@ -0,0 +1,10 @@
1
+ type NoticeListDtoBody = {
2
+ notice: NoticeListItemDtoBody[];
3
+ };
4
+ type NoticeListItemDtoBody = {
5
+ title: string;
6
+ url: string;
7
+ notice_id: number;
8
+ date: string;
9
+ };
10
+ export type { NoticeListDtoBody, NoticeListItemDtoBody };
@@ -0,0 +1,7 @@
1
+ type UpdateNoticeDetailDtoBody = {
2
+ title: string;
3
+ url: string;
4
+ contents: string;
5
+ date: string;
6
+ };
7
+ export type { UpdateNoticeDetailDtoBody };
@@ -0,0 +1,10 @@
1
+ type UpdateNoticeListDtoBody = {
2
+ update_notice: UpdateNoticeListItemDtoBody[];
3
+ };
4
+ type UpdateNoticeListItemDtoBody = {
5
+ title: string;
6
+ url: string;
7
+ notice_id: number;
8
+ date: string;
9
+ };
10
+ export type { UpdateNoticeListDtoBody, UpdateNoticeListItemDtoBody };
@@ -1,6 +1,5 @@
1
- type TheSeedRankingResponseDtoBody = {
2
- ranking: TheSeedRankingDtoBody[];
3
- };
1
+ import { RankingResponseDtoBody } from './rankingResponseDtoBody';
2
+ type TheSeedRankingResponseDtoBody = RankingResponseDtoBody<TheSeedRankingDtoBody>;
4
3
  type TheSeedRankingDtoBody = {
5
4
  date: string;
6
5
  ranking: number;
@@ -1,5 +1,5 @@
1
1
  type UnionArtifactDtoBody = {
2
- date: string;
2
+ date: string | null;
3
3
  union_artifact_effect: UnionArtifactEffectDtoBody[];
4
4
  union_artifact_crystal: UnionArtifactCrystalDtoBody[];
5
5
  union_artifact_remain_ap: number | null;
@@ -1,6 +1,9 @@
1
1
  type UnionDtoBody = {
2
- date: string;
2
+ date: string | null;
3
3
  union_level: number;
4
4
  union_grade: string;
5
+ union_artifact_level: number | null;
6
+ union_artifact_exp: number | null;
7
+ union_artifact_point: number | null;
5
8
  };
6
9
  export type { UnionDtoBody };
@@ -1,9 +1,15 @@
1
1
  type UnionRaiderDtoBody = {
2
- date: string;
2
+ date: string | null;
3
3
  union_raider_stat: string[];
4
4
  union_occupied_stat: string[];
5
5
  union_inner_stat: UnionRaiderInnerStatDtoBody[];
6
6
  union_block: UnionRaiderBlockDtoBody[];
7
+ use_preset_no: number;
8
+ union_raider_preset_1: UnionRaiderPresetDtoBody | null;
9
+ union_raider_preset_2: UnionRaiderPresetDtoBody | null;
10
+ union_raider_preset_3: UnionRaiderPresetDtoBody | null;
11
+ union_raider_preset_4: UnionRaiderPresetDtoBody | null;
12
+ union_raider_preset_5: UnionRaiderPresetDtoBody | null;
7
13
  };
8
14
  type UnionRaiderInnerStatDtoBody = {
9
15
  stat_field_id: string;
@@ -24,4 +30,10 @@ type UnionRaiderBlockPositionDtoBody = {
24
30
  x: number;
25
31
  y: number;
26
32
  };
27
- export type { UnionRaiderDtoBody, UnionRaiderInnerStatDtoBody, UnionRaiderBlockDtoBody, UnionRaiderBlockControlPointDtoBody, UnionRaiderBlockPositionDtoBody, };
33
+ type UnionRaiderPresetDtoBody = {
34
+ union_raider_stat: string[];
35
+ union_occupied_stat: string[];
36
+ union_inner_stat: UnionRaiderInnerStatDtoBody[];
37
+ union_block: UnionRaiderBlockDtoBody[];
38
+ };
39
+ export type { UnionRaiderDtoBody, UnionRaiderInnerStatDtoBody, UnionRaiderBlockDtoBody, UnionRaiderBlockControlPointDtoBody, UnionRaiderBlockPositionDtoBody, UnionRaiderPresetDtoBody, };
@@ -1,16 +0,0 @@
1
- import { CharacterSetEffectOptionInfoDtoBody } from '../../response/character/characterSetEffectDtoBody';
2
- /**
3
- * 캐릭터 세트 효과 옵션 정보
4
- */
5
- declare class CharacterSetEffectOptionInfoDto {
6
- /**
7
- * 세트 효과 레벨 (장비 수)
8
- */
9
- setCount: number;
10
- /**
11
- * 적용 중인 세트 효과
12
- */
13
- setOption: string;
14
- constructor(obj: CharacterSetEffectOptionInfoDtoBody);
15
- }
16
- export { CharacterSetEffectOptionInfoDto };