@blackcode_sa/metaestetics-api 1.6.10 → 1.6.12
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 +101 -1
- package/dist/admin/index.d.ts +101 -1
- package/dist/admin/index.js +2847 -1802
- package/dist/admin/index.mjs +2849 -1805
- package/package.json +1 -1
- package/src/admin/booking/booking.admin.ts +8 -4
- package/src/admin/index.ts +2 -0
package/package.json
CHANGED
|
@@ -580,7 +580,7 @@ export class BookingAdmin {
|
|
|
580
580
|
eventName: `Appointment: ${procedure.name} with ${patientInfo.fullName}`,
|
|
581
581
|
eventLocation: clinicData.location,
|
|
582
582
|
eventTime: eventTimeForCalendarEvents,
|
|
583
|
-
description: procedure.description ||
|
|
583
|
+
description: procedure.description || "",
|
|
584
584
|
status: initialCalendarEventStatus,
|
|
585
585
|
syncStatus: CalendarSyncStatus.INTERNAL,
|
|
586
586
|
eventType: CalendarEventType.APPOINTMENT,
|
|
@@ -614,7 +614,7 @@ export class BookingAdmin {
|
|
|
614
614
|
eventName: `Appointment: ${procedure.name} at ${clinicData.name}`,
|
|
615
615
|
eventLocation: clinicData.location,
|
|
616
616
|
eventTime: eventTimeForCalendarEvents,
|
|
617
|
-
description: data.patientNotes ||
|
|
617
|
+
description: data.patientNotes || "",
|
|
618
618
|
status: initialCalendarEventStatus,
|
|
619
619
|
syncStatus: CalendarSyncStatus.INTERNAL,
|
|
620
620
|
eventType: CalendarEventType.APPOINTMENT,
|
|
@@ -650,7 +650,7 @@ export class BookingAdmin {
|
|
|
650
650
|
eventName: `Appointment: ${procedure.name} for ${patientInfo.fullName} with ${practitionerInfo.name}`,
|
|
651
651
|
eventLocation: clinicData.location,
|
|
652
652
|
eventTime: eventTimeForCalendarEvents,
|
|
653
|
-
description: data.patientNotes ||
|
|
653
|
+
description: data.patientNotes || "",
|
|
654
654
|
status: initialCalendarEventStatus,
|
|
655
655
|
syncStatus: CalendarSyncStatus.INTERNAL,
|
|
656
656
|
eventType: CalendarEventType.APPOINTMENT,
|
|
@@ -735,7 +735,11 @@ export class BookingAdmin {
|
|
|
735
735
|
linkedForms: initializedFormsInfo,
|
|
736
736
|
media: [],
|
|
737
737
|
reviewInfo: null,
|
|
738
|
-
finalizedDetails:
|
|
738
|
+
finalizedDetails: {
|
|
739
|
+
by: "",
|
|
740
|
+
at: adminTsNow as any,
|
|
741
|
+
notes: "",
|
|
742
|
+
},
|
|
739
743
|
internalNotes: null,
|
|
740
744
|
cancellationReason: null,
|
|
741
745
|
cancellationTime: null,
|
package/src/admin/index.ts
CHANGED
|
@@ -18,6 +18,7 @@ import { ClinicAggregationService } from "./aggregation/clinic/clinic.aggregatio
|
|
|
18
18
|
import { PractitionerAggregationService } from "./aggregation/practitioner/practitioner.aggregation.service";
|
|
19
19
|
import { ProcedureAggregationService } from "./aggregation/procedure/procedure.aggregation.service";
|
|
20
20
|
import { PatientAggregationService } from "./aggregation/patient/patient.aggregation.service";
|
|
21
|
+
import { AppointmentAggregationService } from "./aggregation/appointment/appointment.aggregation.service";
|
|
21
22
|
|
|
22
23
|
// Import mailing services
|
|
23
24
|
import { BaseMailingService } from "./mailing/base.mailing.service";
|
|
@@ -62,6 +63,7 @@ export {
|
|
|
62
63
|
PractitionerAggregationService,
|
|
63
64
|
ProcedureAggregationService,
|
|
64
65
|
PatientAggregationService,
|
|
66
|
+
AppointmentAggregationService,
|
|
65
67
|
PatientRequirementsAdminService,
|
|
66
68
|
};
|
|
67
69
|
|