maplestory-openapi
Advanced tools
Comparing version 2.4.1 to 2.7.1
@@ -1,1 +0,1 @@ | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("axios"),require("dayjs"),require("xml2js")):"function"==typeof define&&define.amd?define(["exports","axios","dayjs","xml2js"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self)["maplestory-openapi"]={},t.axios,t.dayjs,t.xml2js)}(this,(function(t,e,a,i){"use strict";function r(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var s=r(e),n=r(a),o=r(i),c=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self,{exports:{}});!function(t,e){var a,i;t.exports=(a={year:0,month:1,day:2,hour:3,minute:4,second:5},i={},function(t,e,r){var s,n=function(t,e,a){void 0===a&&(a={});var r=new Date(t),s=function(t,e){void 0===e&&(e={});var a=e.timeZoneName||"short",r=t+"|"+a,s=i[r];return s||(s=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:a}),i[r]=s),s}(e,a);return s.formatToParts(r)},o=function(t,e){for(var i=n(t,e),s=[],o=0;o<i.length;o+=1){var c=i[o],l=c.type,h=c.value,p=a[l];p>=0&&(s[p]=parseInt(h,10))}var m=s[3],d=24===m?0:m,u=s[0]+"-"+s[1]+"-"+s[2]+" "+d+":"+s[4]+":"+s[5]+":000",_=+t;return(r.utc(u).valueOf()-(_-=_%1e3))/6e4},c=e.prototype;c.tz=function(t,e){void 0===t&&(t=s);var a=this.utcOffset(),i=this.toDate(),n=i.toLocaleString("en-US",{timeZone:t}),o=Math.round((i-new Date(n))/1e3/60),c=r(n,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(15*-Math.round(i.getTimezoneOffset()/15)-o,!0);if(e){var l=c.utcOffset();c=c.add(a-l,"minute")}return c.$x.$timezone=t,c},c.offsetName=function(t){var e=this.$x.$timezone||r.tz.guess(),a=n(this.valueOf(),e,{timeZoneName:t}).find((function(t){return"timezonename"===t.type.toLowerCase()}));return a&&a.value};var l=c.startOf;c.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return l.call(this,t,e);var a=r(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return l.call(a,t,e).tz(this.$x.$timezone,!0)},r.tz=function(t,e,a){var i=a&&e,n=a||e||s,c=o(+r(),n);if("string"!=typeof t)return r(t).tz(n);var l=function(t,e,a){var i=t-60*e*1e3,r=o(i,a);if(e===r)return[i,e];var s=o(i-=60*(r-e)*1e3,a);return r===s?[i,r]:[t-60*Math.min(r,s)*1e3,Math.max(r,s)]}(r.utc(t,i).valueOf(),c,n),h=l[0],p=l[1],m=r(h).utcOffset(p);return m.$x.$timezone=n,m},r.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},r.tz.setDefault=function(t){s=t}})}(c);var l=c.exports,h={exports:{}};!function(t,e){var a,i,r;t.exports=(a="minute",i=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g,function(t,e,s){var n=e.prototype;s.utc=function(t){return new e({date:t,utc:!0,args:arguments})},n.utc=function(t){var e=s(this.toDate(),{locale:this.$L,utc:!0});return t?e.add(this.utcOffset(),a):e},n.local=function(){return s(this.toDate(),{locale:this.$L,utc:!1})};var o=n.parse;n.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),o.call(this,t)};var c=n.init;n.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else c.call(this)};var l=n.utcOffset;n.utcOffset=function(t,e){var s=this.$utils().u;if(s(t))return this.$u?0:s(this.$offset)?l.call(this):this.$offset;if("string"==typeof t&&(t=function(t){void 0===t&&(t="");var e=t.match(i);if(!e)return null;var a=(""+e[0]).match(r)||["-",0,0],s=a[0],n=60*+a[1]+ +a[2];return 0===n?0:"+"===s?n:-n}(t),null===t))return this;var n=Math.abs(t)<=16?60*t:t,o=this;if(e)return o.$offset=n,o.$u=0===t,o;if(0!==t){var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(o=this.local().add(n+c,a)).$offset=n,o.$x.$localOffset=c}else o=this.utc();return o};var h=n.format;n.format=function(t){var e=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return h.call(this,e)},n.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},n.isUTC=function(){return!!this.$u},n.toISOString=function(){return this.toDate().toISOString()},n.toString=function(){return this.toDate().toUTCString()};var p=n.toDate;n.toDate=function(t){return"s"===t&&this.$offset?s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():p.call(this)};var m=n.diff;n.diff=function(t,e,a){if(t&&this.$u===t.$u)return m.call(this,t,e,a);var i=this.local(),r=s(t).local();return m.call(i,r,e,a)}})}(h);var p,m=h.exports;class d{abilityNo;abilityGrade;abilityValue;constructor(t){const{ability_no:e,ability_grade:a,ability_value:i}=t;this.abilityNo=e,this.abilityGrade=a,this.abilityValue=i}}class u{abilityPresetGrade;abilityInfo;constructor(t){const{ability_preset_grade:e,ability_info:a}=t;this.abilityPresetGrade=e,this.abilityInfo=a.map((t=>new d(t)))}}class _{date;abilityGrade;abilityInfo;remainFame;presetNo;abilityPreset1;abilityPreset2;abilityPreset3;constructor(t){const{date:e,ability_grade:a,ability_info:i,remain_fame:r,preset_no:s,ability_preset_1:n,ability_preset_2:o,ability_preset_3:c}=t;this.date=new Date(e),this.abilityGrade=a,this.abilityInfo=i.map((t=>new d(t))),this.remainFame=r,this.presetNo=s,this.abilityPreset1=n?new u(n):null,this.abilityPreset2=o?new u(o):null,this.abilityPreset3=c?new u(c):null}}class g{colorRange;hue;saturation;value;constructor(t){const{color_range:e,hue:a,saturation:i,value:r}=t;this.colorRange=e,this.hue=a,this.saturation=i,this.value=r}}class f{optionType;optionValue;constructor(t){const{option_type:e,option_value:a}=t;this.optionType=e,this.optionValue=a}}class y{cashItemEquipmentPart;cashItemEquipmentSlot;cashItemName;cashItemIcon;cashItemDescription;cashItemOption;dateExpire;dateOptionExpire;cashItemLabel;cashItemColoringPrism;constructor(t){const{cash_item_equipment_part:e,cash_item_equipment_slot:a,cash_item_name:i,cash_item_icon:r,cash_item_description:s,cash_item_option:n,date_expire:o,date_option_expire:c,cash_item_label:l,cash_item_coloring_prism:h}=t;this.cashItemEquipmentPart=e,this.cashItemEquipmentSlot=a,this.cashItemName=i,this.cashItemIcon=r,this.cashItemDescription=s,this.cashItemOption=n.map((t=>new f(t))),this.dateExpire=o?new Date(o):null,this.dateOptionExpire=c?new Date(c):null,this.cashItemLabel=l,this.cashItemColoringPrism=h?new g(h):null}}class w{faceName;baseColor;mixColor;mixRate;constructor(t){const{face_name:e,base_color:a,mix_color:i,mix_rate:r}=t;this.faceName=e,this.baseColor=a,this.mixColor=i,this.mixRate=r}}class D{hairName;baseColor;mixColor;mixRate;constructor(t){const{hair_name:e,base_color:a,mix_color:i,mix_rate:r}=t;this.hairName=e,this.baseColor=a,this.mixColor=i,this.mixRate=r}}class k{androidName;androidNickname;androidIcon;androidDescription;androidGender;androidGrade;androidSkinName;androidHair;androidFace;androidEarSensorClipFlag;androidNonHumanoidFlag;androidShopUsableFlag;constructor(t){const{android_name:e,android_nickname:a,android_icon:i,android_description:r,android_gender:s,android_grade:n,android_skin_name:o,android_hair:c,android_face:l,android_ear_sensor_clip_flag:h,android_non_humanoid_flag:p,android_shop_usable_flag:m}=t;this.androidName=e,this.androidNickname=a,this.androidIcon=i,this.androidDescription=r,this.androidGender=s,this.androidGrade=n,this.androidSkinName=o,this.androidHair=new D(c),this.androidFace=new w(l),this.androidEarSensorClipFlag=h,this.androidNonHumanoidFlag=p,this.androidShopUsableFlag=m}}class P{date;androidName;androidNickname;androidIcon;androidDescription;androidHair;androidFace;androidSkinName;androidCashItemEquipment;androidEarSensorClipFlag;androidGender;androidGrade;androidNonHumanoidFlag;androidShopUsableFlag;presetNo;androidPreset1;androidPreset2;androidPreset3;constructor(t){const{date:e,android_name:a,android_nickname:i,android_icon:r,android_description:s,android_hair:n,android_face:o,android_skin_name:c,android_cash_item_equipment:l,android_ear_sensor_clip_flag:h,android_gender:p,android_grade:m,android_non_humanoid_flag:d,android_shop_usable_flag:u,preset_no:_,android_preset_1:g,android_preset_2:f,android_preset_3:P}=t;this.date=new Date(e),this.androidName=a,this.androidNickname=i,this.androidIcon=r,this.androidDescription=s,this.androidHair=new D(n),this.androidFace=new w(o),this.androidSkinName=c,this.androidCashItemEquipment=l.map((t=>new y(t))),this.androidEarSensorClipFlag=h??null,this.androidGender=p,this.androidGrade=m,this.androidNonHumanoidFlag=d,this.androidShopUsableFlag=u,this.presetNo=_,this.androidPreset1=g?new k(g):null,this.androidPreset2=f?new k(f):null,this.androidPreset3=P?new k(P):null}}class C{date;characterName;worldName;characterGender;characterClass;characterClassLevel;characterLevel;characterExp;characterExpRate;characterGuildName;characterImage;constructor(t){const{date:e,character_name:a,world_name:i,character_gender:r,character_class:s,character_class_level:n,character_level:o,character_exp:c,character_exp_rate:l,character_guild_name:h,character_image:p}=t;this.date=new Date(e),this.characterName=a,this.worldName=i,this.characterGender=r,this.characterClass=s,this.characterClassLevel=n,this.characterLevel=o,this.characterExp=c,this.characterExpRate=l,this.characterGuildName=h,this.characterImage=p}}class v{faceName;baseColor;mixColor;mixRate;constructor(t){const{face_name:e,base_color:a,mix_color:i,mix_rate:r}=t;this.faceName=e,this.baseColor=a,this.mixColor=i,this.mixRate=r}}class O{hairName;baseColor;mixColor;mixRate;constructor(t){const{hair_name:e,base_color:a,mix_color:i,mix_rate:r}=t;this.hairName=e,this.baseColor=a,this.mixColor=i,this.mixRate=r}}class E{date;characterGender;characterClass;characterHair;characterFace;characterSkinName;additionalCharacterHair;additionalCharacterFace;additionalCharacterSkinName;constructor(t){const{date:e,character_gender:a,character_class:i,character_hair:r,character_face:s,character_skin_name:n,additional_character_hair:o,additional_character_face:c,additional_character_skin_name:l}=t;this.date=new Date(e),this.characterGender=a,this.characterClass=i,this.characterHair=new O(r),this.characterFace=new v(s),this.characterSkinName=n,this.additionalCharacterHair=o?new O(o):null,this.additionalCharacterFace=c?new v(c):null,this.additionalCharacterSkinName=l}}class x{colorRange;hue;saturation;value;constructor(t){const{color_range:e,hue:a,saturation:i,value:r}=t;this.colorRange=e,this.hue=a,this.saturation=i,this.value=r}}class S{optionType;optionValue;constructor(t){const{option_type:e,option_value:a}=t;this.optionType=e,this.optionValue=a}}class b{cashItemEquipmentPart;cashItemEquipmentSlot;cashItemName;cashItemIcon;cashItemDescription;cashItemOption;dateExpire;dateOptionExpire;cashItemLabel;cashItemColoringPrism;itemGender;constructor(t){const{cash_item_equipment_part:e,cash_item_equipment_slot:a,cash_item_name:i,cash_item_icon:r,cash_item_description:s,cash_item_option:n,date_expire:o,date_option_expire:c,cash_item_label:l,cash_item_coloring_prism:h,item_gender:p}=t;this.cashItemEquipmentPart=e,this.cashItemEquipmentSlot=a,this.cashItemName=i,this.cashItemIcon=r,this.cashItemDescription=s,this.cashItemOption=n.map((t=>new S(t))),this.dateExpire=o,this.dateOptionExpire=c,this.cashItemLabel=l,this.cashItemColoringPrism=h?new x(h):null,this.itemGender=p}}class I{date;characterGender;characterClass;presetNo;cashItemEquipmentBase;cashItemEquipmentPreset1;cashItemEquipmentPreset2;cashItemEquipmentPreset3;additionalCashItemEquipmentBase;additionalCashItemEquipmentPreset1;additionalCashItemEquipmentPreset2;additionalCashItemEquipmentPreset3;constructor(t){const{date:e,character_gender:a,character_class:i,preset_no:r,cash_item_equipment_base:s,cash_item_equipment_preset_1:n,cash_item_equipment_preset_2:o,cash_item_equipment_preset_3:c,additional_cash_item_equipment_base:l,additional_cash_item_equipment_preset_1:h,additional_cash_item_equipment_preset_2:p,additional_cash_item_equipment_preset_3:m}=t;this.date=new Date(e),this.characterGender=a,this.characterClass=i,this.presetNo=r,this.cashItemEquipmentBase=s.map((t=>new b(t))),this.cashItemEquipmentPreset1=n.map((t=>new b(t))),this.cashItemEquipmentPreset2=o.map((t=>new b(t))),this.cashItemEquipmentPreset3=c.map((t=>new b(t))),this.additionalCashItemEquipmentBase=l.map((t=>new b(t))),this.additionalCashItemEquipmentPreset1=h.map((t=>new b(t))),this.additionalCashItemEquipmentPreset2=p.map((t=>new b(t))),this.additionalCashItemEquipmentPreset3=m.map((t=>new b(t)))}}class N{date;characterClass;worldName;dojangBestFloor;dateDojangRecord;dojangBestTime;constructor(t){const{date:e,character_class:a,world_name:i,dojang_best_floor:r,date_dojang_record:s,dojang_best_time:n}=t;this.date=new Date(e),this.characterClass=a,this.worldName=i,this.dojangBestFloor=r,this.dateDojangRecord=s?new Date(s):null,this.dojangBestTime=n}}class q{ocid;constructor(t){const{ocid:e}=t;this.ocid=e}}class A{hexaSkillId;constructor(t){const{hexa_skill_id:e}=t;this.hexaSkillId=e}}class L{hexaCoreName;hexaCoreLevel;hexaCoreType;linkedSkill;constructor(t){const{hexa_core_name:e,hexa_core_level:a,hexa_core_type:i,linked_skill:r}=t;this.hexaCoreName=e,this.hexaCoreLevel=a,this.hexaCoreType=i,this.linkedSkill=r.map((t=>new A(t)))}}class R{date;characterHexaCoreEquipment;constructor(t){const{date:e,character_hexa_core_equipment:a}=t;this.date=new Date(e),this.characterHexaCoreEquipment=a.map((t=>new L(t)))}}class G{slotId;mainStatName;subStatName1;subStatName2;mainStatLevel;subStatLevel1;subStatLevel2;statGrade;constructor(t){const{slot_id:e,main_stat_name:a,sub_stat_name_1:i,sub_stat_name_2:r,main_stat_level:s,sub_stat_level_1:n,sub_stat_level_2:o,stat_grade:c}=t;this.slotId=e,this.mainStatName=a,this.subStatName1=i,this.subStatName2=r,this.mainStatLevel=s,this.subStatLevel1=n,this.subStatLevel2=o,this.statGrade=c}}class M{date;characterClass;characterHexaStatCore;presetHexaStatCore;constructor(t){const{date:e,character_class:a,character_hexa_stat_core:i,preset_hexa_stat_core:r}=t;this.date=new Date(e),this.characterClass=a,this.characterHexaStatCore=i.map((t=>new G(t))),this.presetHexaStatCore=r.map((t=>new G(t)))}}class T{statType;statPoint;statLevel;statIncrease;constructor(t){const{stat_type:e,stat_point:a,stat_level:i,stat_increase:r}=t;this.statType=e,this.statPoint=a,this.statLevel=i,this.statIncrease=r}}class H{date;characterClass;usePresetNo;useAvailableHyperStat;hyperStatPreset1;hyperStatPreset1RemainPoint;hyperStatPreset2;hyperStatPreset2RemainPoint;hyperStatPreset3;hyperStatPreset3RemainPoint;constructor(t){const{date:e,character_class:a,use_preset_no:i,use_available_hyper_stat:r,hyper_stat_preset_1:s,hyper_stat_preset_1_remain_point:n,hyper_stat_preset_2:o,hyper_stat_preset_2_remain_point:c,hyper_stat_preset_3:l,hyper_stat_preset_3_remain_point:h}=t;this.date=new Date(e),this.characterClass=a,this.usePresetNo=i,this.useAvailableHyperStat=r,this.hyperStatPreset1=s.map((t=>new T(t))),this.hyperStatPreset1RemainPoint=n,this.hyperStatPreset2=o.map((t=>new T(t))),this.hyperStatPreset2RemainPoint=c,this.hyperStatPreset3=l.map((t=>new T(t))),this.hyperStatPreset3RemainPoint=h}}class U{str;dex;int;luk;maxHp;maxMp;attackPower;magicPower;armor;speed;jump;bossDamage;damage;allStat;equipmentLevelDecrease;constructor(t){const{str:e,dex:a,int:i,luk:r,max_hp:s,max_mp:n,attack_power:o,magic_power:c,armor:l,speed:h,jump:p,boss_damage:m,damage:d,all_stat:u,equipment_level_decrease:_}=t;this.str=e,this.dex=a,this.int=i,this.luk=r,this.maxHp=s,this.maxMp=n,this.attackPower=o,this.magicPower=c,this.armor=l,this.speed=h,this.jump=p,this.bossDamage=m,this.damage=d,this.allStat=u,this.equipmentLevelDecrease=_}}class F{str;dex;int;luk;maxHp;maxMp;attackPower;magicPower;armor;speed;jump;bossDamage;ignoreMonsterArmor;allStat;maxHpRate;maxMpRate;baseEquipmentLevel;constructor(t){const{str:e,dex:a,int:i,luk:r,max_hp:s,max_mp:n,attack_power:o,magic_power:c,armor:l,speed:h,jump:p,boss_damage:m,ignore_monster_armor:d,all_stat:u,max_hp_rate:_,max_mp_rate:g,base_equipment_level:f}=t;this.str=e,this.dex=a,this.int=i,this.luk=r,this.maxHp=s,this.maxMp=n,this.attackPower=o,this.magicPower=c,this.armor=l,this.speed=h,this.jump=p,this.bossDamage=m,this.ignoreMonsterArmor=d,this.allStat=u,this.maxHpRate=_,this.maxMpRate=g,this.baseEquipmentLevel=f}}class ${str;dex;int;luk;maxHp;maxMp;attackPower;magicPower;armor;speed;jump;constructor(t){const{str:e,dex:a,int:i,luk:r,max_hp:s,max_mp:n,attack_power:o,magic_power:c,armor:l,speed:h,jump:p}=t;this.str=e,this.dex=a,this.int=i,this.luk=r,this.maxHp=s,this.maxMp=n,this.attackPower=o,this.magicPower=c,this.armor=l,this.speed=h,this.jump=p}}class j{str;dex;int;luk;maxHp;maxMp;attackPower;magicPower;constructor(t){const{str:e,dex:a,int:i,luk:r,max_hp:s,max_mp:n,attack_power:o,magic_power:c}=t;this.str=e,this.dex=a,this.int=i,this.luk=r,this.maxHp=s,this.maxMp=n,this.attackPower=o,this.magicPower=c}}class B{str;dex;int;luk;maxHp;maxMp;attackPower;magicPower;armor;speed;jump;constructor(t){const{str:e,dex:a,int:i,luk:r,max_hp:s,max_mp:n,attack_power:o,magic_power:c,armor:l,speed:h,jump:p}=t;this.str=e,this.dex=a,this.int=i,this.luk=r,this.maxHp=s,this.maxMp=n,this.attackPower=o,this.magicPower=c,this.armor=l,this.speed=h,this.jump=p}}class Y{str;dex;int;luk;maxHp;maxMp;attackPower;magicPower;armor;speed;jump;bossDamage;ignoreMonsterArmor;allStat;damage;equipmentLevelDecrease;maxHpRate;maxMpRate;constructor(t){const{str:e,dex:a,int:i,luk:r,max_hp:s,max_mp:n,attack_power:o,magic_power:c,armor:l,speed:h,jump:p,boss_damage:m,ignore_monster_armor:d,all_stat:u,damage:_,equipment_level_decrease:g,max_hp_rate:f,max_mp_rate:y}=t;this.str=e,this.dex=a,this.int=i,this.luk=r,this.maxHp=s,this.maxMp=n,this.attackPower=o,this.magicPower=c,this.armor=l,this.speed=h,this.jump=p,this.bossDamage=m,this.ignoreMonsterArmor=d,this.allStat=u,this.damage=_,this.equipmentLevelDecrease=g,this.maxHpRate=f,this.maxMpRate=y}}class V{itemEquipmentPart;itemEquipmentSlot;itemName;itemIcon;itemDescription;itemShapeName;itemShapeIcon;itemGender;itemTotalOption;itemBaseOption;equipmentLevelIncrease;itemExceptionalOption;itemAddOption;growthExp;growthLevel;scrollUpgrade;cuttableCount;goldenHammerFlag;scrollResilienceCount;scrollUpgradeableCount;soulName;soulOption;itemEtcOption;starforce;starforceScrollFlag;itemStarforceOption;specialRingLevel;dateExpire;constructor(t){const{item_equipment_part:e,item_equipment_slot:a,item_name:i,item_icon:r,item_description:s,item_shape_name:n,item_shape_icon:o,item_gender:c,item_total_option:l,item_base_option:h,equipment_level_increase:p,item_exceptional_option:m,item_add_option:d,growth_exp:u,growth_level:_,scroll_upgrade:g,cuttable_count:f,golden_hammer_flag:y,scroll_resilience_count:w,scroll_upgradeable_count:D,soul_name:k,soul_option:P,item_etc_option:C,starforce:v,starforce_scroll_flag:O,item_starforce_option:E,special_ring_level:x,date_expire:S}=t;this.itemEquipmentPart=e,this.itemEquipmentSlot=a,this.itemName=i,this.itemIcon=r,this.itemDescription=s,this.itemShapeName=n,this.itemShapeIcon=o,this.itemGender=c,this.itemTotalOption=new Y(l),this.itemBaseOption=new F(h),this.equipmentLevelIncrease=p,this.itemExceptionalOption=new j(m),this.itemAddOption=new U(d),this.growthExp=u,this.growthLevel=_,this.scrollUpgrade=g,this.cuttableCount=f,this.goldenHammerFlag=y,this.scrollResilienceCount=w,this.scrollUpgradeableCount=D,this.soulName=k,this.soulOption=P,this.itemEtcOption=new $(C),this.starforce=v,this.starforceScrollFlag=O,this.itemStarforceOption=new B(E),this.specialRingLevel=x,this.dateExpire=S?new Date(S):null}}class z{itemEquipmentPart;itemEquipmentSlot;itemName;itemIcon;itemDescription;itemShapeName;itemShapeIcon;itemGender;itemTotalOption;itemBaseOption;potentialOptionGrade;additionalPotentialOptionGrade;potentialOption1;potentialOption2;potentialOption3;additionalPotentialOption1;additionalPotentialOption2;additionalPotentialOption3;equipmentLevelIncrease;itemExceptionalOption;itemAddOption;growthExp;growthLevel;scrollUpgrade;cuttableCount;goldenHammerFlag;scrollResilienceCount;scrollUpgradeableCount;soulName;soulOption;itemEtcOption;starforce;starforceScrollFlag;itemStarforceOption;specialRingLevel;dateExpire;constructor(t){const{item_equipment_part:e,item_equipment_slot:a,item_name:i,item_icon:r,item_description:s,item_shape_name:n,item_shape_icon:o,item_gender:c,item_total_option:l,item_base_option:h,potential_option_grade:p,additional_potential_option_grade:m,potential_option_1:d,potential_option_2:u,potential_option_3:_,additional_potential_option_1:g,additional_potential_option_2:f,additional_potential_option_3:y,equipment_level_increase:w,item_exceptional_option:D,item_add_option:k,growth_exp:P,growth_level:C,scroll_upgrade:v,cuttable_count:O,golden_hammer_flag:E,scroll_resilience_count:x,scroll_upgradeable_count:S,soul_name:b,soul_option:I,item_etc_option:N,starforce:q,starforce_scroll_flag:A,item_starforce_option:L,special_ring_level:R,date_expire:G}=t;this.itemEquipmentPart=e,this.itemEquipmentSlot=a,this.itemName=i,this.itemIcon=r,this.itemDescription=s,this.itemShapeName=n,this.itemShapeIcon=o,this.itemGender=c,this.itemTotalOption=new Y(l),this.itemBaseOption=new F(h),this.potentialOptionGrade=p,this.additionalPotentialOptionGrade=m,this.potentialOption1=d,this.potentialOption2=u,this.potentialOption3=_,this.additionalPotentialOption1=g,this.additionalPotentialOption2=f,this.additionalPotentialOption3=y,this.equipmentLevelIncrease=w,this.itemExceptionalOption=new j(D),this.itemAddOption=new U(k),this.growthExp=P,this.growthLevel=C,this.scrollUpgrade=v,this.cuttableCount=O,this.goldenHammerFlag=E,this.scrollResilienceCount=x,this.scrollUpgradeableCount=S,this.soulName=b,this.soulOption=I,this.itemEtcOption=new $(N),this.starforce=q,this.starforceScrollFlag=A,this.itemStarforceOption=new B(L),this.specialRingLevel=R,this.dateExpire=G?new Date(G):null}}class Z{itemEquipmentPart;itemEquipmentSlot;itemName;itemIcon;itemDescription;itemShapeName;itemShapeIcon;itemGender;itemTotalOption;itemBaseOption;equipmentLevelIncrease;itemExceptionalOption;itemAddOption;growthExp;growthLevel;scrollUpgrade;cuttableCount;goldenHammerFlag;scrollResilienceCount;scrollUpgradeableCount;soulName;soulOption;itemEtcOption;starforce;starforceScrollFlag;itemStarforceOption;specialRingLevel;dateExpire;constructor(t){const{item_equipment_part:e,item_equipment_slot:a,item_name:i,item_icon:r,item_description:s,item_shape_name:n,item_shape_icon:o,item_gender:c,item_total_option:l,item_base_option:h,equipment_level_increase:p,item_exceptional_option:m,item_add_option:d,growth_exp:u,growth_level:_,scroll_upgrade:g,cuttable_count:f,golden_hammer_flag:y,scroll_resilience_count:w,scroll_upgradeable_count:D,soul_name:k,soul_option:P,item_etc_option:C,starforce:v,starforce_scroll_flag:O,item_starforce_option:E,special_ring_level:x,date_expire:S}=t;this.itemEquipmentPart=e,this.itemEquipmentSlot=a,this.itemName=i,this.itemIcon=r,this.itemDescription=s,this.itemShapeName=n,this.itemShapeIcon=o,this.itemGender=c,this.itemTotalOption=new Y(l),this.itemBaseOption=new F(h),this.equipmentLevelIncrease=p,this.itemExceptionalOption=new j(m),this.itemAddOption=new U(d),this.growthExp=u,this.growthLevel=_,this.scrollUpgrade=g,this.cuttableCount=f,this.goldenHammerFlag=y,this.scrollResilienceCount=w,this.scrollUpgradeableCount=D,this.soulName=k,this.soulOption=P,this.itemEtcOption=new $(C),this.starforce=v,this.starforceScrollFlag=O,this.itemStarforceOption=new B(E),this.specialRingLevel=x,this.dateExpire=S?new Date(S):null}}class K{titleName;titleIcon;titleDescription;dateExpire;dateOptionExpire=null;isOptionExpired=null;constructor(t){const{title_name:e,title_icon:a,title_description:i,date_expire:r,date_option_expire:s}=t;this.titleName=e,this.titleIcon=a,this.titleDescription=i,this.dateExpire=r?new Date(r):null,"expired"===s?this.isOptionExpired=!0:"string"==typeof s&&(this.dateOptionExpire=s?new Date(s):null)}}class Q{date;characterGender;characterClass;presetNo;itemEquipment;itemEquipmentPreset1;itemEquipmentPreset2;itemEquipmentPreset3;title;dragonEquipment;mechanicEquipment;constructor(t){const{date:e,character_gender:a,character_class:i,preset_no:r,item_equipment:s,item_equipment_preset_1:n,item_equipment_preset_2:o,item_equipment_preset_3:c,title:l,dragon_equipment:h,mechanic_equipment:p}=t;this.date=new Date(e),this.characterGender=a,this.characterClass=i,this.presetNo=r,this.itemEquipment=s.map((t=>new z(t))),this.itemEquipmentPreset1=n?n.map((t=>new z(t))):null,this.itemEquipmentPreset2=o?o.map((t=>new z(t))):null,this.itemEquipmentPreset3=c?c.map((t=>new z(t))):null,this.title=l?new K(l):null,this.dragonEquipment=h.map((t=>new V(t))),this.mechanicEquipment=p.map((t=>new Z(t)))}}class X{skillName;skillDescription;skillLevel;skillEffect;skillIcon;constructor(t){const{skill_name:e,skill_description:a,skill_level:i,skill_effect:r,skill_icon:s}=t;this.skillName=e,this.skillDescription=a,this.skillLevel=i,this.skillEffect=r,this.skillIcon=s}}class W{date;characterClass;characterLinkSkill;characterLinkSkillPreset1;characterLinkSkillPreset2;characterLinkSkillPreset3;characterOwnedLinkSkill;characterOwnedLinkSkillPreset1;characterOwnedLinkSkillPreset2;characterOwnedLinkSkillPreset3;constructor(t){const{date:e,character_class:a,character_link_skill:i,character_link_skill_preset_1:r,character_link_skill_preset_2:s,character_link_skill_preset_3:n,character_owned_link_skill:o,character_owned_link_skill_preset_1:c,character_owned_link_skill_preset_2:l,character_owned_link_skill_preset_3:h}=t;this.date=new Date(e),this.characterClass=a,this.characterLinkSkill=i.map((t=>new X(t))),this.characterLinkSkillPreset1=r.map((t=>new X(t))),this.characterLinkSkillPreset2=s.map((t=>new X(t))),this.characterLinkSkillPreset3=n.map((t=>new X(t))),this.characterOwnedLinkSkill=new X(o),this.characterOwnedLinkSkillPreset1=c?new X(c):null,this.characterOwnedLinkSkillPreset2=l?new X(l):null,this.characterOwnedLinkSkillPreset3=h?new X(h):null}}class J{skill1;skill1Icon;skill2;skill2Icon;constructor(t){const{skill_1:e,skill_1_icon:a,skill_2:i,skill_2_icon:r}=t;this.skill1=e,this.skill1Icon=a,this.skill2=i,this.skill2Icon=r}}class tt{optionType;optionValue;constructor(t){const{option_type:e,option_value:a}=t;this.optionType=e,this.optionValue=a}}class et{itemName;itemIcon;itemDescription;itemOption;scrollUpgrade;scrollUpgradable;itemShape;itemShapeIcon;constructor(t){const{item_name:e,item_icon:a,item_description:i,item_option:r,scroll_upgrade:s,scroll_upgradable:n,item_shape:o,item_shape_icon:c}=t;this.itemName=e,this.itemIcon=a,this.itemDescription=i,this.itemOption=r.map((t=>new tt(t))),this.scrollUpgrade=s,this.scrollUpgradable=n,this.itemShape=o,this.itemShapeIcon=c}}class at{date;pet1Name;pet1Nickname;pet1Icon;pet1Description;pet1Equipment;pet1AutoSkill;pet1PetType;pet1Skill;pet1DateExpire;pet1Appearance;pet1AppearanceIcon;pet2Name;pet2Nickname;pet2Icon;pet2Description;pet2Equipment;pet2AutoSkill;pet2PetType;pet2Skill;pet2DateExpire;pet2Appearance;pet2AppearanceIcon;pet3Name;pet3Nickname;pet3Icon;pet3Description;pet3Equipment;pet3AutoSkill;pet3PetType;pet3Skill;pet3DateExpire;pet3Appearance;pet3AppearanceIcon;constructor(t){const{date:e,pet_1_name:a,pet_1_nickname:i,pet_1_icon:r,pet_1_description:s,pet_1_equipment:n,pet_1_auto_skill:o,pet_1_pet_type:c,pet_1_skill:l,pet_1_date_expire:h,pet_1_appearance:p,pet_1_appearance_icon:m,pet_2_name:d,pet_2_nickname:u,pet_2_icon:_,pet_2_description:g,pet_2_equipment:f,pet_2_auto_skill:y,pet_2_pet_type:w,pet_2_skill:D,pet_2_date_expire:k,pet_2_appearance:P,pet_2_appearance_icon:C,pet_3_name:v,pet_3_nickname:O,pet_3_icon:E,pet_3_description:x,pet_3_equipment:S,pet_3_auto_skill:b,pet_3_pet_type:I,pet_3_skill:N,pet_3_date_expire:q,pet_3_appearance:A,pet_3_appearance_icon:L}=t;this.date=new Date(e),this.pet1Name=a,this.pet1Nickname=i,this.pet1Icon=r,this.pet1Description=s,this.pet1Equipment=n?new et(n):null,this.pet1AutoSkill=o?new J(o):null,this.pet1PetType=c,this.pet1Skill=l,this.pet1DateExpire=h?new Date(h):null,this.pet1Appearance=p,this.pet1AppearanceIcon=m,this.pet2Name=d,this.pet2Nickname=u,this.pet2Icon=_,this.pet2Description=g,this.pet2Equipment=f?new et(f):null,this.pet2AutoSkill=y?new J(y):null,this.pet2PetType=w,this.pet2Skill=D,this.pet2DateExpire=k?new Date(k):null,this.pet2Appearance=P,this.pet2AppearanceIcon=C,this.pet3Name=v,this.pet3Nickname=O,this.pet3Icon=E,this.pet3Description=x,this.pet3Equipment=S?new et(S):null,this.pet3AutoSkill=b?new J(b):null,this.pet3PetType=I,this.pet3Skill=N,this.pet3DateExpire=q?new Date(q):null,this.pet3Appearance=A,this.pet3AppearanceIcon=L}}class it{date;popularity;constructor(t){const{date:e,popularity:a}=t;this.date=new Date(e),this.popularity=a}}class rt{date;charismaLevel;sensibilityLevel;insightLevel;willingnessLevel;handicraftLevel;charmLevel;constructor(t){const{date:e,charisma_level:a,sensibility_level:i,insight_level:r,willingness_level:s,handicraft_level:n,charm_level:o}=t;this.date=new Date(e),this.charismaLevel=a,this.sensibilityLevel=i,this.insightLevel=r,this.willingnessLevel=s,this.handicraftLevel=n,this.charmLevel=o}}class st{setCount;setOption;constructor(t){const{set_count:e,set_option:a}=t;this.setCount=e,this.setOption=a}}class nt{setName;totalSetCount;setEffectInfo;constructor(t){const{set_name:e,total_set_count:a,set_effect_info:i}=t;this.setName=e,this.totalSetCount=a,this.setEffectInfo=i.map((t=>new st(t)))}}class ot{date;setEffect;constructor(t){const{date:e,set_effect:a}=t;this.date=new Date(e),this.setEffect=a.map((t=>new nt(t)))}}class ct{skillName;skillDescription;skillLevel;skillEffect;skillIcon;constructor(t){const{skill_name:e,skill_description:a,skill_level:i,skill_effect:r,skill_icon:s}=t;this.skillName=e,this.skillDescription=a,this.skillLevel=i,this.skillEffect=r,this.skillIcon=s}}class lt{date;characterClass;characterSkillGrade;characterSkill;constructor(t){const{date:e,character_class:a,character_skill_grade:i,character_skill:r}=t;this.date=new Date(e),this.characterClass=a,this.characterSkillGrade=i,this.characterSkill=r.map((t=>new ct(t)))}}class ht{date;characterClass;finalStat;remainAP;constructor(t){const{date:e,character_class:a,final_stat:i,remain_ap:r}=t;this.date=new Date(e),this.characterClass=a,this.finalStat=i.map((t=>({statName:t.stat_name,statValue:t.stat_value}))),this.remainAP=r}}class pt{symbolName;symbolIcon;symbolDescription;symbolForce;symbolLevel;symbolStr;symbolDex;symbolInt;symbolLuk;symbolHp;symbolGrowthCount;symbolRequireGrowthCount;constructor(t){const{symbol_name:e,symbol_icon:a,symbol_description:i,symbol_force:r,symbol_level:s,symbol_str:n,symbol_dex:o,symbol_int:c,symbol_luk:l,symbol_hp:h,symbol_growth_count:p,symbol_require_growth_count:m}=t;this.symbolName=e,this.symbolIcon=a,this.symbolDescription=i,this.symbolForce=r,this.symbolLevel=s,this.symbolStr=n,this.symbolDex=o,this.symbolInt=c,this.symbolLuk=l,this.symbolHp=h,this.symbolGrowthCount=p,this.symbolRequireGrowthCount=m}}class mt{date;characterClass;symbol;constructor(t){const{date:e,character_class:a,symbol:i}=t;this.date=new Date(e),this.characterClass=a,this.symbol=i.map((t=>new pt(t)))}}class dt{slotId;slotLevel;vCoreName;vCoreType;vCoreLevel;vCoreSkill1;vCoreSkill2;vCoreSkill3;constructor(t){const{slot_id:e,slot_level:a,v_core_name:i,v_core_type:r,v_core_level:s,v_core_skill_1:n,v_core_skill_2:o,v_core_skill_3:c}=t;this.slotId=e,this.slotLevel=a,this.vCoreName=i,this.vCoreType=r,this.vCoreLevel=s,this.vCoreSkill1=n,this.vCoreSkill2=o,this.vCoreSkill3=c}}class ut{date;characterClass;characterVCoreEquipment;characterVMatrixRemainSlotUpgradePoint;constructor(t){const{date:e,character_class:a,character_v_core_equipment:i,character_v_matrix_remain_slot_upgrade_point:r}=t;this.date=new Date(e),this.characterClass=a,this.characterVCoreEquipment=i.map((t=>new dt(t))),this.characterVMatrixRemainSlotUpgradePoint=r}}class _t{skillName;skillDescription;skillLevel;skillEffect;skillIcon;constructor(t){const{skill_name:e,skill_description:a,skill_level:i,skill_effect:r,skill_icon:s}=t;this.skillName=e,this.skillDescription=a,this.skillLevel=i,this.skillEffect=r,this.skillIcon=s}}class gt{date;worldName;guildName;guildLevel;guildFame;guildPoint;guildMasterName;guildMemberCount;guildMember;guildSkill;guildNoblesseSkill;guildMark;guildMarkCustom;constructor(t){const{date:e,world_name:a,guild_name:i,guild_level:r,guild_fame:s,guild_point:n,guild_master_name:o,guild_member_count:c,guild_member:l,guild_skill:h,guild_noblesse_skill:p,guild_mark:m,guild_mark_custom:d}=t;this.date=new Date(e),this.worldName=a,this.guildName=i,this.guildLevel=r,this.guildFame=s,this.guildPoint=n,this.guildMasterName=o,this.guildMemberCount=c,this.guildMember=l,this.guildSkill=h.map((t=>new _t(t))),this.guildNoblesseSkill=p.map((t=>new _t(t))),this.guildMark=m,this.guildMarkCustom=d}}class ft{oguildId;constructor(t){const{oguild_id:e}=t;this.oguildId=e}}t.PotentialOptionGrade=void 0,(p=t.PotentialOptionGrade||(t.PotentialOptionGrade={}))[p.RARE=0]="RARE",p[p.EPIC=1]="EPIC",p[p.UNIQUE=2]="UNIQUE",p[p.LEGENDARY=3]="LEGENDARY";const yt=e=>{const a={"레어":t.PotentialOptionGrade.RARE,"에픽":t.PotentialOptionGrade.EPIC,"유니크":t.PotentialOptionGrade.UNIQUE,"레전드리":t.PotentialOptionGrade.LEGENDARY}[e];if(!a)throw new TypeError("No enum constant for string: "+e);return a};class wt{value;grade;constructor(t){const{value:e,grade:a}=t;this.value=e,this.grade=a}get gradeEnum(){return yt(this.grade)}}class Dt{id;characterName;worldName;dateCreate;cubeType;itemUpgradeResult;miracleTimeFlag;itemEquipmentPart;itemLevel;targetItem;potentialOptionGrade;additionalPotentialOptionGrade;upgradeGuarantee;upgradeGuaranteeCount;beforePotentialOption;beforeAdditionalPotentialOption;afterPotentialOption;afterAdditionalPotentialOption;constructor(t){const{id:e,character_name:a,world_name:i,date_create:r,cube_type:s,item_upgrade_result:n,miracle_time_flag:o,item_equipment_part:c,item_level:l,target_item:h,potential_option_grade:p,additional_potential_option_grade:m,upgrade_guarantee:d,upgrade_guarantee_count:u,before_potential_option:_,before_additional_potential_option:g,after_potential_option:f,after_additional_potential_option:y}=t;this.id=e,this.characterName=a,this.worldName=i,this.dateCreate=new Date(r),this.cubeType=s,this.itemUpgradeResult=n,this.miracleTimeFlag=o,this.itemEquipmentPart=c,this.itemLevel=l,this.targetItem=h,this.potentialOptionGrade=p,this.additionalPotentialOptionGrade=m,this.upgradeGuarantee=d,this.upgradeGuaranteeCount=u,this.beforePotentialOption=_.map((t=>new wt(t))),this.beforeAdditionalPotentialOption=g.map((t=>new wt(t))),this.afterPotentialOption=f.map((t=>new wt(t))),this.afterAdditionalPotentialOption=y.map((t=>new wt(t)))}get isItemUpgrade(){return"성공"===this.itemUpgradeResult}get isMiracleTimeFlag(){return"이벤트 적용되지 않음"!==this.miracleTimeFlag}get potentialOptionGradeEnum(){return yt(this.potentialOptionGrade)}get additionalPotentialOptionGradeEnum(){return yt(this.additionalPotentialOptionGrade)}}class kt{count;cubeHistory;nextCursor;constructor(t){const{count:e,cube_history:a,next_cursor:i}=t;this.count=e,this.cubeHistory=a.map((t=>new Dt(t))),this.nextCursor=i}}class Pt{value;grade;constructor(t){const{value:e,grade:a}=t;this.value=e,this.grade=a}get gradeEnum(){return yt(this.grade)}}class Ct{id;characterName;dateCreate;potentialType;itemUpgradeResult;miracleTimeFlag;itemEquipmentPart;itemLevel;targetItem;potentialOptionGrade;additionalPotentialOptionGrade;upgradeGuarantee;upgradeGuaranteeCount;beforePotentialOption;beforeAdditionalPotentialOption;afterPotentialOption;afterAdditionalPotentialOption;constructor(t){const{id:e,character_name:a,date_create:i,potential_type:r,item_upgrade_result:s,miracle_time_flag:n,item_equipment_part:o,item_level:c,target_item:l,potential_option_grade:h,additional_potential_option_grade:p,upgrade_guarantee:m,upgrade_guarantee_count:d,before_potential_option:u,before_additional_potential_option:_,after_potential_option:g,after_additional_potential_option:f}=t;this.id=e,this.characterName=a,this.dateCreate=new Date(i),this.potentialType=r,this.itemUpgradeResult=s,this.miracleTimeFlag=n,this.itemEquipmentPart=o,this.itemLevel=c,this.targetItem=l,this.potentialOptionGrade=h,this.additionalPotentialOptionGrade=p,this.upgradeGuarantee=m,this.upgradeGuaranteeCount=d,this.beforePotentialOption=u.map((t=>new Pt(t))),this.beforeAdditionalPotentialOption=_.map((t=>new Pt(t))),this.afterPotentialOption=g.map((t=>new Pt(t))),this.afterAdditionalPotentialOption=f.map((t=>new Pt(t)))}get isItemUpgrade(){return"성공"===this.itemUpgradeResult}get isMiracleTimeFlag(){return"이벤트 적용되지 않음"!==this.miracleTimeFlag}get potentialOptionGradeEnum(){return yt(this.potentialOptionGrade)}get additionalPotentialOptionGradeEnum(){return yt(this.additionalPotentialOptionGrade)}}class vt{count;potentialHistory;nextCursor;constructor(t){const{count:e,potential_history:a,next_cursor:i}=t;this.count=e,this.potentialHistory=a.map((t=>new Ct(t))),this.nextCursor=i}}class Ot{successRate;costDiscountRate;plusValue;starforceEventRange;constructor(t){const{success_rate:e,cost_discount_rate:a,plus_value:i,starforce_event_range:r}=t;this.successRate=e,this.costDiscountRate=a,this.plusValue=i,this.starforceEventRange=r}}class Et{id;itemUpgradeResult;beforeStarforceCount;afterStarforceCount;starCatchResult;superiorItemFlag;destroyDefence;chanceTime;eventFieldFlag;upgradeItem;protectShield;bonusStatUpgrade;characterName;worldName;targetItem;dateCreate;starforceEventList;constructor(t){const{id:e,item_upgrade_result:a,before_starforce_count:i,after_starforce_count:r,starcatch_result:s,superior_item_flag:n,destroy_defence:o,chance_time:c,event_field_flag:l,upgrade_item:h,protect_shield:p,bonus_stat_upgrade:m,character_name:d,world_name:u,target_item:_,date_create:g,starforce_event_list:f}=t;this.id=e,this.itemUpgradeResult=a,this.beforeStarforceCount=i,this.afterStarforceCount=r,this.starCatchResult=s,this.superiorItemFlag=n,this.destroyDefence=o,this.chanceTime=c,this.eventFieldFlag=l,this.upgradeItem=h,this.protectShield=p,this.bonusStatUpgrade=m,this.characterName=d,this.worldName=u,this.targetItem=_,this.dateCreate=new Date(g),this.starforceEventList=f.map((t=>new Ot(t)))}}class xt{count;starforceHistory;nextCursor;constructor(t){const{count:e,starforce_history:a,next_cursor:i}=t;this.count=e,this.starforceHistory=a.map((t=>new Et(t))),this.nextCursor=i}}class St{serviceCode;startDateTime;endDateTime;strObstacleContents;constructor(t){const e=t["soap:Envelope"]["soap:Body"][0].GetInspectionInfoResponse[0].GetInspectionInfoResult[0]["diffgr:diffgram"][0].NewDataSet[0].InspectionInfo[0];this.serviceCode=Number(e.serviceCode[0]),this.startDateTime=new Date(e.startDateTime[0]),this.endDateTime=new Date(e.endDateTime[0]),this.strObstacleContents=e.strObstacleContents[0]}}class bt{date;ranking;characterName;worldName;className;subClassName;trophyGrade;trophyScore;constructor(t){const{date:e,ranking:a,character_name:i,world_name:r,class_name:s,sub_class_name:n,trophy_grade:o,trophy_score:c}=t;this.date=new Date(e),this.ranking=a,this.characterName=i,this.worldName=r,this.className=s,this.subClassName=n,this.trophyGrade=o,this.trophyScore=c}}class It{ranking;constructor(t){const{ranking:e}=t;this.ranking=e.map((t=>new bt(t)))}}class Nt{date;ranking;characterName;worldName;className;subClassName;characterLevel;dojangFloor;dojangTimeRecord;constructor(t){const{date:e,ranking:a,character_name:i,world_name:r,class_name:s,sub_class_name:n,character_level:o,dojang_floor:c,dojang_time_record:l}=t;this.date=new Date(e),this.ranking=a,this.characterName=i,this.worldName=r,this.className=s,this.subClassName=n,this.characterLevel=o,this.dojangFloor=c,this.dojangTimeRecord=l}}class qt{ranking;constructor(t){const{ranking:e}=t;this.ranking=e.map((t=>new Nt(t)))}}class At{date;ranking;guildName;worldName;guildLevel;guildMasterName;guildMark;guildPoint;constructor(t){const{date:e,ranking:a,guild_name:i,world_name:r,guild_level:s,guild_master_name:n,guild_mark:o,guild_point:c}=t;this.date=new Date(e),this.ranking=a,this.guildName=i,this.worldName=r,this.guildLevel=s,this.guildMasterName=n,this.guildMark=o,this.guildPoint=c}}class Lt{ranking;constructor(t){const{ranking:e}=t;this.ranking=e.map((t=>new At(t)))}}class Rt{date;ranking;characterName;worldName;className;subClassName;characterLevel;characterExp;characterPopularity;characterGuildName;constructor(t){const{date:e,ranking:a,character_name:i,world_name:r,class_name:s,sub_class_name:n,character_level:o,character_exp:c,character_popularity:l,character_guildname:h}=t;this.date=new Date(e),this.ranking=a,this.characterName=i,this.worldName=r,this.className=s,this.subClassName=n,this.characterLevel=o,this.characterExp=c,this.characterPopularity=l,this.characterGuildName=h}}class Gt{ranking;constructor(t){const{ranking:e}=t;this.ranking=e.map((t=>new Rt(t)))}}class Mt{date;ranking;characterName;worldName;className;subClassName;characterLevel;theSeedFloor;theSeedTimeRecord;constructor(t){const{date:e,ranking:a,character_name:i,world_name:r,class_name:s,sub_class_name:n,character_level:o,theseed_floor:c,theseed_time_record:l}=t;this.date=new Date(e),this.ranking=a,this.characterName=i,this.worldName=r,this.className=s,this.subClassName=n,this.characterLevel=o,this.theSeedFloor=c,this.theSeedTimeRecord=l}}class Tt{ranking;constructor(t){const{ranking:e}=t;this.ranking=e.map((t=>new Mt(t)))}}class Ht{date;ranking;characterName;worldName;className;subClassName;unionLevel;unionPower;constructor(t){const{date:e,ranking:a,character_name:i,world_name:r,class_name:s,sub_class_name:n,union_level:o,union_power:c}=t;this.date=new Date(e),this.ranking=a,this.characterName=i,this.worldName=r,this.className=s,this.subClassName=n,this.unionLevel=o,this.unionPower=c}}class Ut{ranking;constructor(t){const{ranking:e}=t;this.ranking=e.map((t=>new Ht(t)))}}class Ft{name;validityFlag;dateExpire;level;crystalOptionName1;crystalOptionName2;crystalOptionName3;constructor(t){const{name:e,validity_flag:a,date_expire:i,level:r,crystal_option_name_1:s,crystal_option_name_2:n,crystal_option_name_3:o}=t;this.name=e,this.validityFlag=a,this.dateExpire=new Date(i),this.level=r,this.crystalOptionName1=s,this.crystalOptionName2=n,this.crystalOptionName3=o}}class $t{name;level;constructor(t){const{name:e,level:a}=t;this.name=e,this.level=a}}class jt{date;unionArtifactEffect;unionArtifactCrystal;unionArtifactRemainAp;constructor(t){const{date:e,union_artifact_effect:a,union_artifact_crystal:i,union_artifact_remain_ap:r}=t;this.date=new Date(e),this.unionArtifactEffect=a.map((t=>new $t(t))),this.unionArtifactCrystal=i.map((t=>new Ft(t))),this.unionArtifactRemainAp=r}}class Bt{date;unionLevel;unionGrade;unionArtifactLevel;unionArtifactExp;unionArtifactPoint;constructor(t){const{date:e,union_level:a,union_grade:i,union_artifact_level:r,union_artifact_exp:s,union_artifact_point:n}=t;this.date=new Date(e),this.unionLevel=a,this.unionGrade=i,this.unionArtifactLevel=r,this.unionArtifactExp=s,this.unionArtifactPoint=n}}class Yt{x;y;constructor(t){const{x:e,y:a}=t;this.x=e,this.y=a}}class Vt{x;y;constructor(t){const{x:e,y:a}=t;this.x=e,this.y=a}}class zt{blockType;blockClass;blockLevel;blockControlPoint;blockPosition;constructor(t){const{block_type:e,block_class:a,block_level:i,block_control_point:r,block_position:s}=t;this.blockType=e,this.blockClass=a,this.blockLevel=i,this.blockControlPoint=new Vt(r),this.blockPosition=s?s.map((t=>new Yt(t))):null}}class Zt{statFieldId;statFieldEffect;constructor(t){const{stat_field_id:e,stat_field_effect:a}=t;this.statFieldId=e,this.statFieldEffect=a}}class Kt{date;unionRaiderStat;unionOccupiedStat;unionInnerStat;unionBlock;constructor(t){const{date:e,union_raider_stat:a,union_occupied_stat:i,union_inner_stat:r,union_block:s}=t;this.date=new Date(e),this.unionRaiderStat=a,this.unionOccupiedStat=i,this.unionInnerStat=r.map((t=>new Zt(t))),this.unionBlock=s.map((t=>new zt(t)))}}class Qt extends Error{name="MapleStoryApiError";errorCode;message;constructor(t){const{name:e,message:a}=t.error;super(a),this.errorCode=Wt[e],this.message=a}}var Xt;t.MapleStoryApiErrorCode=void 0,(Xt=t.MapleStoryApiErrorCode||(t.MapleStoryApiErrorCode={}))[Xt.OPENAPI00001=0]="OPENAPI00001",Xt[Xt.OPENAPI00002=1]="OPENAPI00002",Xt[Xt.OPENAPI00003=2]="OPENAPI00003",Xt[Xt.OPENAPI00004=3]="OPENAPI00004",Xt[Xt.OPENAPI00005=4]="OPENAPI00005",Xt[Xt.OPENAPI00006=5]="OPENAPI00006",Xt[Xt.OPENAPI00007=6]="OPENAPI00007",Xt[Xt.OPENAPI00009=7]="OPENAPI00009",Xt[Xt.OPENAPI00010=8]="OPENAPI00010";const Wt={OPENAPI00001:t.MapleStoryApiErrorCode.OPENAPI00001,OPENAPI00002:t.MapleStoryApiErrorCode.OPENAPI00002,OPENAPI00003:t.MapleStoryApiErrorCode.OPENAPI00003,OPENAPI00004:t.MapleStoryApiErrorCode.OPENAPI00004,OPENAPI00005:t.MapleStoryApiErrorCode.OPENAPI00005,OPENAPI00006:t.MapleStoryApiErrorCode.OPENAPI00006,OPENAPI00007:t.MapleStoryApiErrorCode.OPENAPI00007,OPENAPI00009:t.MapleStoryApiErrorCode.OPENAPI00009,OPENAPI00010:t.MapleStoryApiErrorCode.OPENAPI00010};n.default.extend(l),n.default.extend(m);class Jt{apiKey;client;static BASE_URL="https://open.api.nexon.com/";static DEFAULT_TIMEOUT=5e3;static kstOffset=540;get timeout(){return this.client.defaults.timeout}set timeout(t){this.client.defaults.timeout=t}constructor(t){this.apiKey=t,this.client=s.default.create({baseURL:Jt.BASE_URL,timeout:Jt.DEFAULT_TIMEOUT,headers:{"x-nxopen-api-key":this.apiKey}}),this.client.interceptors.response.use((t=>t),(t=>{if(t instanceof e.AxiosError){const e=t.response.data;throw new Qt(e)}throw t}))}async getCharacter(t){const{data:e}=await this.client.get("maplestory/v1/id",{params:{character_name:t}});return new q(e)}async getCharacterBasic(t,e=Jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const a={ocid:t,date:Jt.toDateString({year:2023,month:12,day:21},e)},{data:i}=await this.client.get("maplestory/v1/character/basic",{params:a});return new C(i)}async getCharacterPopularity(t,e=Jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const a={ocid:t,date:Jt.toDateString({year:2023,month:12,day:21},e)},{data:i}=await this.client.get("maplestory/v1/character/popularity",{params:a});return new it(i)}async getCharacterStat(t,e=Jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const a={ocid:t,date:Jt.toDateString({year:2023,month:12,day:21},e)},{data:i}=await this.client.get("maplestory/v1/character/stat",{params:a});return new ht(i)}async getCharacterHyperStat(t,e=Jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const a={ocid:t,date:Jt.toDateString({year:2023,month:12,day:21},e)},{data:i}=await this.client.get("maplestory/v1/character/hyper-stat",{params:a});return new H(i)}async getCharacterPropensity(t,e=Jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const a={ocid:t,date:Jt.toDateString({year:2023,month:12,day:21},e)},{data:i}=await this.client.get("maplestory/v1/character/propensity",{params:a});return new rt(i)}async getCharacterAbility(t,e=Jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const a={ocid:t,date:Jt.toDateString({year:2023,month:12,day:21},e)},{data:i}=await this.client.get("maplestory/v1/character/ability",{params:a});return new _(i)}async getCharacterItemEquipment(t,e=Jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const a={ocid:t,date:Jt.toDateString({year:2023,month:12,day:21},e)},{data:i}=await this.client.get("maplestory/v1/character/item-equipment",{params:a});return new Q(i)}async getCharacterCashItemEquipment(t,e=Jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const a={ocid:t,date:Jt.toDateString({year:2023,month:12,day:21},e)},{data:i}=await this.client.get("maplestory/v1/character/cashitem-equipment",{params:a});return new I(i)}async getCharacterSymbolEquipment(t,e=Jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const a={ocid:t,date:Jt.toDateString({year:2023,month:12,day:21},e)},{data:i}=await this.client.get("maplestory/v1/character/symbol-equipment",{params:a});return new mt(i)}async getCharacterSetEffect(t,e=Jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const a={ocid:t,date:Jt.toDateString({year:2023,month:12,day:21},e)},{data:i}=await this.client.get("maplestory/v1/character/set-effect",{params:a});return new ot(i)}async getCharacterBeautyEquipment(t,e=Jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const a={ocid:t,date:Jt.toDateString({year:2023,month:12,day:21},e)},{data:i}=await this.client.get("maplestory/v1/character/beauty-equipment",{params:a});return new E(i)}async getCharacterAndroidEquipment(t,e=Jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const a={ocid:t,date:Jt.toDateString({year:2023,month:12,day:21},e)},{data:i}=await this.client.get("maplestory/v1/character/android-equipment",{params:a});return new P(i)}async getCharacterPetEquipment(t,e=Jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const a={ocid:t,date:Jt.toDateString({year:2023,month:12,day:21},e)},{data:i}=await this.client.get("maplestory/v1/character/pet-equipment",{params:a});return new at(i)}async getCharacterSkill(t,e,a=Jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const i={ocid:t,character_skill_grade:e,date:Jt.toDateString({year:2023,month:12,day:21},a)},{data:r}=await this.client.get("maplestory/v1/character/skill",{params:i});return new lt(r)}async getCharacterLinkSkill(t,e=Jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const a={ocid:t,date:Jt.toDateString({year:2023,month:12,day:21},e)},{data:i}=await this.client.get("maplestory/v1/character/link-skill",{params:a});return new W(i)}async getCharacterVMatrix(t,e=Jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const a={ocid:t,date:Jt.toDateString({year:2023,month:12,day:21},e)},{data:i}=await this.client.get("maplestory/v1/character/vmatrix",{params:a});return new ut(i)}async getCharacterHexaMatrix(t,e=Jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const a={ocid:t,date:Jt.toDateString({year:2023,month:12,day:21},e)},{data:i}=await this.client.get("maplestory/v1/character/hexamatrix",{params:a});return new R(i)}async getCharacterHexaMatrixStat(t,e=Jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const a={ocid:t,date:Jt.toDateString({year:2023,month:12,day:21},e)},{data:i}=await this.client.get("maplestory/v1/character/hexamatrix-stat",{params:a});return new M(i)}async getCharacterDojang(t,e=Jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const a={ocid:t,date:Jt.toDateString({year:2023,month:12,day:21},e)},{data:i}=await this.client.get("maplestory/v1/character/dojang",{params:a});return new N(i)}async getUnion(t,e=Jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const a={ocid:t,date:Jt.toDateString({year:2023,month:12,day:21},e)},{data:i}=await this.client.get("maplestory/v1/user/union",{params:a});return new Bt(i)}async getUnionRaider(t,e=Jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const a={ocid:t,date:Jt.toDateString({year:2023,month:12,day:21},e)},{data:i}=await this.client.get("maplestory/v1/user/union-raider",{params:a});return new Kt(i)}async getUnionArtifact(t,e=Jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const a={ocid:t,date:Jt.toDateString({year:2023,month:12,day:21},e)},{data:i}=await this.client.get("maplestory/v1/user/union-artifact",{params:a});return new jt(i)}async getGuild(t,e){const{data:a}=await this.client.get("maplestory/v1/guild/id",{params:{guild_name:t,world_name:e}});return new ft(a)}async getGuildBasic(t,e=Jt.getProperDefaultDateOptions({hour:1,minute:0,dateOffset:1})){const a={oguild_id:t,date:Jt.toDateString({year:2023,month:12,day:21},e)},{data:i}=await this.client.get("maplestory/v1/guild/basic",{params:a});return new gt(i)}async getStarforceHistory(t,e){const a={count:t};"string"==typeof e?a.cursor=e:"object"==typeof e&&(a.date=Jt.toDateString({year:2023,month:12,day:27},e??Jt.getProperDefaultDateOptions({hour:0,minute:0,dateOffset:0})));const{data:i}=await this.client.get("maplestory/v1/history/starforce",{params:a});return new xt(i)}async getCubeHistory(t,e){const a={count:t};"string"==typeof e?a.cursor=e:"object"!=typeof e&&void 0!==e||(a.date=Jt.toDateString({year:2022,month:11,day:25},e??Jt.getProperDefaultDateOptions({hour:4,minute:0,dateOffset:1})));const{data:i}=await this.client.get("maplestory/v1/history/cube",{params:a});return new kt(i)}async getPotentialHistory(t,e){const a={count:t};"string"==typeof e?a.cursor=e:"object"!=typeof e&&void 0!==e||(a.date=Jt.toDateString({year:2024,month:1,day:25},e??Jt.getProperDefaultDateOptions({hour:4,minute:0,dateOffset:1})));const{data:i}=await this.client.get("maplestory/v1/history/potential",{params:a});return new vt(i)}async getOverallRanking(t,e=Jt.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const a={date:Jt.toDateString({year:2023,month:12,day:22},e)};if(t){const{worldName:e,worldType:i,characterClass:r,ocid:s,page:n}=t;a.world_name=e,a.world_type=i,a.class=r,a.ocid=s,a.page=n}const{data:i}=await this.client.get("maplestory/v1/ranking/overall",{params:a});return new Gt(i)}async getUnionRanking(t,e=Jt.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const a={date:Jt.toDateString({year:2023,month:12,day:22},e)};if(t){const{worldName:e,ocid:i,page:r}=t;a.world_name=e,a.ocid=i,a.page=r}const{data:i}=await this.client.get("maplestory/v1/ranking/union",{params:a});return new Ut(i)}async getGuildRanking(t,e=Jt.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const a={date:Jt.toDateString({year:2023,month:12,day:22},e),ranking_type:0};if(t){const{worldName:e,rankingType:i,ocid:r,page:s}=t;a.world_name=e,a.ranking_type=i,a.ocid=r,a.page=s}const{data:i}=await this.client.get("maplestory/v1/ranking/guild",{params:a});return new Lt(i)}async getDojangRanking(t,e=Jt.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const a={date:Jt.toDateString({year:2023,month:12,day:22},e),difficulty:0};if(t){const{worldName:e,difficulty:i,characterClass:r,ocid:s,page:n}=t;a.world_name=e,a.difficulty=i,a.class=r,a.ocid=s,a.page=n}const{data:i}=await this.client.get("maplestory/v1/ranking/dojang",{params:a});return new qt(i)}async getSeedRanking(t,e=Jt.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const a={date:Jt.toDateString({year:2023,month:12,day:22},e)};if(t){const{worldName:e,ocid:i,page:r}=t;a.world_name=e,a.ocid=i,a.page=r}const{data:i}=await this.client.get("maplestory/v1/ranking/theseed",{params:a});return new Tt(i)}async getAchievementRanking(t,e=Jt.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const a={date:Jt.toDateString({year:2023,month:12,day:22},e)};if(t){const{ocid:e,page:i}=t;a.ocid=e,a.page=i}const{data:i}=await this.client.get("maplestory/v1/ranking/achievement",{params:a});return new It(i)}async getInspectionInfo(){const t=(new o.default.Builder).buildObject({"soap:Envelope":{$:{"xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:soap":"http://schemas.xmlsoap.org/soap/envelope/"},"soap:Body":{GetInspectionInfo:{$:{xmlns:"https://api.maplestory.nexon.com/soap/"}}}}}),e=await s.default.post("soap/maplestory.asmx",t,{baseURL:"https://api.maplestory.nexon.com/",timeout:this.timeout,headers:{SOAPAction:"https://api.maplestory.nexon.com/soap/GetInspectionInfo","Content-Type":"text/xml; charset=utf-8"}}),a=await o.default.parseStringPromise(e.data);return new St(a)}static getProperDefaultDateOptions(t){const{hour:e,minute:a,dateOffset:i}=t,r=n.default().utcOffset(Jt.kstOffset),s=n.default().utcOffset(Jt.kstOffset).hour(e).minute(a);let o;return o=r.isAfter(s)?r:r.subtract(1,"day"),o=o.subtract(i??0,"day"),{year:o.year(),month:o.month()+1,day:o.date()}}static toDateString(t,e){const{year:a,month:i,day:r}=t,{year:s,month:o,day:c}=e;if(s<a||s===a&&o<i||s===a&&o===i&&c<r)throw new Error(`You can only retrieve data after ${n.default(`${a}-${i}-${r}`).format("YYYY-MM-DD")}.`);return n.default(`${s}-${o}-${c}`).utcOffset(Jt.kstOffset).format("YYYY-MM-DD")}}t.AchievementRankingDto=bt,t.AchievementRankingResponseDto=It,t.CharacterAbilityDto=_,t.CharacterAbilityInfoDto=d,t.CharacterAbilityPresetDto=u,t.CharacterAndroidCashItemEquipmentColoringPrismDto=g,t.CharacterAndroidCashItemEquipmentDto=y,t.CharacterAndroidCashItemEquipmentOptionDto=f,t.CharacterAndroidEquipmentDto=P,t.CharacterAndroidEquipmentFaceDto=w,t.CharacterAndroidEquipmentHairDto=D,t.CharacterAndroidEquipmentPresetDto=k,t.CharacterBasicDto=C,t.CharacterBeautyEquipmentDto=E,t.CharacterBeautyEquipmentFaceDto=v,t.CharacterBeautyEquipmentHairDto=O,t.CharacterCashItemEquipmentColoringPrismDto=x,t.CharacterCashItemEquipmentDto=I,t.CharacterCashItemEquipmentOptionDto=S,t.CharacterCashItemEquipmentPresetDto=b,t.CharacterDojangDto=N,t.CharacterDto=q,t.CharacterHexaMatrixDto=R,t.CharacterHexaMatrixEquipmentDto=L,t.CharacterHexaMatrixEquipmentLinkedSkillDto=A,t.CharacterHexaMatrixStatCoreDto=G,t.CharacterHexaMatrixStatDto=M,t.CharacterHyperStatDto=H,t.CharacterHyperStatPresetDto=T,t.CharacterItemEquipmentAddOptionDto=U,t.CharacterItemEquipmentBaseOptionDto=F,t.CharacterItemEquipmentDragonInfoDto=V,t.CharacterItemEquipmentDto=Q,t.CharacterItemEquipmentEtcOptionDto=$,t.CharacterItemEquipmentExceptionalOptionDto=j,t.CharacterItemEquipmentInfoDto=z,t.CharacterItemEquipmentMechanicInfoDto=Z,t.CharacterItemEquipmentStarforceOptionDto=B,t.CharacterItemEquipmentTitleDto=K,t.CharacterItemEquipmentTotalOptionDto=Y,t.CharacterLinkSkillDto=W,t.CharacterLinkSkillInfoDto=X,t.CharacterPetEquipmentAutoSkillDto=J,t.CharacterPetEquipmentDto=at,t.CharacterPetEquipmentItemDto=et,t.CharacterPetEquipmentItemOptionDto=tt,t.CharacterPopularityDto=it,t.CharacterPropensityDto=rt,t.CharacterSetEffectDto=ot,t.CharacterSetEffectInfoDto=nt,t.CharacterSetEffectOptionInfoDto=st,t.CharacterSkillDto=lt,t.CharacterSkillInfoDto=ct,t.CharacterStatDto=ht,t.CharacterSymbolEquipmentDto=mt,t.CharacterSymbolEquipmentInfoDto=pt,t.CharacterVMatrixCodeEquipmentDto=dt,t.CharacterVMatrixDto=ut,t.CubeHistoryDto=Dt,t.CubeHistoryResponseDto=kt,t.CubeResultOptionDto=wt,t.DojangRankingDto=Nt,t.DojangRankingResponseDto=qt,t.GuildBasicDto=gt,t.GuildDto=ft,t.GuildRankingDto=At,t.GuildRankingResponseDto=Lt,t.GuildSkillDto=_t,t.InspectionInfoDto=St,t.MapleStoryApi=Jt,t.MapleStoryApiError=Qt,t.OverallRankingDto=Rt,t.OverallRankingResponseDto=Gt,t.PotentialHistoryDto=Ct,t.PotentialHistoryResponseDto=vt,t.PotentialResultOptionDto=Pt,t.StarforceEventDto=Ot,t.StarforceHistoryDto=Et,t.StarforceHistoryResponseDto=xt,t.TheSeedRankingDto=Mt,t.TheSeedRankingResponseDto=Tt,t.UnionArtifactCrystalDto=Ft,t.UnionArtifactDto=jt,t.UnionArtifactEffectDto=$t,t.UnionDto=Bt,t.UnionRaiderBlockControlPointDto=Vt,t.UnionRaiderBlockDto=zt,t.UnionRaiderBlockPositionDto=Yt,t.UnionRaiderDto=Kt,t.UnionRaiderInnerStatDto=Zt,t.UnionRankingDto=Ht,t.UnionRankingResponseDto=Ut,t.potentialOptionGradeFromString=yt})); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("axios"),require("dayjs"),require("xml2js")):"function"==typeof define&&define.amd?define(["exports","axios","dayjs","xml2js"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self)["maplestory-openapi"]={},t.axios,t.dayjs,t.xml2js)}(this,(function(t,e,a,i){"use strict";function s(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var n=s(e),r=s(a),o=s(i),c=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self,{exports:{}});!function(t){var e,a;t.exports=(e={year:0,month:1,day:2,hour:3,minute:4,second:5},a={},function(t,i,s){var n,r=function(t,e,i){void 0===i&&(i={});var s=new Date(t),n=function(t,e){void 0===e&&(e={});var i=e.timeZoneName||"short",s=t+"|"+i,n=a[s];return n||(n=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:i}),a[s]=n),n}(e,i);return n.formatToParts(s)},o=function(t,a){for(var i=r(t,a),n=[],o=0;o<i.length;o+=1){var c=i[o],l=c.type,h=c.value,p=e[l];p>=0&&(n[p]=parseInt(h,10))}var m=n[3],d=24===m?0:m,u=n[0]+"-"+n[1]+"-"+n[2]+" "+d+":"+n[4]+":"+n[5]+":000",_=+t;return(s.utc(u).valueOf()-(_-=_%1e3))/6e4},c=i.prototype;c.tz=function(t,e){void 0===t&&(t=n);var a,i=this.utcOffset(),r=this.toDate(),o=r.toLocaleString("en-US",{timeZone:t}),c=Math.round((r-new Date(o))/1e3/60),l=15*-Math.round(r.getTimezoneOffset()/15)-c;if(Number(l)){if(a=s(o,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(l,!0),e){var h=a.utcOffset();a=a.add(i-h,"minute")}}else a=this.utcOffset(0,e);return a.$x.$timezone=t,a},c.offsetName=function(t){var e=this.$x.$timezone||s.tz.guess(),a=r(this.valueOf(),e,{timeZoneName:t}).find((function(t){return"timezonename"===t.type.toLowerCase()}));return a&&a.value};var l=c.startOf;c.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return l.call(this,t,e);var a=s(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return l.call(a,t,e).tz(this.$x.$timezone,!0)},s.tz=function(t,e,a){var i=a&&e,r=a||e||n,c=o(+s(),r);if("string"!=typeof t)return s(t).tz(r);var l=function(t,e,a){var i=t-60*e*1e3,s=o(i,a);if(e===s)return[i,e];var n=o(i-=60*(s-e)*1e3,a);return s===n?[i,s]:[t-60*Math.min(s,n)*1e3,Math.max(s,n)]}(s.utc(t,i).valueOf(),c,r),h=l[0],p=l[1],m=s(h).utcOffset(p);return m.$x.$timezone=r,m},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(t){n=t}})}(c);var l=c.exports,h={exports:{}};!function(t){var e,a,i;t.exports=(e="minute",a=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g,function(t,s,n){var r=s.prototype;n.utc=function(t){return new s({date:t,utc:!0,args:arguments})},r.utc=function(t){var a=n(this.toDate(),{locale:this.$L,utc:!0});return t?a.add(this.utcOffset(),e):a},r.local=function(){return n(this.toDate(),{locale:this.$L,utc:!1})};var o=r.parse;r.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),o.call(this,t)};var c=r.init;r.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else c.call(this)};var l=r.utcOffset;r.utcOffset=function(t,s){var n=this.$utils().u;if(n(t))return this.$u?0:n(this.$offset)?l.call(this):this.$offset;if("string"==typeof t&&(t=function(t){void 0===t&&(t="");var e=t.match(a);if(!e)return null;var s=(""+e[0]).match(i)||["-",0,0],n=s[0],r=60*+s[1]+ +s[2];return 0===r?0:"+"===n?r:-r}(t),null===t))return this;var r=Math.abs(t)<=16?60*t:t,o=this;if(s)return o.$offset=r,o.$u=0===t,o;if(0!==t){var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(o=this.local().add(r+c,e)).$offset=r,o.$x.$localOffset=c}else o=this.utc();return o};var h=r.format;r.format=function(t){var e=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return h.call(this,e)},r.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},r.isUTC=function(){return!!this.$u},r.toISOString=function(){return this.toDate().toISOString()},r.toString=function(){return this.toDate().toUTCString()};var p=r.toDate;r.toDate=function(t){return"s"===t&&this.$offset?n(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():p.call(this)};var m=r.diff;r.diff=function(t,e,a){if(t&&this.$u===t.$u)return m.call(this,t,e,a);var i=this.local(),s=n(t).local();return m.call(i,s,e,a)}})}(h);var p,m=h.exports;class d{abilityNo;abilityGrade;abilityValue;constructor(t){const{ability_no:e,ability_grade:a,ability_value:i}=t;this.abilityNo=e,this.abilityGrade=a,this.abilityValue=i}}class u{abilityPresetGrade;abilityInfo;constructor(t){const{ability_preset_grade:e,ability_info:a}=t;this.abilityPresetGrade=e,this.abilityInfo=a.map((t=>new d(t)))}}class _{date;abilityGrade;abilityInfo;remainFame;presetNo;abilityPreset1;abilityPreset2;abilityPreset3;constructor(t){const{date:e,ability_grade:a,ability_info:i,remain_fame:s,preset_no:n,ability_preset_1:r,ability_preset_2:o,ability_preset_3:c}=t;this.date=e?new Date(e):null,this.abilityGrade=a,this.abilityInfo=i.map((t=>new d(t))),this.remainFame=s,this.presetNo=n,this.abilityPreset1=r?new u(r):null,this.abilityPreset2=o?new u(o):null,this.abilityPreset3=c?new u(c):null}}class g{colorRange;hue;saturation;value;constructor(t){const{color_range:e,hue:a,saturation:i,value:s}=t;this.colorRange=e,this.hue=a,this.saturation=i,this.value=s}}class f{optionType;optionValue;constructor(t){const{option_type:e,option_value:a}=t;this.optionType=e,this.optionValue=a}}class y{cashItemEquipmentPart;cashItemEquipmentSlot;cashItemName;cashItemIcon;cashItemDescription;cashItemOption;dateExpire;dateOptionExpire;cashItemLabel;cashItemColoringPrism;constructor(t){const{cash_item_equipment_part:e,cash_item_equipment_slot:a,cash_item_name:i,cash_item_icon:s,cash_item_description:n,cash_item_option:r,date_expire:o,date_option_expire:c,cash_item_label:l,cash_item_coloring_prism:h}=t;this.cashItemEquipmentPart=e,this.cashItemEquipmentSlot=a,this.cashItemName=i,this.cashItemIcon=s,this.cashItemDescription=n,this.cashItemOption=r.map((t=>new f(t))),this.dateExpire=o?new Date(o):null,this.dateOptionExpire=c?new Date(c):null,this.cashItemLabel=l,this.cashItemColoringPrism=h?new g(h):null}}class w{faceName;baseColor;mixColor;mixRate;constructor(t){const{face_name:e,base_color:a,mix_color:i,mix_rate:s}=t;this.faceName=e,this.baseColor=a,this.mixColor=i,this.mixRate=s}}class v{hairName;baseColor;mixColor;mixRate;constructor(t){const{hair_name:e,base_color:a,mix_color:i,mix_rate:s}=t;this.hairName=e,this.baseColor=a,this.mixColor=i,this.mixRate=s}}class k{androidName;androidNickname;androidIcon;androidDescription;androidGender;androidGrade;androidSkinName;androidHair;androidFace;androidEarSensorClipFlag;androidNonHumanoidFlag;androidShopUsableFlag;constructor(t){const{android_name:e,android_nickname:a,android_icon:i,android_description:s,android_gender:n,android_grade:r,android_skin_name:o,android_hair:c,android_face:l,android_ear_sensor_clip_flag:h,android_non_humanoid_flag:p,android_shop_usable_flag:m}=t;this.androidName=e,this.androidNickname=a,this.androidIcon=i,this.androidDescription=s,this.androidGender=n,this.androidGrade=r,this.androidSkinName=o,this.androidHair=new v(c),this.androidFace=new w(l),this.androidEarSensorClipFlag=h,this.androidNonHumanoidFlag=p,this.androidShopUsableFlag=m}}class D{date;androidName;androidNickname;androidIcon;androidDescription;androidHair;androidFace;androidSkinName;androidCashItemEquipment;androidEarSensorClipFlag;androidGender;androidGrade;androidNonHumanoidFlag;androidShopUsableFlag;presetNo;androidPreset1;androidPreset2;androidPreset3;constructor(t){const{date:e,android_name:a,android_nickname:i,android_icon:s,android_description:n,android_hair:r,android_face:o,android_skin_name:c,android_cash_item_equipment:l,android_ear_sensor_clip_flag:h,android_gender:p,android_grade:m,android_non_humanoid_flag:d,android_shop_usable_flag:u,preset_no:_,android_preset_1:g,android_preset_2:f,android_preset_3:D}=t;this.date=e?new Date(e):null,this.androidName=a,this.androidNickname=i,this.androidIcon=s,this.androidDescription=n,this.androidHair=new v(r),this.androidFace=new w(o),this.androidSkinName=c,this.androidCashItemEquipment=l.map((t=>new y(t))),this.androidEarSensorClipFlag=h??null,this.androidGender=p,this.androidGrade=m,this.androidNonHumanoidFlag=d,this.androidShopUsableFlag=u,this.presetNo=_,this.androidPreset1=g?new k(g):null,this.androidPreset2=f?new k(f):null,this.androidPreset3=D?new k(D):null}}class C{date;characterName;worldName;characterGender;characterClass;characterClassLevel;characterLevel;characterExp;characterExpRate;characterGuildName;characterImage;characterDateCreate;accessFlag;liberationQuestClearFlag;constructor(t){const{date:e,character_name:a,world_name:i,character_gender:s,character_class:n,character_class_level:r,character_level:o,character_exp:c,character_exp_rate:l,character_guild_name:h,character_image:p,character_date_create:m,access_flag:d,liberation_quest_clear_flag:u}=t;this.date=e?new Date(e):null,this.characterName=a,this.worldName=i,this.characterGender=s,this.characterClass=n,this.characterClassLevel=r,this.characterLevel=o,this.characterExp=c,this.characterExpRate=l,this.characterGuildName=h,this.characterImage=p,this.characterDateCreate=new Date(m),this.accessFlag=d,this.liberationQuestClearFlag=u}get isAccessFlag(){return"true"===this.accessFlag}get isLiberationQuestClearFlag(){return"true"===this.liberationQuestClearFlag}}class E{faceName;baseColor;mixColor;mixRate;constructor(t){const{face_name:e,base_color:a,mix_color:i,mix_rate:s}=t;this.faceName=e,this.baseColor=a,this.mixColor=i,this.mixRate=s}}class P{hairName;baseColor;mixColor;mixRate;constructor(t){const{hair_name:e,base_color:a,mix_color:i,mix_rate:s}=t;this.hairName=e,this.baseColor=a,this.mixColor=i,this.mixRate=s}}class S{date;characterGender;characterClass;characterHair;characterFace;characterSkinName;additionalCharacterHair;additionalCharacterFace;additionalCharacterSkinName;constructor(t){const{date:e,character_gender:a,character_class:i,character_hair:s,character_face:n,character_skin_name:r,additional_character_hair:o,additional_character_face:c,additional_character_skin_name:l}=t;this.date=e?new Date(e):null,this.characterGender=a,this.characterClass=i,this.characterHair=new P(s),this.characterFace=new E(n),this.characterSkinName=r,this.additionalCharacterHair=o?new P(o):null,this.additionalCharacterFace=c?new E(c):null,this.additionalCharacterSkinName=l}}class x{colorRange;hue;saturation;value;constructor(t){const{color_range:e,hue:a,saturation:i,value:s}=t;this.colorRange=e,this.hue=a,this.saturation=i,this.value=s}}class N{optionType;optionValue;constructor(t){const{option_type:e,option_value:a}=t;this.optionType=e,this.optionValue=a}}class b{cashItemEquipmentPart;cashItemEquipmentSlot;cashItemName;cashItemIcon;cashItemDescription;cashItemOption;dateExpire;dateOptionExpire;cashItemLabel;cashItemColoringPrism;itemGender;constructor(t){const{cash_item_equipment_part:e,cash_item_equipment_slot:a,cash_item_name:i,cash_item_icon:s,cash_item_description:n,cash_item_option:r,date_expire:o,date_option_expire:c,cash_item_label:l,cash_item_coloring_prism:h,item_gender:p}=t;this.cashItemEquipmentPart=e,this.cashItemEquipmentSlot=a,this.cashItemName=i,this.cashItemIcon=s,this.cashItemDescription=n,this.cashItemOption=r.map((t=>new N(t))),this.dateExpire=o,this.dateOptionExpire=c,this.cashItemLabel=l,this.cashItemColoringPrism=h?new x(h):null,this.itemGender=p}}class I{date;characterGender;characterClass;presetNo;cashItemEquipmentBase;cashItemEquipmentPreset1;cashItemEquipmentPreset2;cashItemEquipmentPreset3;additionalCashItemEquipmentBase;additionalCashItemEquipmentPreset1;additionalCashItemEquipmentPreset2;additionalCashItemEquipmentPreset3;constructor(t){const{date:e,character_gender:a,character_class:i,preset_no:s,cash_item_equipment_base:n,cash_item_equipment_preset_1:r,cash_item_equipment_preset_2:o,cash_item_equipment_preset_3:c,additional_cash_item_equipment_base:l,additional_cash_item_equipment_preset_1:h,additional_cash_item_equipment_preset_2:p,additional_cash_item_equipment_preset_3:m}=t;this.date=e?new Date(e):null,this.characterGender=a,this.characterClass=i,this.presetNo=s,this.cashItemEquipmentBase=n.map((t=>new b(t))),this.cashItemEquipmentPreset1=r.map((t=>new b(t))),this.cashItemEquipmentPreset2=o.map((t=>new b(t))),this.cashItemEquipmentPreset3=c.map((t=>new b(t))),this.additionalCashItemEquipmentBase=l.map((t=>new b(t))),this.additionalCashItemEquipmentPreset1=h.map((t=>new b(t))),this.additionalCashItemEquipmentPreset2=p.map((t=>new b(t))),this.additionalCashItemEquipmentPreset3=m.map((t=>new b(t)))}}class O{date;characterClass;worldName;dojangBestFloor;dateDojangRecord;dojangBestTime;constructor(t){const{date:e,character_class:a,world_name:i,dojang_best_floor:s,date_dojang_record:n,dojang_best_time:r}=t;this.date=e?new Date(e):null,this.characterClass=a,this.worldName=i,this.dojangBestFloor=s,this.dateDojangRecord=n?new Date(n):null,this.dojangBestTime=r}}class q{ocid;constructor(t){const{ocid:e}=t;this.ocid=e}}class L{hexaSkillId;constructor(t){const{hexa_skill_id:e}=t;this.hexaSkillId=e}}class A{hexaCoreName;hexaCoreLevel;hexaCoreType;linkedSkill;constructor(t){const{hexa_core_name:e,hexa_core_level:a,hexa_core_type:i,linked_skill:s}=t;this.hexaCoreName=e,this.hexaCoreLevel=a,this.hexaCoreType=i,this.linkedSkill=s.map((t=>new L(t)))}}class R{date;characterHexaCoreEquipment;constructor(t){const{date:e,character_hexa_core_equipment:a}=t;this.date=e?new Date(e):null,this.characterHexaCoreEquipment=a.map((t=>new A(t)))}}class G{slotId;mainStatName;subStatName1;subStatName2;mainStatLevel;subStatLevel1;subStatLevel2;statGrade;constructor(t){const{slot_id:e,main_stat_name:a,sub_stat_name_1:i,sub_stat_name_2:s,main_stat_level:n,sub_stat_level_1:r,sub_stat_level_2:o,stat_grade:c}=t;this.slotId=e,this.mainStatName=a,this.subStatName1=i,this.subStatName2=s,this.mainStatLevel=n,this.subStatLevel1=r,this.subStatLevel2=o,this.statGrade=c}}class F{date;characterClass;characterHexaStatCore;presetHexaStatCore;constructor(t){const{date:e,character_class:a,character_hexa_stat_core:i,preset_hexa_stat_core:s}=t;this.date=e?new Date(e):null,this.characterClass=a,this.characterHexaStatCore=i.map((t=>new G(t))),this.presetHexaStatCore=s.map((t=>new G(t)))}}class T{statType;statPoint;statLevel;statIncrease;constructor(t){const{stat_type:e,stat_point:a,stat_level:i,stat_increase:s}=t;this.statType=e,this.statPoint=a,this.statLevel=i,this.statIncrease=s}}class M{date;characterClass;usePresetNo;useAvailableHyperStat;hyperStatPreset1;hyperStatPreset1RemainPoint;hyperStatPreset2;hyperStatPreset2RemainPoint;hyperStatPreset3;hyperStatPreset3RemainPoint;constructor(t){const{date:e,character_class:a,use_preset_no:i,use_available_hyper_stat:s,hyper_stat_preset_1:n,hyper_stat_preset_1_remain_point:r,hyper_stat_preset_2:o,hyper_stat_preset_2_remain_point:c,hyper_stat_preset_3:l,hyper_stat_preset_3_remain_point:h}=t;this.date=e?new Date(e):null,this.characterClass=a,this.usePresetNo=i,this.useAvailableHyperStat=s,this.hyperStatPreset1=n.map((t=>new T(t))),this.hyperStatPreset1RemainPoint=r,this.hyperStatPreset2=o.map((t=>new T(t))),this.hyperStatPreset2RemainPoint=c,this.hyperStatPreset3=l.map((t=>new T(t))),this.hyperStatPreset3RemainPoint=h}}class U{str;dex;int;luk;maxHp;maxMp;attackPower;magicPower;armor;speed;jump;bossDamage;damage;allStat;equipmentLevelDecrease;constructor(t){const{str:e,dex:a,int:i,luk:s,max_hp:n,max_mp:r,attack_power:o,magic_power:c,armor:l,speed:h,jump:p,boss_damage:m,damage:d,all_stat:u,equipment_level_decrease:_}=t;this.str=e,this.dex=a,this.int=i,this.luk=s,this.maxHp=n,this.maxMp=r,this.attackPower=o,this.magicPower=c,this.armor=l,this.speed=h,this.jump=p,this.bossDamage=m,this.damage=d,this.allStat=u,this.equipmentLevelDecrease=_}}class H{str;dex;int;luk;maxHp;maxMp;attackPower;magicPower;armor;speed;jump;bossDamage;ignoreMonsterArmor;allStat;maxHpRate;maxMpRate;baseEquipmentLevel;constructor(t){const{str:e,dex:a,int:i,luk:s,max_hp:n,max_mp:r,attack_power:o,magic_power:c,armor:l,speed:h,jump:p,boss_damage:m,ignore_monster_armor:d,all_stat:u,max_hp_rate:_,max_mp_rate:g,base_equipment_level:f}=t;this.str=e,this.dex=a,this.int=i,this.luk=s,this.maxHp=n,this.maxMp=r,this.attackPower=o,this.magicPower=c,this.armor=l,this.speed=h,this.jump=p,this.bossDamage=m,this.ignoreMonsterArmor=d,this.allStat=u,this.maxHpRate=_,this.maxMpRate=g,this.baseEquipmentLevel=f}}class ${str;dex;int;luk;maxHp;maxMp;attackPower;magicPower;armor;speed;jump;constructor(t){const{str:e,dex:a,int:i,luk:s,max_hp:n,max_mp:r,attack_power:o,magic_power:c,armor:l,speed:h,jump:p}=t;this.str=e,this.dex=a,this.int=i,this.luk=s,this.maxHp=n,this.maxMp=r,this.attackPower=o,this.magicPower=c,this.armor=l,this.speed=h,this.jump=p}}class j{str;dex;int;luk;maxHp;maxMp;attackPower;magicPower;constructor(t){const{str:e,dex:a,int:i,luk:s,max_hp:n,max_mp:r,attack_power:o,magic_power:c}=t;this.str=e,this.dex=a,this.int=i,this.luk=s,this.maxHp=n,this.maxMp=r,this.attackPower=o,this.magicPower=c}}class B{str;dex;int;luk;maxHp;maxMp;attackPower;magicPower;armor;speed;jump;constructor(t){const{str:e,dex:a,int:i,luk:s,max_hp:n,max_mp:r,attack_power:o,magic_power:c,armor:l,speed:h,jump:p}=t;this.str=e,this.dex=a,this.int=i,this.luk=s,this.maxHp=n,this.maxMp=r,this.attackPower=o,this.magicPower=c,this.armor=l,this.speed=h,this.jump=p}}class Y{str;dex;int;luk;maxHp;maxMp;attackPower;magicPower;armor;speed;jump;bossDamage;ignoreMonsterArmor;allStat;damage;equipmentLevelDecrease;maxHpRate;maxMpRate;constructor(t){const{str:e,dex:a,int:i,luk:s,max_hp:n,max_mp:r,attack_power:o,magic_power:c,armor:l,speed:h,jump:p,boss_damage:m,ignore_monster_armor:d,all_stat:u,damage:_,equipment_level_decrease:g,max_hp_rate:f,max_mp_rate:y}=t;this.str=e,this.dex=a,this.int=i,this.luk=s,this.maxHp=n,this.maxMp=r,this.attackPower=o,this.magicPower=c,this.armor=l,this.speed=h,this.jump=p,this.bossDamage=m,this.ignoreMonsterArmor=d,this.allStat=u,this.damage=_,this.equipmentLevelDecrease=g,this.maxHpRate=f,this.maxMpRate=y}}class V{itemEquipmentPart;itemEquipmentSlot;itemName;itemIcon;itemDescription;itemShapeName;itemShapeIcon;itemGender;itemTotalOption;itemBaseOption;equipmentLevelIncrease;itemExceptionalOption;itemAddOption;growthExp;growthLevel;scrollUpgrade;cuttableCount;goldenHammerFlag;scrollResilienceCount;scrollUpgradeableCount;soulName;soulOption;itemEtcOption;starforce;starforceScrollFlag;itemStarforceOption;specialRingLevel;dateExpire;constructor(t){const{item_equipment_part:e,item_equipment_slot:a,item_name:i,item_icon:s,item_description:n,item_shape_name:r,item_shape_icon:o,item_gender:c,item_total_option:l,item_base_option:h,equipment_level_increase:p,item_exceptional_option:m,item_add_option:d,growth_exp:u,growth_level:_,scroll_upgrade:g,cuttable_count:f,golden_hammer_flag:y,scroll_resilience_count:w,scroll_upgradeable_count:v,soul_name:k,soul_option:D,item_etc_option:C,starforce:E,starforce_scroll_flag:P,item_starforce_option:S,special_ring_level:x,date_expire:N}=t;this.itemEquipmentPart=e,this.itemEquipmentSlot=a,this.itemName=i,this.itemIcon=s,this.itemDescription=n,this.itemShapeName=r,this.itemShapeIcon=o,this.itemGender=c,this.itemTotalOption=new Y(l),this.itemBaseOption=new H(h),this.equipmentLevelIncrease=p,this.itemExceptionalOption=new j(m),this.itemAddOption=new U(d),this.growthExp=u,this.growthLevel=_,this.scrollUpgrade=g,this.cuttableCount=f,this.goldenHammerFlag=y,this.scrollResilienceCount=w,this.scrollUpgradeableCount=v,this.soulName=k,this.soulOption=D,this.itemEtcOption=new $(C),this.starforce=E,this.starforceScrollFlag=P,this.itemStarforceOption=new B(S),this.specialRingLevel=x,this.dateExpire=N?new Date(N):null}}class z{itemEquipmentPart;itemEquipmentSlot;itemName;itemIcon;itemDescription;itemShapeName;itemShapeIcon;itemGender;itemTotalOption;itemBaseOption;potentialOptionGrade;additionalPotentialOptionGrade;potentialOption1;potentialOption2;potentialOption3;additionalPotentialOption1;additionalPotentialOption2;additionalPotentialOption3;equipmentLevelIncrease;itemExceptionalOption;itemAddOption;growthExp;growthLevel;scrollUpgrade;cuttableCount;goldenHammerFlag;scrollResilienceCount;scrollUpgradeableCount;soulName;soulOption;itemEtcOption;starforce;starforceScrollFlag;itemStarforceOption;specialRingLevel;dateExpire;constructor(t){const{item_equipment_part:e,item_equipment_slot:a,item_name:i,item_icon:s,item_description:n,item_shape_name:r,item_shape_icon:o,item_gender:c,item_total_option:l,item_base_option:h,potential_option_grade:p,additional_potential_option_grade:m,potential_option_1:d,potential_option_2:u,potential_option_3:_,additional_potential_option_1:g,additional_potential_option_2:f,additional_potential_option_3:y,equipment_level_increase:w,item_exceptional_option:v,item_add_option:k,growth_exp:D,growth_level:C,scroll_upgrade:E,cuttable_count:P,golden_hammer_flag:S,scroll_resilience_count:x,scroll_upgradeable_count:N,soul_name:b,soul_option:I,item_etc_option:O,starforce:q,starforce_scroll_flag:L,item_starforce_option:A,special_ring_level:R,date_expire:G}=t;this.itemEquipmentPart=e,this.itemEquipmentSlot=a,this.itemName=i,this.itemIcon=s,this.itemDescription=n,this.itemShapeName=r,this.itemShapeIcon=o,this.itemGender=c,this.itemTotalOption=new Y(l),this.itemBaseOption=new H(h),this.potentialOptionGrade=p,this.additionalPotentialOptionGrade=m,this.potentialOption1=d,this.potentialOption2=u,this.potentialOption3=_,this.additionalPotentialOption1=g,this.additionalPotentialOption2=f,this.additionalPotentialOption3=y,this.equipmentLevelIncrease=w,this.itemExceptionalOption=new j(v),this.itemAddOption=new U(k),this.growthExp=D,this.growthLevel=C,this.scrollUpgrade=E,this.cuttableCount=P,this.goldenHammerFlag=S,this.scrollResilienceCount=x,this.scrollUpgradeableCount=N,this.soulName=b,this.soulOption=I,this.itemEtcOption=new $(O),this.starforce=q,this.starforceScrollFlag=L,this.itemStarforceOption=new B(A),this.specialRingLevel=R,this.dateExpire=G?new Date(G):null}}class Q{itemEquipmentPart;itemEquipmentSlot;itemName;itemIcon;itemDescription;itemShapeName;itemShapeIcon;itemGender;itemTotalOption;itemBaseOption;equipmentLevelIncrease;itemExceptionalOption;itemAddOption;growthExp;growthLevel;scrollUpgrade;cuttableCount;goldenHammerFlag;scrollResilienceCount;scrollUpgradeableCount;soulName;soulOption;itemEtcOption;starforce;starforceScrollFlag;itemStarforceOption;specialRingLevel;dateExpire;constructor(t){const{item_equipment_part:e,item_equipment_slot:a,item_name:i,item_icon:s,item_description:n,item_shape_name:r,item_shape_icon:o,item_gender:c,item_total_option:l,item_base_option:h,equipment_level_increase:p,item_exceptional_option:m,item_add_option:d,growth_exp:u,growth_level:_,scroll_upgrade:g,cuttable_count:f,golden_hammer_flag:y,scroll_resilience_count:w,scroll_upgradeable_count:v,soul_name:k,soul_option:D,item_etc_option:C,starforce:E,starforce_scroll_flag:P,item_starforce_option:S,special_ring_level:x,date_expire:N}=t;this.itemEquipmentPart=e,this.itemEquipmentSlot=a,this.itemName=i,this.itemIcon=s,this.itemDescription=n,this.itemShapeName=r,this.itemShapeIcon=o,this.itemGender=c,this.itemTotalOption=new Y(l),this.itemBaseOption=new H(h),this.equipmentLevelIncrease=p,this.itemExceptionalOption=new j(m),this.itemAddOption=new U(d),this.growthExp=u,this.growthLevel=_,this.scrollUpgrade=g,this.cuttableCount=f,this.goldenHammerFlag=y,this.scrollResilienceCount=w,this.scrollUpgradeableCount=v,this.soulName=k,this.soulOption=D,this.itemEtcOption=new $(C),this.starforce=E,this.starforceScrollFlag=P,this.itemStarforceOption=new B(S),this.specialRingLevel=x,this.dateExpire=N?new Date(N):null}}class Z{titleName;titleIcon;titleDescription;dateExpire;dateOptionExpire=null;isOptionExpired=null;constructor(t){const{title_name:e,title_icon:a,title_description:i,date_expire:s,date_option_expire:n}=t;this.titleName=e,this.titleIcon=a,this.titleDescription=i,this.dateExpire=s?new Date(s):null,"expired"===n?this.isOptionExpired=!0:"string"==typeof n&&(this.dateOptionExpire=n?new Date(n):null)}}class K{date;characterGender;characterClass;presetNo;itemEquipment;itemEquipmentPreset1;itemEquipmentPreset2;itemEquipmentPreset3;title;dragonEquipment;mechanicEquipment;constructor(t){const{date:e,character_gender:a,character_class:i,preset_no:s,item_equipment:n,item_equipment_preset_1:r,item_equipment_preset_2:o,item_equipment_preset_3:c,title:l,dragon_equipment:h,mechanic_equipment:p}=t;this.date=e?new Date(e):null,this.characterGender=a,this.characterClass=i,this.presetNo=s,this.itemEquipment=n.map((t=>new z(t))),this.itemEquipmentPreset1=r?r.map((t=>new z(t))):null,this.itemEquipmentPreset2=o?o.map((t=>new z(t))):null,this.itemEquipmentPreset3=c?c.map((t=>new z(t))):null,this.title=l?new Z(l):null,this.dragonEquipment=h.map((t=>new V(t))),this.mechanicEquipment=p.map((t=>new Q(t)))}}class X{skillName;skillDescription;skillLevel;skillEffect;skillEffectNext;skillIcon;constructor(t){const{skill_name:e,skill_description:a,skill_level:i,skill_effect:s,skill_effect_next:n,skill_icon:r}=t;this.skillName=e,this.skillDescription=a,this.skillLevel=i,this.skillEffect=s,this.skillEffectNext=n,this.skillIcon=r}}class W{date;characterClass;characterLinkSkill;characterLinkSkillPreset1;characterLinkSkillPreset2;characterLinkSkillPreset3;characterOwnedLinkSkill;characterOwnedLinkSkillPreset1;characterOwnedLinkSkillPreset2;characterOwnedLinkSkillPreset3;constructor(t){const{date:e,character_class:a,character_link_skill:i,character_link_skill_preset_1:s,character_link_skill_preset_2:n,character_link_skill_preset_3:r,character_owned_link_skill:o,character_owned_link_skill_preset_1:c,character_owned_link_skill_preset_2:l,character_owned_link_skill_preset_3:h}=t;this.date=e?new Date(e):null,this.characterClass=a,this.characterLinkSkill=i.map((t=>new X(t))),this.characterLinkSkillPreset1=s.map((t=>new X(t))),this.characterLinkSkillPreset2=n.map((t=>new X(t))),this.characterLinkSkillPreset3=r.map((t=>new X(t))),this.characterOwnedLinkSkill=new X(o),this.characterOwnedLinkSkillPreset1=c?new X(c):null,this.characterOwnedLinkSkillPreset2=l?new X(l):null,this.characterOwnedLinkSkillPreset3=h?new X(h):null}}class J{ocid;characterName;worldName;characterClass;characterLevel;constructor(t){const{ocid:e,character_name:a,world_name:i,character_class:s,character_level:n}=t;this.ocid=e,this.characterName=a,this.worldName=i,this.characterClass=s,this.characterLevel=n}}class tt{accountId;characterList;constructor(t){const{account_id:e,character_list:a}=t;this.accountId=e,this.characterList=a.map((t=>new J(t)))}}class et{accountList;constructor(t){const{account_list:e}=t;this.accountList=e.map((t=>new tt(t)))}}class at{skill1;skill1Icon;skill2;skill2Icon;constructor(t){const{skill_1:e,skill_1_icon:a,skill_2:i,skill_2_icon:s}=t;this.skill1=e,this.skill1Icon=a,this.skill2=i,this.skill2Icon=s}}class it{optionType;optionValue;constructor(t){const{option_type:e,option_value:a}=t;this.optionType=e,this.optionValue=a}}class st{itemName;itemIcon;itemDescription;itemOption;scrollUpgrade;scrollUpgradable;itemShape;itemShapeIcon;constructor(t){const{item_name:e,item_icon:a,item_description:i,item_option:s,scroll_upgrade:n,scroll_upgradable:r,item_shape:o,item_shape_icon:c}=t;this.itemName=e,this.itemIcon=a,this.itemDescription=i,this.itemOption=s.map((t=>new it(t))),this.scrollUpgrade=n,this.scrollUpgradable=r,this.itemShape=o,this.itemShapeIcon=c}}class nt{date;pet1Name;pet1Nickname;pet1Icon;pet1Description;pet1Equipment;pet1AutoSkill;pet1PetType;pet1Skill;pet1DateExpire;pet1Appearance;pet1AppearanceIcon;pet2Name;pet2Nickname;pet2Icon;pet2Description;pet2Equipment;pet2AutoSkill;pet2PetType;pet2Skill;pet2DateExpire;pet2Appearance;pet2AppearanceIcon;pet3Name;pet3Nickname;pet3Icon;pet3Description;pet3Equipment;pet3AutoSkill;pet3PetType;pet3Skill;pet3DateExpire;pet3Appearance;pet3AppearanceIcon;constructor(t){const{date:e,pet_1_name:a,pet_1_nickname:i,pet_1_icon:s,pet_1_description:n,pet_1_equipment:r,pet_1_auto_skill:o,pet_1_pet_type:c,pet_1_skill:l,pet_1_date_expire:h,pet_1_appearance:p,pet_1_appearance_icon:m,pet_2_name:d,pet_2_nickname:u,pet_2_icon:_,pet_2_description:g,pet_2_equipment:f,pet_2_auto_skill:y,pet_2_pet_type:w,pet_2_skill:v,pet_2_date_expire:k,pet_2_appearance:D,pet_2_appearance_icon:C,pet_3_name:E,pet_3_nickname:P,pet_3_icon:S,pet_3_description:x,pet_3_equipment:N,pet_3_auto_skill:b,pet_3_pet_type:I,pet_3_skill:O,pet_3_date_expire:q,pet_3_appearance:L,pet_3_appearance_icon:A}=t;this.date=e?new Date(e):null,this.pet1Name=a,this.pet1Nickname=i,this.pet1Icon=s,this.pet1Description=n,this.pet1Equipment=r?new st(r):null,this.pet1AutoSkill=o?new at(o):null,this.pet1PetType=c,this.pet1Skill=l,this.pet1DateExpire=h?new Date(h):null,this.pet1Appearance=p,this.pet1AppearanceIcon=m,this.pet2Name=d,this.pet2Nickname=u,this.pet2Icon=_,this.pet2Description=g,this.pet2Equipment=f?new st(f):null,this.pet2AutoSkill=y?new at(y):null,this.pet2PetType=w,this.pet2Skill=v,this.pet2DateExpire=k?new Date(k):null,this.pet2Appearance=D,this.pet2AppearanceIcon=C,this.pet3Name=E,this.pet3Nickname=P,this.pet3Icon=S,this.pet3Description=x,this.pet3Equipment=N?new st(N):null,this.pet3AutoSkill=b?new at(b):null,this.pet3PetType=I,this.pet3Skill=O,this.pet3DateExpire=q?new Date(q):null,this.pet3Appearance=L,this.pet3AppearanceIcon=A}}class rt{date;popularity;constructor(t){const{date:e,popularity:a}=t;this.date=e?new Date(e):null,this.popularity=a}}class ot{date;charismaLevel;sensibilityLevel;insightLevel;willingnessLevel;handicraftLevel;charmLevel;constructor(t){const{date:e,charisma_level:a,sensibility_level:i,insight_level:s,willingness_level:n,handicraft_level:r,charm_level:o}=t;this.date=e?new Date(e):null,this.charismaLevel=a,this.sensibilityLevel=i,this.insightLevel=s,this.willingnessLevel=n,this.handicraftLevel=r,this.charmLevel=o}}class ct{setCount;setOption;constructor(t){const{set_count:e,set_option:a}=t;this.setCount=e,this.setOption=a}}class lt{setCount;setOption;constructor(t){const{set_count:e,set_option:a}=t;this.setCount=e,this.setOption=a}}class ht{setName;totalSetCount;setEffectInfo;setOptionFull;constructor(t){const{set_name:e,total_set_count:a,set_effect_info:i,set_option_full:s}=t;this.setName=e,this.totalSetCount=a,this.setEffectInfo=i.map((t=>new ct(t))),this.setOptionFull=s.map((t=>new lt(t)))}}class pt{date;setEffect;constructor(t){const{date:e,set_effect:a}=t;this.date=e?new Date(e):null,this.setEffect=a.map((t=>new ht(t)))}}class mt{skillName;skillDescription;skillLevel;skillEffect;skillEffectNext;skillIcon;constructor(t){const{skill_name:e,skill_description:a,skill_level:i,skill_effect:s,skill_effect_next:n,skill_icon:r}=t;this.skillName=e,this.skillDescription=a,this.skillLevel=i,this.skillEffect=s,this.skillEffectNext=n,this.skillIcon=r}}class dt{date;characterClass;characterSkillGrade;characterSkill;constructor(t){const{date:e,character_class:a,character_skill_grade:i,character_skill:s}=t;this.date=e?new Date(e):null,this.characterClass=a,this.characterSkillGrade=i,this.characterSkill=s.map((t=>new mt(t)))}}class ut{date;characterClass;finalStat;remainAP;constructor(t){const{date:e,character_class:a,final_stat:i,remain_ap:s}=t;this.date=e?new Date(e):null,this.characterClass=a,this.finalStat=i.map((t=>({statName:t.stat_name,statValue:t.stat_value}))),this.remainAP=s}}class _t{symbolName;symbolIcon;symbolDescription;symbolForce;symbolLevel;symbolStr;symbolDex;symbolInt;symbolLuk;symbolHp;symbolGrowthCount;symbolRequireGrowthCount;constructor(t){const{symbol_name:e,symbol_icon:a,symbol_description:i,symbol_force:s,symbol_level:n,symbol_str:r,symbol_dex:o,symbol_int:c,symbol_luk:l,symbol_hp:h,symbol_growth_count:p,symbol_require_growth_count:m}=t;this.symbolName=e,this.symbolIcon=a,this.symbolDescription=i,this.symbolForce=s,this.symbolLevel=n,this.symbolStr=r,this.symbolDex=o,this.symbolInt=c,this.symbolLuk=l,this.symbolHp=h,this.symbolGrowthCount=p,this.symbolRequireGrowthCount=m}}class gt{date;characterClass;symbol;constructor(t){const{date:e,character_class:a,symbol:i}=t;this.date=e?new Date(e):null,this.characterClass=a,this.symbol=i.map((t=>new _t(t)))}}class ft{slotId;slotLevel;vCoreName;vCoreType;vCoreLevel;vCoreSkill1;vCoreSkill2;vCoreSkill3;constructor(t){const{slot_id:e,slot_level:a,v_core_name:i,v_core_type:s,v_core_level:n,v_core_skill_1:r,v_core_skill_2:o,v_core_skill_3:c}=t;this.slotId=e,this.slotLevel=a,this.vCoreName=i,this.vCoreType=s,this.vCoreLevel=n,this.vCoreSkill1=r,this.vCoreSkill2=o,this.vCoreSkill3=c}}class yt{date;characterClass;characterVCoreEquipment;characterVMatrixRemainSlotUpgradePoint;constructor(t){const{date:e,character_class:a,character_v_core_equipment:i,character_v_matrix_remain_slot_upgrade_point:s}=t;this.date=e?new Date(e):null,this.characterClass=a,this.characterVCoreEquipment=i.map((t=>new ft(t))),this.characterVMatrixRemainSlotUpgradePoint=s}}class wt{skillName;skillDescription;skillLevel;skillEffect;skillIcon;constructor(t){const{skill_name:e,skill_description:a,skill_level:i,skill_effect:s,skill_icon:n}=t;this.skillName=e,this.skillDescription=a,this.skillLevel=i,this.skillEffect=s,this.skillIcon=n}}class vt{date;worldName;guildName;guildLevel;guildFame;guildPoint;guildMasterName;guildMemberCount;guildMember;guildSkill;guildNoblesseSkill;constructor(t){const{date:e,world_name:a,guild_name:i,guild_level:s,guild_fame:n,guild_point:r,guild_master_name:o,guild_member_count:c,guild_member:l,guild_skill:h,guild_noblesse_skill:p}=t;this.date=e?new Date(e):null,this.worldName=a,this.guildName=i,this.guildLevel=s,this.guildFame=n,this.guildPoint=r,this.guildMasterName=o,this.guildMemberCount=c,this.guildMember=l,this.guildSkill=h.map((t=>new wt(t))),this.guildNoblesseSkill=p.map((t=>new wt(t)))}}class kt{oguildId;constructor(t){const{oguild_id:e}=t;this.oguildId=e}}t.PotentialOptionGrade=void 0,(p=t.PotentialOptionGrade||(t.PotentialOptionGrade={}))[p.RARE=0]="RARE",p[p.EPIC=1]="EPIC",p[p.UNIQUE=2]="UNIQUE",p[p.LEGENDARY=3]="LEGENDARY";const Dt=e=>{const a={"레어":t.PotentialOptionGrade.RARE,"에픽":t.PotentialOptionGrade.EPIC,"유니크":t.PotentialOptionGrade.UNIQUE,"레전드리":t.PotentialOptionGrade.LEGENDARY}[e];if(!a)throw new TypeError("No enum constant for string: "+e);return a};class Ct{value;grade;constructor(t){const{value:e,grade:a}=t;this.value=e,this.grade=a}get gradeEnum(){return Dt(this.grade)}}class Et{id;characterName;worldName;dateCreate;cubeType;itemUpgradeResult;miracleTimeFlag;itemEquipmentPart;itemLevel;targetItem;potentialOptionGrade;additionalPotentialOptionGrade;upgradeGuarantee;upgradeGuaranteeCount;beforePotentialOption;beforeAdditionalPotentialOption;afterPotentialOption;afterAdditionalPotentialOption;constructor(t){const{id:e,character_name:a,world_name:i,date_create:s,cube_type:n,item_upgrade_result:r,miracle_time_flag:o,item_equipment_part:c,item_level:l,target_item:h,potential_option_grade:p,additional_potential_option_grade:m,upgrade_guarantee:d,upgrade_guarantee_count:u,before_potential_option:_,before_additional_potential_option:g,after_potential_option:f,after_additional_potential_option:y}=t;this.id=e,this.characterName=a,this.worldName=i,this.dateCreate=new Date(s),this.cubeType=n,this.itemUpgradeResult=r,this.miracleTimeFlag=o,this.itemEquipmentPart=c,this.itemLevel=l,this.targetItem=h,this.potentialOptionGrade=p,this.additionalPotentialOptionGrade=m,this.upgradeGuarantee=d,this.upgradeGuaranteeCount=u,this.beforePotentialOption=_.map((t=>new Ct(t))),this.beforeAdditionalPotentialOption=g.map((t=>new Ct(t))),this.afterPotentialOption=f.map((t=>new Ct(t))),this.afterAdditionalPotentialOption=y.map((t=>new Ct(t)))}get isItemUpgrade(){return"성공"===this.itemUpgradeResult}get isMiracleTimeFlag(){return"이벤트 적용되지 않음"!==this.miracleTimeFlag}get potentialOptionGradeEnum(){return Dt(this.potentialOptionGrade)}get additionalPotentialOptionGradeEnum(){return Dt(this.additionalPotentialOptionGrade)}}class Pt{count;cubeHistory;nextCursor;constructor(t){const{count:e,cube_history:a,next_cursor:i}=t;this.count=e,this.cubeHistory=a.map((t=>new Et(t))),this.nextCursor=i}}class St{value;grade;constructor(t){const{value:e,grade:a}=t;this.value=e,this.grade=a}get gradeEnum(){return Dt(this.grade)}}class xt{id;characterName;dateCreate;potentialType;itemUpgradeResult;miracleTimeFlag;itemEquipmentPart;itemLevel;targetItem;potentialOptionGrade;additionalPotentialOptionGrade;upgradeGuarantee;upgradeGuaranteeCount;beforePotentialOption;beforeAdditionalPotentialOption;afterPotentialOption;afterAdditionalPotentialOption;constructor(t){const{id:e,character_name:a,date_create:i,potential_type:s,item_upgrade_result:n,miracle_time_flag:r,item_equipment_part:o,item_level:c,target_item:l,potential_option_grade:h,additional_potential_option_grade:p,upgrade_guarantee:m,upgrade_guarantee_count:d,before_potential_option:u,before_additional_potential_option:_,after_potential_option:g,after_additional_potential_option:f}=t;this.id=e,this.characterName=a,this.dateCreate=new Date(i),this.potentialType=s,this.itemUpgradeResult=n,this.miracleTimeFlag=r,this.itemEquipmentPart=o,this.itemLevel=c,this.targetItem=l,this.potentialOptionGrade=h,this.additionalPotentialOptionGrade=p,this.upgradeGuarantee=m,this.upgradeGuaranteeCount=d,this.beforePotentialOption=u.map((t=>new St(t))),this.beforeAdditionalPotentialOption=_.map((t=>new St(t))),this.afterPotentialOption=g.map((t=>new St(t))),this.afterAdditionalPotentialOption=f.map((t=>new St(t)))}get isItemUpgrade(){return"성공"===this.itemUpgradeResult}get isMiracleTimeFlag(){return"이벤트 적용되지 않음"!==this.miracleTimeFlag}get potentialOptionGradeEnum(){return Dt(this.potentialOptionGrade)}get additionalPotentialOptionGradeEnum(){return Dt(this.additionalPotentialOptionGrade)}}class Nt{count;potentialHistory;nextCursor;constructor(t){const{count:e,potential_history:a,next_cursor:i}=t;this.count=e,this.potentialHistory=a.map((t=>new xt(t))),this.nextCursor=i}}class bt{successRate;costDiscountRate;plusValue;starforceEventRange;constructor(t){const{success_rate:e,cost_discount_rate:a,plus_value:i,starforce_event_range:s}=t;this.successRate=e,this.costDiscountRate=a,this.plusValue=i,this.starforceEventRange=s}}class It{id;itemUpgradeResult;beforeStarforceCount;afterStarforceCount;starCatchResult;superiorItemFlag;destroyDefence;chanceTime;eventFieldFlag;upgradeItem;protectShield;bonusStatUpgrade;characterName;worldName;targetItem;dateCreate;starforceEventList;constructor(t){const{id:e,item_upgrade_result:a,before_starforce_count:i,after_starforce_count:s,starcatch_result:n,superior_item_flag:r,destroy_defence:o,chance_time:c,event_field_flag:l,upgrade_item:h,protect_shield:p,bonus_stat_upgrade:m,character_name:d,world_name:u,target_item:_,date_create:g,starforce_event_list:f}=t;this.id=e,this.itemUpgradeResult=a,this.beforeStarforceCount=i,this.afterStarforceCount=s,this.starCatchResult=n,this.superiorItemFlag=r,this.destroyDefence=o,this.chanceTime=c,this.eventFieldFlag=l,this.upgradeItem=h,this.protectShield=p,this.bonusStatUpgrade=m,this.characterName=d,this.worldName=u,this.targetItem=_,this.dateCreate=new Date(g),this.starforceEventList=f?.map((t=>new bt(t)))??null}}class Ot{count;starforceHistory;nextCursor;constructor(t){const{count:e,starforce_history:a,next_cursor:i}=t;this.count=e,this.starforceHistory=a.map((t=>new It(t))),this.nextCursor=i}}class qt{serviceCode;startDateTime;endDateTime;strObstacleContents;constructor(t){const e=t["soap:Envelope"]["soap:Body"][0].GetInspectionInfoResponse[0].GetInspectionInfoResult[0]["diffgr:diffgram"][0].NewDataSet[0].InspectionInfo[0];this.serviceCode=Number(e.serviceCode[0]),this.startDateTime=new Date(e.startDateTime[0]),this.endDateTime=new Date(e.endDateTime[0]),this.strObstacleContents=e.strObstacleContents[0]}}class Lt{title;url;contents;date;dateSaleStart;dateSaleEnd;ongoingFlag;constructor(t){const{title:e,url:a,contents:i,date:s,date_sale_start:n,date_sale_end:r,ongoing_flag:o}=t;this.title=e,this.url=a,this.contents=i,this.date=new Date(s),this.dateSaleStart=n?new Date(n):null,this.dateSaleEnd=r?new Date(r):null,this.ongoingFlag=o}get isOnGoing(){return"true"===this.ongoingFlag}}class At{title;url;noticeId;date;dateSaleStart;dateSaleEnd;ongoingFlag;constructor(t){const{title:e,url:a,notice_id:i,date:s,date_sale_start:n,date_sale_end:r,ongoing_flag:o}=t;this.title=e,this.url=a,this.noticeId=i,this.date=new Date(s),this.dateSaleStart=n?new Date(n):null,this.dateSaleEnd=r?new Date(r):null,this.ongoingFlag=o}get isOnGoing(){return"true"===this.ongoingFlag}}class Rt{cashshopNotice;constructor(t){const{cashshop_notice:e}=t;this.cashshopNotice=e.map((t=>new At(t)))}}class Gt{title;url;contents;date;dateEventStart;dateEventEnd;constructor(t){const{title:e,url:a,contents:i,date:s,date_event_start:n,date_event_end:r}=t;this.title=e,this.url=a,this.contents=i,this.date=new Date(s),this.dateEventStart=new Date(n),this.dateEventEnd=new Date(r)}}class Ft{title;url;noticeId;date;dateEventStart;dateEventEnd;constructor(t){const{title:e,url:a,notice_id:i,date:s,date_event_start:n,date_event_end:r}=t;this.title=e,this.url=a,this.noticeId=i,this.date=new Date(s),this.dateEventStart=new Date(n),this.dateEventEnd=new Date(r)}}class Tt{eventNotice;constructor(t){const{event_notice:e}=t;this.eventNotice=e.map((t=>new Ft(t)))}}class Mt{title;url;contents;date;constructor(t){const{title:e,url:a,contents:i,date:s}=t;this.title=e,this.url=a,this.contents=i,this.date=new Date(s)}}class Ut{title;url;noticeId;date;constructor(t){const{title:e,url:a,notice_id:i,date:s}=t;this.title=e,this.url=a,this.noticeId=i,this.date=new Date(s)}}class Ht{notice;constructor(t){const{notice:e}=t;this.notice=e.map((t=>new Ut(t)))}}class $t{title;url;contents;date;constructor(t){const{title:e,url:a,contents:i,date:s}=t;this.title=e,this.url=a,this.contents=i,this.date=new Date(s)}}class jt{title;url;noticeId;date;constructor(t){const{title:e,url:a,notice_id:i,date:s}=t;this.title=e,this.url=a,this.noticeId=i,this.date=new Date(s)}}class Bt{updateNotice;constructor(t){const{update_notice:e}=t;this.updateNotice=e.map((t=>new jt(t)))}}class Yt{date;ranking;characterName;worldName;className;subClassName;trophyGrade;trophyScore;constructor(t){const{date:e,ranking:a,character_name:i,world_name:s,class_name:n,sub_class_name:r,trophy_grade:o,trophy_score:c}=t;this.date=new Date(e),this.ranking=a,this.characterName=i,this.worldName=s,this.className=n,this.subClassName=r,this.trophyGrade=o,this.trophyScore=c}}class Vt{ranking;constructor(t){const{ranking:e}=t;this.ranking=e.map((t=>new Yt(t)))}}class zt{date;ranking;characterName;worldName;className;subClassName;characterLevel;dojangFloor;dojangTimeRecord;constructor(t){const{date:e,ranking:a,character_name:i,world_name:s,class_name:n,sub_class_name:r,character_level:o,dojang_floor:c,dojang_time_record:l}=t;this.date=new Date(e),this.ranking=a,this.characterName=i,this.worldName=s,this.className=n,this.subClassName=r,this.characterLevel=o,this.dojangFloor=c,this.dojangTimeRecord=l}}class Qt{ranking;constructor(t){const{ranking:e}=t;this.ranking=e.map((t=>new zt(t)))}}class Zt{date;ranking;guildName;worldName;guildLevel;guildMasterName;guildMark;guildPoint;constructor(t){const{date:e,ranking:a,guild_name:i,world_name:s,guild_level:n,guild_master_name:r,guild_mark:o,guild_point:c}=t;this.date=new Date(e),this.ranking=a,this.guildName=i,this.worldName=s,this.guildLevel=n,this.guildMasterName=r,this.guildMark=o,this.guildPoint=c}}class Kt{ranking;constructor(t){const{ranking:e}=t;this.ranking=e.map((t=>new Zt(t)))}}class Xt{date;ranking;characterName;worldName;className;subClassName;characterLevel;characterExp;characterPopularity;characterGuildName;constructor(t){const{date:e,ranking:a,character_name:i,world_name:s,class_name:n,sub_class_name:r,character_level:o,character_exp:c,character_popularity:l,character_guildname:h}=t;this.date=new Date(e),this.ranking=a,this.characterName=i,this.worldName=s,this.className=n,this.subClassName=r,this.characterLevel=o,this.characterExp=c,this.characterPopularity=l,this.characterGuildName=h}}class Wt{ranking;constructor(t){const{ranking:e}=t;this.ranking=e.map((t=>new Xt(t)))}}class Jt{date;ranking;characterName;worldName;className;subClassName;characterLevel;theSeedFloor;theSeedTimeRecord;constructor(t){const{date:e,ranking:a,character_name:i,world_name:s,class_name:n,sub_class_name:r,character_level:o,theseed_floor:c,theseed_time_record:l}=t;this.date=new Date(e),this.ranking=a,this.characterName=i,this.worldName=s,this.className=n,this.subClassName=r,this.characterLevel=o,this.theSeedFloor=c,this.theSeedTimeRecord=l}}class te{ranking;constructor(t){const{ranking:e}=t;this.ranking=e.map((t=>new Jt(t)))}}class ee{date;ranking;characterName;worldName;className;subClassName;unionLevel;unionPower;constructor(t){const{date:e,ranking:a,character_name:i,world_name:s,class_name:n,sub_class_name:r,union_level:o,union_power:c}=t;this.date=new Date(e),this.ranking=a,this.characterName=i,this.worldName=s,this.className=n,this.subClassName=r,this.unionLevel=o,this.unionPower=c}}class ae{ranking;constructor(t){const{ranking:e}=t;this.ranking=e.map((t=>new ee(t)))}}class ie{name;validityFlag;dateExpire;level;crystalOptionName1;crystalOptionName2;crystalOptionName3;constructor(t){const{name:e,validity_flag:a,date_expire:i,level:s,crystal_option_name_1:n,crystal_option_name_2:r,crystal_option_name_3:o}=t;this.name=e,this.validityFlag=a,this.dateExpire=new Date(i),this.level=s,this.crystalOptionName1=n,this.crystalOptionName2=r,this.crystalOptionName3=o}}class se{name;level;constructor(t){const{name:e,level:a}=t;this.name=e,this.level=a}}class ne{date;unionArtifactEffect;unionArtifactCrystal;unionArtifactRemainAp;constructor(t){const{date:e,union_artifact_effect:a,union_artifact_crystal:i,union_artifact_remain_ap:s}=t;this.date=e?new Date(e):null,this.unionArtifactEffect=a.map((t=>new se(t))),this.unionArtifactCrystal=i.map((t=>new ie(t))),this.unionArtifactRemainAp=s}}class re{date;unionLevel;unionGrade;unionArtifactLevel;unionArtifactExp;unionArtifactPoint;constructor(t){const{date:e,union_level:a,union_grade:i,union_artifact_level:s,union_artifact_exp:n,union_artifact_point:r}=t;this.date=e?new Date(e):null,this.unionLevel=a,this.unionGrade=i,this.unionArtifactLevel=s,this.unionArtifactExp=n,this.unionArtifactPoint=r}}class oe{x;y;constructor(t){const{x:e,y:a}=t;this.x=e,this.y=a}}class ce{x;y;constructor(t){const{x:e,y:a}=t;this.x=e,this.y=a}}class le{blockType;blockClass;blockLevel;blockControlPoint;blockPosition;constructor(t){const{block_type:e,block_class:a,block_level:i,block_control_point:s,block_position:n}=t;this.blockType=e,this.blockClass=a,this.blockLevel=i,this.blockControlPoint=new ce(s),this.blockPosition=n?n.map((t=>new oe(t))):null}}class he{statFieldId;statFieldEffect;constructor(t){const{stat_field_id:e,stat_field_effect:a}=t;this.statFieldId=e,this.statFieldEffect=a}}class pe{unionRaiderStat;unionOccupiedStat;unionInnerStat;unionBlock;constructor(t){const{union_raider_stat:e,union_occupied_stat:a,union_inner_stat:i,union_block:s}=t;this.unionRaiderStat=e,this.unionOccupiedStat=a,this.unionInnerStat=i.map((t=>new he(t))),this.unionBlock=s.map((t=>new le(t)))}}class me{date;unionRaiderStat;unionOccupiedStat;unionInnerStat;unionBlock;usePresetNo;unionRaiderPreset1;unionRaiderPreset2;unionRaiderPreset3;unionRaiderPreset4;unionRaiderPreset5;constructor(t){const{date:e,union_raider_stat:a,union_occupied_stat:i,union_inner_stat:s,union_block:n,use_preset_no:r,union_raider_preset_1:o,union_raider_preset_2:c,union_raider_preset_3:l,union_raider_preset_4:h,union_raider_preset_5:p}=t;this.date=e?new Date(e):null,this.unionRaiderStat=a,this.unionOccupiedStat=i,this.unionInnerStat=s.map((t=>new he(t))),this.unionBlock=n.map((t=>new le(t))),this.usePresetNo=r,this.unionRaiderPreset1=o?new pe(o):null,this.unionRaiderPreset2=c?new pe(c):null,this.unionRaiderPreset3=l?new pe(l):null,this.unionRaiderPreset4=h?new pe(h):null,this.unionRaiderPreset5=p?new pe(p):null}}class de extends Error{name="MapleStoryApiError";errorCode;message;constructor(t){const{name:e,message:a}=t.error;super(a),this.errorCode=_e[e],this.message=a}}var ue;t.MapleStoryApiErrorCode=void 0,(ue=t.MapleStoryApiErrorCode||(t.MapleStoryApiErrorCode={}))[ue.OPENAPI00001=0]="OPENAPI00001",ue[ue.OPENAPI00002=1]="OPENAPI00002",ue[ue.OPENAPI00003=2]="OPENAPI00003",ue[ue.OPENAPI00004=3]="OPENAPI00004",ue[ue.OPENAPI00005=4]="OPENAPI00005",ue[ue.OPENAPI00006=5]="OPENAPI00006",ue[ue.OPENAPI00007=6]="OPENAPI00007",ue[ue.OPENAPI00009=7]="OPENAPI00009",ue[ue.OPENAPI00010=8]="OPENAPI00010",ue[ue.OPENAPI00011=9]="OPENAPI00011";const _e={OPENAPI00001:t.MapleStoryApiErrorCode.OPENAPI00001,OPENAPI00002:t.MapleStoryApiErrorCode.OPENAPI00002,OPENAPI00003:t.MapleStoryApiErrorCode.OPENAPI00003,OPENAPI00004:t.MapleStoryApiErrorCode.OPENAPI00004,OPENAPI00005:t.MapleStoryApiErrorCode.OPENAPI00005,OPENAPI00006:t.MapleStoryApiErrorCode.OPENAPI00006,OPENAPI00007:t.MapleStoryApiErrorCode.OPENAPI00007,OPENAPI00009:t.MapleStoryApiErrorCode.OPENAPI00009,OPENAPI00010:t.MapleStoryApiErrorCode.OPENAPI00010,OPENAPI00011:t.MapleStoryApiErrorCode.OPENAPI00011};r.default.extend(l),r.default.extend(m);class ge{apiKey;client;static BASE_URL="https://open.api.nexon.com/";static DEFAULT_TIMEOUT=5e3;static kstOffset=540;get timeout(){return this.client.defaults.timeout}set timeout(t){this.client.defaults.timeout=t}constructor(t){this.apiKey=t,this.client=n.default.create({baseURL:ge.BASE_URL,timeout:ge.DEFAULT_TIMEOUT,headers:{"x-nxopen-api-key":this.apiKey}}),this.client.interceptors.response.use((t=>t),(t=>{if(t instanceof e.AxiosError){const e=t.response.data;throw new de(e)}throw t}))}async getCharacter(t){const{data:e}=await this.client.get("maplestory/v1/id",{params:{character_name:t}});return new q(e)}async getCharacterList(){const{data:t}=await this.client.get("maplestory/v1/character/list");return new et(t)}async getCharacterBasic(t,e){const a={ocid:t,date:e?ge.toDateString({year:2023,month:12,day:21},e):void 0},{data:i}=await this.client.get("maplestory/v1/character/basic",{params:a});return new C(i)}async getCharacterPopularity(t,e){const a={ocid:t,date:e?ge.toDateString({year:2023,month:12,day:21},e):void 0},{data:i}=await this.client.get("maplestory/v1/character/popularity",{params:a});return new rt(i)}async getCharacterStat(t,e){const a={ocid:t,date:e?ge.toDateString({year:2023,month:12,day:21},e):void 0},{data:i}=await this.client.get("maplestory/v1/character/stat",{params:a});return new ut(i)}async getCharacterHyperStat(t,e){const a={ocid:t,date:e?ge.toDateString({year:2023,month:12,day:21},e):void 0},{data:i}=await this.client.get("maplestory/v1/character/hyper-stat",{params:a});return new M(i)}async getCharacterPropensity(t,e){const a={ocid:t,date:e?ge.toDateString({year:2023,month:12,day:21},e):void 0},{data:i}=await this.client.get("maplestory/v1/character/propensity",{params:a});return new ot(i)}async getCharacterAbility(t,e){const a={ocid:t,date:e?ge.toDateString({year:2023,month:12,day:21},e):void 0},{data:i}=await this.client.get("maplestory/v1/character/ability",{params:a});return new _(i)}async getCharacterItemEquipment(t,e){const a={ocid:t,date:e?ge.toDateString({year:2023,month:12,day:21},e):void 0},{data:i}=await this.client.get("maplestory/v1/character/item-equipment",{params:a});return new K(i)}async getCharacterCashItemEquipment(t,e){const a={ocid:t,date:e?ge.toDateString({year:2023,month:12,day:21},e):void 0},{data:i}=await this.client.get("maplestory/v1/character/cashitem-equipment",{params:a});return new I(i)}async getCharacterSymbolEquipment(t,e){const a={ocid:t,date:e?ge.toDateString({year:2023,month:12,day:21},e):void 0},{data:i}=await this.client.get("maplestory/v1/character/symbol-equipment",{params:a});return new gt(i)}async getCharacterSetEffect(t,e){const a={ocid:t,date:e?ge.toDateString({year:2023,month:12,day:21},e):void 0},{data:i}=await this.client.get("maplestory/v1/character/set-effect",{params:a});return new pt(i)}async getCharacterBeautyEquipment(t,e){const a={ocid:t,date:e?ge.toDateString({year:2023,month:12,day:21},e):void 0},{data:i}=await this.client.get("maplestory/v1/character/beauty-equipment",{params:a});return new S(i)}async getCharacterAndroidEquipment(t,e){const a={ocid:t,date:e?ge.toDateString({year:2023,month:12,day:21},e):void 0},{data:i}=await this.client.get("maplestory/v1/character/android-equipment",{params:a});return new D(i)}async getCharacterPetEquipment(t,e){const a={ocid:t,date:e?ge.toDateString({year:2023,month:12,day:21},e):void 0},{data:i}=await this.client.get("maplestory/v1/character/pet-equipment",{params:a});return new nt(i)}async getCharacterSkill(t,e,a){const i={ocid:t,character_skill_grade:e,date:a?ge.toDateString({year:2023,month:12,day:21},a):void 0},{data:s}=await this.client.get("maplestory/v1/character/skill",{params:i});return new dt(s)}async getCharacterLinkSkill(t,e){const a={ocid:t,date:e?ge.toDateString({year:2023,month:12,day:21},e):void 0},{data:i}=await this.client.get("maplestory/v1/character/link-skill",{params:a});return new W(i)}async getCharacterVMatrix(t,e){const a={ocid:t,date:e?ge.toDateString({year:2023,month:12,day:21},e):void 0},{data:i}=await this.client.get("maplestory/v1/character/vmatrix",{params:a});return new yt(i)}async getCharacterHexaMatrix(t,e){const a={ocid:t,date:e?ge.toDateString({year:2023,month:12,day:21},e):void 0},{data:i}=await this.client.get("maplestory/v1/character/hexamatrix",{params:a});return new R(i)}async getCharacterHexaMatrixStat(t,e){const a={ocid:t,date:e?ge.toDateString({year:2023,month:12,day:21},e):void 0},{data:i}=await this.client.get("maplestory/v1/character/hexamatrix-stat",{params:a});return new F(i)}async getCharacterDojang(t,e){const a={ocid:t,date:e?ge.toDateString({year:2023,month:12,day:21},e):void 0},{data:i}=await this.client.get("maplestory/v1/character/dojang",{params:a});return new O(i)}async getUnion(t,e){const a={ocid:t,date:e?ge.toDateString({year:2023,month:12,day:21},e):void 0},{data:i}=await this.client.get("maplestory/v1/user/union",{params:a});return new re(i)}async getUnionRaider(t,e){const a={ocid:t,date:e?ge.toDateString({year:2023,month:12,day:21},e):void 0},{data:i}=await this.client.get("maplestory/v1/user/union-raider",{params:a});return new me(i)}async getUnionArtifact(t,e){const a={ocid:t,date:e?ge.toDateString({year:2023,month:12,day:21},e):void 0},{data:i}=await this.client.get("maplestory/v1/user/union-artifact",{params:a});return new ne(i)}async getGuild(t,e){const{data:a}=await this.client.get("maplestory/v1/guild/id",{params:{guild_name:t,world_name:e}});return new kt(a)}async getGuildBasic(t,e){const a={oguild_id:t,date:e?ge.toDateString({year:2023,month:12,day:21},e):void 0},{data:i}=await this.client.get("maplestory/v1/guild/basic",{params:a});return new vt(i)}async getStarforceHistory(t,e){const a={count:t};"string"==typeof e?a.cursor=e:"object"!=typeof e&&void 0!==e||(a.date=ge.toDateString({year:2023,month:12,day:27},e??ge.getProperDefaultDateOptions({hour:0,minute:0,dateOffset:0})));const{data:i}=await this.client.get("maplestory/v1/history/starforce",{params:a});return new Ot(i)}async getCubeHistory(t,e){const a={count:t};"string"==typeof e?a.cursor=e:"object"!=typeof e&&void 0!==e||(a.date=ge.toDateString({year:2022,month:11,day:25},e??ge.getProperDefaultDateOptions({hour:4,minute:0,dateOffset:1})));const{data:i}=await this.client.get("maplestory/v1/history/cube",{params:a});return new Pt(i)}async getPotentialHistory(t,e){const a={count:t};"string"==typeof e?a.cursor=e:"object"!=typeof e&&void 0!==e||(a.date=ge.toDateString({year:2024,month:1,day:25},e??ge.getProperDefaultDateOptions({hour:4,minute:0,dateOffset:1})));const{data:i}=await this.client.get("maplestory/v1/history/potential",{params:a});return new Nt(i)}async getOverallRanking(t,e=ge.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const a={date:ge.toDateString({year:2023,month:12,day:22},e)};if(t){const{worldName:e,worldType:i,characterClass:s,ocid:n,page:r}=t;a.world_name=e,a.world_type=i,a.class=s,a.ocid=n,a.page=r}const{data:i}=await this.client.get("maplestory/v1/ranking/overall",{params:a});return new Wt(i)}async getUnionRanking(t,e=ge.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const a={date:ge.toDateString({year:2023,month:12,day:22},e)};if(t){const{worldName:e,ocid:i,page:s}=t;a.world_name=e,a.ocid=i,a.page=s}const{data:i}=await this.client.get("maplestory/v1/ranking/union",{params:a});return new ae(i)}async getGuildRanking(t,e=ge.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const a={date:ge.toDateString({year:2023,month:12,day:22},e),ranking_type:0};if(t){const{worldName:e,rankingType:i,ocid:s,page:n}=t;a.world_name=e,a.ranking_type=i,a.ocid=s,a.page=n}const{data:i}=await this.client.get("maplestory/v1/ranking/guild",{params:a});return new Kt(i)}async getDojangRanking(t,e=ge.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const a={date:ge.toDateString({year:2023,month:12,day:22},e),difficulty:0};if(t){const{worldName:e,difficulty:i,characterClass:s,ocid:n,page:r}=t;a.world_name=e,a.difficulty=i,a.class=s,a.ocid=n,a.page=r}const{data:i}=await this.client.get("maplestory/v1/ranking/dojang",{params:a});return new Qt(i)}async getSeedRanking(t,e=ge.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const a={date:ge.toDateString({year:2023,month:12,day:22},e)};if(t){const{worldName:e,ocid:i,page:s}=t;a.world_name=e,a.ocid=i,a.page=s}const{data:i}=await this.client.get("maplestory/v1/ranking/theseed",{params:a});return new te(i)}async getAchievementRanking(t,e=ge.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const a={date:ge.toDateString({year:2023,month:12,day:22},e)};if(t){const{ocid:e,page:i}=t;a.ocid=e,a.page=i}const{data:i}=await this.client.get("maplestory/v1/ranking/achievement",{params:a});return new Vt(i)}async getNoticeList(){const{data:t}=await this.client.get("maplestory/v1/notice");return new Ht(t)}async getNoticeDetail(t){const e={notice_id:t},{data:a}=await this.client.get("maplestory/v1/notice/detail",{params:e});return new Mt(a)}async getUpdateNoticeList(){const{data:t}=await this.client.get("maplestory/v1/notice-update");return new Bt(t)}async getUpdateNoticeDetail(t){const e={notice_id:t},{data:a}=await this.client.get("maplestory/v1/notice-update/detail",{params:e});return new $t(a)}async getEventNoticeList(){const{data:t}=await this.client.get("maplestory/v1/notice-event");return new Tt(t)}async getEventNoticeDetail(t){const e={notice_id:t},{data:a}=await this.client.get("maplestory/v1/notice-event/detail",{params:e});return new Gt(a)}async getCashshopNoticeList(){const{data:t}=await this.client.get("maplestory/v1/notice-cashshop");return new Rt(t)}async getCashshopNoticeDetail(t){const e={notice_id:t},{data:a}=await this.client.get("maplestory/v1/notice-cashshop/detail",{params:e});return new Lt(a)}async getInspectionInfo(){const t=(new o.default.Builder).buildObject({"soap:Envelope":{$:{"xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:soap":"http://schemas.xmlsoap.org/soap/envelope/"},"soap:Body":{GetInspectionInfo:{$:{xmlns:"https://api.maplestory.nexon.com/soap/"}}}}}),e=await n.default.post("soap/maplestory.asmx",t,{baseURL:"https://api.maplestory.nexon.com/",timeout:this.timeout,headers:{SOAPAction:"https://api.maplestory.nexon.com/soap/GetInspectionInfo","Content-Type":"text/xml; charset=utf-8"}}),a=await o.default.parseStringPromise(e.data);return new qt(a)}static getProperDefaultDateOptions(t){const{hour:e,minute:a,dateOffset:i}=t,s=r.default().utcOffset(ge.kstOffset),n=r.default().utcOffset(ge.kstOffset).hour(e).minute(a);let o;return o=s.isAfter(n)?s:s.subtract(1,"day"),o=o.subtract(i??0,"day"),{year:o.year(),month:o.month()+1,day:o.date()}}static toDateString(t,e){const{year:a,month:i,day:s}=t,{year:n,month:o,day:c}=e;if(n<a||n===a&&o<i||n===a&&o===i&&c<s)throw new Error(`You can only retrieve data after ${r.default(`${a}-${i}-${s}`).format("YYYY-MM-DD")}.`);return r.default(`${n}-${o}-${c}`).utcOffset(ge.kstOffset).format("YYYY-MM-DD")}}t.AchievementRankingDto=Yt,t.AchievementRankingResponseDto=Vt,t.CashshopNoticeDetailDto=Lt,t.CashshopNoticeListDto=Rt,t.CashshopNoticeListItemDto=At,t.CharacterAbilityDto=_,t.CharacterAbilityInfoDto=d,t.CharacterAbilityPresetDto=u,t.CharacterAndroidCashItemEquipmentColoringPrismDto=g,t.CharacterAndroidCashItemEquipmentDto=y,t.CharacterAndroidCashItemEquipmentOptionDto=f,t.CharacterAndroidEquipmentDto=D,t.CharacterAndroidEquipmentFaceDto=w,t.CharacterAndroidEquipmentHairDto=v,t.CharacterAndroidEquipmentPresetDto=k,t.CharacterBasicDto=C,t.CharacterBeautyEquipmentDto=S,t.CharacterBeautyEquipmentFaceDto=E,t.CharacterBeautyEquipmentHairDto=P,t.CharacterCashItemEquipmentColoringPrismDto=x,t.CharacterCashItemEquipmentDto=I,t.CharacterCashItemEquipmentOptionDto=N,t.CharacterCashItemEquipmentPresetDto=b,t.CharacterDojangDto=O,t.CharacterDto=q,t.CharacterHexaMatrixDto=R,t.CharacterHexaMatrixEquipmentDto=A,t.CharacterHexaMatrixEquipmentLinkedSkillDto=L,t.CharacterHexaMatrixStatCoreDto=G,t.CharacterHexaMatrixStatDto=F,t.CharacterHyperStatDto=M,t.CharacterHyperStatPresetDto=T,t.CharacterItemEquipmentAddOptionDto=U,t.CharacterItemEquipmentBaseOptionDto=H,t.CharacterItemEquipmentDragonInfoDto=V,t.CharacterItemEquipmentDto=K,t.CharacterItemEquipmentEtcOptionDto=$,t.CharacterItemEquipmentExceptionalOptionDto=j,t.CharacterItemEquipmentInfoDto=z,t.CharacterItemEquipmentMechanicInfoDto=Q,t.CharacterItemEquipmentStarforceOptionDto=B,t.CharacterItemEquipmentTitleDto=Z,t.CharacterItemEquipmentTotalOptionDto=Y,t.CharacterLinkSkillDto=W,t.CharacterLinkSkillInfoDto=X,t.CharacterListAccountCharacterDto=J,t.CharacterListAccountDto=tt,t.CharacterListDto=et,t.CharacterPetEquipmentAutoSkillDto=at,t.CharacterPetEquipmentDto=nt,t.CharacterPetEquipmentItemDto=st,t.CharacterPetEquipmentItemOptionDto=it,t.CharacterPopularityDto=rt,t.CharacterPropensityDto=ot,t.CharacterSetEffectDto=pt,t.CharacterSetEffectInfoDto=ct,t.CharacterSetEffectOptionFullDto=lt,t.CharacterSetEffectSetDto=ht,t.CharacterSkillDto=dt,t.CharacterSkillInfoDto=mt,t.CharacterStatDto=ut,t.CharacterSymbolEquipmentDto=gt,t.CharacterSymbolEquipmentInfoDto=_t,t.CharacterVMatrixCodeEquipmentDto=ft,t.CharacterVMatrixDto=yt,t.CubeHistoryDto=Et,t.CubeHistoryResponseDto=Pt,t.CubeResultOptionDto=Ct,t.DojangRankingDto=zt,t.DojangRankingResponseDto=Qt,t.EventNoticeDetailDto=Gt,t.EventNoticeListDto=Tt,t.EventNoticeListItemDto=Ft,t.GuildBasicDto=vt,t.GuildDto=kt,t.GuildRankingDto=Zt,t.GuildRankingResponseDto=Kt,t.GuildSkillDto=wt,t.InspectionInfoDto=qt,t.MapleStoryApi=ge,t.MapleStoryApiError=de,t.NoticeDetailDto=Mt,t.NoticeListDto=Ht,t.NoticeListItemDto=Ut,t.OverallRankingDto=Xt,t.OverallRankingResponseDto=Wt,t.PotentialHistoryDto=xt,t.PotentialHistoryResponseDto=Nt,t.PotentialResultOptionDto=St,t.StarforceEventDto=bt,t.StarforceHistoryDto=It,t.StarforceHistoryResponseDto=Ot,t.TheSeedRankingDto=Jt,t.TheSeedRankingResponseDto=te,t.UnionArtifactCrystalDto=ie,t.UnionArtifactDto=ne,t.UnionArtifactEffectDto=se,t.UnionDto=re,t.UnionRaiderBlockControlPointDto=ce,t.UnionRaiderBlockDto=le,t.UnionRaiderBlockPositionDto=oe,t.UnionRaiderDto=me,t.UnionRaiderInnerStatDto=he,t.UnionRaiderPresetDto=pe,t.UnionRankingDto=ee,t.UnionRankingResponseDto=ae,t.UpdateNoticeDetailDto=$t,t.UpdateNoticeListDto=Bt,t.UpdateNoticeListItemDto=jt,t.potentialOptionGradeFromString=Dt})); |
{ | ||
"name": "maplestory-openapi", | ||
"version": "2.4.1", | ||
"version": "2.7.1", | ||
"description": "This JavaScript library enables the use of the MapleStory OpenAPI of Nexon.", | ||
@@ -45,3 +45,3 @@ "keywords": [ | ||
"prepublishOnly": "npm run build", | ||
"test": "uvu -r tsm test", | ||
"test": "jest", | ||
"ts_sample": "ts-node sample/ts_sample.ts", | ||
@@ -58,2 +58,3 @@ "types": "tsc --noEmit" | ||
"@rollup/plugin-node-resolve": "13.1.3", | ||
"@types/jest": "^29.5.12", | ||
"@types/xml2js": "^0.4.14", | ||
@@ -72,6 +73,7 @@ "@typescript-eslint/eslint-plugin": "^6.15.0", | ||
"rollup-plugin-typescript2": "0.27.1", | ||
"jest": "^29.7.0", | ||
"ts-jest": "^29.1.4", | ||
"ts-node": "^10.9.1", | ||
"tsm": "2.2.1", | ||
"typescript": "^5.2.2", | ||
"uvu": "0.5.3" | ||
"typescript": "^5.2.2" | ||
}, | ||
@@ -78,0 +80,0 @@ "engines": { |
# MapleStory OpenAPI JavaScript Library | ||
[![npm](https://img.shields.io/npm/v/maplestory-openapi)](https://www.npmjs.com/package/maplestory-openapi) | ||
[![JS](https://github.com/SpiralMoon/maplestory.openapi/actions/workflows/js_test.yaml/badge.svg)](https://github.com/SpiralMoon/maplestory.openapi/actions/workflows/js_test.yaml) | ||
This JavaScript library enables the use of the MapleStory OpenAPI of Nexon. | ||
넥슨의 MapleStory OpenAPI를 Javascript 환경에서 사용할 수 있게 해주는 라이브러리입니다. | ||
Packages written in other languages can be found [HERE](https://github.com/SpiralMoon/maplestory.openapi). | ||
다른 언어로 작성된 패키지는 [여기](https://github.com/SpiralMoon/maplestory.openapi)에서 확인할 수 있습니다. | ||
(한국어 문서는 [이쪽](https://github.com/SpiralMoon/maplestory.openapi/blob/master/js/README-ko.md)입니다.) | ||
(English document is [HERE](https://github.com/SpiralMoon/maplestory.openapi/blob/master/js/README-en.md)) | ||
## Installation | ||
Install the latest version of the JavaScript/TypeScript library in your npm project: | ||
npm 기반 프로젝트에 아래 정보를 입력하여 패키지를 추가하세요: | ||
```bash | ||
npm install maplestory-openapi@2.4.1 # Replace with the latest version | ||
npm install maplestory-openapi | ||
``` | ||
@@ -23,7 +24,7 @@ | ||
Before using the library, register your application and obtain an **api key** from the [Nexon Open API Console](https://openapi.nexon.com/my-application/). | ||
라이브러리를 사용하기 전에 [Nexon Open API 콘솔](https://openapi.nexon.com/my-application/)에서 애플리케이션을 등록하고 **api key**를 발급 받으세요. | ||
### Supports | ||
1. **CommonJS, ESM Support**: The library supports both CommonJS and ESM usage. | ||
1. **CommonJS, ESM 지원**: 이 라이브러리는 CommonJS 와 ESM 방식을 모두 지원합니다. | ||
@@ -37,6 +38,8 @@ ```javascript | ||
2. **TypeScript Support**: TypeScript is fully supported. Type definitions are included. | ||
2. **TypeScript 지원**: 타입 정의가 포함되어 있으므로 타입스크립트 환경에서도 사용 가능합니다. | ||
### Sample Code | ||
아래 코드는 닉네임을 바탕으로 특정 캐릭터의 식별자를 조회한 후 캐릭터의 기본 정보를 조회하는 예시입니다. | ||
```javascript | ||
@@ -48,41 +51,48 @@ const {MapleStoryApi, MapleStoryApiError} = require('maplestory-openapi'); | ||
api.getCubeHistory(1000, { | ||
year: 2023, | ||
month: 10, | ||
day: 15 | ||
}) | ||
.then((dto) => { | ||
const {count, cubeHistory, nextCursor} = dto; | ||
try { | ||
// run your code | ||
const character = await api.getCharacter('{Your Character Name}'); | ||
const characterBasic = await api.getCharacterBasic(character.ocid); | ||
console.log(characterBasic); | ||
} catch (e) { | ||
// exception handling | ||
if (e instanceof MapleStoryApiError) { | ||
// handle MapleStoryApiError | ||
} else { | ||
// handle other errors | ||
} | ||
} | ||
``` | ||
console.log('You used ' + count + ' cubes.'); | ||
}) | ||
.catch((e) => { | ||
if (e instanceof MapleStoryApiError) { | ||
// handle MapleStoryApiError | ||
} else { | ||
// handle other errors | ||
} | ||
더 많은 예시는 아래 링크의 테스트 케이스에서 확인할 수 있습니다. | ||
console.log(e); | ||
}); | ||
``` | ||
- [캐릭터 정보 조회](https://github.com/SpiralMoon/maplestory.openapi/blob/master/js/test/characterApi.test.ts) | ||
- [유니온 정보 조회](https://github.com/SpiralMoon/maplestory.openapi/blob/master/js/test/unionApi.test.ts) | ||
- [길드 정보 조회](https://github.com/SpiralMoon/maplestory.openapi/blob/master/js/test/guildApi.test.ts) | ||
- [확률 정보 조회](https://github.com/SpiralMoon/maplestory.openapi/blob/master/js/test/historyApi.test.ts) | ||
- [랭킹 정보 조회](https://github.com/SpiralMoon/maplestory.openapi/blob/master/js/test/rankingApi.test.ts) | ||
- [공지 정보 조회](https://github.com/SpiralMoon/maplestory.openapi/blob/master/js/test/noticeApi.test.ts) | ||
### Exception Handling | ||
Handle `MapleStoryApiError` to safely make calls, ensuring that specific Status defined in the [MapleStory OpenAPI Guide](https://openapi.nexon.com/guide/request-api) are not encountered. | ||
[MapleStory OpenAPI 가이드](https://openapi.nexon.com/guide/request-api/)에 서술된 에러 사유를 `MapleStoryApiError`를 통해 예외 처리 해야합니다. | ||
While `MapleStoryApi` is designed to prevent the occurrence of certain Status, exceptions may arise due to developer mistakes. | ||
`MapleStoryApi`는 특정 상태의 예외를 발생시키지 않도록 설계되었으나, 라이브러리를 사용하는 개발자의 실수로 인해 여전히 일부 상태의 예외가 발생할 수 있습니다. | ||
Therefore, it's recommended to use `MapleStoryApiError` for exception handling based on the `MapleStoryApiErrorCode` list described in the table below. | ||
따라서 아래 표에 설명된 `MapleStoryApiErrorCode` 목록을 기반으로 `MapleStoryApiError`를 예외 처리하시기 바랍니다. | ||
| ErrorCode | Description | | ||
|--------------|------------------------------------------| | ||
| OPENAPI00001 | Internal server error | | ||
| OPENAPI00002 | Access denied | | ||
| OPENAPI00003 | Invalid identifier | | ||
| OPENAPI00004 | Request format error (incorrect parameter input) | | ||
| OPENAPI00005 | Invalid api key | | ||
| OPENAPI00006 | Invalid api path | | ||
| OPENAPI00007 | Request allowance (Rate Limit) exceeded | | ||
| OPENAPI00009 | Not prepared data | | ||
| OPENAPI00010 | API server mainternence | | ||
| ErrorCode | Description | | ||
|--------------|--------------------| | ||
| OPENAPI00001 | 서버 내부 오류 | | ||
| OPENAPI00002 | 권한이 없는 경우 | | ||
| OPENAPI00003 | 유효하지 않은 식별자 | | ||
| OPENAPI00004 | 파라미터 누락 또는 유효하지 않음 | | ||
| OPENAPI00005 | 유효하지 않은 API KEY | | ||
| OPENAPI00006 | 유효하지 않은 API PATH | | ||
| OPENAPI00007 | API 호출량 초과 | | ||
| OPENAPI00009 | 데이터 준비 중 | | ||
| OPENAPI00010 | 게임 점검 중 | | ||
| OPENAPI00011 | API 점검 중 | |
@@ -45,2 +45,5 @@ export * from './maplestory/api/mapleStoryApi'; | ||
export * from './maplestory/api/dto/character/characterLinkSkillInfoDto'; | ||
export * from './maplestory/api/dto/character/characterListAccountCharacterDto'; | ||
export * from './maplestory/api/dto/character/characterListAccountDto'; | ||
export * from './maplestory/api/dto/character/characterListDto'; | ||
export * from './maplestory/api/dto/character/characterPetEquipmentAutoSkillDto'; | ||
@@ -53,4 +56,5 @@ export * from './maplestory/api/dto/character/characterPetEquipmentDto'; | ||
export * from './maplestory/api/dto/character/characterSetEffectDto'; | ||
export * from './maplestory/api/dto/character/characterSetEffectSetDto'; | ||
export * from './maplestory/api/dto/character/characterSetEffectInfoDto'; | ||
export * from './maplestory/api/dto/character/characterSetEffectOptionInfoDto'; | ||
export * from './maplestory/api/dto/character/characterSetEffectOptionFullDto'; | ||
export * from './maplestory/api/dto/character/characterSkillDto'; | ||
@@ -71,4 +75,2 @@ export * from './maplestory/api/dto/character/characterSkillInfoDto'; | ||
export * from './maplestory/api/dto/ranking/dojangRankingResponseDto'; | ||
export * from './maplestory/api/dto/guild/guildBasicDto'; | ||
export * from './maplestory/api/dto/guild/guildDto'; | ||
export * from './maplestory/api/dto/ranking/guildRankingDto'; | ||
@@ -86,2 +88,14 @@ export * from './maplestory/api/dto/ranking/guildRankingResponseDto'; | ||
export * from './maplestory/api/dto/history/starforceHistoryResponseDto'; | ||
export * from './maplestory/api/dto/notice/cashshopNoticeDetailDto'; | ||
export * from './maplestory/api/dto/notice/cashshopNoticeListDto'; | ||
export * from './maplestory/api/dto/notice/cashshopNoticeListItemDto'; | ||
export * from './maplestory/api/dto/notice/eventNoticeDetailDto'; | ||
export * from './maplestory/api/dto/notice/eventNoticeListDto'; | ||
export * from './maplestory/api/dto/notice/eventNoticeListItemDto'; | ||
export * from './maplestory/api/dto/notice/noticeDetailDto'; | ||
export * from './maplestory/api/dto/notice/noticeListDto'; | ||
export * from './maplestory/api/dto/notice/noticeListItemDto'; | ||
export * from './maplestory/api/dto/notice/updateNoticeDetailDto'; | ||
export * from './maplestory/api/dto/notice/updateNoticeListDto'; | ||
export * from './maplestory/api/dto/notice/updateNoticeListItemDto'; | ||
export * from './maplestory/api/dto/ranking/theSeedRankingDto'; | ||
@@ -98,3 +112,4 @@ export * from './maplestory/api/dto/ranking/theSeedRankingResponseDto'; | ||
export * from './maplestory/api/dto/union/unionRaiderInnerStatDto'; | ||
export * from './maplestory/api/dto/union/unionRaiderPresetDto'; | ||
export * from './maplestory/api/dto/ranking/unionRankingDto'; | ||
export * from './maplestory/api/dto/ranking/unionRankingResponseDto'; |
@@ -11,3 +11,3 @@ import { CharacterAbilityInfoDto } from './characterAbilityInfoDto'; | ||
*/ | ||
date: Date; | ||
date: Date | null; | ||
/** | ||
@@ -14,0 +14,0 @@ * 어빌리티 등급 |
@@ -13,3 +13,3 @@ import { CharacterAndroidCashItemEquipmentDto } from './characterAndroidCashItemEquipmentDto'; | ||
*/ | ||
date: Date; | ||
date: Date | null; | ||
/** | ||
@@ -16,0 +16,0 @@ * 안드로이드 명 |
@@ -6,3 +6,3 @@ import { CharacterBasicDtoBody } from '../../response/character/characterBasicDtoBody'; | ||
declare class CharacterBasicDto { | ||
date: Date; | ||
date: Date | null; | ||
/** | ||
@@ -48,4 +48,24 @@ * 캐릭터 명 | ||
characterImage: string; | ||
/** | ||
* 캐릭터 생성일 | ||
*/ | ||
characterDateCreate: Date; | ||
/** | ||
* 최근 7일간 접속 여부 | ||
*/ | ||
accessFlag: 'true' | 'false'; | ||
/** | ||
* 해방 퀘스트 완료 여부 | ||
*/ | ||
liberationQuestClearFlag: 'true' | 'false'; | ||
constructor(obj: CharacterBasicDtoBody); | ||
/** | ||
* 최근 7일간 접속 여부 | ||
*/ | ||
get isAccessFlag(): boolean; | ||
/** | ||
* 해방 퀘스트 완료 여부 | ||
*/ | ||
get isLiberationQuestClearFlag(): boolean; | ||
} | ||
export { CharacterBasicDto }; |
@@ -11,3 +11,3 @@ import { CharacterBeautyEquipmentFaceDto } from './characterBeautyEquipmentFaceDto'; | ||
*/ | ||
date: Date; | ||
date: Date | null; | ||
/** | ||
@@ -14,0 +14,0 @@ * 캐릭터 성별 |
@@ -10,3 +10,3 @@ import { CharacterCashItemEquipmentPresetDto } from './characterCashItemEquipmentPresetDto'; | ||
*/ | ||
date: Date; | ||
date: Date | null; | ||
/** | ||
@@ -13,0 +13,0 @@ * 캐릭터 성별 |
@@ -9,3 +9,3 @@ import { CharacterDojangDtoBody } from '../../response/character/characterDojangDtoBody'; | ||
*/ | ||
date: Date; | ||
date: Date | null; | ||
/** | ||
@@ -12,0 +12,0 @@ * 캐릭터 직업 |
@@ -10,3 +10,3 @@ import { CharacterHexaMatrixEquipmentDto } from './characterHexaMatrixEquipmentDto'; | ||
*/ | ||
date: Date; | ||
date: Date | null; | ||
/** | ||
@@ -13,0 +13,0 @@ * HEXA 코어 정보 |
@@ -10,3 +10,3 @@ import { CharacterHexaMatrixStatCoreDto } from './characterHexaMatrixStatCoreDto'; | ||
*/ | ||
date: Date; | ||
date: Date | null; | ||
/** | ||
@@ -13,0 +13,0 @@ * 캐릭터 직업 |
@@ -10,3 +10,3 @@ import { CharacterHyperStatPresetDto } from './characterHyperStatPresetDto'; | ||
*/ | ||
date: Date; | ||
date: Date | null; | ||
/** | ||
@@ -13,0 +13,0 @@ * 캐릭터 직업 |
@@ -13,3 +13,3 @@ import { CharacterItemEquipmentDragonInfoDto } from './characterItemEquipmentDragonInfoDto'; | ||
*/ | ||
date: Date; | ||
date: Date | null; | ||
/** | ||
@@ -16,0 +16,0 @@ * 캐릭터 성별 |
@@ -10,3 +10,3 @@ import { CharacterLinkSkillInfoDto } from './characterLinkSkillInfoDto'; | ||
*/ | ||
date: Date; | ||
date: Date | null; | ||
/** | ||
@@ -13,0 +13,0 @@ * 캐릭터 직업 |
@@ -23,2 +23,6 @@ import { CharacterLinkSkillInfoDtoBody } from '../../response/character/characterLinkSkillDtoBody'; | ||
/** | ||
* 다음 레벨의 스킬 효과 | ||
*/ | ||
skillEffectNext: string | null; | ||
/** | ||
* 스킬 아이콘 | ||
@@ -25,0 +29,0 @@ */ |
@@ -11,3 +11,3 @@ import { CharacterPetEquipmentAutoSkillDto } from './characterPetEquipmentAutoSkillDto'; | ||
*/ | ||
date: Date; | ||
date: Date | null; | ||
/** | ||
@@ -14,0 +14,0 @@ * 펫1 명 |
@@ -9,3 +9,3 @@ import { CharacterPopularityDtoBody } from '../../response/character/characterPopularityDtoBody'; | ||
*/ | ||
date: Date; | ||
date: Date | null; | ||
/** | ||
@@ -12,0 +12,0 @@ * 캐릭터 인기도 |
@@ -6,3 +6,3 @@ import { CharacterPropensityDtoBody } from '../../response/character/characterPropensityDtoBody'; | ||
declare class CharacterPropensityDto { | ||
date: Date; | ||
date: Date | null; | ||
/** | ||
@@ -9,0 +9,0 @@ * 카리스마 레벨 |
@@ -1,2 +0,2 @@ | ||
import { CharacterSetEffectInfoDto } from './characterSetEffectInfoDto'; | ||
import { CharacterSetEffectSetDto } from './characterSetEffectSetDto'; | ||
import { CharacterSetEffectDtoBody } from '../../response/character/characterSetEffectDtoBody'; | ||
@@ -10,9 +10,9 @@ /** | ||
*/ | ||
date: Date; | ||
date: Date | null; | ||
/** | ||
* 세트 효과 정보 | ||
*/ | ||
setEffect: CharacterSetEffectInfoDto[]; | ||
setEffect: CharacterSetEffectSetDto[]; | ||
constructor(obj: CharacterSetEffectDtoBody); | ||
} | ||
export { CharacterSetEffectDto }; |
@@ -1,21 +0,16 @@ | ||
import { CharacterSetEffectOptionInfoDto } from './characterSetEffectOptionInfoDto'; | ||
import { CharacterSetEffectInfoDtoBody } from '../../response/character/characterSetEffectDtoBody'; | ||
/** | ||
* 캐릭터 세트 효과 정보 | ||
* 적용 중인 세트 효과 정보 | ||
*/ | ||
declare class CharacterSetEffectInfoDto { | ||
/** | ||
* 세트 효과 명 | ||
* 세트 효과 레벨 (장비 수) | ||
*/ | ||
setName: string; | ||
setCount: number; | ||
/** | ||
* 세트 개수 (럭키 아이템 포함) | ||
* 세트 효과 | ||
*/ | ||
totalSetCount: number; | ||
/** | ||
* 세트 효과 옵션 | ||
*/ | ||
setEffectInfo: CharacterSetEffectOptionInfoDto[]; | ||
setOption: string; | ||
constructor(obj: CharacterSetEffectInfoDtoBody); | ||
} | ||
export { CharacterSetEffectInfoDto }; |
@@ -10,3 +10,3 @@ import { CharacterSkillInfoDto } from './characterSkillInfoDto'; | ||
*/ | ||
date: Date; | ||
date: Date | null; | ||
/** | ||
@@ -13,0 +13,0 @@ * 캐릭터 직업 |
@@ -23,2 +23,6 @@ import { CharacterSkillInfoDtoBody } from '../../response/character/characterSkillDtoBody'; | ||
/** | ||
* 다음 스킬 레벨 효과 설명 | ||
*/ | ||
skillEffectNext: string | null; | ||
/** | ||
* 스킬 아이콘 | ||
@@ -25,0 +29,0 @@ */ |
@@ -9,3 +9,3 @@ import { CharacterStatDtoBody } from '../../response/character/characterStatDtoBody'; | ||
*/ | ||
date: Date; | ||
date: Date | null; | ||
/** | ||
@@ -12,0 +12,0 @@ * 캐릭터 직업 |
@@ -10,3 +10,3 @@ import { CharacterSymbolEquipmentInfoDto } from './characterSymbolEquipmentInfoDto'; | ||
*/ | ||
date: Date; | ||
date: Date | null; | ||
/** | ||
@@ -13,0 +13,0 @@ * 캐릭터 직업 |
@@ -17,7 +17,7 @@ import { CharacterVMatrixCoreEquipmentDtoBody } from '../../response/character/characterVMatrixDtoBody'; | ||
*/ | ||
vCoreName: string; | ||
vCoreName: string | null; | ||
/** | ||
* 코어 타입 | ||
*/ | ||
vCoreType: string; | ||
vCoreType: string | null; | ||
/** | ||
@@ -24,0 +24,0 @@ * 코어 레벨 |
@@ -10,3 +10,3 @@ import { CharacterVMatrixCodeEquipmentDto } from './characterVMatrixCoreEquipmentDto'; | ||
*/ | ||
date: Date; | ||
date: Date | null; | ||
/** | ||
@@ -13,0 +13,0 @@ * 캐릭터 직업 |
@@ -10,3 +10,3 @@ import { GuildSkillDto } from './guildSkillDto'; | ||
*/ | ||
date: Date; | ||
date: Date | null; | ||
/** | ||
@@ -52,12 +52,4 @@ * 월드 명 | ||
guildNoblesseSkill: GuildSkillDto[]; | ||
/** | ||
* 조합형 길드 마크 | ||
*/ | ||
guildMark: string | null; | ||
/** | ||
* 커스텀 길드 마크 (base64 인코딩 형식) | ||
*/ | ||
guildMarkCustom: string | null; | ||
constructor(obj: GuildBasicDtoBody); | ||
} | ||
export { GuildBasicDto }; |
@@ -74,5 +74,5 @@ import { StarforceEventDto } from './starforceEventDto'; | ||
*/ | ||
starforceEventList: StarforceEventDto[]; | ||
starforceEventList: StarforceEventDto[] | null; | ||
constructor(obj: StarforceHistoryDtoBody); | ||
} | ||
export { StarforceHistoryDto }; |
@@ -11,3 +11,3 @@ import { UnionArtifactCrystalDto } from './unionArtifactCrystalDto'; | ||
*/ | ||
date: Date; | ||
date: Date | null; | ||
/** | ||
@@ -14,0 +14,0 @@ * 아티팩트 효과 정보 |
@@ -9,3 +9,3 @@ import { UnionDtoBody } from '../../response/union/unionDtoBody'; | ||
*/ | ||
date: Date; | ||
date: Date | null; | ||
/** | ||
@@ -12,0 +12,0 @@ * 유니온 레벨 |
import { UnionRaiderBlockDto } from './unionRaiderBlockDto'; | ||
import { UnionRaiderInnerStatDto } from './unionRaiderInnerStatDto'; | ||
import { UnionRaiderPresetDto } from './unionRaiderPresetDto'; | ||
import { UnionRaiderDtoBody } from '../../response/union/unionRaiderDtoBody'; | ||
@@ -8,3 +9,3 @@ /** | ||
declare class UnionRaiderDto { | ||
date: Date; | ||
date: Date | null; | ||
/** | ||
@@ -26,4 +27,28 @@ * 유니온 공격대원 효과 | ||
unionBlock: UnionRaiderBlockDto[]; | ||
/** | ||
* 적용 중인 프리셋 번호 | ||
*/ | ||
usePresetNo: number; | ||
/** | ||
* 유니온 프리셋 1번 정보 | ||
*/ | ||
unionRaiderPreset1: UnionRaiderPresetDto | null; | ||
/** | ||
* 유니온 프리셋 2번 정보 | ||
*/ | ||
unionRaiderPreset2: UnionRaiderPresetDto | null; | ||
/** | ||
* 유니온 프리셋 3번 정보 | ||
*/ | ||
unionRaiderPreset3: UnionRaiderPresetDto | null; | ||
/** | ||
* 유니온 프리셋 4번 정보 | ||
*/ | ||
unionRaiderPreset4: UnionRaiderPresetDto | null; | ||
/** | ||
* 유니온 프리셋 5번 정보 | ||
*/ | ||
unionRaiderPreset5: UnionRaiderPresetDto | null; | ||
constructor(obj: UnionRaiderDtoBody); | ||
} | ||
export { UnionRaiderDto }; |
@@ -13,2 +13,3 @@ import { CharacterAbilityDto } from './dto/character/characterAbilityDto'; | ||
import { CharacterLinkSkillDto } from './dto/character/characterLinkSkillDto'; | ||
import { CharacterListDto } from './dto/character/characterListDto'; | ||
import { CharacterPetEquipmentDto } from './dto/character/characterPetEquipmentDto'; | ||
@@ -28,2 +29,10 @@ import { CharacterPopularityDto } from './dto/character/characterPopularityDto'; | ||
import { InspectionInfoDto } from './dto/inspectionInfoDto'; | ||
import { CashshopNoticeDetailDto } from './dto/notice/cashshopNoticeDetailDto'; | ||
import { CashshopNoticeListDto } from './dto/notice/cashshopNoticeListDto'; | ||
import { EventNoticeDetailDto } from './dto/notice/eventNoticeDetailDto'; | ||
import { EventNoticeListDto } from './dto/notice/eventNoticeListDto'; | ||
import { NoticeDetailDto } from './dto/notice/noticeDetailDto'; | ||
import { NoticeListDto } from './dto/notice/noticeListDto'; | ||
import { UpdateNoticeDetailDto } from './dto/notice/updateNoticeDetailDto'; | ||
import { UpdateNoticeListDto } from './dto/notice/updateNoticeListDto'; | ||
import { AchievementRankingResponseDto } from './dto/ranking/achievementRankingResponseDto'; | ||
@@ -53,4 +62,5 @@ import { DojangRankingResponseDto } from './dto/ranking/dojangRankingResponseDto'; | ||
* 캐릭터 식별자(ocid)를 조회합니다. | ||
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다. | ||
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다. | ||
* - 캐릭터 정보 조회 API는 일자별 데이터로 매일 오전 1시부터 전일 데이터 조회가 가능합니다. (예를 들어, 12월 22일 데이터를 조회하면 22일 00시부터 23일의 00시 사이의 데이터가 조회됩니다.) | ||
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.) | ||
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다. | ||
@@ -62,5 +72,13 @@ * | ||
/** | ||
* 계정의 보유 캐릭터 목록을 조회합니다. | ||
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다. | ||
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.) | ||
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다. | ||
*/ | ||
getCharacterList(): Promise<CharacterListDto>; | ||
/** | ||
* 기본 정보를 조회합니다. | ||
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다. | ||
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다. | ||
* - 캐릭터 정보 조회 API는 일자별 데이터로 매일 오전 1시부터 전일 데이터 조회가 가능합니다. (예를 들어, 12월 22일 데이터를 조회하면 22일 00시부터 23일의 00시 사이의 데이터가 조회됩니다.) | ||
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.) | ||
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다. | ||
@@ -74,4 +92,5 @@ * | ||
* 인기도 정보를 조회합니다. | ||
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다. | ||
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다. | ||
* - 캐릭터 정보 조회 API는 일자별 데이터로 매일 오전 1시부터 전일 데이터 조회가 가능합니다. (예를 들어, 12월 22일 데이터를 조회하면 22일 00시부터 23일의 00시 사이의 데이터가 조회됩니다.) | ||
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.) | ||
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다. | ||
@@ -85,4 +104,5 @@ * | ||
* 종합 능력치 정보를 조회합니다. | ||
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다. | ||
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다. | ||
* - 캐릭터 정보 조회 API는 일자별 데이터로 매일 오전 1시부터 전일 데이터 조회가 가능합니다. (예를 들어, 12월 22일 데이터를 조회하면 22일 00시부터 23일의 00시 사이의 데이터가 조회됩니다.) | ||
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.) | ||
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다. | ||
@@ -96,4 +116,5 @@ * | ||
* 하이퍼스탯 정보를 조회합니다. | ||
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다. | ||
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다. | ||
* - 캐릭터 정보 조회 API는 일자별 데이터로 매일 오전 1시부터 전일 데이터 조회가 가능합니다. (예를 들어, 12월 22일 데이터를 조회하면 22일 00시부터 23일의 00시 사이의 데이터가 조회됩니다.) | ||
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.) | ||
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다. | ||
@@ -107,4 +128,5 @@ * | ||
* 성향 정보를 조회합니다. | ||
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다. | ||
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다. | ||
* - 캐릭터 정보 조회 API는 일자별 데이터로 매일 오전 1시부터 전일 데이터 조회가 가능합니다. (예를 들어, 12월 22일 데이터를 조회하면 22일 00시부터 23일의 00시 사이의 데이터가 조회됩니다.) | ||
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.) | ||
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다. | ||
@@ -118,4 +140,5 @@ * | ||
* 어빌리티 정보를 조회합니다. | ||
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다. | ||
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다. | ||
* - 캐릭터 정보 조회 API는 일자별 데이터로 매일 오전 1시부터 전일 데이터 조회가 가능합니다. (예를 들어, 12월 22일 데이터를 조회하면 22일 00시부터 23일의 00시 사이의 데이터가 조회됩니다.) | ||
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.) | ||
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다. | ||
@@ -129,4 +152,5 @@ * | ||
* 장착한 장비 중 캐시 장비를 제외한 나머지 장비 정보를 조회합니다. | ||
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다. | ||
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다. | ||
* - 캐릭터 정보 조회 API는 일자별 데이터로 매일 오전 1시부터 전일 데이터 조회가 가능합니다. (예를 들어, 12월 22일 데이터를 조회하면 22일 00시부터 23일의 00시 사이의 데이터가 조회됩니다.) | ||
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.) | ||
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다. | ||
@@ -140,4 +164,5 @@ * | ||
* 장착한 캐시 장비 정보를 조회합니다. | ||
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다. | ||
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다. | ||
* - 캐릭터 정보 조회 API는 일자별 데이터로 매일 오전 1시부터 전일 데이터 조회가 가능합니다. (예를 들어, 12월 22일 데이터를 조회하면 22일 00시부터 23일의 00시 사이의 데이터가 조회됩니다.) | ||
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.) | ||
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다. | ||
@@ -151,4 +176,5 @@ * | ||
* 장착한 심볼 정보를 조회합니다. | ||
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다. | ||
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다. | ||
* - 캐릭터 정보 조회 API는 일자별 데이터로 매일 오전 1시부터 전일 데이터 조회가 가능합니다. (예를 들어, 12월 22일 데이터를 조회하면 22일 00시부터 23일의 00시 사이의 데이터가 조회됩니다.) | ||
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.) | ||
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다. | ||
@@ -162,4 +188,5 @@ * | ||
* 적용받고 있는 세트 효과 정보를 조회합니다. | ||
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다. | ||
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다. | ||
* - 캐릭터 정보 조회 API는 일자별 데이터로 매일 오전 1시부터 전일 데이터 조회가 가능합니다. (예를 들어, 12월 22일 데이터를 조회하면 22일 00시부터 23일의 00시 사이의 데이터가 조회됩니다.) | ||
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.) | ||
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다. | ||
@@ -173,4 +200,5 @@ * | ||
* 장착 중인 헤어, 성형, 피부 정보를 조회합니다. | ||
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다. | ||
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다. | ||
* - 캐릭터 정보 조회 API는 일자별 데이터로 매일 오전 1시부터 전일 데이터 조회가 가능합니다. (예를 들어, 12월 22일 데이터를 조회하면 22일 00시부터 23일의 00시 사이의 데이터가 조회됩니다.) | ||
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.) | ||
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다. | ||
@@ -184,4 +212,5 @@ * | ||
* 장착한 안드로이드 정보를 조회합니다. | ||
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다. | ||
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다. | ||
* - 캐릭터 정보 조회 API는 일자별 데이터로 매일 오전 1시부터 전일 데이터 조회가 가능합니다. (예를 들어, 12월 22일 데이터를 조회하면 22일 00시부터 23일의 00시 사이의 데이터가 조회됩니다.) | ||
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.) | ||
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다. | ||
@@ -195,4 +224,5 @@ * | ||
* 장착한 펫 및 펫 스킬, 장비 정보를 조회합니다. | ||
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다. | ||
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다. | ||
* - 캐릭터 정보 조회 API는 일자별 데이터로 매일 오전 1시부터 전일 데이터 조회가 가능합니다. (예를 들어, 12월 22일 데이터를 조회하면 22일 00시부터 23일의 00시 사이의 데이터가 조회됩니다.) | ||
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.) | ||
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다. | ||
@@ -206,4 +236,5 @@ * | ||
* 캐릭터 스킬과 하이퍼 스킬 정보를 조회합니다. | ||
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다. | ||
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다. | ||
* - 캐릭터 정보 조회 API는 일자별 데이터로 매일 오전 1시부터 전일 데이터 조회가 가능합니다. (예를 들어, 12월 22일 데이터를 조회하면 22일 00시부터 23일의 00시 사이의 데이터가 조회됩니다.) | ||
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.) | ||
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다. | ||
@@ -229,4 +260,5 @@ * | ||
* 장착 링크 스킬 정보를 조회합니다. | ||
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다. | ||
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다. | ||
* - 캐릭터 정보 조회 API는 일자별 데이터로 매일 오전 1시부터 전일 데이터 조회가 가능합니다. (예를 들어, 12월 22일 데이터를 조회하면 22일 00시부터 23일의 00시 사이의 데이터가 조회됩니다.) | ||
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.) | ||
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다. | ||
@@ -240,4 +272,5 @@ * | ||
* V매트릭스 슬롯 정보와 장착한 V코어 정보를 조회합니다. | ||
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다. | ||
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다. | ||
* - 캐릭터 정보 조회 API는 일자별 데이터로 매일 오전 1시부터 전일 데이터 조회가 가능합니다. (예를 들어, 12월 22일 데이터를 조회하면 22일 00시부터 23일의 00시 사이의 데이터가 조회됩니다.) | ||
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.) | ||
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다. | ||
@@ -251,4 +284,5 @@ * | ||
* HEXA 매트릭스에 장착한 HEXA 코어 정보를 조회합니다. | ||
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다. | ||
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다. | ||
* - 캐릭터 정보 조회 API는 일자별 데이터로 매일 오전 1시부터 전일 데이터 조회가 가능합니다. (예를 들어, 12월 22일 데이터를 조회하면 22일 00시부터 23일의 00시 사이의 데이터가 조회됩니다.) | ||
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.) | ||
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다. | ||
@@ -262,4 +296,5 @@ * | ||
* HEXA 매트릭스에 설정한 HEXA 스탯 정보를 조회합니다. | ||
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다. | ||
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다. | ||
* - 캐릭터 정보 조회 API는 일자별 데이터로 매일 오전 1시부터 전일 데이터 조회가 가능합니다. (예를 들어, 12월 22일 데이터를 조회하면 22일 00시부터 23일의 00시 사이의 데이터가 조회됩니다.) | ||
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.) | ||
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다. | ||
@@ -273,4 +308,5 @@ * | ||
* 캐릭터 무릉도장 최고 기록 정보를 조회합니다. | ||
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다. | ||
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다. | ||
* - 캐릭터 정보 조회 API는 일자별 데이터로 매일 오전 1시부터 전일 데이터 조회가 가능합니다. (예를 들어, 12월 22일 데이터를 조회하면 22일 00시부터 23일의 00시 사이의 데이터가 조회됩니다.) | ||
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.) | ||
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다. | ||
@@ -284,4 +320,5 @@ * | ||
* 유니온 정보를 조회합니다. | ||
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다. | ||
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다. | ||
* - 유니온 정보 조회 API는 일자별 데이터로 매일 오전 1시부터 전일 데이터 조회가 가능합니다. (예를 들어, 12월 22일 데이터를 조회하면 22일 00시부터 23일의 00시 사이의 데이터가 조회됩니다.) | ||
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.) | ||
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다. | ||
@@ -295,4 +332,5 @@ * | ||
* 유니온 공격대 정보를 조회합니다. | ||
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다. | ||
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다. | ||
* - 유니온 정보 조회 API는 일자별 데이터로 매일 오전 1시부터 전일 데이터 조회가 가능합니다. (예를 들어, 12월 22일 데이터를 조회하면 22일 00시부터 23일의 00시 사이의 데이터가 조회됩니다.) | ||
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.) | ||
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다. | ||
@@ -306,4 +344,5 @@ * | ||
* 유니온 아티팩트 정보를 조회합니다. | ||
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다. | ||
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다. | ||
* - 유니온 정보 조회 API는 일자별 데이터로 매일 오전 1시부터 전일 데이터 조회가 가능합니다. (예를 들어, 12월 22일 데이터를 조회하면 22일 00시부터 23일의 00시 사이의 데이터가 조회됩니다.) | ||
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.) | ||
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다. | ||
@@ -317,4 +356,5 @@ * | ||
* 길드 식별자(oguild_id) 정보를 조회합니다. | ||
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다. | ||
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다. | ||
* - 길드 정보 조회 API는 일자별 데이터로 매일 오전 1시부터 전일 데이터 조회가 가능합니다. (예를 들어, 12월 22일 데이터를 조회하면 22일 00시부터 23일의 00시 사이의 데이터가 조회됩니다.). | ||
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.) | ||
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다. | ||
@@ -328,4 +368,5 @@ * | ||
* 길드 기본 정보를 조회합니다. | ||
* - 메이플스토리 게임 데이터는 평균 15분 후 확인 가능합니다. | ||
* - 2023년 12월 21일 데이터부터 조회할 수 있습니다. | ||
* - 길드 정보 조회 API는 일자별 데이터로 매일 오전 1시부터 전일 데이터 조회가 가능합니다. (예를 들어, 12월 22일 데이터를 조회하면 22일 00시부터 23일의 00시 사이의 데이터가 조회됩니다.). | ||
* - 과거 데이터는 원하는 일자를 입력해 조회할 수 있으며, 전일 데이터는 다음날 오전 2시부터 확인할 수 있습니다. (12월 22일 데이터 조회 시, 22일 00시부터 23일 00시 사이 데이터가 조회 됩니다.) | ||
* - 게임 콘텐츠 변경으로 ocid가 변경될 수 있습니다. ocid 기반 서비스 갱신 시 유의해 주시길 바랍니다. | ||
@@ -483,2 +524,62 @@ * | ||
/** | ||
* 메이플스토리 공지사항에 최근 등록된 게시글 20개를 조회합니다. | ||
* | ||
* - 공지 정보 API는 데이터 최신화(공지 내용 수정/ 업데이트 고려)를 위해 실시간 조회 또는 최소 일배치 작업을 권장합니다. | ||
* - 실시간으로 정보를 제공하지 않는 경우, 신규/수정 공지 내용이 반영되지 않을 수 있으니 서비스 이용 유저에게 홈페이지 공지 사항을 확인하라는 가이드를 제공해주세요. | ||
*/ | ||
getNoticeList(): Promise<NoticeListDto>; | ||
/** | ||
* 메이플스토리 공지사항 게시글 세부 사항을 조회합니다. | ||
* | ||
* - 공지 정보 API는 데이터 최신화(공지 내용 수정/ 업데이트 고려)를 위해 실시간 조회 또는 최소 일배치 작업을 권장합니다. | ||
* - 실시간으로 정보를 제공하지 않는 경우, 신규/수정 공지 내용이 반영되지 않을 수 있으니 서비스 이용 유저에게 홈페이지 공지 사항을 확인하라는 가이드를 제공해주세요. | ||
* @param noticeId 공지 식별자 | ||
*/ | ||
getNoticeDetail(noticeId: number): Promise<NoticeDetailDto>; | ||
/** | ||
* 메이플스토리 업데이트에 최근 등록된 게시글 20개를 조회합니다. | ||
* | ||
* - 공지 정보 API는 데이터 최신화(공지 내용 수정/ 업데이트 고려)를 위해 실시간 조회 또는 최소 일배치 작업을 권장합니다. | ||
* - 실시간으로 정보를 제공하지 않는 경우, 신규/수정 공지 내용이 반영되지 않을 수 있으니 서비스 이용 유저에게 홈페이지 공지 사항을 확인하라는 가이드를 제공해주세요. | ||
*/ | ||
getUpdateNoticeList(): Promise<UpdateNoticeListDto>; | ||
/** | ||
* 메이플스토리 업데이트 게시글 세부 사항을 조회합니다. | ||
* | ||
* - 공지 정보 API는 데이터 최신화(공지 내용 수정/ 업데이트 고려)를 위해 실시간 조회 또는 최소 일배치 작업을 권장합니다. | ||
* - 실시간으로 정보를 제공하지 않는 경우, 신규/수정 공지 내용이 반영되지 않을 수 있으니 서비스 이용 유저에게 홈페이지 공지 사항을 확인하라는 가이드를 제공해주세요. | ||
* @param noticeId 공지 식별자 | ||
*/ | ||
getUpdateNoticeDetail(noticeId: number): Promise<UpdateNoticeDetailDto>; | ||
/** | ||
* 메이플스토리 진행 중 이벤트에 최근 등록된 공지사항 20개를 조회합니다. | ||
* | ||
* - 공지 정보 API는 데이터 최신화(공지 내용 수정/ 업데이트 고려)를 위해 실시간 조회 또는 최소 일배치 작업을 권장합니다. | ||
* - 실시간으로 정보를 제공하지 않는 경우, 신규/수정 공지 내용이 반영되지 않을 수 있으니 서비스 이용 유저에게 홈페이지 공지 사항을 확인하라는 가이드를 제공해주세요. | ||
*/ | ||
getEventNoticeList(): Promise<EventNoticeListDto>; | ||
/** | ||
* 메이플스토리 진행 중 이벤트 게시글 세부 사항을 조회합니다. | ||
* | ||
* - 공지 정보 API는 데이터 최신화(공지 내용 수정/ 업데이트 고려)를 위해 실시간 조회 또는 최소 일배치 작업을 권장합니다. | ||
* - 실시간으로 정보를 제공하지 않는 경우, 신규/수정 공지 내용이 반영되지 않을 수 있으니 서비스 이용 유저에게 홈페이지 공지 사항을 확인하라는 가이드를 제공해주세요. | ||
* @param noticeId 공지 식별자 | ||
*/ | ||
getEventNoticeDetail(noticeId: number): Promise<EventNoticeDetailDto>; | ||
/** | ||
* 메이플스토리 캐시샵 공지에 최근 등록된 공지사항 20개를 조회합니다. | ||
* | ||
* - 공지 정보 API는 데이터 최신화(공지 내용 수정/ 업데이트 고려)를 위해 실시간 조회 또는 최소 일배치 작업을 권장합니다. | ||
* - 실시간으로 정보를 제공하지 않는 경우, 신규/수정 공지 내용이 반영되지 않을 수 있으니 서비스 이용 유저에게 홈페이지 공지 사항을 확인하라는 가이드를 제공해주세요. | ||
*/ | ||
getCashshopNoticeList(): Promise<CashshopNoticeListDto>; | ||
/** | ||
* 메이플스토리 캐시샵 공지 게시글 세부 사항을 조회합니다. | ||
* | ||
* - 공지 정보 API는 데이터 최신화(공지 내용 수정/ 업데이트 고려)를 위해 실시간 조회 또는 최소 일배치 작업을 권장합니다. | ||
* - 실시간으로 정보를 제공하지 않는 경우, 신규/수정 공지 내용이 반영되지 않을 수 있으니 서비스 이용 유저에게 홈페이지 공지 사항을 확인하라는 가이드를 제공해주세요. | ||
* @param noticeId 공지 식별자 | ||
*/ | ||
getCashshopNoticeDetail(noticeId: number): Promise<CashshopNoticeDetailDto>; | ||
/** | ||
* 서버 점검 정보를 조회합니다. | ||
@@ -485,0 +586,0 @@ */ |
@@ -25,4 +25,5 @@ import { MapleStoryErrorBody } from './mapleStoryApi'; | ||
OPENAPI00009 = 7, | ||
OPENAPI00010 = 8 | ||
OPENAPI00010 = 8, | ||
OPENAPI00011 = 9 | ||
} | ||
export { MapleStoryApiError, MapleStoryApiErrorCode }; |
type CharacterAbilityDtoBody = { | ||
date: string; | ||
date: string | null; | ||
ability_grade: string; | ||
@@ -4,0 +4,0 @@ ability_info: CharacterAbilityInfoDtoBody[]; |
type CharacterAndroidEquipmentDtoBody = { | ||
date: string; | ||
date: string | null; | ||
android_name: string | null; | ||
@@ -4,0 +4,0 @@ android_nickname: string | null; |
type CharacterBasicDtoBody = { | ||
date: string; | ||
date: string | null; | ||
character_name: string; | ||
@@ -13,3 +13,6 @@ world_name: string; | ||
character_image: string; | ||
character_date_create: string; | ||
access_flag: 'true' | 'false'; | ||
liberation_quest_clear_flag: 'true' | 'false'; | ||
}; | ||
export type { CharacterBasicDtoBody }; |
type CharacterBeautyEquipmentDtoBody = { | ||
date: string; | ||
date: string | null; | ||
character_gender: string; | ||
@@ -4,0 +4,0 @@ character_class: string; |
type CharacterCashItemEquipmentDtoBody = { | ||
date: string; | ||
date: string | null; | ||
character_gender: string; | ||
@@ -4,0 +4,0 @@ character_class: string; |
type CharacterDojangDtoBody = { | ||
date: string; | ||
date: string | null; | ||
character_class: string; | ||
@@ -4,0 +4,0 @@ world_name: string; |
type CharacterHexaMatrixDtoBody = { | ||
date: string; | ||
date: string | null; | ||
character_hexa_core_equipment: CharacterHexaMatrixEquipmentDtoBody[]; | ||
@@ -4,0 +4,0 @@ }; |
type CharacterHexaMatrixStatDtoBody = { | ||
date: string; | ||
date: string | null; | ||
character_class: string; | ||
@@ -4,0 +4,0 @@ character_hexa_stat_core: CharacterHexaMatrixStatCoreDtoBody[]; |
type CharacterHyperStatDtoBody = { | ||
date: string; | ||
date: string | null; | ||
character_class: string; | ||
@@ -4,0 +4,0 @@ use_preset_no: string; |
type CharacterItemEquipmentDtoBody = { | ||
date: string; | ||
date: string | null; | ||
character_gender: string; | ||
@@ -4,0 +4,0 @@ character_class: string; |
type CharacterLinkSkillDtoBody = { | ||
date: string; | ||
date: string | null; | ||
character_class: string; | ||
@@ -18,4 +18,5 @@ character_link_skill: CharacterLinkSkillInfoDtoBody[]; | ||
skill_effect: string; | ||
skill_effect_next: string | null; | ||
skill_icon: string; | ||
}; | ||
export type { CharacterLinkSkillDtoBody, CharacterLinkSkillInfoDtoBody }; |
type CharacterPetEquipmentDtoBody = { | ||
date: string; | ||
date: string | null; | ||
pet_1_name: string | null; | ||
@@ -4,0 +4,0 @@ pet_1_nickname: string | null; |
type CharacterPopularityDtoBody = { | ||
date: string; | ||
date: string | null; | ||
popularity: number; | ||
}; | ||
export type { CharacterPopularityDtoBody }; |
type CharacterPropensityDtoBody = { | ||
date: string; | ||
date: string | null; | ||
charisma_level: number; | ||
@@ -4,0 +4,0 @@ sensibility_level: number; |
type CharacterSetEffectDtoBody = { | ||
date: string; | ||
set_effect: CharacterSetEffectInfoDtoBody[]; | ||
date: string | null; | ||
set_effect: CharacterSetEffectSetDtoBody[]; | ||
}; | ||
type CharacterSetEffectInfoDtoBody = { | ||
type CharacterSetEffectSetDtoBody = { | ||
set_name: string; | ||
total_set_count: number; | ||
set_effect_info: CharacterSetEffectOptionInfoDtoBody[]; | ||
set_effect_info: CharacterSetEffectInfoDtoBody[]; | ||
set_option_full: CharacterSetEffectOptionFullDtoBody[]; | ||
}; | ||
type CharacterSetEffectOptionInfoDtoBody = { | ||
type CharacterSetEffectInfoDtoBody = { | ||
set_count: number; | ||
set_option: string; | ||
}; | ||
export { CharacterSetEffectDtoBody, CharacterSetEffectInfoDtoBody, CharacterSetEffectOptionInfoDtoBody, }; | ||
type CharacterSetEffectOptionFullDtoBody = { | ||
set_count: number; | ||
set_option: string; | ||
}; | ||
export { CharacterSetEffectDtoBody, CharacterSetEffectSetDtoBody, CharacterSetEffectInfoDtoBody, CharacterSetEffectOptionFullDtoBody, }; |
type CharacterSkillDtoBody = { | ||
date: string; | ||
date: string | null; | ||
character_class: string; | ||
@@ -12,4 +12,5 @@ character_skill_grade: string; | ||
skill_effect: string; | ||
skill_effect_next: string | null; | ||
skill_icon: string; | ||
}; | ||
export type { CharacterSkillDtoBody, CharacterSkillInfoDtoBody }; |
type CharacterStatDtoBody = { | ||
date: string; | ||
date: string | null; | ||
character_class: string; | ||
@@ -4,0 +4,0 @@ final_stat: { |
type CharacterSymbolEquipmentDtoBody = { | ||
date: string; | ||
date: string | null; | ||
character_class: string; | ||
@@ -4,0 +4,0 @@ symbol: CharacterSymbolEquipmentInfoDtoBody[]; |
type CharacterVMatrixDtoBody = { | ||
date: string; | ||
date: string | null; | ||
character_class: string; | ||
@@ -10,4 +10,4 @@ character_v_core_equipment: CharacterVMatrixCoreEquipmentDtoBody[]; | ||
slot_level: number; | ||
v_core_name: string; | ||
v_core_type: string; | ||
v_core_name: string | null; | ||
v_core_type: string | null; | ||
v_core_level: number; | ||
@@ -14,0 +14,0 @@ v_core_skill_1: string; |
type GuildBasicDtoBody = { | ||
date: string; | ||
date: string | null; | ||
world_name: string; | ||
@@ -13,4 +13,2 @@ guild_name: string; | ||
guild_noblesse_skill: GuildSkillDtoBody[]; | ||
guild_mark: string | null; | ||
guild_mark_custom: string | null; | ||
}; | ||
@@ -17,0 +15,0 @@ type GuildSkillDtoBody = { |
@@ -1,2 +0,2 @@ | ||
import { CubeResultOptionDtoBody } from './cubeResultOptionDtoBody'; | ||
import { CubeResultOptionDtoBody } from '@src/maplestory/api/response/history/cubeResultOptionDtoBody'; | ||
type CubeHistoryDtoBody = { | ||
@@ -3,0 +3,0 @@ id: string; |
@@ -1,2 +0,2 @@ | ||
import { CubeHistoryDtoBody } from './cubeHistoryDtoBody'; | ||
import { CubeHistoryDtoBody } from '@src/maplestory/api/response/history/cubeHistoryDtoBody'; | ||
type CubeHistoryResponseDtoBody = { | ||
@@ -3,0 +3,0 @@ count: number; |
@@ -1,2 +0,2 @@ | ||
import { StarforceEventDtoBody } from './starforceEventDtoBody'; | ||
import { StarforceEventDtoBody } from '@src/maplestory/api/response/history/starforceEventDtoBody'; | ||
type StarforceHistoryDtoBody = { | ||
@@ -19,4 +19,4 @@ id: string; | ||
date_create: string; | ||
starforce_event_list: StarforceEventDtoBody[]; | ||
starforce_event_list: StarforceEventDtoBody[] | null; | ||
}; | ||
export type { StarforceHistoryDtoBody }; |
@@ -1,2 +0,2 @@ | ||
import { StarforceHistoryDtoBody } from './starforceHistoryDtoBody'; | ||
import { StarforceHistoryDtoBody } from '@src/maplestory/api/response/history/starforceHistoryDtoBody'; | ||
type StarforceHistoryResponseDtoBody = { | ||
@@ -3,0 +3,0 @@ count: number; |
@@ -1,4 +0,3 @@ | ||
type TheSeedRankingResponseDtoBody = { | ||
ranking: TheSeedRankingDtoBody[]; | ||
}; | ||
import { RankingResponseDtoBody } from './rankingResponseDtoBody'; | ||
type TheSeedRankingResponseDtoBody = RankingResponseDtoBody<TheSeedRankingDtoBody>; | ||
type TheSeedRankingDtoBody = { | ||
@@ -5,0 +4,0 @@ date: string; |
type UnionArtifactDtoBody = { | ||
date: string; | ||
date: string | null; | ||
union_artifact_effect: UnionArtifactEffectDtoBody[]; | ||
@@ -4,0 +4,0 @@ union_artifact_crystal: UnionArtifactCrystalDtoBody[]; |
type UnionDtoBody = { | ||
date: string; | ||
date: string | null; | ||
union_level: number; | ||
@@ -4,0 +4,0 @@ union_grade: string; |
type UnionRaiderDtoBody = { | ||
date: string; | ||
date: string | null; | ||
union_raider_stat: string[]; | ||
@@ -7,2 +7,8 @@ union_occupied_stat: string[]; | ||
union_block: UnionRaiderBlockDtoBody[]; | ||
use_preset_no: number; | ||
union_raider_preset_1: UnionRaiderPresetDtoBody | null; | ||
union_raider_preset_2: UnionRaiderPresetDtoBody | null; | ||
union_raider_preset_3: UnionRaiderPresetDtoBody | null; | ||
union_raider_preset_4: UnionRaiderPresetDtoBody | null; | ||
union_raider_preset_5: UnionRaiderPresetDtoBody | null; | ||
}; | ||
@@ -28,2 +34,8 @@ type UnionRaiderInnerStatDtoBody = { | ||
}; | ||
export type { UnionRaiderDtoBody, UnionRaiderInnerStatDtoBody, UnionRaiderBlockDtoBody, UnionRaiderBlockControlPointDtoBody, UnionRaiderBlockPositionDtoBody, }; | ||
type UnionRaiderPresetDtoBody = { | ||
union_raider_stat: string[]; | ||
union_occupied_stat: string[]; | ||
union_inner_stat: UnionRaiderInnerStatDtoBody[]; | ||
union_block: UnionRaiderBlockDtoBody[]; | ||
}; | ||
export type { UnionRaiderDtoBody, UnionRaiderInnerStatDtoBody, UnionRaiderBlockDtoBody, UnionRaiderBlockControlPointDtoBody, UnionRaiderBlockPositionDtoBody, UnionRaiderPresetDtoBody, }; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
630612
165
18304
96
21