{ "version": 3, "sources": ["src/app/proxy/services/dashboard.service.ts", "src/app/proxy/services/doctor-schedule.service.ts"], "sourcesContent": ["import { RestService, Rest } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\nimport type { AppointmentDto, DashboardDto } from '../dto-models/models';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class DashboardService {\r\n apiName = 'Default';\r\n \r\n\r\n getDashboadDataForDoctor = (doctorid: number, config?: Partial) =>\r\n this.restService.request({\r\n method: 'GET',\r\n url: '/api/app/dashboard/dashboad-data-for-doctor',\r\n params: { doctorid },\r\n },\r\n { apiName: this.apiName,...config });\r\n \r\n\r\n getDashboadDataForPatient = (patientId: number, role: string, config?: Partial) =>\r\n this.restService.request({\r\n method: 'GET',\r\n url: `/api/app/dashboard/dashboad-data-for-patient/${patientId}`,\r\n params: { role },\r\n },\r\n { apiName: this.apiName,...config });\r\n \r\n\r\n getDashboardAppointmentListForDoctor = (doctorId: number, day: string, config?: Partial) =>\r\n this.restService.request({\r\n method: 'GET',\r\n url: `/api/app/dashboard/dashboard-appointment-list-for-doctor/${doctorId}`,\r\n params: { day },\r\n },\r\n { apiName: this.apiName,...config });\r\n \r\n\r\n getDashboardAppointmentListForPatient = (patientId: number, role: string, day: string, config?: Partial) =>\r\n this.restService.request({\r\n method: 'GET',\r\n url: `/api/app/dashboard/dashboard-appointment-list-for-patient/${patientId}`,\r\n params: { role, day },\r\n },\r\n { apiName: this.apiName,...config });\r\n\r\n constructor(private restService: RestService) {}\r\n}\r\n", "import { RestService, Rest } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\nimport type { DoctorScheduleDto, DoctorScheduleInputDto, ResponseDto } from '../dto-models/models';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class DoctorScheduleService {\r\n apiName = 'Default';\r\n \r\n\r\n create = (input: DoctorScheduleInputDto, config?: Partial) =>\r\n this.restService.request({\r\n method: 'POST',\r\n url: '/api/app/doctor-schedule',\r\n body: input,\r\n },\r\n { apiName: this.apiName,...config });\r\n \r\n\r\n createFromMobileApp = (input: DoctorScheduleInputDto, config?: Partial) =>\r\n this.restService.request({\r\n method: 'POST',\r\n url: '/api/app/doctor-schedule/from-mobile-app',\r\n body: input,\r\n },\r\n { apiName: this.apiName,...config });\r\n \r\n\r\n deleteSession = (id: number, config?: Partial) =>\r\n this.restService.request({\r\n method: 'DELETE',\r\n url: `/api/app/doctor-schedule/${id}/session`,\r\n },\r\n { apiName: this.apiName,...config });\r\n \r\n\r\n get = (id: number, config?: Partial) =>\r\n this.restService.request({\r\n method: 'GET',\r\n url: `/api/app/doctor-schedule/${id}`,\r\n },\r\n { apiName: this.apiName,...config });\r\n \r\n\r\n getDetailsScheduleListByDoctorId = (doctorId: number, config?: Partial) =>\r\n this.restService.request({\r\n method: 'GET',\r\n url: `/api/app/doctor-schedule/details-schedule-list-by-doctor-id/${doctorId}`,\r\n },\r\n { apiName: this.apiName,...config });\r\n \r\n\r\n getList = (config?: Partial) =>\r\n this.restService.request({\r\n method: 'GET',\r\n url: '/api/app/doctor-schedule',\r\n },\r\n { apiName: this.apiName,...config });\r\n \r\n\r\n getListByDoctorIdList = (doctorId: number, config?: Partial) =>\r\n this.restService.request({\r\n method: 'GET',\r\n url: `/api/app/doctor-schedule/by-doctor-id-list/${doctorId}`,\r\n },\r\n { apiName: this.apiName,...config });\r\n \r\n\r\n getScheduleListByDoctorId = (doctorId: number, config?: Partial) =>\r\n this.restService.request({\r\n method: 'GET',\r\n url: `/api/app/doctor-schedule/schedule-list-by-doctor-id/${doctorId}`,\r\n },\r\n { apiName: this.apiName,...config });\r\n \r\n\r\n update = (input: DoctorScheduleInputDto, config?: Partial) =>\r\n this.restService.request({\r\n method: 'PUT',\r\n url: '/api/app/doctor-schedule',\r\n body: input,\r\n },\r\n { apiName: this.apiName,...config });\r\n \r\n\r\n updateFromMobileApp = (input: DoctorScheduleInputDto, config?: Partial) =>\r\n this.restService.request({\r\n method: 'PUT',\r\n url: '/api/app/doctor-schedule/from-mobile-app',\r\n body: input,\r\n },\r\n { apiName: this.apiName,...config });\r\n\r\n constructor(private restService: RestService) {}\r\n}\r\n"], "mappings": "+HAOA,IAAaA,GAAgB,IAAA,CAAvB,IAAOA,EAAP,MAAOA,CAAgB,CAuC3BC,YAAoBC,EAAwB,CAAxB,KAAAA,YAAAA,EAtCpB,KAAAC,QAAU,UAGV,KAAAC,yBAA2B,CAACC,EAAkBC,IAC5C,KAAKJ,YAAYK,QAA2B,CAC1CC,OAAQ,MACRC,IAAK,8CACLC,OAAQ,CAAEL,SAAAA,CAAQ,GAEpBM,EAAA,CAAER,QAAS,KAAKA,SAAWG,EAAQ,EAGrC,KAAAM,0BAA4B,CAACC,EAAmBC,EAAcR,IAC5D,KAAKJ,YAAYK,QAA2B,CAC1CC,OAAQ,MACRC,IAAK,gDAAgDI,CAAS,GAC9DH,OAAQ,CAAEI,KAAAA,CAAI,GAEhBH,EAAA,CAAER,QAAS,KAAKA,SAAWG,EAAQ,EAGrC,KAAAS,qCAAuC,CAACC,EAAkBC,EAAaX,IACrE,KAAKJ,YAAYK,QAA+B,CAC9CC,OAAQ,MACRC,IAAK,4DAA4DO,CAAQ,GACzEN,OAAQ,CAAEO,IAAAA,CAAG,GAEfN,EAAA,CAAER,QAAS,KAAKA,SAAWG,EAAQ,EAGrC,KAAAY,sCAAwC,CAACL,EAAmBC,EAAcG,EAAaX,IACrF,KAAKJ,YAAYK,QAA+B,CAC9CC,OAAQ,MACRC,IAAK,6DAA6DI,CAAS,GAC3EH,OAAQ,CAAEI,KAAAA,EAAMG,IAAAA,CAAG,GAErBN,EAAA,CAAER,QAAS,KAAKA,SAAWG,EAAQ,CAEU,yCAvCpCN,GAAgBmB,EAAAC,CAAA,CAAA,CAAA,wBAAhBpB,EAAgBqB,QAAhBrB,EAAgBsB,UAAAC,WAFf,MAAM,CAAA,EAEd,IAAOvB,EAAPwB,SAAOxB,CAAgB,GAAA,ECA7B,IAAayB,GAAqB,I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,OAAQ,MACRC,IAAK,uDAAuDQ,CAAQ,IAEtEN,EAAA,CAAER,QAAS,KAAKA,SAAWG,EAAQ,EAGrC,KAAAe,OAAS,CAAChB,EAA+BC,IACvC,KAAKJ,YAAYK,QAA0B,CACzCC,OAAQ,MACRC,IAAK,2BACLC,KAAML,GAERM,EAAA,CAAER,QAAS,KAAKA,SAAWG,EAAQ,EAGrC,KAAAgB,oBAAsB,CAACjB,EAA+BC,IACpD,KAAKJ,YAAYK,QAAgC,CAC/CC,OAAQ,MACRC,IAAK,2CACLC,KAAML,GAERM,EAAA,CAAER,QAAS,KAAKA,SAAWG,EAAQ,CAEU,yCAvFpCN,GAAqBuB,EAAAC,CAAA,CAAA,CAAA,wBAArBxB,EAAqByB,QAArBzB,EAAqB0B,UAAAC,WAFpB,MAAM,CAAA,EAEd,IAAO3B,EAAP4B,SAAO5B,CAAqB,GAAA", "names": ["DashboardService", "constructor", "restService", "apiName", "getDashboadDataForDoctor", "doctorid", "config", "request", "method", "url", "params", "__spreadValues", "getDashboadDataForPatient", "patientId", "role", "getDashboardAppointmentListForDoctor", "doctorId", "day", "getDashboardAppointmentListForPatient", "\u0275\u0275inject", "RestService", "factory", "\u0275fac", "providedIn", "_DashboardService", "DoctorScheduleService", "constructor", "restService", "apiName", "create", "input", "config", "request", "method", "url", "body", "__spreadValues", "createFromMobileApp", "deleteSession", "id", "get", "getDetailsScheduleListByDoctorId", "doctorId", "getList", "getListByDoctorIdList", "getScheduleListByDoctorId", "update", "updateFromMobileApp", "\u0275\u0275inject", "RestService", "factory", "\u0275fac", "providedIn", "_DoctorScheduleService"] }