@blackcode_sa/metaestetics-api 1.5.35 → 1.5.36
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/index.d.mts +1829 -1514
- package/dist/index.d.ts +1829 -1514
- package/dist/index.js +2049 -1118
- package/dist/index.mjs +2065 -1123
- package/package.json +1 -1
- package/src/index.ts +26 -0
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { UserRole } from "./types";
|
|
2
2
|
import { Category } from "./backoffice/types/category.types";
|
|
3
|
+
import {
|
|
4
|
+
createAppointmentSchema as appointmentCreateSchema,
|
|
5
|
+
updateAppointmentSchema as appointmentUpdateSchema,
|
|
6
|
+
searchAppointmentsSchema,
|
|
7
|
+
} from "./validations/appointment.schema";
|
|
3
8
|
|
|
4
9
|
// Firebase
|
|
5
10
|
export {
|
|
@@ -27,6 +32,7 @@ export {
|
|
|
27
32
|
export { CalendarServiceV2 } from "./services/calendar/calendar-refactored.service";
|
|
28
33
|
export { SyncedCalendarsService } from "./services/calendar/synced-calendars.service";
|
|
29
34
|
export { ReviewService } from "./services/reviews/reviews.service";
|
|
35
|
+
export { AppointmentService } from "./services/appointment/appointment.service";
|
|
30
36
|
|
|
31
37
|
// Backoffice services
|
|
32
38
|
export { BrandService } from "./backoffice/services/brand.service";
|
|
@@ -54,6 +60,13 @@ export {
|
|
|
54
60
|
} from "./validations/profile-info.schema";
|
|
55
61
|
export { FirebaseErrorCode } from "./errors/firebase.errors";
|
|
56
62
|
|
|
63
|
+
// Appointment schemas
|
|
64
|
+
export {
|
|
65
|
+
appointmentCreateSchema as createAppointmentSchema,
|
|
66
|
+
appointmentUpdateSchema as updateAppointmentSchema,
|
|
67
|
+
searchAppointmentsSchema,
|
|
68
|
+
};
|
|
69
|
+
|
|
57
70
|
// Notification types
|
|
58
71
|
export type {
|
|
59
72
|
Notification,
|
|
@@ -110,6 +123,19 @@ export {
|
|
|
110
123
|
PATIENT_APPOINTMENTS_COLLECTION,
|
|
111
124
|
} from "./types/patient";
|
|
112
125
|
|
|
126
|
+
// Appointment types
|
|
127
|
+
export type {
|
|
128
|
+
Appointment,
|
|
129
|
+
CreateAppointmentData,
|
|
130
|
+
UpdateAppointmentData,
|
|
131
|
+
SearchAppointmentsParams,
|
|
132
|
+
} from "./types/appointment";
|
|
133
|
+
export {
|
|
134
|
+
AppointmentStatus,
|
|
135
|
+
PaymentStatus,
|
|
136
|
+
APPOINTMENTS_COLLECTION,
|
|
137
|
+
} from "./types/appointment";
|
|
138
|
+
|
|
113
139
|
// Allergy tipovi
|
|
114
140
|
export type {
|
|
115
141
|
AllergyTypeWithSubtype,
|