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
package/dist/cjs/index.js CHANGED
@@ -31,6 +31,7 @@ var guild = require('./maplestory/api/common/dto/guild/guild.js');
31
31
  var guildBasic = require('./maplestory/api/common/dto/guild/guildBasic.js');
32
32
  var union = require('./maplestory/api/common/dto/union/union.js');
33
33
  var unionArtifact = require('./maplestory/api/common/dto/union/unionArtifact.js');
34
+ var unionChampion = require('./maplestory/api/common/dto/union/unionChampion.js');
34
35
  var unionRaider = require('./maplestory/api/common/dto/union/unionRaider.js');
35
36
 
36
37
 
@@ -95,6 +96,7 @@ exports.CharacterItemEquipmentEtcOptionDto = characterItemEquipment.CharacterIte
95
96
  exports.CharacterItemEquipmentExceptionalOptionDto = characterItemEquipment.CharacterItemEquipmentExceptionalOptionDto;
96
97
  exports.CharacterItemEquipmentInfoDto = characterItemEquipment.CharacterItemEquipmentInfoDto;
97
98
  exports.CharacterItemEquipmentMechanicInfoDto = characterItemEquipment.CharacterItemEquipmentMechanicInfoDto;
99
+ exports.CharacterItemEquipmentMedalShapeDto = characterItemEquipment.CharacterItemEquipmentMedalShapeDto;
98
100
  exports.CharacterItemEquipmentStarforceOptionDto = characterItemEquipment.CharacterItemEquipmentStarforceOptionDto;
99
101
  exports.CharacterItemEquipmentTitleDto = characterItemEquipment.CharacterItemEquipmentTitleDto;
100
102
  exports.CharacterItemEquipmentTotalOptionDto = characterItemEquipment.CharacterItemEquipmentTotalOptionDto;
@@ -125,6 +127,9 @@ exports.UnionDto = union.UnionDto;
125
127
  exports.UnionArtifactCrystalDto = unionArtifact.UnionArtifactCrystalDto;
126
128
  exports.UnionArtifactDto = unionArtifact.UnionArtifactDto;
127
129
  exports.UnionArtifactEffectDto = unionArtifact.UnionArtifactEffectDto;
130
+ exports.UnionChampionBadgeInfoDto = unionChampion.UnionChampionBadgeInfoDto;
131
+ exports.UnionChampionDto = unionChampion.UnionChampionDto;
132
+ exports.UnionChampionInfoDto = unionChampion.UnionChampionInfoDto;
128
133
  exports.UnionRaiderBlockControlPointDto = unionRaider.UnionRaiderBlockControlPointDto;
129
134
  exports.UnionRaiderBlockDto = unionRaider.UnionRaiderBlockDto;
130
135
  exports.UnionRaiderBlockPositionDto = unionRaider.UnionRaiderBlockPositionDto;
@@ -18,6 +18,8 @@ class CharacterItemEquipmentStarforceOptionDto {
18
18
  }
19
19
  class CharacterItemEquipmentTotalOptionDto {
20
20
  }
21
+ class CharacterItemEquipmentMedalShapeDto {
22
+ }
21
23
  class CharacterItemEquipmentDragonInfoDto {
22
24
  }
23
25
  class CharacterItemEquipmentMechanicInfoDto {
@@ -33,6 +35,7 @@ exports.CharacterItemEquipmentEtcOptionDto = CharacterItemEquipmentEtcOptionDto;
33
35
  exports.CharacterItemEquipmentExceptionalOptionDto = CharacterItemEquipmentExceptionalOptionDto;
34
36
  exports.CharacterItemEquipmentInfoDto = CharacterItemEquipmentInfoDto;
35
37
  exports.CharacterItemEquipmentMechanicInfoDto = CharacterItemEquipmentMechanicInfoDto;
38
+ exports.CharacterItemEquipmentMedalShapeDto = CharacterItemEquipmentMedalShapeDto;
36
39
  exports.CharacterItemEquipmentStarforceOptionDto = CharacterItemEquipmentStarforceOptionDto;
37
40
  exports.CharacterItemEquipmentTitleDto = CharacterItemEquipmentTitleDto;
38
41
  exports.CharacterItemEquipmentTotalOptionDto = CharacterItemEquipmentTotalOptionDto;
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ class UnionChampionDto {
6
+ }
7
+ class UnionChampionBadgeInfoDto {
8
+ }
9
+ class UnionChampionInfoDto {
10
+ }
11
+
12
+ exports.UnionChampionBadgeInfoDto = UnionChampionBadgeInfoDto;
13
+ exports.UnionChampionDto = UnionChampionDto;
14
+ exports.UnionChampionInfoDto = UnionChampionInfoDto;
@@ -150,7 +150,7 @@ class CharacterItemEquipmentTitleDto extends characterItemEquipment.CharacterIte
150
150
  /**
151
151
  * 캐릭터 외형 설정에 등록한 훈장 외형 정보
152
152
  */
153
- class CharacterItemEquipmentMedalShapeDto {
153
+ class CharacterItemEquipmentMedalShapeDto extends characterItemEquipment.CharacterItemEquipmentMedalShapeDto {
154
154
  /**
155
155
  * 외형 설정에 등록한 훈장 장비 명
156
156
  */
@@ -176,6 +176,7 @@ class CharacterItemEquipmentMedalShapeDto {
176
176
  */
177
177
  medalShapeChangedDescription;
178
178
  constructor(obj) {
179
+ super();
179
180
  const { medal_shape_name, medal_shape_icon, medal_shape_description, medal_shape_changed_name, medal_shape_changed_icon, medal_shape_changed_description, } = obj;
180
181
  this.medalShapeName = medal_shape_name;
181
182
  this.medalShapeIcon = medal_shape_icon;
@@ -2,10 +2,12 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var unionChampion = require('../../../common/dto/union/unionChampion.js');
6
+
5
7
  /**
6
8
  * 유니온 챔피언 정보
7
9
  */
8
- class UnionChampionDto {
10
+ class UnionChampionDto extends unionChampion.UnionChampionDto {
9
11
  /**
10
12
  * 조회 기준일 (KST, 일 단위 데이터로 시, 분은 일괄 0으로 표기)
11
13
  */
@@ -19,6 +21,7 @@ class UnionChampionDto {
19
21
  */
20
22
  championBadgeTotalInfo;
21
23
  constructor(obj) {
24
+ super();
22
25
  const { date, union_champion, champion_badge_total_info } = obj;
23
26
  this.date = date ? new Date(date) : null;
24
27
  this.unionChampion = union_champion.map((info) => new UnionChampionInfoDto(info));
@@ -28,12 +31,13 @@ class UnionChampionDto {
28
31
  /**
29
32
  * 유니온 챔피언 휘장 정보
30
33
  */
31
- class UnionChampionBadgeInfoDto {
34
+ class UnionChampionBadgeInfoDto extends unionChampion.UnionChampionBadgeInfoDto {
32
35
  /**
33
36
  * 유니온 챔피언 휘장 효과
34
37
  */
35
38
  stat;
36
39
  constructor(obj) {
40
+ super();
37
41
  const { stat } = obj;
38
42
  this.stat = stat;
39
43
  }
@@ -41,7 +45,7 @@ class UnionChampionBadgeInfoDto {
41
45
  /**
42
46
  * 유니온 챔피언 상세 정보
43
47
  */
44
- class UnionChampionInfoDto {
48
+ class UnionChampionInfoDto extends unionChampion.UnionChampionInfoDto {
45
49
  /**
46
50
  * 유니온 챔피언 캐릭터 명
47
51
  */
@@ -63,6 +67,7 @@ class UnionChampionInfoDto {
63
67
  */
64
68
  championBadgeInfo;
65
69
  constructor(obj) {
70
+ super();
66
71
  const { champion_name, champion_slot, champion_grade, champion_class, champion_badge_info, } = obj;
67
72
  this.championName = champion_name;
68
73
  this.championSlot = champion_slot;
@@ -55,8 +55,8 @@ var unionRaider = require('./dto/union/unionRaider.js');
55
55
  var achievement = require('./dto/user/achievement.js');
56
56
  var characterList = require('./dto/user/characterList.js');
57
57
  var characterImage = require('../common/enum/characterImage.js');
58
- var mapleStoryApi = require('../common/mapleStoryApi.js');
59
58
  var lib = require('../common/lib.js');
59
+ var mapleStoryApi = require('../common/mapleStoryApi.js');
60
60
  var index = require('../../../_virtual/index.js_commonjs-exports.js');
61
61
 
62
62
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -1120,17 +1120,18 @@ class MapleStoryApi extends mapleStoryApi.MapleStoryApi {
1120
1120
  //#region 랭킹 정보 조회
1121
1121
  /**
1122
1122
  * 종합 랭킹 정보를 조회합니다.
1123
- * - 2023년 12월 22일 데이터부터 조회할 수 있습니다.
1124
- * - 오전 830분부터 오늘의 랭킹 정보를 조회할 수 있습니다.
1123
+ * - 2023년 12월 21일 데이터부터 조회할 수 있습니다.
1124
+ * - 오늘의 랭킹 정보는 오전 9경부터 조회가 가능합니다. 상황에 따라 시간이 더 소요될 수 있습니다.
1125
1125
  * - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
1126
+ * - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
1126
1127
  *
1127
1128
  * @param filterOptions 검색 기준
1128
1129
  * @param dateOptions 조회 기준일 (KST).
1129
1130
  *
1130
1131
  */
1131
1132
  async getOverallRanking(filterOptions, dateOptions = this.getProperDefaultDateOptions({
1132
- hour: 8,
1133
- minute: 30,
1133
+ hour: 9,
1134
+ minute: 0,
1134
1135
  dateOffset: 0,
1135
1136
  })) {
1136
1137
  const path = `${this.subUrl}/v1/ranking/overall`;
@@ -1157,15 +1158,16 @@ class MapleStoryApi extends mapleStoryApi.MapleStoryApi {
1157
1158
  /**
1158
1159
  * 유니온 랭킹 정보를 조회합니다.
1159
1160
  * - 2023년 12월 22일 데이터부터 조회할 수 있습니다.
1160
- * - 오전 830분부터 오늘의 랭킹 정보를 조회할 수 있습니다.
1161
+ * - 오늘의 랭킹 정보는 오전 9경부터 조회가 가능합니다. 상황에 따라 시간이 더 소요될 수 있습니다.
1161
1162
  * - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
1163
+ * - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
1162
1164
  *
1163
1165
  * @param filterOptions 검색 기준
1164
1166
  * @param dateOptions 조회 기준일 (KST)
1165
1167
  */
1166
1168
  async getUnionRanking(filterOptions, dateOptions = this.getProperDefaultDateOptions({
1167
- hour: 8,
1168
- minute: 30,
1169
+ hour: 9,
1170
+ minute: 0,
1169
1171
  dateOffset: 0,
1170
1172
  })) {
1171
1173
  const path = `${this.subUrl}/v1/ranking/union`;
@@ -1190,15 +1192,16 @@ class MapleStoryApi extends mapleStoryApi.MapleStoryApi {
1190
1192
  /**
1191
1193
  * 길드 랭킹 정보를 조회합니다.
1192
1194
  * - 2023년 12월 22일 데이터부터 조회할 수 있습니다.
1193
- * - 오전 830분부터 오늘의 랭킹 정보를 조회할 수 있습니다.
1195
+ * - 오늘의 랭킹 정보는 오전 9경부터 조회가 가능합니다. 상황에 따라 시간이 더 소요될 수 있습니다.
1194
1196
  * - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
1197
+ * - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
1195
1198
  *
1196
1199
  * @param filterOptions 검색 기준
1197
1200
  * @param dateOptions 조회 기준일 (KST)
1198
1201
  */
1199
1202
  async getGuildRanking(filterOptions, dateOptions = this.getProperDefaultDateOptions({
1200
- hour: 8,
1201
- minute: 30,
1203
+ hour: 9,
1204
+ minute: 0,
1202
1205
  dateOffset: 0,
1203
1206
  })) {
1204
1207
  const path = `${this.subUrl}/v1/ranking/guild`;
@@ -1225,15 +1228,16 @@ class MapleStoryApi extends mapleStoryApi.MapleStoryApi {
1225
1228
  /**
1226
1229
  * 무릉도장 랭킹 정보를 조회합니다.
1227
1230
  * - 2023년 12월 22일 데이터부터 조회할 수 있습니다.
1228
- * - 오전 830분부터 오늘의 랭킹 정보를 조회할 수 있습니다.
1231
+ * - 오늘의 랭킹 정보는 오전 9경부터 조회가 가능합니다. 상황에 따라 시간이 더 소요될 수 있습니다.
1229
1232
  * - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
1233
+ * - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
1230
1234
  *
1231
1235
  * @param filterOptions 검색 기준
1232
1236
  * @param dateOptions 조회 기준일 (KST)
1233
1237
  */
1234
1238
  async getDojangRanking(filterOptions, dateOptions = this.getProperDefaultDateOptions({
1235
- hour: 8,
1236
- minute: 30,
1239
+ hour: 9,
1240
+ minute: 0,
1237
1241
  dateOffset: 0,
1238
1242
  })) {
1239
1243
  const path = `${this.subUrl}/v1/ranking/dojang`;
@@ -1261,15 +1265,16 @@ class MapleStoryApi extends mapleStoryApi.MapleStoryApi {
1261
1265
  /**
1262
1266
  * 더 시드 랭킹 정보를 조회합니다.
1263
1267
  * - 2023년 12월 22일 데이터부터 조회할 수 있습니다.
1264
- * - 오전 830분부터 오늘의 랭킹 정보를 조회할 수 있습니다.
1268
+ * - 오늘의 랭킹 정보는 오전 9경부터 조회가 가능합니다. 상황에 따라 시간이 더 소요될 수 있습니다.
1265
1269
  * - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
1270
+ * - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
1266
1271
  *
1267
1272
  * @param filterOptions 검색 기준
1268
1273
  * @param dateOptions 조회 기준일 (KST)
1269
1274
  */
1270
1275
  async getSeedRanking(filterOptions, dateOptions = this.getProperDefaultDateOptions({
1271
- hour: 8,
1272
- minute: 30,
1276
+ hour: 9,
1277
+ minute: 0,
1273
1278
  dateOffset: 0,
1274
1279
  })) {
1275
1280
  const path = `${this.subUrl}/v1/ranking/theseed`;
@@ -1294,15 +1299,16 @@ class MapleStoryApi extends mapleStoryApi.MapleStoryApi {
1294
1299
  /**
1295
1300
  * 업적 랭킹 정보를 조회합니다.
1296
1301
  * - 2023년 12월 22일 데이터부터 조회할 수 있습니다.
1297
- * - 오전 830분부터 오늘의 랭킹 정보를 조회할 수 있습니다.
1302
+ * - 오늘의 랭킹 정보는 오전 9경부터 조회가 가능합니다. 상황에 따라 시간이 더 소요될 수 있습니다.
1298
1303
  * - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다.
1304
+ * - 해당 API는 메이플스토리 한국의 데이터가 제공됩니다.
1299
1305
  *
1300
1306
  * @param filterOptions 검색 기준
1301
1307
  * @param dateOptions 조회 기준일 (KST)
1302
1308
  */
1303
1309
  async getAchievementRanking(filterOptions, dateOptions = this.getProperDefaultDateOptions({
1304
- hour: 8,
1305
- minute: 30,
1310
+ hour: 9,
1311
+ minute: 0,
1306
1312
  dateOffset: 0,
1307
1313
  })) {
1308
1314
  const path = `${this.subUrl}/v1/ranking/achievement`;
@@ -135,13 +135,24 @@ class CharacterAndroidEquipmentFaceDto extends characterAndroidEquipment.Charact
135
135
  * Dye ratio for Android mixed face color
136
136
  */
137
137
  mixRate;
138
+ /**
139
+ * Freestyle Coupon application status (0:not applied, 1:applied)
140
+ */
141
+ freestyleFlag;
138
142
  constructor(obj) {
139
143
  super();
140
- const { face_name, base_color, mix_color, mix_rate } = obj;
144
+ const { face_name, base_color, mix_color, mix_rate, freestyle_flag } = obj;
141
145
  this.faceName = face_name;
142
146
  this.baseColor = base_color;
143
147
  this.mixColor = mix_color;
144
148
  this.mixRate = mix_rate;
149
+ this.freestyleFlag = freestyle_flag;
150
+ }
151
+ /**
152
+ * Freestyle Coupon application status
153
+ */
154
+ get isFreestyleFlag() {
155
+ return this.freestyleFlag === '1';
145
156
  }
146
157
  }
147
158
  /**
@@ -164,13 +175,24 @@ class CharacterAndroidEquipmentHairDto extends characterAndroidEquipment.Charact
164
175
  * Dye ratio for Android mixed hair color
165
176
  */
166
177
  mixRate;
178
+ /**
179
+ * Freestyle Coupon application status (0:not applied, 1:applied)
180
+ */
181
+ freestyleFlag;
167
182
  constructor(obj) {
168
183
  super();
169
- const { hair_name, base_color, mix_color, mix_rate } = obj;
184
+ const { hair_name, base_color, mix_color, mix_rate, freestyle_flag } = obj;
170
185
  this.hairName = hair_name;
171
186
  this.baseColor = base_color;
172
187
  this.mixColor = mix_color;
173
188
  this.mixRate = mix_rate;
189
+ this.freestyleFlag = freestyle_flag;
190
+ }
191
+ /**
192
+ * Freestyle Coupon application status
193
+ */
194
+ get isFreestyleFlag() {
195
+ return this.freestyleFlag === '1';
174
196
  }
175
197
  }
176
198
  /**
@@ -383,9 +405,13 @@ class CharacterAndroidCashItemEquipmentDto extends characterAndroidEquipment.Cha
383
405
  * Gender compatibility for item equipment
384
406
  */
385
407
  androidItemGender;
408
+ /**
409
+ * Freestyle Coupon application status (0:not applied, 1:applied)
410
+ */
411
+ freestyleFlag;
386
412
  constructor(obj) {
387
413
  super();
388
- 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, android_item_gender, } = obj;
414
+ 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, android_item_gender, freestyle_flag, } = obj;
389
415
  this.cashItemEquipmentPart = cash_item_equipment_part;
390
416
  this.cashItemEquipmentSlot = cash_item_equipment_slot;
391
417
  this.cashItemName = cash_item_name;
@@ -397,6 +423,7 @@ class CharacterAndroidCashItemEquipmentDto extends characterAndroidEquipment.Cha
397
423
  ? new CharacterAndroidCashItemEquipmentColoringPrismDto(cash_item_coloring_prism)
398
424
  : null;
399
425
  this.androidItemGender = android_item_gender;
426
+ this.freestyleFlag = freestyle_flag;
400
427
  if (date_expire === 'expired') {
401
428
  this.isExpired = true;
402
429
  }
@@ -412,6 +439,12 @@ class CharacterAndroidCashItemEquipmentDto extends characterAndroidEquipment.Cha
412
439
  : null;
413
440
  }
414
441
  }
442
+ /**
443
+ * Freestyle Coupon application status
444
+ */
445
+ get isFreestyleFlag() {
446
+ return this.freestyleFlag === '1';
447
+ }
415
448
  }
416
449
 
417
450
  exports.CharacterAndroidCashItemEquipmentColoringPrismDto = CharacterAndroidCashItemEquipmentColoringPrismDto;
@@ -62,12 +62,12 @@ class CharacterBasicDto extends characterBasic.CharacterBasicDto {
62
62
  */
63
63
  accessFlag;
64
64
  /**
65
- * Liberation quest completion status (true:completed, false:not completed)
65
+ * Liberation Quest completion status (0:not completed, 1:Genesis Weapon liberated, 2:Destiny Weapon Phase 1 liberated)
66
66
  */
67
- liberationQuestClearFlag;
67
+ liberationQuestClear;
68
68
  constructor(obj) {
69
69
  super();
70
- const { date, character_name, world_name, character_gender, character_class, character_class_level, character_level, character_exp, character_exp_rate, character_guild_name, character_image, character_date_create, access_flag, liberation_quest_clear_flag, } = obj;
70
+ const { date, character_name, world_name, character_gender, character_class, character_class_level, character_level, character_exp, character_exp_rate, character_guild_name, character_image, character_date_create, access_flag, liberation_quest_clear, } = obj;
71
71
  this.date = date ? new Date(date) : null;
72
72
  this.characterName = character_name;
73
73
  this.worldName = world_name;
@@ -81,7 +81,7 @@ class CharacterBasicDto extends characterBasic.CharacterBasicDto {
81
81
  this.characterImage = lib.removeQuery(character_image);
82
82
  this.characterDateCreate = character_date_create ? new Date(character_date_create) : null;
83
83
  this.accessFlag = access_flag;
84
- this.liberationQuestClearFlag = liberation_quest_clear_flag;
84
+ this.liberationQuestClear = liberation_quest_clear;
85
85
  }
86
86
  /**
87
87
  * Login status in the past 7 days
@@ -89,12 +89,6 @@ class CharacterBasicDto extends characterBasic.CharacterBasicDto {
89
89
  get isAccessFlag() {
90
90
  return super.isAccessFlag;
91
91
  }
92
- /**
93
- * Liberation quest completion status
94
- */
95
- get isLiberationQuestClearFlag() {
96
- return this.liberationQuestClearFlag === 'true';
97
- }
98
92
  }
99
93
 
100
94
  exports.CharacterBasicDto = CharacterBasicDto;
@@ -93,13 +93,24 @@ class CharacterBeautyEquipmentFaceDto extends characterBeautyEquipment.Character
93
93
  * Dye ratio for mixed face color
94
94
  */
95
95
  mixRate;
96
+ /**
97
+ * Freestyle Coupon application status (0:not applied, 1:applied)
98
+ */
99
+ freestyleFlag;
96
100
  constructor(obj) {
97
101
  super();
98
- const { face_name, base_color, mix_color, mix_rate } = obj;
102
+ const { face_name, base_color, mix_color, mix_rate, freestyle_flag } = obj;
99
103
  this.faceName = face_name;
100
104
  this.baseColor = base_color;
101
105
  this.mixColor = mix_color;
102
106
  this.mixRate = mix_rate;
107
+ this.freestyleFlag = freestyle_flag;
108
+ }
109
+ /**
110
+ * Freestyle Coupon application status
111
+ */
112
+ get isFreestyleFlag() {
113
+ return this.freestyleFlag === '1';
103
114
  }
104
115
  }
105
116
  /**
@@ -122,13 +133,24 @@ class CharacterBeautyEquipmentHairDto extends characterBeautyEquipment.Character
122
133
  * Dye ratio for mixed hair color
123
134
  */
124
135
  mixRate;
136
+ /**
137
+ * Freestyle Coupon application status (0:not applied, 1:applied)
138
+ */
139
+ freestyleFlag;
125
140
  constructor(obj) {
126
141
  super();
127
- const { hair_name, base_color, mix_color, mix_rate } = obj;
142
+ const { hair_name, base_color, mix_color, mix_rate, freestyle_flag } = obj;
128
143
  this.hairName = hair_name;
129
144
  this.baseColor = base_color;
130
145
  this.mixColor = mix_color;
131
146
  this.mixRate = mix_rate;
147
+ this.freestyleFlag = freestyle_flag;
148
+ }
149
+ /**
150
+ * Freestyle Coupon application status
151
+ */
152
+ get isFreestyleFlag() {
153
+ return this.freestyleFlag === '1';
132
154
  }
133
155
  }
134
156
  /**
@@ -186,9 +186,17 @@ class CharacterCashItemEquipmentPresetDto extends characterCashItemEquipment.Cha
186
186
  * Gender compatibility for item equipment
187
187
  */
188
188
  itemGender;
189
+ /**
190
+ * Skill name
191
+ */
192
+ skills;
193
+ /**
194
+ * Freestyle Coupon application status (0:not applied, 1:applied)
195
+ */
196
+ freestyleFlag;
189
197
  constructor(obj) {
190
198
  super();
191
- 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;
199
+ 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, freestyle_flag, } = obj;
192
200
  this.cashItemEquipmentPart = cash_item_equipment_part;
193
201
  this.cashItemEquipmentSlot = cash_item_equipment_slot;
194
202
  this.cashItemName = cash_item_name;
@@ -200,6 +208,8 @@ class CharacterCashItemEquipmentPresetDto extends characterCashItemEquipment.Cha
200
208
  ? new CharacterCashItemEquipmentColoringPrismDto(cash_item_coloring_prism)
201
209
  : null;
202
210
  this.itemGender = item_gender;
211
+ this.skills = skills;
212
+ this.freestyleFlag = freestyle_flag;
203
213
  if (date_expire === 'expired') {
204
214
  this.isExpired = true;
205
215
  }
@@ -215,6 +225,12 @@ class CharacterCashItemEquipmentPresetDto extends characterCashItemEquipment.Cha
215
225
  : null;
216
226
  }
217
227
  }
228
+ /**
229
+ * Freestyle Coupon application status
230
+ */
231
+ get isFreestyleFlag() {
232
+ return this.freestyleFlag === '1';
233
+ }
218
234
  }
219
235
 
220
236
  exports.CharacterCashItemEquipmentColoringPrismDto = CharacterCashItemEquipmentColoringPrismDto;