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.
Files changed (37) hide show
  1. package/README.md +11 -9
  2. package/dist/index.js +1474 -1249
  3. package/dist/index.min.js +1 -1
  4. package/dist/index.mjs +1467 -1250
  5. package/package.json +1 -1
  6. package/types/index.d.ts +8 -0
  7. package/types/maplestory/api/dto/character/characterAbilityDto.d.ts +17 -0
  8. package/types/maplestory/api/dto/character/characterAbilityInfoDto.d.ts +9 -0
  9. package/types/maplestory/api/dto/character/characterAbilityPresetDto.d.ts +17 -0
  10. package/types/maplestory/api/dto/character/characterAndroidEquipmentDto.d.ts +33 -0
  11. package/types/maplestory/api/dto/character/characterAndroidEquipmentPresetDto.d.ts +58 -0
  12. package/types/maplestory/api/dto/character/characterCashItemEquipmentDto.d.ts +14 -6
  13. package/types/maplestory/api/dto/character/characterCashItemEquipmentPresetDto.d.ts +2 -2
  14. package/types/maplestory/api/dto/character/characterItemEquipmentDto.d.ts +19 -3
  15. package/types/maplestory/api/dto/character/characterLinkSkillDto.d.ts +25 -1
  16. package/types/maplestory/api/dto/character/characterPetEquipmentDto.d.ts +51 -21
  17. package/types/maplestory/api/dto/character/characterPetEquipmentItemDto.d.ts +9 -1
  18. package/types/maplestory/api/dto/history/cubeHistoryDto.d.ts +1 -1
  19. package/types/maplestory/api/dto/history/cubeResultOptionDto.d.ts +1 -1
  20. package/types/maplestory/api/dto/history/potentialHistoryDto.d.ts +82 -0
  21. package/types/maplestory/api/dto/history/potentialHistoryResponseDto.d.ts +21 -0
  22. package/types/maplestory/api/dto/history/potentialResultOptionDto.d.ts +18 -0
  23. package/types/maplestory/api/dto/union/unionArtifactCrystalDto.d.ts +36 -0
  24. package/types/maplestory/api/dto/union/unionArtifactDto.d.ts +26 -0
  25. package/types/maplestory/api/dto/union/unionArtifactEffectDto.d.ts +16 -0
  26. package/types/maplestory/api/dto/union/unionDto.d.ts +12 -0
  27. package/types/maplestory/api/mapleStoryApi.d.ts +55 -12
  28. package/types/maplestory/api/mapleStoryApiError.d.ts +3 -1
  29. package/types/maplestory/api/response/character/characterAbilityDtoBody.d.ts +9 -1
  30. package/types/maplestory/api/response/character/characterAndroidEquipmentDtoBody.d.ts +23 -1
  31. package/types/maplestory/api/response/character/characterCashItemEquipmentDtoBody.d.ts +3 -1
  32. package/types/maplestory/api/response/character/characterItemEquipmentDtoBody.d.ts +4 -0
  33. package/types/maplestory/api/response/character/characterLinkSkillDtoBody.d.ts +7 -1
  34. package/types/maplestory/api/response/character/characterPetEquipmentDtoBody.d.ts +30 -22
  35. package/types/maplestory/api/response/history/potentialHistoryResponseDtoBody.d.ts +29 -0
  36. package/types/maplestory/api/response/union/unionArtifactDtoBody.d.ts +20 -0
  37. package/types/maplestory/api/response/union/unionDtoBody.d.ts +3 -0
@@ -0,0 +1,36 @@
1
+ import { UnionArtifactCrystalDtoBody } from '../../response/union/unionArtifactDtoBody';
2
+ /**
3
+ * 유니온 아티팩트 크리스탈 정보
4
+ */
5
+ declare class UnionArtifactCrystalDto {
6
+ /**
7
+ * 아티팩트 크리스탈 명
8
+ */
9
+ name: string;
10
+ /**
11
+ * 능력치 유효 여부 (0:유효, 1:유효하지 않음)
12
+ */
13
+ validityFlag: string;
14
+ /**
15
+ * 능력치 유효 기간(KST)
16
+ */
17
+ dateExpire: Date;
18
+ /**
19
+ * 아티팩트 크리스탈 등급
20
+ */
21
+ level: number;
22
+ /**
23
+ * 아티팩트 크리스탈 첫 번째 옵션 명
24
+ */
25
+ crystalOptionName1: string;
26
+ /**
27
+ * 아티팩트 크리스탈 두 번째 옵션 명
28
+ */
29
+ crystalOptionName2: string;
30
+ /**
31
+ * 아티팩트 크리스탈 세 번째 옵션 명
32
+ */
33
+ crystalOptionName3: string;
34
+ constructor(obj: UnionArtifactCrystalDtoBody);
35
+ }
36
+ export { UnionArtifactCrystalDto };
@@ -0,0 +1,26 @@
1
+ import { UnionArtifactCrystalDto } from './unionArtifactCrystalDto';
2
+ import { UnionArtifactEffectDto } from './unionArtifactEffectDto';
3
+ import { UnionArtifactDtoBody } from '../../response/union/unionArtifactDtoBody';
4
+ /**
5
+ * 유니온 아티팩트 정보
6
+ */
7
+ declare class UnionArtifactDto {
8
+ /**
9
+ * 조회 기준일
10
+ */
11
+ date: Date;
12
+ /**
13
+ * 아티팩트 효과 정보
14
+ */
15
+ unionArtifactEffect: UnionArtifactEffectDto[];
16
+ /**
17
+ * 아티팩트 크리스탈 정보
18
+ */
19
+ unionArtifactCrystal: UnionArtifactCrystalDto[];
20
+ /**
21
+ * 잔여 아티팩트 AP
22
+ */
23
+ unionArtifactRemainAp: number | null;
24
+ constructor(obj: UnionArtifactDtoBody);
25
+ }
26
+ export { UnionArtifactDto };
@@ -0,0 +1,16 @@
1
+ import { UnionArtifactEffectDtoBody } from '../../response/union/unionArtifactDtoBody';
2
+ /**
3
+ * 유니온 아티팩트 효과 정보
4
+ */
5
+ declare class UnionArtifactEffectDto {
6
+ /**
7
+ * 아티팩트 효과 명
8
+ */
9
+ name: string;
10
+ /**
11
+ * 아티팩트 효과 레벨
12
+ */
13
+ level: number;
14
+ constructor(obj: UnionArtifactEffectDtoBody);
15
+ }
16
+ export { UnionArtifactEffectDto };
@@ -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 };
@@ -1,4 +1,3 @@
1
- import { AchievementRankingResponseDto } from './dto/ranking/achievementRankingResponseDto';
2
1
  import { CharacterAbilityDto } from './dto/character/characterAbilityDto';
3
2
  import { CharacterAndroidEquipmentDto } from './dto/character/characterAndroidEquipmentDto';
4
3
  import { CharacterBasicDto } from './dto/character/characterBasicDto';
@@ -19,27 +18,33 @@ import { CharacterSkillDto } from './dto/character/characterSkillDto';
19
18
  import { CharacterStatDto } from './dto/character/characterStatDto';
20
19
  import { CharacterSymbolEquipmentDto } from './dto/character/characterSymbolEquipmentDto';
21
20
  import { CharacterVMatrixDto } from './dto/character/characterVMatrixDto';
22
- import { CubeHistoryResponseDto } from './dto/history/cubeHistoryResponseDto';
23
- import { DojangRankingResponseDto } from './dto/ranking/dojangRankingResponseDto';
24
21
  import { GuildBasicDto } from './dto/guild/guildBasicDto';
25
22
  import { GuildDto } from './dto/guild/guildDto';
26
- import { GuildRankingResponseDto } from './dto/ranking/guildRankingResponseDto';
23
+ import { CubeHistoryResponseDto } from './dto/history/cubeHistoryResponseDto';
24
+ import { PotentialHistoryResponseDto } from './dto/history/potentialHistoryResponseDto';
25
+ import { StarforceHistoryResponseDto } from './dto/history/starforceHistoryResponseDto';
27
26
  import { InspectionInfoDto } from './dto/inspectionInfoDto';
27
+ import { AchievementRankingResponseDto } from './dto/ranking/achievementRankingResponseDto';
28
+ import { DojangRankingResponseDto } from './dto/ranking/dojangRankingResponseDto';
29
+ import { GuildRankingResponseDto } from './dto/ranking/guildRankingResponseDto';
28
30
  import { OverallRankingResponseDto } from './dto/ranking/overallRankingResponseDto';
29
31
  import { TheSeedRankingResponseDto } from './dto/ranking/theSeedRankingResponseDto';
32
+ import { UnionRankingResponseDto } from './dto/ranking/unionRankingResponseDto';
33
+ import { UnionArtifactDto } from './dto/union/unionArtifactDto';
30
34
  import { UnionDto } from './dto/union/unionDto';
31
35
  import { UnionRaiderDto } from './dto/union/unionRaiderDto';
32
- import { UnionRankingResponseDto } from './dto/ranking/unionRankingResponseDto';
33
- import { StarforceHistoryResponseDto } from './dto/history/starforceHistoryResponseDto';
34
36
  /**
35
37
  * MapleStory OpenAPI client.<br>
36
38
  * This is an implementation of <a href="https://openapi.nexon.com/game/maplestory">MapleStory API</a>
37
39
  */
38
40
  declare class MapleStoryApi {
39
41
  private readonly apiKey;
40
- private static BASE_URL;
41
- private static kstOffset;
42
- timeout: number;
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);
43
48
  constructor(apiKey: string);
44
49
  /**
45
50
  * 캐릭터 식별자(ocid)를 조회합니다.
@@ -261,7 +266,7 @@ declare class MapleStoryApi {
261
266
  * @param ocid 캐릭터 식별자
262
267
  * @param dateOptions 조회 기준일 (KST)
263
268
  */
264
- getUnionInfo(ocid: string, dateOptions?: DateOptions): Promise<UnionDto>;
269
+ getUnion(ocid: string, dateOptions?: DateOptions): Promise<UnionDto>;
265
270
  /**
266
271
  * 유니온 공격대 정보를 조회합니다.
267
272
  * - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
@@ -271,7 +276,17 @@ declare class MapleStoryApi {
271
276
  * @param ocid 캐릭터 식별자
272
277
  * @param dateOptions 조회 기준일 (KST)
273
278
  */
274
- getUnionRaiderInfo(ocid: string, dateOptions?: DateOptions): Promise<UnionRaiderDto>;
279
+ getUnionRaider(ocid: string, dateOptions?: DateOptions): Promise<UnionRaiderDto>;
280
+ /**
281
+ * 유니온 아티팩트 정보를 조회합니다.
282
+ * - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
283
+ * - 유니온 정보 조회 API는 일자별 데이터로 매일 오전 1시부터 전일 데이터 조회가 가능합니다. (예를 들어, 12월 22일 데이터를 조회하면 22일 00시부터 23일의 00시 사이의 데이터가 조회됩니다.)
284
+ * - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
285
+ *
286
+ * @param ocid 캐릭터 식별자
287
+ * @param dateOptions 조회 기준일 (KST)
288
+ */
289
+ getUnionArtifact(ocid: string, dateOptions?: DateOptions): Promise<UnionArtifactDto>;
275
290
  /**
276
291
  * 길드 식별자(oguild_id) 정보를 조회합니다.
277
292
  * - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
@@ -347,6 +362,35 @@ declare class MapleStoryApi {
347
362
  * @param cursor 페이징 처리를 위한 cursor
348
363
  */
349
364
  getCubeHistory(count: number, cursor: string): Promise<CubeHistoryResponseDto>;
365
+ /**
366
+ * 잠재능력 재설정 이용 결과를 조회합니다.
367
+ * - 데이터는 매일 오전 4시, 전일 데이터가 갱신됩니다.
368
+ * - e.g. 오늘 오후 3시 5분 잠재능력 재설정 정보 조회 시, 어제의 잠재능력 재설정 정보 데이터를 조회할 수 있습니다.
369
+ * - 2024년 1월 25일 데이터부터 조회할 수 있습니다.
370
+ *
371
+ * @param count 한번에 가져오려는 결과의 개수(최소 10, 최대 1000)
372
+ */
373
+ getPotentialHistory(count: number): Promise<PotentialHistoryResponseDto>;
374
+ /**
375
+ * 지목한 날짜의 잠재능력 재설정 이용 결과를 조회합니다.
376
+ * - 데이터는 매일 오전 4시, 전일 데이터가 갱신됩니다.
377
+ * - e.g. 오늘 오후 3시 5분 잠재능력 재설정 정보 조회 시, 어제의 잠재능력 재설정 정보 데이터를 조회할 수 있습니다.
378
+ * - 2024년 1월 25일 데이터부터 조회할 수 있습니다.
379
+ *
380
+ * @param count 한번에 가져오려는 결과의 개수(최소 10, 최대 1000)
381
+ * @param dateOptions 조회 기준일 (KST)
382
+ */
383
+ getPotentialHistory(count: number, dateOptions: DateOptions): Promise<PotentialHistoryResponseDto>;
384
+ /**
385
+ * 잠재능력 재설정 이용 결과를 조회합니다.
386
+ * - 데이터는 매일 오전 4시, 전일 데이터가 갱신됩니다.
387
+ * - e.g. 오늘 오후 3시 5분 잠재능력 재설정 정보 조회 시, 어제의 잠재능력 재설정 정보 데이터를 조회할 수 있습니다.
388
+ * - 2024년 1월 25일 데이터부터 조회할 수 있습니다.
389
+ *
390
+ * @param count 한번에 가져오려는 결과의 개수(최소 10, 최대 1000)
391
+ * @param cursor 페이징 처리를 위한 cursor
392
+ */
393
+ getPotentialHistory(count: number, cursor: string): Promise<PotentialHistoryResponseDto>;
350
394
  /**
351
395
  * 종합 랭킹 정보를 조회합니다.
352
396
  * - 2023년 12월 22일 데이터부터 조회할 수 있습니다.
@@ -412,7 +456,6 @@ declare class MapleStoryApi {
412
456
  * 서버 점검 정보를 조회합니다.
413
457
  */
414
458
  getInspectionInfo(): Promise<InspectionInfoDto>;
415
- private buildHeaders;
416
459
  /**
417
460
  * API 서버의 데이터 갱신 시간에 따라 데이터가 조회 가능한 최신 날짜를 반환합니다.
418
461
  *
@@ -20,6 +20,8 @@ declare enum MapleStoryApiErrorCode {
20
20
  OPENAPI00004 = 3,
21
21
  OPENAPI00005 = 4,
22
22
  OPENAPI00006 = 5,
23
- OPENAPI00007 = 6
23
+ OPENAPI00007 = 6,
24
+ OPENAPI00009 = 7,
25
+ OPENAPI00010 = 8
24
26
  }
25
27
  export { MapleStoryApiError, MapleStoryApiErrorCode };
@@ -3,10 +3,18 @@ type CharacterAbilityDtoBody = {
3
3
  ability_grade: string;
4
4
  ability_info: CharacterAbilityInfoDtoBody[];
5
5
  remain_fame: number;
6
+ preset_no: number;
7
+ ability_preset_1: CharacterAbilityPresetDtoBody;
8
+ ability_preset_2: CharacterAbilityPresetDtoBody;
9
+ ability_preset_3: CharacterAbilityPresetDtoBody;
6
10
  };
7
11
  type CharacterAbilityInfoDtoBody = {
8
12
  ability_no: string;
9
13
  ability_grade: string;
10
14
  ability_value: string;
11
15
  };
12
- export { CharacterAbilityDtoBody, CharacterAbilityInfoDtoBody };
16
+ type CharacterAbilityPresetDtoBody = {
17
+ ability_preset_grade: string;
18
+ ability_info: CharacterAbilityInfoDtoBody[];
19
+ };
20
+ export { CharacterAbilityDtoBody, CharacterAbilityInfoDtoBody, CharacterAbilityPresetDtoBody };
@@ -9,6 +9,14 @@ type CharacterAndroidEquipmentDtoBody = {
9
9
  android_skin_name: string | null;
10
10
  android_cash_item_equipment: CharacterAndroidCashItemEquipmentDtoBody[];
11
11
  android_ear_sensor_clip_flag: string | null;
12
+ android_gender: string | null;
13
+ android_grade: string | null;
14
+ android_non_humanoid_flag: string | null;
15
+ android_shop_usable_flag: string | null;
16
+ preset_no: number | null;
17
+ android_preset_1: CharacterAndroidEquipmentPresetDtoBody | null;
18
+ android_preset_2: CharacterAndroidEquipmentPresetDtoBody | null;
19
+ android_preset_3: CharacterAndroidEquipmentPresetDtoBody | null;
12
20
  };
13
21
  type CharacterAndroidEquipmentHairDtoBody = {
14
22
  hair_name: string | null;
@@ -22,6 +30,20 @@ type CharacterAndroidEquipmentFaceDtoBody = {
22
30
  mix_color: string | null;
23
31
  mix_rate: string;
24
32
  };
33
+ type CharacterAndroidEquipmentPresetDtoBody = {
34
+ android_name: string;
35
+ android_nickname: string;
36
+ android_icon: string;
37
+ android_description: string;
38
+ android_gender: string | null;
39
+ android_grade: string;
40
+ android_skin_name: string;
41
+ android_hair: CharacterAndroidEquipmentHairDtoBody;
42
+ android_face: CharacterAndroidEquipmentFaceDtoBody;
43
+ android_ear_sensor_clip_flag: string;
44
+ android_non_humanoid_flag: string;
45
+ android_shop_usable_flag: string;
46
+ };
25
47
  type CharacterAndroidCashItemEquipmentDtoBody = {
26
48
  cash_item_equipment_part: string;
27
49
  cash_item_equipment_slot: string;
@@ -44,4 +66,4 @@ type CharacterAndroidCashItemEquipmentColoringPrismDtoBody = {
44
66
  saturation: number;
45
67
  value: number;
46
68
  };
47
- export type { CharacterAndroidEquipmentDtoBody, CharacterAndroidEquipmentHairDtoBody, CharacterAndroidEquipmentFaceDtoBody, CharacterAndroidCashItemEquipmentDtoBody, CharacterAndroidCashItemEquipmentOptionDtoBody, CharacterAndroidCashItemEquipmentColoringPrismDtoBody, };
69
+ export type { CharacterAndroidEquipmentDtoBody, CharacterAndroidEquipmentHairDtoBody, CharacterAndroidEquipmentFaceDtoBody, CharacterAndroidEquipmentPresetDtoBody, CharacterAndroidCashItemEquipmentDtoBody, CharacterAndroidCashItemEquipmentOptionDtoBody, CharacterAndroidCashItemEquipmentColoringPrismDtoBody, };
@@ -3,9 +3,11 @@ type CharacterCashItemEquipmentDtoBody = {
3
3
  character_gender: string;
4
4
  character_class: string;
5
5
  preset_no: number;
6
+ cash_item_equipment_base: CharacterCashItemEquipmentPresetDtoBody[];
6
7
  cash_item_equipment_preset_1: CharacterCashItemEquipmentPresetDtoBody[];
7
8
  cash_item_equipment_preset_2: CharacterCashItemEquipmentPresetDtoBody[];
8
9
  cash_item_equipment_preset_3: CharacterCashItemEquipmentPresetDtoBody[];
10
+ additional_cash_item_equipment_base: CharacterCashItemEquipmentPresetDtoBody[];
9
11
  additional_cash_item_equipment_preset_1: CharacterCashItemEquipmentPresetDtoBody[];
10
12
  additional_cash_item_equipment_preset_2: CharacterCashItemEquipmentPresetDtoBody[];
11
13
  additional_cash_item_equipment_preset_3: CharacterCashItemEquipmentPresetDtoBody[];
@@ -21,7 +23,7 @@ type CharacterCashItemEquipmentPresetDtoBody = {
21
23
  date_option_expire: string | null;
22
24
  cash_item_label: string | null;
23
25
  cash_item_coloring_prism: CharacterCashItemEquipmentColoringPrismDtoBody | null;
24
- base_preset_item_disable_flag: string;
26
+ item_gender: string | null;
25
27
  };
26
28
  type CharacterCashItemEquipmentOptionDtoBody = {
27
29
  option_type: string;
@@ -2,7 +2,11 @@ type CharacterItemEquipmentDtoBody = {
2
2
  date: string;
3
3
  character_gender: string;
4
4
  character_class: string;
5
+ preset_no: number | null;
5
6
  item_equipment: CharacterItemEquipmentInfoDtoBody[];
7
+ item_equipment_preset_1: CharacterItemEquipmentInfoDtoBody[] | null;
8
+ item_equipment_preset_2: CharacterItemEquipmentInfoDtoBody[] | null;
9
+ item_equipment_preset_3: CharacterItemEquipmentInfoDtoBody[] | null;
6
10
  title: CharacterItemEquipmentTitleDtoBody | null;
7
11
  dragon_equipment: CharacterItemEquipmentInfoDtoBody[];
8
12
  mechanic_equipment: CharacterItemEquipmentInfoDtoBody[];
@@ -1,8 +1,14 @@
1
1
  type CharacterLinkSkillDtoBody = {
2
2
  date: string;
3
3
  character_class: string;
4
- character_link_skill: CharacterLinkSkillInfoDtoBody;
4
+ character_link_skill: CharacterLinkSkillInfoDtoBody[];
5
+ character_link_skill_preset_1: CharacterLinkSkillInfoDtoBody[];
6
+ character_link_skill_preset_2: CharacterLinkSkillInfoDtoBody[];
7
+ character_link_skill_preset_3: CharacterLinkSkillInfoDtoBody[];
5
8
  character_owned_link_skill: CharacterLinkSkillInfoDtoBody;
9
+ character_owned_link_skill_preset_1: CharacterLinkSkillInfoDtoBody | null;
10
+ character_owned_link_skill_preset_2: CharacterLinkSkillInfoDtoBody | null;
11
+ character_owned_link_skill_preset_3: CharacterLinkSkillInfoDtoBody | null;
6
12
  };
7
13
  type CharacterLinkSkillInfoDtoBody = {
8
14
  skill_name: string;
@@ -1,32 +1,38 @@
1
1
  type CharacterPetEquipmentDtoBody = {
2
2
  date: string;
3
- pet_1_name: string;
4
- pet_1_nickname: string;
5
- pet_1_icon: string;
6
- pet_1_description: string;
7
- pet_1_equipment: CharacterPetEquipmentItemDtoBody;
8
- pet_1_auto_skill: CharacterPetEquipmentAutoSkillDtoBody;
3
+ pet_1_name: string | null;
4
+ pet_1_nickname: string | null;
5
+ pet_1_icon: string | null;
6
+ pet_1_description: string | null;
7
+ pet_1_equipment: CharacterPetEquipmentItemDtoBody | null;
8
+ pet_1_auto_skill: CharacterPetEquipmentAutoSkillDtoBody | null;
9
9
  pet_1_pet_type: string | null;
10
10
  pet_1_skill: string[];
11
- pet_1_date_expire: string;
12
- pet_2_name: string;
13
- pet_2_nickname: string;
14
- pet_2_icon: string;
15
- pet_2_description: string;
16
- pet_2_equipment: CharacterPetEquipmentItemDtoBody;
17
- pet_2_auto_skill: CharacterPetEquipmentAutoSkillDtoBody;
11
+ pet_1_date_expire: string | null;
12
+ pet_1_appearance: string | null;
13
+ pet_1_appearance_icon: string | null;
14
+ pet_2_name: string | null;
15
+ pet_2_nickname: string | null;
16
+ pet_2_icon: string | null;
17
+ pet_2_description: string | null;
18
+ pet_2_equipment: CharacterPetEquipmentItemDtoBody | null;
19
+ pet_2_auto_skill: CharacterPetEquipmentAutoSkillDtoBody | null;
18
20
  pet_2_pet_type: string | null;
19
21
  pet_2_skill: string[];
20
- pet_2_date_expire: string;
21
- pet_3_name: string;
22
- pet_3_nickname: string;
23
- pet_3_icon: string;
24
- pet_3_description: string;
25
- pet_3_equipment: CharacterPetEquipmentItemDtoBody;
26
- pet_3_auto_skill: CharacterPetEquipmentAutoSkillDtoBody;
22
+ pet_2_date_expire: string | null;
23
+ pet_2_appearance: string | null;
24
+ pet_2_appearance_icon: string | null;
25
+ pet_3_name: string | null;
26
+ pet_3_nickname: string | null;
27
+ pet_3_icon: string | null;
28
+ pet_3_description: string | null;
29
+ pet_3_equipment: CharacterPetEquipmentItemDtoBody | null;
30
+ pet_3_auto_skill: CharacterPetEquipmentAutoSkillDtoBody | null;
27
31
  pet_3_pet_type: string | null;
28
32
  pet_3_skill: string[];
29
- pet_3_date_expire: string;
33
+ pet_3_date_expire: string | null;
34
+ pet_3_appearance: string | null;
35
+ pet_3_appearance_icon: string | null;
30
36
  };
31
37
  type CharacterPetEquipmentItemDtoBody = {
32
38
  item_name: string | null;
@@ -34,7 +40,9 @@ type CharacterPetEquipmentItemDtoBody = {
34
40
  item_description: string | null;
35
41
  item_option: CharacterPetEquipmentItemOptionDtoBody[];
36
42
  scroll_upgrade: number;
37
- scroll_upgradeable: number;
43
+ scroll_upgradable: number;
44
+ item_shape: string | null;
45
+ item_shape_icon: string | null;
38
46
  };
39
47
  type CharacterPetEquipmentItemOptionDtoBody = {
40
48
  option_type: string;
@@ -0,0 +1,29 @@
1
+ type PotentialHistoryResponseDtoBody = {
2
+ count: number;
3
+ potential_history: PotentialHistoryDtoBody[];
4
+ next_cursor: string | null;
5
+ };
6
+ type PotentialHistoryDtoBody = {
7
+ id: string;
8
+ character_name: string;
9
+ date_create: string;
10
+ potential_type: string;
11
+ item_upgrade_result: string;
12
+ miracle_time_flag: string;
13
+ item_equipment_part: string;
14
+ item_level: number;
15
+ target_item: string;
16
+ potential_option_grade: string;
17
+ additional_potential_option_grade: string;
18
+ upgrade_guarantee: boolean;
19
+ upgrade_guarantee_count: number;
20
+ before_potential_option: PotentialResultOptionDtoBody[];
21
+ before_additional_potential_option: PotentialResultOptionDtoBody[];
22
+ after_potential_option: PotentialResultOptionDtoBody[];
23
+ after_additional_potential_option: PotentialResultOptionDtoBody[];
24
+ };
25
+ type PotentialResultOptionDtoBody = {
26
+ value: string;
27
+ grade: string;
28
+ };
29
+ export type { PotentialHistoryResponseDtoBody, PotentialHistoryDtoBody, PotentialResultOptionDtoBody, };
@@ -0,0 +1,20 @@
1
+ type UnionArtifactDtoBody = {
2
+ date: string;
3
+ union_artifact_effect: UnionArtifactEffectDtoBody[];
4
+ union_artifact_crystal: UnionArtifactCrystalDtoBody[];
5
+ union_artifact_remain_ap: number | null;
6
+ };
7
+ type UnionArtifactEffectDtoBody = {
8
+ name: string;
9
+ level: number;
10
+ };
11
+ type UnionArtifactCrystalDtoBody = {
12
+ name: string;
13
+ validity_flag: string;
14
+ date_expire: string;
15
+ level: number;
16
+ crystal_option_name_1: string;
17
+ crystal_option_name_2: string;
18
+ crystal_option_name_3: string;
19
+ };
20
+ export type { UnionArtifactDtoBody, UnionArtifactEffectDtoBody, UnionArtifactCrystalDtoBody, };
@@ -2,5 +2,8 @@ type UnionDtoBody = {
2
2
  date: string;
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 };