<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">import{a as o,b as p,c}from"./chunk-GE6YZJR3.js";import{da as h,ja as n}from"./chunk-DOFDB7KM.js";var t={production:!0,apiUrl:"https://api-stoolland.pakyino2palace.com",successRedirectUrl:"https://pakyino2palace.com",failedRedirectUrl:"https://pakyino2palace.com",privateKey:"4twsd56f6gs3fgy4aswsfw"};var l=(()=&gt;{let i=class i{getToken(){return localStorage.getItem("Token")||""}};i.\u0275fac=function(r){return new(r||i)},i.\u0275prov=h({token:i,factory:i.\u0275fac,providedIn:"root"});let s=i;return s})();var y=(()=&gt;{let i=class i{constructor(){this.http=n(c),this.userData=n(l)}getBearer(){return new o({Authorization:`Bearer ${this.userData.getToken()}`})}getPrivateKey(){return{Authorization:`privateKey ${t.privateKey}`}}getHeaders(){return new o({Authorization:`Bearer ${this.userData.getToken()}`})}getInTouch(e){return this.http.post(`${t.apiUrl}/api/v1/home/get-in-touch`,e,{headers:this.getPrivateKey()})}getInTouchRecords(){return this.http.get(`${t.apiUrl}/api/v1/home/get-in-touch-records`,{headers:this.getHeaders()})}applicantSignup(e){return this.http.post(`${t.apiUrl}/api/v1/accounts/create`,e,{headers:this.getPrivateKey()})}applicantSignin(e){return this.http.post(`${t.apiUrl}/api/v1/accounts/login`,e,{headers:this.getPrivateKey()})}applicantForgetPassword(e){return this.http.post(`${t.apiUrl}/api/v1/accounts/forgot-password`,e,{headers:this.getPrivateKey()})}applicantResetPassword(e){return this.http.post(`${t.apiUrl}/api/v1/accounts/reset-password`,e,{headers:this.getPrivateKey()})}addUser(e){return this.http.post(`${t.apiUrl}/api/v1/accounts/add/direct`,e,{headers:this.getBearer()})}applicantLogout(){return this.http.post(`${t.apiUrl}/api/v1/accounts/logout`,null,{headers:this.getBearer()})}applicantCheckout(e){return this.http.post(`${t.apiUrl}/api/v1/Checkout`,e,{headers:this.getBearer()})}ticketApplication(e){return this.http.post(`${t.apiUrl}/api/v1/tickets`,e,{headers:this.getBearer()})}upLoadFile(e,r){let a=new FormData;return a.append("file",e),a.append("folderName",r),this.http.post(`${t.apiUrl}/api/v1/FileManager`,a,{headers:this.getBearer()})}upLoadFileDelete(e){return this.http.post(`${t.apiUrl}/api/v1/FileManager/delete`,{url:e},{headers:this.getBearer()})}postApplication(e){return this.http.post(`${t.apiUrl}/api/v1/Applications`,e,{headers:this.getBearer()})}getApplicantToken(){return this.http.get(`${t.apiUrl}/api/v1/applications/token`,{headers:this.getHeaders()})}getSubmissions(){return this.http.get(`${t.apiUrl}/api/v1/applications/submissions`,{headers:this.getHeaders()})}getUnusedApplicantToken(e){let r=new p;if(e)for(let a in e)r.set(a,e?.[a]);return this.http.get(`${t.apiUrl}/api/v1/applications/unused-tokens`,{headers:this.getHeaders(),params:r})}getApplications(e){let r=new p;if(e)for(let a in e)r.set(a,e?.[a]);return this.http.get(`${t.apiUrl}/api/v1/applications`,{headers:this.getHeaders(),params:r})}deleteApplications(e){return this.http.delete(`${t.apiUrl}/api/v1/applications/${e}`,{headers:this.getHeaders()})}getSingleApplication(e){return this.http.get(`${t.apiUrl}/api/v1/applications/${e}`,{headers:this.getHeaders()})}getPayableService(e){let r=new p().set("search",e);return this.http.get(`${t.apiUrl}/api/v1/payableservices`,{headers:this.getHeaders(),params:r})}getCertificateDetails(e){let r=new p().set("identifier",e);return this.http.get(`${t.apiUrl}/api/v1/applications/certificate-details`,{headers:this.getHeaders(),params:r})}updateCertificate(e){return this.http.put(`${t.apiUrl}/api/v1/applications/update-certificate-details`,e,{headers:this.getBearer()})}generateCertificate(e){return this.http.post(`${t.apiUrl}/api/v1/applications/generate-certificate`,e,{headers:this.getBearer()})}getTickets(){return this.http.get(`${t.apiUrl}/api/v1/tickets`,{headers:this.getHeaders()})}deleteTicket(e){return this.http.delete(`${t.apiUrl}/api/v1/tickets/hard-delete/${e}`,{headers:this.getHeaders()})}getSingleTicket(e){let r=new p().set("trackingId",e);return this.http.get(`${t.apiUrl}/api/v1/tickets/by-trackingid`,{headers:this.getHeaders(),params:r})}secretaryReplyTicket(e){return this.http.post(`${t.apiUrl}/api/v1/tickets/reply`,e,{headers:this.getHeaders()})}closeTicket(e){return this.http.post(`${t.apiUrl}/api/v1/tickets/close`,e,{headers:this.getHeaders()})}getApplicantTickets(){return this.http.get(`${t.apiUrl}/api/v1/tickets/applicant`,{headers:this.getHeaders()})}inspectorUpload(e){return this.http.put(`${t.apiUrl}/api/v1/applications/inspect`,e,{headers:this.getBearer()})}chiefVetting(e){return this.http.put(`${t.apiUrl}/api/v1/applications/vetting`,e,{headers:this.getBearer()})}getUsers(){return this.http.get(`${t.apiUrl}/api/v1/accounts/users/get-list`,{headers:this.getHeaders()})}assignInspector(e){return this.http.put(`${t.apiUrl}/api/v1/applications/assign-inspector`,e,{headers:this.getBearer()})}getPaymentAmount(e,r){return this.http.get(`${t.apiUrl}/api/v1/applications/dues/${e}/${r}`,{headers:this.getBearer()})}getInspectorCount(){return this.http.get(`${t.apiUrl}/api/v1/home/inspector/item-count`,{headers:this.getBearer()})}getAdminCount(){return this.http.get(`${t.apiUrl}/api/v1/home/admin/item-count`,{headers:this.getBearer()})}getUnpaidInspections(){return this.http.get(`${t.apiUrl}/api/v1/applications/pending-actions`,{headers:this.getBearer()})}setAppointment(e){return this.http.post(`${t.apiUrl}/api/v1/appointments`,e,{headers:this.getHeaders()})}getAppointments(){return this.http.get(`${t.apiUrl}/api/v1/appointments`,{headers:this.getBearer()})}deleteAppointments(e){return this.http.delete(`${t.apiUrl}/api/v1/appointments/hard-delete/${e}`,{headers:this.getHeaders()})}createServiceItem(e){return this.http.post(`${t.apiUrl}/api/v1/payableservices/service-item`,e,{headers:this.getBearer()})}updateServiceItem(e,r){return this.http.put(`${t.apiUrl}/api/v1/payableservices/service-item/${r}`,e,{headers:this.getBearer()})}createService(e){return this.http.post(`${t.apiUrl}/api/v1/payableservices`,e,{headers:this.getBearer()})}createAuthorities(e){return this.http.put(`${t.apiUrl}/api/v1/certificatereviewers`,e,{headers:this.getBearer()})}getAuthorities(){return this.http.get(`${t.apiUrl}/api/v1/certificatereviewers`,{headers:this.getBearer()})}getAllAuthorities(){return this.http.get(`${t.apiUrl}/api/v1/certificatereviewers/history`,{headers:this.getBearer()})}getPayableServices(){return this.http.get(`${t.apiUrl}/api/v1/payableservices`,{headers:this.getBearer()})}deletePayableServices(e){return this.http.get(`${t.apiUrl}/api/v1/payableservices/${e}`,{headers:this.getBearer()})}deleteServiceItem(e,r){return this.http.get(`${t.apiUrl}/api/v1/payableservices/service-item/${e}/${r}`,{headers:this.getBearer()})}getSinglePayableServices(e){return this.http.get(`${t.apiUrl}/api/v1/payableservices/${e}`,{headers:this.getBearer()})}};i.\u0275fac=function(r){return new(r||i)},i.\u0275prov=h({token:i,factory:i.\u0275fac,providedIn:"root"});let s=i;return s})();export{t as a,y as b};
</pre></body></html>