maplestory-openapi 2.9.0 → 2.11.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 +198 -12
- package/dist/index.min.js +3 -3
- package/dist/index.mjs +198 -12
- package/package.json +1 -1
- package/types/maplestory/api/dto/character/characterCashItemEquipmentPresetDto.d.ts +4 -0
- package/types/maplestory/api/dto/character/characterImageDto.d.ts +10 -0
- package/types/maplestory/api/dto/character/characterItemEquipmentDto.d.ts +5 -0
- package/types/maplestory/api/dto/character/characterItemEquipmentMedalShapeDto.d.ts +32 -0
- package/types/maplestory/api/dto/character/characterItemEquipmentTitleDto.d.ts +12 -0
- package/types/maplestory/api/dto/union/unionChampionBadgeInfoDto.d.ts +12 -0
- package/types/maplestory/api/dto/union/unionChampionDto.d.ts +22 -0
- package/types/maplestory/api/dto/union/unionChampionInfoDto.d.ts +25 -0
- package/types/maplestory/api/mapleStoryApi.d.ts +21 -0
- package/types/maplestory/api/response/character/characterCashItemEquipmentDtoBody.d.ts +1 -0
- package/types/maplestory/api/response/character/characterItemEquipmentDtoBody.d.ts +13 -1
- package/types/maplestory/api/response/union/unionChampionDtoBody.d.ts +15 -0
package/dist/index.mjs
CHANGED
|
@@ -3178,8 +3178,12 @@ class CharacterCashItemEquipmentPresetDto {
|
|
|
3178
3178
|
* 아이템 장착 가능 성별
|
|
3179
3179
|
*/
|
|
3180
3180
|
itemGender;
|
|
3181
|
+
/**
|
|
3182
|
+
* 스킬명
|
|
3183
|
+
*/
|
|
3184
|
+
skills;
|
|
3181
3185
|
constructor(obj) {
|
|
3182
|
-
const { cash_item_equipment_part, cash_item_equipment_slot, cash_item_name, cash_item_icon, cash_item_description, cash_item_option, date_expire, date_option_expire, cash_item_label, cash_item_coloring_prism, item_gender, } = obj;
|
|
3186
|
+
const { cash_item_equipment_part, cash_item_equipment_slot, cash_item_name, cash_item_icon, cash_item_description, cash_item_option, date_expire, date_option_expire, cash_item_label, cash_item_coloring_prism, item_gender, skills, } = obj;
|
|
3183
3187
|
this.cashItemEquipmentPart = cash_item_equipment_part;
|
|
3184
3188
|
this.cashItemEquipmentSlot = cash_item_equipment_slot;
|
|
3185
3189
|
this.cashItemName = cash_item_name;
|
|
@@ -3193,6 +3197,7 @@ class CharacterCashItemEquipmentPresetDto {
|
|
|
3193
3197
|
? new CharacterCashItemEquipmentColoringPrismDto(cash_item_coloring_prism)
|
|
3194
3198
|
: null;
|
|
3195
3199
|
this.itemGender = item_gender;
|
|
3200
|
+
this.skills = skills;
|
|
3196
3201
|
}
|
|
3197
3202
|
}
|
|
3198
3203
|
|
|
@@ -3599,6 +3604,14 @@ class CharacterImageDto {
|
|
|
3599
3604
|
* 캐릭터 무기 모션
|
|
3600
3605
|
*/
|
|
3601
3606
|
wmotion;
|
|
3607
|
+
/**
|
|
3608
|
+
* 캐릭터 액션 프레임
|
|
3609
|
+
*/
|
|
3610
|
+
actionFrame;
|
|
3611
|
+
/**
|
|
3612
|
+
* 캐릭터 감정표현 프레임
|
|
3613
|
+
*/
|
|
3614
|
+
emotionFrame;
|
|
3602
3615
|
/**
|
|
3603
3616
|
* 가로 길이. 배경 크기에 해당함, 96 (default) ~ 1000
|
|
3604
3617
|
*/
|
|
@@ -3623,6 +3636,8 @@ class CharacterImageDto {
|
|
|
3623
3636
|
this.action = obj.action;
|
|
3624
3637
|
this.emotion = obj.emotion;
|
|
3625
3638
|
this.wmotion = obj.wmotion;
|
|
3639
|
+
this.actionFrame = obj.actionFrame;
|
|
3640
|
+
this.emotionFrame = obj.emotionFrame;
|
|
3626
3641
|
this.width = obj.width;
|
|
3627
3642
|
this.height = obj.height;
|
|
3628
3643
|
this.x = obj.x;
|
|
@@ -4666,6 +4681,45 @@ class CharacterItemEquipmentMechanicInfoDto {
|
|
|
4666
4681
|
}
|
|
4667
4682
|
}
|
|
4668
4683
|
|
|
4684
|
+
/**
|
|
4685
|
+
* 캐릭터 외형 설정에 등록한 훈장 외형 정보
|
|
4686
|
+
*/
|
|
4687
|
+
class CharacterItemEquipmentMedalShapeDto {
|
|
4688
|
+
/**
|
|
4689
|
+
* 외형 설정에 등록한 훈장 장비 명
|
|
4690
|
+
*/
|
|
4691
|
+
medalShapeName;
|
|
4692
|
+
/**
|
|
4693
|
+
* 외형 설정에 등록한 훈장 아이콘
|
|
4694
|
+
*/
|
|
4695
|
+
medalShapeIcon;
|
|
4696
|
+
/**
|
|
4697
|
+
* 외형 설정에 등록한 훈장 설명
|
|
4698
|
+
*/
|
|
4699
|
+
medalShapeDescription;
|
|
4700
|
+
/**
|
|
4701
|
+
* 외형 설정에 등록한 훈장의 모루 적용 장비 명
|
|
4702
|
+
*/
|
|
4703
|
+
medalShapeChangedName;
|
|
4704
|
+
/**
|
|
4705
|
+
* 외형 설정에 등록한 훈장의 모루 적용 아이콘
|
|
4706
|
+
*/
|
|
4707
|
+
medalShapeChangedIcon;
|
|
4708
|
+
/**
|
|
4709
|
+
* 외형 설정에 등록한 훈장의 모루 적용 훈장 설명
|
|
4710
|
+
*/
|
|
4711
|
+
medalShapeChangedDescription;
|
|
4712
|
+
constructor(obj) {
|
|
4713
|
+
const { medal_shape_name, medal_shape_icon, medal_shape_description, medal_shape_changed_name, medal_shape_changed_icon, medal_shape_changed_description, } = obj;
|
|
4714
|
+
this.medalShapeName = medal_shape_name;
|
|
4715
|
+
this.medalShapeIcon = medal_shape_icon;
|
|
4716
|
+
this.medalShapeDescription = medal_shape_description;
|
|
4717
|
+
this.medalShapeChangedName = medal_shape_changed_name;
|
|
4718
|
+
this.medalShapeChangedIcon = medal_shape_changed_icon;
|
|
4719
|
+
this.medalShapeChangedDescription = medal_shape_changed_description;
|
|
4720
|
+
}
|
|
4721
|
+
}
|
|
4722
|
+
|
|
4669
4723
|
/**
|
|
4670
4724
|
* 캐릭터 칭호 아이템 정보
|
|
4671
4725
|
*/
|
|
@@ -4694,12 +4748,27 @@ class CharacterItemEquipmentTitleDto {
|
|
|
4694
4748
|
* 칭호 옵션 유효 기간 만료 여부
|
|
4695
4749
|
*/
|
|
4696
4750
|
isOptionExpired = null;
|
|
4751
|
+
/**
|
|
4752
|
+
* 외형 설정에 등록한 칭호 장비 명
|
|
4753
|
+
*/
|
|
4754
|
+
titleShapeName;
|
|
4755
|
+
/**
|
|
4756
|
+
* 외형 설정에 등록한 칭호 아이콘
|
|
4757
|
+
*/
|
|
4758
|
+
titleShapeIcon;
|
|
4759
|
+
/**
|
|
4760
|
+
* 외형 설정에 등록한 칭호 설명
|
|
4761
|
+
*/
|
|
4762
|
+
titleShapeDescription;
|
|
4697
4763
|
constructor(obj) {
|
|
4698
|
-
const { title_name, title_icon, title_description, date_expire, date_option_expire, } = obj;
|
|
4764
|
+
const { title_name, title_icon, title_description, date_expire, date_option_expire, title_shape_name, title_shape_icon, title_shape_description, } = obj;
|
|
4699
4765
|
this.titleName = title_name;
|
|
4700
4766
|
this.titleIcon = title_icon;
|
|
4701
4767
|
this.titleDescription = title_description;
|
|
4702
4768
|
this.dateExpire = date_expire ? new Date(date_expire) : null;
|
|
4769
|
+
this.titleShapeName = title_shape_name;
|
|
4770
|
+
this.titleShapeIcon = title_shape_icon;
|
|
4771
|
+
this.titleShapeDescription = title_shape_description;
|
|
4703
4772
|
if (date_option_expire === 'expired') {
|
|
4704
4773
|
this.isOptionExpired = true;
|
|
4705
4774
|
}
|
|
@@ -4751,6 +4820,10 @@ class CharacterItemEquipmentDto {
|
|
|
4751
4820
|
* 칭호 정보
|
|
4752
4821
|
*/
|
|
4753
4822
|
title;
|
|
4823
|
+
/**
|
|
4824
|
+
* 외형 설정에 등록한 훈장 외형 정보
|
|
4825
|
+
*/
|
|
4826
|
+
medalShape;
|
|
4754
4827
|
/**
|
|
4755
4828
|
* 에반 드래곤 장비 정보 (에반인 경우 응답)
|
|
4756
4829
|
*/
|
|
@@ -4760,7 +4833,7 @@ class CharacterItemEquipmentDto {
|
|
|
4760
4833
|
*/
|
|
4761
4834
|
mechanicEquipment;
|
|
4762
4835
|
constructor(obj) {
|
|
4763
|
-
const { date, character_gender, character_class, preset_no, item_equipment, item_equipment_preset_1, item_equipment_preset_2, item_equipment_preset_3, title, dragon_equipment, mechanic_equipment, } = obj;
|
|
4836
|
+
const { date, character_gender, character_class, preset_no, item_equipment, item_equipment_preset_1, item_equipment_preset_2, item_equipment_preset_3, title, medal_shape, dragon_equipment, mechanic_equipment, } = obj;
|
|
4764
4837
|
this.date = date ? new Date(date) : null;
|
|
4765
4838
|
this.characterGender = character_gender;
|
|
4766
4839
|
this.characterClass = character_class;
|
|
@@ -4770,6 +4843,7 @@ class CharacterItemEquipmentDto {
|
|
|
4770
4843
|
this.itemEquipmentPreset2 = item_equipment_preset_2 ? item_equipment_preset_2.map((equipment) => new CharacterItemEquipmentInfoDto(equipment)) : null;
|
|
4771
4844
|
this.itemEquipmentPreset3 = item_equipment_preset_3 ? item_equipment_preset_3.map((equipment) => new CharacterItemEquipmentInfoDto(equipment)) : null;
|
|
4772
4845
|
this.title = title ? new CharacterItemEquipmentTitleDto(title) : null;
|
|
4846
|
+
this.medalShape = medal_shape ? new CharacterItemEquipmentMedalShapeDto(medal_shape) : null;
|
|
4773
4847
|
this.dragonEquipment = dragon_equipment.map((equipment) => new CharacterItemEquipmentDragonInfoDto(equipment));
|
|
4774
4848
|
this.mechanicEquipment = mechanic_equipment.map((equipment) => new CharacterItemEquipmentMechanicInfoDto(equipment));
|
|
4775
4849
|
}
|
|
@@ -7395,6 +7469,73 @@ const errorMap = {
|
|
|
7395
7469
|
['OPENAPI00011']: MapleStoryApiErrorCode.OPENAPI00011,
|
|
7396
7470
|
};
|
|
7397
7471
|
|
|
7472
|
+
/**
|
|
7473
|
+
* 유니온 챔피언 휘장 정보
|
|
7474
|
+
*/
|
|
7475
|
+
class UnionChampionBadgeInfoDto {
|
|
7476
|
+
/**
|
|
7477
|
+
* 유니온 챔피언 휘장 효과
|
|
7478
|
+
*/
|
|
7479
|
+
stat;
|
|
7480
|
+
constructor(obj) {
|
|
7481
|
+
const { stat } = obj;
|
|
7482
|
+
this.stat = stat;
|
|
7483
|
+
}
|
|
7484
|
+
}
|
|
7485
|
+
|
|
7486
|
+
/**
|
|
7487
|
+
* 유니온 챔피언 상세 정보
|
|
7488
|
+
*/
|
|
7489
|
+
class UnionChampionInfoDto {
|
|
7490
|
+
/**
|
|
7491
|
+
* 유니온 챔피언 슬롯
|
|
7492
|
+
*/
|
|
7493
|
+
championSlot;
|
|
7494
|
+
/**
|
|
7495
|
+
* 유니온 챔피언 등급
|
|
7496
|
+
*/
|
|
7497
|
+
championGrade;
|
|
7498
|
+
/**
|
|
7499
|
+
* 유니온 챔피언 캐릭터의 직업
|
|
7500
|
+
*/
|
|
7501
|
+
championClass;
|
|
7502
|
+
/**
|
|
7503
|
+
* 챔피언 휘장 효과
|
|
7504
|
+
*/
|
|
7505
|
+
championBadgeInfo;
|
|
7506
|
+
constructor(obj) {
|
|
7507
|
+
const { champion_slot, champion_grade, champion_class, champion_badge_info } = obj;
|
|
7508
|
+
this.championSlot = champion_slot;
|
|
7509
|
+
this.championGrade = champion_grade;
|
|
7510
|
+
this.championClass = champion_class;
|
|
7511
|
+
this.championBadgeInfo = champion_badge_info.map((info) => new UnionChampionBadgeInfoDto(info));
|
|
7512
|
+
}
|
|
7513
|
+
}
|
|
7514
|
+
|
|
7515
|
+
/**
|
|
7516
|
+
* 유니온 챔피언 정보
|
|
7517
|
+
*/
|
|
7518
|
+
class UnionChampionDto {
|
|
7519
|
+
/**
|
|
7520
|
+
* 조회 기준일
|
|
7521
|
+
*/
|
|
7522
|
+
date;
|
|
7523
|
+
/**
|
|
7524
|
+
* 유니온 챔피언 정보
|
|
7525
|
+
*/
|
|
7526
|
+
unionChampion;
|
|
7527
|
+
/**
|
|
7528
|
+
* 유니온 챔피언 휘장 정보
|
|
7529
|
+
*/
|
|
7530
|
+
championBadgeTotalInfo;
|
|
7531
|
+
constructor(obj) {
|
|
7532
|
+
const { date, union_champion, champion_badge_total_info } = obj;
|
|
7533
|
+
this.date = date ? new Date(date) : null;
|
|
7534
|
+
this.unionChampion = union_champion.map((info) => new UnionChampionInfoDto(info));
|
|
7535
|
+
this.championBadgeTotalInfo = champion_badge_total_info.map((info) => new UnionChampionBadgeInfoDto(info));
|
|
7536
|
+
}
|
|
7537
|
+
}
|
|
7538
|
+
|
|
7398
7539
|
dayjs.extend(timezone);
|
|
7399
7540
|
dayjs.extend(utc);
|
|
7400
7541
|
/**
|
|
@@ -7501,15 +7642,23 @@ class MapleStoryApi {
|
|
|
7501
7642
|
*/
|
|
7502
7643
|
async getCharacterImage(ocid, imageOptions, dateOptions) {
|
|
7503
7644
|
const { date, characterImage: path } = await this.getCharacterBasic(ocid, dateOptions);
|
|
7645
|
+
const action = imageOptions?.action ?? CharacterImageAction.Stand1;
|
|
7646
|
+
const emotion = imageOptions?.emotion ?? CharacterImageEmotion.Default;
|
|
7647
|
+
const wmotion = imageOptions?.wmotion ?? CharacterImageWeaponMotion.Default;
|
|
7648
|
+
const actionFrame = imageOptions?.actionFrame ?? 0;
|
|
7649
|
+
const emotionFrame = imageOptions?.emotionFrame ?? 0;
|
|
7650
|
+
const width = 96;
|
|
7651
|
+
const height = 96;
|
|
7652
|
+
const x = imageOptions?.x ?? null;
|
|
7653
|
+
const y = imageOptions?.y ?? null;
|
|
7504
7654
|
const query = {
|
|
7505
|
-
action:
|
|
7506
|
-
emotion:
|
|
7507
|
-
wmotion
|
|
7508
|
-
width
|
|
7509
|
-
height
|
|
7510
|
-
x
|
|
7511
|
-
y
|
|
7512
|
-
...imageOptions,
|
|
7655
|
+
action: `${action}.${actionFrame}`,
|
|
7656
|
+
emotion: `${emotion}.${emotionFrame}`,
|
|
7657
|
+
wmotion,
|
|
7658
|
+
width,
|
|
7659
|
+
height,
|
|
7660
|
+
x,
|
|
7661
|
+
y,
|
|
7513
7662
|
};
|
|
7514
7663
|
const urlImageToBase64 = async (path, query) => {
|
|
7515
7664
|
const { data, headers } = await axios.get(path, {
|
|
@@ -7529,7 +7678,15 @@ class MapleStoryApi {
|
|
|
7529
7678
|
originUrl: path,
|
|
7530
7679
|
originImage,
|
|
7531
7680
|
image,
|
|
7532
|
-
|
|
7681
|
+
action,
|
|
7682
|
+
emotion,
|
|
7683
|
+
wmotion,
|
|
7684
|
+
actionFrame,
|
|
7685
|
+
emotionFrame,
|
|
7686
|
+
width,
|
|
7687
|
+
height,
|
|
7688
|
+
x,
|
|
7689
|
+
y,
|
|
7533
7690
|
});
|
|
7534
7691
|
}
|
|
7535
7692
|
/**
|
|
@@ -8132,6 +8289,35 @@ class MapleStoryApi {
|
|
|
8132
8289
|
});
|
|
8133
8290
|
return new UnionArtifactDto(data);
|
|
8134
8291
|
}
|
|
8292
|
+
/**
|
|
8293
|
+
* 유니온 챔피언 정보를 조회합니다.<br>
|
|
8294
|
+
* 유니온 챔피언 정보는 2025년 2월 20일 메이플스토리 점검 이후 데이터부터 조회 가능합니다.<br>
|
|
8295
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
8296
|
+
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
|
|
8297
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
8298
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
8299
|
+
*
|
|
8300
|
+
* @param ocid 캐릭터 식별자
|
|
8301
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
8302
|
+
*/
|
|
8303
|
+
async getUnionChampion(ocid, dateOptions) {
|
|
8304
|
+
const path = 'maplestory/v1/user/union-champion';
|
|
8305
|
+
const date = dateOptions
|
|
8306
|
+
? MapleStoryApi.toDateString({
|
|
8307
|
+
year: 2023,
|
|
8308
|
+
month: 12,
|
|
8309
|
+
day: 21,
|
|
8310
|
+
}, dateOptions)
|
|
8311
|
+
: undefined;
|
|
8312
|
+
const query = {
|
|
8313
|
+
ocid: ocid,
|
|
8314
|
+
date: date,
|
|
8315
|
+
};
|
|
8316
|
+
const { data } = await this.client.get(path, {
|
|
8317
|
+
params: query,
|
|
8318
|
+
});
|
|
8319
|
+
return new UnionChampionDto(data);
|
|
8320
|
+
}
|
|
8135
8321
|
//#endregion
|
|
8136
8322
|
//#region 길드 정보 조회
|
|
8137
8323
|
/**
|
package/package.json
CHANGED
|
@@ -49,6 +49,10 @@ declare class CharacterCashItemEquipmentPresetDto {
|
|
|
49
49
|
* 아이템 장착 가능 성별
|
|
50
50
|
*/
|
|
51
51
|
itemGender: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* 스킬명
|
|
54
|
+
*/
|
|
55
|
+
skills: string[];
|
|
52
56
|
constructor(obj: CharacterCashItemEquipmentPresetDtoBody);
|
|
53
57
|
}
|
|
54
58
|
export { CharacterCashItemEquipmentPresetDto };
|
|
@@ -30,6 +30,14 @@ declare class CharacterImageDto {
|
|
|
30
30
|
* 캐릭터 무기 모션
|
|
31
31
|
*/
|
|
32
32
|
wmotion: CharacterImageWeaponMotion;
|
|
33
|
+
/**
|
|
34
|
+
* 캐릭터 액션 프레임
|
|
35
|
+
*/
|
|
36
|
+
actionFrame: number | null;
|
|
37
|
+
/**
|
|
38
|
+
* 캐릭터 감정표현 프레임
|
|
39
|
+
*/
|
|
40
|
+
emotionFrame: number | null;
|
|
33
41
|
/**
|
|
34
42
|
* 가로 길이. 배경 크기에 해당함, 96 (default) ~ 1000
|
|
35
43
|
*/
|
|
@@ -54,6 +62,8 @@ declare class CharacterImageDto {
|
|
|
54
62
|
action: CharacterImageAction;
|
|
55
63
|
emotion: CharacterImageEmotion;
|
|
56
64
|
wmotion: CharacterImageWeaponMotion;
|
|
65
|
+
actionFrame: number | null;
|
|
66
|
+
emotionFrame: number | null;
|
|
57
67
|
width: number;
|
|
58
68
|
height: number;
|
|
59
69
|
x: number | null;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CharacterItemEquipmentDragonInfoDto } from './characterItemEquipmentDragonInfoDto';
|
|
2
2
|
import { CharacterItemEquipmentInfoDto } from './characterItemEquipmentInfoDto';
|
|
3
3
|
import { CharacterItemEquipmentMechanicInfoDto } from './characterItemEquipmentMechanicInfoDto';
|
|
4
|
+
import { CharacterItemEquipmentMedalShapeDto } from './characterItemEquipmentMedalShapeDto';
|
|
4
5
|
import { CharacterItemEquipmentTitleDto } from './characterItemEquipmentTitleDto';
|
|
5
6
|
import { CharacterItemEquipmentDtoBody } from '../../response/character/characterItemEquipmentDtoBody';
|
|
6
7
|
/**
|
|
@@ -43,6 +44,10 @@ declare class CharacterItemEquipmentDto {
|
|
|
43
44
|
* 칭호 정보
|
|
44
45
|
*/
|
|
45
46
|
title: CharacterItemEquipmentTitleDto | null;
|
|
47
|
+
/**
|
|
48
|
+
* 외형 설정에 등록한 훈장 외형 정보
|
|
49
|
+
*/
|
|
50
|
+
medalShape: CharacterItemEquipmentMedalShapeDto | null;
|
|
46
51
|
/**
|
|
47
52
|
* 에반 드래곤 장비 정보 (에반인 경우 응답)
|
|
48
53
|
*/
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { CharacterItemEquipmentMedalShapeDtoBody } from '../../response/character/characterItemEquipmentDtoBody';
|
|
2
|
+
/**
|
|
3
|
+
* 캐릭터 외형 설정에 등록한 훈장 외형 정보
|
|
4
|
+
*/
|
|
5
|
+
declare class CharacterItemEquipmentMedalShapeDto {
|
|
6
|
+
/**
|
|
7
|
+
* 외형 설정에 등록한 훈장 장비 명
|
|
8
|
+
*/
|
|
9
|
+
medalShapeName: string;
|
|
10
|
+
/**
|
|
11
|
+
* 외형 설정에 등록한 훈장 아이콘
|
|
12
|
+
*/
|
|
13
|
+
medalShapeIcon: string;
|
|
14
|
+
/**
|
|
15
|
+
* 외형 설정에 등록한 훈장 설명
|
|
16
|
+
*/
|
|
17
|
+
medalShapeDescription: string;
|
|
18
|
+
/**
|
|
19
|
+
* 외형 설정에 등록한 훈장의 모루 적용 장비 명
|
|
20
|
+
*/
|
|
21
|
+
medalShapeChangedName: string;
|
|
22
|
+
/**
|
|
23
|
+
* 외형 설정에 등록한 훈장의 모루 적용 아이콘
|
|
24
|
+
*/
|
|
25
|
+
medalShapeChangedIcon: string;
|
|
26
|
+
/**
|
|
27
|
+
* 외형 설정에 등록한 훈장의 모루 적용 훈장 설명
|
|
28
|
+
*/
|
|
29
|
+
medalShapeChangedDescription: string;
|
|
30
|
+
constructor(obj: CharacterItemEquipmentMedalShapeDtoBody);
|
|
31
|
+
}
|
|
32
|
+
export { CharacterItemEquipmentMedalShapeDto };
|
|
@@ -27,6 +27,18 @@ declare class CharacterItemEquipmentTitleDto {
|
|
|
27
27
|
* 칭호 옵션 유효 기간 만료 여부
|
|
28
28
|
*/
|
|
29
29
|
isOptionExpired: boolean | null;
|
|
30
|
+
/**
|
|
31
|
+
* 외형 설정에 등록한 칭호 장비 명
|
|
32
|
+
*/
|
|
33
|
+
titleShapeName: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* 외형 설정에 등록한 칭호 아이콘
|
|
36
|
+
*/
|
|
37
|
+
titleShapeIcon: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* 외형 설정에 등록한 칭호 설명
|
|
40
|
+
*/
|
|
41
|
+
titleShapeDescription: string | null;
|
|
30
42
|
constructor(obj: CharacterItemEquipmentTitleDtoBody);
|
|
31
43
|
}
|
|
32
44
|
export { CharacterItemEquipmentTitleDto };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { UnionChampionBadgeInfoDtoBody } from '../../response/union/unionChampionDtoBody';
|
|
2
|
+
/**
|
|
3
|
+
* 유니온 챔피언 휘장 정보
|
|
4
|
+
*/
|
|
5
|
+
declare class UnionChampionBadgeInfoDto {
|
|
6
|
+
/**
|
|
7
|
+
* 유니온 챔피언 휘장 효과
|
|
8
|
+
*/
|
|
9
|
+
stat: string;
|
|
10
|
+
constructor(obj: UnionChampionBadgeInfoDtoBody);
|
|
11
|
+
}
|
|
12
|
+
export { UnionChampionBadgeInfoDto };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UnionChampionBadgeInfoDto } from './unionChampionBadgeInfoDto';
|
|
2
|
+
import { UnionChampionInfoDto } from './unionChampionInfoDto';
|
|
3
|
+
import { UnionChampionDtoBody } from '../../response/union/unionChampionDtoBody';
|
|
4
|
+
/**
|
|
5
|
+
* 유니온 챔피언 정보
|
|
6
|
+
*/
|
|
7
|
+
declare class UnionChampionDto {
|
|
8
|
+
/**
|
|
9
|
+
* 조회 기준일
|
|
10
|
+
*/
|
|
11
|
+
date: Date | null;
|
|
12
|
+
/**
|
|
13
|
+
* 유니온 챔피언 정보
|
|
14
|
+
*/
|
|
15
|
+
unionChampion: UnionChampionInfoDto[];
|
|
16
|
+
/**
|
|
17
|
+
* 유니온 챔피언 휘장 정보
|
|
18
|
+
*/
|
|
19
|
+
championBadgeTotalInfo: UnionChampionBadgeInfoDto[];
|
|
20
|
+
constructor(obj: UnionChampionDtoBody);
|
|
21
|
+
}
|
|
22
|
+
export { UnionChampionDto };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UnionChampionBadgeInfoDto } from './unionChampionBadgeInfoDto';
|
|
2
|
+
import { UnionChampionInfoDtoBody } from '../../response/union/unionChampionDtoBody';
|
|
3
|
+
/**
|
|
4
|
+
* 유니온 챔피언 상세 정보
|
|
5
|
+
*/
|
|
6
|
+
declare class UnionChampionInfoDto {
|
|
7
|
+
/**
|
|
8
|
+
* 유니온 챔피언 슬롯
|
|
9
|
+
*/
|
|
10
|
+
championSlot: number;
|
|
11
|
+
/**
|
|
12
|
+
* 유니온 챔피언 등급
|
|
13
|
+
*/
|
|
14
|
+
championGrade: string;
|
|
15
|
+
/**
|
|
16
|
+
* 유니온 챔피언 캐릭터의 직업
|
|
17
|
+
*/
|
|
18
|
+
championClass: string;
|
|
19
|
+
/**
|
|
20
|
+
* 챔피언 휘장 효과
|
|
21
|
+
*/
|
|
22
|
+
championBadgeInfo: UnionChampionBadgeInfoDto[];
|
|
23
|
+
constructor(obj: UnionChampionInfoDtoBody);
|
|
24
|
+
}
|
|
25
|
+
export { UnionChampionInfoDto };
|
|
@@ -43,6 +43,7 @@ import { UnionRankingResponseDto } from './dto/ranking/unionRankingResponseDto';
|
|
|
43
43
|
import { UnionArtifactDto } from './dto/union/unionArtifactDto';
|
|
44
44
|
import { UnionDto } from './dto/union/unionDto';
|
|
45
45
|
import { UnionRaiderDto } from './dto/union/unionRaiderDto';
|
|
46
|
+
import { UnionChampionDto } from './dto/union/unionChampionDto';
|
|
46
47
|
/**
|
|
47
48
|
* MapleStory OpenAPI client.<br>
|
|
48
49
|
* This is an implementation of <a href="https://openapi.nexon.com/game/maplestory">MapleStory API</a>
|
|
@@ -339,6 +340,18 @@ declare class MapleStoryApi {
|
|
|
339
340
|
* @param dateOptions 조회 기준일 (KST)
|
|
340
341
|
*/
|
|
341
342
|
getUnionArtifact(ocid: string, dateOptions?: DateOptions): Promise<UnionArtifactDto>;
|
|
343
|
+
/**
|
|
344
|
+
* 유니온 챔피언 정보를 조회합니다.<br>
|
|
345
|
+
* 유니온 챔피언 정보는 2025년 2월 20일 메이플스토리 점검 이후 데이터부터 조회 가능합니다.<br>
|
|
346
|
+
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
347
|
+
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
|
|
348
|
+
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.)
|
|
349
|
+
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
|
|
350
|
+
*
|
|
351
|
+
* @param ocid 캐릭터 식별자
|
|
352
|
+
* @param dateOptions 조회 기준일 (KST)
|
|
353
|
+
*/
|
|
354
|
+
getUnionChampion(ocid: string, dateOptions?: DateOptions): Promise<UnionChampionDto>;
|
|
342
355
|
/**
|
|
343
356
|
* 길드 식별자(oguild_id) 정보를 조회합니다.
|
|
344
357
|
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다.
|
|
@@ -599,6 +612,14 @@ type CharacterImageOptions = {
|
|
|
599
612
|
* 캐릭터 무기 모션
|
|
600
613
|
*/
|
|
601
614
|
wmotion?: CharacterImageWeaponMotion;
|
|
615
|
+
/**
|
|
616
|
+
* 캐릭터 액션 프레임.
|
|
617
|
+
*/
|
|
618
|
+
actionFrame?: number;
|
|
619
|
+
/**
|
|
620
|
+
* 캐릭터 감정표현 프레임
|
|
621
|
+
*/
|
|
622
|
+
emotionFrame?: number;
|
|
602
623
|
/**
|
|
603
624
|
* 가로 길이. 배경 크기에 해당함, 96 (default) ~ 1000
|
|
604
625
|
*/
|
|
@@ -25,6 +25,7 @@ type CharacterCashItemEquipmentPresetDtoBody = {
|
|
|
25
25
|
cash_item_label: string | null;
|
|
26
26
|
cash_item_coloring_prism: CharacterCashItemEquipmentColoringPrismDtoBody | null;
|
|
27
27
|
item_gender: string | null;
|
|
28
|
+
skills: string[];
|
|
28
29
|
};
|
|
29
30
|
type CharacterCashItemEquipmentOptionDtoBody = {
|
|
30
31
|
option_type: string;
|
|
@@ -8,6 +8,7 @@ type CharacterItemEquipmentDtoBody = {
|
|
|
8
8
|
item_equipment_preset_2: CharacterItemEquipmentInfoDtoBody[] | null;
|
|
9
9
|
item_equipment_preset_3: CharacterItemEquipmentInfoDtoBody[] | null;
|
|
10
10
|
title: CharacterItemEquipmentTitleDtoBody | null;
|
|
11
|
+
medal_shape: CharacterItemEquipmentMedalShapeDtoBody | null;
|
|
11
12
|
dragon_equipment: CharacterItemEquipmentInfoDtoBody[];
|
|
12
13
|
mechanic_equipment: CharacterItemEquipmentInfoDtoBody[];
|
|
13
14
|
};
|
|
@@ -187,5 +188,16 @@ type CharacterItemEquipmentTitleDtoBody = {
|
|
|
187
188
|
title_description: string;
|
|
188
189
|
date_expire: string | null;
|
|
189
190
|
date_option_expire: string | null;
|
|
191
|
+
title_shape_name: string | null;
|
|
192
|
+
title_shape_icon: string | null;
|
|
193
|
+
title_shape_description: string | null;
|
|
190
194
|
};
|
|
191
|
-
|
|
195
|
+
type CharacterItemEquipmentMedalShapeDtoBody = {
|
|
196
|
+
medal_shape_name: string;
|
|
197
|
+
medal_shape_icon: string;
|
|
198
|
+
medal_shape_description: string;
|
|
199
|
+
medal_shape_changed_name: string;
|
|
200
|
+
medal_shape_changed_icon: string;
|
|
201
|
+
medal_shape_changed_description: string;
|
|
202
|
+
};
|
|
203
|
+
export type { CharacterItemEquipmentDtoBody, CharacterItemEquipmentInfoDtoBody, CharacterItemEquipmentTitleDtoBody, CharacterItemEquipmentOptionDtoBody, CharacterItemEquipmentExceptionalOptionDtoBody, CharacterItemEquipmentTotalOptionDtoBody, CharacterItemEquipmentMedalShapeDtoBody, CharacterItemEquipmentBaseOptionDtoBody, CharacterItemEquipmentAddOptionDtoBody, CharacterItemEquipmentEtcOptionDtoBody, CharacterItemEquipmentStarforceOptionDtoBody, CharacterItemEquipmentDragonInfoDtoBody, CharacterItemEquipmentMechanicInfoDtoBody, };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type UnionChampionDtoBody = {
|
|
2
|
+
date: string;
|
|
3
|
+
union_champion: UnionChampionInfoDtoBody[];
|
|
4
|
+
champion_badge_total_info: UnionChampionBadgeInfoDtoBody[];
|
|
5
|
+
};
|
|
6
|
+
type UnionChampionInfoDtoBody = {
|
|
7
|
+
champion_slot: number;
|
|
8
|
+
champion_grade: string;
|
|
9
|
+
champion_class: string;
|
|
10
|
+
champion_badge_info: UnionChampionBadgeInfoDtoBody[];
|
|
11
|
+
};
|
|
12
|
+
type UnionChampionBadgeInfoDtoBody = {
|
|
13
|
+
stat: string;
|
|
14
|
+
};
|
|
15
|
+
export { UnionChampionDtoBody, UnionChampionInfoDtoBody, UnionChampionBadgeInfoDtoBody, };
|