@blackcode_sa/metaestetics-api 1.6.12 → 1.6.13
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 +1 -1
- package/dist/admin/index.d.ts +1 -1
- package/dist/admin/index.js +15 -0
- package/dist/admin/index.mjs +14 -0
- package/package.json +1 -1
- package/src/admin/index.ts +3 -0
package/dist/admin/index.d.mts
CHANGED
|
@@ -2266,4 +2266,4 @@ interface TimeInterval {
|
|
|
2266
2266
|
end: Timestamp;
|
|
2267
2267
|
}
|
|
2268
2268
|
|
|
2269
|
-
export { AppointmentAggregationService, 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, PATIENT_REQUIREMENTS_SUBCOLLECTION_NAME, type PatientProfile as Patient, PatientAggregationService, PatientInstructionStatus, type PatientRequirementInstance, type PatientRequirementInstruction, PatientRequirementOverallStatus, PatientRequirementsAdminService, type PostRequirementNotification, type Practitioner, PractitionerAggregationService, PractitionerInviteMailingService, type PractitionerToken, PractitionerTokenStatus, type PreRequirementNotification, type Procedure, ProcedureAggregationService, type ProcedureSummaryInfo, type TimeInterval, UserRole };
|
|
2269
|
+
export { type Appointment, AppointmentAggregationService, type AppointmentReminderNotification, AppointmentStatus, 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, PATIENT_REQUIREMENTS_SUBCOLLECTION_NAME, type PatientProfile as Patient, PatientAggregationService, PatientInstructionStatus, type PatientRequirementInstance, type PatientRequirementInstruction, PatientRequirementOverallStatus, PatientRequirementsAdminService, type PostRequirementNotification, type Practitioner, PractitionerAggregationService, PractitionerInviteMailingService, type PractitionerToken, PractitionerTokenStatus, type PreRequirementNotification, type Procedure, ProcedureAggregationService, type ProcedureSummaryInfo, type TimeInterval, UserRole };
|
package/dist/admin/index.d.ts
CHANGED
|
@@ -2266,4 +2266,4 @@ interface TimeInterval {
|
|
|
2266
2266
|
end: Timestamp;
|
|
2267
2267
|
}
|
|
2268
2268
|
|
|
2269
|
-
export { AppointmentAggregationService, 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, PATIENT_REQUIREMENTS_SUBCOLLECTION_NAME, type PatientProfile as Patient, PatientAggregationService, PatientInstructionStatus, type PatientRequirementInstance, type PatientRequirementInstruction, PatientRequirementOverallStatus, PatientRequirementsAdminService, type PostRequirementNotification, type Practitioner, PractitionerAggregationService, PractitionerInviteMailingService, type PractitionerToken, PractitionerTokenStatus, type PreRequirementNotification, type Procedure, ProcedureAggregationService, type ProcedureSummaryInfo, type TimeInterval, UserRole };
|
|
2269
|
+
export { type Appointment, AppointmentAggregationService, type AppointmentReminderNotification, AppointmentStatus, 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, PATIENT_REQUIREMENTS_SUBCOLLECTION_NAME, type PatientProfile as Patient, PatientAggregationService, PatientInstructionStatus, type PatientRequirementInstance, type PatientRequirementInstruction, PatientRequirementOverallStatus, PatientRequirementsAdminService, type PostRequirementNotification, type Practitioner, PractitionerAggregationService, PractitionerInviteMailingService, type PractitionerToken, PractitionerTokenStatus, type PreRequirementNotification, type Procedure, ProcedureAggregationService, type ProcedureSummaryInfo, type TimeInterval, UserRole };
|
package/dist/admin/index.js
CHANGED
|
@@ -18256,6 +18256,7 @@ var require_src3 = __commonJS({
|
|
|
18256
18256
|
var index_exports = {};
|
|
18257
18257
|
__export(index_exports, {
|
|
18258
18258
|
AppointmentAggregationService: () => AppointmentAggregationService,
|
|
18259
|
+
AppointmentStatus: () => AppointmentStatus,
|
|
18259
18260
|
BaseMailingService: () => BaseMailingService,
|
|
18260
18261
|
BookingAdmin: () => BookingAdmin,
|
|
18261
18262
|
ClinicAggregationService: () => ClinicAggregationService,
|
|
@@ -18312,6 +18313,19 @@ var admin = __toESM(require("firebase-admin"));
|
|
|
18312
18313
|
var import_expo_server_sdk = require("expo-server-sdk");
|
|
18313
18314
|
|
|
18314
18315
|
// src/types/appointment/index.ts
|
|
18316
|
+
var AppointmentStatus = /* @__PURE__ */ ((AppointmentStatus2) => {
|
|
18317
|
+
AppointmentStatus2["PENDING"] = "pending";
|
|
18318
|
+
AppointmentStatus2["CONFIRMED"] = "confirmed";
|
|
18319
|
+
AppointmentStatus2["CHECKED_IN"] = "checked_in";
|
|
18320
|
+
AppointmentStatus2["IN_PROGRESS"] = "in_progress";
|
|
18321
|
+
AppointmentStatus2["COMPLETED"] = "completed";
|
|
18322
|
+
AppointmentStatus2["CANCELED_PATIENT"] = "canceled_patient";
|
|
18323
|
+
AppointmentStatus2["CANCELED_PATIENT_RESCHEDULED"] = "canceled_patient_rescheduled";
|
|
18324
|
+
AppointmentStatus2["CANCELED_CLINIC"] = "canceled_clinic";
|
|
18325
|
+
AppointmentStatus2["NO_SHOW"] = "no_show";
|
|
18326
|
+
AppointmentStatus2["RESCHEDULED_BY_CLINIC"] = "rescheduled_by_clinic";
|
|
18327
|
+
return AppointmentStatus2;
|
|
18328
|
+
})(AppointmentStatus || {});
|
|
18315
18329
|
var APPOINTMENTS_COLLECTION = "appointments";
|
|
18316
18330
|
|
|
18317
18331
|
// src/types/documentation-templates/index.ts
|
|
@@ -34928,6 +34942,7 @@ console.log("[Admin Module] Initialized and services exported.");
|
|
|
34928
34942
|
// Annotate the CommonJS export names for ESM import in node:
|
|
34929
34943
|
0 && (module.exports = {
|
|
34930
34944
|
AppointmentAggregationService,
|
|
34945
|
+
AppointmentStatus,
|
|
34931
34946
|
BaseMailingService,
|
|
34932
34947
|
BookingAdmin,
|
|
34933
34948
|
ClinicAggregationService,
|
package/dist/admin/index.mjs
CHANGED
|
@@ -18288,6 +18288,19 @@ import * as admin from "firebase-admin";
|
|
|
18288
18288
|
import { Expo } from "expo-server-sdk";
|
|
18289
18289
|
|
|
18290
18290
|
// src/types/appointment/index.ts
|
|
18291
|
+
var AppointmentStatus = /* @__PURE__ */ ((AppointmentStatus2) => {
|
|
18292
|
+
AppointmentStatus2["PENDING"] = "pending";
|
|
18293
|
+
AppointmentStatus2["CONFIRMED"] = "confirmed";
|
|
18294
|
+
AppointmentStatus2["CHECKED_IN"] = "checked_in";
|
|
18295
|
+
AppointmentStatus2["IN_PROGRESS"] = "in_progress";
|
|
18296
|
+
AppointmentStatus2["COMPLETED"] = "completed";
|
|
18297
|
+
AppointmentStatus2["CANCELED_PATIENT"] = "canceled_patient";
|
|
18298
|
+
AppointmentStatus2["CANCELED_PATIENT_RESCHEDULED"] = "canceled_patient_rescheduled";
|
|
18299
|
+
AppointmentStatus2["CANCELED_CLINIC"] = "canceled_clinic";
|
|
18300
|
+
AppointmentStatus2["NO_SHOW"] = "no_show";
|
|
18301
|
+
AppointmentStatus2["RESCHEDULED_BY_CLINIC"] = "rescheduled_by_clinic";
|
|
18302
|
+
return AppointmentStatus2;
|
|
18303
|
+
})(AppointmentStatus || {});
|
|
18291
18304
|
var APPOINTMENTS_COLLECTION = "appointments";
|
|
18292
18305
|
|
|
18293
18306
|
// src/types/documentation-templates/index.ts
|
|
@@ -34903,6 +34916,7 @@ var BookingAdmin = class {
|
|
|
34903
34916
|
console.log("[Admin Module] Initialized and services exported.");
|
|
34904
34917
|
export {
|
|
34905
34918
|
AppointmentAggregationService,
|
|
34919
|
+
AppointmentStatus,
|
|
34906
34920
|
BaseMailingService,
|
|
34907
34921
|
BookingAdmin,
|
|
34908
34922
|
ClinicAggregationService,
|
package/package.json
CHANGED
package/src/admin/index.ts
CHANGED
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
import { DoctorInfo } from "../types/clinic";
|
|
13
13
|
import { Procedure, ProcedureSummaryInfo } from "../types/procedure";
|
|
14
14
|
import { PatientProfile } from "../types/patient";
|
|
15
|
+
import { Appointment, AppointmentStatus } from "../types/appointment";
|
|
15
16
|
|
|
16
17
|
// Explicitly import the services to re-export them by name
|
|
17
18
|
import { ClinicAggregationService } from "./aggregation/clinic/clinic.aggregation.service";
|
|
@@ -46,6 +47,7 @@ export type { Practitioner, PractitionerToken } from "../types/practitioner";
|
|
|
46
47
|
export type { DoctorInfo } from "../types/clinic";
|
|
47
48
|
export type { Procedure, ProcedureSummaryInfo } from "../types/procedure";
|
|
48
49
|
export type { PatientProfile as Patient } from "../types/patient";
|
|
50
|
+
export type { Appointment } from "../types/appointment";
|
|
49
51
|
|
|
50
52
|
// Re-export enums/consts
|
|
51
53
|
export {
|
|
@@ -55,6 +57,7 @@ export {
|
|
|
55
57
|
} from "../types/notifications";
|
|
56
58
|
export { UserRole } from "../types";
|
|
57
59
|
export { PractitionerTokenStatus } from "../types/practitioner";
|
|
60
|
+
export { AppointmentStatus } from "../types/appointment";
|
|
58
61
|
|
|
59
62
|
// Export admin classes/services explicitly by name
|
|
60
63
|
export {
|