@blackcode_sa/metaestetics-api 1.4.4 → 1.4.5
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 +16 -1
- package/dist/index.d.ts +16 -1
- package/dist/index.js +10 -0
- package/dist/index.mjs +5 -0
- package/package.json +1 -1
- package/src/index.ts +17 -0
package/dist/index.d.mts
CHANGED
|
@@ -1210,6 +1210,21 @@ interface CreateClinicData {
|
|
|
1210
1210
|
interface UpdateClinicData extends Partial<CreateClinicData> {
|
|
1211
1211
|
updatedAt?: FieldValue;
|
|
1212
1212
|
}
|
|
1213
|
+
/**
|
|
1214
|
+
* Interface for creating a default clinic group
|
|
1215
|
+
*/
|
|
1216
|
+
interface CreateDefaultClinicGroupData {
|
|
1217
|
+
name: string;
|
|
1218
|
+
ownerId: string;
|
|
1219
|
+
contactPerson: ContactPerson;
|
|
1220
|
+
contactInfo: ClinicContactInfo;
|
|
1221
|
+
hqLocation: ClinicLocation;
|
|
1222
|
+
isActive: boolean;
|
|
1223
|
+
logo?: string;
|
|
1224
|
+
practiceType?: PracticeType;
|
|
1225
|
+
languages?: Language[];
|
|
1226
|
+
subscriptionModel?: SubscriptionModel;
|
|
1227
|
+
}
|
|
1213
1228
|
/**
|
|
1214
1229
|
* Interface for clinic admin signup data
|
|
1215
1230
|
*/
|
|
@@ -11870,4 +11885,4 @@ interface Technology {
|
|
|
11870
11885
|
updatedAt: Date;
|
|
11871
11886
|
}
|
|
11872
11887
|
|
|
11873
|
-
export { AUTH_ERRORS, type AddAllergyData, type AddBlockingConditionData, type AddContraindicationData, type AddMedicationData, type AddressData, type Allergy, type AllergySubtype, AllergyType, type AllergyTypeWithSubtype, type AppointmentNotification, type AppointmentReminderNotification, AuthError, AuthService, type BaseNotification, BlockingCondition, type Brand, CLINICS_COLLECTION, CLINIC_ADMINS_COLLECTION, CLINIC_GROUPS_COLLECTION, type Category, CertificationLevel, CertificationSpecialty, type Clinic, type ClinicAdmin, ClinicAdminService, type ClinicContactInfo, type ClinicGroup, ClinicGroupService, type ClinicLocation, type ClinicReview, ClinicService, type ClinicTags, Contraindication, CosmeticAllergySubtype, type CreateClinicAdminData, type CreateClinicData, type CreateClinicGroupData, type CreateDocumentTemplateData, type CreatePatientLocationInfoData, type CreatePatientMedicalInfoData, type CreatePatientProfileData, type CreatePatientSensitiveInfoData, type CreatePractitionerData, type CreateUserData, Currency, DOCUMENTATION_TEMPLATES_COLLECTION, 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, 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, type PatientClinic, type PatientDoctor, type PatientLocationInfo, type PatientMedicalInfo, type PatientProfile, type PatientProfileComplete, type PatientSensitiveInfo, PatientService, type PostRequirementNotification, type Practitioner, type PractitionerBasicInfo, type PractitionerCertification, type PractitionerClinicProcedures, type PractitionerReview, PractitionerService, type PractitionerWorkingHours, type PreRequirementNotification, PricingMeasure, ProcedureFamily, type Product, type Requirement, type Subcategory, type Technology, TreatmentBenefit, USER_ERRORS, type UpdateAllergyData, type UpdateBlockingConditionData, type UpdateClinicAdminData, type UpdateClinicData, type UpdateClinicGroupData, type UpdateContraindicationData, type UpdateDocumentTemplateData, type UpdateMedicationData, type UpdatePatientLocationInfoData, type UpdatePatientMedicalInfoData, type UpdatePatientProfileData, type UpdatePatientSensitiveInfoData, type UpdatePractitionerData, 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, clinicAdminOptionsSchema, clinicAdminSchema, clinicAdminSignupSchema, clinicBranchSetupSchema, clinicContactInfoSchema, clinicGroupSchema, clinicGroupSetupSchema, clinicInfoSchema, clinicLocationSchema, clinicReviewSchema, clinicSchema, clinicTagsSchema, contactPersonSchema, contraindicationSchema, createAdminTokenSchema, createClinicAdminSchema, createClinicGroupSchema, createClinicSchema, createDefaultClinicGroupSchema, createDocumentTemplateSchema, createPatientLocationInfoSchema, createPatientMedicalInfoSchema, createPatientProfileSchema, createPatientSensitiveInfoSchema, createPractitionerSchema, createUserOptionsSchema, doctorInfoSchema, documentElementSchema, documentElementWithoutIdSchema, documentTemplateSchema, emailSchema, emergencyContactSchema, gamificationSchema, getFirebaseApp, getFirebaseAuth, getFirebaseDB, getFirebaseInstance, initializeFirebase, locationDataSchema, medicationSchema, notificationSchema, passwordSchema, patientClinicSchema, patientDoctorSchema, patientLocationInfoSchema, patientMedicalInfoSchema, patientProfileSchema, patientSensitiveInfoSchema, postRequirementNotificationSchema, practitionerBasicInfoSchema, practitionerCertificationSchema, practitionerClinicProceduresSchema, practitionerReviewSchema, practitionerSchema, practitionerWorkingHoursSchema, preRequirementNotificationSchema, reviewInfoSchema, serviceInfoSchema, timestampSchema, updateAllergySchema, updateBlockingConditionSchema, updateClinicAdminSchema, updateClinicGroupSchema, updateClinicSchema, updateContraindicationSchema, updateDocumentTemplateSchema, updateMedicationSchema, updatePatientMedicalInfoSchema, updateVitalStatsSchema, userRoleSchema, userRolesSchema, userSchema, vitalStatsSchema, workingHoursSchema };
|
|
11888
|
+
export { 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 AppointmentNotification, type AppointmentReminderNotification, AuthError, AuthService, type BaseNotification, BlockingCondition, type Brand, CLINICS_COLLECTION, CLINIC_ADMINS_COLLECTION, CLINIC_GROUPS_COLLECTION, type Category, CertificationLevel, CertificationSpecialty, type Clinic, type ClinicAdmin, ClinicAdminService, type ClinicAdminSignupData, type ClinicBranchSetupData, type ClinicContactInfo, type ClinicGroup, ClinicGroupService, type ClinicGroupSetupData, type ClinicInfo, type ClinicLocation, type ClinicReview, ClinicService, ClinicTag, type ClinicTags, type ContactPerson, Contraindication, CosmeticAllergySubtype, type CreateAdminTokenData, type CreateClinicAdminData, type CreateClinicData, type CreateClinicGroupData, type CreateDefaultClinicGroupData, type CreateDocumentTemplateData, type CreatePatientLocationInfoData, type CreatePatientMedicalInfoData, type CreatePatientProfileData, type CreatePatientSensitiveInfoData, type CreatePractitionerData, type CreateUserData, Currency, DOCUMENTATION_TEMPLATES_COLLECTION, 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, type PatientClinic, type PatientDoctor, type PatientLocationInfo, type PatientMedicalInfo, type PatientProfile, type PatientProfileComplete, type PatientSensitiveInfo, PatientService, type PostRequirementNotification, PracticeType, type Practitioner, type PractitionerBasicInfo, type PractitionerCertification, type PractitionerClinicProcedures, type PractitionerReview, PractitionerService, type PractitionerWorkingHours, type PreRequirementNotification, PricingMeasure, ProcedureFamily, type Product, type Requirement, type ReviewInfo, type ServiceInfo, type Subcategory, SubscriptionModel, type Technology, TreatmentBenefit, USER_ERRORS, type UpdateAllergyData, type UpdateBlockingConditionData, type UpdateClinicAdminData, type UpdateClinicData, type UpdateClinicGroupData, type UpdateContraindicationData, type UpdateDocumentTemplateData, type UpdateMedicationData, type UpdatePatientLocationInfoData, type UpdatePatientMedicalInfoData, type UpdatePatientProfileData, type UpdatePatientSensitiveInfoData, type UpdatePractitionerData, 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, clinicAdminOptionsSchema, clinicAdminSchema, clinicAdminSignupSchema, clinicBranchSetupSchema, clinicContactInfoSchema, clinicGroupSchema, clinicGroupSetupSchema, clinicInfoSchema, clinicLocationSchema, clinicReviewSchema, clinicSchema, clinicTagsSchema, contactPersonSchema, contraindicationSchema, createAdminTokenSchema, createClinicAdminSchema, createClinicGroupSchema, createClinicSchema, createDefaultClinicGroupSchema, createDocumentTemplateSchema, createPatientLocationInfoSchema, createPatientMedicalInfoSchema, createPatientProfileSchema, createPatientSensitiveInfoSchema, createPractitionerSchema, createUserOptionsSchema, doctorInfoSchema, documentElementSchema, documentElementWithoutIdSchema, documentTemplateSchema, emailSchema, emergencyContactSchema, gamificationSchema, getFirebaseApp, getFirebaseAuth, getFirebaseDB, getFirebaseInstance, initializeFirebase, locationDataSchema, medicationSchema, notificationSchema, passwordSchema, patientClinicSchema, patientDoctorSchema, patientLocationInfoSchema, patientMedicalInfoSchema, patientProfileSchema, patientSensitiveInfoSchema, postRequirementNotificationSchema, practitionerBasicInfoSchema, practitionerCertificationSchema, practitionerClinicProceduresSchema, practitionerReviewSchema, practitionerSchema, practitionerWorkingHoursSchema, preRequirementNotificationSchema, reviewInfoSchema, serviceInfoSchema, timestampSchema, updateAllergySchema, updateBlockingConditionSchema, updateClinicAdminSchema, updateClinicGroupSchema, updateClinicSchema, updateContraindicationSchema, updateDocumentTemplateSchema, updateMedicationSchema, updatePatientMedicalInfoSchema, updateVitalStatsSchema, userRoleSchema, userRolesSchema, userSchema, vitalStatsSchema, workingHoursSchema };
|
package/dist/index.d.ts
CHANGED
|
@@ -1210,6 +1210,21 @@ interface CreateClinicData {
|
|
|
1210
1210
|
interface UpdateClinicData extends Partial<CreateClinicData> {
|
|
1211
1211
|
updatedAt?: FieldValue;
|
|
1212
1212
|
}
|
|
1213
|
+
/**
|
|
1214
|
+
* Interface for creating a default clinic group
|
|
1215
|
+
*/
|
|
1216
|
+
interface CreateDefaultClinicGroupData {
|
|
1217
|
+
name: string;
|
|
1218
|
+
ownerId: string;
|
|
1219
|
+
contactPerson: ContactPerson;
|
|
1220
|
+
contactInfo: ClinicContactInfo;
|
|
1221
|
+
hqLocation: ClinicLocation;
|
|
1222
|
+
isActive: boolean;
|
|
1223
|
+
logo?: string;
|
|
1224
|
+
practiceType?: PracticeType;
|
|
1225
|
+
languages?: Language[];
|
|
1226
|
+
subscriptionModel?: SubscriptionModel;
|
|
1227
|
+
}
|
|
1213
1228
|
/**
|
|
1214
1229
|
* Interface for clinic admin signup data
|
|
1215
1230
|
*/
|
|
@@ -11870,4 +11885,4 @@ interface Technology {
|
|
|
11870
11885
|
updatedAt: Date;
|
|
11871
11886
|
}
|
|
11872
11887
|
|
|
11873
|
-
export { AUTH_ERRORS, type AddAllergyData, type AddBlockingConditionData, type AddContraindicationData, type AddMedicationData, type AddressData, type Allergy, type AllergySubtype, AllergyType, type AllergyTypeWithSubtype, type AppointmentNotification, type AppointmentReminderNotification, AuthError, AuthService, type BaseNotification, BlockingCondition, type Brand, CLINICS_COLLECTION, CLINIC_ADMINS_COLLECTION, CLINIC_GROUPS_COLLECTION, type Category, CertificationLevel, CertificationSpecialty, type Clinic, type ClinicAdmin, ClinicAdminService, type ClinicContactInfo, type ClinicGroup, ClinicGroupService, type ClinicLocation, type ClinicReview, ClinicService, type ClinicTags, Contraindication, CosmeticAllergySubtype, type CreateClinicAdminData, type CreateClinicData, type CreateClinicGroupData, type CreateDocumentTemplateData, type CreatePatientLocationInfoData, type CreatePatientMedicalInfoData, type CreatePatientProfileData, type CreatePatientSensitiveInfoData, type CreatePractitionerData, type CreateUserData, Currency, DOCUMENTATION_TEMPLATES_COLLECTION, 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, 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, type PatientClinic, type PatientDoctor, type PatientLocationInfo, type PatientMedicalInfo, type PatientProfile, type PatientProfileComplete, type PatientSensitiveInfo, PatientService, type PostRequirementNotification, type Practitioner, type PractitionerBasicInfo, type PractitionerCertification, type PractitionerClinicProcedures, type PractitionerReview, PractitionerService, type PractitionerWorkingHours, type PreRequirementNotification, PricingMeasure, ProcedureFamily, type Product, type Requirement, type Subcategory, type Technology, TreatmentBenefit, USER_ERRORS, type UpdateAllergyData, type UpdateBlockingConditionData, type UpdateClinicAdminData, type UpdateClinicData, type UpdateClinicGroupData, type UpdateContraindicationData, type UpdateDocumentTemplateData, type UpdateMedicationData, type UpdatePatientLocationInfoData, type UpdatePatientMedicalInfoData, type UpdatePatientProfileData, type UpdatePatientSensitiveInfoData, type UpdatePractitionerData, 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, clinicAdminOptionsSchema, clinicAdminSchema, clinicAdminSignupSchema, clinicBranchSetupSchema, clinicContactInfoSchema, clinicGroupSchema, clinicGroupSetupSchema, clinicInfoSchema, clinicLocationSchema, clinicReviewSchema, clinicSchema, clinicTagsSchema, contactPersonSchema, contraindicationSchema, createAdminTokenSchema, createClinicAdminSchema, createClinicGroupSchema, createClinicSchema, createDefaultClinicGroupSchema, createDocumentTemplateSchema, createPatientLocationInfoSchema, createPatientMedicalInfoSchema, createPatientProfileSchema, createPatientSensitiveInfoSchema, createPractitionerSchema, createUserOptionsSchema, doctorInfoSchema, documentElementSchema, documentElementWithoutIdSchema, documentTemplateSchema, emailSchema, emergencyContactSchema, gamificationSchema, getFirebaseApp, getFirebaseAuth, getFirebaseDB, getFirebaseInstance, initializeFirebase, locationDataSchema, medicationSchema, notificationSchema, passwordSchema, patientClinicSchema, patientDoctorSchema, patientLocationInfoSchema, patientMedicalInfoSchema, patientProfileSchema, patientSensitiveInfoSchema, postRequirementNotificationSchema, practitionerBasicInfoSchema, practitionerCertificationSchema, practitionerClinicProceduresSchema, practitionerReviewSchema, practitionerSchema, practitionerWorkingHoursSchema, preRequirementNotificationSchema, reviewInfoSchema, serviceInfoSchema, timestampSchema, updateAllergySchema, updateBlockingConditionSchema, updateClinicAdminSchema, updateClinicGroupSchema, updateClinicSchema, updateContraindicationSchema, updateDocumentTemplateSchema, updateMedicationSchema, updatePatientMedicalInfoSchema, updateVitalStatsSchema, userRoleSchema, userRolesSchema, userSchema, vitalStatsSchema, workingHoursSchema };
|
|
11888
|
+
export { 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 AppointmentNotification, type AppointmentReminderNotification, AuthError, AuthService, type BaseNotification, BlockingCondition, type Brand, CLINICS_COLLECTION, CLINIC_ADMINS_COLLECTION, CLINIC_GROUPS_COLLECTION, type Category, CertificationLevel, CertificationSpecialty, type Clinic, type ClinicAdmin, ClinicAdminService, type ClinicAdminSignupData, type ClinicBranchSetupData, type ClinicContactInfo, type ClinicGroup, ClinicGroupService, type ClinicGroupSetupData, type ClinicInfo, type ClinicLocation, type ClinicReview, ClinicService, ClinicTag, type ClinicTags, type ContactPerson, Contraindication, CosmeticAllergySubtype, type CreateAdminTokenData, type CreateClinicAdminData, type CreateClinicData, type CreateClinicGroupData, type CreateDefaultClinicGroupData, type CreateDocumentTemplateData, type CreatePatientLocationInfoData, type CreatePatientMedicalInfoData, type CreatePatientProfileData, type CreatePatientSensitiveInfoData, type CreatePractitionerData, type CreateUserData, Currency, DOCUMENTATION_TEMPLATES_COLLECTION, 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, type PatientClinic, type PatientDoctor, type PatientLocationInfo, type PatientMedicalInfo, type PatientProfile, type PatientProfileComplete, type PatientSensitiveInfo, PatientService, type PostRequirementNotification, PracticeType, type Practitioner, type PractitionerBasicInfo, type PractitionerCertification, type PractitionerClinicProcedures, type PractitionerReview, PractitionerService, type PractitionerWorkingHours, type PreRequirementNotification, PricingMeasure, ProcedureFamily, type Product, type Requirement, type ReviewInfo, type ServiceInfo, type Subcategory, SubscriptionModel, type Technology, TreatmentBenefit, USER_ERRORS, type UpdateAllergyData, type UpdateBlockingConditionData, type UpdateClinicAdminData, type UpdateClinicData, type UpdateClinicGroupData, type UpdateContraindicationData, type UpdateDocumentTemplateData, type UpdateMedicationData, type UpdatePatientLocationInfoData, type UpdatePatientMedicalInfoData, type UpdatePatientProfileData, type UpdatePatientSensitiveInfoData, type UpdatePractitionerData, 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, clinicAdminOptionsSchema, clinicAdminSchema, clinicAdminSignupSchema, clinicBranchSetupSchema, clinicContactInfoSchema, clinicGroupSchema, clinicGroupSetupSchema, clinicInfoSchema, clinicLocationSchema, clinicReviewSchema, clinicSchema, clinicTagsSchema, contactPersonSchema, contraindicationSchema, createAdminTokenSchema, createClinicAdminSchema, createClinicGroupSchema, createClinicSchema, createDefaultClinicGroupSchema, createDocumentTemplateSchema, createPatientLocationInfoSchema, createPatientMedicalInfoSchema, createPatientProfileSchema, createPatientSensitiveInfoSchema, createPractitionerSchema, createUserOptionsSchema, doctorInfoSchema, documentElementSchema, documentElementWithoutIdSchema, documentTemplateSchema, emailSchema, emergencyContactSchema, gamificationSchema, getFirebaseApp, getFirebaseAuth, getFirebaseDB, getFirebaseInstance, initializeFirebase, locationDataSchema, medicationSchema, notificationSchema, passwordSchema, patientClinicSchema, patientDoctorSchema, patientLocationInfoSchema, patientMedicalInfoSchema, patientProfileSchema, patientSensitiveInfoSchema, postRequirementNotificationSchema, practitionerBasicInfoSchema, practitionerCertificationSchema, practitionerClinicProceduresSchema, practitionerReviewSchema, practitionerSchema, practitionerWorkingHoursSchema, preRequirementNotificationSchema, reviewInfoSchema, serviceInfoSchema, timestampSchema, updateAllergySchema, updateBlockingConditionSchema, updateClinicAdminSchema, updateClinicGroupSchema, updateClinicSchema, updateContraindicationSchema, updateDocumentTemplateSchema, updateMedicationSchema, updatePatientMedicalInfoSchema, updateVitalStatsSchema, userRoleSchema, userRolesSchema, userSchema, vitalStatsSchema, workingHoursSchema };
|
package/dist/index.js
CHANGED
|
@@ -21,6 +21,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
21
21
|
var index_exports = {};
|
|
22
22
|
__export(index_exports, {
|
|
23
23
|
AUTH_ERRORS: () => AUTH_ERRORS,
|
|
24
|
+
AdminTokenStatus: () => AdminTokenStatus,
|
|
24
25
|
AllergyType: () => AllergyType,
|
|
25
26
|
AuthService: () => AuthService,
|
|
26
27
|
BlockingCondition: () => BlockingCondition,
|
|
@@ -32,6 +33,7 @@ __export(index_exports, {
|
|
|
32
33
|
ClinicAdminService: () => ClinicAdminService,
|
|
33
34
|
ClinicGroupService: () => ClinicGroupService,
|
|
34
35
|
ClinicService: () => ClinicService,
|
|
36
|
+
ClinicTag: () => ClinicTag,
|
|
35
37
|
Contraindication: () => Contraindication,
|
|
36
38
|
CosmeticAllergySubtype: () => CosmeticAllergySubtype,
|
|
37
39
|
Currency: () => Currency,
|
|
@@ -47,6 +49,7 @@ __export(index_exports, {
|
|
|
47
49
|
FoodAllergySubtype: () => FoodAllergySubtype,
|
|
48
50
|
Gender: () => Gender,
|
|
49
51
|
HeadingLevel: () => HeadingLevel,
|
|
52
|
+
Language: () => Language,
|
|
50
53
|
ListType: () => ListType,
|
|
51
54
|
MedicationAllergySubtype: () => MedicationAllergySubtype,
|
|
52
55
|
NotificationService: () => NotificationService,
|
|
@@ -60,9 +63,11 @@ __export(index_exports, {
|
|
|
60
63
|
PATIENT_SENSITIVE_INFO_COLLECTION: () => PATIENT_SENSITIVE_INFO_COLLECTION,
|
|
61
64
|
PRACTITIONERS_COLLECTION: () => PRACTITIONERS_COLLECTION,
|
|
62
65
|
PatientService: () => PatientService,
|
|
66
|
+
PracticeType: () => PracticeType,
|
|
63
67
|
PractitionerService: () => PractitionerService,
|
|
64
68
|
PricingMeasure: () => PricingMeasure,
|
|
65
69
|
ProcedureFamily: () => ProcedureFamily,
|
|
70
|
+
SubscriptionModel: () => SubscriptionModel,
|
|
66
71
|
TreatmentBenefit: () => TreatmentBenefit,
|
|
67
72
|
USER_ERRORS: () => USER_ERRORS,
|
|
68
73
|
UserService: () => UserService,
|
|
@@ -5501,6 +5506,7 @@ var notificationSchema = import_zod16.z.discriminatedUnion("notificationType", [
|
|
|
5501
5506
|
// Annotate the CommonJS export names for ESM import in node:
|
|
5502
5507
|
0 && (module.exports = {
|
|
5503
5508
|
AUTH_ERRORS,
|
|
5509
|
+
AdminTokenStatus,
|
|
5504
5510
|
AllergyType,
|
|
5505
5511
|
AuthService,
|
|
5506
5512
|
BlockingCondition,
|
|
@@ -5512,6 +5518,7 @@ var notificationSchema = import_zod16.z.discriminatedUnion("notificationType", [
|
|
|
5512
5518
|
ClinicAdminService,
|
|
5513
5519
|
ClinicGroupService,
|
|
5514
5520
|
ClinicService,
|
|
5521
|
+
ClinicTag,
|
|
5515
5522
|
Contraindication,
|
|
5516
5523
|
CosmeticAllergySubtype,
|
|
5517
5524
|
Currency,
|
|
@@ -5527,6 +5534,7 @@ var notificationSchema = import_zod16.z.discriminatedUnion("notificationType", [
|
|
|
5527
5534
|
FoodAllergySubtype,
|
|
5528
5535
|
Gender,
|
|
5529
5536
|
HeadingLevel,
|
|
5537
|
+
Language,
|
|
5530
5538
|
ListType,
|
|
5531
5539
|
MedicationAllergySubtype,
|
|
5532
5540
|
NotificationService,
|
|
@@ -5540,9 +5548,11 @@ var notificationSchema = import_zod16.z.discriminatedUnion("notificationType", [
|
|
|
5540
5548
|
PATIENT_SENSITIVE_INFO_COLLECTION,
|
|
5541
5549
|
PRACTITIONERS_COLLECTION,
|
|
5542
5550
|
PatientService,
|
|
5551
|
+
PracticeType,
|
|
5543
5552
|
PractitionerService,
|
|
5544
5553
|
PricingMeasure,
|
|
5545
5554
|
ProcedureFamily,
|
|
5555
|
+
SubscriptionModel,
|
|
5546
5556
|
TreatmentBenefit,
|
|
5547
5557
|
USER_ERRORS,
|
|
5548
5558
|
UserService,
|
package/dist/index.mjs
CHANGED
|
@@ -5513,6 +5513,7 @@ var notificationSchema = z16.discriminatedUnion("notificationType", [
|
|
|
5513
5513
|
]);
|
|
5514
5514
|
export {
|
|
5515
5515
|
AUTH_ERRORS,
|
|
5516
|
+
AdminTokenStatus,
|
|
5516
5517
|
AllergyType,
|
|
5517
5518
|
AuthService,
|
|
5518
5519
|
BlockingCondition,
|
|
@@ -5524,6 +5525,7 @@ export {
|
|
|
5524
5525
|
ClinicAdminService,
|
|
5525
5526
|
ClinicGroupService,
|
|
5526
5527
|
ClinicService,
|
|
5528
|
+
ClinicTag,
|
|
5527
5529
|
Contraindication,
|
|
5528
5530
|
CosmeticAllergySubtype,
|
|
5529
5531
|
Currency,
|
|
@@ -5539,6 +5541,7 @@ export {
|
|
|
5539
5541
|
FoodAllergySubtype,
|
|
5540
5542
|
Gender,
|
|
5541
5543
|
HeadingLevel,
|
|
5544
|
+
Language,
|
|
5542
5545
|
ListType,
|
|
5543
5546
|
MedicationAllergySubtype,
|
|
5544
5547
|
NotificationService,
|
|
@@ -5552,9 +5555,11 @@ export {
|
|
|
5552
5555
|
PATIENT_SENSITIVE_INFO_COLLECTION,
|
|
5553
5556
|
PRACTITIONERS_COLLECTION,
|
|
5554
5557
|
PatientService,
|
|
5558
|
+
PracticeType,
|
|
5555
5559
|
PractitionerService,
|
|
5556
5560
|
PricingMeasure,
|
|
5557
5561
|
ProcedureFamily,
|
|
5562
|
+
SubscriptionModel,
|
|
5558
5563
|
TreatmentBenefit,
|
|
5559
5564
|
USER_ERRORS,
|
|
5560
5565
|
UserService,
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -134,11 +134,28 @@ export type {
|
|
|
134
134
|
WorkingHours,
|
|
135
135
|
ClinicTags,
|
|
136
136
|
ClinicReview,
|
|
137
|
+
ClinicAdminSignupData,
|
|
138
|
+
ContactPerson,
|
|
139
|
+
ClinicInfo,
|
|
140
|
+
AdminToken,
|
|
141
|
+
AdminInfo,
|
|
142
|
+
CreateAdminTokenData,
|
|
143
|
+
DoctorInfo,
|
|
144
|
+
ServiceInfo,
|
|
145
|
+
ReviewInfo,
|
|
146
|
+
CreateDefaultClinicGroupData,
|
|
147
|
+
ClinicGroupSetupData,
|
|
148
|
+
ClinicBranchSetupData,
|
|
137
149
|
} from "./types/clinic";
|
|
138
150
|
export {
|
|
139
151
|
CLINICS_COLLECTION,
|
|
140
152
|
CLINIC_GROUPS_COLLECTION,
|
|
141
153
|
CLINIC_ADMINS_COLLECTION,
|
|
154
|
+
PracticeType,
|
|
155
|
+
Language,
|
|
156
|
+
ClinicTag,
|
|
157
|
+
AdminTokenStatus,
|
|
158
|
+
SubscriptionModel,
|
|
142
159
|
} from "./types/clinic";
|
|
143
160
|
|
|
144
161
|
// Certification types
|