@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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@blackcode_sa/metaestetics-api",
3
3
  "private": false,
4
- "version": "1.6.10",
4
+ "version": "1.6.12",
5
5
  "description": "Firebase authentication service with anonymous upgrade support",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.mjs",
@@ -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 || undefined,
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 || undefined,
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 || undefined,
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: undefined,
738
+ finalizedDetails: {
739
+ by: "",
740
+ at: adminTsNow as any,
741
+ notes: "",
742
+ },
739
743
  internalNotes: null,
740
744
  cancellationReason: null,
741
745
  cancellationTime: null,
@@ -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