@blackcode_sa/metaestetics-api 1.5.16 → 1.5.18

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 CHANGED
@@ -356,7 +356,7 @@ interface PractitionerBasicInfo {
356
356
  email: string;
357
357
  phoneNumber: string;
358
358
  dateOfBirth: Timestamp;
359
- gender: "male" | "female" | "other";
359
+ gender: 'male' | 'female' | 'other';
360
360
  profileImageUrl?: string;
361
361
  bio?: string;
362
362
  languages: string[];
@@ -371,7 +371,7 @@ interface PractitionerCertification {
371
371
  issuingAuthority: string;
372
372
  issueDate: Timestamp;
373
373
  expiryDate?: Timestamp;
374
- verificationStatus: "pending" | "verified" | "rejected";
374
+ verificationStatus: 'pending' | 'verified' | 'rejected';
375
375
  }
376
376
  /**
377
377
  * Interfejs za radno vreme zdravstvenog radnika u klinici
@@ -910,6 +910,8 @@ interface PatientProfile {
910
910
  dateOfBirth?: Timestamp | null;
911
911
  doctors: PatientDoctor[];
912
912
  clinics: PatientClinic[];
913
+ doctorIds: string[];
914
+ clinicIds: string[];
913
915
  createdAt: Timestamp;
914
916
  updatedAt: Timestamp;
915
917
  }
@@ -925,13 +927,37 @@ interface CreatePatientProfileData {
925
927
  isVerified: boolean;
926
928
  doctors?: PatientDoctor[];
927
929
  clinics?: PatientClinic[];
930
+ doctorIds?: string[];
931
+ clinicIds?: string[];
928
932
  }
929
933
  /**
930
934
  * Tip za ažuriranje Patient profila
931
935
  */
932
- interface UpdatePatientProfileData extends Partial<CreatePatientProfileData> {
936
+ interface UpdatePatientProfileData extends Partial<Omit<PatientProfile, "id" | "createdAt" | "updatedAt">> {
933
937
  updatedAt?: FieldValue;
934
938
  }
939
+ /**
940
+ * Parameters for searching patient profiles.
941
+ */
942
+ interface SearchPatientsParams {
943
+ /** Optional: Filter patients associated with this clinic ID. */
944
+ clinicId?: string;
945
+ /** Optional: Filter patients associated with this practitioner ID. */
946
+ practitionerId?: string;
947
+ }
948
+ /**
949
+ * Information about the entity requesting the patient search.
950
+ */
951
+ interface RequesterInfo {
952
+ /** ID of the clinic admin user or practitioner user making the request. */
953
+ id: string;
954
+ /** Role of the requester, determining the search context. */
955
+ role: "clinic_admin" | "practitioner";
956
+ /** If role is 'clinic_admin', this is the associated clinic ID. */
957
+ associatedClinicId?: string;
958
+ /** If role is 'practitioner', this is the associated practitioner profile ID. */
959
+ associatedPractitionerId?: string;
960
+ }
935
961
 
936
962
  interface PatientProfileComplete {
937
963
  patientProfile?: PatientProfile;
@@ -3499,8 +3525,8 @@ declare class CategoryService extends BaseService {
3499
3525
  isActive: boolean;
3500
3526
  updatedAt: Date;
3501
3527
  name: string;
3502
- description: string;
3503
3528
  createdAt: Date;
3529
+ description: string;
3504
3530
  family: ProcedureFamily;
3505
3531
  id: string;
3506
3532
  }>;
@@ -3564,8 +3590,8 @@ declare class SubcategoryService extends BaseService {
3564
3590
  isActive: boolean;
3565
3591
  updatedAt: Date;
3566
3592
  name: string;
3567
- description?: string | undefined;
3568
3593
  createdAt: Date;
3594
+ description?: string | undefined;
3569
3595
  categoryId: string;
3570
3596
  id: string;
3571
3597
  }>;
@@ -3638,8 +3664,8 @@ declare class TechnologyService extends BaseService {
3638
3664
  blockingConditions: BlockingCondition[];
3639
3665
  contraindications: Contraindication[];
3640
3666
  name: string;
3641
- description: string;
3642
3667
  createdAt: Date;
3668
+ description: string;
3643
3669
  technicalDetails?: string | undefined;
3644
3670
  family: ProcedureFamily;
3645
3671
  categoryId: string;
@@ -3859,8 +3885,8 @@ declare class BrandService extends BaseService {
3859
3885
  isActive: boolean;
3860
3886
  updatedAt: Date;
3861
3887
  name: string;
3862
- description?: string | undefined;
3863
3888
  createdAt: Date;
3889
+ description?: string | undefined;
3864
3890
  manufacturer: string;
3865
3891
  website?: string | undefined;
3866
3892
  id: string;
@@ -4131,6 +4157,44 @@ interface UpdateAppointmentParams {
4131
4157
  * Collection names for calendar
4132
4158
  */
4133
4159
  declare const CALENDAR_COLLECTION = "calendar";
4160
+ /**
4161
+ * Enum for specifying the primary search location for calendar events
4162
+ */
4163
+ declare enum SearchLocationEnum {
4164
+ PRACTITIONER = "practitioner",
4165
+ PATIENT = "patient",
4166
+ CLINIC = "clinic"
4167
+ }
4168
+ /**
4169
+ * Interface for defining a date range
4170
+ */
4171
+ interface DateRange {
4172
+ start: Timestamp;
4173
+ end: Timestamp;
4174
+ }
4175
+ /**
4176
+ * Interface for general calendar event search parameters
4177
+ */
4178
+ interface SearchCalendarEventsParams {
4179
+ /** The primary location to search within (practitioner, patient, or clinic calendar). */
4180
+ searchLocation: SearchLocationEnum;
4181
+ /** The ID of the entity (practitioner, patient, or clinic) whose calendar/events are being searched. */
4182
+ entityId: string;
4183
+ /** Optional filter for clinic ID. If searchLocation is CLINIC, this is implicitly applied using entityId. */
4184
+ clinicId?: string;
4185
+ /** Optional filter for practitioner ID. */
4186
+ practitionerId?: string;
4187
+ /** Optional filter for patient ID. */
4188
+ patientId?: string;
4189
+ /** Optional filter for procedure ID. */
4190
+ procedureId?: string;
4191
+ /** Optional filter for a specific date range (based on event start time). */
4192
+ dateRange?: DateRange;
4193
+ /** Optional filter for event status. */
4194
+ eventStatus?: CalendarEventStatus;
4195
+ /** Optional filter for event type. */
4196
+ eventType?: CalendarEventType;
4197
+ }
4134
4198
 
4135
4199
  declare enum UserRole {
4136
4200
  PATIENT = "patient",
@@ -4210,8 +4274,29 @@ declare class PatientService extends BaseService {
4210
4274
  uploadProfilePhoto(patientId: string, file: File): Promise<string>;
4211
4275
  updateProfilePhoto(patientId: string, file: File): Promise<string>;
4212
4276
  deleteProfilePhoto(patientId: string): Promise<void>;
4213
- updatePatientProfile(patientId: string, data: Partial<Omit<PatientProfile, "id" | "createdAt" | "updatedAt">>): Promise<PatientProfile>;
4214
- updatePatientProfileByUserRef(userRef: string, data: Partial<Omit<PatientProfile, "id" | "createdAt" | "updatedAt">>): Promise<PatientProfile>;
4277
+ updatePatientProfile(patientId: string, data: Partial<Omit<PatientProfile, 'id' | 'createdAt' | 'updatedAt'>>): Promise<PatientProfile>;
4278
+ updatePatientProfileByUserRef(userRef: string, data: Partial<Omit<PatientProfile, 'id' | 'createdAt' | 'updatedAt'>>): Promise<PatientProfile>;
4279
+ /**
4280
+ * Searches for patient profiles based on clinic/practitioner association.
4281
+ * Requires information about the requester for security checks.
4282
+ *
4283
+ * @param {SearchPatientsParams} params - The search criteria (clinicId, practitionerId).
4284
+ * @param {RequesterInfo} requester - Information about the user performing the search (ID, role, associated IDs).
4285
+ * @returns {Promise<PatientProfile[]>} A promise resolving to an array of matching patient profiles.
4286
+ */
4287
+ searchPatients(params: SearchPatientsParams, requester: RequesterInfo): Promise<PatientProfile[]>;
4288
+ /**
4289
+ * Gets all patient profiles.
4290
+ *
4291
+ * @param {Object} options - Optional parameters for pagination
4292
+ * @param {number} options.limit - Maximum number of profiles to return
4293
+ * @param {string} options.startAfter - The ID of the document to start after (for pagination)
4294
+ * @returns {Promise<PatientProfile[]>} A promise resolving to an array of all patient profiles.
4295
+ */
4296
+ getAllPatients(options?: {
4297
+ limit?: number;
4298
+ startAfter?: string;
4299
+ }): Promise<PatientProfile[]>;
4215
4300
  }
4216
4301
 
4217
4302
  declare class ClinicGroupService extends BaseService {
@@ -5247,6 +5332,54 @@ declare class CalendarServiceV2 extends BaseService {
5247
5332
  * @param interval - Interval in hours
5248
5333
  */
5249
5334
  createScheduledSyncJob(interval?: number): void;
5335
+ /**
5336
+ * Searches for calendar events based on specified criteria.
5337
+ *
5338
+ * @param {SearchCalendarEventsParams} params - The search parameters.
5339
+ * @param {SearchLocationEnum} params.searchLocation - The primary location to search (practitioner, patient, or clinic).
5340
+ * @param {string} params.entityId - The ID of the entity (practitioner, patient, or clinic) to search within/for.
5341
+ * @param {string} [params.clinicId] - Optional clinic ID to filter by.
5342
+ * @param {string} [params.practitionerId] - Optional practitioner ID to filter by.
5343
+ * @param {string} [params.patientId] - Optional patient ID to filter by.
5344
+ * @param {string} [params.procedureId] - Optional procedure ID to filter by.
5345
+ * @param {DateRange} [params.dateRange] - Optional date range to filter by (event start time).
5346
+ * @param {CalendarEventStatus} [params.eventStatus] - Optional event status to filter by.
5347
+ * @param {CalendarEventType} [params.eventType] - Optional event type to filter by.
5348
+ * @returns {Promise<CalendarEvent[]>} A promise that resolves to an array of matching calendar events.
5349
+ * @throws {Error} If the search location requires an entity ID that is not provided.
5350
+ */
5351
+ searchCalendarEvents(params: SearchCalendarEventsParams): Promise<CalendarEvent[]>;
5352
+ /**
5353
+ * Gets a doctor's upcoming appointments for a specific date range
5354
+ *
5355
+ * @param {string} doctorId - ID of the practitioner
5356
+ * @param {Date} startDate - Start date of the range
5357
+ * @param {Date} endDate - End date of the range
5358
+ * @param {CalendarEventStatus} [status] - Optional status filter (defaults to CONFIRMED)
5359
+ * @returns {Promise<CalendarEvent[]>} A promise that resolves to an array of appointments
5360
+ */
5361
+ getPractitionerUpcomingAppointments(doctorId: string, startDate: Date, endDate: Date, status?: CalendarEventStatus): Promise<CalendarEvent[]>;
5362
+ /**
5363
+ * Gets a patient's appointments for a specific date range
5364
+ *
5365
+ * @param {string} patientId - ID of the patient
5366
+ * @param {Date} startDate - Start date of the range
5367
+ * @param {Date} endDate - End date of the range
5368
+ * @param {CalendarEventStatus} [status] - Optional status filter (defaults to all non-canceled appointments)
5369
+ * @returns {Promise<CalendarEvent[]>} A promise that resolves to an array of appointments
5370
+ */
5371
+ getPatientAppointments(patientId: string, startDate: Date, endDate: Date, status?: CalendarEventStatus): Promise<CalendarEvent[]>;
5372
+ /**
5373
+ * Gets all appointments for a clinic within a specific date range
5374
+ *
5375
+ * @param {string} clinicId - ID of the clinic
5376
+ * @param {Date} startDate - Start date of the range
5377
+ * @param {Date} endDate - End date of the range
5378
+ * @param {string} [doctorId] - Optional doctor ID to filter by
5379
+ * @param {CalendarEventStatus} [status] - Optional status filter
5380
+ * @returns {Promise<CalendarEvent[]>} A promise that resolves to an array of appointments
5381
+ */
5382
+ getClinicAppointments(clinicId: string, startDate: Date, endDate: Date, doctorId?: string, status?: CalendarEventStatus): Promise<CalendarEvent[]>;
5250
5383
  /**
5251
5384
  * Validates appointment creation parameters
5252
5385
  * @param params - Appointment parameters to validate
@@ -8274,6 +8407,8 @@ declare const patientProfileSchema: z.ZodObject<{
8274
8407
  notes?: string | undefined;
8275
8408
  assignedBy?: string | undefined;
8276
8409
  }>, "many">;
8410
+ doctorIds: z.ZodArray<z.ZodString, "many">;
8411
+ clinicIds: z.ZodArray<z.ZodString, "many">;
8277
8412
  createdAt: z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>;
8278
8413
  updatedAt: z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>;
8279
8414
  }, "strip", z.ZodTypeAny, {
@@ -8289,12 +8424,14 @@ declare const patientProfileSchema: z.ZodObject<{
8289
8424
  isActive: boolean;
8290
8425
  isVerified: boolean;
8291
8426
  updatedAt: Timestamp;
8427
+ createdAt: Timestamp;
8292
8428
  displayName: string;
8293
- expoTokens: string[];
8429
+ profilePhoto: string | null;
8294
8430
  gamification: {
8295
8431
  level: number;
8296
8432
  points: number;
8297
8433
  };
8434
+ expoTokens: string[];
8298
8435
  doctors: {
8299
8436
  userRef: string;
8300
8437
  isActive: boolean;
@@ -8302,8 +8439,8 @@ declare const patientProfileSchema: z.ZodObject<{
8302
8439
  notes?: string | undefined;
8303
8440
  assignedBy?: string | undefined;
8304
8441
  }[];
8305
- createdAt: Timestamp;
8306
- profilePhoto: string | null;
8442
+ doctorIds: string[];
8443
+ clinicIds: string[];
8307
8444
  }, {
8308
8445
  id: string;
8309
8446
  userRef: string;
@@ -8317,12 +8454,14 @@ declare const patientProfileSchema: z.ZodObject<{
8317
8454
  isActive: boolean;
8318
8455
  isVerified: boolean;
8319
8456
  updatedAt: Timestamp;
8457
+ createdAt: Timestamp;
8320
8458
  displayName: string;
8321
- expoTokens: string[];
8459
+ profilePhoto: string | null;
8322
8460
  gamification: {
8323
8461
  level: number;
8324
8462
  points: number;
8325
8463
  };
8464
+ expoTokens: string[];
8326
8465
  doctors: {
8327
8466
  userRef: string;
8328
8467
  isActive: boolean;
@@ -8330,8 +8469,8 @@ declare const patientProfileSchema: z.ZodObject<{
8330
8469
  notes?: string | undefined;
8331
8470
  assignedBy?: string | undefined;
8332
8471
  }[];
8333
- createdAt: Timestamp;
8334
- profilePhoto: string | null;
8472
+ doctorIds: string[];
8473
+ clinicIds: string[];
8335
8474
  }>;
8336
8475
  /**
8337
8476
  * Šema za validaciju podataka pri kreiranju profila
@@ -8391,6 +8530,8 @@ declare const createPatientProfileSchema: z.ZodObject<{
8391
8530
  notes?: string | undefined;
8392
8531
  assignedBy?: string | undefined;
8393
8532
  }>, "many">>;
8533
+ doctorIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8534
+ clinicIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8394
8535
  }, "strip", z.ZodTypeAny, {
8395
8536
  userRef: string;
8396
8537
  isActive: boolean;
@@ -8404,6 +8545,7 @@ declare const createPatientProfileSchema: z.ZodObject<{
8404
8545
  notes?: string | undefined;
8405
8546
  assignedBy?: string | undefined;
8406
8547
  }[] | undefined;
8548
+ profilePhoto?: string | null | undefined;
8407
8549
  gamification?: {
8408
8550
  level: number;
8409
8551
  points: number;
@@ -8415,7 +8557,8 @@ declare const createPatientProfileSchema: z.ZodObject<{
8415
8557
  notes?: string | undefined;
8416
8558
  assignedBy?: string | undefined;
8417
8559
  }[] | undefined;
8418
- profilePhoto?: string | null | undefined;
8560
+ doctorIds?: string[] | undefined;
8561
+ clinicIds?: string[] | undefined;
8419
8562
  }, {
8420
8563
  userRef: string;
8421
8564
  isActive: boolean;
@@ -8429,6 +8572,7 @@ declare const createPatientProfileSchema: z.ZodObject<{
8429
8572
  notes?: string | undefined;
8430
8573
  assignedBy?: string | undefined;
8431
8574
  }[] | undefined;
8575
+ profilePhoto?: string | null | undefined;
8432
8576
  gamification?: {
8433
8577
  level: number;
8434
8578
  points: number;
@@ -8440,7 +8584,8 @@ declare const createPatientProfileSchema: z.ZodObject<{
8440
8584
  notes?: string | undefined;
8441
8585
  assignedBy?: string | undefined;
8442
8586
  }[] | undefined;
8443
- profilePhoto?: string | null | undefined;
8587
+ doctorIds?: string[] | undefined;
8588
+ clinicIds?: string[] | undefined;
8444
8589
  }>;
8445
8590
  /**
8446
8591
  * Šema za validaciju podataka pri kreiranju osetljivih informacija
@@ -8535,6 +8680,54 @@ declare const createPatientSensitiveInfoSchema: z.ZodObject<{
8535
8680
  isNotifiable: boolean;
8536
8681
  }[] | undefined;
8537
8682
  }>;
8683
+ /**
8684
+ * Schema for validating patient search parameters.
8685
+ */
8686
+ declare const searchPatientsSchema: z.ZodEffects<z.ZodObject<{
8687
+ clinicId: z.ZodOptional<z.ZodString>;
8688
+ practitionerId: z.ZodOptional<z.ZodString>;
8689
+ }, "strip", z.ZodTypeAny, {
8690
+ practitionerId?: string | undefined;
8691
+ clinicId?: string | undefined;
8692
+ }, {
8693
+ practitionerId?: string | undefined;
8694
+ clinicId?: string | undefined;
8695
+ }>, {
8696
+ practitionerId?: string | undefined;
8697
+ clinicId?: string | undefined;
8698
+ }, {
8699
+ practitionerId?: string | undefined;
8700
+ clinicId?: string | undefined;
8701
+ }>;
8702
+ /**
8703
+ * Schema for validating requester information during patient search.
8704
+ */
8705
+ declare const requesterInfoSchema: z.ZodEffects<z.ZodObject<{
8706
+ id: z.ZodString;
8707
+ role: z.ZodEnum<["clinic_admin", "practitioner"]>;
8708
+ associatedClinicId: z.ZodOptional<z.ZodString>;
8709
+ associatedPractitionerId: z.ZodOptional<z.ZodString>;
8710
+ }, "strip", z.ZodTypeAny, {
8711
+ id: string;
8712
+ role: "clinic_admin" | "practitioner";
8713
+ associatedClinicId?: string | undefined;
8714
+ associatedPractitionerId?: string | undefined;
8715
+ }, {
8716
+ id: string;
8717
+ role: "clinic_admin" | "practitioner";
8718
+ associatedClinicId?: string | undefined;
8719
+ associatedPractitionerId?: string | undefined;
8720
+ }>, {
8721
+ id: string;
8722
+ role: "clinic_admin" | "practitioner";
8723
+ associatedClinicId?: string | undefined;
8724
+ associatedPractitionerId?: string | undefined;
8725
+ }, {
8726
+ id: string;
8727
+ role: "clinic_admin" | "practitioner";
8728
+ associatedClinicId?: string | undefined;
8729
+ associatedPractitionerId?: string | undefined;
8730
+ }>;
8538
8731
 
8539
8732
  /**
8540
8733
  * Šema za validaciju osnovnih informacija o zdravstvenom radniku
@@ -8884,6 +9077,7 @@ declare const practitionerClinicWorkingHoursSchema: z.ZodObject<{
8884
9077
  }, "strip", z.ZodTypeAny, {
8885
9078
  isActive: boolean;
8886
9079
  updatedAt: Timestamp;
9080
+ createdAt: Timestamp;
8887
9081
  workingHours: {
8888
9082
  monday: {
8889
9083
  start: string;
@@ -8914,11 +9108,11 @@ declare const practitionerClinicWorkingHoursSchema: z.ZodObject<{
8914
9108
  end: string;
8915
9109
  } | null;
8916
9110
  };
8917
- createdAt: Timestamp;
8918
9111
  clinicId: string;
8919
9112
  }, {
8920
9113
  isActive: boolean;
8921
9114
  updatedAt: Timestamp;
9115
+ createdAt: Timestamp;
8922
9116
  workingHours: {
8923
9117
  monday: {
8924
9118
  start: string;
@@ -8949,7 +9143,6 @@ declare const practitionerClinicWorkingHoursSchema: z.ZodObject<{
8949
9143
  end: string;
8950
9144
  } | null;
8951
9145
  };
8952
- createdAt: Timestamp;
8953
9146
  clinicId: string;
8954
9147
  }>;
8955
9148
  /**
@@ -9215,6 +9408,7 @@ declare const practitionerSchema: z.ZodObject<{
9215
9408
  }, "strip", z.ZodTypeAny, {
9216
9409
  isActive: boolean;
9217
9410
  updatedAt: Timestamp;
9411
+ createdAt: Timestamp;
9218
9412
  workingHours: {
9219
9413
  monday: {
9220
9414
  start: string;
@@ -9245,11 +9439,11 @@ declare const practitionerSchema: z.ZodObject<{
9245
9439
  end: string;
9246
9440
  } | null;
9247
9441
  };
9248
- createdAt: Timestamp;
9249
9442
  clinicId: string;
9250
9443
  }, {
9251
9444
  isActive: boolean;
9252
9445
  updatedAt: Timestamp;
9446
+ createdAt: Timestamp;
9253
9447
  workingHours: {
9254
9448
  monday: {
9255
9449
  start: string;
@@ -9280,7 +9474,6 @@ declare const practitionerSchema: z.ZodObject<{
9280
9474
  end: string;
9281
9475
  } | null;
9282
9476
  };
9283
- createdAt: Timestamp;
9284
9477
  clinicId: string;
9285
9478
  }>, "many">;
9286
9479
  isActive: z.ZodBoolean;
@@ -9316,6 +9509,7 @@ declare const practitionerSchema: z.ZodObject<{
9316
9509
  clinicWorkingHours: {
9317
9510
  isActive: boolean;
9318
9511
  updatedAt: Timestamp;
9512
+ createdAt: Timestamp;
9319
9513
  workingHours: {
9320
9514
  monday: {
9321
9515
  start: string;
@@ -9346,7 +9540,6 @@ declare const practitionerSchema: z.ZodObject<{
9346
9540
  end: string;
9347
9541
  } | null;
9348
9542
  };
9349
- createdAt: Timestamp;
9350
9543
  clinicId: string;
9351
9544
  }[];
9352
9545
  isActive: boolean;
@@ -9382,6 +9575,7 @@ declare const practitionerSchema: z.ZodObject<{
9382
9575
  clinicWorkingHours: {
9383
9576
  isActive: boolean;
9384
9577
  updatedAt: Timestamp;
9578
+ createdAt: Timestamp;
9385
9579
  workingHours: {
9386
9580
  monday: {
9387
9581
  start: string;
@@ -9412,7 +9606,6 @@ declare const practitionerSchema: z.ZodObject<{
9412
9606
  end: string;
9413
9607
  } | null;
9414
9608
  };
9415
- createdAt: Timestamp;
9416
9609
  clinicId: string;
9417
9610
  }[];
9418
9611
  isActive: boolean;
@@ -9624,6 +9817,7 @@ declare const createPractitionerSchema: z.ZodObject<{
9624
9817
  }, "strip", z.ZodTypeAny, {
9625
9818
  isActive: boolean;
9626
9819
  updatedAt: Timestamp;
9820
+ createdAt: Timestamp;
9627
9821
  workingHours: {
9628
9822
  monday: {
9629
9823
  start: string;
@@ -9654,11 +9848,11 @@ declare const createPractitionerSchema: z.ZodObject<{
9654
9848
  end: string;
9655
9849
  } | null;
9656
9850
  };
9657
- createdAt: Timestamp;
9658
9851
  clinicId: string;
9659
9852
  }, {
9660
9853
  isActive: boolean;
9661
9854
  updatedAt: Timestamp;
9855
+ createdAt: Timestamp;
9662
9856
  workingHours: {
9663
9857
  monday: {
9664
9858
  start: string;
@@ -9689,7 +9883,6 @@ declare const createPractitionerSchema: z.ZodObject<{
9689
9883
  end: string;
9690
9884
  } | null;
9691
9885
  };
9692
- createdAt: Timestamp;
9693
9886
  clinicId: string;
9694
9887
  }>, "many">>;
9695
9888
  isActive: z.ZodBoolean;
@@ -9724,6 +9917,7 @@ declare const createPractitionerSchema: z.ZodObject<{
9724
9917
  clinicWorkingHours?: {
9725
9918
  isActive: boolean;
9726
9919
  updatedAt: Timestamp;
9920
+ createdAt: Timestamp;
9727
9921
  workingHours: {
9728
9922
  monday: {
9729
9923
  start: string;
@@ -9754,7 +9948,6 @@ declare const createPractitionerSchema: z.ZodObject<{
9754
9948
  end: string;
9755
9949
  } | null;
9756
9950
  };
9757
- createdAt: Timestamp;
9758
9951
  clinicId: string;
9759
9952
  }[] | undefined;
9760
9953
  status?: PractitionerStatus | undefined;
@@ -9787,6 +9980,7 @@ declare const createPractitionerSchema: z.ZodObject<{
9787
9980
  clinicWorkingHours?: {
9788
9981
  isActive: boolean;
9789
9982
  updatedAt: Timestamp;
9983
+ createdAt: Timestamp;
9790
9984
  workingHours: {
9791
9985
  monday: {
9792
9986
  start: string;
@@ -9817,7 +10011,6 @@ declare const createPractitionerSchema: z.ZodObject<{
9817
10011
  end: string;
9818
10012
  } | null;
9819
10013
  };
9820
- createdAt: Timestamp;
9821
10014
  clinicId: string;
9822
10015
  }[] | undefined;
9823
10016
  status?: PractitionerStatus | undefined;
@@ -10024,6 +10217,7 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
10024
10217
  }, "strip", z.ZodTypeAny, {
10025
10218
  isActive: boolean;
10026
10219
  updatedAt: Timestamp;
10220
+ createdAt: Timestamp;
10027
10221
  workingHours: {
10028
10222
  monday: {
10029
10223
  start: string;
@@ -10054,11 +10248,11 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
10054
10248
  end: string;
10055
10249
  } | null;
10056
10250
  };
10057
- createdAt: Timestamp;
10058
10251
  clinicId: string;
10059
10252
  }, {
10060
10253
  isActive: boolean;
10061
10254
  updatedAt: Timestamp;
10255
+ createdAt: Timestamp;
10062
10256
  workingHours: {
10063
10257
  monday: {
10064
10258
  start: string;
@@ -10089,7 +10283,6 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
10089
10283
  end: string;
10090
10284
  } | null;
10091
10285
  };
10092
- createdAt: Timestamp;
10093
10286
  clinicId: string;
10094
10287
  }>, "many">>;
10095
10288
  isActive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -10122,6 +10315,7 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
10122
10315
  clinicWorkingHours?: {
10123
10316
  isActive: boolean;
10124
10317
  updatedAt: Timestamp;
10318
+ createdAt: Timestamp;
10125
10319
  workingHours: {
10126
10320
  monday: {
10127
10321
  start: string;
@@ -10152,7 +10346,6 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
10152
10346
  end: string;
10153
10347
  } | null;
10154
10348
  };
10155
- createdAt: Timestamp;
10156
10349
  clinicId: string;
10157
10350
  }[] | undefined;
10158
10351
  }, {
@@ -10181,6 +10374,7 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
10181
10374
  clinicWorkingHours?: {
10182
10375
  isActive: boolean;
10183
10376
  updatedAt: Timestamp;
10377
+ createdAt: Timestamp;
10184
10378
  workingHours: {
10185
10379
  monday: {
10186
10380
  start: string;
@@ -10211,7 +10405,6 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
10211
10405
  end: string;
10212
10406
  } | null;
10213
10407
  };
10214
- createdAt: Timestamp;
10215
10408
  clinicId: string;
10216
10409
  }[] | undefined;
10217
10410
  isActive?: boolean | undefined;
@@ -11006,6 +11199,7 @@ declare const clinicAdminSchema: z.ZodObject<{
11006
11199
  userRef: string;
11007
11200
  isActive: boolean;
11008
11201
  updatedAt: Timestamp | Date;
11202
+ createdAt: Timestamp | Date;
11009
11203
  clinicGroupId: string;
11010
11204
  isGroupOwner: boolean;
11011
11205
  clinicsManaged: string[];
@@ -11038,12 +11232,12 @@ declare const clinicAdminSchema: z.ZodObject<{
11038
11232
  title?: string | null | undefined;
11039
11233
  };
11040
11234
  roleTitle: string;
11041
- createdAt: Timestamp | Date;
11042
11235
  }, {
11043
11236
  id: string;
11044
11237
  userRef: string;
11045
11238
  isActive: boolean;
11046
11239
  updatedAt: Timestamp | Date;
11240
+ createdAt: Timestamp | Date;
11047
11241
  clinicGroupId: string;
11048
11242
  isGroupOwner: boolean;
11049
11243
  clinicsManaged: string[];
@@ -11076,7 +11270,6 @@ declare const clinicAdminSchema: z.ZodObject<{
11076
11270
  title?: string | null | undefined;
11077
11271
  };
11078
11272
  roleTitle: string;
11079
- createdAt: Timestamp | Date;
11080
11273
  }>;
11081
11274
  /**
11082
11275
  * Validaciona šema za admin token
@@ -11330,6 +11523,7 @@ declare const clinicGroupSchema: z.ZodObject<{
11330
11523
  isActive: boolean;
11331
11524
  updatedAt: Timestamp | Date;
11332
11525
  name: string;
11526
+ createdAt: Timestamp | Date;
11333
11527
  contactInfo: {
11334
11528
  email: string;
11335
11529
  phoneNumber: string;
@@ -11355,7 +11549,6 @@ declare const clinicGroupSchema: z.ZodObject<{
11355
11549
  ownerId: string | null;
11356
11550
  subscriptionModel: SubscriptionModel;
11357
11551
  admins: string[];
11358
- createdAt: Timestamp | Date;
11359
11552
  clinicsInfo: {
11360
11553
  id: string;
11361
11554
  name: string;
@@ -11404,6 +11597,7 @@ declare const clinicGroupSchema: z.ZodObject<{
11404
11597
  isActive: boolean;
11405
11598
  updatedAt: Timestamp | Date;
11406
11599
  name: string;
11600
+ createdAt: Timestamp | Date;
11407
11601
  contactInfo: {
11408
11602
  email: string;
11409
11603
  phoneNumber: string;
@@ -11429,7 +11623,6 @@ declare const clinicGroupSchema: z.ZodObject<{
11429
11623
  ownerId: string | null;
11430
11624
  subscriptionModel: SubscriptionModel;
11431
11625
  admins: string[];
11432
- createdAt: Timestamp | Date;
11433
11626
  clinicsInfo: {
11434
11627
  id: string;
11435
11628
  name: string;
@@ -12002,6 +12195,7 @@ declare const clinicSchema: z.ZodObject<{
12002
12195
  isVerified: boolean;
12003
12196
  updatedAt: Timestamp | Date;
12004
12197
  name: string;
12198
+ createdAt: Timestamp | Date;
12005
12199
  doctors: string[];
12006
12200
  clinicGroupId: string;
12007
12201
  contactInfo: {
@@ -12082,7 +12276,6 @@ declare const clinicSchema: z.ZodObject<{
12082
12276
  services: string[];
12083
12277
  admins: string[];
12084
12278
  featuredPhotos: string[];
12085
- createdAt: Timestamp | Date;
12086
12279
  rating: {
12087
12280
  average: number;
12088
12281
  count: number;
@@ -12135,6 +12328,7 @@ declare const clinicSchema: z.ZodObject<{
12135
12328
  isVerified: boolean;
12136
12329
  updatedAt: Timestamp | Date;
12137
12330
  name: string;
12331
+ createdAt: Timestamp | Date;
12138
12332
  doctors: string[];
12139
12333
  clinicGroupId: string;
12140
12334
  contactInfo: {
@@ -12215,7 +12409,6 @@ declare const clinicSchema: z.ZodObject<{
12215
12409
  services: string[];
12216
12410
  admins: string[];
12217
12411
  featuredPhotos: string[];
12218
- createdAt: Timestamp | Date;
12219
12412
  rating: {
12220
12413
  average: number;
12221
12414
  count: number;
@@ -15115,8 +15308,8 @@ declare const createCalendarEventSchema: z.ZodObject<{
15115
15308
  syncStatus: CalendarSyncStatus;
15116
15309
  eventType: CalendarEventType;
15117
15310
  updatedAt?: any;
15118
- description?: string | undefined;
15119
15311
  createdAt?: any;
15312
+ description?: string | undefined;
15120
15313
  appointmentId?: string | null | undefined;
15121
15314
  clinicBranchId?: string | null | undefined;
15122
15315
  procedureId?: string | null | undefined;
@@ -15172,8 +15365,8 @@ declare const createCalendarEventSchema: z.ZodObject<{
15172
15365
  syncStatus: CalendarSyncStatus;
15173
15366
  eventType: CalendarEventType;
15174
15367
  updatedAt?: any;
15175
- description?: string | undefined;
15176
15368
  createdAt?: any;
15369
+ description?: string | undefined;
15177
15370
  appointmentId?: string | null | undefined;
15178
15371
  clinicBranchId?: string | null | undefined;
15179
15372
  procedureId?: string | null | undefined;
@@ -15773,4 +15966,4 @@ declare enum FirebaseErrorCode {
15773
15966
  POPUP_ALREADY_OPEN = "auth/cancelled-popup-request"
15774
15967
  }
15775
15968
 
15776
- export { AUTH_ERRORS, type AddAllergyData, type AddBlockingConditionData, type AddContraindicationData, type AddMedicationData, type AddressData, type AdminInfo, type AdminToken, AdminTokenStatus, type Allergy, type AllergySubtype, AllergyType, type AllergyTypeWithSubtype, type AppointmentNotification, type AppointmentReminderNotification, AuthError, AuthService, type BaseNotification, BlockingCondition, type Brand, BrandService, CALENDAR_COLLECTION, CLINICS_COLLECTION, CLINIC_ADMINS_COLLECTION, CLINIC_GROUPS_COLLECTION, type CalendarEvent, CalendarEventStatus, type CalendarEventTime, CalendarEventType, CalendarServiceV2, CalendarSyncStatus, type Category, CategoryService, CertificationLevel, CertificationSpecialty, type Clinic, type ClinicAdmin, ClinicAdminService, type ClinicAdminSignupData, type ClinicBranchSetupData, type ClinicContactInfo, type ClinicGroup, ClinicGroupService, type ClinicGroupSetupData, type ClinicInfo, type ClinicLocation, ClinicPhotoTag, type ClinicReview, ClinicService, ClinicTag, type ClinicTags, type ContactPerson, Contraindication, CosmeticAllergySubtype, type CreateAdminTokenData, type CreateAppointmentParams, type CreateCalendarEventData, type CreateClinicAdminData, type CreateClinicData, type CreateClinicGroupData, type CreateDefaultClinicGroupData, type CreateDocumentTemplateData, type CreateDraftPractitionerData, type CreatePatientLocationInfoData, type CreatePatientMedicalInfoData, type CreatePatientProfileData, type CreatePatientSensitiveInfoData, type CreatePractitionerData, type CreatePractitionerTokenData, type CreateProcedureData, type CreateSyncedCalendarData, type CreateUserData, Currency, DOCUMENTATION_TEMPLATES_COLLECTION, type DoctorInfo, type DocumentElement, DocumentElementType, type DocumentTemplate, DocumentationTemplateService, DynamicVariable, type EmergencyContact, EnvironmentalAllergySubtype, FILLED_DOCUMENTS_COLLECTION, type FilledDocument, FilledDocumentService, FilledDocumentStatus, FirebaseErrorCode, type FirebaseUser, FoodAllergySubtype, type GamificationInfo, Gender, HeadingLevel, Language, ListType, type LocationData, MedicationAllergySubtype, type Notification, NotificationService, NotificationStatus, NotificationType, PATIENTS_COLLECTION, PATIENT_APPOINTMENTS_COLLECTION, PATIENT_LOCATION_INFO_COLLECTION, PATIENT_MEDICAL_HISTORY_COLLECTION, PATIENT_MEDICAL_INFO_COLLECTION, PATIENT_SENSITIVE_INFO_COLLECTION, PRACTITIONERS_COLLECTION, PROCEDURES_COLLECTION, type PatientClinic, type PatientDoctor, type PatientLocationInfo, type PatientMedicalInfo, type PatientProfile, type PatientProfileComplete, type PatientProfileInfo, type PatientSensitiveInfo, PatientService, type PostRequirementNotification, PracticeType, type Practitioner, type PractitionerBasicInfo, type PractitionerCertification, type PractitionerClinicProcedures, type PractitionerClinicWorkingHours, type PractitionerProfileInfo, type PractitionerReview, PractitionerService, PractitionerStatus, type PractitionerToken, PractitionerTokenStatus, type PractitionerWorkingHours, type PreRequirementNotification, PricingMeasure, type Procedure, type ProcedureCategorization, ProcedureFamily, type ProcedureInfo, ProcedureService, type Product, ProductService, REGISTER_TOKENS_COLLECTION, type Requirement, type ReviewInfo, SYNCED_CALENDARS_COLLECTION, type ServiceInfo, type Subcategory, SubcategoryService, SubscriptionModel, type SyncedCalendar, type SyncedCalendarEvent, SyncedCalendarProvider, SyncedCalendarsService, type Technology, TechnologyService, type TimeSlot, TreatmentBenefit, USER_ERRORS, type UpdateAllergyData, type UpdateAppointmentParams, type UpdateBlockingConditionData, type UpdateCalendarEventData, type UpdateClinicAdminData, type UpdateClinicData, type UpdateClinicGroupData, type UpdateContraindicationData, type UpdateDocumentTemplateData, type UpdateMedicationData, type UpdatePatientLocationInfoData, type UpdatePatientMedicalInfoData, type UpdatePatientProfileData, type UpdatePatientSensitiveInfoData, type UpdatePractitionerData, type UpdateProcedureData, type UpdateSyncedCalendarData, type UpdateVitalStatsData, type User, UserRole, UserService, type ValidationSchema, type VitalStats, type WorkingHours, addAllergySchema, addBlockingConditionSchema, addContraindicationSchema, addMedicationSchema, addressDataSchema, adminInfoSchema, adminTokenSchema, allergySchema, allergySubtypeSchema, appointmentNotificationSchema, appointmentReminderNotificationSchema, baseNotificationSchema, blockingConditionSchema, calendarEventSchema, calendarEventTimeSchema, clinicAdminOptionsSchema, clinicAdminSchema, clinicAdminSignupSchema, clinicBranchSetupSchema, clinicContactInfoSchema, clinicGroupSchema, clinicGroupSetupSchema, clinicInfoSchema, clinicLocationSchema, clinicReviewSchema, clinicSchema, clinicTagsSchema, contactPersonSchema, contraindicationSchema, createAdminTokenSchema, createAppointmentSchema, createCalendarEventSchema, createClinicAdminSchema, createClinicGroupSchema, createClinicSchema, createDefaultClinicGroupSchema, createDocumentTemplateSchema, createDraftPractitionerSchema, createPatientLocationInfoSchema, createPatientMedicalInfoSchema, createPatientProfileSchema, createPatientSensitiveInfoSchema, createPractitionerSchema, createPractitionerTokenSchema, createUserOptionsSchema, doctorInfoSchema, documentElementSchema, documentElementWithoutIdSchema, documentTemplateSchema, emailSchema, emergencyContactSchema, gamificationSchema, getFirebaseApp, getFirebaseAuth, getFirebaseDB, getFirebaseInstance, initializeFirebase, locationDataSchema, medicationSchema, notificationSchema, passwordSchema, patientClinicSchema, patientDoctorSchema, patientLocationInfoSchema, patientMedicalInfoSchema, patientProfileInfoSchema, patientProfileSchema, patientSensitiveInfoSchema, postRequirementNotificationSchema, practitionerBasicInfoSchema, practitionerCertificationSchema, practitionerClinicProceduresSchema, practitionerClinicWorkingHoursSchema, practitionerProfileInfoSchema, practitionerReviewSchema, practitionerSchema, practitionerTokenSchema, practitionerWorkingHoursSchema, preRequirementNotificationSchema, procedureCategorizationSchema, procedureInfoSchema, reviewInfoSchema, serviceInfoSchema, syncedCalendarEventSchema, timeSlotSchema, timestampSchema, updateAllergySchema, updateAppointmentSchema, updateBlockingConditionSchema, updateCalendarEventSchema, updateClinicAdminSchema, updateClinicGroupSchema, updateClinicSchema, updateContraindicationSchema, updateDocumentTemplateSchema, updateMedicationSchema, updatePatientMedicalInfoSchema, updateVitalStatsSchema, userRoleSchema, userRolesSchema, userSchema, vitalStatsSchema, workingHoursSchema };
15969
+ export { AUTH_ERRORS, type AddAllergyData, type AddBlockingConditionData, type AddContraindicationData, type AddMedicationData, type AddressData, type AdminInfo, type AdminToken, AdminTokenStatus, type Allergy, type AllergySubtype, AllergyType, type AllergyTypeWithSubtype, type AppointmentNotification, type AppointmentReminderNotification, AuthError, AuthService, type BaseNotification, BlockingCondition, type Brand, BrandService, CALENDAR_COLLECTION, CLINICS_COLLECTION, CLINIC_ADMINS_COLLECTION, CLINIC_GROUPS_COLLECTION, type CalendarEvent, CalendarEventStatus, type CalendarEventTime, CalendarEventType, CalendarServiceV2, CalendarSyncStatus, type Category, CategoryService, CertificationLevel, CertificationSpecialty, type Clinic, type ClinicAdmin, ClinicAdminService, type ClinicAdminSignupData, type ClinicBranchSetupData, type ClinicContactInfo, type ClinicGroup, ClinicGroupService, type ClinicGroupSetupData, type ClinicInfo, type ClinicLocation, ClinicPhotoTag, type ClinicReview, ClinicService, ClinicTag, type ClinicTags, type ContactPerson, Contraindication, CosmeticAllergySubtype, type CreateAdminTokenData, type CreateAppointmentParams, type CreateCalendarEventData, type CreateClinicAdminData, type CreateClinicData, type CreateClinicGroupData, type CreateDefaultClinicGroupData, type CreateDocumentTemplateData, type CreateDraftPractitionerData, type CreatePatientLocationInfoData, type CreatePatientMedicalInfoData, type CreatePatientProfileData, type CreatePatientSensitiveInfoData, type CreatePractitionerData, type CreatePractitionerTokenData, type CreateProcedureData, type CreateSyncedCalendarData, type CreateUserData, Currency, DOCUMENTATION_TEMPLATES_COLLECTION, type DateRange, type DoctorInfo, type DocumentElement, DocumentElementType, type DocumentTemplate, DocumentationTemplateService, DynamicVariable, type EmergencyContact, EnvironmentalAllergySubtype, FILLED_DOCUMENTS_COLLECTION, type FilledDocument, FilledDocumentService, FilledDocumentStatus, FirebaseErrorCode, type FirebaseUser, FoodAllergySubtype, type GamificationInfo, Gender, HeadingLevel, Language, ListType, type LocationData, MedicationAllergySubtype, type Notification, NotificationService, NotificationStatus, NotificationType, PATIENTS_COLLECTION, PATIENT_APPOINTMENTS_COLLECTION, PATIENT_LOCATION_INFO_COLLECTION, PATIENT_MEDICAL_HISTORY_COLLECTION, PATIENT_MEDICAL_INFO_COLLECTION, PATIENT_SENSITIVE_INFO_COLLECTION, PRACTITIONERS_COLLECTION, PROCEDURES_COLLECTION, type PatientClinic, type PatientDoctor, type PatientLocationInfo, type PatientMedicalInfo, type PatientProfile, type PatientProfileComplete, type PatientProfileInfo, type PatientSensitiveInfo, PatientService, type PostRequirementNotification, PracticeType, type Practitioner, type PractitionerBasicInfo, type PractitionerCertification, type PractitionerClinicProcedures, type PractitionerClinicWorkingHours, type PractitionerProfileInfo, type PractitionerReview, PractitionerService, PractitionerStatus, type PractitionerToken, PractitionerTokenStatus, type PractitionerWorkingHours, type PreRequirementNotification, PricingMeasure, type Procedure, type ProcedureCategorization, ProcedureFamily, type ProcedureInfo, ProcedureService, type Product, ProductService, REGISTER_TOKENS_COLLECTION, type RequesterInfo, type Requirement, type ReviewInfo, SYNCED_CALENDARS_COLLECTION, type SearchCalendarEventsParams, SearchLocationEnum, type SearchPatientsParams, type ServiceInfo, type Subcategory, SubcategoryService, SubscriptionModel, type SyncedCalendar, type SyncedCalendarEvent, SyncedCalendarProvider, SyncedCalendarsService, type Technology, TechnologyService, type TimeSlot, TreatmentBenefit, USER_ERRORS, type UpdateAllergyData, type UpdateAppointmentParams, type UpdateBlockingConditionData, type UpdateCalendarEventData, type UpdateClinicAdminData, type UpdateClinicData, type UpdateClinicGroupData, type UpdateContraindicationData, type UpdateDocumentTemplateData, type UpdateMedicationData, type UpdatePatientLocationInfoData, type UpdatePatientMedicalInfoData, type UpdatePatientProfileData, type UpdatePatientSensitiveInfoData, type UpdatePractitionerData, type UpdateProcedureData, type UpdateSyncedCalendarData, type UpdateVitalStatsData, type User, UserRole, UserService, type ValidationSchema, type VitalStats, type WorkingHours, addAllergySchema, addBlockingConditionSchema, addContraindicationSchema, addMedicationSchema, addressDataSchema, adminInfoSchema, adminTokenSchema, allergySchema, allergySubtypeSchema, appointmentNotificationSchema, appointmentReminderNotificationSchema, baseNotificationSchema, blockingConditionSchema, calendarEventSchema, calendarEventTimeSchema, clinicAdminOptionsSchema, clinicAdminSchema, clinicAdminSignupSchema, clinicBranchSetupSchema, clinicContactInfoSchema, clinicGroupSchema, clinicGroupSetupSchema, clinicInfoSchema, clinicLocationSchema, clinicReviewSchema, clinicSchema, clinicTagsSchema, contactPersonSchema, contraindicationSchema, createAdminTokenSchema, createAppointmentSchema, createCalendarEventSchema, createClinicAdminSchema, createClinicGroupSchema, createClinicSchema, createDefaultClinicGroupSchema, createDocumentTemplateSchema, createDraftPractitionerSchema, createPatientLocationInfoSchema, createPatientMedicalInfoSchema, createPatientProfileSchema, createPatientSensitiveInfoSchema, createPractitionerSchema, createPractitionerTokenSchema, createUserOptionsSchema, doctorInfoSchema, documentElementSchema, documentElementWithoutIdSchema, documentTemplateSchema, emailSchema, emergencyContactSchema, gamificationSchema, getFirebaseApp, getFirebaseAuth, getFirebaseDB, getFirebaseInstance, initializeFirebase, locationDataSchema, medicationSchema, notificationSchema, passwordSchema, patientClinicSchema, patientDoctorSchema, patientLocationInfoSchema, patientMedicalInfoSchema, patientProfileInfoSchema, patientProfileSchema, patientSensitiveInfoSchema, postRequirementNotificationSchema, practitionerBasicInfoSchema, practitionerCertificationSchema, practitionerClinicProceduresSchema, practitionerClinicWorkingHoursSchema, practitionerProfileInfoSchema, practitionerReviewSchema, practitionerSchema, practitionerTokenSchema, practitionerWorkingHoursSchema, preRequirementNotificationSchema, procedureCategorizationSchema, procedureInfoSchema, requesterInfoSchema, reviewInfoSchema, searchPatientsSchema, serviceInfoSchema, syncedCalendarEventSchema, timeSlotSchema, timestampSchema, updateAllergySchema, updateAppointmentSchema, updateBlockingConditionSchema, updateCalendarEventSchema, updateClinicAdminSchema, updateClinicGroupSchema, updateClinicSchema, updateContraindicationSchema, updateDocumentTemplateSchema, updateMedicationSchema, updatePatientMedicalInfoSchema, updateVitalStatsSchema, userRoleSchema, userRolesSchema, userSchema, vitalStatsSchema, workingHoursSchema };