api.DruTBlmV.js 568 B

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