@blackcode_sa/metaestetics-api 1.5.33 → 1.5.34

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.
@@ -1601,160 +1601,6 @@ declare class PractitionerInviteMailingService extends BaseMailingService {
1601
1601
  handleTokenCreationEvent(tokenData: PractitionerToken, fromAddress: string): Promise<void>;
1602
1602
  }
1603
1603
 
1604
- /**
1605
- * Request parameters for calculating available booking slots
1606
- */
1607
- interface BookingAvailabilityRequest {
1608
- /** The clinic for which to calculate booking slots */
1609
- clinic: Clinic;
1610
- /** The practitioner for which to calculate booking slots */
1611
- practitioner: Practitioner;
1612
- /** The procedure for which to calculate booking slots */
1613
- procedure: Procedure;
1614
- /** The timeframe for which to calculate booking slots */
1615
- timeframe: {
1616
- start: Timestamp;
1617
- end: Timestamp;
1618
- };
1619
- /** Calendar events for the clinic during the specified timeframe */
1620
- clinicCalendarEvents: CalendarEvent[];
1621
- /** Calendar events for the practitioner during the specified timeframe */
1622
- practitionerCalendarEvents: CalendarEvent[];
1623
- }
1624
- /**
1625
- * Represents a single available booking slot
1626
- */
1627
- interface AvailableSlot {
1628
- /** Start time of the available booking slot */
1629
- start: Timestamp;
1630
- }
1631
- /**
1632
- * Response with available booking slots
1633
- */
1634
- interface BookingAvailabilityResponse {
1635
- /** Array of available booking slots */
1636
- availableSlots: AvailableSlot[];
1637
- }
1638
- /**
1639
- * Represents a time interval with start and end times
1640
- * Used internally for availability calculations
1641
- */
1642
- interface TimeInterval {
1643
- start: Timestamp;
1644
- end: Timestamp;
1645
- }
1646
-
1647
- /**
1648
- * Calculator for determining available booking slots
1649
- * This class handles the complex logic of determining when appointments can be scheduled
1650
- * based on clinic working hours, practitioner availability, and existing calendar events.
1651
- */
1652
- declare class BookingAvailabilityCalculator {
1653
- /** Default scheduling interval in minutes if not specified by the clinic */
1654
- private static readonly DEFAULT_INTERVAL_MINUTES;
1655
- /**
1656
- * Calculate available booking slots based on the provided data
1657
- *
1658
- * @param request - The request containing all necessary data for calculation
1659
- * @returns Response with available booking slots
1660
- */
1661
- static calculateSlots(request: BookingAvailabilityRequest): BookingAvailabilityResponse;
1662
- /**
1663
- * Apply clinic working hours to available intervals
1664
- *
1665
- * @param intervals - Current available intervals
1666
- * @param workingHours - Clinic working hours
1667
- * @param timeframe - Overall timeframe being considered
1668
- * @returns Intervals filtered by clinic working hours
1669
- */
1670
- private static applyClinicWorkingHours;
1671
- /**
1672
- * Create time intervals for working hours across multiple days
1673
- *
1674
- * @param workingHours - Working hours definition
1675
- * @param startDate - Start date of the overall timeframe
1676
- * @param endDate - End date of the overall timeframe
1677
- * @returns Array of time intervals representing working hours
1678
- */
1679
- private static createWorkingHoursIntervals;
1680
- /**
1681
- * Subtract blocking events from available intervals
1682
- *
1683
- * @param intervals - Current available intervals
1684
- * @param events - Calendar events to subtract
1685
- * @returns Available intervals after removing blocking events
1686
- */
1687
- private static subtractBlockingEvents;
1688
- /**
1689
- * Apply practitioner's specific working hours for the given clinic
1690
- *
1691
- * @param intervals - Current available intervals
1692
- * @param practitioner - Practitioner object
1693
- * @param clinicId - ID of the clinic
1694
- * @param timeframe - Overall timeframe being considered
1695
- * @returns Intervals filtered by practitioner's working hours
1696
- */
1697
- private static applyPractitionerWorkingHours;
1698
- /**
1699
- * Create time intervals for practitioner's working hours across multiple days
1700
- *
1701
- * @param workingHours - Practitioner's working hours definition
1702
- * @param startDate - Start date of the overall timeframe
1703
- * @param endDate - End date of the overall timeframe
1704
- * @returns Array of time intervals representing practitioner's working hours
1705
- */
1706
- private static createPractitionerWorkingHoursIntervals;
1707
- /**
1708
- * Subtract practitioner's busy times from available intervals
1709
- *
1710
- * @param intervals - Current available intervals
1711
- * @param events - Practitioner's calendar events
1712
- * @returns Available intervals after removing busy times
1713
- */
1714
- private static subtractPractitionerBusyTimes;
1715
- /**
1716
- * Generate available booking slots based on the final available intervals
1717
- *
1718
- * @param intervals - Final available intervals
1719
- * @param intervalMinutes - Scheduling interval in minutes
1720
- * @param durationMinutes - Procedure duration in minutes
1721
- * @returns Array of available booking slots
1722
- */
1723
- private static generateAvailableSlots;
1724
- /**
1725
- * Check if a time slot is fully available within the given intervals
1726
- *
1727
- * @param slotStart - Start time of the slot
1728
- * @param slotEnd - End time of the slot
1729
- * @param intervals - Available intervals
1730
- * @returns True if the slot is fully contained within an available interval
1731
- */
1732
- private static isSlotFullyAvailable;
1733
- /**
1734
- * Intersect two sets of time intervals
1735
- *
1736
- * @param intervalsA - First set of intervals
1737
- * @param intervalsB - Second set of intervals
1738
- * @returns Intersection of the two sets of intervals
1739
- */
1740
- private static intersectIntervals;
1741
- /**
1742
- * Subtract one interval from another, potentially resulting in 0, 1, or 2 intervals
1743
- *
1744
- * @param interval - Interval to subtract from
1745
- * @param subtrahend - Interval to subtract
1746
- * @returns Array of remaining intervals after subtraction
1747
- */
1748
- private static subtractInterval;
1749
- /**
1750
- * Merge overlapping intervals to simplify the result
1751
- *
1752
- * @param intervals - Intervals to merge
1753
- * @returns Merged intervals
1754
- */
1755
- private static mergeOverlappingIntervals;
1756
- }
1757
-
1758
1604
  /**
1759
1605
  * Admin service for handling booking-related operations.
1760
1606
  * This is the cloud-based implementation that will be used in Cloud Functions.
@@ -1811,4 +1657,47 @@ declare class BookingAdmin {
1811
1657
  private getPractitionerCalendarEvents;
1812
1658
  }
1813
1659
 
1814
- export { type AppointmentNotification, type AppointmentReminderNotification, type AvailableSlot, BaseMailingService, type BaseNotification, BookingAdmin, BookingAvailabilityCalculator, type BookingAvailabilityRequest, type BookingAvailabilityResponse, type Clinic, ClinicAggregationService, type ClinicInfo, type ClinicLocation, type DoctorInfo, NOTIFICATIONS_COLLECTION, type Notification, NotificationStatus, NotificationType, NotificationsAdmin, type PatientProfile as Patient, PatientAggregationService, type PostRequirementNotification, type Practitioner, PractitionerAggregationService, PractitionerInviteMailingService, type PractitionerToken, PractitionerTokenStatus, type PreRequirementNotification, type Procedure, ProcedureAggregationService, type ProcedureSummaryInfo, type TimeInterval, UserRole };
1660
+ /**
1661
+ * Request parameters for calculating available booking slots
1662
+ */
1663
+ interface BookingAvailabilityRequest {
1664
+ /** The clinic for which to calculate booking slots */
1665
+ clinic: Clinic;
1666
+ /** The practitioner for which to calculate booking slots */
1667
+ practitioner: Practitioner;
1668
+ /** The procedure for which to calculate booking slots */
1669
+ procedure: Procedure;
1670
+ /** The timeframe for which to calculate booking slots */
1671
+ timeframe: {
1672
+ start: Timestamp;
1673
+ end: Timestamp;
1674
+ };
1675
+ /** Calendar events for the clinic during the specified timeframe */
1676
+ clinicCalendarEvents: CalendarEvent[];
1677
+ /** Calendar events for the practitioner during the specified timeframe */
1678
+ practitionerCalendarEvents: CalendarEvent[];
1679
+ }
1680
+ /**
1681
+ * Represents a single available booking slot
1682
+ */
1683
+ interface AvailableSlot {
1684
+ /** Start time of the available booking slot */
1685
+ start: Timestamp;
1686
+ }
1687
+ /**
1688
+ * Response with available booking slots
1689
+ */
1690
+ interface BookingAvailabilityResponse {
1691
+ /** Array of available booking slots */
1692
+ availableSlots: AvailableSlot[];
1693
+ }
1694
+ /**
1695
+ * Represents a time interval with start and end times
1696
+ * Used internally for availability calculations
1697
+ */
1698
+ interface TimeInterval {
1699
+ start: Timestamp;
1700
+ end: Timestamp;
1701
+ }
1702
+
1703
+ export { type AppointmentNotification, type AppointmentReminderNotification, type AvailableSlot, BaseMailingService, type BaseNotification, BookingAdmin, type BookingAvailabilityRequest, type BookingAvailabilityResponse, type Clinic, ClinicAggregationService, type ClinicInfo, type ClinicLocation, type DoctorInfo, NOTIFICATIONS_COLLECTION, type Notification, NotificationStatus, NotificationType, NotificationsAdmin, type PatientProfile as Patient, PatientAggregationService, type PostRequirementNotification, type Practitioner, PractitionerAggregationService, PractitionerInviteMailingService, type PractitionerToken, PractitionerTokenStatus, type PreRequirementNotification, type Procedure, ProcedureAggregationService, type ProcedureSummaryInfo, type TimeInterval, UserRole };
@@ -1601,160 +1601,6 @@ declare class PractitionerInviteMailingService extends BaseMailingService {
1601
1601
  handleTokenCreationEvent(tokenData: PractitionerToken, fromAddress: string): Promise<void>;
1602
1602
  }
1603
1603
 
1604
- /**
1605
- * Request parameters for calculating available booking slots
1606
- */
1607
- interface BookingAvailabilityRequest {
1608
- /** The clinic for which to calculate booking slots */
1609
- clinic: Clinic;
1610
- /** The practitioner for which to calculate booking slots */
1611
- practitioner: Practitioner;
1612
- /** The procedure for which to calculate booking slots */
1613
- procedure: Procedure;
1614
- /** The timeframe for which to calculate booking slots */
1615
- timeframe: {
1616
- start: Timestamp;
1617
- end: Timestamp;
1618
- };
1619
- /** Calendar events for the clinic during the specified timeframe */
1620
- clinicCalendarEvents: CalendarEvent[];
1621
- /** Calendar events for the practitioner during the specified timeframe */
1622
- practitionerCalendarEvents: CalendarEvent[];
1623
- }
1624
- /**
1625
- * Represents a single available booking slot
1626
- */
1627
- interface AvailableSlot {
1628
- /** Start time of the available booking slot */
1629
- start: Timestamp;
1630
- }
1631
- /**
1632
- * Response with available booking slots
1633
- */
1634
- interface BookingAvailabilityResponse {
1635
- /** Array of available booking slots */
1636
- availableSlots: AvailableSlot[];
1637
- }
1638
- /**
1639
- * Represents a time interval with start and end times
1640
- * Used internally for availability calculations
1641
- */
1642
- interface TimeInterval {
1643
- start: Timestamp;
1644
- end: Timestamp;
1645
- }
1646
-
1647
- /**
1648
- * Calculator for determining available booking slots
1649
- * This class handles the complex logic of determining when appointments can be scheduled
1650
- * based on clinic working hours, practitioner availability, and existing calendar events.
1651
- */
1652
- declare class BookingAvailabilityCalculator {
1653
- /** Default scheduling interval in minutes if not specified by the clinic */
1654
- private static readonly DEFAULT_INTERVAL_MINUTES;
1655
- /**
1656
- * Calculate available booking slots based on the provided data
1657
- *
1658
- * @param request - The request containing all necessary data for calculation
1659
- * @returns Response with available booking slots
1660
- */
1661
- static calculateSlots(request: BookingAvailabilityRequest): BookingAvailabilityResponse;
1662
- /**
1663
- * Apply clinic working hours to available intervals
1664
- *
1665
- * @param intervals - Current available intervals
1666
- * @param workingHours - Clinic working hours
1667
- * @param timeframe - Overall timeframe being considered
1668
- * @returns Intervals filtered by clinic working hours
1669
- */
1670
- private static applyClinicWorkingHours;
1671
- /**
1672
- * Create time intervals for working hours across multiple days
1673
- *
1674
- * @param workingHours - Working hours definition
1675
- * @param startDate - Start date of the overall timeframe
1676
- * @param endDate - End date of the overall timeframe
1677
- * @returns Array of time intervals representing working hours
1678
- */
1679
- private static createWorkingHoursIntervals;
1680
- /**
1681
- * Subtract blocking events from available intervals
1682
- *
1683
- * @param intervals - Current available intervals
1684
- * @param events - Calendar events to subtract
1685
- * @returns Available intervals after removing blocking events
1686
- */
1687
- private static subtractBlockingEvents;
1688
- /**
1689
- * Apply practitioner's specific working hours for the given clinic
1690
- *
1691
- * @param intervals - Current available intervals
1692
- * @param practitioner - Practitioner object
1693
- * @param clinicId - ID of the clinic
1694
- * @param timeframe - Overall timeframe being considered
1695
- * @returns Intervals filtered by practitioner's working hours
1696
- */
1697
- private static applyPractitionerWorkingHours;
1698
- /**
1699
- * Create time intervals for practitioner's working hours across multiple days
1700
- *
1701
- * @param workingHours - Practitioner's working hours definition
1702
- * @param startDate - Start date of the overall timeframe
1703
- * @param endDate - End date of the overall timeframe
1704
- * @returns Array of time intervals representing practitioner's working hours
1705
- */
1706
- private static createPractitionerWorkingHoursIntervals;
1707
- /**
1708
- * Subtract practitioner's busy times from available intervals
1709
- *
1710
- * @param intervals - Current available intervals
1711
- * @param events - Practitioner's calendar events
1712
- * @returns Available intervals after removing busy times
1713
- */
1714
- private static subtractPractitionerBusyTimes;
1715
- /**
1716
- * Generate available booking slots based on the final available intervals
1717
- *
1718
- * @param intervals - Final available intervals
1719
- * @param intervalMinutes - Scheduling interval in minutes
1720
- * @param durationMinutes - Procedure duration in minutes
1721
- * @returns Array of available booking slots
1722
- */
1723
- private static generateAvailableSlots;
1724
- /**
1725
- * Check if a time slot is fully available within the given intervals
1726
- *
1727
- * @param slotStart - Start time of the slot
1728
- * @param slotEnd - End time of the slot
1729
- * @param intervals - Available intervals
1730
- * @returns True if the slot is fully contained within an available interval
1731
- */
1732
- private static isSlotFullyAvailable;
1733
- /**
1734
- * Intersect two sets of time intervals
1735
- *
1736
- * @param intervalsA - First set of intervals
1737
- * @param intervalsB - Second set of intervals
1738
- * @returns Intersection of the two sets of intervals
1739
- */
1740
- private static intersectIntervals;
1741
- /**
1742
- * Subtract one interval from another, potentially resulting in 0, 1, or 2 intervals
1743
- *
1744
- * @param interval - Interval to subtract from
1745
- * @param subtrahend - Interval to subtract
1746
- * @returns Array of remaining intervals after subtraction
1747
- */
1748
- private static subtractInterval;
1749
- /**
1750
- * Merge overlapping intervals to simplify the result
1751
- *
1752
- * @param intervals - Intervals to merge
1753
- * @returns Merged intervals
1754
- */
1755
- private static mergeOverlappingIntervals;
1756
- }
1757
-
1758
1604
  /**
1759
1605
  * Admin service for handling booking-related operations.
1760
1606
  * This is the cloud-based implementation that will be used in Cloud Functions.
@@ -1811,4 +1657,47 @@ declare class BookingAdmin {
1811
1657
  private getPractitionerCalendarEvents;
1812
1658
  }
1813
1659
 
1814
- export { type AppointmentNotification, type AppointmentReminderNotification, type AvailableSlot, BaseMailingService, type BaseNotification, BookingAdmin, BookingAvailabilityCalculator, type BookingAvailabilityRequest, type BookingAvailabilityResponse, type Clinic, ClinicAggregationService, type ClinicInfo, type ClinicLocation, type DoctorInfo, NOTIFICATIONS_COLLECTION, type Notification, NotificationStatus, NotificationType, NotificationsAdmin, type PatientProfile as Patient, PatientAggregationService, type PostRequirementNotification, type Practitioner, PractitionerAggregationService, PractitionerInviteMailingService, type PractitionerToken, PractitionerTokenStatus, type PreRequirementNotification, type Procedure, ProcedureAggregationService, type ProcedureSummaryInfo, type TimeInterval, UserRole };
1660
+ /**
1661
+ * Request parameters for calculating available booking slots
1662
+ */
1663
+ interface BookingAvailabilityRequest {
1664
+ /** The clinic for which to calculate booking slots */
1665
+ clinic: Clinic;
1666
+ /** The practitioner for which to calculate booking slots */
1667
+ practitioner: Practitioner;
1668
+ /** The procedure for which to calculate booking slots */
1669
+ procedure: Procedure;
1670
+ /** The timeframe for which to calculate booking slots */
1671
+ timeframe: {
1672
+ start: Timestamp;
1673
+ end: Timestamp;
1674
+ };
1675
+ /** Calendar events for the clinic during the specified timeframe */
1676
+ clinicCalendarEvents: CalendarEvent[];
1677
+ /** Calendar events for the practitioner during the specified timeframe */
1678
+ practitionerCalendarEvents: CalendarEvent[];
1679
+ }
1680
+ /**
1681
+ * Represents a single available booking slot
1682
+ */
1683
+ interface AvailableSlot {
1684
+ /** Start time of the available booking slot */
1685
+ start: Timestamp;
1686
+ }
1687
+ /**
1688
+ * Response with available booking slots
1689
+ */
1690
+ interface BookingAvailabilityResponse {
1691
+ /** Array of available booking slots */
1692
+ availableSlots: AvailableSlot[];
1693
+ }
1694
+ /**
1695
+ * Represents a time interval with start and end times
1696
+ * Used internally for availability calculations
1697
+ */
1698
+ interface TimeInterval {
1699
+ start: Timestamp;
1700
+ end: Timestamp;
1701
+ }
1702
+
1703
+ export { type AppointmentNotification, type AppointmentReminderNotification, type AvailableSlot, BaseMailingService, type BaseNotification, BookingAdmin, type BookingAvailabilityRequest, type BookingAvailabilityResponse, type Clinic, ClinicAggregationService, type ClinicInfo, type ClinicLocation, type DoctorInfo, NOTIFICATIONS_COLLECTION, type Notification, NotificationStatus, NotificationType, NotificationsAdmin, type PatientProfile as Patient, PatientAggregationService, type PostRequirementNotification, type Practitioner, PractitionerAggregationService, PractitionerInviteMailingService, type PractitionerToken, PractitionerTokenStatus, type PreRequirementNotification, type Procedure, ProcedureAggregationService, type ProcedureSummaryInfo, type TimeInterval, UserRole };
@@ -32,7 +32,6 @@ var index_exports = {};
32
32
  __export(index_exports, {
33
33
  BaseMailingService: () => BaseMailingService,
34
34
  BookingAdmin: () => BookingAdmin,
35
- BookingAvailabilityCalculator: () => BookingAvailabilityCalculator,
36
35
  ClinicAggregationService: () => ClinicAggregationService,
37
36
  NOTIFICATIONS_COLLECTION: () => NOTIFICATIONS_COLLECTION,
38
37
  NotificationStatus: () => NotificationStatus,
@@ -1891,14 +1890,8 @@ var PractitionerInviteMailingService = class extends BaseMailingService {
1891
1890
  }
1892
1891
  };
1893
1892
 
1894
- // src/types/index.ts
1895
- var UserRole = /* @__PURE__ */ ((UserRole2) => {
1896
- UserRole2["PATIENT"] = "patient";
1897
- UserRole2["PRACTITIONER"] = "practitioner";
1898
- UserRole2["APP_ADMIN"] = "app_admin";
1899
- UserRole2["CLINIC_ADMIN"] = "clinic_admin";
1900
- return UserRole2;
1901
- })(UserRole || {});
1893
+ // src/admin/booking/booking.admin.ts
1894
+ var admin7 = __toESM(require("firebase-admin"));
1902
1895
 
1903
1896
  // src/admin/booking/booking.calculator.ts
1904
1897
  var import_firestore = require("firebase/firestore");
@@ -2332,7 +2325,6 @@ var BookingAvailabilityCalculator = class {
2332
2325
  BookingAvailabilityCalculator.DEFAULT_INTERVAL_MINUTES = 15;
2333
2326
 
2334
2327
  // src/admin/booking/booking.admin.ts
2335
- var admin7 = __toESM(require("firebase-admin"));
2336
2328
  var BookingAdmin = class {
2337
2329
  /**
2338
2330
  * Creates a new BookingAdmin instance
@@ -2479,13 +2471,21 @@ var BookingAdmin = class {
2479
2471
  }
2480
2472
  };
2481
2473
 
2474
+ // src/types/index.ts
2475
+ var UserRole = /* @__PURE__ */ ((UserRole2) => {
2476
+ UserRole2["PATIENT"] = "patient";
2477
+ UserRole2["PRACTITIONER"] = "practitioner";
2478
+ UserRole2["APP_ADMIN"] = "app_admin";
2479
+ UserRole2["CLINIC_ADMIN"] = "clinic_admin";
2480
+ return UserRole2;
2481
+ })(UserRole || {});
2482
+
2482
2483
  // src/admin/index.ts
2483
2484
  console.log("[Admin Module] Initialized and services exported.");
2484
2485
  // Annotate the CommonJS export names for ESM import in node:
2485
2486
  0 && (module.exports = {
2486
2487
  BaseMailingService,
2487
2488
  BookingAdmin,
2488
- BookingAvailabilityCalculator,
2489
2489
  ClinicAggregationService,
2490
2490
  NOTIFICATIONS_COLLECTION,
2491
2491
  NotificationStatus,
@@ -1843,14 +1843,8 @@ var PractitionerInviteMailingService = class extends BaseMailingService {
1843
1843
  }
1844
1844
  };
1845
1845
 
1846
- // src/types/index.ts
1847
- var UserRole = /* @__PURE__ */ ((UserRole2) => {
1848
- UserRole2["PATIENT"] = "patient";
1849
- UserRole2["PRACTITIONER"] = "practitioner";
1850
- UserRole2["APP_ADMIN"] = "app_admin";
1851
- UserRole2["CLINIC_ADMIN"] = "clinic_admin";
1852
- return UserRole2;
1853
- })(UserRole || {});
1846
+ // src/admin/booking/booking.admin.ts
1847
+ import * as admin7 from "firebase-admin";
1854
1848
 
1855
1849
  // src/admin/booking/booking.calculator.ts
1856
1850
  import { Timestamp } from "firebase/firestore";
@@ -2284,7 +2278,6 @@ var BookingAvailabilityCalculator = class {
2284
2278
  BookingAvailabilityCalculator.DEFAULT_INTERVAL_MINUTES = 15;
2285
2279
 
2286
2280
  // src/admin/booking/booking.admin.ts
2287
- import * as admin7 from "firebase-admin";
2288
2281
  var BookingAdmin = class {
2289
2282
  /**
2290
2283
  * Creates a new BookingAdmin instance
@@ -2431,12 +2424,20 @@ var BookingAdmin = class {
2431
2424
  }
2432
2425
  };
2433
2426
 
2427
+ // src/types/index.ts
2428
+ var UserRole = /* @__PURE__ */ ((UserRole2) => {
2429
+ UserRole2["PATIENT"] = "patient";
2430
+ UserRole2["PRACTITIONER"] = "practitioner";
2431
+ UserRole2["APP_ADMIN"] = "app_admin";
2432
+ UserRole2["CLINIC_ADMIN"] = "clinic_admin";
2433
+ return UserRole2;
2434
+ })(UserRole || {});
2435
+
2434
2436
  // src/admin/index.ts
2435
2437
  console.log("[Admin Module] Initialized and services exported.");
2436
2438
  export {
2437
2439
  BaseMailingService,
2438
2440
  BookingAdmin,
2439
- BookingAvailabilityCalculator,
2440
2441
  ClinicAggregationService,
2441
2442
  NOTIFICATIONS_COLLECTION,
2442
2443
  NotificationStatus,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@blackcode_sa/metaestetics-api",
3
3
  "private": false,
4
- "version": "1.5.33",
4
+ "version": "1.5.34",
5
5
  "description": "Firebase authentication service with anonymous upgrade support",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.mjs",
@@ -27,6 +27,9 @@ import { PatientAggregationService } from "./aggregation/patient/patient.aggrega
27
27
  import { BaseMailingService } from "./mailing/base.mailing.service";
28
28
  import { PractitionerInviteMailingService } from "./mailing/practitionerInvite/practitionerInvite.mailing";
29
29
 
30
+ // Import booking services
31
+ import { BookingAdmin } from "./booking/booking.admin";
32
+
30
33
  // Re-export types
31
34
  export type {
32
35
  Notification,
@@ -69,8 +72,11 @@ export {
69
72
  // Export mailing services
70
73
  export { BaseMailingService, PractitionerInviteMailingService };
71
74
 
72
- // Export booking module
73
- export * from "./booking";
75
+ // Export booking services
76
+ export { BookingAdmin };
77
+
78
+ // Also export booking types
79
+ export * from "./booking/booking.types";
74
80
 
75
81
  /**
76
82
  * Main entry point for the Admin module.