maplestory-openapi 2.3.2 → 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 +1474 -1249
- package/dist/index.min.js +1 -1
- package/dist/index.mjs +1467 -1250
- package/package.json +1 -1
- package/types/index.d.ts +8 -0
- package/types/maplestory/api/dto/character/characterAbilityDto.d.ts +17 -0
- package/types/maplestory/api/dto/character/characterAbilityInfoDto.d.ts +9 -0
- package/types/maplestory/api/dto/character/characterAbilityPresetDto.d.ts +17 -0
- package/types/maplestory/api/dto/character/characterAndroidEquipmentDto.d.ts +33 -0
- package/types/maplestory/api/dto/character/characterAndroidEquipmentPresetDto.d.ts +58 -0
- package/types/maplestory/api/dto/character/characterCashItemEquipmentDto.d.ts +14 -6
- package/types/maplestory/api/dto/character/characterCashItemEquipmentPresetDto.d.ts +2 -2
- package/types/maplestory/api/dto/character/characterItemEquipmentDto.d.ts +19 -3
- package/types/maplestory/api/dto/character/characterLinkSkillDto.d.ts +25 -1
- package/types/maplestory/api/dto/character/characterPetEquipmentDto.d.ts +51 -21
- package/types/maplestory/api/dto/character/characterPetEquipmentItemDto.d.ts +9 -1
- 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 +82 -0
- package/types/maplestory/api/dto/history/potentialHistoryResponseDto.d.ts +21 -0
- package/types/maplestory/api/dto/history/potentialResultOptionDto.d.ts +18 -0
- package/types/maplestory/api/dto/union/unionArtifactCrystalDto.d.ts +36 -0
- package/types/maplestory/api/dto/union/unionArtifactDto.d.ts +26 -0
- package/types/maplestory/api/dto/union/unionArtifactEffectDto.d.ts +16 -0
- package/types/maplestory/api/dto/union/unionDto.d.ts +12 -0
- package/types/maplestory/api/mapleStoryApi.d.ts +55 -12
- package/types/maplestory/api/mapleStoryApiError.d.ts +3 -1
- package/types/maplestory/api/response/character/characterAbilityDtoBody.d.ts +9 -1
- package/types/maplestory/api/response/character/characterAndroidEquipmentDtoBody.d.ts +23 -1
- package/types/maplestory/api/response/character/characterCashItemEquipmentDtoBody.d.ts +3 -1
- package/types/maplestory/api/response/character/characterItemEquipmentDtoBody.d.ts +4 -0
- package/types/maplestory/api/response/character/characterLinkSkillDtoBody.d.ts +7 -1
- package/types/maplestory/api/response/character/characterPetEquipmentDtoBody.d.ts +30 -22
- package/types/maplestory/api/response/history/potentialHistoryResponseDtoBody.d.ts +29 -0
- package/types/maplestory/api/response/union/unionArtifactDtoBody.d.ts +20 -0
- package/types/maplestory/api/response/union/unionDtoBody.d.ts +3 -0
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Packages written in other languages can be found [HERE](https://github.com/Spira
|
|
|
13
13
|
Install the latest version of the JavaScript/TypeScript library in your npm project:
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
npm install maplestory-openapi@2.
|
|
16
|
+
npm install maplestory-openapi@2.4.1 # Replace with the latest version
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
## Usage
|
|
@@ -72,12 +72,14 @@ While `MapleStoryApi` is designed to prevent the occurrence of certain Status, e
|
|
|
72
72
|
|
|
73
73
|
Therefore, it's recommended to use `MapleStoryApiError` for exception handling based on the `MapleStoryApiErrorCode` list described in the table below.
|
|
74
74
|
|
|
75
|
-
| ErrorCode | Description
|
|
76
|
-
|
|
77
|
-
| OPENAPI00001 | Internal server error
|
|
78
|
-
| OPENAPI00002 | Access denied
|
|
79
|
-
| OPENAPI00003 | Invalid identifier
|
|
75
|
+
| ErrorCode | Description |
|
|
76
|
+
|--------------|------------------------------------------|
|
|
77
|
+
| OPENAPI00001 | Internal server error |
|
|
78
|
+
| OPENAPI00002 | Access denied |
|
|
79
|
+
| OPENAPI00003 | Invalid identifier |
|
|
80
80
|
| OPENAPI00004 | Request format error (incorrect parameter input) |
|
|
81
|
-
| OPENAPI00005 | Invalid api key
|
|
82
|
-
| OPENAPI00006 | Invalid api path
|
|
83
|
-
| OPENAPI00007 | Request allowance (Rate Limit) exceeded
|
|
81
|
+
| OPENAPI00005 | Invalid api key |
|
|
82
|
+
| OPENAPI00006 | Invalid api path |
|
|
83
|
+
| OPENAPI00007 | Request allowance (Rate Limit) exceeded |
|
|
84
|
+
| OPENAPI00009 | Not prepared data |
|
|
85
|
+
| OPENAPI00010 | API server mainternence |
|