@blackcode_sa/metaestetics-api 1.7.32 → 1.7.33
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/admin/index.d.mts +161 -1
- package/dist/admin/index.d.ts +161 -1
- package/dist/admin/index.js +542 -114
- package/dist/admin/index.mjs +540 -114
- package/package.json +1 -1
- package/src/admin/aggregation/practitioner-invite/practitioner-invite.aggregation.service.ts +576 -0
- package/src/admin/index.ts +8 -0
- package/src/types/calendar/index.ts +2 -2
package/dist/admin/index.d.mts
CHANGED
|
@@ -1035,6 +1035,70 @@ declare enum ClinicTag {
|
|
|
1035
1035
|
HOLIDAY_HOURS = "holiday_hours"
|
|
1036
1036
|
}
|
|
1037
1037
|
|
|
1038
|
+
/**
|
|
1039
|
+
* Enum for practitioner invite status
|
|
1040
|
+
*/
|
|
1041
|
+
declare enum PractitionerInviteStatus {
|
|
1042
|
+
PENDING = "pending",
|
|
1043
|
+
ACCEPTED = "accepted",
|
|
1044
|
+
REJECTED = "rejected",
|
|
1045
|
+
CANCELLED = "cancelled"
|
|
1046
|
+
}
|
|
1047
|
+
/**
|
|
1048
|
+
* Interface for proposed working hours in practitioner invite
|
|
1049
|
+
*/
|
|
1050
|
+
interface ProposedWorkingHours {
|
|
1051
|
+
monday: {
|
|
1052
|
+
start: string;
|
|
1053
|
+
end: string;
|
|
1054
|
+
} | null;
|
|
1055
|
+
tuesday: {
|
|
1056
|
+
start: string;
|
|
1057
|
+
end: string;
|
|
1058
|
+
} | null;
|
|
1059
|
+
wednesday: {
|
|
1060
|
+
start: string;
|
|
1061
|
+
end: string;
|
|
1062
|
+
} | null;
|
|
1063
|
+
thursday: {
|
|
1064
|
+
start: string;
|
|
1065
|
+
end: string;
|
|
1066
|
+
} | null;
|
|
1067
|
+
friday: {
|
|
1068
|
+
start: string;
|
|
1069
|
+
end: string;
|
|
1070
|
+
} | null;
|
|
1071
|
+
saturday: {
|
|
1072
|
+
start: string;
|
|
1073
|
+
end: string;
|
|
1074
|
+
} | null;
|
|
1075
|
+
sunday: {
|
|
1076
|
+
start: string;
|
|
1077
|
+
end: string;
|
|
1078
|
+
} | null;
|
|
1079
|
+
}
|
|
1080
|
+
/**
|
|
1081
|
+
* Main interface for practitioner invite
|
|
1082
|
+
*/
|
|
1083
|
+
interface PractitionerInvite {
|
|
1084
|
+
id: string;
|
|
1085
|
+
practitionerId: string;
|
|
1086
|
+
clinicId: string;
|
|
1087
|
+
practitionerInfo: PractitionerProfileInfo;
|
|
1088
|
+
clinicInfo: ClinicInfo;
|
|
1089
|
+
proposedWorkingHours: ProposedWorkingHours;
|
|
1090
|
+
status: PractitionerInviteStatus;
|
|
1091
|
+
invitedBy: string;
|
|
1092
|
+
message?: string | null;
|
|
1093
|
+
rejectionReason?: string | null;
|
|
1094
|
+
cancelReason?: string | null;
|
|
1095
|
+
createdAt: Timestamp;
|
|
1096
|
+
updatedAt: Timestamp;
|
|
1097
|
+
acceptedAt?: Timestamp | null;
|
|
1098
|
+
rejectedAt?: Timestamp | null;
|
|
1099
|
+
cancelledAt?: Timestamp | null;
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1038
1102
|
/**
|
|
1039
1103
|
* Interface for clinic contact information
|
|
1040
1104
|
*/
|
|
@@ -1919,6 +1983,102 @@ declare class PractitionerAggregationService {
|
|
|
1919
1983
|
inactivateProceduresForPractitioner(procedureIds: string[]): Promise<void>;
|
|
1920
1984
|
}
|
|
1921
1985
|
|
|
1986
|
+
/**
|
|
1987
|
+
* @class PractitionerInviteAggregationService
|
|
1988
|
+
* @description Handles aggregation tasks and side effects related to practitioner invite lifecycle events.
|
|
1989
|
+
* This service is intended to be used primarily by background functions (e.g., Cloud Functions)
|
|
1990
|
+
* triggered by changes in the practitioner-invites collection.
|
|
1991
|
+
*/
|
|
1992
|
+
declare class PractitionerInviteAggregationService {
|
|
1993
|
+
private db;
|
|
1994
|
+
/**
|
|
1995
|
+
* Constructor for PractitionerInviteAggregationService.
|
|
1996
|
+
* @param firestore Optional Firestore instance. If not provided, it uses the default admin SDK instance.
|
|
1997
|
+
*/
|
|
1998
|
+
constructor(firestore?: admin.firestore.Firestore);
|
|
1999
|
+
/**
|
|
2000
|
+
* Handles side effects when a practitioner invite is first created.
|
|
2001
|
+
* This function would typically be called by a Firestore onCreate trigger.
|
|
2002
|
+
* @param {PractitionerInvite} invite - The newly created PractitionerInvite object.
|
|
2003
|
+
* @returns {Promise<void>}
|
|
2004
|
+
*/
|
|
2005
|
+
handleInviteCreate(invite: PractitionerInvite): Promise<void>;
|
|
2006
|
+
/**
|
|
2007
|
+
* Handles side effects when a practitioner invite is updated.
|
|
2008
|
+
* This function would typically be called by a Firestore onUpdate trigger.
|
|
2009
|
+
* @param {PractitionerInvite} before - The PractitionerInvite object before the update.
|
|
2010
|
+
* @param {PractitionerInvite} after - The PractitionerInvite object after the update.
|
|
2011
|
+
* @returns {Promise<void>}
|
|
2012
|
+
*/
|
|
2013
|
+
handleInviteUpdate(before: PractitionerInvite, after: PractitionerInvite): Promise<void>;
|
|
2014
|
+
/**
|
|
2015
|
+
* Handles side effects when a practitioner invite is deleted.
|
|
2016
|
+
* @param deletedInvite - The PractitionerInvite object that was deleted.
|
|
2017
|
+
* @returns {Promise<void>}
|
|
2018
|
+
*/
|
|
2019
|
+
handleInviteDelete(deletedInvite: PractitionerInvite): Promise<void>;
|
|
2020
|
+
/**
|
|
2021
|
+
* Handles the business logic when a practitioner accepts an invite.
|
|
2022
|
+
* This includes adding the practitioner to the clinic and the clinic to the practitioner.
|
|
2023
|
+
* @param {PractitionerInvite} invite - The accepted invite
|
|
2024
|
+
* @returns {Promise<void>}
|
|
2025
|
+
*/
|
|
2026
|
+
private handleInviteAccepted;
|
|
2027
|
+
/**
|
|
2028
|
+
* Handles the business logic when a practitioner rejects an invite.
|
|
2029
|
+
* @param {PractitionerInvite} invite - The rejected invite
|
|
2030
|
+
* @returns {Promise<void>}
|
|
2031
|
+
*/
|
|
2032
|
+
private handleInviteRejected;
|
|
2033
|
+
/**
|
|
2034
|
+
* Handles the business logic when an invite is cancelled by admin.
|
|
2035
|
+
* @param {PractitionerInvite} invite - The cancelled invite
|
|
2036
|
+
* @returns {Promise<void>}
|
|
2037
|
+
*/
|
|
2038
|
+
private handleInviteCancelled;
|
|
2039
|
+
/**
|
|
2040
|
+
* Adds practitioner information to a clinic when an invite is accepted.
|
|
2041
|
+
* @param clinicId - ID of the clinic to update
|
|
2042
|
+
* @param doctorInfo - Doctor information to add to the clinic
|
|
2043
|
+
* @returns {Promise<void>}
|
|
2044
|
+
*/
|
|
2045
|
+
private addPractitionerToClinic;
|
|
2046
|
+
/**
|
|
2047
|
+
* Updates practitioner information in a clinic.
|
|
2048
|
+
* @param clinicId - ID of the clinic to update
|
|
2049
|
+
* @param doctorInfo - Updated doctor information
|
|
2050
|
+
* @returns {Promise<void>}
|
|
2051
|
+
*/
|
|
2052
|
+
private updatePractitionerInfoInClinic;
|
|
2053
|
+
/**
|
|
2054
|
+
* Adds a clinic to a practitioner's profile with working hours from the invite.
|
|
2055
|
+
* @param {string} practitionerId - The practitioner ID
|
|
2056
|
+
* @param {ClinicInfo} clinicInfo - The clinic information
|
|
2057
|
+
* @param {PractitionerInvite} invite - The accepted invite containing working hours
|
|
2058
|
+
* @returns {Promise<void>}
|
|
2059
|
+
*/
|
|
2060
|
+
private addClinicToPractitioner;
|
|
2061
|
+
/**
|
|
2062
|
+
* Updates the working hours for an existing practitioner-clinic relationship.
|
|
2063
|
+
* @param {string} practitionerId - The practitioner ID
|
|
2064
|
+
* @param {PractitionerInvite} invite - The accepted invite containing new working hours
|
|
2065
|
+
* @returns {Promise<void>}
|
|
2066
|
+
*/
|
|
2067
|
+
private updatePractitionerWorkingHours;
|
|
2068
|
+
/**
|
|
2069
|
+
* Fetches a practitioner by ID.
|
|
2070
|
+
* @param practitionerId The practitioner ID.
|
|
2071
|
+
* @returns {Promise<Practitioner | null>} The practitioner or null if not found.
|
|
2072
|
+
*/
|
|
2073
|
+
private fetchPractitionerById;
|
|
2074
|
+
/**
|
|
2075
|
+
* Fetches a clinic by ID.
|
|
2076
|
+
* @param clinicId The clinic ID.
|
|
2077
|
+
* @returns {Promise<Clinic | null>} The clinic or null if not found.
|
|
2078
|
+
*/
|
|
2079
|
+
private fetchClinicById;
|
|
2080
|
+
}
|
|
2081
|
+
|
|
1922
2082
|
/**
|
|
1923
2083
|
* @class ProcedureAggregationService
|
|
1924
2084
|
* @description Handles aggregation tasks related to procedure data updates/deletions.
|
|
@@ -2904,4 +3064,4 @@ declare class AppointmentMailingService extends BaseMailingService {
|
|
|
2904
3064
|
*/
|
|
2905
3065
|
declare function freeConsultationInfrastructure(db?: admin.firestore.Firestore): Promise<boolean>;
|
|
2906
3066
|
|
|
2907
|
-
export { APPOINTMENTS_COLLECTION, type Appointment, AppointmentAggregationService, type AppointmentCancellationEmailData, type AppointmentConfirmationEmailData, type AppointmentEmailDataBase, AppointmentMailingService, type AppointmentMediaItem, type AppointmentReminderNotification, type AppointmentRequestedEmailData, type AppointmentRescheduledProposalEmailData, AppointmentStatus, type AvailableSlot, BaseMailingService, type BaseNotification, BookingAdmin, BookingAvailabilityCalculator, type BookingAvailabilityRequest, type BookingAvailabilityResponse, CalendarAdminService, type Clinic, ClinicAggregationService, type ClinicInfo, type ClinicLocation, type CreateAppointmentData, type CreateAppointmentHttpData, type DoctorInfo, DocumentManagerAdminService, type FilledDocument, FilledFormsAggregationService, type InitializeAppointmentFormsResult, type LinkedFormInfo, Logger, MediaType, NOTIFICATIONS_COLLECTION, type Notification, NotificationStatus, NotificationType, NotificationsAdmin, type OrchestrateAppointmentCreationData, PATIENT_REQUIREMENTS_SUBCOLLECTION_NAME, type PatientProfile as Patient, PatientAggregationService, PatientInstructionStatus, type PatientRequirementInstance, type PatientRequirementInstruction, PatientRequirementOverallStatus, PatientRequirementsAdminService, type PatientReviewInfo, PaymentStatus, type PostRequirementNotification, type Practitioner, PractitionerAggregationService, PractitionerInviteMailingService, type PractitionerToken, PractitionerTokenStatus, type PreRequirementNotification, type Procedure, ProcedureAggregationService, type ProcedureExtendedInfo, type ProcedureSummaryInfo, type Review, type ReviewAddedEmailData, type ReviewRequestEmailData, ReviewsAggregationService, type SearchAppointmentsParams, type TimeInterval, type UpdateAppointmentData, UserRole, freeConsultationInfrastructure };
|
|
3067
|
+
export { APPOINTMENTS_COLLECTION, type Appointment, AppointmentAggregationService, type AppointmentCancellationEmailData, type AppointmentConfirmationEmailData, type AppointmentEmailDataBase, AppointmentMailingService, type AppointmentMediaItem, type AppointmentReminderNotification, type AppointmentRequestedEmailData, type AppointmentRescheduledProposalEmailData, AppointmentStatus, type AvailableSlot, BaseMailingService, type BaseNotification, BookingAdmin, BookingAvailabilityCalculator, type BookingAvailabilityRequest, type BookingAvailabilityResponse, CalendarAdminService, type Clinic, ClinicAggregationService, type ClinicInfo, type ClinicLocation, type CreateAppointmentData, type CreateAppointmentHttpData, type DoctorInfo, DocumentManagerAdminService, type FilledDocument, FilledFormsAggregationService, type InitializeAppointmentFormsResult, type LinkedFormInfo, Logger, MediaType, NOTIFICATIONS_COLLECTION, type Notification, NotificationStatus, NotificationType, NotificationsAdmin, type OrchestrateAppointmentCreationData, PATIENT_REQUIREMENTS_SUBCOLLECTION_NAME, type PatientProfile as Patient, PatientAggregationService, PatientInstructionStatus, type PatientRequirementInstance, type PatientRequirementInstruction, PatientRequirementOverallStatus, PatientRequirementsAdminService, type PatientReviewInfo, PaymentStatus, type PostRequirementNotification, type Practitioner, PractitionerAggregationService, type PractitionerInvite, PractitionerInviteAggregationService, PractitionerInviteMailingService, PractitionerInviteStatus, type PractitionerToken, PractitionerTokenStatus, type PreRequirementNotification, type Procedure, ProcedureAggregationService, type ProcedureExtendedInfo, type ProcedureSummaryInfo, type Review, type ReviewAddedEmailData, type ReviewRequestEmailData, ReviewsAggregationService, type SearchAppointmentsParams, type TimeInterval, type UpdateAppointmentData, UserRole, freeConsultationInfrastructure };
|
package/dist/admin/index.d.ts
CHANGED
|
@@ -1035,6 +1035,70 @@ declare enum ClinicTag {
|
|
|
1035
1035
|
HOLIDAY_HOURS = "holiday_hours"
|
|
1036
1036
|
}
|
|
1037
1037
|
|
|
1038
|
+
/**
|
|
1039
|
+
* Enum for practitioner invite status
|
|
1040
|
+
*/
|
|
1041
|
+
declare enum PractitionerInviteStatus {
|
|
1042
|
+
PENDING = "pending",
|
|
1043
|
+
ACCEPTED = "accepted",
|
|
1044
|
+
REJECTED = "rejected",
|
|
1045
|
+
CANCELLED = "cancelled"
|
|
1046
|
+
}
|
|
1047
|
+
/**
|
|
1048
|
+
* Interface for proposed working hours in practitioner invite
|
|
1049
|
+
*/
|
|
1050
|
+
interface ProposedWorkingHours {
|
|
1051
|
+
monday: {
|
|
1052
|
+
start: string;
|
|
1053
|
+
end: string;
|
|
1054
|
+
} | null;
|
|
1055
|
+
tuesday: {
|
|
1056
|
+
start: string;
|
|
1057
|
+
end: string;
|
|
1058
|
+
} | null;
|
|
1059
|
+
wednesday: {
|
|
1060
|
+
start: string;
|
|
1061
|
+
end: string;
|
|
1062
|
+
} | null;
|
|
1063
|
+
thursday: {
|
|
1064
|
+
start: string;
|
|
1065
|
+
end: string;
|
|
1066
|
+
} | null;
|
|
1067
|
+
friday: {
|
|
1068
|
+
start: string;
|
|
1069
|
+
end: string;
|
|
1070
|
+
} | null;
|
|
1071
|
+
saturday: {
|
|
1072
|
+
start: string;
|
|
1073
|
+
end: string;
|
|
1074
|
+
} | null;
|
|
1075
|
+
sunday: {
|
|
1076
|
+
start: string;
|
|
1077
|
+
end: string;
|
|
1078
|
+
} | null;
|
|
1079
|
+
}
|
|
1080
|
+
/**
|
|
1081
|
+
* Main interface for practitioner invite
|
|
1082
|
+
*/
|
|
1083
|
+
interface PractitionerInvite {
|
|
1084
|
+
id: string;
|
|
1085
|
+
practitionerId: string;
|
|
1086
|
+
clinicId: string;
|
|
1087
|
+
practitionerInfo: PractitionerProfileInfo;
|
|
1088
|
+
clinicInfo: ClinicInfo;
|
|
1089
|
+
proposedWorkingHours: ProposedWorkingHours;
|
|
1090
|
+
status: PractitionerInviteStatus;
|
|
1091
|
+
invitedBy: string;
|
|
1092
|
+
message?: string | null;
|
|
1093
|
+
rejectionReason?: string | null;
|
|
1094
|
+
cancelReason?: string | null;
|
|
1095
|
+
createdAt: Timestamp;
|
|
1096
|
+
updatedAt: Timestamp;
|
|
1097
|
+
acceptedAt?: Timestamp | null;
|
|
1098
|
+
rejectedAt?: Timestamp | null;
|
|
1099
|
+
cancelledAt?: Timestamp | null;
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1038
1102
|
/**
|
|
1039
1103
|
* Interface for clinic contact information
|
|
1040
1104
|
*/
|
|
@@ -1919,6 +1983,102 @@ declare class PractitionerAggregationService {
|
|
|
1919
1983
|
inactivateProceduresForPractitioner(procedureIds: string[]): Promise<void>;
|
|
1920
1984
|
}
|
|
1921
1985
|
|
|
1986
|
+
/**
|
|
1987
|
+
* @class PractitionerInviteAggregationService
|
|
1988
|
+
* @description Handles aggregation tasks and side effects related to practitioner invite lifecycle events.
|
|
1989
|
+
* This service is intended to be used primarily by background functions (e.g., Cloud Functions)
|
|
1990
|
+
* triggered by changes in the practitioner-invites collection.
|
|
1991
|
+
*/
|
|
1992
|
+
declare class PractitionerInviteAggregationService {
|
|
1993
|
+
private db;
|
|
1994
|
+
/**
|
|
1995
|
+
* Constructor for PractitionerInviteAggregationService.
|
|
1996
|
+
* @param firestore Optional Firestore instance. If not provided, it uses the default admin SDK instance.
|
|
1997
|
+
*/
|
|
1998
|
+
constructor(firestore?: admin.firestore.Firestore);
|
|
1999
|
+
/**
|
|
2000
|
+
* Handles side effects when a practitioner invite is first created.
|
|
2001
|
+
* This function would typically be called by a Firestore onCreate trigger.
|
|
2002
|
+
* @param {PractitionerInvite} invite - The newly created PractitionerInvite object.
|
|
2003
|
+
* @returns {Promise<void>}
|
|
2004
|
+
*/
|
|
2005
|
+
handleInviteCreate(invite: PractitionerInvite): Promise<void>;
|
|
2006
|
+
/**
|
|
2007
|
+
* Handles side effects when a practitioner invite is updated.
|
|
2008
|
+
* This function would typically be called by a Firestore onUpdate trigger.
|
|
2009
|
+
* @param {PractitionerInvite} before - The PractitionerInvite object before the update.
|
|
2010
|
+
* @param {PractitionerInvite} after - The PractitionerInvite object after the update.
|
|
2011
|
+
* @returns {Promise<void>}
|
|
2012
|
+
*/
|
|
2013
|
+
handleInviteUpdate(before: PractitionerInvite, after: PractitionerInvite): Promise<void>;
|
|
2014
|
+
/**
|
|
2015
|
+
* Handles side effects when a practitioner invite is deleted.
|
|
2016
|
+
* @param deletedInvite - The PractitionerInvite object that was deleted.
|
|
2017
|
+
* @returns {Promise<void>}
|
|
2018
|
+
*/
|
|
2019
|
+
handleInviteDelete(deletedInvite: PractitionerInvite): Promise<void>;
|
|
2020
|
+
/**
|
|
2021
|
+
* Handles the business logic when a practitioner accepts an invite.
|
|
2022
|
+
* This includes adding the practitioner to the clinic and the clinic to the practitioner.
|
|
2023
|
+
* @param {PractitionerInvite} invite - The accepted invite
|
|
2024
|
+
* @returns {Promise<void>}
|
|
2025
|
+
*/
|
|
2026
|
+
private handleInviteAccepted;
|
|
2027
|
+
/**
|
|
2028
|
+
* Handles the business logic when a practitioner rejects an invite.
|
|
2029
|
+
* @param {PractitionerInvite} invite - The rejected invite
|
|
2030
|
+
* @returns {Promise<void>}
|
|
2031
|
+
*/
|
|
2032
|
+
private handleInviteRejected;
|
|
2033
|
+
/**
|
|
2034
|
+
* Handles the business logic when an invite is cancelled by admin.
|
|
2035
|
+
* @param {PractitionerInvite} invite - The cancelled invite
|
|
2036
|
+
* @returns {Promise<void>}
|
|
2037
|
+
*/
|
|
2038
|
+
private handleInviteCancelled;
|
|
2039
|
+
/**
|
|
2040
|
+
* Adds practitioner information to a clinic when an invite is accepted.
|
|
2041
|
+
* @param clinicId - ID of the clinic to update
|
|
2042
|
+
* @param doctorInfo - Doctor information to add to the clinic
|
|
2043
|
+
* @returns {Promise<void>}
|
|
2044
|
+
*/
|
|
2045
|
+
private addPractitionerToClinic;
|
|
2046
|
+
/**
|
|
2047
|
+
* Updates practitioner information in a clinic.
|
|
2048
|
+
* @param clinicId - ID of the clinic to update
|
|
2049
|
+
* @param doctorInfo - Updated doctor information
|
|
2050
|
+
* @returns {Promise<void>}
|
|
2051
|
+
*/
|
|
2052
|
+
private updatePractitionerInfoInClinic;
|
|
2053
|
+
/**
|
|
2054
|
+
* Adds a clinic to a practitioner's profile with working hours from the invite.
|
|
2055
|
+
* @param {string} practitionerId - The practitioner ID
|
|
2056
|
+
* @param {ClinicInfo} clinicInfo - The clinic information
|
|
2057
|
+
* @param {PractitionerInvite} invite - The accepted invite containing working hours
|
|
2058
|
+
* @returns {Promise<void>}
|
|
2059
|
+
*/
|
|
2060
|
+
private addClinicToPractitioner;
|
|
2061
|
+
/**
|
|
2062
|
+
* Updates the working hours for an existing practitioner-clinic relationship.
|
|
2063
|
+
* @param {string} practitionerId - The practitioner ID
|
|
2064
|
+
* @param {PractitionerInvite} invite - The accepted invite containing new working hours
|
|
2065
|
+
* @returns {Promise<void>}
|
|
2066
|
+
*/
|
|
2067
|
+
private updatePractitionerWorkingHours;
|
|
2068
|
+
/**
|
|
2069
|
+
* Fetches a practitioner by ID.
|
|
2070
|
+
* @param practitionerId The practitioner ID.
|
|
2071
|
+
* @returns {Promise<Practitioner | null>} The practitioner or null if not found.
|
|
2072
|
+
*/
|
|
2073
|
+
private fetchPractitionerById;
|
|
2074
|
+
/**
|
|
2075
|
+
* Fetches a clinic by ID.
|
|
2076
|
+
* @param clinicId The clinic ID.
|
|
2077
|
+
* @returns {Promise<Clinic | null>} The clinic or null if not found.
|
|
2078
|
+
*/
|
|
2079
|
+
private fetchClinicById;
|
|
2080
|
+
}
|
|
2081
|
+
|
|
1922
2082
|
/**
|
|
1923
2083
|
* @class ProcedureAggregationService
|
|
1924
2084
|
* @description Handles aggregation tasks related to procedure data updates/deletions.
|
|
@@ -2904,4 +3064,4 @@ declare class AppointmentMailingService extends BaseMailingService {
|
|
|
2904
3064
|
*/
|
|
2905
3065
|
declare function freeConsultationInfrastructure(db?: admin.firestore.Firestore): Promise<boolean>;
|
|
2906
3066
|
|
|
2907
|
-
export { APPOINTMENTS_COLLECTION, type Appointment, AppointmentAggregationService, type AppointmentCancellationEmailData, type AppointmentConfirmationEmailData, type AppointmentEmailDataBase, AppointmentMailingService, type AppointmentMediaItem, type AppointmentReminderNotification, type AppointmentRequestedEmailData, type AppointmentRescheduledProposalEmailData, AppointmentStatus, type AvailableSlot, BaseMailingService, type BaseNotification, BookingAdmin, BookingAvailabilityCalculator, type BookingAvailabilityRequest, type BookingAvailabilityResponse, CalendarAdminService, type Clinic, ClinicAggregationService, type ClinicInfo, type ClinicLocation, type CreateAppointmentData, type CreateAppointmentHttpData, type DoctorInfo, DocumentManagerAdminService, type FilledDocument, FilledFormsAggregationService, type InitializeAppointmentFormsResult, type LinkedFormInfo, Logger, MediaType, NOTIFICATIONS_COLLECTION, type Notification, NotificationStatus, NotificationType, NotificationsAdmin, type OrchestrateAppointmentCreationData, PATIENT_REQUIREMENTS_SUBCOLLECTION_NAME, type PatientProfile as Patient, PatientAggregationService, PatientInstructionStatus, type PatientRequirementInstance, type PatientRequirementInstruction, PatientRequirementOverallStatus, PatientRequirementsAdminService, type PatientReviewInfo, PaymentStatus, type PostRequirementNotification, type Practitioner, PractitionerAggregationService, PractitionerInviteMailingService, type PractitionerToken, PractitionerTokenStatus, type PreRequirementNotification, type Procedure, ProcedureAggregationService, type ProcedureExtendedInfo, type ProcedureSummaryInfo, type Review, type ReviewAddedEmailData, type ReviewRequestEmailData, ReviewsAggregationService, type SearchAppointmentsParams, type TimeInterval, type UpdateAppointmentData, UserRole, freeConsultationInfrastructure };
|
|
3067
|
+
export { APPOINTMENTS_COLLECTION, type Appointment, AppointmentAggregationService, type AppointmentCancellationEmailData, type AppointmentConfirmationEmailData, type AppointmentEmailDataBase, AppointmentMailingService, type AppointmentMediaItem, type AppointmentReminderNotification, type AppointmentRequestedEmailData, type AppointmentRescheduledProposalEmailData, AppointmentStatus, type AvailableSlot, BaseMailingService, type BaseNotification, BookingAdmin, BookingAvailabilityCalculator, type BookingAvailabilityRequest, type BookingAvailabilityResponse, CalendarAdminService, type Clinic, ClinicAggregationService, type ClinicInfo, type ClinicLocation, type CreateAppointmentData, type CreateAppointmentHttpData, type DoctorInfo, DocumentManagerAdminService, type FilledDocument, FilledFormsAggregationService, type InitializeAppointmentFormsResult, type LinkedFormInfo, Logger, MediaType, NOTIFICATIONS_COLLECTION, type Notification, NotificationStatus, NotificationType, NotificationsAdmin, type OrchestrateAppointmentCreationData, PATIENT_REQUIREMENTS_SUBCOLLECTION_NAME, type PatientProfile as Patient, PatientAggregationService, PatientInstructionStatus, type PatientRequirementInstance, type PatientRequirementInstruction, PatientRequirementOverallStatus, PatientRequirementsAdminService, type PatientReviewInfo, PaymentStatus, type PostRequirementNotification, type Practitioner, PractitionerAggregationService, type PractitionerInvite, PractitionerInviteAggregationService, PractitionerInviteMailingService, PractitionerInviteStatus, type PractitionerToken, PractitionerTokenStatus, type PreRequirementNotification, type Procedure, ProcedureAggregationService, type ProcedureExtendedInfo, type ProcedureSummaryInfo, type Review, type ReviewAddedEmailData, type ReviewRequestEmailData, ReviewsAggregationService, type SearchAppointmentsParams, type TimeInterval, type UpdateAppointmentData, UserRole, freeConsultationInfrastructure };
|