@blackcode_sa/metaestetics-api 1.5.3 → 1.5.6

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.
Files changed (32) hide show
  1. package/dist/backoffice/index.d.mts +1306 -63
  2. package/dist/backoffice/index.d.ts +1306 -63
  3. package/dist/backoffice/index.js +35 -26
  4. package/dist/backoffice/index.mjs +35 -26
  5. package/dist/index.d.mts +165 -8
  6. package/dist/index.d.ts +165 -8
  7. package/dist/index.js +726 -414
  8. package/dist/index.mjs +772 -451
  9. package/package.json +1 -1
  10. package/src/backoffice/services/brand.service.ts +2 -4
  11. package/src/backoffice/services/category.service.ts +2 -7
  12. package/src/backoffice/services/product.service.ts +5 -7
  13. package/src/backoffice/services/requirement.service.ts +6 -7
  14. package/src/backoffice/services/subcategory.service.ts +11 -8
  15. package/src/backoffice/services/technology.service.ts +6 -11
  16. package/src/backoffice/types/brand.types.ts +5 -0
  17. package/src/backoffice/types/category.types.ts +5 -0
  18. package/src/backoffice/types/documentation-templates.types.ts +4 -0
  19. package/src/backoffice/types/product.types.ts +5 -0
  20. package/src/backoffice/types/requirement.types.ts +5 -0
  21. package/src/backoffice/types/subcategory.types.ts +5 -0
  22. package/src/backoffice/types/technology.types.ts +10 -0
  23. package/src/backoffice/validations/schemas.ts +2 -0
  24. package/src/errors/auth.errors.ts +7 -0
  25. package/src/index.ts +59 -70
  26. package/src/services/auth.service.ts +94 -0
  27. package/src/services/clinic/clinic.service.ts +6 -0
  28. package/src/services/documentation-templates/documentation-template.service.ts +4 -1
  29. package/src/services/procedure/procedure.service.ts +238 -0
  30. package/src/types/documentation-templates/index.ts +5 -0
  31. package/src/types/procedure/index.ts +104 -0
  32. package/src/validations/procedure.schema.ts +58 -0
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.3",
4
+ "version": "1.5.6",
5
5
  "description": "Firebase authentication service with anonymous upgrade support",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.mjs",
@@ -8,14 +8,12 @@ import {
8
8
  updateDoc,
9
9
  where,
10
10
  } from "firebase/firestore";
11
- import { Brand } from "../types/brand.types";
11
+ import { Brand, BRANDS_COLLECTION } from "../types/brand.types";
12
12
  import { BaseService } from "../../services/base.service";
13
13
 
14
- const COLLECTION = "backoffice_brands";
15
-
16
14
  export class BrandService extends BaseService {
17
15
  private get brandsRef() {
18
- return collection(this.db, COLLECTION);
16
+ return collection(this.db, BRANDS_COLLECTION);
19
17
  }
20
18
 
21
19
  async create(brand: Omit<Brand, "id" | "createdAt" | "updatedAt">) {
@@ -8,15 +8,10 @@ import {
8
8
  updateDoc,
9
9
  where,
10
10
  } from "firebase/firestore";
11
- import { Category } from "../types/category.types";
11
+ import { Category, CATEGORIES_COLLECTION } from "../types/category.types";
12
12
  import { BaseService } from "../../services/base.service";
13
13
  import { ProcedureFamily } from "../types/static/procedure-family.types";
14
14
 
15
- /**
16
- * Kolekcija u Firestore bazi gde se čuvaju kategorije
17
- */
18
- const COLLECTION = "backoffice_categories";
19
-
20
15
  /**
21
16
  * Servis za upravljanje kategorijama procedura.
22
17
  * Kategorije su prvi nivo organizacije nakon procedure family (aesthetics/surgery).
@@ -35,7 +30,7 @@ export class CategoryService extends BaseService {
35
30
  * Referenca na Firestore kolekciju kategorija
36
31
  */
37
32
  private get categoriesRef() {
38
- return collection(this.db, COLLECTION);
33
+ return collection(this.db, CATEGORIES_COLLECTION);
39
34
  }
40
35
 
41
36
  /**
@@ -9,14 +9,12 @@ import {
9
9
  updateDoc,
10
10
  where,
11
11
  } from "firebase/firestore";
12
- import { Product } from "../types/product.types";
12
+ import { Product, PRODUCTS_COLLECTION } from "../types/product.types";
13
13
  import { BaseService } from "../../services/base.service";
14
-
15
- const CATEGORIES_COLLECTION = "backoffice_categories";
16
- const SUBCATEGORIES_COLLECTION = "subcategories";
17
- const TECHNOLOGIES_COLLECTION = "technologies";
18
- const PRODUCTS_COLLECTION = "products";
19
- const BRANDS_COLLECTION = "backoffice_brands";
14
+ import { CATEGORIES_COLLECTION } from "../types/category.types";
15
+ import { BRANDS_COLLECTION } from "../types/brand.types";
16
+ import { SUBCATEGORIES_COLLECTION } from "../types/subcategory.types";
17
+ import { TECHNOLOGIES_COLLECTION } from "../types/technology.types";
20
18
 
21
19
  export class ProductService extends BaseService {
22
20
  private getProductsRefByTechnology(
@@ -8,14 +8,13 @@ import {
8
8
  updateDoc,
9
9
  where,
10
10
  } from "firebase/firestore";
11
- import { Requirement, RequirementType } from "../types/requirement.types";
11
+ import {
12
+ Requirement,
13
+ RequirementType,
14
+ REQUIREMENTS_COLLECTION,
15
+ } from "../types/requirement.types";
12
16
  import { BaseService } from "../../services/base.service";
13
17
 
14
- /**
15
- * Kolekcija u Firestore bazi gde se čuvaju globalni zahtevi
16
- */
17
- const COLLECTION = "backoffice_requirements";
18
-
19
18
  /**
20
19
  * Servis za upravljanje globalnim zahtevima.
21
20
  * Zahtevi se mogu kreirati globalno i zatim povezati sa različitim tehnologijama.
@@ -42,7 +41,7 @@ export class RequirementService extends BaseService {
42
41
  * Referenca na Firestore kolekciju zahteva
43
42
  */
44
43
  private get requirementsRef() {
45
- return collection(this.db, COLLECTION);
44
+ return collection(this.db, REQUIREMENTS_COLLECTION);
46
45
  }
47
46
 
48
47
  /**
@@ -8,14 +8,12 @@ import {
8
8
  updateDoc,
9
9
  where,
10
10
  } from "firebase/firestore";
11
- import { Subcategory } from "../types/subcategory.types";
11
+ import {
12
+ Subcategory,
13
+ SUBCATEGORIES_COLLECTION,
14
+ } from "../types/subcategory.types";
12
15
  import { BaseService } from "../../services/base.service";
13
-
14
- /**
15
- * Kolekcije u Firestore bazi
16
- */
17
- const COLLECTION = "backoffice_categories";
18
- const SUB_COLLECTION = "subcategories";
16
+ import { CATEGORIES_COLLECTION } from "../types/category.types";
19
17
 
20
18
  /**
21
19
  * Servis za upravljanje podkategorijama procedura.
@@ -36,7 +34,12 @@ export class SubcategoryService extends BaseService {
36
34
  * @param categoryId - ID roditeljske kategorije
37
35
  */
38
36
  private getSubcategoriesRef(categoryId: string) {
39
- return collection(this.db, COLLECTION, categoryId, SUB_COLLECTION);
37
+ return collection(
38
+ this.db,
39
+ CATEGORIES_COLLECTION,
40
+ categoryId,
41
+ SUBCATEGORIES_COLLECTION
42
+ );
40
43
  }
41
44
 
42
45
  /**
@@ -11,7 +11,7 @@ import {
11
11
  arrayRemove,
12
12
  Firestore,
13
13
  } from "firebase/firestore";
14
- import { Technology } from "../types/technology.types";
14
+ import { Technology, TECHNOLOGIES_COLLECTION } from "../types/technology.types";
15
15
  import { Requirement, RequirementType } from "../types/requirement.types";
16
16
  import { BlockingCondition } from "../types/static/blocking-condition.types";
17
17
  import { Contraindication } from "../types/static/contraindication.types";
@@ -22,13 +22,8 @@ import {
22
22
  CertificationRequirement,
23
23
  } from "../types/static/certification.types";
24
24
  import { BaseService } from "../../services/base.service";
25
-
26
- /**
27
- * Kolekcije u Firestore bazi
28
- */
29
- const COLLECTION = "backoffice_categories";
30
- const SUB_COLLECTION_SUBCATEGORIES = "subcategories";
31
- const SUB_COLLECTION_TECHNOLOGIES = "technologies";
25
+ import { SUBCATEGORIES_COLLECTION } from "../types/subcategory.types";
26
+ import { CATEGORIES_COLLECTION } from "../types/category.types";
32
27
 
33
28
  /**
34
29
  * Default vrednosti za sertifikaciju
@@ -68,11 +63,11 @@ export class TechnologyService extends BaseService {
68
63
  private getTechnologiesRef(categoryId: string, subcategoryId: string) {
69
64
  return collection(
70
65
  this.db,
71
- COLLECTION,
66
+ CATEGORIES_COLLECTION,
72
67
  categoryId,
73
- SUB_COLLECTION_SUBCATEGORIES,
68
+ SUBCATEGORIES_COLLECTION,
74
69
  subcategoryId,
75
- SUB_COLLECTION_TECHNOLOGIES
70
+ TECHNOLOGIES_COLLECTION
76
71
  );
77
72
  }
78
73
 
@@ -21,3 +21,8 @@ export interface Brand {
21
21
  website?: string;
22
22
  description?: string;
23
23
  }
24
+
25
+ /**
26
+ * Kolekcija u Firestore bazi gde se čuvaju brendovi
27
+ */
28
+ export const BRANDS_COLLECTION = "brands";
@@ -29,3 +29,8 @@ export interface Category {
29
29
  /** Flag koji označava da li je kategorija aktivna */
30
30
  isActive: boolean;
31
31
  }
32
+
33
+ /**
34
+ * Kolekcija u Firestore bazi gde se čuvaju kategorije
35
+ */
36
+ export const CATEGORIES_COLLECTION = "backoffice_categories";
@@ -7,6 +7,8 @@ import {
7
7
  HeadingLevel,
8
8
  ListType,
9
9
  DynamicVariable,
10
+ DOCUMENTATION_TEMPLATES_COLLECTION,
11
+ FILLED_DOCUMENTS_COLLECTION,
10
12
  } from "../../types/documentation-templates";
11
13
 
12
14
  /**
@@ -22,3 +24,5 @@ export {
22
24
  ListType,
23
25
  DynamicVariable,
24
26
  };
27
+
28
+ export { DOCUMENTATION_TEMPLATES_COLLECTION, FILLED_DOCUMENTS_COLLECTION };
@@ -33,3 +33,8 @@ export interface Product {
33
33
  indications?: string[];
34
34
  contraindications?: string[];
35
35
  }
36
+
37
+ /**
38
+ * Kolekcija u Firestore bazi gde se čuvaju proizvodi
39
+ */
40
+ export const PRODUCTS_COLLECTION = "products";
@@ -56,3 +56,8 @@ export interface Requirement {
56
56
  createdAt: Date;
57
57
  updatedAt: Date;
58
58
  }
59
+
60
+ /**
61
+ * Kolekcija u Firestore bazi gde se čuvaju globalni zahtevi
62
+ */
63
+ export const REQUIREMENTS_COLLECTION = "backoffice_requirements";
@@ -27,3 +27,8 @@ export interface Subcategory {
27
27
  /** Datum poslednjeg ažuriranja podkategorije */
28
28
  updatedAt: Date;
29
29
  }
30
+
31
+ /**
32
+ * Kolekcija u Firestore bazi gde se čuvaju podkategorije
33
+ */
34
+ export const SUBCATEGORIES_COLLECTION = "subcategories";
@@ -3,6 +3,7 @@ import { BlockingCondition } from "./static/blocking-condition.types";
3
3
  import { Contraindication } from "./static/contraindication.types";
4
4
  import { TreatmentBenefit } from "./static/treatment-benefit.types";
5
5
  import { CertificationRequirement } from "./static/certification.types";
6
+ import { DocumentTemplate } from "../../types/documentation-templates";
6
7
 
7
8
  /**
8
9
  * Zahtevi koji su povezani sa tehnologijom
@@ -29,6 +30,7 @@ export interface TechnologyRequirements {
29
30
  * @property contraindications - List of conditions requiring special attention
30
31
  * @property benefits - List of expected benefits from the procedure
31
32
  * @property certificationRequirement - Required certification level and specialties
33
+ * @property documentationTemplates - List of documentation templates required for this technology
32
34
  * @property isActive - Whether the technology is active in the system
33
35
  * @property createdAt - Creation date
34
36
  * @property updatedAt - Last update date
@@ -66,6 +68,9 @@ export interface Technology {
66
68
  /** Potrebna sertifikacija za korišćenje tehnologije */
67
69
  certificationRequirement: CertificationRequirement;
68
70
 
71
+ /** Dokumentacioni šabloni potrebni za ovu tehnologiju */
72
+ documentationTemplates?: DocumentTemplate[];
73
+
69
74
  /** Da li je tehnologija trenutno aktivna */
70
75
  isActive: boolean;
71
76
 
@@ -75,3 +80,8 @@ export interface Technology {
75
80
  /** Datum poslednjeg ažuriranja */
76
81
  updatedAt: Date;
77
82
  }
83
+
84
+ /**
85
+ * Kolekcija u Firestore bazi gde se čuvaju tehnologije
86
+ */
87
+ export const TECHNOLOGIES_COLLECTION = "technologies";
@@ -13,6 +13,7 @@ import {
13
13
  HeadingLevel,
14
14
  ListType,
15
15
  } from "../types/documentation-templates.types";
16
+ import { documentTemplateSchema } from "../../validations/documentation-templates.schema";
16
17
 
17
18
  /**
18
19
  * Base validation schemas for enums
@@ -87,6 +88,7 @@ export const technologySchema = z.object({
87
88
  }),
88
89
  blockingConditions: z.array(blockingConditionSchema),
89
90
  contraindications: z.array(contraindicationSchema),
91
+ documentationTemplates: z.array(documentTemplateSchema),
90
92
  benefits: z.array(treatmentBenefitSchema),
91
93
  certificationRequirement: certificationRequirementSchema,
92
94
  isActive: z.boolean().default(true),
@@ -134,6 +134,13 @@ export const AUTH_ERRORS = {
134
134
  401
135
135
  ),
136
136
 
137
+ // Resource not found
138
+ NOT_FOUND: new AuthError(
139
+ "The requested resource was not found",
140
+ "AUTH/NOT_FOUND",
141
+ 404
142
+ ),
143
+
137
144
  // Detailed password validation errors
138
145
  PASSWORD_LENGTH_ERROR: new AuthError(
139
146
  "Password must be at least 8 characters long",
package/src/index.ts CHANGED
@@ -1,4 +1,5 @@
1
- import { UserRole } from "./types";
1
+ import { UserRole } from './types';
2
+ import { Category } from './backoffice/types/category.types';
2
3
 
3
4
  // Firebase
4
5
  export {
@@ -7,42 +8,43 @@ export {
7
8
  getFirebaseAuth,
8
9
  getFirebaseDB,
9
10
  getFirebaseApp,
10
- } from "./config/firebase";
11
+ } from './config/firebase';
11
12
 
12
13
  // Services
13
- export { AuthService } from "./services/auth.service";
14
- export { UserService } from "./services/user.service";
15
- export { NotificationService } from "./services/notifications/notification.service";
16
- export { PatientService } from "./services/patient/patient.service";
17
- export { PractitionerService } from "./services/practitioner/practitioner.service";
18
- export { ClinicService } from "./services/clinic/clinic.service";
19
- export { ClinicAdminService } from "./services/clinic/clinic-admin.service";
20
- export { ClinicGroupService } from "./services/clinic/clinic-group.service";
14
+ export { AuthService } from './services/auth.service';
15
+ export { UserService } from './services/user.service';
16
+ export { NotificationService } from './services/notifications/notification.service';
17
+ export { PatientService } from './services/patient/patient.service';
18
+ export { PractitionerService } from './services/practitioner/practitioner.service';
19
+ export { ProcedureService } from './services/procedure/procedure.service';
20
+ export { ClinicService } from './services/clinic/clinic.service';
21
+ export { ClinicAdminService } from './services/clinic/clinic-admin.service';
22
+ export { ClinicGroupService } from './services/clinic/clinic-group.service';
21
23
  export {
22
24
  DocumentationTemplateService,
23
25
  FilledDocumentService,
24
- } from "./services/documentation-templates";
25
- export { CalendarServiceV2 } from "./services/calendar/calendar-refactored.service";
26
- export { SyncedCalendarsService } from "./services/calendar/synced-calendars.service";
26
+ } from './services/documentation-templates';
27
+ export { CalendarServiceV2 } from './services/calendar/calendar-refactored.service';
28
+ export { SyncedCalendarsService } from './services/calendar/synced-calendars.service';
27
29
 
28
30
  // Types
29
- export type { User, UserRole, CreateUserData, FirebaseUser } from "./types";
30
- export { AUTH_ERRORS } from "./errors/auth.errors";
31
- export { USER_ERRORS } from "./errors/user.errors";
32
- export type { AuthError } from "./errors/auth.errors";
33
- export * from "./validations/schemas";
34
- export * from "./validations/notification.schema";
35
- export * from "./validations/patient.schema";
36
- export * from "./validations/practitioner.schema";
37
- export * from "./validations/clinic.schema";
38
- export * from "./validations/patient/medical-info.schema";
39
- export * from "./validations/documentation-templates.schema";
40
- export * from "./validations/calendar.schema";
31
+ export type { User, UserRole, CreateUserData, FirebaseUser } from './types';
32
+ export { AUTH_ERRORS } from './errors/auth.errors';
33
+ export { USER_ERRORS } from './errors/user.errors';
34
+ export type { AuthError } from './errors/auth.errors';
35
+ export * from './validations/schemas';
36
+ export * from './validations/notification.schema';
37
+ export * from './validations/patient.schema';
38
+ export * from './validations/practitioner.schema';
39
+ export * from './validations/clinic.schema';
40
+ export * from './validations/patient/medical-info.schema';
41
+ export * from './validations/documentation-templates.schema';
42
+ export * from './validations/calendar.schema';
41
43
  export {
42
44
  practitionerProfileInfoSchema,
43
45
  patientProfileInfoSchema,
44
- } from "./validations/profile-info.schema";
45
- export { FirebaseErrorCode } from "./errors/firebase.errors";
46
+ } from './validations/profile-info.schema';
47
+ export { FirebaseErrorCode } from './errors/firebase.errors';
46
48
 
47
49
  // Notification types
48
50
  export type {
@@ -52,8 +54,8 @@ export type {
52
54
  PostRequirementNotification,
53
55
  AppointmentReminderNotification,
54
56
  AppointmentNotification,
55
- } from "./types/notifications";
56
- export { NotificationType, NotificationStatus } from "./types/notifications";
57
+ } from './types/notifications';
58
+ export { NotificationType, NotificationStatus } from './types/notifications';
57
59
 
58
60
  // Patient types
59
61
  export type {
@@ -87,7 +89,7 @@ export type {
87
89
  UpdateMedicationData,
88
90
  Allergy,
89
91
  PatientProfileComplete,
90
- } from "./types/patient";
92
+ } from './types/patient';
91
93
  export {
92
94
  Gender,
93
95
  PATIENTS_COLLECTION,
@@ -96,13 +98,10 @@ export {
96
98
  PATIENT_LOCATION_INFO_COLLECTION,
97
99
  PATIENT_MEDICAL_HISTORY_COLLECTION,
98
100
  PATIENT_APPOINTMENTS_COLLECTION,
99
- } from "./types/patient";
101
+ } from './types/patient';
100
102
 
101
103
  // Allergy tipovi
102
- export type {
103
- AllergyTypeWithSubtype,
104
- AllergySubtype,
105
- } from "./types/patient/allergies";
104
+ export type { AllergyTypeWithSubtype, AllergySubtype } from './types/patient/allergies';
106
105
 
107
106
  export {
108
107
  AllergyType,
@@ -110,7 +109,7 @@ export {
110
109
  FoodAllergySubtype,
111
110
  EnvironmentalAllergySubtype,
112
111
  CosmeticAllergySubtype,
113
- } from "./types/patient/allergies";
112
+ } from './types/patient/allergies';
114
113
 
115
114
  // Practitioner types
116
115
  export type {
@@ -126,13 +125,13 @@ export type {
126
125
  CreateDraftPractitionerData,
127
126
  PractitionerToken,
128
127
  CreatePractitionerTokenData,
129
- } from "./types/practitioner";
128
+ } from './types/practitioner';
130
129
  export {
131
130
  PRACTITIONERS_COLLECTION,
132
131
  REGISTER_TOKENS_COLLECTION,
133
132
  PractitionerStatus,
134
133
  PractitionerTokenStatus,
135
- } from "./types/practitioner";
134
+ } from './types/practitioner';
136
135
 
137
136
  // Clinic types
138
137
  export type {
@@ -161,7 +160,7 @@ export type {
161
160
  CreateDefaultClinicGroupData,
162
161
  ClinicGroupSetupData,
163
162
  ClinicBranchSetupData,
164
- } from "./types/clinic";
163
+ } from './types/clinic';
165
164
  export {
166
165
  CLINICS_COLLECTION,
167
166
  CLINIC_GROUPS_COLLECTION,
@@ -172,14 +171,10 @@ export {
172
171
  ClinicPhotoTag,
173
172
  AdminTokenStatus,
174
173
  SubscriptionModel,
175
- } from "./types/clinic";
174
+ } from './types/clinic';
176
175
 
177
176
  // Profile info types
178
- export type {
179
- ClinicInfo,
180
- PractitionerProfileInfo,
181
- PatientProfileInfo,
182
- } from "./types/profile";
177
+ export type { ClinicInfo, PractitionerProfileInfo, PatientProfileInfo } from './types/profile';
183
178
 
184
179
  // Calendar types
185
180
  export type {
@@ -193,62 +188,59 @@ export type {
193
188
  SyncedCalendarEvent,
194
189
  CreateAppointmentParams,
195
190
  UpdateAppointmentParams,
196
- } from "./types/calendar";
191
+ } from './types/calendar';
197
192
 
198
193
  export {
199
194
  CalendarEventStatus,
200
195
  CalendarEventType,
201
196
  CalendarSyncStatus,
202
197
  CALENDAR_COLLECTION,
203
- } from "./types/calendar";
198
+ } from './types/calendar';
204
199
 
205
200
  // Synced calendar types
206
201
  export type {
207
202
  SyncedCalendar,
208
203
  CreateSyncedCalendarData,
209
204
  UpdateSyncedCalendarData,
210
- } from "./types/calendar/synced-calendar.types";
205
+ } from './types/calendar/synced-calendar.types';
211
206
 
212
207
  export {
213
208
  SyncedCalendarProvider,
214
209
  SYNCED_CALENDARS_COLLECTION,
215
- } from "./types/calendar/synced-calendar.types";
210
+ } from './types/calendar/synced-calendar.types';
216
211
 
217
212
  // Certification types
218
213
 
219
214
  // Brand types
220
- export type { Brand } from "./backoffice/types/brand.types";
215
+ export type { Brand } from './backoffice/types/brand.types';
221
216
 
222
217
  // Category types
223
- export type { Category } from "./backoffice/types/category.types";
218
+ export type { Category } from './backoffice/types/category.types';
224
219
 
225
220
  // Product types
226
- export type { Product } from "./backoffice/types/product.types";
221
+ export type { Product } from './backoffice/types/product.types';
227
222
 
228
223
  // Requirement types
229
- export type { Requirement } from "./backoffice/types/requirement.types";
224
+ export type { Requirement } from './backoffice/types/requirement.types';
230
225
 
231
226
  // Subcategory types
232
- export type { Subcategory } from "./backoffice/types/subcategory.types";
227
+ export type { Subcategory } from './backoffice/types/subcategory.types';
233
228
 
234
229
  // Technology types
235
- export type { Technology } from "./backoffice/types/technology.types";
230
+ export type { Technology } from './backoffice/types/technology.types';
236
231
 
237
232
  // Pricing enums
238
- export {
239
- PricingMeasure,
240
- Currency,
241
- } from "./backoffice/types/static/pricing.types";
233
+ export { PricingMeasure, Currency } from './backoffice/types/static/pricing.types';
242
234
 
243
235
  // Static types
244
- export { BlockingCondition } from "./backoffice/types/static/blocking-condition.types";
236
+ export { BlockingCondition } from './backoffice/types/static/blocking-condition.types';
245
237
  export {
246
238
  CertificationSpecialty,
247
239
  CertificationLevel,
248
- } from "./backoffice/types/static/certification.types";
249
- export { Contraindication } from "./backoffice/types/static/contraindication.types";
250
- export { ProcedureFamily } from "./backoffice/types/static/procedure-family.types";
251
- export { TreatmentBenefit } from "./backoffice/types/static/treatment-benefit.types";
240
+ } from './backoffice/types/static/certification.types';
241
+ export { Contraindication } from './backoffice/types/static/contraindication.types';
242
+ export { ProcedureFamily } from './backoffice/types/static/procedure-family.types';
243
+ export { TreatmentBenefit } from './backoffice/types/static/treatment-benefit.types';
252
244
 
253
245
  // Documentation Templates types
254
246
  export type {
@@ -257,15 +249,12 @@ export type {
257
249
  UpdateDocumentTemplateData,
258
250
  DocumentElement,
259
251
  FilledDocument,
260
- } from "./types/documentation-templates";
252
+ } from './types/documentation-templates';
261
253
  export {
262
254
  DocumentElementType,
263
255
  HeadingLevel,
264
256
  ListType,
265
257
  DynamicVariable,
266
258
  FilledDocumentStatus,
267
- } from "./types/documentation-templates";
268
- export {
269
- DOCUMENTATION_TEMPLATES_COLLECTION,
270
- FILLED_DOCUMENTS_COLLECTION,
271
- } from "./types";
259
+ } from './types/documentation-templates';
260
+ export { DOCUMENTATION_TEMPLATES_COLLECTION, FILLED_DOCUMENTS_COLLECTION } from './types';