maplestory-openapi 3.10.0 → 3.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.
Files changed (65) hide show
  1. package/README.md +1 -0
  2. package/dist/cjs/_virtual/index.js_commonjs-exports2.js +2 -2
  3. package/dist/cjs/_virtual/index.js_commonjs-exports3.js +2 -2
  4. package/dist/cjs/maplestory/api/kms/dto/battlePractice/battlePracticeCharacterInfo.js +196 -0
  5. package/dist/cjs/maplestory/api/kms/dto/character/characterHexaMatrix.js +6 -1
  6. package/dist/cjs/maplestory/api/kms/dto/character/characterItemEquipment.js +92 -1
  7. package/dist/cjs/maplestory/api/kms/dto/character/characterPetEquipment.js +223 -1
  8. package/dist/cjs/maplestory/api/kms/dto/character/characterVMatrix.js +50 -1
  9. package/dist/cjs/maplestory/api/kms/dto/scheduler/schedulerCharacterState.js +177 -0
  10. package/dist/cjs/maplestory/api/kms/dto/union/unionRaider.js +35 -1
  11. package/dist/cjs/maplestory/api/kms/kms.js +10 -0
  12. package/dist/cjs/maplestory/api/kms/mapleStoryApi.js +38 -14
  13. package/dist/cjs/maplestory/api/kms/mapleStoryFriendsApi.js +1 -1
  14. package/dist/cjs/maplestory/api/msea/mapleStoryApi.js +1 -1
  15. package/dist/cjs/maplestory/api/tms/dto/character/characterFamiliar.js +156 -0
  16. package/dist/cjs/maplestory/api/tms/dto/character/characterPetEquipment.js +45 -1
  17. package/dist/cjs/maplestory/api/tms/mapleStoryApi.js +33 -1
  18. package/dist/cjs/maplestory/api/tms/tms.js +6 -0
  19. package/dist/cjs/node_modules/base64-js/index.js +1 -1
  20. package/dist/cjs/node_modules/buffer/index.js +2 -2
  21. package/dist/cjs/node_modules/ieee754/index.js +1 -1
  22. package/dist/esm/_virtual/index.js_commonjs-exports2.js +2 -2
  23. package/dist/esm/_virtual/index.js_commonjs-exports3.js +2 -2
  24. package/dist/esm/maplestory/api/kms/dto/battlePractice/battlePracticeCharacterInfo.js +196 -1
  25. package/dist/esm/maplestory/api/kms/dto/character/characterHexaMatrix.js +6 -1
  26. package/dist/esm/maplestory/api/kms/dto/character/characterItemEquipment.js +92 -2
  27. package/dist/esm/maplestory/api/kms/dto/character/characterPetEquipment.js +223 -2
  28. package/dist/esm/maplestory/api/kms/dto/character/characterVMatrix.js +50 -2
  29. package/dist/esm/maplestory/api/kms/dto/scheduler/schedulerCharacterState.js +170 -0
  30. package/dist/esm/maplestory/api/kms/dto/union/unionRaider.js +35 -2
  31. package/dist/esm/maplestory/api/kms/kms.js +6 -5
  32. package/dist/esm/maplestory/api/kms/mapleStoryApi.js +38 -14
  33. package/dist/esm/maplestory/api/kms/mapleStoryFriendsApi.js +1 -1
  34. package/dist/esm/maplestory/api/msea/mapleStoryApi.js +1 -1
  35. package/dist/esm/maplestory/api/tms/dto/character/characterFamiliar.js +149 -0
  36. package/dist/esm/maplestory/api/tms/dto/character/characterPetEquipment.js +45 -2
  37. package/dist/esm/maplestory/api/tms/mapleStoryApi.js +33 -1
  38. package/dist/esm/maplestory/api/tms/tms.js +2 -1
  39. package/dist/esm/node_modules/base64-js/index.js +2 -2
  40. package/dist/esm/node_modules/buffer/index.js +2 -2
  41. package/dist/esm/node_modules/ieee754/index.js +2 -2
  42. package/package.json +3 -3
  43. package/types/maplestory/api/kms/dto/battlePractice/battlePracticeCharacterInfo.d.ts +143 -1
  44. package/types/maplestory/api/kms/dto/character/characterHexaMatrix.d.ts +4 -0
  45. package/types/maplestory/api/kms/dto/character/characterItemEquipment.d.ts +63 -1
  46. package/types/maplestory/api/kms/dto/character/characterPetEquipment.d.ts +163 -1
  47. package/types/maplestory/api/kms/dto/character/characterVMatrix.d.ts +39 -1
  48. package/types/maplestory/api/kms/dto/scheduler/schedulerCharacterState.d.ts +137 -0
  49. package/types/maplestory/api/kms/dto/union/unionRaider.d.ts +27 -1
  50. package/types/maplestory/api/kms/index.d.ts +1 -0
  51. package/types/maplestory/api/kms/mapleStoryApi.d.ts +16 -8
  52. package/types/maplestory/api/kms/mapleStoryFriendsApi.d.ts +2 -2
  53. package/types/maplestory/api/kms/response/battlePractice/battlePracticeCharacterInfoBody.d.ts +36 -0
  54. package/types/maplestory/api/kms/response/character/characterHexaMatrixBody.d.ts +1 -0
  55. package/types/maplestory/api/kms/response/character/characterItemEquipmentBody.d.ts +15 -0
  56. package/types/maplestory/api/kms/response/character/characterPetEquipmentBody.d.ts +41 -0
  57. package/types/maplestory/api/kms/response/character/characterVMatrixBody.d.ts +11 -1
  58. package/types/maplestory/api/kms/response/scheduler/schedulerCharacterStateBody.d.ts +36 -0
  59. package/types/maplestory/api/kms/response/union/unionRaiderBody.d.ts +7 -0
  60. package/types/maplestory/api/tms/dto/character/characterFamiliar.d.ts +117 -0
  61. package/types/maplestory/api/tms/dto/character/characterPetEquipment.d.ts +35 -1
  62. package/types/maplestory/api/tms/index.d.ts +1 -0
  63. package/types/maplestory/api/tms/mapleStoryApi.d.ts +12 -0
  64. package/types/maplestory/api/tms/response/character/characterFamiliarBody.d.ts +31 -0
  65. package/types/maplestory/api/tms/response/character/characterPetEquipmentBody.d.ts +9 -0
@@ -0,0 +1,156 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ /**
6
+ * 萌獸 資訊
7
+ */
8
+ class CharacterFamiliarDto {
9
+ /**
10
+ * 要搜尋的日期 (TST,每日資料中的小時與分鐘將顯示為 0)
11
+ */
12
+ date;
13
+ /**
14
+ * 萌獸 鏈路插槽資訊
15
+ */
16
+ familiarLinkSlot;
17
+ /**
18
+ * 萌獸 細節
19
+ */
20
+ familiarInfo;
21
+ constructor(obj) {
22
+ const { date, familiar_link_slot, familiar_info } = obj;
23
+ this.date = date ? new Date(date) : null;
24
+ this.familiarLinkSlot = familiar_link_slot.map((x) => new CharacterFamiliarLinkSlotDto(x));
25
+ this.familiarInfo = familiar_info.map((x) => new CharacterFamiliarInfoDto(x));
26
+ }
27
+ }
28
+ /**
29
+ * 萌獸 鏈路插槽資訊
30
+ */
31
+ class CharacterFamiliarLinkSlotDto {
32
+ /**
33
+ * 插槽標識符 (1~3, vip)
34
+ */
35
+ slotId;
36
+ /**
37
+ * 連結的 萌獸 名稱 (如果插槽中沒有任何關聯,則為 null)
38
+ */
39
+ familiarName;
40
+ /**
41
+ * 已啟用還是未啟用 (true, false)
42
+ */
43
+ activeFlag;
44
+ /**
45
+ * 截止日期
46
+ */
47
+ expireDate;
48
+ constructor(obj) {
49
+ const { slot_id, familiar_name, active_flag, expire_date } = obj;
50
+ this.slotId = slot_id;
51
+ this.familiarName = familiar_name;
52
+ this.activeFlag = active_flag;
53
+ this.expireDate = expire_date ? new Date(expire_date) : null;
54
+ }
55
+ }
56
+ /**
57
+ * 萌獸 細節
58
+ */
59
+ class CharacterFamiliarInfoDto {
60
+ /**
61
+ * 萌獸 名稱
62
+ */
63
+ familiarName;
64
+ /**
65
+ * 萌獸 暱稱
66
+ */
67
+ familiarNickname;
68
+ /**
69
+ * 特別與否
70
+ */
71
+ familiarSpecialFlag;
72
+ /**
73
+ * 萌獸 情況
74
+ */
75
+ familiarState;
76
+ /**
77
+ * 等級
78
+ */
79
+ familiarLevel;
80
+ /**
81
+ * 經驗
82
+ */
83
+ familiarExp;
84
+ /**
85
+ * 具備的技能
86
+ */
87
+ skillName;
88
+ /**
89
+ * 選項等級
90
+ */
91
+ optionLevel;
92
+ /**
93
+ * 選項訊息
94
+ */
95
+ option;
96
+ /**
97
+ * 等級
98
+ */
99
+ familiarGrade;
100
+ /**
101
+ * 外觀名稱
102
+ */
103
+ lookName;
104
+ /**
105
+ * 當前是否已被召喚
106
+ */
107
+ summonedFlag;
108
+ /**
109
+ * 連結槽索引 (1~3, vip, not link)
110
+ */
111
+ slotId;
112
+ constructor(obj) {
113
+ const { familiar_name, familiar_nickname, familiar_special_flag, familiar_state, familiar_level, familiar_exp, skill_name, option_level, option, familiar_grade, look_name, summoned_flag, slot_id, } = obj;
114
+ this.familiarName = familiar_name;
115
+ this.familiarNickname = familiar_nickname;
116
+ this.familiarSpecialFlag = familiar_special_flag;
117
+ this.familiarState = familiar_state;
118
+ this.familiarLevel = familiar_level;
119
+ this.familiarExp = familiar_exp;
120
+ this.skillName = skill_name;
121
+ this.optionLevel = option_level;
122
+ this.option = option.map((x) => new CharacterFamiliarInfoOptionDto(x));
123
+ this.familiarGrade = familiar_grade;
124
+ this.lookName = look_name;
125
+ this.summonedFlag = summoned_flag;
126
+ this.slotId = slot_id;
127
+ }
128
+ }
129
+ /**
130
+ * 選項訊息
131
+ */
132
+ class CharacterFamiliarInfoOptionDto {
133
+ /**
134
+ * 選項號
135
+ */
136
+ optionNo;
137
+ /**
138
+ * 選項名稱
139
+ */
140
+ optionName;
141
+ /**
142
+ * 選擇權價值
143
+ */
144
+ optionValue;
145
+ constructor(obj) {
146
+ const { option_no, option_name, option_value } = obj;
147
+ this.optionNo = option_no;
148
+ this.optionName = option_name;
149
+ this.optionValue = option_value;
150
+ }
151
+ }
152
+
153
+ exports.CharacterFamiliarDto = CharacterFamiliarDto;
154
+ exports.CharacterFamiliarInfoDto = CharacterFamiliarInfoDto;
155
+ exports.CharacterFamiliarInfoOptionDto = CharacterFamiliarInfoOptionDto;
156
+ exports.CharacterFamiliarLinkSlotDto = CharacterFamiliarLinkSlotDto;
@@ -60,6 +60,10 @@ class CharacterPetEquipmentDto extends characterPetEquipment.CharacterPetEquipme
60
60
  * 寵物 1 外型圖示
61
61
  */
62
62
  pet1AppearanceIcon;
63
+ /**
64
+ * 寵物1 潛在的
65
+ */
66
+ pet1Potential;
63
67
  /**
64
68
  * 寵物 2 名稱
65
69
  */
@@ -108,6 +112,10 @@ class CharacterPetEquipmentDto extends characterPetEquipment.CharacterPetEquipme
108
112
  * 寵物 2 外型圖示
109
113
  */
110
114
  pet2AppearanceIcon;
115
+ /**
116
+ * 寵物2 潛在的
117
+ */
118
+ pet2Potential;
111
119
  /**
112
120
  * 寵物 3 名稱
113
121
  */
@@ -156,9 +164,13 @@ class CharacterPetEquipmentDto extends characterPetEquipment.CharacterPetEquipme
156
164
  * 寵物 3 外型圖示
157
165
  */
158
166
  pet3AppearanceIcon;
167
+ /**
168
+ * 寵物3 潛在的
169
+ */
170
+ pet3Potential;
159
171
  constructor(obj) {
160
172
  super();
161
- const { date, pet_1_name, pet_1_nickname, pet_1_icon, pet_1_description, pet_1_equipment, pet_1_auto_skill, pet_1_pet_type, pet_1_skill, pet_1_date_expire, pet_1_appearance, pet_1_appearance_icon, pet_2_name, pet_2_nickname, pet_2_icon, pet_2_description, pet_2_equipment, pet_2_auto_skill, pet_2_pet_type, pet_2_skill, pet_2_date_expire, pet_2_appearance, pet_2_appearance_icon, pet_3_name, pet_3_nickname, pet_3_icon, pet_3_description, pet_3_equipment, pet_3_auto_skill, pet_3_pet_type, pet_3_skill, pet_3_date_expire, pet_3_appearance, pet_3_appearance_icon, } = obj;
173
+ const { date, pet_1_name, pet_1_nickname, pet_1_icon, pet_1_description, pet_1_equipment, pet_1_auto_skill, pet_1_pet_type, pet_1_skill, pet_1_date_expire, pet_1_appearance, pet_1_appearance_icon, pet_1_potential, pet_2_name, pet_2_nickname, pet_2_icon, pet_2_description, pet_2_equipment, pet_2_auto_skill, pet_2_pet_type, pet_2_skill, pet_2_date_expire, pet_2_appearance, pet_2_appearance_icon, pet_2_potential, pet_3_name, pet_3_nickname, pet_3_icon, pet_3_description, pet_3_equipment, pet_3_auto_skill, pet_3_pet_type, pet_3_skill, pet_3_date_expire, pet_3_appearance, pet_3_appearance_icon, pet_3_potential, } = obj;
162
174
  this.date = date ? new Date(date) : null;
163
175
  this.pet1Name = pet_1_name;
164
176
  this.pet1Nickname = pet_1_nickname;
@@ -174,6 +186,7 @@ class CharacterPetEquipmentDto extends characterPetEquipment.CharacterPetEquipme
174
186
  this.pet1Skill = pet_1_skill;
175
187
  this.pet1Appearance = pet_1_appearance;
176
188
  this.pet1AppearanceIcon = pet_1_appearance_icon;
189
+ this.pet1Potential = pet_1_potential.map((potential) => new CharacterPetEquipmentPotentialDto(potential));
177
190
  this.pet2Name = pet_2_name;
178
191
  this.pet2Nickname = pet_2_nickname;
179
192
  this.pet2Icon = pet_2_icon;
@@ -188,6 +201,7 @@ class CharacterPetEquipmentDto extends characterPetEquipment.CharacterPetEquipme
188
201
  this.pet2Skill = pet_2_skill;
189
202
  this.pet2Appearance = pet_2_appearance;
190
203
  this.pet2AppearanceIcon = pet_2_appearance_icon;
204
+ this.pet2Potential = pet_2_potential.map((potential) => new CharacterPetEquipmentPotentialDto(potential));
191
205
  this.pet3Name = pet_3_name;
192
206
  this.pet3Nickname = pet_3_nickname;
193
207
  this.pet3Icon = pet_3_icon;
@@ -202,6 +216,7 @@ class CharacterPetEquipmentDto extends characterPetEquipment.CharacterPetEquipme
202
216
  this.pet3Skill = pet_3_skill;
203
217
  this.pet3Appearance = pet_3_appearance;
204
218
  this.pet3AppearanceIcon = pet_3_appearance_icon;
219
+ this.pet3Potential = pet_3_potential.map((potential) => new CharacterPetEquipmentPotentialDto(potential));
205
220
  if (pet_1_date_expire === 'expired') {
206
221
  this.pet1Expired = true;
207
222
  }
@@ -325,8 +340,37 @@ class CharacterPetEquipmentItemDto extends characterPetEquipment.CharacterPetEqu
325
340
  this.itemShapeIcon = item_shape_icon;
326
341
  }
327
342
  }
343
+ /**
344
+ * 寵物 潛在的
345
+ */
346
+ class CharacterPetEquipmentPotentialDto {
347
+ /**
348
+ * 潛在的 步 (1~3, 0:停用)
349
+ */
350
+ potentialStep;
351
+ /**
352
+ * 潛在的 類型
353
+ */
354
+ potentialType;
355
+ /**
356
+ * 潛在的 增加 (對於攻擊力/魔法攻擊力以外的其他潛在能力類型,百分比)
357
+ */
358
+ potentialIncrease1;
359
+ /**
360
+ * 潛在的 增加 2 (如果潛在能力類型為攻擊力/魔法攻擊力,則攻擊力分配給 potential_increase_1,魔法攻擊力分配給 potential_increase_2;如果潛在能力類型為最大生命值/最大魔法值,則最大生命值分配給 potential_increase_1,最大魔法值分配給 potential_increase_2。)
361
+ */
362
+ potentialIncrease2;
363
+ constructor(obj) {
364
+ const { potential_step, potential_type, potential_increase1, potential_increase2, } = obj;
365
+ this.potentialStep = potential_step;
366
+ this.potentialType = potential_type;
367
+ this.potentialIncrease1 = potential_increase1;
368
+ this.potentialIncrease2 = potential_increase2;
369
+ }
370
+ }
328
371
 
329
372
  exports.CharacterPetEquipmentAutoSkillDto = CharacterPetEquipmentAutoSkillDto;
330
373
  exports.CharacterPetEquipmentDto = CharacterPetEquipmentDto;
331
374
  exports.CharacterPetEquipmentItemDto = CharacterPetEquipmentItemDto;
332
375
  exports.CharacterPetEquipmentItemOptionDto = CharacterPetEquipmentItemOptionDto;
376
+ exports.CharacterPetEquipmentPotentialDto = CharacterPetEquipmentPotentialDto;
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var axios = require('axios');
6
6
  require('../../../node_modules/buffer/index.js');
7
+ var lib = require('../common/lib.js');
7
8
  var character = require('./dto/character/character.js');
8
9
  var characterAbility = require('./dto/character/characterAbility.js');
9
10
  var characterAndroidEquipment = require('./dto/character/characterAndroidEquipment.js');
@@ -11,6 +12,7 @@ var characterBasic = require('./dto/character/characterBasic.js');
11
12
  var characterBeautyEquipment = require('./dto/character/characterBeautyEquipment.js');
12
13
  var characterCashItemEquipment = require('./dto/character/characterCashItemEquipment.js');
13
14
  var characterDojang = require('./dto/character/characterDojang.js');
15
+ var characterFamiliar = require('./dto/character/characterFamiliar.js');
14
16
  var characterHexaMatrix = require('./dto/character/characterHexaMatrix.js');
15
17
  var characterHexaMatrixStat = require('./dto/character/characterHexaMatrixStat.js');
16
18
  var characterHyperStat = require('./dto/character/characterHyperStat.js');
@@ -33,7 +35,6 @@ var unionChampion = require('./dto/union/unionChampion.js');
33
35
  var unionRaider = require('./dto/union/unionRaider.js');
34
36
  var characterImage = require('../common/enum/characterImage.js');
35
37
  var mapleStoryApi = require('../common/mapleStoryApi.js');
36
- var lib = require('../common/lib.js');
37
38
  var index = require('../../../_virtual/index.js_commonjs-exports.js');
38
39
 
39
40
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -725,6 +726,37 @@ class MapleStoryApi extends mapleStoryApi.MapleStoryApi {
725
726
  }
726
727
  return new characterDojang.CharacterDojangDto(data);
727
728
  }
729
+ /**
730
+ * 檢視萌獸資訊。
731
+ * - 楓之谷遊戲資料平均在 15 分鐘後即可使用。
732
+ * - 您可以從 2025 年 10 月 15 日起搜尋資料。
733
+ * - 您可以輸入所需日期以搜尋過往資料。前一日的資料將於翌日凌晨 2:00 起提供。(當您搜尋 10 月 15 日的資料時,將會擷取從 15 日 00:00 到 16 日 00:00 的資料。)
734
+ * - 由於遊戲內容變動,OCID 可能會有所變更。在更新以 OCID 為基礎的服務時,請務必留意。
735
+ * - 此 API 提供來自楓之谷台灣的資料。
736
+ * @param ocid 角色辨識器
737
+ * @param dateOptions 要搜尋的日期 (TST)
738
+ */
739
+ async getCharacterFamiliar(ocid, dateOptions) {
740
+ const path = `${this.subUrl}/v1/character/familiar`;
741
+ const date = dateOptions
742
+ ? this.toDateString(dateOptions, {
743
+ year: 2025,
744
+ month: 10,
745
+ day: 15,
746
+ })
747
+ : undefined;
748
+ const query = {
749
+ ocid: ocid,
750
+ date: date,
751
+ };
752
+ const { data } = await this.client.get(path, {
753
+ params: query,
754
+ });
755
+ if (this.isEmptyResponse(data)) {
756
+ return null;
757
+ }
758
+ return new characterFamiliar.CharacterFamiliarDto(data);
759
+ }
728
760
  //#endregion
729
761
  //#region 檢視聯盟資訊
730
762
  /**
@@ -10,6 +10,7 @@ var characterBasic = require('./dto/character/characterBasic.js');
10
10
  var characterBeautyEquipment = require('./dto/character/characterBeautyEquipment.js');
11
11
  var characterCashItemEquipment = require('./dto/character/characterCashItemEquipment.js');
12
12
  var characterDojang = require('./dto/character/characterDojang.js');
13
+ var characterFamiliar = require('./dto/character/characterFamiliar.js');
13
14
  var characterHexaMatrix = require('./dto/character/characterHexaMatrix.js');
14
15
  var characterHexaMatrixStat = require('./dto/character/characterHexaMatrixStat.js');
15
16
  var characterHyperStat = require('./dto/character/characterHyperStat.js');
@@ -56,6 +57,10 @@ exports.CharacterCashItemEquipmentDto = characterCashItemEquipment.CharacterCash
56
57
  exports.CharacterCashItemEquipmentOptionDto = characterCashItemEquipment.CharacterCashItemEquipmentOptionDto;
57
58
  exports.CharacterCashItemEquipmentPresetDto = characterCashItemEquipment.CharacterCashItemEquipmentPresetDto;
58
59
  exports.CharacterDojangDto = characterDojang.CharacterDojangDto;
60
+ exports.CharacterFamiliarDto = characterFamiliar.CharacterFamiliarDto;
61
+ exports.CharacterFamiliarInfoDto = characterFamiliar.CharacterFamiliarInfoDto;
62
+ exports.CharacterFamiliarInfoOptionDto = characterFamiliar.CharacterFamiliarInfoOptionDto;
63
+ exports.CharacterFamiliarLinkSlotDto = characterFamiliar.CharacterFamiliarLinkSlotDto;
59
64
  exports.CharacterHexaMatrixDto = characterHexaMatrix.CharacterHexaMatrixDto;
60
65
  exports.CharacterHexaMatrixEquipmentDto = characterHexaMatrix.CharacterHexaMatrixEquipmentDto;
61
66
  exports.CharacterHexaMatrixEquipmentLinkedSkillDto = characterHexaMatrix.CharacterHexaMatrixEquipmentLinkedSkillDto;
@@ -82,6 +87,7 @@ exports.CharacterPetEquipmentAutoSkillDto = characterPetEquipment.CharacterPetEq
82
87
  exports.CharacterPetEquipmentDto = characterPetEquipment.CharacterPetEquipmentDto;
83
88
  exports.CharacterPetEquipmentItemDto = characterPetEquipment.CharacterPetEquipmentItemDto;
84
89
  exports.CharacterPetEquipmentItemOptionDto = characterPetEquipment.CharacterPetEquipmentItemOptionDto;
90
+ exports.CharacterPetEquipmentPotentialDto = characterPetEquipment.CharacterPetEquipmentPotentialDto;
85
91
  exports.CharacterPopularityDto = characterPopularity.CharacterPopularityDto;
86
92
  exports.CharacterPropensityDto = characterPropensity.CharacterPropensityDto;
87
93
  exports.CharacterSetEffectDto = characterSetEffect.CharacterSetEffectDto;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('../../_virtual/index.js_commonjs-exports3.js');
3
+ var index = require('../../_virtual/index.js_commonjs-exports2.js');
4
4
 
5
5
  index.__exports.byteLength = byteLength;
6
6
  index.__exports.toByteArray = toByteArray;
@@ -3,8 +3,8 @@
3
3
  var index = require('../../_virtual/index.js_commonjs-exports.js');
4
4
  require('../base64-js/index.js');
5
5
  require('../ieee754/index.js');
6
- var index$1 = require('../../_virtual/index.js_commonjs-exports3.js');
7
- var index$2 = require('../../_virtual/index.js_commonjs-exports2.js');
6
+ var index$1 = require('../../_virtual/index.js_commonjs-exports2.js');
7
+ var index$2 = require('../../_virtual/index.js_commonjs-exports3.js');
8
8
 
9
9
  /*!
10
10
  * The buffer module from node.js, for the browser.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('../../_virtual/index.js_commonjs-exports2.js');
3
+ var index = require('../../_virtual/index.js_commonjs-exports3.js');
4
4
 
5
5
  /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
6
6
 
@@ -1,3 +1,3 @@
1
- var ieee754 = {};
1
+ var base64Js = {};
2
2
 
3
- export { ieee754 as __exports };
3
+ export { base64Js as __exports };
@@ -1,3 +1,3 @@
1
- var base64Js = {};
1
+ var ieee754 = {};
2
2
 
3
- export { base64Js as __exports };
3
+ export { ieee754 as __exports };
@@ -1648,6 +1648,10 @@ class BattlePracticeCharacterCashItemOptionDto {
1648
1648
  * 연무장 입장 시 캐릭터 장착 펫 정보
1649
1649
  */
1650
1650
  class BattlePracticeCharacterPetObjectDto {
1651
+ /**
1652
+ * 활성화된 펫 유형 (0:캐릭터 펫, 1:월드 공유 펫)
1653
+ */
1654
+ petActivateFlag;
1651
1655
  /**
1652
1656
  * 펫1 명
1653
1657
  */
@@ -1756,7 +1760,120 @@ class BattlePracticeCharacterPetObjectDto {
1756
1760
  * 펫3 마법의 시간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
1757
1761
  */
1758
1762
  pet3DateExpire;
1763
+ /**
1764
+ * 월드 공유 펫1 명
1765
+ */
1766
+ worldSharePet1Name;
1767
+ /**
1768
+ * 월드 공유 펫1 닉네임
1769
+ */
1770
+ worldSharePet1Nickname;
1771
+ /**
1772
+ * 월드 공유 펫1 아이콘
1773
+ */
1774
+ worldSharePet1Icon;
1775
+ /**
1776
+ * 월드 공유 펫1 설명
1777
+ */
1778
+ worldSharePet1Description;
1779
+ /**
1780
+ * 월드 공유 펫1 원더 펫 종류
1781
+ */
1782
+ worldSharePet1PetType;
1783
+ /**
1784
+ * 월드 공유 펫1 장착 정보
1785
+ */
1786
+ worldSharePet1Equipment;
1787
+ /**
1788
+ * 월드 공유 펫1 버프 자동스킬 정보
1789
+ */
1790
+ worldSharePet1AutoSkill;
1791
+ /**
1792
+ * 월드 공유 펫1 펫 보유 스킬
1793
+ */
1794
+ worldSharePet1Skill;
1795
+ /**
1796
+ * 월드 공유 펫1 마법의 시간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
1797
+ */
1798
+ worldSharePet1DateExpire;
1799
+ /**
1800
+ * 월드 공유 펫2 명
1801
+ */
1802
+ worldSharePet2Name;
1803
+ /**
1804
+ * 월드 공유 펫2 닉네임
1805
+ */
1806
+ worldSharePet2Nickname;
1807
+ /**
1808
+ * 월드 공유 펫2 아이콘
1809
+ */
1810
+ worldSharePet2Icon;
1811
+ /**
1812
+ * 월드 공유 펫2 설명
1813
+ */
1814
+ worldSharePet2Description;
1815
+ /**
1816
+ * 월드 공유 펫2 원더 펫 종류
1817
+ */
1818
+ worldSharePet2PetType;
1819
+ /**
1820
+ * 월드 공유 펫2 장착 정보
1821
+ */
1822
+ worldSharePet2Equipment;
1823
+ /**
1824
+ * 월드 공유 펫2 버프 자동스킬 정보
1825
+ */
1826
+ worldSharePet2AutoSkill;
1827
+ /**
1828
+ * 월드 공유 펫2 펫 보유 스킬
1829
+ */
1830
+ worldSharePet2Skill;
1831
+ /**
1832
+ * 월드 공유 펫2 마법의 시간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
1833
+ */
1834
+ worldSharePet2DateExpire;
1835
+ /**
1836
+ * 월드 공유 펫3 명
1837
+ */
1838
+ worldSharePet3Name;
1839
+ /**
1840
+ * 월드 공유 펫3 닉네임
1841
+ */
1842
+ worldSharePet3Nickname;
1843
+ /**
1844
+ * 월드 공유 펫3 아이콘
1845
+ */
1846
+ worldSharePet3Icon;
1847
+ /**
1848
+ * 월드 공유 펫3 설명
1849
+ */
1850
+ worldSharePet3Description;
1851
+ /**
1852
+ * 월드 공유 펫3 원더 펫 종류
1853
+ */
1854
+ worldSharePet3PetType;
1855
+ /**
1856
+ * 월드 공유 펫3 장착 정보
1857
+ */
1858
+ worldSharePet3Equipment;
1859
+ /**
1860
+ * 월드 공유 펫3 버프 자동스킬 정보
1861
+ */
1862
+ worldSharePet3AutoSkill;
1863
+ /**
1864
+ * 월드 공유 펫3 펫 보유 스킬
1865
+ */
1866
+ worldSharePet3Skill;
1867
+ /**
1868
+ * 월드 공유 펫3 마법의 시간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
1869
+ */
1870
+ worldSharePet3DateExpire;
1871
+ /**
1872
+ * 루나 쁘띠 펫 스킬 정보
1873
+ */
1874
+ petiteLunaPetSkill;
1759
1875
  constructor(obj) {
1876
+ this.petActivateFlag = obj.pet_activate_flag ?? null;
1760
1877
  this.pet1Name = obj.pet_1_name;
1761
1878
  this.pet1Nickname = obj.pet_1_nickname;
1762
1879
  this.pet1Icon = obj.pet_1_icon;
@@ -1802,6 +1919,52 @@ class BattlePracticeCharacterPetObjectDto {
1802
1919
  this.pet3DateExpire = obj.pet_3_date_expire
1803
1920
  ? new Date(obj.pet_3_date_expire)
1804
1921
  : null;
1922
+ this.worldSharePet1Name = obj.world_share_pet_1_name ?? null;
1923
+ this.worldSharePet1Nickname = obj.world_share_pet_1_nickname ?? null;
1924
+ this.worldSharePet1Icon = obj.world_share_pet_1_icon ?? null;
1925
+ this.worldSharePet1Description = obj.world_share_pet_1_description ?? null;
1926
+ this.worldSharePet1PetType = obj.world_share_pet_1_pet_type ?? null;
1927
+ this.worldSharePet1Equipment = obj.world_share_pet_1_equipment
1928
+ ? new BattlePracticeCharacterPetEquipmentDto(obj.world_share_pet_1_equipment)
1929
+ : null;
1930
+ this.worldSharePet1AutoSkill = obj.world_share_pet_1_auto_skill
1931
+ ? new BattlePracticeCharacterPetAutoSkillDto(obj.world_share_pet_1_auto_skill)
1932
+ : null;
1933
+ this.worldSharePet1Skill = obj.world_share_pet_1_skill ?? [];
1934
+ this.worldSharePet1DateExpire = obj.world_share_pet_1_date_expire
1935
+ ? new Date(obj.world_share_pet_1_date_expire)
1936
+ : null;
1937
+ this.worldSharePet2Name = obj.world_share_pet_2_name ?? null;
1938
+ this.worldSharePet2Nickname = obj.world_share_pet_2_nickname ?? null;
1939
+ this.worldSharePet2Icon = obj.world_share_pet_2_icon ?? null;
1940
+ this.worldSharePet2Description = obj.world_share_pet_2_description ?? null;
1941
+ this.worldSharePet2PetType = obj.world_share_pet_2_pet_type ?? null;
1942
+ this.worldSharePet2Equipment = obj.world_share_pet_2_equipment
1943
+ ? new BattlePracticeCharacterPetEquipmentDto(obj.world_share_pet_2_equipment)
1944
+ : null;
1945
+ this.worldSharePet2AutoSkill = obj.world_share_pet_2_auto_skill
1946
+ ? new BattlePracticeCharacterPetAutoSkillDto(obj.world_share_pet_2_auto_skill)
1947
+ : null;
1948
+ this.worldSharePet2Skill = obj.world_share_pet_2_skill ?? [];
1949
+ this.worldSharePet2DateExpire = obj.world_share_pet_2_date_expire
1950
+ ? new Date(obj.world_share_pet_2_date_expire)
1951
+ : null;
1952
+ this.worldSharePet3Name = obj.world_share_pet_3_name ?? null;
1953
+ this.worldSharePet3Nickname = obj.world_share_pet_3_nickname ?? null;
1954
+ this.worldSharePet3Icon = obj.world_share_pet_3_icon ?? null;
1955
+ this.worldSharePet3Description = obj.world_share_pet_3_description ?? null;
1956
+ this.worldSharePet3PetType = obj.world_share_pet_3_pet_type ?? null;
1957
+ this.worldSharePet3Equipment = obj.world_share_pet_3_equipment
1958
+ ? new BattlePracticeCharacterPetEquipmentDto(obj.world_share_pet_3_equipment)
1959
+ : null;
1960
+ this.worldSharePet3AutoSkill = obj.world_share_pet_3_auto_skill
1961
+ ? new BattlePracticeCharacterPetAutoSkillDto(obj.world_share_pet_3_auto_skill)
1962
+ : null;
1963
+ this.worldSharePet3Skill = obj.world_share_pet_3_skill ?? [];
1964
+ this.worldSharePet3DateExpire = obj.world_share_pet_3_date_expire
1965
+ ? new Date(obj.world_share_pet_3_date_expire)
1966
+ : null;
1967
+ this.petiteLunaPetSkill = (obj.petite_luna_pet_skill ?? []).map((s) => new BattlePracticeCharacterPetiteLunaPetSkillDto(s));
1805
1968
  }
1806
1969
  }
1807
1970
  /**
@@ -1902,6 +2065,33 @@ class BattlePracticeCharacterPetAutoSkillDto {
1902
2065
  this.skill2Icon = obj.skill_2_icon;
1903
2066
  }
1904
2067
  }
2068
+ /**
2069
+ * 연무장 입장 시 루나 쁘띠 펫 스킬 정보
2070
+ */
2071
+ class BattlePracticeCharacterPetiteLunaPetSkillDto {
2072
+ /**
2073
+ * 스킬 명
2074
+ */
2075
+ skillName;
2076
+ /**
2077
+ * 스킬 설명
2078
+ */
2079
+ skillDescription;
2080
+ /**
2081
+ * 스킬 효과 설명
2082
+ */
2083
+ skillEffect;
2084
+ /**
2085
+ * 스킬 아이콘
2086
+ */
2087
+ skillIcon;
2088
+ constructor(obj) {
2089
+ this.skillName = obj.skill_name;
2090
+ this.skillDescription = obj.skill_description;
2091
+ this.skillEffect = obj.skill_effect;
2092
+ this.skillIcon = obj.skill_icon;
2093
+ }
2094
+ }
1905
2095
  /**
1906
2096
  * 연무장 입장 시 캐릭터 캐릭터 스킬 정보
1907
2097
  */
@@ -2200,9 +2390,14 @@ class BattlePracticeUnionRaiderObjectDto {
2200
2390
  * 유니온 공격대 점령 효과
2201
2391
  */
2202
2392
  unionOccupiedStat;
2393
+ /**
2394
+ * 적용 중인 유니온 스탯 효과
2395
+ */
2396
+ unionStateStat;
2203
2397
  constructor(obj) {
2204
2398
  this.unionRaiderStat = obj.union_raider_stat;
2205
2399
  this.unionOccupiedStat = obj.union_occupied_stat;
2400
+ this.unionStateStat = obj.union_state_stat ?? [];
2206
2401
  }
2207
2402
  }
2208
2403
  /**
@@ -2308,4 +2503,4 @@ class BattlePracticeGuildSkillDto {
2308
2503
  }
2309
2504
  }
2310
2505
 
2311
- export { BattlePracticeCharacterAbilityInfoDto, BattlePracticeCharacterAbilityObjectDto, BattlePracticeCharacterBasicDto, BattlePracticeCharacterBasicStatDto, BattlePracticeCharacterCashItemEquipmentDto, BattlePracticeCharacterCashItemObjectDto, BattlePracticeCharacterCashItemOptionDto, BattlePracticeCharacterFinalStatDto, BattlePracticeCharacterHexaCoreEquipmentDto, BattlePracticeCharacterHexaCoreObjectDto, BattlePracticeCharacterHexaLinkedSkillDto, BattlePracticeCharacterHexaMatrixObjectDto, BattlePracticeCharacterHexaMatrixStatObjectDto, BattlePracticeCharacterHexaStatCoreDto, BattlePracticeCharacterHyperStatDto, BattlePracticeCharacterHyperStatObjectDto, BattlePracticeCharacterInfoDto, BattlePracticeCharacterItemAddOptionDto, BattlePracticeCharacterItemBaseOptionDto, BattlePracticeCharacterItemDragonEquipmentDto, BattlePracticeCharacterItemEquipmentDto, BattlePracticeCharacterItemEquipmentObjectDto, BattlePracticeCharacterItemEtcOptionDto, BattlePracticeCharacterItemExceptionalOptionDto, BattlePracticeCharacterItemMechanicEquipmentDto, BattlePracticeCharacterItemObjectDto, BattlePracticeCharacterItemStarforceOptionDto, BattlePracticeCharacterItemTitleDto, BattlePracticeCharacterItemTotalOptionDto, BattlePracticeCharacterLinkSkillObjectDto, BattlePracticeCharacterOtherStatDetailDto, BattlePracticeCharacterOtherStatDto, BattlePracticeCharacterOtherStatInfoDto, BattlePracticeCharacterPetAutoSkillDto, BattlePracticeCharacterPetEquipmentDto, BattlePracticeCharacterPetEquipmentItemOptionDto, BattlePracticeCharacterPetObjectDto, BattlePracticeCharacterPropensityDto, BattlePracticeCharacterRingReserveSkillObjectDto, BattlePracticeCharacterSetEffectDto, BattlePracticeCharacterSetEffectInfoDto, BattlePracticeCharacterSetEffectObjectDto, BattlePracticeCharacterSkillInfoDto, BattlePracticeCharacterSkillObjectDto, BattlePracticeCharacterStatDto, BattlePracticeCharacterSymbolDto, BattlePracticeCharacterSymbolStatDto, BattlePracticeCharacterVCoreDto, BattlePracticeCharacterVMatrixObjectDto, BattlePracticeGuildObjectDto, BattlePracticeGuildSkillDto, BattlePracticeUnionArtifactEffectDto, BattlePracticeUnionArtifactObjectDto, BattlePracticeUnionChampionBadgeDto, BattlePracticeUnionChampionObjectDto, BattlePracticeUnionRaiderObjectDto };
2506
+ export { BattlePracticeCharacterAbilityInfoDto, BattlePracticeCharacterAbilityObjectDto, BattlePracticeCharacterBasicDto, BattlePracticeCharacterBasicStatDto, BattlePracticeCharacterCashItemEquipmentDto, BattlePracticeCharacterCashItemObjectDto, BattlePracticeCharacterCashItemOptionDto, BattlePracticeCharacterFinalStatDto, BattlePracticeCharacterHexaCoreEquipmentDto, BattlePracticeCharacterHexaCoreObjectDto, BattlePracticeCharacterHexaLinkedSkillDto, BattlePracticeCharacterHexaMatrixObjectDto, BattlePracticeCharacterHexaMatrixStatObjectDto, BattlePracticeCharacterHexaStatCoreDto, BattlePracticeCharacterHyperStatDto, BattlePracticeCharacterHyperStatObjectDto, BattlePracticeCharacterInfoDto, BattlePracticeCharacterItemAddOptionDto, BattlePracticeCharacterItemBaseOptionDto, BattlePracticeCharacterItemDragonEquipmentDto, BattlePracticeCharacterItemEquipmentDto, BattlePracticeCharacterItemEquipmentObjectDto, BattlePracticeCharacterItemEtcOptionDto, BattlePracticeCharacterItemExceptionalOptionDto, BattlePracticeCharacterItemMechanicEquipmentDto, BattlePracticeCharacterItemObjectDto, BattlePracticeCharacterItemStarforceOptionDto, BattlePracticeCharacterItemTitleDto, BattlePracticeCharacterItemTotalOptionDto, BattlePracticeCharacterLinkSkillObjectDto, BattlePracticeCharacterOtherStatDetailDto, BattlePracticeCharacterOtherStatDto, BattlePracticeCharacterOtherStatInfoDto, BattlePracticeCharacterPetAutoSkillDto, BattlePracticeCharacterPetEquipmentDto, BattlePracticeCharacterPetEquipmentItemOptionDto, BattlePracticeCharacterPetObjectDto, BattlePracticeCharacterPetiteLunaPetSkillDto, BattlePracticeCharacterPropensityDto, BattlePracticeCharacterRingReserveSkillObjectDto, BattlePracticeCharacterSetEffectDto, BattlePracticeCharacterSetEffectInfoDto, BattlePracticeCharacterSetEffectObjectDto, BattlePracticeCharacterSkillInfoDto, BattlePracticeCharacterSkillObjectDto, BattlePracticeCharacterStatDto, BattlePracticeCharacterSymbolDto, BattlePracticeCharacterSymbolStatDto, BattlePracticeCharacterVCoreDto, BattlePracticeCharacterVMatrixObjectDto, BattlePracticeGuildObjectDto, BattlePracticeGuildSkillDto, BattlePracticeUnionArtifactEffectDto, BattlePracticeUnionArtifactObjectDto, BattlePracticeUnionChampionBadgeDto, BattlePracticeUnionChampionObjectDto, BattlePracticeUnionRaiderObjectDto };
@@ -46,6 +46,10 @@ class CharacterHexaMatrixEquipmentDto extends CharacterHexaMatrixEquipmentDto$1
46
46
  * 코어 레벨
47
47
  */
48
48
  hexaCoreLevel;
49
+ /**
50
+ * 코어 이벤트 레벨
51
+ */
52
+ hexaCoreEventLevel;
49
53
  /**
50
54
  * 코어 타입
51
55
  */
@@ -56,9 +60,10 @@ class CharacterHexaMatrixEquipmentDto extends CharacterHexaMatrixEquipmentDto$1
56
60
  linkedSkill;
57
61
  constructor(obj) {
58
62
  super();
59
- const { hexa_core_name, hexa_core_level, hexa_core_type, linked_skill } = obj;
63
+ const { hexa_core_name, hexa_core_level, hexa_core_event_level, hexa_core_type, linked_skill } = obj;
60
64
  this.hexaCoreName = hexa_core_name;
61
65
  this.hexaCoreLevel = hexa_core_level;
66
+ this.hexaCoreEventLevel = hexa_core_event_level;
62
67
  this.hexaCoreType = hexa_core_type;
63
68
  this.linkedSkill = linked_skill.map((skill) => new CharacterHexaMatrixEquipmentLinkedSkillDto(skill));
64
69
  }