import{r as e,S as n}from"./index.DkAt_X45.js";const a="/api/platform/agreements/";function i(t){return e({url:a,method:"get",params:{...t,tenant_id:n.get("tenant_id")}})}function d(t){return e({url:a,method:"post",data:{...t,tenant_id:n.get("tenant_id")}})}function u(t){return e({url:a+t.id+"/",method:"put",data:{...t,tenant_id:n.get("tenant_id")}})}function o(t){return e({url:a+t+"/",method:"delete",data:{id:t,tenant_id:n.get("tenant_id")}})}function s(t){return e({url:`/api/public/agreements/${t}/`,method:"get"})}export{d as A,o as D,s as G,u as U,i as a};