@blackcode_sa/metaestetics-api 1.6.1 → 1.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +34 -184
- package/dist/index.d.ts +34 -184
- package/dist/index.js +493 -412
- package/dist/index.mjs +476 -392
- package/package.json +1 -1
- package/src/services/patient/patient.service.ts +31 -1
- package/src/services/patient/utils/practitioner.utils.ts +79 -1
- package/src/services/practitioner/practitioner.service.ts +6 -1
- package/src/types/patient/index.ts +6 -0
- package/src/validations/clinic.schema.ts +5 -25
- package/src/validations/practitioner.schema.ts +3 -3
- package/src/validations/procedure.schema.ts +1 -1
- package/src/validations/shared.schema.ts +78 -0
package/dist/index.d.mts
CHANGED
|
@@ -1907,6 +1907,10 @@ interface PatientProfileComplete {
|
|
|
1907
1907
|
patientMedicalInfo?: PatientMedicalInfo;
|
|
1908
1908
|
patientLocationInfo?: PatientLocationInfo;
|
|
1909
1909
|
}
|
|
1910
|
+
interface PatientProfileForDoctor {
|
|
1911
|
+
patientProfile?: PatientProfile;
|
|
1912
|
+
patientSensitiveInfo?: PatientSensitiveInfo;
|
|
1913
|
+
}
|
|
1910
1914
|
|
|
1911
1915
|
/**
|
|
1912
1916
|
* Interface for clinic profile information
|
|
@@ -4783,6 +4787,19 @@ declare class PatientService extends BaseService {
|
|
|
4783
4787
|
limit?: number;
|
|
4784
4788
|
startAfter?: string;
|
|
4785
4789
|
}): Promise<PatientProfile[]>;
|
|
4790
|
+
/**
|
|
4791
|
+
* Gets all patients associated with a specific practitioner with their sensitive information.
|
|
4792
|
+
*
|
|
4793
|
+
* @param {string} practitionerId - ID of the practitioner whose patients to retrieve
|
|
4794
|
+
* @param {Object} options - Optional parameters for pagination
|
|
4795
|
+
* @param {number} options.limit - Maximum number of profiles to return
|
|
4796
|
+
* @param {string} options.startAfter - The ID of the document to start after (for pagination)
|
|
4797
|
+
* @returns {Promise<PatientProfileForDoctor[]>} A promise resolving to an array of patient profiles with sensitive info
|
|
4798
|
+
*/
|
|
4799
|
+
getPatientsByPractitionerWithDetails(practitionerId: string, options?: {
|
|
4800
|
+
limit?: number;
|
|
4801
|
+
startAfter?: string;
|
|
4802
|
+
}): Promise<PatientProfileForDoctor[]>;
|
|
4786
4803
|
/**
|
|
4787
4804
|
* Gets all patients associated with a specific clinic.
|
|
4788
4805
|
*
|
|
@@ -10063,58 +10080,6 @@ declare const practitionerClinicWorkingHoursSchema: z.ZodObject<{
|
|
|
10063
10080
|
/**
|
|
10064
10081
|
* Schema matching ProcedureSummaryInfo interface
|
|
10065
10082
|
*/
|
|
10066
|
-
declare const procedureSummaryInfoSchema: z.ZodObject<{
|
|
10067
|
-
id: z.ZodString;
|
|
10068
|
-
name: z.ZodString;
|
|
10069
|
-
description: z.ZodOptional<z.ZodString>;
|
|
10070
|
-
photo: z.ZodOptional<z.ZodString>;
|
|
10071
|
-
family: z.ZodNativeEnum<typeof ProcedureFamily>;
|
|
10072
|
-
categoryName: z.ZodString;
|
|
10073
|
-
subcategoryName: z.ZodString;
|
|
10074
|
-
technologyName: z.ZodString;
|
|
10075
|
-
price: z.ZodNumber;
|
|
10076
|
-
pricingMeasure: z.ZodNativeEnum<typeof PricingMeasure>;
|
|
10077
|
-
currency: z.ZodNativeEnum<typeof Currency>;
|
|
10078
|
-
duration: z.ZodNumber;
|
|
10079
|
-
clinicId: z.ZodString;
|
|
10080
|
-
clinicName: z.ZodString;
|
|
10081
|
-
practitionerId: z.ZodString;
|
|
10082
|
-
practitionerName: z.ZodString;
|
|
10083
|
-
}, "strip", z.ZodTypeAny, {
|
|
10084
|
-
id: string;
|
|
10085
|
-
name: string;
|
|
10086
|
-
duration: number;
|
|
10087
|
-
family: ProcedureFamily;
|
|
10088
|
-
practitionerId: string;
|
|
10089
|
-
clinicId: string;
|
|
10090
|
-
currency: Currency;
|
|
10091
|
-
categoryName: string;
|
|
10092
|
-
subcategoryName: string;
|
|
10093
|
-
technologyName: string;
|
|
10094
|
-
price: number;
|
|
10095
|
-
pricingMeasure: PricingMeasure;
|
|
10096
|
-
clinicName: string;
|
|
10097
|
-
practitionerName: string;
|
|
10098
|
-
description?: string | undefined;
|
|
10099
|
-
photo?: string | undefined;
|
|
10100
|
-
}, {
|
|
10101
|
-
id: string;
|
|
10102
|
-
name: string;
|
|
10103
|
-
duration: number;
|
|
10104
|
-
family: ProcedureFamily;
|
|
10105
|
-
practitionerId: string;
|
|
10106
|
-
clinicId: string;
|
|
10107
|
-
currency: Currency;
|
|
10108
|
-
categoryName: string;
|
|
10109
|
-
subcategoryName: string;
|
|
10110
|
-
technologyName: string;
|
|
10111
|
-
price: number;
|
|
10112
|
-
pricingMeasure: PricingMeasure;
|
|
10113
|
-
clinicName: string;
|
|
10114
|
-
practitionerName: string;
|
|
10115
|
-
description?: string | undefined;
|
|
10116
|
-
photo?: string | undefined;
|
|
10117
|
-
}>;
|
|
10118
10083
|
/**
|
|
10119
10084
|
* Šema za validaciju kompletnog profila zdravstvenog radnika
|
|
10120
10085
|
*/
|
|
@@ -12565,121 +12530,6 @@ declare const adminInfoSchema: z.ZodObject<{
|
|
|
12565
12530
|
name: string;
|
|
12566
12531
|
email: string;
|
|
12567
12532
|
}>;
|
|
12568
|
-
/**
|
|
12569
|
-
* Validaciona šema za osnovne informacije o klinici (for aggregation)
|
|
12570
|
-
*/
|
|
12571
|
-
declare const clinicInfoSchema: z.ZodObject<{
|
|
12572
|
-
id: z.ZodString;
|
|
12573
|
-
featuredPhoto: z.ZodString;
|
|
12574
|
-
name: z.ZodString;
|
|
12575
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12576
|
-
location: z.ZodObject<{
|
|
12577
|
-
address: z.ZodString;
|
|
12578
|
-
city: z.ZodString;
|
|
12579
|
-
country: z.ZodString;
|
|
12580
|
-
postalCode: z.ZodString;
|
|
12581
|
-
latitude: z.ZodNumber;
|
|
12582
|
-
longitude: z.ZodNumber;
|
|
12583
|
-
geohash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12584
|
-
}, "strip", z.ZodTypeAny, {
|
|
12585
|
-
latitude: number;
|
|
12586
|
-
longitude: number;
|
|
12587
|
-
address: string;
|
|
12588
|
-
city: string;
|
|
12589
|
-
country: string;
|
|
12590
|
-
postalCode: string;
|
|
12591
|
-
geohash?: string | null | undefined;
|
|
12592
|
-
}, {
|
|
12593
|
-
latitude: number;
|
|
12594
|
-
longitude: number;
|
|
12595
|
-
address: string;
|
|
12596
|
-
city: string;
|
|
12597
|
-
country: string;
|
|
12598
|
-
postalCode: string;
|
|
12599
|
-
geohash?: string | null | undefined;
|
|
12600
|
-
}>;
|
|
12601
|
-
contactInfo: z.ZodObject<{
|
|
12602
|
-
email: z.ZodString;
|
|
12603
|
-
phoneNumber: z.ZodString;
|
|
12604
|
-
alternativePhoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12605
|
-
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12606
|
-
}, "strip", z.ZodTypeAny, {
|
|
12607
|
-
email: string;
|
|
12608
|
-
phoneNumber: string;
|
|
12609
|
-
alternativePhoneNumber?: string | null | undefined;
|
|
12610
|
-
website?: string | null | undefined;
|
|
12611
|
-
}, {
|
|
12612
|
-
email: string;
|
|
12613
|
-
phoneNumber: string;
|
|
12614
|
-
alternativePhoneNumber?: string | null | undefined;
|
|
12615
|
-
website?: string | null | undefined;
|
|
12616
|
-
}>;
|
|
12617
|
-
}, "strip", z.ZodTypeAny, {
|
|
12618
|
-
id: string;
|
|
12619
|
-
name: string;
|
|
12620
|
-
contactInfo: {
|
|
12621
|
-
email: string;
|
|
12622
|
-
phoneNumber: string;
|
|
12623
|
-
alternativePhoneNumber?: string | null | undefined;
|
|
12624
|
-
website?: string | null | undefined;
|
|
12625
|
-
};
|
|
12626
|
-
location: {
|
|
12627
|
-
latitude: number;
|
|
12628
|
-
longitude: number;
|
|
12629
|
-
address: string;
|
|
12630
|
-
city: string;
|
|
12631
|
-
country: string;
|
|
12632
|
-
postalCode: string;
|
|
12633
|
-
geohash?: string | null | undefined;
|
|
12634
|
-
};
|
|
12635
|
-
featuredPhoto: string;
|
|
12636
|
-
description?: string | null | undefined;
|
|
12637
|
-
}, {
|
|
12638
|
-
id: string;
|
|
12639
|
-
name: string;
|
|
12640
|
-
contactInfo: {
|
|
12641
|
-
email: string;
|
|
12642
|
-
phoneNumber: string;
|
|
12643
|
-
alternativePhoneNumber?: string | null | undefined;
|
|
12644
|
-
website?: string | null | undefined;
|
|
12645
|
-
};
|
|
12646
|
-
location: {
|
|
12647
|
-
latitude: number;
|
|
12648
|
-
longitude: number;
|
|
12649
|
-
address: string;
|
|
12650
|
-
city: string;
|
|
12651
|
-
country: string;
|
|
12652
|
-
postalCode: string;
|
|
12653
|
-
geohash?: string | null | undefined;
|
|
12654
|
-
};
|
|
12655
|
-
featuredPhoto: string;
|
|
12656
|
-
description?: string | null | undefined;
|
|
12657
|
-
}>;
|
|
12658
|
-
/**
|
|
12659
|
-
* Validaciona šema za informacije o doktoru (for aggregation in Clinic)
|
|
12660
|
-
*/
|
|
12661
|
-
declare const doctorInfoSchema: z.ZodObject<{
|
|
12662
|
-
id: z.ZodString;
|
|
12663
|
-
name: z.ZodString;
|
|
12664
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12665
|
-
photo: z.ZodString;
|
|
12666
|
-
rating: z.ZodNumber;
|
|
12667
|
-
services: z.ZodArray<z.ZodString, "many">;
|
|
12668
|
-
}, "strip", z.ZodTypeAny, {
|
|
12669
|
-
id: string;
|
|
12670
|
-
name: string;
|
|
12671
|
-
photo: string;
|
|
12672
|
-
rating: number;
|
|
12673
|
-
services: string[];
|
|
12674
|
-
description?: string | null | undefined;
|
|
12675
|
-
}, {
|
|
12676
|
-
id: string;
|
|
12677
|
-
name: string;
|
|
12678
|
-
photo: string;
|
|
12679
|
-
rating: number;
|
|
12680
|
-
services: string[];
|
|
12681
|
-
description?: string | null | undefined;
|
|
12682
|
-
}>;
|
|
12683
12533
|
/**
|
|
12684
12534
|
* @deprecated Replaced by procedureSummaryInfoSchema.
|
|
12685
12535
|
* Validaciona šema za informacije o usluzi (Old aggregation schema)
|
|
@@ -13864,6 +13714,14 @@ declare const clinicSchema: z.ZodObject<{
|
|
|
13864
13714
|
coverPhoto: string | null;
|
|
13865
13715
|
admins: string[];
|
|
13866
13716
|
featuredPhotos: string[];
|
|
13717
|
+
doctorsInfo: {
|
|
13718
|
+
id: string;
|
|
13719
|
+
name: string;
|
|
13720
|
+
photo: string;
|
|
13721
|
+
rating: number;
|
|
13722
|
+
services: string[];
|
|
13723
|
+
description?: string | null | undefined;
|
|
13724
|
+
}[];
|
|
13867
13725
|
reviewInfo: {
|
|
13868
13726
|
cleanliness: number;
|
|
13869
13727
|
facilities: number;
|
|
@@ -13874,14 +13732,6 @@ declare const clinicSchema: z.ZodObject<{
|
|
|
13874
13732
|
averageRating: number;
|
|
13875
13733
|
recommendationPercentage: number;
|
|
13876
13734
|
};
|
|
13877
|
-
doctorsInfo: {
|
|
13878
|
-
id: string;
|
|
13879
|
-
name: string;
|
|
13880
|
-
photo: string;
|
|
13881
|
-
rating: number;
|
|
13882
|
-
services: string[];
|
|
13883
|
-
description?: string | null | undefined;
|
|
13884
|
-
}[];
|
|
13885
13735
|
description?: string | null | undefined;
|
|
13886
13736
|
logo?: string | undefined;
|
|
13887
13737
|
photosWithTags?: {
|
|
@@ -13993,6 +13843,14 @@ declare const clinicSchema: z.ZodObject<{
|
|
|
13993
13843
|
coverPhoto: string | null;
|
|
13994
13844
|
admins: string[];
|
|
13995
13845
|
featuredPhotos: string[];
|
|
13846
|
+
doctorsInfo: {
|
|
13847
|
+
id: string;
|
|
13848
|
+
name: string;
|
|
13849
|
+
photo: string;
|
|
13850
|
+
rating: number;
|
|
13851
|
+
services: string[];
|
|
13852
|
+
description?: string | null | undefined;
|
|
13853
|
+
}[];
|
|
13996
13854
|
reviewInfo: {
|
|
13997
13855
|
cleanliness: number;
|
|
13998
13856
|
facilities: number;
|
|
@@ -14003,14 +13861,6 @@ declare const clinicSchema: z.ZodObject<{
|
|
|
14003
13861
|
averageRating: number;
|
|
14004
13862
|
recommendationPercentage: number;
|
|
14005
13863
|
};
|
|
14006
|
-
doctorsInfo: {
|
|
14007
|
-
id: string;
|
|
14008
|
-
name: string;
|
|
14009
|
-
photo: string;
|
|
14010
|
-
rating: number;
|
|
14011
|
-
services: string[];
|
|
14012
|
-
description?: string | null | undefined;
|
|
14013
|
-
}[];
|
|
14014
13864
|
description?: string | null | undefined;
|
|
14015
13865
|
logo?: string | undefined;
|
|
14016
13866
|
photosWithTags?: {
|
|
@@ -18297,4 +18147,4 @@ declare const createReviewSchema: z.ZodEffects<z.ZodObject<{
|
|
|
18297
18147
|
} | undefined;
|
|
18298
18148
|
}>;
|
|
18299
18149
|
|
|
18300
|
-
export { APPOINTMENTS_COLLECTION, AUTH_ERRORS, type AddAllergyData, type AddBlockingConditionData, type AddContraindicationData, type AddMedicationData, type AddressData, type AdminInfo, type AdminToken, AdminTokenStatus, type Allergy, type AllergySubtype, AllergyType, type AllergyTypeWithSubtype, type Appointment, type AppointmentNotification, type AppointmentReminderNotification, AppointmentService, AppointmentStatus, AuthError, AuthService, type BaseNotification, BlockingCondition, type Brand, BrandService, CALENDAR_COLLECTION, CLINICS_COLLECTION, CLINIC_ADMINS_COLLECTION, CLINIC_GROUPS_COLLECTION, type CalendarEvent, CalendarEventStatus, type CalendarEventTime, CalendarEventType, CalendarServiceV2, CalendarSyncStatus, type Category, CategoryService, CertificationLevel, CertificationSpecialty, type Clinic, type ClinicAdmin, ClinicAdminService, type ClinicAdminSignupData, type ClinicBranchSetupData, type ClinicContactInfo, type ClinicGroup, ClinicGroupService, type ClinicGroupSetupData, type ClinicInfo, type ClinicLocation, ClinicPhotoTag, type ClinicReview, type ClinicReviewInfo, ClinicService, ClinicTag, type ClinicTags, type ContactPerson, Contraindication, CosmeticAllergySubtype, type CreateAdminTokenData, type CreateAppointmentData, type CreateAppointmentParams, type CreateCalendarEventData, type CreateClinicAdminData, type CreateClinicData, type CreateClinicGroupData, type CreateDefaultClinicGroupData, type CreateDocumentTemplateData, type CreateDraftPractitionerData, type CreatePatientLocationInfoData, type CreatePatientMedicalInfoData, type CreatePatientProfileData, type CreatePatientSensitiveInfoData, type CreatePractitionerData, type CreatePractitionerTokenData, type CreateProcedureData, type CreateSyncedCalendarData, type CreateUserData, Currency, DOCUMENTATION_TEMPLATES_COLLECTION, type DateRange, type DoctorInfo, type DocumentElement, DocumentElementType, type DocumentTemplate, DocumentationTemplateService, DynamicVariable, type EmergencyContact, EnvironmentalAllergySubtype, FILLED_DOCUMENTS_COLLECTION, type FilledDocument, FilledDocumentService, FilledDocumentStatus, FirebaseErrorCode, type FirebaseUser, FoodAllergySubtype, type GamificationInfo, Gender, HeadingLevel, Language, ListType, type LocationData, MedicationAllergySubtype, type Notification, NotificationService, NotificationStatus, NotificationType, PATIENTS_COLLECTION, PATIENT_APPOINTMENTS_COLLECTION, PATIENT_LOCATION_INFO_COLLECTION, PATIENT_MEDICAL_HISTORY_COLLECTION, PATIENT_MEDICAL_INFO_COLLECTION, PATIENT_SENSITIVE_INFO_COLLECTION, PRACTITIONERS_COLLECTION, PROCEDURES_COLLECTION, type PatientClinic, type PatientDoctor, type PatientLocationInfo, type PatientMedicalInfo, type PatientProfile, type PatientProfileComplete, type PatientProfileInfo, type PatientSensitiveInfo, PatientService, PaymentStatus, type PostRequirementNotification, PracticeType, type Practitioner, type PractitionerBasicInfo, type PractitionerCertification, type PractitionerClinicProcedures, type PractitionerClinicWorkingHours, type PractitionerProfileInfo, type PractitionerReview, type PractitionerReviewInfo, PractitionerService, PractitionerStatus, type PractitionerToken, PractitionerTokenStatus, type PractitionerWorkingHours, type PreRequirementNotification, PricingMeasure, type Procedure, type ProcedureCategorization, ProcedureFamily, type ProcedureInfo, type ProcedureReview, type ProcedureReviewInfo, ProcedureService, type Product, ProductService, REGISTER_TOKENS_COLLECTION, REVIEWS_COLLECTION, type RequesterInfo, type Requirement, RequirementType, type Review, ReviewService, SYNCED_CALENDARS_COLLECTION, type SearchAppointmentsParams, type SearchCalendarEventsParams, SearchLocationEnum, type SearchPatientsParams, type Subcategory, SubcategoryService, SubscriptionModel, type SyncedCalendar, type SyncedCalendarEvent, SyncedCalendarProvider, SyncedCalendarsService, type Technology, TechnologyService, type TimeSlot, TimeUnit, TreatmentBenefit, USER_ERRORS, type UpdateAllergyData, type UpdateAppointmentData, type UpdateAppointmentParams, type UpdateBlockingConditionData, type UpdateCalendarEventData, type UpdateClinicAdminData, type UpdateClinicData, type UpdateClinicGroupData, type UpdateContraindicationData, type UpdateDocumentTemplateData, type UpdateMedicationData, type UpdatePatientLocationInfoData, type UpdatePatientMedicalInfoData, type UpdatePatientProfileData, type UpdatePatientSensitiveInfoData, type UpdatePractitionerData, type UpdateProcedureData, type UpdateSyncedCalendarData, type UpdateVitalStatsData, type User, UserRole, UserService, type ValidationSchema, type VitalStats, type WorkingHours, addAllergySchema, addBlockingConditionSchema, addContraindicationSchema, addMedicationSchema, addressDataSchema, adminInfoSchema, adminTokenSchema, allergySchema, allergySubtypeSchema, appointmentNotificationSchema, appointmentReminderNotificationSchema, baseNotificationSchema, blockingConditionSchema, calendarEventSchema, calendarEventTimeSchema, clinicAdminOptionsSchema, clinicAdminSchema, clinicAdminSignupSchema, clinicBranchSetupSchema, clinicContactInfoSchema, clinicGroupSchema, clinicGroupSetupSchema,
|
|
18150
|
+
export { APPOINTMENTS_COLLECTION, AUTH_ERRORS, type AddAllergyData, type AddBlockingConditionData, type AddContraindicationData, type AddMedicationData, type AddressData, type AdminInfo, type AdminToken, AdminTokenStatus, type Allergy, type AllergySubtype, AllergyType, type AllergyTypeWithSubtype, type Appointment, type AppointmentNotification, type AppointmentReminderNotification, AppointmentService, AppointmentStatus, AuthError, AuthService, type BaseNotification, BlockingCondition, type Brand, BrandService, CALENDAR_COLLECTION, CLINICS_COLLECTION, CLINIC_ADMINS_COLLECTION, CLINIC_GROUPS_COLLECTION, type CalendarEvent, CalendarEventStatus, type CalendarEventTime, CalendarEventType, CalendarServiceV2, CalendarSyncStatus, type Category, CategoryService, CertificationLevel, CertificationSpecialty, type Clinic, type ClinicAdmin, ClinicAdminService, type ClinicAdminSignupData, type ClinicBranchSetupData, type ClinicContactInfo, type ClinicGroup, ClinicGroupService, type ClinicGroupSetupData, type ClinicInfo, type ClinicLocation, ClinicPhotoTag, type ClinicReview, type ClinicReviewInfo, ClinicService, ClinicTag, type ClinicTags, type ContactPerson, Contraindication, CosmeticAllergySubtype, type CreateAdminTokenData, type CreateAppointmentData, type CreateAppointmentParams, type CreateCalendarEventData, type CreateClinicAdminData, type CreateClinicData, type CreateClinicGroupData, type CreateDefaultClinicGroupData, type CreateDocumentTemplateData, type CreateDraftPractitionerData, type CreatePatientLocationInfoData, type CreatePatientMedicalInfoData, type CreatePatientProfileData, type CreatePatientSensitiveInfoData, type CreatePractitionerData, type CreatePractitionerTokenData, type CreateProcedureData, type CreateSyncedCalendarData, type CreateUserData, Currency, DOCUMENTATION_TEMPLATES_COLLECTION, type DateRange, type DoctorInfo, type DocumentElement, DocumentElementType, type DocumentTemplate, DocumentationTemplateService, DynamicVariable, type EmergencyContact, EnvironmentalAllergySubtype, FILLED_DOCUMENTS_COLLECTION, type FilledDocument, FilledDocumentService, FilledDocumentStatus, FirebaseErrorCode, type FirebaseUser, FoodAllergySubtype, type GamificationInfo, Gender, HeadingLevel, Language, ListType, type LocationData, MedicationAllergySubtype, type Notification, NotificationService, NotificationStatus, NotificationType, PATIENTS_COLLECTION, PATIENT_APPOINTMENTS_COLLECTION, PATIENT_LOCATION_INFO_COLLECTION, PATIENT_MEDICAL_HISTORY_COLLECTION, PATIENT_MEDICAL_INFO_COLLECTION, PATIENT_SENSITIVE_INFO_COLLECTION, PRACTITIONERS_COLLECTION, PROCEDURES_COLLECTION, type PatientClinic, type PatientDoctor, type PatientLocationInfo, type PatientMedicalInfo, type PatientProfile, type PatientProfileComplete, type PatientProfileInfo, type PatientSensitiveInfo, PatientService, PaymentStatus, type PostRequirementNotification, PracticeType, type Practitioner, type PractitionerBasicInfo, type PractitionerCertification, type PractitionerClinicProcedures, type PractitionerClinicWorkingHours, type PractitionerProfileInfo, type PractitionerReview, type PractitionerReviewInfo, PractitionerService, PractitionerStatus, type PractitionerToken, PractitionerTokenStatus, type PractitionerWorkingHours, type PreRequirementNotification, PricingMeasure, type Procedure, type ProcedureCategorization, ProcedureFamily, type ProcedureInfo, type ProcedureReview, type ProcedureReviewInfo, ProcedureService, type Product, ProductService, REGISTER_TOKENS_COLLECTION, REVIEWS_COLLECTION, type RequesterInfo, type Requirement, RequirementType, type Review, ReviewService, SYNCED_CALENDARS_COLLECTION, type SearchAppointmentsParams, type SearchCalendarEventsParams, SearchLocationEnum, type SearchPatientsParams, type Subcategory, SubcategoryService, SubscriptionModel, type SyncedCalendar, type SyncedCalendarEvent, SyncedCalendarProvider, SyncedCalendarsService, type Technology, TechnologyService, type TimeSlot, TimeUnit, TreatmentBenefit, USER_ERRORS, type UpdateAllergyData, type UpdateAppointmentData, type UpdateAppointmentParams, type UpdateBlockingConditionData, type UpdateCalendarEventData, type UpdateClinicAdminData, type UpdateClinicData, type UpdateClinicGroupData, type UpdateContraindicationData, type UpdateDocumentTemplateData, type UpdateMedicationData, type UpdatePatientLocationInfoData, type UpdatePatientMedicalInfoData, type UpdatePatientProfileData, type UpdatePatientSensitiveInfoData, type UpdatePractitionerData, type UpdateProcedureData, type UpdateSyncedCalendarData, type UpdateVitalStatsData, type User, UserRole, UserService, type ValidationSchema, type VitalStats, type WorkingHours, addAllergySchema, addBlockingConditionSchema, addContraindicationSchema, addMedicationSchema, addressDataSchema, adminInfoSchema, adminTokenSchema, allergySchema, allergySubtypeSchema, appointmentNotificationSchema, appointmentReminderNotificationSchema, baseNotificationSchema, blockingConditionSchema, calendarEventSchema, calendarEventTimeSchema, clinicAdminOptionsSchema, clinicAdminSchema, clinicAdminSignupSchema, clinicBranchSetupSchema, clinicContactInfoSchema, clinicGroupSchema, clinicGroupSetupSchema, clinicLocationSchema, clinicReviewInfoSchema, clinicReviewSchema, clinicSchema, clinicTagsSchema, contactPersonSchema, contraindicationSchema, createAdminTokenSchema, createAppointmentSchema, createCalendarEventSchema, createClinicAdminSchema, createClinicGroupSchema, createClinicReviewSchema, createClinicSchema, createDefaultClinicGroupSchema, createDocumentTemplateSchema, createDraftPractitionerSchema, createPatientLocationInfoSchema, createPatientMedicalInfoSchema, createPatientProfileSchema, createPatientSensitiveInfoSchema, createPractitionerReviewSchema, createPractitionerSchema, createPractitionerTokenSchema, createProcedureReviewSchema, createReviewSchema, createUserOptionsSchema, documentElementSchema, documentElementWithoutIdSchema, documentTemplateSchema, emailSchema, emergencyContactSchema, gamificationSchema, getFirebaseApp, getFirebaseAuth, getFirebaseDB, getFirebaseInstance, initializeFirebase, locationDataSchema, medicationSchema, notificationSchema, passwordSchema, patientClinicSchema, patientDoctorSchema, patientLocationInfoSchema, patientMedicalInfoSchema, patientProfileInfoSchema, patientProfileSchema, patientSensitiveInfoSchema, postRequirementNotificationSchema, practitionerBasicInfoSchema, practitionerCertificationSchema, practitionerClinicWorkingHoursSchema, practitionerProfileInfoSchema, practitionerReviewInfoSchema, practitionerReviewSchema, practitionerSchema, practitionerSignupSchema, practitionerTokenSchema, practitionerWorkingHoursSchema, preRequirementNotificationSchema, procedureCategorizationSchema, procedureInfoSchema, procedureReviewInfoSchema, procedureReviewSchema, requesterInfoSchema, reviewSchema, searchAppointmentsSchema, searchPatientsSchema, syncedCalendarEventSchema, timeSlotSchema, timestampSchema, updateAllergySchema, updateAppointmentSchema, updateBlockingConditionSchema, updateCalendarEventSchema, updateClinicAdminSchema, updateClinicGroupSchema, updateClinicSchema, updateContraindicationSchema, updateDocumentTemplateSchema, updateMedicationSchema, updatePatientMedicalInfoSchema, updateVitalStatsSchema, userRoleSchema, userRolesSchema, userSchema, vitalStatsSchema, workingHoursSchema };
|
package/dist/index.d.ts
CHANGED
|
@@ -1907,6 +1907,10 @@ interface PatientProfileComplete {
|
|
|
1907
1907
|
patientMedicalInfo?: PatientMedicalInfo;
|
|
1908
1908
|
patientLocationInfo?: PatientLocationInfo;
|
|
1909
1909
|
}
|
|
1910
|
+
interface PatientProfileForDoctor {
|
|
1911
|
+
patientProfile?: PatientProfile;
|
|
1912
|
+
patientSensitiveInfo?: PatientSensitiveInfo;
|
|
1913
|
+
}
|
|
1910
1914
|
|
|
1911
1915
|
/**
|
|
1912
1916
|
* Interface for clinic profile information
|
|
@@ -4783,6 +4787,19 @@ declare class PatientService extends BaseService {
|
|
|
4783
4787
|
limit?: number;
|
|
4784
4788
|
startAfter?: string;
|
|
4785
4789
|
}): Promise<PatientProfile[]>;
|
|
4790
|
+
/**
|
|
4791
|
+
* Gets all patients associated with a specific practitioner with their sensitive information.
|
|
4792
|
+
*
|
|
4793
|
+
* @param {string} practitionerId - ID of the practitioner whose patients to retrieve
|
|
4794
|
+
* @param {Object} options - Optional parameters for pagination
|
|
4795
|
+
* @param {number} options.limit - Maximum number of profiles to return
|
|
4796
|
+
* @param {string} options.startAfter - The ID of the document to start after (for pagination)
|
|
4797
|
+
* @returns {Promise<PatientProfileForDoctor[]>} A promise resolving to an array of patient profiles with sensitive info
|
|
4798
|
+
*/
|
|
4799
|
+
getPatientsByPractitionerWithDetails(practitionerId: string, options?: {
|
|
4800
|
+
limit?: number;
|
|
4801
|
+
startAfter?: string;
|
|
4802
|
+
}): Promise<PatientProfileForDoctor[]>;
|
|
4786
4803
|
/**
|
|
4787
4804
|
* Gets all patients associated with a specific clinic.
|
|
4788
4805
|
*
|
|
@@ -10063,58 +10080,6 @@ declare const practitionerClinicWorkingHoursSchema: z.ZodObject<{
|
|
|
10063
10080
|
/**
|
|
10064
10081
|
* Schema matching ProcedureSummaryInfo interface
|
|
10065
10082
|
*/
|
|
10066
|
-
declare const procedureSummaryInfoSchema: z.ZodObject<{
|
|
10067
|
-
id: z.ZodString;
|
|
10068
|
-
name: z.ZodString;
|
|
10069
|
-
description: z.ZodOptional<z.ZodString>;
|
|
10070
|
-
photo: z.ZodOptional<z.ZodString>;
|
|
10071
|
-
family: z.ZodNativeEnum<typeof ProcedureFamily>;
|
|
10072
|
-
categoryName: z.ZodString;
|
|
10073
|
-
subcategoryName: z.ZodString;
|
|
10074
|
-
technologyName: z.ZodString;
|
|
10075
|
-
price: z.ZodNumber;
|
|
10076
|
-
pricingMeasure: z.ZodNativeEnum<typeof PricingMeasure>;
|
|
10077
|
-
currency: z.ZodNativeEnum<typeof Currency>;
|
|
10078
|
-
duration: z.ZodNumber;
|
|
10079
|
-
clinicId: z.ZodString;
|
|
10080
|
-
clinicName: z.ZodString;
|
|
10081
|
-
practitionerId: z.ZodString;
|
|
10082
|
-
practitionerName: z.ZodString;
|
|
10083
|
-
}, "strip", z.ZodTypeAny, {
|
|
10084
|
-
id: string;
|
|
10085
|
-
name: string;
|
|
10086
|
-
duration: number;
|
|
10087
|
-
family: ProcedureFamily;
|
|
10088
|
-
practitionerId: string;
|
|
10089
|
-
clinicId: string;
|
|
10090
|
-
currency: Currency;
|
|
10091
|
-
categoryName: string;
|
|
10092
|
-
subcategoryName: string;
|
|
10093
|
-
technologyName: string;
|
|
10094
|
-
price: number;
|
|
10095
|
-
pricingMeasure: PricingMeasure;
|
|
10096
|
-
clinicName: string;
|
|
10097
|
-
practitionerName: string;
|
|
10098
|
-
description?: string | undefined;
|
|
10099
|
-
photo?: string | undefined;
|
|
10100
|
-
}, {
|
|
10101
|
-
id: string;
|
|
10102
|
-
name: string;
|
|
10103
|
-
duration: number;
|
|
10104
|
-
family: ProcedureFamily;
|
|
10105
|
-
practitionerId: string;
|
|
10106
|
-
clinicId: string;
|
|
10107
|
-
currency: Currency;
|
|
10108
|
-
categoryName: string;
|
|
10109
|
-
subcategoryName: string;
|
|
10110
|
-
technologyName: string;
|
|
10111
|
-
price: number;
|
|
10112
|
-
pricingMeasure: PricingMeasure;
|
|
10113
|
-
clinicName: string;
|
|
10114
|
-
practitionerName: string;
|
|
10115
|
-
description?: string | undefined;
|
|
10116
|
-
photo?: string | undefined;
|
|
10117
|
-
}>;
|
|
10118
10083
|
/**
|
|
10119
10084
|
* Šema za validaciju kompletnog profila zdravstvenog radnika
|
|
10120
10085
|
*/
|
|
@@ -12565,121 +12530,6 @@ declare const adminInfoSchema: z.ZodObject<{
|
|
|
12565
12530
|
name: string;
|
|
12566
12531
|
email: string;
|
|
12567
12532
|
}>;
|
|
12568
|
-
/**
|
|
12569
|
-
* Validaciona šema za osnovne informacije o klinici (for aggregation)
|
|
12570
|
-
*/
|
|
12571
|
-
declare const clinicInfoSchema: z.ZodObject<{
|
|
12572
|
-
id: z.ZodString;
|
|
12573
|
-
featuredPhoto: z.ZodString;
|
|
12574
|
-
name: z.ZodString;
|
|
12575
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12576
|
-
location: z.ZodObject<{
|
|
12577
|
-
address: z.ZodString;
|
|
12578
|
-
city: z.ZodString;
|
|
12579
|
-
country: z.ZodString;
|
|
12580
|
-
postalCode: z.ZodString;
|
|
12581
|
-
latitude: z.ZodNumber;
|
|
12582
|
-
longitude: z.ZodNumber;
|
|
12583
|
-
geohash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12584
|
-
}, "strip", z.ZodTypeAny, {
|
|
12585
|
-
latitude: number;
|
|
12586
|
-
longitude: number;
|
|
12587
|
-
address: string;
|
|
12588
|
-
city: string;
|
|
12589
|
-
country: string;
|
|
12590
|
-
postalCode: string;
|
|
12591
|
-
geohash?: string | null | undefined;
|
|
12592
|
-
}, {
|
|
12593
|
-
latitude: number;
|
|
12594
|
-
longitude: number;
|
|
12595
|
-
address: string;
|
|
12596
|
-
city: string;
|
|
12597
|
-
country: string;
|
|
12598
|
-
postalCode: string;
|
|
12599
|
-
geohash?: string | null | undefined;
|
|
12600
|
-
}>;
|
|
12601
|
-
contactInfo: z.ZodObject<{
|
|
12602
|
-
email: z.ZodString;
|
|
12603
|
-
phoneNumber: z.ZodString;
|
|
12604
|
-
alternativePhoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12605
|
-
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12606
|
-
}, "strip", z.ZodTypeAny, {
|
|
12607
|
-
email: string;
|
|
12608
|
-
phoneNumber: string;
|
|
12609
|
-
alternativePhoneNumber?: string | null | undefined;
|
|
12610
|
-
website?: string | null | undefined;
|
|
12611
|
-
}, {
|
|
12612
|
-
email: string;
|
|
12613
|
-
phoneNumber: string;
|
|
12614
|
-
alternativePhoneNumber?: string | null | undefined;
|
|
12615
|
-
website?: string | null | undefined;
|
|
12616
|
-
}>;
|
|
12617
|
-
}, "strip", z.ZodTypeAny, {
|
|
12618
|
-
id: string;
|
|
12619
|
-
name: string;
|
|
12620
|
-
contactInfo: {
|
|
12621
|
-
email: string;
|
|
12622
|
-
phoneNumber: string;
|
|
12623
|
-
alternativePhoneNumber?: string | null | undefined;
|
|
12624
|
-
website?: string | null | undefined;
|
|
12625
|
-
};
|
|
12626
|
-
location: {
|
|
12627
|
-
latitude: number;
|
|
12628
|
-
longitude: number;
|
|
12629
|
-
address: string;
|
|
12630
|
-
city: string;
|
|
12631
|
-
country: string;
|
|
12632
|
-
postalCode: string;
|
|
12633
|
-
geohash?: string | null | undefined;
|
|
12634
|
-
};
|
|
12635
|
-
featuredPhoto: string;
|
|
12636
|
-
description?: string | null | undefined;
|
|
12637
|
-
}, {
|
|
12638
|
-
id: string;
|
|
12639
|
-
name: string;
|
|
12640
|
-
contactInfo: {
|
|
12641
|
-
email: string;
|
|
12642
|
-
phoneNumber: string;
|
|
12643
|
-
alternativePhoneNumber?: string | null | undefined;
|
|
12644
|
-
website?: string | null | undefined;
|
|
12645
|
-
};
|
|
12646
|
-
location: {
|
|
12647
|
-
latitude: number;
|
|
12648
|
-
longitude: number;
|
|
12649
|
-
address: string;
|
|
12650
|
-
city: string;
|
|
12651
|
-
country: string;
|
|
12652
|
-
postalCode: string;
|
|
12653
|
-
geohash?: string | null | undefined;
|
|
12654
|
-
};
|
|
12655
|
-
featuredPhoto: string;
|
|
12656
|
-
description?: string | null | undefined;
|
|
12657
|
-
}>;
|
|
12658
|
-
/**
|
|
12659
|
-
* Validaciona šema za informacije o doktoru (for aggregation in Clinic)
|
|
12660
|
-
*/
|
|
12661
|
-
declare const doctorInfoSchema: z.ZodObject<{
|
|
12662
|
-
id: z.ZodString;
|
|
12663
|
-
name: z.ZodString;
|
|
12664
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12665
|
-
photo: z.ZodString;
|
|
12666
|
-
rating: z.ZodNumber;
|
|
12667
|
-
services: z.ZodArray<z.ZodString, "many">;
|
|
12668
|
-
}, "strip", z.ZodTypeAny, {
|
|
12669
|
-
id: string;
|
|
12670
|
-
name: string;
|
|
12671
|
-
photo: string;
|
|
12672
|
-
rating: number;
|
|
12673
|
-
services: string[];
|
|
12674
|
-
description?: string | null | undefined;
|
|
12675
|
-
}, {
|
|
12676
|
-
id: string;
|
|
12677
|
-
name: string;
|
|
12678
|
-
photo: string;
|
|
12679
|
-
rating: number;
|
|
12680
|
-
services: string[];
|
|
12681
|
-
description?: string | null | undefined;
|
|
12682
|
-
}>;
|
|
12683
12533
|
/**
|
|
12684
12534
|
* @deprecated Replaced by procedureSummaryInfoSchema.
|
|
12685
12535
|
* Validaciona šema za informacije o usluzi (Old aggregation schema)
|
|
@@ -13864,6 +13714,14 @@ declare const clinicSchema: z.ZodObject<{
|
|
|
13864
13714
|
coverPhoto: string | null;
|
|
13865
13715
|
admins: string[];
|
|
13866
13716
|
featuredPhotos: string[];
|
|
13717
|
+
doctorsInfo: {
|
|
13718
|
+
id: string;
|
|
13719
|
+
name: string;
|
|
13720
|
+
photo: string;
|
|
13721
|
+
rating: number;
|
|
13722
|
+
services: string[];
|
|
13723
|
+
description?: string | null | undefined;
|
|
13724
|
+
}[];
|
|
13867
13725
|
reviewInfo: {
|
|
13868
13726
|
cleanliness: number;
|
|
13869
13727
|
facilities: number;
|
|
@@ -13874,14 +13732,6 @@ declare const clinicSchema: z.ZodObject<{
|
|
|
13874
13732
|
averageRating: number;
|
|
13875
13733
|
recommendationPercentage: number;
|
|
13876
13734
|
};
|
|
13877
|
-
doctorsInfo: {
|
|
13878
|
-
id: string;
|
|
13879
|
-
name: string;
|
|
13880
|
-
photo: string;
|
|
13881
|
-
rating: number;
|
|
13882
|
-
services: string[];
|
|
13883
|
-
description?: string | null | undefined;
|
|
13884
|
-
}[];
|
|
13885
13735
|
description?: string | null | undefined;
|
|
13886
13736
|
logo?: string | undefined;
|
|
13887
13737
|
photosWithTags?: {
|
|
@@ -13993,6 +13843,14 @@ declare const clinicSchema: z.ZodObject<{
|
|
|
13993
13843
|
coverPhoto: string | null;
|
|
13994
13844
|
admins: string[];
|
|
13995
13845
|
featuredPhotos: string[];
|
|
13846
|
+
doctorsInfo: {
|
|
13847
|
+
id: string;
|
|
13848
|
+
name: string;
|
|
13849
|
+
photo: string;
|
|
13850
|
+
rating: number;
|
|
13851
|
+
services: string[];
|
|
13852
|
+
description?: string | null | undefined;
|
|
13853
|
+
}[];
|
|
13996
13854
|
reviewInfo: {
|
|
13997
13855
|
cleanliness: number;
|
|
13998
13856
|
facilities: number;
|
|
@@ -14003,14 +13861,6 @@ declare const clinicSchema: z.ZodObject<{
|
|
|
14003
13861
|
averageRating: number;
|
|
14004
13862
|
recommendationPercentage: number;
|
|
14005
13863
|
};
|
|
14006
|
-
doctorsInfo: {
|
|
14007
|
-
id: string;
|
|
14008
|
-
name: string;
|
|
14009
|
-
photo: string;
|
|
14010
|
-
rating: number;
|
|
14011
|
-
services: string[];
|
|
14012
|
-
description?: string | null | undefined;
|
|
14013
|
-
}[];
|
|
14014
13864
|
description?: string | null | undefined;
|
|
14015
13865
|
logo?: string | undefined;
|
|
14016
13866
|
photosWithTags?: {
|
|
@@ -18297,4 +18147,4 @@ declare const createReviewSchema: z.ZodEffects<z.ZodObject<{
|
|
|
18297
18147
|
} | undefined;
|
|
18298
18148
|
}>;
|
|
18299
18149
|
|
|
18300
|
-
export { APPOINTMENTS_COLLECTION, AUTH_ERRORS, type AddAllergyData, type AddBlockingConditionData, type AddContraindicationData, type AddMedicationData, type AddressData, type AdminInfo, type AdminToken, AdminTokenStatus, type Allergy, type AllergySubtype, AllergyType, type AllergyTypeWithSubtype, type Appointment, type AppointmentNotification, type AppointmentReminderNotification, AppointmentService, AppointmentStatus, AuthError, AuthService, type BaseNotification, BlockingCondition, type Brand, BrandService, CALENDAR_COLLECTION, CLINICS_COLLECTION, CLINIC_ADMINS_COLLECTION, CLINIC_GROUPS_COLLECTION, type CalendarEvent, CalendarEventStatus, type CalendarEventTime, CalendarEventType, CalendarServiceV2, CalendarSyncStatus, type Category, CategoryService, CertificationLevel, CertificationSpecialty, type Clinic, type ClinicAdmin, ClinicAdminService, type ClinicAdminSignupData, type ClinicBranchSetupData, type ClinicContactInfo, type ClinicGroup, ClinicGroupService, type ClinicGroupSetupData, type ClinicInfo, type ClinicLocation, ClinicPhotoTag, type ClinicReview, type ClinicReviewInfo, ClinicService, ClinicTag, type ClinicTags, type ContactPerson, Contraindication, CosmeticAllergySubtype, type CreateAdminTokenData, type CreateAppointmentData, type CreateAppointmentParams, type CreateCalendarEventData, type CreateClinicAdminData, type CreateClinicData, type CreateClinicGroupData, type CreateDefaultClinicGroupData, type CreateDocumentTemplateData, type CreateDraftPractitionerData, type CreatePatientLocationInfoData, type CreatePatientMedicalInfoData, type CreatePatientProfileData, type CreatePatientSensitiveInfoData, type CreatePractitionerData, type CreatePractitionerTokenData, type CreateProcedureData, type CreateSyncedCalendarData, type CreateUserData, Currency, DOCUMENTATION_TEMPLATES_COLLECTION, type DateRange, type DoctorInfo, type DocumentElement, DocumentElementType, type DocumentTemplate, DocumentationTemplateService, DynamicVariable, type EmergencyContact, EnvironmentalAllergySubtype, FILLED_DOCUMENTS_COLLECTION, type FilledDocument, FilledDocumentService, FilledDocumentStatus, FirebaseErrorCode, type FirebaseUser, FoodAllergySubtype, type GamificationInfo, Gender, HeadingLevel, Language, ListType, type LocationData, MedicationAllergySubtype, type Notification, NotificationService, NotificationStatus, NotificationType, PATIENTS_COLLECTION, PATIENT_APPOINTMENTS_COLLECTION, PATIENT_LOCATION_INFO_COLLECTION, PATIENT_MEDICAL_HISTORY_COLLECTION, PATIENT_MEDICAL_INFO_COLLECTION, PATIENT_SENSITIVE_INFO_COLLECTION, PRACTITIONERS_COLLECTION, PROCEDURES_COLLECTION, type PatientClinic, type PatientDoctor, type PatientLocationInfo, type PatientMedicalInfo, type PatientProfile, type PatientProfileComplete, type PatientProfileInfo, type PatientSensitiveInfo, PatientService, PaymentStatus, type PostRequirementNotification, PracticeType, type Practitioner, type PractitionerBasicInfo, type PractitionerCertification, type PractitionerClinicProcedures, type PractitionerClinicWorkingHours, type PractitionerProfileInfo, type PractitionerReview, type PractitionerReviewInfo, PractitionerService, PractitionerStatus, type PractitionerToken, PractitionerTokenStatus, type PractitionerWorkingHours, type PreRequirementNotification, PricingMeasure, type Procedure, type ProcedureCategorization, ProcedureFamily, type ProcedureInfo, type ProcedureReview, type ProcedureReviewInfo, ProcedureService, type Product, ProductService, REGISTER_TOKENS_COLLECTION, REVIEWS_COLLECTION, type RequesterInfo, type Requirement, RequirementType, type Review, ReviewService, SYNCED_CALENDARS_COLLECTION, type SearchAppointmentsParams, type SearchCalendarEventsParams, SearchLocationEnum, type SearchPatientsParams, type Subcategory, SubcategoryService, SubscriptionModel, type SyncedCalendar, type SyncedCalendarEvent, SyncedCalendarProvider, SyncedCalendarsService, type Technology, TechnologyService, type TimeSlot, TimeUnit, TreatmentBenefit, USER_ERRORS, type UpdateAllergyData, type UpdateAppointmentData, type UpdateAppointmentParams, type UpdateBlockingConditionData, type UpdateCalendarEventData, type UpdateClinicAdminData, type UpdateClinicData, type UpdateClinicGroupData, type UpdateContraindicationData, type UpdateDocumentTemplateData, type UpdateMedicationData, type UpdatePatientLocationInfoData, type UpdatePatientMedicalInfoData, type UpdatePatientProfileData, type UpdatePatientSensitiveInfoData, type UpdatePractitionerData, type UpdateProcedureData, type UpdateSyncedCalendarData, type UpdateVitalStatsData, type User, UserRole, UserService, type ValidationSchema, type VitalStats, type WorkingHours, addAllergySchema, addBlockingConditionSchema, addContraindicationSchema, addMedicationSchema, addressDataSchema, adminInfoSchema, adminTokenSchema, allergySchema, allergySubtypeSchema, appointmentNotificationSchema, appointmentReminderNotificationSchema, baseNotificationSchema, blockingConditionSchema, calendarEventSchema, calendarEventTimeSchema, clinicAdminOptionsSchema, clinicAdminSchema, clinicAdminSignupSchema, clinicBranchSetupSchema, clinicContactInfoSchema, clinicGroupSchema, clinicGroupSetupSchema,
|
|
18150
|
+
export { APPOINTMENTS_COLLECTION, AUTH_ERRORS, type AddAllergyData, type AddBlockingConditionData, type AddContraindicationData, type AddMedicationData, type AddressData, type AdminInfo, type AdminToken, AdminTokenStatus, type Allergy, type AllergySubtype, AllergyType, type AllergyTypeWithSubtype, type Appointment, type AppointmentNotification, type AppointmentReminderNotification, AppointmentService, AppointmentStatus, AuthError, AuthService, type BaseNotification, BlockingCondition, type Brand, BrandService, CALENDAR_COLLECTION, CLINICS_COLLECTION, CLINIC_ADMINS_COLLECTION, CLINIC_GROUPS_COLLECTION, type CalendarEvent, CalendarEventStatus, type CalendarEventTime, CalendarEventType, CalendarServiceV2, CalendarSyncStatus, type Category, CategoryService, CertificationLevel, CertificationSpecialty, type Clinic, type ClinicAdmin, ClinicAdminService, type ClinicAdminSignupData, type ClinicBranchSetupData, type ClinicContactInfo, type ClinicGroup, ClinicGroupService, type ClinicGroupSetupData, type ClinicInfo, type ClinicLocation, ClinicPhotoTag, type ClinicReview, type ClinicReviewInfo, ClinicService, ClinicTag, type ClinicTags, type ContactPerson, Contraindication, CosmeticAllergySubtype, type CreateAdminTokenData, type CreateAppointmentData, type CreateAppointmentParams, type CreateCalendarEventData, type CreateClinicAdminData, type CreateClinicData, type CreateClinicGroupData, type CreateDefaultClinicGroupData, type CreateDocumentTemplateData, type CreateDraftPractitionerData, type CreatePatientLocationInfoData, type CreatePatientMedicalInfoData, type CreatePatientProfileData, type CreatePatientSensitiveInfoData, type CreatePractitionerData, type CreatePractitionerTokenData, type CreateProcedureData, type CreateSyncedCalendarData, type CreateUserData, Currency, DOCUMENTATION_TEMPLATES_COLLECTION, type DateRange, type DoctorInfo, type DocumentElement, DocumentElementType, type DocumentTemplate, DocumentationTemplateService, DynamicVariable, type EmergencyContact, EnvironmentalAllergySubtype, FILLED_DOCUMENTS_COLLECTION, type FilledDocument, FilledDocumentService, FilledDocumentStatus, FirebaseErrorCode, type FirebaseUser, FoodAllergySubtype, type GamificationInfo, Gender, HeadingLevel, Language, ListType, type LocationData, MedicationAllergySubtype, type Notification, NotificationService, NotificationStatus, NotificationType, PATIENTS_COLLECTION, PATIENT_APPOINTMENTS_COLLECTION, PATIENT_LOCATION_INFO_COLLECTION, PATIENT_MEDICAL_HISTORY_COLLECTION, PATIENT_MEDICAL_INFO_COLLECTION, PATIENT_SENSITIVE_INFO_COLLECTION, PRACTITIONERS_COLLECTION, PROCEDURES_COLLECTION, type PatientClinic, type PatientDoctor, type PatientLocationInfo, type PatientMedicalInfo, type PatientProfile, type PatientProfileComplete, type PatientProfileInfo, type PatientSensitiveInfo, PatientService, PaymentStatus, type PostRequirementNotification, PracticeType, type Practitioner, type PractitionerBasicInfo, type PractitionerCertification, type PractitionerClinicProcedures, type PractitionerClinicWorkingHours, type PractitionerProfileInfo, type PractitionerReview, type PractitionerReviewInfo, PractitionerService, PractitionerStatus, type PractitionerToken, PractitionerTokenStatus, type PractitionerWorkingHours, type PreRequirementNotification, PricingMeasure, type Procedure, type ProcedureCategorization, ProcedureFamily, type ProcedureInfo, type ProcedureReview, type ProcedureReviewInfo, ProcedureService, type Product, ProductService, REGISTER_TOKENS_COLLECTION, REVIEWS_COLLECTION, type RequesterInfo, type Requirement, RequirementType, type Review, ReviewService, SYNCED_CALENDARS_COLLECTION, type SearchAppointmentsParams, type SearchCalendarEventsParams, SearchLocationEnum, type SearchPatientsParams, type Subcategory, SubcategoryService, SubscriptionModel, type SyncedCalendar, type SyncedCalendarEvent, SyncedCalendarProvider, SyncedCalendarsService, type Technology, TechnologyService, type TimeSlot, TimeUnit, TreatmentBenefit, USER_ERRORS, type UpdateAllergyData, type UpdateAppointmentData, type UpdateAppointmentParams, type UpdateBlockingConditionData, type UpdateCalendarEventData, type UpdateClinicAdminData, type UpdateClinicData, type UpdateClinicGroupData, type UpdateContraindicationData, type UpdateDocumentTemplateData, type UpdateMedicationData, type UpdatePatientLocationInfoData, type UpdatePatientMedicalInfoData, type UpdatePatientProfileData, type UpdatePatientSensitiveInfoData, type UpdatePractitionerData, type UpdateProcedureData, type UpdateSyncedCalendarData, type UpdateVitalStatsData, type User, UserRole, UserService, type ValidationSchema, type VitalStats, type WorkingHours, addAllergySchema, addBlockingConditionSchema, addContraindicationSchema, addMedicationSchema, addressDataSchema, adminInfoSchema, adminTokenSchema, allergySchema, allergySubtypeSchema, appointmentNotificationSchema, appointmentReminderNotificationSchema, baseNotificationSchema, blockingConditionSchema, calendarEventSchema, calendarEventTimeSchema, clinicAdminOptionsSchema, clinicAdminSchema, clinicAdminSignupSchema, clinicBranchSetupSchema, clinicContactInfoSchema, clinicGroupSchema, clinicGroupSetupSchema, clinicLocationSchema, clinicReviewInfoSchema, clinicReviewSchema, clinicSchema, clinicTagsSchema, contactPersonSchema, contraindicationSchema, createAdminTokenSchema, createAppointmentSchema, createCalendarEventSchema, createClinicAdminSchema, createClinicGroupSchema, createClinicReviewSchema, createClinicSchema, createDefaultClinicGroupSchema, createDocumentTemplateSchema, createDraftPractitionerSchema, createPatientLocationInfoSchema, createPatientMedicalInfoSchema, createPatientProfileSchema, createPatientSensitiveInfoSchema, createPractitionerReviewSchema, createPractitionerSchema, createPractitionerTokenSchema, createProcedureReviewSchema, createReviewSchema, createUserOptionsSchema, documentElementSchema, documentElementWithoutIdSchema, documentTemplateSchema, emailSchema, emergencyContactSchema, gamificationSchema, getFirebaseApp, getFirebaseAuth, getFirebaseDB, getFirebaseInstance, initializeFirebase, locationDataSchema, medicationSchema, notificationSchema, passwordSchema, patientClinicSchema, patientDoctorSchema, patientLocationInfoSchema, patientMedicalInfoSchema, patientProfileInfoSchema, patientProfileSchema, patientSensitiveInfoSchema, postRequirementNotificationSchema, practitionerBasicInfoSchema, practitionerCertificationSchema, practitionerClinicWorkingHoursSchema, practitionerProfileInfoSchema, practitionerReviewInfoSchema, practitionerReviewSchema, practitionerSchema, practitionerSignupSchema, practitionerTokenSchema, practitionerWorkingHoursSchema, preRequirementNotificationSchema, procedureCategorizationSchema, procedureInfoSchema, procedureReviewInfoSchema, procedureReviewSchema, requesterInfoSchema, reviewSchema, searchAppointmentsSchema, searchPatientsSchema, syncedCalendarEventSchema, timeSlotSchema, timestampSchema, updateAllergySchema, updateAppointmentSchema, updateBlockingConditionSchema, updateCalendarEventSchema, updateClinicAdminSchema, updateClinicGroupSchema, updateClinicSchema, updateContraindicationSchema, updateDocumentTemplateSchema, updateMedicationSchema, updatePatientMedicalInfoSchema, updateVitalStatsSchema, userRoleSchema, userRolesSchema, userSchema, vitalStatsSchema, workingHoursSchema };
|