maplestory-openapi 2.4.0 → 2.4.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.
- package/README.md +11 -9
- package/dist/index.js +502 -876
- package/dist/index.min.js +1 -1
- package/dist/index.mjs +502 -876
- package/package.json +1 -1
- package/types/maplestory/api/dto/character/characterAndroidEquipmentDto.d.ts +1 -1
- package/types/maplestory/api/dto/character/characterAndroidEquipmentPresetDto.d.ts +2 -2
- package/types/maplestory/api/dto/character/characterItemEquipmentDto.d.ts +2 -2
- package/types/maplestory/api/dto/history/cubeHistoryDto.d.ts +1 -1
- package/types/maplestory/api/dto/history/cubeResultOptionDto.d.ts +1 -1
- package/types/maplestory/api/dto/history/potentialHistoryDto.d.ts +2 -2
- package/types/maplestory/api/dto/history/potentialResultOptionDto.d.ts +1 -1
- package/types/maplestory/api/dto/union/unionDto.d.ts +12 -0
- package/types/maplestory/api/mapleStoryApi.d.ts +7 -5
- package/types/maplestory/api/mapleStoryApiError.d.ts +3 -1
- package/types/maplestory/api/response/union/unionDtoBody.d.ts +3 -0
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { CharacterAndroidCashItemEquipmentDto } from './characterAndroidCashItemEquipmentDto';
|
|
2
2
|
import { CharacterAndroidEquipmentFaceDto } from './characterAndroidEquipmentFaceDto';
|
|
3
3
|
import { CharacterAndroidEquipmentHairDto } from './characterAndroidEquipmentHairDto';
|
|
4
|
-
import { CharacterAndroidEquipmentDtoBody } from '../../response/character/characterAndroidEquipmentDtoBody';
|
|
5
4
|
import { CharacterAndroidEquipmentPresetDto } from './characterAndroidEquipmentPresetDto';
|
|
5
|
+
import { CharacterAndroidEquipmentDtoBody } from '../../response/character/characterAndroidEquipmentDtoBody';
|
|
6
6
|
/**
|
|
7
7
|
* 캐릭터 안드로이드 장비 정보
|
|
8
8
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CharacterAndroidEquipmentPresetDtoBody } from '../../response/character/characterAndroidEquipmentDtoBody';
|
|
2
|
-
import { CharacterAndroidEquipmentHairDto } from './characterAndroidEquipmentHairDto';
|
|
3
1
|
import { CharacterAndroidEquipmentFaceDto } from './characterAndroidEquipmentFaceDto';
|
|
2
|
+
import { CharacterAndroidEquipmentHairDto } from './characterAndroidEquipmentHairDto';
|
|
3
|
+
import { CharacterAndroidEquipmentPresetDtoBody } from '../../response/character/characterAndroidEquipmentDtoBody';
|
|
4
4
|
/**
|
|
5
5
|
* 캐릭터 안드로이드 프리셋 정보
|
|
6
6
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { CharacterItemEquipmentDragonInfoDto } from './characterItemEquipmentDragonInfoDto';
|
|
1
2
|
import { CharacterItemEquipmentInfoDto } from './characterItemEquipmentInfoDto';
|
|
3
|
+
import { CharacterItemEquipmentMechanicInfoDto } from './characterItemEquipmentMechanicInfoDto';
|
|
2
4
|
import { CharacterItemEquipmentTitleDto } from './characterItemEquipmentTitleDto';
|
|
3
5
|
import { CharacterItemEquipmentDtoBody } from '../../response/character/characterItemEquipmentDtoBody';
|
|
4
|
-
import { CharacterItemEquipmentDragonInfoDto } from './characterItemEquipmentDragonInfoDto';
|
|
5
|
-
import { CharacterItemEquipmentMechanicInfoDto } from './characterItemEquipmentMechanicInfoDto';
|
|
6
6
|
/**
|
|
7
7
|
* 캐릭터 장비 아이템 정보
|
|
8
8
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CubeResultOptionDto } from './cubeResultOptionDto';
|
|
2
|
-
import { PotentialOptionGrade } from '../potentialOptionGrade';
|
|
3
2
|
import { CubeHistoryDtoBody } from '../../response/history/cubeHistoryDtoBody';
|
|
3
|
+
import { PotentialOptionGrade } from '../potentialOptionGrade';
|
|
4
4
|
/**
|
|
5
5
|
* 큐브 히스토리
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PotentialOptionGrade } from '../potentialOptionGrade';
|
|
2
|
-
import { PotentialHistoryDtoBody } from '../../response/history/potentialHistoryResponseDtoBody';
|
|
3
1
|
import { PotentialResultOptionDto } from './potentialResultOptionDto';
|
|
2
|
+
import { PotentialHistoryDtoBody } from '../../response/history/potentialHistoryResponseDtoBody';
|
|
3
|
+
import { PotentialOptionGrade } from '../potentialOptionGrade';
|
|
4
4
|
/**
|
|
5
5
|
* 잠재능력 재설정 히스토리
|
|
6
6
|
*/
|
|
@@ -15,6 +15,18 @@ declare class UnionDto {
|
|
|
15
15
|
* 유니온 등급
|
|
16
16
|
*/
|
|
17
17
|
unionGrade: string;
|
|
18
|
+
/**
|
|
19
|
+
* 아티팩트 레벨
|
|
20
|
+
*/
|
|
21
|
+
unionArtifactLevel: number | null;
|
|
22
|
+
/**
|
|
23
|
+
* 보유 아티팩트 경험치
|
|
24
|
+
*/
|
|
25
|
+
unionArtifactExp: number | null;
|
|
26
|
+
/**
|
|
27
|
+
* 보유 아티팩트 포인트
|
|
28
|
+
*/
|
|
29
|
+
unionArtifactPoint: number | null;
|
|
18
30
|
constructor(obj: UnionDtoBody);
|
|
19
31
|
}
|
|
20
32
|
export { UnionDto };
|
|
@@ -21,6 +21,7 @@ import { CharacterVMatrixDto } from './dto/character/characterVMatrixDto';
|
|
|
21
21
|
import { GuildBasicDto } from './dto/guild/guildBasicDto';
|
|
22
22
|
import { GuildDto } from './dto/guild/guildDto';
|
|
23
23
|
import { CubeHistoryResponseDto } from './dto/history/cubeHistoryResponseDto';
|
|
24
|
+
import { PotentialHistoryResponseDto } from './dto/history/potentialHistoryResponseDto';
|
|
24
25
|
import { StarforceHistoryResponseDto } from './dto/history/starforceHistoryResponseDto';
|
|
25
26
|
import { InspectionInfoDto } from './dto/inspectionInfoDto';
|
|
26
27
|
import { AchievementRankingResponseDto } from './dto/ranking/achievementRankingResponseDto';
|
|
@@ -32,16 +33,18 @@ import { UnionRankingResponseDto } from './dto/ranking/unionRankingResponseDto';
|
|
|
32
33
|
import { UnionArtifactDto } from './dto/union/unionArtifactDto';
|
|
33
34
|
import { UnionDto } from './dto/union/unionDto';
|
|
34
35
|
import { UnionRaiderDto } from './dto/union/unionRaiderDto';
|
|
35
|
-
import { PotentialHistoryResponseDto } from './dto/history/potentialHistoryResponseDto';
|
|
36
36
|
/**
|
|
37
37
|
* MapleStory OpenAPI client.<br>
|
|
38
38
|
* This is an implementation of <a href="https://openapi.nexon.com/game/maplestory">MapleStory API</a>
|
|
39
39
|
*/
|
|
40
40
|
declare class MapleStoryApi {
|
|
41
41
|
private readonly apiKey;
|
|
42
|
-
private
|
|
43
|
-
private static
|
|
44
|
-
|
|
42
|
+
private readonly client;
|
|
43
|
+
private static readonly BASE_URL;
|
|
44
|
+
private static readonly DEFAULT_TIMEOUT;
|
|
45
|
+
private static readonly kstOffset;
|
|
46
|
+
get timeout(): number;
|
|
47
|
+
set timeout(value: number);
|
|
45
48
|
constructor(apiKey: string);
|
|
46
49
|
/**
|
|
47
50
|
* 캐릭터 식별자(ocid)를 조회합니다.
|
|
@@ -453,7 +456,6 @@ declare class MapleStoryApi {
|
|
|
453
456
|
* 서버 점검 정보를 조회합니다.
|
|
454
457
|
*/
|
|
455
458
|
getInspectionInfo(): Promise<InspectionInfoDto>;
|
|
456
|
-
private buildHeaders;
|
|
457
459
|
/**
|
|
458
460
|
* API 서버의 데이터 갱신 시간에 따라 데이터가 조회 가능한 최신 날짜를 반환합니다.
|
|
459
461
|
*
|