import{a as h}from"./chunk-V5RONT72.js";import{h as c}from"./chunk-73IMXZSJ.js";import{aa as a,ca as n,ha as p,i as s,ma as o}from"./chunk-FWZCAEAJ.js";var $=(()=>{let e=class e{constructor(t,i){this.httpClient=t,this.eventsService=i,this.url="/config/organisation/users",this.triggerGet$=new s(!0)}getByOrganisationId$(t){return this.triggerGet$.pipe(a(()=>this.httpClient.get(this.url,{params:{organisationId:t}})))}delete$(t,i){return this.httpClient.delete(`/config/organisation/${t}/user/${i}`).pipe(n(()=>this.triggerGet$.next(!0)))}create$(t,i,u){return this.httpClient.put(`/config/organisation/${t}/user/${i}`,u).pipe(n(()=>this.triggerGet$.next(!0)))}};e.\u0275fac=function(i){return new(i||e)(o(c),o(h))},e.\u0275prov=p({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();export{$ as a};
