import{A as s}from"./p-e476a838.js";const t="kimlik_uid",i="kimlik_token";class a{constructor(t,i={}){this.register=(s,t,i,a)=>this.api.post("register",{email:s,firstName:t,lastName:i,password:a}),this.login=(s,t)=>this.api.post("login",{email:s,password:t}),this.activateUser=(s,t,i,a)=>this.api.post("",{email:s,firstName:t,lastName:i,password:a}),this.logout=()=>this.api.post("logout",{}),this.addAuthInterceptor=s=>{this.api.addAuthInterceptor(s)},this.getSession=()=>this.api.get("session"),this.api=new s(t,i)}getDefaults(){return this.api.getDefaults()}}export{a as K,i as S,t as a}