maplestory-openapi 3.7.0 → 3.8.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 (84) hide show
  1. package/dist/cjs/index.js +5 -0
  2. package/dist/cjs/maplestory/api/common/dto/character/characterItemEquipment.js +3 -0
  3. package/dist/cjs/maplestory/api/common/dto/union/unionChampion.js +14 -0
  4. package/dist/cjs/maplestory/api/kms/dto/character/characterItemEquipment.js +2 -1
  5. package/dist/cjs/maplestory/api/kms/dto/union/unionChampion.js +8 -3
  6. package/dist/cjs/maplestory/api/kms/mapleStoryApi.js +26 -20
  7. package/dist/cjs/maplestory/api/msea/dto/character/characterAndroidEquipment.js +36 -3
  8. package/dist/cjs/maplestory/api/msea/dto/character/characterBasic.js +4 -10
  9. package/dist/cjs/maplestory/api/msea/dto/character/characterBeautyEquipment.js +24 -2
  10. package/dist/cjs/maplestory/api/msea/dto/character/characterCashItemEquipment.js +17 -1
  11. package/dist/cjs/maplestory/api/msea/dto/character/characterItemEquipment.js +100 -5
  12. package/dist/cjs/maplestory/api/msea/dto/union/unionChampion.js +82 -0
  13. package/dist/cjs/maplestory/api/msea/mapleStoryApi.js +32 -0
  14. package/dist/cjs/maplestory/api/msea/msea.js +5 -0
  15. package/dist/cjs/maplestory/api/tms/dto/character/characterAndroidEquipment.js +36 -3
  16. package/dist/cjs/maplestory/api/tms/dto/character/characterBasic.js +1 -1
  17. package/dist/cjs/maplestory/api/tms/dto/character/characterBeautyEquipment.js +24 -2
  18. package/dist/cjs/maplestory/api/tms/dto/character/characterCashItemEquipment.js +12 -1
  19. package/dist/cjs/maplestory/api/tms/dto/character/characterItemEquipment.js +84 -4
  20. package/dist/cjs/maplestory/api/tms/dto/union/unionChampion.js +79 -0
  21. package/dist/cjs/maplestory/api/tms/mapleStoryApi.js +32 -0
  22. package/dist/cjs/maplestory/api/tms/tms.js +5 -0
  23. package/dist/esm/index.js +2 -1
  24. package/dist/esm/maplestory/api/common/dto/character/characterItemEquipment.js +3 -1
  25. package/dist/esm/maplestory/api/common/dto/union/unionChampion.js +8 -0
  26. package/dist/esm/maplestory/api/kms/dto/character/characterItemEquipment.js +3 -2
  27. package/dist/esm/maplestory/api/kms/dto/union/unionChampion.js +8 -3
  28. package/dist/esm/maplestory/api/kms/mapleStoryApi.js +26 -20
  29. package/dist/esm/maplestory/api/msea/dto/character/characterAndroidEquipment.js +36 -3
  30. package/dist/esm/maplestory/api/msea/dto/character/characterBasic.js +4 -10
  31. package/dist/esm/maplestory/api/msea/dto/character/characterBeautyEquipment.js +24 -2
  32. package/dist/esm/maplestory/api/msea/dto/character/characterCashItemEquipment.js +17 -1
  33. package/dist/esm/maplestory/api/msea/dto/character/characterItemEquipment.js +101 -7
  34. package/dist/esm/maplestory/api/msea/dto/union/unionChampion.js +76 -0
  35. package/dist/esm/maplestory/api/msea/mapleStoryApi.js +32 -0
  36. package/dist/esm/maplestory/api/msea/msea.js +2 -1
  37. package/dist/esm/maplestory/api/tms/dto/character/characterAndroidEquipment.js +36 -3
  38. package/dist/esm/maplestory/api/tms/dto/character/characterBasic.js +1 -1
  39. package/dist/esm/maplestory/api/tms/dto/character/characterBeautyEquipment.js +24 -2
  40. package/dist/esm/maplestory/api/tms/dto/character/characterCashItemEquipment.js +12 -1
  41. package/dist/esm/maplestory/api/tms/dto/character/characterItemEquipment.js +85 -6
  42. package/dist/esm/maplestory/api/tms/dto/union/unionChampion.js +73 -0
  43. package/dist/esm/maplestory/api/tms/mapleStoryApi.js +32 -0
  44. package/dist/esm/maplestory/api/tms/tms.js +2 -1
  45. package/dist/index.min.js +1 -1
  46. package/package.json +1 -1
  47. package/types/index.d.ts +1 -0
  48. package/types/maplestory/api/common/dto/character/characterAndroidEquipment.d.ts +3 -0
  49. package/types/maplestory/api/common/dto/character/characterBasic.d.ts +1 -0
  50. package/types/maplestory/api/common/dto/character/characterBeautyEquipment.d.ts +2 -0
  51. package/types/maplestory/api/common/dto/character/characterCashItemEquipment.d.ts +2 -0
  52. package/types/maplestory/api/common/dto/character/characterItemEquipment.d.ts +15 -0
  53. package/types/maplestory/api/common/dto/union/unionChampion.d.ts +15 -0
  54. package/types/maplestory/api/common/mapleStoryApi.d.ts +2 -0
  55. package/types/maplestory/api/kms/dto/character/characterItemEquipment.d.ts +1 -1
  56. package/types/maplestory/api/kms/dto/union/unionChampion.d.ts +4 -3
  57. package/types/maplestory/api/kms/mapleStoryApi.d.ts +13 -7
  58. package/types/maplestory/api/msea/dto/character/characterAndroidEquipment.d.ts +24 -0
  59. package/types/maplestory/api/msea/dto/character/characterBasic.d.ts +2 -6
  60. package/types/maplestory/api/msea/dto/character/characterBeautyEquipment.d.ts +16 -0
  61. package/types/maplestory/api/msea/dto/character/characterCashItemEquipment.d.ts +12 -0
  62. package/types/maplestory/api/msea/dto/character/characterItemEquipment.d.ts +71 -1
  63. package/types/maplestory/api/msea/dto/union/unionChampion.d.ts +56 -0
  64. package/types/maplestory/api/msea/index.d.ts +1 -0
  65. package/types/maplestory/api/msea/mapleStoryApi.d.ts +12 -0
  66. package/types/maplestory/api/msea/response/character/characterAndroidEquipmentBody.d.ts +3 -0
  67. package/types/maplestory/api/msea/response/character/characterBasicBody.d.ts +1 -1
  68. package/types/maplestory/api/msea/response/character/characterBeautyEquipmentBody.d.ts +2 -0
  69. package/types/maplestory/api/msea/response/character/characterCashItemEquipmentBody.d.ts +2 -0
  70. package/types/maplestory/api/msea/response/character/characterItemEquipmentBody.d.ts +14 -0
  71. package/types/maplestory/api/msea/response/union/unionChampionBody.d.ts +15 -0
  72. package/types/maplestory/api/tms/dto/character/characterAndroidEquipment.d.ts +24 -0
  73. package/types/maplestory/api/tms/dto/character/characterBasic.d.ts +1 -1
  74. package/types/maplestory/api/tms/dto/character/characterBeautyEquipment.d.ts +16 -0
  75. package/types/maplestory/api/tms/dto/character/characterCashItemEquipment.d.ts +8 -0
  76. package/types/maplestory/api/tms/dto/character/characterItemEquipment.d.ts +59 -1
  77. package/types/maplestory/api/tms/dto/union/unionChampion.d.ts +53 -0
  78. package/types/maplestory/api/tms/index.d.ts +1 -0
  79. package/types/maplestory/api/tms/mapleStoryApi.d.ts +12 -0
  80. package/types/maplestory/api/tms/response/character/characterAndroidEquipmentBody.d.ts +3 -0
  81. package/types/maplestory/api/tms/response/character/characterBeautyEquipmentBody.d.ts +2 -0
  82. package/types/maplestory/api/tms/response/character/characterCashItemEquipmentBody.d.ts +1 -0
  83. package/types/maplestory/api/tms/response/character/characterItemEquipmentBody.d.ts +11 -0
  84. package/types/maplestory/api/tms/response/union/unionChampionBody.d.ts +15 -0
@@ -1,5 +1,5 @@
1
1
  import * as base from '../../../common/dto/character/characterItemEquipment';
2
- import { CharacterItemEquipmentAddOptionBody, CharacterItemEquipmentBaseOptionBody, CharacterItemEquipmentBody, CharacterItemEquipmentDragonInfoBody, CharacterItemEquipmentEtcOptionBody, CharacterItemEquipmentExceptionalOptionBody, CharacterItemEquipmentInfoBody, CharacterItemEquipmentMechanicInfoBody, CharacterItemEquipmentStarforceOptionBody, CharacterItemEquipmentTitleBody, CharacterItemEquipmentTotalOptionBody } from '../../response/character/characterItemEquipmentBody';
2
+ import { CharacterItemEquipmentAddOptionBody, CharacterItemEquipmentBaseOptionBody, CharacterItemEquipmentBody, CharacterItemEquipmentDragonInfoBody, CharacterItemEquipmentEtcOptionBody, CharacterItemEquipmentExceptionalOptionBody, CharacterItemEquipmentInfoBody, CharacterItemEquipmentMechanicInfoBody, CharacterItemEquipmentMedalShapeBody, CharacterItemEquipmentStarforceOptionBody, CharacterItemEquipmentTitleBody, CharacterItemEquipmentTotalOptionBody } from '../../response/character/characterItemEquipmentBody';
3
3
  /**
4
4
  * 角色已裝備道具資訊
5
5
  */
@@ -40,6 +40,10 @@ export declare class CharacterItemEquipmentDto extends base.CharacterItemEquipme
40
40
  * 稱號資訊
41
41
  */
42
42
  title: CharacterItemEquipmentTitleDto | null;
43
+ /**
44
+ * 外型設定中已登錄勳章的外型資訊
45
+ */
46
+ medalShape: CharacterItemEquipmentMedalShapeDto | null;
43
47
  /**
44
48
  * 龍魔導士的龍道具資訊 (僅在龍魔導士時回應)
45
49
  */
@@ -96,6 +100,36 @@ export declare class CharacterItemEquipmentTitleDto extends base.CharacterItemEq
96
100
  titleShapeDescription: string | null;
97
101
  constructor(obj: CharacterItemEquipmentTitleBody);
98
102
  }
103
+ /**
104
+ * 外型設定中已登錄勳章的外型資訊
105
+ */
106
+ export declare class CharacterItemEquipmentMedalShapeDto extends base.CharacterItemEquipmentMedalShapeDto {
107
+ /**
108
+ * 外型設定中已登錄勳章的道具名稱
109
+ */
110
+ medalShapeName: string;
111
+ /**
112
+ * 外型設定中已登錄勳章的圖示
113
+ */
114
+ medalShapeIcon: string;
115
+ /**
116
+ * 外型設定中已登錄勳章的描述
117
+ */
118
+ medalShapeDescription: string;
119
+ /**
120
+ * 外型設定中已登錄勳章的鐵砧套用道具名稱
121
+ */
122
+ medalShapeChangedName: string;
123
+ /**
124
+ * 外型設定中已登錄勳章的鐵砧套用圖示
125
+ */
126
+ medalShapeChangedIcon: string;
127
+ /**
128
+ * 外型設定中已登錄勳章的鐵砧套用勳章說明
129
+ */
130
+ medalShapeChangedDescription: string;
131
+ constructor(obj: CharacterItemEquipmentMedalShapeBody);
132
+ }
99
133
  /**
100
134
  * 附加道具選項
101
135
  */
@@ -576,7 +610,15 @@ export declare class CharacterItemEquipmentDragonInfoDto extends base.CharacterI
576
610
  * Whether the equipment is expired
577
611
  */
578
612
  isExpired: boolean | null;
613
+ /**
614
+ * 自由造型券 使用狀態(0:未使用,1:已使用)
615
+ */
616
+ freestyleFlag: string | null;
579
617
  constructor(obj: CharacterItemEquipmentDragonInfoBody);
618
+ /**
619
+ * 自由造型券 使用狀態
620
+ */
621
+ get isFreestyleFlag(): boolean;
580
622
  }
581
623
  /**
582
624
  * 機甲戰神道具資訊
@@ -698,7 +740,15 @@ export declare class CharacterItemEquipmentMechanicInfoDto extends base.Characte
698
740
  * Whether the equipment is expired
699
741
  */
700
742
  isExpired: boolean | null;
743
+ /**
744
+ * 自由造型券 使用狀態(0:未使用,1:已使用)
745
+ */
746
+ freestyleFlag: string | null;
701
747
  constructor(obj: CharacterItemEquipmentMechanicInfoBody);
748
+ /**
749
+ * 自由造型券 使用狀態
750
+ */
751
+ get isFreestyleFlag(): boolean;
702
752
  }
703
753
  /**
704
754
  * 道具資訊
@@ -860,5 +910,13 @@ export declare class CharacterItemEquipmentInfoDto extends base.CharacterItemEqu
860
910
  * Whether the equipment is expired
861
911
  */
862
912
  isExpired: boolean | null;
913
+ /**
914
+ * 自由造型券 使用狀態(0:未使用,1:已使用)
915
+ */
916
+ freestyleFlag: string | null;
863
917
  constructor(obj: CharacterItemEquipmentInfoBody);
918
+ /**
919
+ * 自由造型券 使用狀態
920
+ */
921
+ get isFreestyleFlag(): boolean;
864
922
  }
@@ -0,0 +1,53 @@
1
+ import * as base from '../../../common/dto/union/unionChampion';
2
+ import { UnionChampionBadgeInfoBody, UnionChampionBody, UnionChampionInfoBody } from '../../response/union/unionChampionBody';
3
+ /**
4
+ * 聯盟冠軍資訊
5
+ */
6
+ export declare class UnionChampionDto extends base.UnionChampionDto {
7
+ date: Date | null;
8
+ /**
9
+ * 聯盟冠軍資訊
10
+ */
11
+ unionChampion: UnionChampionInfoDto[];
12
+ /**
13
+ * 冠軍徽章效果
14
+ */
15
+ championBadgeTotalInfo: UnionChampionBadgeInfoDto[];
16
+ constructor(obj: UnionChampionBody);
17
+ }
18
+ /**
19
+ * 聯盟冠軍徽章資訊
20
+ */
21
+ export declare class UnionChampionBadgeInfoDto extends base.UnionChampionBadgeInfoDto {
22
+ /**
23
+ * 聯盟冠軍徽章資訊
24
+ */
25
+ stat: string;
26
+ constructor(obj: UnionChampionBadgeInfoBody);
27
+ }
28
+ /**
29
+ * 聯盟冠軍資訊
30
+ */
31
+ export declare class UnionChampionInfoDto extends base.UnionChampionInfoDto {
32
+ /**
33
+ * 聯盟冠軍角色名稱
34
+ */
35
+ championName: string;
36
+ /**
37
+ * 聯盟冠軍欄位
38
+ */
39
+ championSlot: number;
40
+ /**
41
+ * 聯盟冠軍等級
42
+ */
43
+ championGrade: string;
44
+ /**
45
+ * 聯盟冠軍角色職業
46
+ */
47
+ championClass: string;
48
+ /**
49
+ * 聯盟冠軍徽章資訊
50
+ */
51
+ championBadgeInfo: UnionChampionBadgeInfoDto[];
52
+ constructor(obj: UnionChampionInfoBody);
53
+ }
@@ -24,4 +24,5 @@ export * from './dto/guild/guild';
24
24
  export * from './dto/guild/guildBasic';
25
25
  export * from './dto/union/union';
26
26
  export * from './dto/union/unionArtifact';
27
+ export * from './dto/union/unionChampion';
27
28
  export * from './dto/union/unionRaider';
@@ -23,6 +23,7 @@ import { GuildDto } from './dto/guild/guild';
23
23
  import { GuildBasicDto } from './dto/guild/guildBasic';
24
24
  import { UnionDto } from './dto/union/union';
25
25
  import { UnionArtifactDto } from './dto/union/unionArtifact';
26
+ import { UnionChampionDto } from './dto/union/unionChampion';
26
27
  import { UnionRaiderDto } from './dto/union/unionRaider';
27
28
  import { CharacterImageAction, CharacterImageEmotion, CharacterImageWeaponMotion } from '../common/enum/characterImage';
28
29
  import { DateOptions } from '../common/mapleStoryApi';
@@ -300,6 +301,17 @@ export declare class MapleStoryApi extends base.MapleStoryApi {
300
301
  * @param dateOptions 要搜尋的日期 (TST)
301
302
  */
302
303
  getUnionArtifact(ocid: string, dateOptions?: DateOptions): Promise<UnionArtifactDto | null>;
304
+ /**
305
+ * 查詢聯盟冠軍資訊。
306
+ * - 楓之谷遊戲資料平均在 15 分鐘後即可使用。
307
+ * - 您可以從 2025 年 12 月 18 日起搜尋資料。
308
+ * - 您可以輸入所需日期以搜尋過往資料。前一日的資料將於翌日凌晨 2:00 起提供。(當您搜尋 10 月 15 日的資料時,將會擷取從 15 日 00:00 到 16 日 00:00 的資料。)
309
+ * - 由於遊戲內容變動,OCID 可能會有所變更。在更新以 OCID 為基礎的服務時,請務必留意。
310
+ * - 此 API 提供來自楓之谷台灣的資料。
311
+ * @param ocid 角色辨識器
312
+ * @param dateOptions 要搜尋的日期 (TST)
313
+ */
314
+ getUnionChampion(ocid: string, dateOptions?: DateOptions): Promise<UnionChampionDto | null>;
303
315
  /**
304
316
  * 檢視公會識別碼 (oguild_id) 資訊。
305
317
  * - 楓之谷遊戲資料平均在 15 分鐘後即可使用。
@@ -23,12 +23,14 @@ export type CharacterAndroidEquipmentHairBody = {
23
23
  base_color: string | null;
24
24
  mix_color: string | null;
25
25
  mix_rate: string;
26
+ freestyle_flag: string | null;
26
27
  };
27
28
  export type CharacterAndroidEquipmentFaceBody = {
28
29
  face_name: string | null;
29
30
  base_color: string | null;
30
31
  mix_color: string | null;
31
32
  mix_rate: string;
33
+ freestyle_flag: string | null;
32
34
  };
33
35
  export type CharacterAndroidEquipmentSkinBody = {
34
36
  skin_name: string;
@@ -63,6 +65,7 @@ export type CharacterAndroidCashItemEquipmentBody = {
63
65
  cash_item_label: string | null;
64
66
  cash_item_coloring_prism: CharacterAndroidCashItemEquipmentColoringPrismBody | null;
65
67
  android_item_gender: string | null;
68
+ freestyle_flag: string | null;
66
69
  };
67
70
  export type CharacterAndroidCashItemEquipmentOptionBody = {
68
71
  option_type: string;
@@ -14,12 +14,14 @@ export type CharacterBeautyEquipmentHairBody = {
14
14
  base_color: string;
15
15
  mix_color: string | null;
16
16
  mix_rate: string;
17
+ freestyle_flag: string | null;
17
18
  };
18
19
  export type CharacterBeautyEquipmentFaceBody = {
19
20
  face_name: string;
20
21
  base_color: string;
21
22
  mix_color: string | null;
22
23
  mix_rate: string;
24
+ freestyle_flag: string | null;
23
25
  };
24
26
  export type CharacterBeautyEquipmentSkinBody = {
25
27
  skin_name: string;
@@ -26,6 +26,7 @@ export type CharacterCashItemEquipmentPresetBody = {
26
26
  cash_item_coloring_prism: CharacterCashItemEquipmentColoringPrismBody | null;
27
27
  item_gender: string | null;
28
28
  skills: string[];
29
+ freestyle_flag: string | null;
29
30
  };
30
31
  export type CharacterCashItemEquipmentOptionBody = {
31
32
  option_type: string;
@@ -8,6 +8,7 @@ export type CharacterItemEquipmentBody = {
8
8
  item_equipment_preset_2: CharacterItemEquipmentInfoBody[] | null;
9
9
  item_equipment_preset_3: CharacterItemEquipmentInfoBody[] | null;
10
10
  title: CharacterItemEquipmentTitleBody | null;
11
+ medal_shape: CharacterItemEquipmentMedalShapeBody | null;
11
12
  dragon_equipment: CharacterItemEquipmentDragonInfoBody[];
12
13
  mechanic_equipment: CharacterItemEquipmentMechanicInfoBody[];
13
14
  };
@@ -50,6 +51,7 @@ export type CharacterItemEquipmentInfoBody = {
50
51
  item_starforce_option: CharacterItemEquipmentStarforceOptionBody;
51
52
  special_ring_level: number;
52
53
  date_expire: string | null;
54
+ freestyle_flag: string | null;
53
55
  };
54
56
  export type CharacterItemEquipmentMechanicInfoBody = {
55
57
  item_equipment_part: string;
@@ -80,6 +82,7 @@ export type CharacterItemEquipmentMechanicInfoBody = {
80
82
  item_starforce_option: CharacterItemEquipmentOptionBody;
81
83
  special_ring_level: number;
82
84
  date_expire: string | null;
85
+ freestyle_flag: string | null;
83
86
  };
84
87
  export type CharacterItemEquipmentDragonInfoBody = CharacterItemEquipmentMechanicInfoBody;
85
88
  export type CharacterItemEquipmentOptionBody = {
@@ -193,3 +196,11 @@ export type CharacterItemEquipmentTitleBody = {
193
196
  title_shape_icon: string | null;
194
197
  title_shape_description: string | null;
195
198
  };
199
+ export type CharacterItemEquipmentMedalShapeBody = {
200
+ medal_shape_name: string;
201
+ medal_shape_icon: string;
202
+ medal_shape_description: string;
203
+ medal_shape_changed_name: string;
204
+ medal_shape_changed_icon: string;
205
+ medal_shape_changed_description: string;
206
+ };
@@ -0,0 +1,15 @@
1
+ export type UnionChampionBody = {
2
+ date: string;
3
+ union_champion: UnionChampionInfoBody[];
4
+ champion_badge_total_info: UnionChampionBadgeInfoBody[];
5
+ };
6
+ export type UnionChampionInfoBody = {
7
+ champion_name: string;
8
+ champion_slot: number;
9
+ champion_grade: string;
10
+ champion_class: string;
11
+ champion_badge_info: UnionChampionBadgeInfoBody[];
12
+ };
13
+ export type UnionChampionBadgeInfoBody = {
14
+ stat: string;
15
+ };