import{c as n}from"./chunk-Z5BNBYBS.js";import{b as s,h as a}from"./chunk-SAGV4YDN.js";import{Ma as i,Ra as o}from"./chunk-NRAZ4AKM.js";var m=function(t){return t.ocn="ocn",t.msisdn="msisdn",t.cnp="cnp",t.email="email",t}(m||{}),C=(()=>{let r=class r{constructor(e){this.httpClient=e}getImpersonationUsers(e){return this.httpClient.get(n.getImpersonationUsersUrl(),{withCredentials:!0,params:new s().set(e.searchType,e.search)})}setImpersonationUser(e){return this.httpClient.post(`${n.getImpersonationUrl()}/username/${e}/start`,{},{withCredentials:!0})}stopImpersonation(){return this.httpClient.post(`${n.getImpersonationUrl()}/stop`,{},{withCredentials:!0})}};r.\u0275fac=function(p){return new(p||r)(o(a))},r.\u0275prov=i({token:r,factory:r.\u0275fac,providedIn:"root"});let t=r;return t})();export{m as a,C as b};