api.C3JZYvte.js 1.0 KB

1
  1. import{r as a}from"./index.DYFzjhQc.js";const t="/api/choice/reviews/";function i(e){return a({url:"/api/choice/reviews/stat_avg_score/",method:"GET",params:e})}function s(e){return a({url:t,method:"GET",params:e})}function o(e){return a({url:t,method:"POST",data:e})}function n(e){return a({url:t+"export_data/",method:"GET",params:e,responseType:"blob"})}function u(e){return a({url:"/api/choice/reviews_labels/",method:"GET",params:e})}function c(e){return a({url:"/api/choice/reviews_labels/",method:"POST",data:e})}function l(e){return a({url:`/api/choice/reviews_labels/${e.id}/`,method:"PUT",data:e})}function h(e){return a({url:`/api/choice/reviews_labels/${e.id}/`,method:"DELETE",data:e})}function p(e){return a({url:"/api/choice/reviews_labels/agg/",method:"GET",params:e})}function g(e){return a({url:"/api/choice/reviews_labels/agg/",method:"GET",params:e})}function m(e){return a({url:"/api/choice/reviews_labels/agg/",method:"GET",params:e})}export{c as a,s as b,o as c,u as d,n as e,h as f,i as g,g as h,m as i,p as j,l as u};