1import{j as $}from"./chunk-DQXKRW4H.js";import{K as a}from"./chunk-WDNLYYK3.js";import{b as t}from"./chunk-J2RVBSWX.js";import{ja as m,oa as l,w as i}from"./chunk-D7PWJ4UE.js";var o=class{constructor(s){this.id=+s.id,this.registerWithoutEmail=s.registerWithoutEmail}isRegisterWithoutEmail(){return this.registerWithoutEmail}};var I=(()=>{let s=class s{constructor(e){this.api=e}getUserDetailsPaged(e,r=1,p=10){return this.api.getPaged(`${t.api}/users/paged`,r,p,e).pipe(i(n=>this.mapUserDetails(n)))}getUserByEmail(e){return this.api.get(`${t.api}/users/email/${e}`).pipe(i(r=>new a(r)))}mapUserDetails(e){return{total:e.total,records:e.records.map(r=>new a(r))}}getPartners(){return this.api.get(`${t.api}/users/partners`)}registerFromCommunity(e){return this.api.post(`${t.api}/register`,e).pipe(i(r=>new a(r)))}completeSignUp(e){return this.api.post(`${t.api}/signup/complete`,e).pipe(i(r=>new a(r)))}register(e,r,p,n,d,g,h,c){return this.api.post(`${t.api}/register`,{email:e,password:r,name:p,language:n,utmParams:d,referralCode:g,communityApplyRequest:h,rsvpAttendeeUuid:c}).pipe(i(f=>new a(f)))}toggleUserIsB2B(e){return this.api.patch(`${t.api}/users/toggle-b2b`,{userId:e})}getUserTodoData(e){return this.api.get(`${t.api}/users/${e}/todo-data`)}registerWithPhone(e,r,p,n,d,g){return this.api.post(`${t.api}/register`,{phone:e,name:r,language:p,utmParams:n,referralCode:d,password:g}).pipe(i(h=>new a(h)))}update(e){return this.api.put(`${t.api}/users`,e).pipe(i(r=>new a(r)))}recordEmailConfirmation(e){return this.api.post(`${t.api}/users/email-confirmations`,e)}findByEmailOrPhone(e){return this.api.get(`${t.api}/users/find-by-credentials`,e).pipe(i(r=>new a(r)))}createOrFindUser(e){return this.api.post(`${t.api}/users/create-or-find-user`,e)}findUser(e){return this.api.post(`${t.api}/users/find-user`,e)}delete(e){return this.api.delete(`${t.api}/users/${e}`)}getUserProfileInfo(e){return this.api.get(`${t.api}/users/${e}/profile-info`)}getReferredUsers(e){return this.api.get(`${t.api}/users/${e}/referred-users`).pipe(i(this.mapUsers))}checkReferralCodeExists(e){return this.api.get(`${t.api}/users/check-referral-code/${e}`)}mapUsers(e){return e?.map(r=>new a(r))}getSenders(){return this.api.get(`${t.api}/users/senders`)}createSender(e){return this.api.post(`${t.api}/users/senders`,e)}updateSender(e,r){return this.api.put(`${t.api}/users/senders/${e}/update`,r)}validateSender(e,r){return this.api.put(`${t.api}/users/senders/${e}/validate`,r)}resendSenderVerificationCode(e){return this.api.post(`${t.api}/users/senders/${e}/resend-verification-code`,{})}deleteSender(e){return this.api.delete(`${t.api}/users/senders/${e}`)}getDomains(){return this.api.get(`${t.api}/users/domains`)}createDomain(e){return this.api.post(`${t.api}/users/domains`,e)}deleteDomain(e){return this.api.delete(`${t.api}/users/domains/${e}`)}validateDomain(e){return this.api.put(`${t.api}/users/domains/validate`,e)}getGlobalSettings(){return this.api.get(`${t.api}/users/global-settings`).pipe(i(e=>new o(e)))}setGlobalSettings(e){return this.api.post(`${t.api}/users/global-settings/update`,e).pipe(i(r=>new o(r)))}getUserByID(e){return this.api.get(`${t.api}/users/${e}`)}getUserImages(e){let r=new Map;return e&&r.set("search",e),this.api.get(`${t.api}/users/images`,r)}};s.\u0275fac=function(r){return new(r||s)(l($))},s.\u0275prov=m({token:s,factory:s.\u0275fac,providedIn:"root"});let u=s;return u})();export{I as a}; 2//# sourceMappingURL=chunk-5MKW7YXK.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.