var i=Object.defineProperty;var l=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var s=(e,t,r)=>(l(e,typeof t!="symbol"?t+"":t,r),r);import{r as u}from"./index.1650620650570.js";class h{constructor(t,r){s(this,"url");s(this,"method");this.url=t,this.method=r}setUrl(t){return this.url=t,this}setMethod(t){return this.method=t,this}getUrl(){return u.getApiUrl(this.url)}request(t=null,r=null){return u.send(this,t,r)}requestWithHeaders(t,r){return u.sendWithHeaders(this,t,r)}static create(t,r){return new h(t,r)}}export{h as A};
