import{A as APIBase}from"./apiBase-d573f009.js";var STORAGE_KEY_KIMLIK_USER_ID="kimlik_uid";var STORAGE_KEY_KIMLIK_TOKEN="kimlik_token";var KimlikApiImpl=function(){function t(t,i){var s=this;if(i===void 0){i={}}this.register=function(t,i,a,e){return s.api.post("register",{email:t,firstName:i,lastName:a,password:e})};this.login=function(t,i){return s.api.post("login",{email:t,password:i})};this.activateUser=function(t,i,a,e){return s.api.post("",{email:t,firstName:i,lastName:a,password:e})};this.logout=function(){return s.api.post("logout",{})};this.addAuthInterceptor=function(t){s.api.addAuthInterceptor(t)};this.getSession=function(){return s.api.get("session")};this.api=new APIBase(t,i)}t.prototype.getDefaults=function(){return this.api.getDefaults()};return t}();export{KimlikApiImpl as K,STORAGE_KEY_KIMLIK_TOKEN as S,STORAGE_KEY_KIMLIK_USER_ID as a};