import{c as n}from"./chunk-AYHVL37M.js";import{b as s,h as a}from"./chunk-KXVCY5JT.js";import{Na as i,Sa as o}from"./chunk-XNQ3RS5P.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("".concat(n.getImpersonationUrl(),"/username/").concat(e,"/start"),{},{withCredentials:!0})}stopImpersonation(){return this.httpClient.post("".concat(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};