{ "version": 3, "sources": ["src/app/api/api.models.ts"], "sourcesContent": ["import { SafeResourceUrl } from '@angular/platform-browser'\nimport { Url } from 'url'\nexport interface IPrerecordDay {\n date: Date\n intervals: IPrerecordScheduleFreeIntervals[]\n}\n\nexport enum OnlineResultType {\n Ok = 0,\n Invalid = 1,\n InvalidArgument = 2,\n NotFound = 3,\n PermissionDenied = 4,\n Unexpected = 5,\n NotFoundVeryfiedPatient = 6,\n}\n\nexport interface InitializeLoginResponse {\n ResultType: OnlineResultType\n Errors: string[] | null\n}\n\nexport interface IFile {\n Id: number\n Name: string\n IsImage: boolean\n url: string\n}\n\nexport interface IClinic {\n clinicId: number\n endTime: Date\n logo: string\n nameCity: string\n nameClinic: string\n startTime: Date\n street: string\n}\n\nexport interface ISpecializationCategory {\n id: number\n name: string\n}\n\nexport interface ISpecialization {\n specializationId: number\n name: string\n categoryId?: number\n}\nexport interface IDoctor {\n id: number\n last: string\n middle: string\n first: string\n flm: string\n photo: string\n minimumCost?: number\n experience?: Date\n orderIndex: number\n specializations: ISpecialization[]\n}\n\nexport interface IDoctorScheduler {\n user: IPrerecordDoctor\n dates: IPrerecordDay[]\n}\n\nexport interface IDoctorSchedulerDate {\n date: Date\n freeIntervals: IPrerecordScheduleFreeIntervals[]\n}\n\nexport interface IPrerecordResponse {\n timeStart: Date\n timeEnd: Date\n room: IPrerecordRoom\n user: IPrerecordDoctor\n freeIntervals: IPrerecordScheduleFreeIntervals[]\n}\n\nexport class OnlineSchedulerIntervals {\n user!: IPrerecordDoctor\n schedules!: T[]\n}\n\nexport interface OnlineFreeIntervals {\n to: Date\n from: Date\n scheduleId: number\n date: Date\n roomId: number\n clinicId: number\n}\n\nexport interface ExtendedOnlineSchedules extends OnlineSchedules {\n scheduleId: number\n date: Date\n clinicId: number\n roomId: number\n freeIntervals: OnlineFreeIntervals[]\n}\n\nexport interface OnlineSchedules {\n date: Date\n freeIntervals: OnlineFreeIntervals[]\n}\n\nexport interface IPrerecordDoctor {\n lfm: string\n photo: string\n userId: number\n feedbackCount: number\n feedbackAvg: number\n discoveryUserIndex: number\n minimumCost?: number\n experience?: Date\n orderIndex: number\n specializations: ISpecialization[]\n}\nexport interface IPrerecordRoom {\n roomName: string\n roomId: number\n clinicId: number\n}\n\nexport interface IPrerecordScheduleFreeIntervals {\n from: Date\n to: Date\n userId: number\n displayExpr: string\n scheduler: IPrerecordSchedule\n}\n\nexport interface IPrerecordSchedule {\n timeStart: Date\n timeEnd: Date\n scheduleId: number\n dateCreateSchedule: string\n defaultInterval: number\n user: IPrerecordDoctor\n}\n\n// export interface ILoginRequest {\n// phone: string;\n// password: string;\n// }\n\nexport interface ILoginRequest {\n phone: string\n otp?: string\n born?: Date\n}\n\nexport interface IOrderLoginRequest {\n phone: string\n code: string\n}\n\nexport interface IPatientProfile {\n patientId: number\n clientName?: string\n phoneNumber?: string\n cityId: number\n email?: string\n birthDate?: Date\n familyName?: string\n givenName?: string\n middleName?: string\n sex: boolean\n isFamilyOwner: boolean\n telegramBotId: boolean\n}\n\nexport interface PatientDiscountDto {\n discountId: number\n number: string\n amount: number\n ccumulated: number\n}\n\nexport interface IUserInformationModel extends IUpdateUserInformationModel {\n phoneNumber: string\n born: Date\n first: string\n last: string\n middle: string | null\n cityId: number | null\n email: string\n sex: boolean\n id?: number\n}\n\nexport interface IInitializeRegisterRequest {\n phoneNumber: string\n}\n\nexport interface IRegisterRequest {\n password: string\n code: string\n patient: IUserInformationModel\n}\nexport interface IResetPatientPasswordRequest {\n phone: string\n born: Date | null\n}\n\nexport interface IConfirmResetPasswordRequest extends IResetPatientPasswordRequest {\n code: string\n newPassword: string\n}\n\nexport interface ICity {\n id: number\n name: string\n}\n\nexport interface IChangePatientPhoneModel {\n phoneNumber?: string\n code?: string\n}\n\nexport interface IChangePatientPasswordModel {\n currentPassword?: string\n newPassword?: string\n}\n\nexport interface IUpdateUserInformationModel {\n born: Date\n first: string\n last: string\n middle: string | null\n cityId: number | null\n email: string\n sex: boolean\n}\n\nexport interface IOnlinePrerecord {\n prerecordId: number\n dateStart: Date\n dateEnd: Date\n roomName: string\n discoveryLfm: string\n clinicName?: string\n street: string\n longitude: number\n latitude: number\n patient: IUserInformationModel\n calendarUri?: string\n}\n\nexport enum PackageType {\n Group = 0,\n Protocol = 1,\n Analize = 2,\n MaterialSale = 3,\n}\n\nexport interface IOnlineAnalysisFile {\n analysisFileId: number\n name?: string\n url?: string\n blobUrl?: SafeResourceUrl\n loading?: boolean\n}\nexport interface IPatientHistory {\n itemId: number\n isAnalysis: boolean\n code: string\n packageType: PackageType\n dateCr: string\n name: string\n salePackId: number\n discovery: string\n completed: boolean\n hasFiles: boolean\n}\n\nexport interface ICreatePrerecordModel {\n schedulerId: number\n note: string\n dateStart: Date\n dateEnd: Date\n patientId?: number | null\n}\n\nexport interface IValidationResult {\n isValid: boolean\n detailedErrors: { code: string }[]\n}\n\nexport interface IFamilyMember {\n owner: boolean\n patient: IUserInformationModel\n}\nexport interface IRegisterFamilyMemberModel {\n patient: IUserInformationModel\n}\n\nexport interface IClientSetting {\n clinicId?: string\n logo?: string\n clientName?: string\n favicon?: string\n title?: string\n email?: string\n prerecordText?: string\n link?: string\n facebookLink?: string\n instagramLink?: string\n youtubeLink?: string\n primaryPhone?: string\n secondaryPhone2?: string\n secondaryPhone3?: string\n secondaryPhone4?: string\n}\nexport interface OnlineProtocolInformation {\n protocolId: number\n name?: string\n discovery?: string\n discoveryPhoto?: string\n referring?: string\n diagnosis?: string\n retested?: Date\n dateCreated: Date\n clinic?: string\n}\nexport interface OnlineAnalysisInformation {\n analysisId: number\n referring?: string\n diagnosis?: string\n name?: string\n dateCreated: Date\n clinic?: string\n}\n\nexport interface IOrderInformation {\n dateCreated: Date\n analysis: IOrderAnalysisInformation[]\n protocols: IOrderProtocolInformation[]\n}\n\nexport interface IOrderAnalysisInformation {\n analysisId: number\n name: string\n completed: boolean\n dateModified: string\n dateCreated: string\n absoluteTimeToReady?: number\n actualTimeToReady?: number\n files: IOrderAnalysisFilesInformation[]\n}\n\nexport interface IOrderAnalysisFilesInformation extends IOnlineAnalysisFile {\n analysisFileId: number\n isSend: boolean\n name: string\n url?: string\n}\n\nexport interface IOrderProtocolInformation {\n protocolId: number\n name: string\n dateCreated: Date\n dateModified: Date\n isReady: boolean\n discovery?: string\n diagnosis?: string\n retested?: Date\n}\n\nexport interface IFileSharingModel {\n downloadUri: string\n studyInstanceUID: string\n seriesInstanceUID: string\n sopInstanceUID: string\n}\n\nexport interface IOnlineDoctorSlim {\n userId: number\n last: string\n middle: string\n first: string\n lfm: string\n photo: string | null\n feedbackCount: number\n feedbackAvg: number\n specializations: ISpecialization[]\n orderIndex: number\n}\n\nexport interface IOnlineDoctorFull extends IOnlineDoctorSlim {\n experience: Date\n minimumCost: number\n education: string\n qualificationCategory: string\n additionalInformation: string\n scientificDegree: string\n feedbacks: IOnlineDoctorFeedback[]\n}\n\nexport interface IOnlineDoctorFeedback {\n answerDate: Date\n mark: number\n text: string\n}\nexport interface IPackageCategorie {\n id: number\n name: string\n}\nexport interface IPackageSlim {\n id: number\n name: string\n code: string\n packageType: number\n defaultPrice: number\n absoluteTimeToReady: number\n}\nexport interface IPackageFull extends IPackageSlim {\n detailOnline: string\n preparation: string\n doctors: IBaseDto[]\n}\n\nexport interface IAccountContextData {\n Configurations: IAppConfig\n IsAutorized: boolean\n EnableSeo: boolean\n GoogleTagManagerKey?: string | null\n ProductVersion?: string\n ClientName? :string\n}\n\nexport enum OnlinePages {\n Doctors = 0,\n Results = 1,\n Prices = 2,\n}\n\nexport interface IAppConfig {\n ImagesBaseUrl: string | null\n MetaKeywords: string | null\n MetaDescription: string | null\n AgreementLink: string | null\n ColorTheme: string | null\n Title: string | null\n HeaderTitle: string | null\n Logo: string | null\n Favicon: string | null\n LogoWidth: number\n LogoHeight: number\n Email: string\n Link: string\n Fasebook: string | null\n Instagram: string | null\n Youtube: string\n PrimaryPhone: string | null\n HideResults: boolean\n HideEmail: boolean\n HidePhone: boolean\n HideDoctors?: boolean\n HideAllDoctors?: boolean\n HidePrice?: boolean\n DefaultPage?: OnlinePages\n ShowRecordButton: boolean\n OrderCodeTitle: string | null\n OrderButtonTitle: string | null\n LoginFooterText: string | null\n ResetPasswordFooterText: string | null\n ConfirmResetPasswordFooterText: string | null\n GoogleAnaliticsKey: string | null\n GoogleAnalyticsVersion: 3 | 4 | null\n TelegramConfigured: boolean\n HideDoctorFeedbacks: boolean\n HidePlannedPrerecords: boolean\n HidePatientProtocols: boolean\n HidePatientAnalysis: boolean\n HidePatientDiscounts: boolean\n BlockPatientInfoEditing: boolean\n BlockPatientEditingText?: string\n\n TelegramBotName: string\n}\n\nexport interface IBaseDto {\n id: number\n name: string\n}\n"], "mappings": "AAOA,IAAYA,EAAZ,SAAYA,EAAgB,CACxBA,OAAAA,EAAAA,EAAA,GAAA,CAAA,EAAA,KACAA,EAAAA,EAAA,QAAA,CAAA,EAAA,UACAA,EAAAA,EAAA,gBAAA,CAAA,EAAA,kBACAA,EAAAA,EAAA,SAAA,CAAA,EAAA,WACAA,EAAAA,EAAA,iBAAA,CAAA,EAAA,mBACAA,EAAAA,EAAA,WAAA,CAAA,EAAA,aACAA,EAAAA,EAAA,wBAAA,CAAA,EAAA,0BAPQA,CAQZ,EARYA,GAAgB,CAAA,CAAA,EAmP5B,IAAYC,EAAZ,SAAYA,EAAW,CACnBA,OAAAA,EAAAA,EAAA,MAAA,CAAA,EAAA,QACAA,EAAAA,EAAA,SAAA,CAAA,EAAA,WACAA,EAAAA,EAAA,QAAA,CAAA,EAAA,UACAA,EAAAA,EAAA,aAAA,CAAA,EAAA,eAJQA,CAKZ,EALYA,GAAW,CAAA,CAAA,EAsLXC,EAAZ,SAAYA,EAAW,CACnBA,OAAAA,EAAAA,EAAA,QAAA,CAAA,EAAA,UACAA,EAAAA,EAAA,QAAA,CAAA,EAAA,UACAA,EAAAA,EAAA,OAAA,CAAA,EAAA,SAHQA,CAIZ,EAJYA,GAAW,CAAA,CAAA", "names": ["OnlineResultType", "PackageType", "OnlinePages"] }