@blackcode_sa/metaestetics-api 1.7.6 → 1.7.7

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.ts CHANGED
@@ -937,7 +937,7 @@ interface ClinicGroup {
937
937
  createdAt: Timestamp;
938
938
  updatedAt: Timestamp;
939
939
  isActive: boolean;
940
- logo?: string | null;
940
+ logo?: MediaResource | null;
941
941
  practiceType?: PracticeType;
942
942
  languages?: Language[];
943
943
  subscriptionModel: SubscriptionModel;
@@ -956,7 +956,7 @@ interface CreateClinicGroupData {
956
956
  contactPerson: ContactPerson;
957
957
  ownerId: string | null;
958
958
  isActive: boolean;
959
- logo?: string | null;
959
+ logo?: MediaResource | null;
960
960
  practiceType?: PracticeType;
961
961
  languages?: Language[];
962
962
  subscriptionModel?: SubscriptionModel;
@@ -984,13 +984,14 @@ interface DoctorInfo {
984
984
  id: string;
985
985
  name: string;
986
986
  description?: string;
987
- photo: string;
987
+ photo: string | null;
988
988
  rating: number;
989
989
  services: string[];
990
990
  }
991
991
  /**
992
- * Interface for service information
992
+ * Type that allows a field to be either a URL string or a File object
993
993
  */
994
+ type MediaResource = string | File | Blob;
994
995
  /**
995
996
  * Interface for clinic
996
997
  */
@@ -1003,10 +1004,10 @@ interface Clinic {
1003
1004
  contactInfo: ClinicContactInfo;
1004
1005
  workingHours: WorkingHours;
1005
1006
  tags: ClinicTag[];
1006
- featuredPhotos: string[];
1007
- coverPhoto: string | null;
1007
+ featuredPhotos: MediaResource[];
1008
+ coverPhoto: MediaResource | null;
1008
1009
  photosWithTags?: {
1009
- url: string;
1010
+ url: MediaResource;
1010
1011
  tag: string;
1011
1012
  }[];
1012
1013
  doctors: string[];
@@ -1019,7 +1020,7 @@ interface Clinic {
1019
1020
  updatedAt: Timestamp;
1020
1021
  isActive: boolean;
1021
1022
  isVerified: boolean;
1022
- logo?: string;
1023
+ logo?: MediaResource | null;
1023
1024
  }
1024
1025
  /**
1025
1026
  * Interface for creating a clinic
@@ -1032,19 +1033,19 @@ interface CreateClinicData {
1032
1033
  contactInfo: ClinicContactInfo;
1033
1034
  workingHours: WorkingHours;
1034
1035
  tags: ClinicTag[];
1035
- coverPhoto: string | null;
1036
+ coverPhoto?: MediaResource | null;
1036
1037
  photosWithTags?: {
1037
- url: string;
1038
+ url: MediaResource;
1038
1039
  tag: string;
1039
1040
  }[];
1040
- doctors: string[];
1041
- procedures: string[];
1041
+ doctors?: string[];
1042
+ procedures?: string[];
1042
1043
  proceduresInfo?: ProcedureSummaryInfo[];
1043
1044
  admins: string[];
1044
- isActive: boolean;
1045
- isVerified: boolean;
1046
- logo?: string;
1047
- featuredPhotos?: string[];
1045
+ isActive?: boolean;
1046
+ isVerified?: boolean;
1047
+ logo?: MediaResource | null;
1048
+ featuredPhotos?: MediaResource[];
1048
1049
  }
1049
1050
  /**
1050
1051
  * Interface for updating a clinic
@@ -1062,7 +1063,7 @@ interface CreateDefaultClinicGroupData {
1062
1063
  contactInfo: ClinicContactInfo;
1063
1064
  hqLocation: ClinicLocation;
1064
1065
  isActive: boolean;
1065
- logo?: string | null;
1066
+ logo?: string | File | null;
1066
1067
  practiceType?: PracticeType;
1067
1068
  languages?: Language[];
1068
1069
  subscriptionModel?: SubscriptionModel;
@@ -1082,7 +1083,7 @@ interface ClinicAdminSignupData {
1082
1083
  clinicGroupData?: {
1083
1084
  name: string;
1084
1085
  hqLocation: ClinicLocation;
1085
- logo?: string;
1086
+ logo?: string | File | null;
1086
1087
  contactInfo: ClinicContactInfo;
1087
1088
  subscriptionModel?: SubscriptionModel;
1088
1089
  };
@@ -1094,7 +1095,7 @@ interface ClinicGroupSetupData {
1094
1095
  languages: Language[];
1095
1096
  practiceType: PracticeType;
1096
1097
  description: string;
1097
- logo: string;
1098
+ logo: string | File | null;
1098
1099
  calendarSyncEnabled: boolean;
1099
1100
  autoConfirmAppointments: boolean;
1100
1101
  businessIdentificationNumber: string | null;
@@ -1109,13 +1110,13 @@ interface ClinicBranchSetupData {
1109
1110
  contactInfo: ClinicContactInfo;
1110
1111
  workingHours: WorkingHours;
1111
1112
  tags: ClinicTag[];
1112
- logo?: string;
1113
- coverPhoto: string | null;
1113
+ logo?: MediaResource | null;
1114
+ coverPhoto?: MediaResource | null;
1114
1115
  photosWithTags?: {
1115
- url: string;
1116
+ url: MediaResource;
1116
1117
  tag: string;
1117
1118
  }[];
1118
- featuredPhotos?: string[];
1119
+ featuredPhotos?: MediaResource[];
1119
1120
  }
1120
1121
  /**
1121
1122
  * Interface for clinic tags
@@ -5350,9 +5351,9 @@ interface User {
5350
5351
  email: string | null;
5351
5352
  roles: UserRole[];
5352
5353
  isAnonymous: boolean;
5353
- createdAt: Timestamp | FieldValue | (() => FieldValue);
5354
- updatedAt: Timestamp | FieldValue | (() => FieldValue);
5355
- lastLoginAt: Timestamp | FieldValue | (() => FieldValue);
5354
+ createdAt: Timestamp | FieldValue;
5355
+ updatedAt: Timestamp | FieldValue;
5356
+ lastLoginAt: Timestamp | FieldValue;
5356
5357
  patientProfile?: string;
5357
5358
  practitionerProfile?: string;
5358
5359
  adminProfile?: string;
@@ -5362,9 +5363,9 @@ interface CreateUserData {
5362
5363
  email: string | null;
5363
5364
  roles: UserRole[];
5364
5365
  isAnonymous: boolean;
5365
- createdAt: FieldValue | Timestamp | (() => FieldValue);
5366
- updatedAt: FieldValue | Timestamp | (() => FieldValue);
5367
- lastLoginAt: FieldValue | Timestamp | (() => FieldValue);
5366
+ createdAt: FieldValue;
5367
+ updatedAt: FieldValue;
5368
+ lastLoginAt: FieldValue;
5368
5369
  }
5369
5370
  type FirebaseUser = User$1;
5370
5371
 
@@ -5538,18 +5539,122 @@ declare class ClinicGroupService extends BaseService {
5538
5539
  getActiveAdminTokens(groupId: string, adminId: string): Promise<AdminToken[]>;
5539
5540
  }
5540
5541
 
5542
+ /**
5543
+ * Enum for media access levels
5544
+ */
5545
+ declare enum MediaAccessLevel {
5546
+ PUBLIC = "public",
5547
+ PRIVATE = "private",
5548
+ CONFIDENTIAL = "confidential"
5549
+ }
5550
+ /**
5551
+ * Media file metadata interface
5552
+ */
5553
+ interface MediaMetadata {
5554
+ id: string;
5555
+ name: string;
5556
+ url: string;
5557
+ contentType: string;
5558
+ size: number;
5559
+ createdAt: Timestamp;
5560
+ accessLevel: MediaAccessLevel;
5561
+ ownerId: string;
5562
+ collectionName: string;
5563
+ path: string;
5564
+ updatedAt?: Timestamp;
5565
+ }
5566
+ declare class MediaService extends BaseService {
5567
+ constructor(db: Firestore, auth: Auth, app: FirebaseApp);
5568
+ /**
5569
+ * Upload a media file, store its metadata, and return the metadata including the URL.
5570
+ * @param file - The file to upload.
5571
+ * @param ownerId - ID of the owner (user, patient, clinic, etc.).
5572
+ * @param accessLevel - Access level (public, private, confidential).
5573
+ * @param collectionName - The logical collection name this media belongs to (e.g., 'patient_profile_pictures', 'clinic_logos').
5574
+ * @param originalFileName - Optional: the original name of the file, if not using file.name.
5575
+ * @returns Promise with the media metadata.
5576
+ */
5577
+ uploadMedia(file: File | Blob, ownerId: string, accessLevel: MediaAccessLevel, collectionName: string, originalFileName?: string): Promise<MediaMetadata>;
5578
+ /**
5579
+ * Get media metadata from Firestore by its ID.
5580
+ * @param mediaId - ID of the media.
5581
+ * @returns Promise with the media metadata or null if not found.
5582
+ */
5583
+ getMediaMetadata(mediaId: string): Promise<MediaMetadata | null>;
5584
+ /**
5585
+ * Get media metadata from Firestore by its public URL.
5586
+ * @param url - The public URL of the media file.
5587
+ * @returns Promise with the media metadata or null if not found.
5588
+ */
5589
+ getMediaMetadataByUrl(url: string): Promise<MediaMetadata | null>;
5590
+ /**
5591
+ * Delete media from storage and remove metadata from Firestore.
5592
+ * @param mediaId - ID of the media to delete.
5593
+ */
5594
+ deleteMedia(mediaId: string): Promise<void>;
5595
+ /**
5596
+ * Update media access level. This involves moving the file in Firebase Storage
5597
+ * to a new path reflecting the new access level, and updating its metadata.
5598
+ * @param mediaId - ID of the media to update.
5599
+ * @param newAccessLevel - New access level.
5600
+ * @returns Promise with the updated media metadata, or null if metadata not found.
5601
+ */
5602
+ updateMediaAccessLevel(mediaId: string, newAccessLevel: MediaAccessLevel): Promise<MediaMetadata | null>;
5603
+ /**
5604
+ * List all media for an owner, optionally filtered by collection and access level.
5605
+ * @param ownerId - ID of the owner.
5606
+ * @param collectionName - Optional: Filter by collection name.
5607
+ * @param accessLevel - Optional: Filter by access level.
5608
+ * @param count - Optional: Number of items to fetch.
5609
+ * @param startAfterId - Optional: ID of the document to start after (for pagination).
5610
+ */
5611
+ listMedia(ownerId: string, collectionName?: string, accessLevel?: MediaAccessLevel, count?: number, startAfterId?: string): Promise<MediaMetadata[]>;
5612
+ /**
5613
+ * Get download URL for media. (Convenience, as URL is in metadata)
5614
+ * @param mediaId - ID of the media.
5615
+ */
5616
+ getMediaDownloadUrl(mediaId: string): Promise<string | null>;
5617
+ }
5618
+
5541
5619
  declare class ClinicService extends BaseService {
5542
5620
  private clinicGroupService;
5543
5621
  private clinicAdminService;
5544
- constructor(db: Firestore, auth: Auth, app: FirebaseApp, clinicGroupService: ClinicGroupService, clinicAdminService: ClinicAdminService);
5622
+ private mediaService;
5623
+ constructor(db: Firestore, auth: Auth, app: FirebaseApp, clinicGroupService: ClinicGroupService, clinicAdminService: ClinicAdminService, mediaService: MediaService);
5624
+ /**
5625
+ * Process media resource (string URL or File object)
5626
+ * @param media String URL or File object
5627
+ * @param ownerId Owner ID for the media (usually clinicId)
5628
+ * @param collectionName Collection name for organizing files
5629
+ * @returns URL string after processing
5630
+ */
5631
+ private processMedia;
5632
+ /**
5633
+ * Process array of media resources (strings or Files)
5634
+ * @param mediaArray Array of string URLs or File objects
5635
+ * @param ownerId Owner ID for the media
5636
+ * @param collectionName Collection name for organizing files
5637
+ * @returns Array of URL strings after processing
5638
+ */
5639
+ private processMediaArray;
5640
+ /**
5641
+ * Process photos with tags array
5642
+ * @param photosWithTags Array of objects containing media and tag
5643
+ * @param ownerId Owner ID for the media
5644
+ * @param collectionName Collection name for organizing files
5645
+ * @returns Processed array with URL strings
5646
+ */
5647
+ private processPhotosWithTags;
5545
5648
  /**
5546
5649
  * Creates a new clinic.
5650
+ * Handles both URL strings and File uploads for media fields.
5547
5651
  */
5548
5652
  createClinic(data: CreateClinicData, creatorAdminId: string): Promise<Clinic>;
5549
5653
  /**
5550
5654
  * Updates a clinic.
5655
+ * Handles both URL strings and File uploads for media fields.
5551
5656
  */
5552
- updateClinic(clinicId: string, data: Partial<Omit<Clinic, "id" | "createdAt" | "clinicGroupId">>, adminId: string): Promise<Clinic>;
5657
+ updateClinic(clinicId: string, data: Partial<CreateClinicData>, adminId: string): Promise<Clinic>;
5553
5658
  /**
5554
5659
  * Deactivates a clinic.
5555
5660
  */
@@ -5583,6 +5688,10 @@ declare class ClinicService extends BaseService {
5583
5688
  includeGroupClinics?: boolean;
5584
5689
  }): Promise<Clinic[]>;
5585
5690
  getActiveClinicsByAdmin(adminId: string): Promise<Clinic[]>;
5691
+ /**
5692
+ * Creates a clinic branch from setup data.
5693
+ * Handles both URL strings and File uploads for media fields.
5694
+ */
5586
5695
  createClinicBranch(clinicGroupId: string, setupData: ClinicBranchSetupData, adminId: string): Promise<Clinic>;
5587
5696
  getClinicById(clinicId: string): Promise<Clinic | null>;
5588
5697
  getAllClinics(pagination?: number, lastDoc?: any): Promise<{
@@ -7653,7 +7762,7 @@ declare const emailSchema: z.ZodString;
7653
7762
  declare const passwordSchema: z.ZodString;
7654
7763
  declare const userRoleSchema: z.ZodNativeEnum<typeof UserRole>;
7655
7764
  declare const userRolesSchema: z.ZodArray<z.ZodNativeEnum<typeof UserRole>, "many">;
7656
- declare const timestampSchema: z.ZodType<Timestamp | FieldValue | (() => FieldValue), z.ZodTypeDef, Timestamp | FieldValue | (() => FieldValue)>;
7765
+ declare const timestampSchema: z.ZodType<Timestamp | FieldValue, z.ZodTypeDef, Timestamp | FieldValue>;
7657
7766
  /**
7658
7767
  * Validaciona šema za clinic admin opcije pri kreiranju
7659
7768
  */
@@ -7721,31 +7830,31 @@ declare const userSchema: z.ZodObject<{
7721
7830
  email: z.ZodNullable<z.ZodString>;
7722
7831
  roles: z.ZodArray<z.ZodNativeEnum<typeof UserRole>, "many">;
7723
7832
  isAnonymous: z.ZodBoolean;
7724
- createdAt: z.ZodType<Timestamp | FieldValue | (() => FieldValue), z.ZodTypeDef, Timestamp | FieldValue | (() => FieldValue)>;
7725
- updatedAt: z.ZodType<Timestamp | FieldValue | (() => FieldValue), z.ZodTypeDef, Timestamp | FieldValue | (() => FieldValue)>;
7726
- lastLoginAt: z.ZodType<Timestamp | FieldValue | (() => FieldValue), z.ZodTypeDef, Timestamp | FieldValue | (() => FieldValue)>;
7833
+ createdAt: z.ZodType<Timestamp | FieldValue, z.ZodTypeDef, Timestamp | FieldValue>;
7834
+ updatedAt: z.ZodType<Timestamp | FieldValue, z.ZodTypeDef, Timestamp | FieldValue>;
7835
+ lastLoginAt: z.ZodType<Timestamp | FieldValue, z.ZodTypeDef, Timestamp | FieldValue>;
7727
7836
  patientProfile: z.ZodOptional<z.ZodString>;
7728
7837
  practitionerProfile: z.ZodOptional<z.ZodString>;
7729
7838
  adminProfile: z.ZodOptional<z.ZodString>;
7730
7839
  }, "strip", z.ZodTypeAny, {
7731
- createdAt: Timestamp | FieldValue | (() => FieldValue);
7732
- updatedAt: Timestamp | FieldValue | (() => FieldValue);
7840
+ createdAt: Timestamp | FieldValue;
7841
+ updatedAt: Timestamp | FieldValue;
7733
7842
  email: string | null;
7734
7843
  uid: string;
7735
7844
  roles: UserRole[];
7736
7845
  isAnonymous: boolean;
7737
- lastLoginAt: Timestamp | FieldValue | (() => FieldValue);
7846
+ lastLoginAt: Timestamp | FieldValue;
7738
7847
  patientProfile?: string | undefined;
7739
7848
  practitionerProfile?: string | undefined;
7740
7849
  adminProfile?: string | undefined;
7741
7850
  }, {
7742
- createdAt: Timestamp | FieldValue | (() => FieldValue);
7743
- updatedAt: Timestamp | FieldValue | (() => FieldValue);
7851
+ createdAt: Timestamp | FieldValue;
7852
+ updatedAt: Timestamp | FieldValue;
7744
7853
  email: string | null;
7745
7854
  uid: string;
7746
7855
  roles: UserRole[];
7747
7856
  isAnonymous: boolean;
7748
- lastLoginAt: Timestamp | FieldValue | (() => FieldValue);
7857
+ lastLoginAt: Timestamp | FieldValue;
7749
7858
  patientProfile?: string | undefined;
7750
7859
  practitionerProfile?: string | undefined;
7751
7860
  adminProfile?: string | undefined;
@@ -13935,7 +14044,7 @@ declare const clinicGroupSchema: z.ZodObject<{
13935
14044
  createdAt: z.ZodUnion<[z.ZodType<Date, z.ZodTypeDef, Date>, z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>]>;
13936
14045
  updatedAt: z.ZodUnion<[z.ZodType<Date, z.ZodTypeDef, Date>, z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>]>;
13937
14046
  isActive: z.ZodBoolean;
13938
- logo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
14047
+ logo: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>>;
13939
14048
  practiceType: z.ZodOptional<z.ZodNativeEnum<typeof PracticeType>>;
13940
14049
  languages: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Language>, "many">>;
13941
14050
  subscriptionModel: z.ZodNativeEnum<typeof SubscriptionModel>;
@@ -14010,7 +14119,7 @@ declare const clinicGroupSchema: z.ZodObject<{
14010
14119
  usedByUserRef?: string | undefined;
14011
14120
  }[];
14012
14121
  description?: string | null | undefined;
14013
- logo?: string | null | undefined;
14122
+ logo?: string | File | Blob | null | undefined;
14014
14123
  practiceType?: PracticeType | undefined;
14015
14124
  languages?: Language[] | undefined;
14016
14125
  calendarSyncEnabled?: boolean | undefined;
@@ -14084,7 +14193,7 @@ declare const clinicGroupSchema: z.ZodObject<{
14084
14193
  usedByUserRef?: string | undefined;
14085
14194
  }[];
14086
14195
  description?: string | null | undefined;
14087
- logo?: string | null | undefined;
14196
+ logo?: string | File | Blob | null | undefined;
14088
14197
  practiceType?: PracticeType | undefined;
14089
14198
  languages?: Language[] | undefined;
14090
14199
  calendarSyncEnabled?: boolean | undefined;
@@ -14453,16 +14562,16 @@ declare const clinicSchema: z.ZodObject<{
14453
14562
  } | null;
14454
14563
  }>;
14455
14564
  tags: z.ZodArray<z.ZodNativeEnum<typeof ClinicTag>, "many">;
14456
- featuredPhotos: z.ZodArray<z.ZodString, "many">;
14457
- coverPhoto: z.ZodNullable<z.ZodString>;
14565
+ featuredPhotos: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>, "many">;
14566
+ coverPhoto: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
14458
14567
  photosWithTags: z.ZodOptional<z.ZodArray<z.ZodObject<{
14459
- url: z.ZodString;
14568
+ url: z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
14460
14569
  tag: z.ZodString;
14461
14570
  }, "strip", z.ZodTypeAny, {
14462
- url: string;
14571
+ url: string | File | Blob;
14463
14572
  tag: string;
14464
14573
  }, {
14465
- url: string;
14574
+ url: string | File | Blob;
14466
14575
  tag: string;
14467
14576
  }>, "many">>;
14468
14577
  doctors: z.ZodArray<z.ZodString, "many">;
@@ -14574,7 +14683,7 @@ declare const clinicSchema: z.ZodObject<{
14574
14683
  updatedAt: z.ZodUnion<[z.ZodType<Date, z.ZodTypeDef, Date>, z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>]>;
14575
14684
  isActive: z.ZodBoolean;
14576
14685
  isVerified: z.ZodBoolean;
14577
- logo: z.ZodOptional<z.ZodString>;
14686
+ logo: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>>;
14578
14687
  }, "strip", z.ZodTypeAny, {
14579
14688
  id: string;
14580
14689
  createdAt: Date | Timestamp;
@@ -14677,9 +14786,9 @@ declare const clinicSchema: z.ZodObject<{
14677
14786
  } | null;
14678
14787
  };
14679
14788
  tags: ClinicTag[];
14680
- coverPhoto: string | null;
14789
+ coverPhoto: string | File | Blob | null;
14681
14790
  admins: string[];
14682
- featuredPhotos: string[];
14791
+ featuredPhotos: (string | File | Blob)[];
14683
14792
  reviewInfo: {
14684
14793
  cleanliness: number;
14685
14794
  facilities: number;
@@ -14699,9 +14808,9 @@ declare const clinicSchema: z.ZodObject<{
14699
14808
  description?: string | null | undefined;
14700
14809
  }[];
14701
14810
  description?: string | null | undefined;
14702
- logo?: string | undefined;
14811
+ logo?: string | File | Blob | null | undefined;
14703
14812
  photosWithTags?: {
14704
- url: string;
14813
+ url: string | File | Blob;
14705
14814
  tag: string;
14706
14815
  }[] | undefined;
14707
14816
  }, {
@@ -14806,9 +14915,9 @@ declare const clinicSchema: z.ZodObject<{
14806
14915
  } | null;
14807
14916
  };
14808
14917
  tags: ClinicTag[];
14809
- coverPhoto: string | null;
14918
+ coverPhoto: string | File | Blob | null;
14810
14919
  admins: string[];
14811
- featuredPhotos: string[];
14920
+ featuredPhotos: (string | File | Blob)[];
14812
14921
  reviewInfo: {
14813
14922
  cleanliness: number;
14814
14923
  facilities: number;
@@ -14828,9 +14937,9 @@ declare const clinicSchema: z.ZodObject<{
14828
14937
  description?: string | null | undefined;
14829
14938
  }[];
14830
14939
  description?: string | null | undefined;
14831
- logo?: string | undefined;
14940
+ logo?: string | File | Blob | null | undefined;
14832
14941
  photosWithTags?: {
14833
- url: string;
14942
+ url: string | File | Blob;
14834
14943
  tag: string;
14835
14944
  }[] | undefined;
14836
14945
  }>;
@@ -14960,7 +15069,7 @@ declare const createClinicGroupSchema: z.ZodObject<{
14960
15069
  }>;
14961
15070
  ownerId: z.ZodNullable<z.ZodString>;
14962
15071
  isActive: z.ZodBoolean;
14963
- logo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
15072
+ logo: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>>;
14964
15073
  practiceType: z.ZodOptional<z.ZodNativeEnum<typeof PracticeType>>;
14965
15074
  languages: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Language>, "many">>;
14966
15075
  subscriptionModel: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof SubscriptionModel>>>;
@@ -14995,7 +15104,7 @@ declare const createClinicGroupSchema: z.ZodObject<{
14995
15104
  ownerId: string | null;
14996
15105
  subscriptionModel: SubscriptionModel;
14997
15106
  description?: string | undefined;
14998
- logo?: string | null | undefined;
15107
+ logo?: string | File | Blob | null | undefined;
14999
15108
  practiceType?: PracticeType | undefined;
15000
15109
  languages?: Language[] | undefined;
15001
15110
  calendarSyncEnabled?: boolean | undefined;
@@ -15028,7 +15137,7 @@ declare const createClinicGroupSchema: z.ZodObject<{
15028
15137
  };
15029
15138
  ownerId: string | null;
15030
15139
  description?: string | undefined;
15031
- logo?: string | null | undefined;
15140
+ logo?: string | File | Blob | null | undefined;
15032
15141
  practiceType?: PracticeType | undefined;
15033
15142
  languages?: Language[] | undefined;
15034
15143
  subscriptionModel?: SubscriptionModel | undefined;
@@ -15397,26 +15506,82 @@ declare const createClinicSchema: z.ZodObject<{
15397
15506
  } | null;
15398
15507
  }>;
15399
15508
  tags: z.ZodArray<z.ZodNativeEnum<typeof ClinicTag>, "many">;
15400
- coverPhoto: z.ZodNullable<z.ZodString>;
15509
+ coverPhoto: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>>;
15401
15510
  photosWithTags: z.ZodOptional<z.ZodArray<z.ZodObject<{
15402
- url: z.ZodString;
15511
+ url: z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
15403
15512
  tag: z.ZodString;
15404
15513
  }, "strip", z.ZodTypeAny, {
15405
- url: string;
15514
+ url: string | File | Blob;
15406
15515
  tag: string;
15407
15516
  }, {
15408
- url: string;
15517
+ url: string | File | Blob;
15409
15518
  tag: string;
15410
15519
  }>, "many">>;
15520
+ doctors: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
15521
+ procedures: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
15522
+ proceduresInfo: z.ZodOptional<z.ZodArray<z.ZodObject<{
15523
+ id: z.ZodString;
15524
+ name: z.ZodString;
15525
+ description: z.ZodOptional<z.ZodString>;
15526
+ photo: z.ZodOptional<z.ZodString>;
15527
+ family: z.ZodNativeEnum<typeof ProcedureFamily>;
15528
+ categoryName: z.ZodString;
15529
+ subcategoryName: z.ZodString;
15530
+ technologyName: z.ZodString;
15531
+ price: z.ZodNumber;
15532
+ pricingMeasure: z.ZodNativeEnum<typeof PricingMeasure>;
15533
+ currency: z.ZodNativeEnum<typeof Currency>;
15534
+ duration: z.ZodNumber;
15535
+ clinicId: z.ZodString;
15536
+ clinicName: z.ZodString;
15537
+ practitionerId: z.ZodString;
15538
+ practitionerName: z.ZodString;
15539
+ }, "strip", z.ZodTypeAny, {
15540
+ id: string;
15541
+ name: string;
15542
+ technologyName: string;
15543
+ duration: number;
15544
+ practitionerId: string;
15545
+ clinicId: string;
15546
+ family: ProcedureFamily;
15547
+ currency: Currency;
15548
+ categoryName: string;
15549
+ subcategoryName: string;
15550
+ price: number;
15551
+ pricingMeasure: PricingMeasure;
15552
+ clinicName: string;
15553
+ practitionerName: string;
15554
+ description?: string | undefined;
15555
+ photo?: string | undefined;
15556
+ }, {
15557
+ id: string;
15558
+ name: string;
15559
+ technologyName: string;
15560
+ duration: number;
15561
+ practitionerId: string;
15562
+ clinicId: string;
15563
+ family: ProcedureFamily;
15564
+ currency: Currency;
15565
+ categoryName: string;
15566
+ subcategoryName: string;
15567
+ price: number;
15568
+ pricingMeasure: PricingMeasure;
15569
+ clinicName: string;
15570
+ practitionerName: string;
15571
+ description?: string | undefined;
15572
+ photo?: string | undefined;
15573
+ }>, "many">>;
15411
15574
  admins: z.ZodArray<z.ZodString, "many">;
15412
- isActive: z.ZodBoolean;
15413
- isVerified: z.ZodBoolean;
15414
- logo: z.ZodOptional<z.ZodString>;
15415
- featuredPhotos: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15575
+ isActive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
15576
+ isVerified: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
15577
+ logo: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>>;
15578
+ featuredPhotos: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>, "many">>>;
15416
15579
  }, "strip", z.ZodTypeAny, {
15417
15580
  name: string;
15418
15581
  isActive: boolean;
15582
+ procedures: string[];
15419
15583
  isVerified: boolean;
15584
+ doctors: string[];
15420
15585
  clinicGroupId: string;
15421
15586
  contactInfo: {
15422
15587
  email: string;
@@ -15492,19 +15657,35 @@ declare const createClinicSchema: z.ZodObject<{
15492
15657
  } | null;
15493
15658
  };
15494
15659
  tags: ClinicTag[];
15495
- coverPhoto: string | null;
15496
15660
  admins: string[];
15661
+ featuredPhotos: (string | File | Blob)[];
15497
15662
  description?: string | undefined;
15498
- logo?: string | undefined;
15663
+ proceduresInfo?: {
15664
+ id: string;
15665
+ name: string;
15666
+ technologyName: string;
15667
+ duration: number;
15668
+ practitionerId: string;
15669
+ clinicId: string;
15670
+ family: ProcedureFamily;
15671
+ currency: Currency;
15672
+ categoryName: string;
15673
+ subcategoryName: string;
15674
+ price: number;
15675
+ pricingMeasure: PricingMeasure;
15676
+ clinicName: string;
15677
+ practitionerName: string;
15678
+ description?: string | undefined;
15679
+ photo?: string | undefined;
15680
+ }[] | undefined;
15681
+ logo?: string | File | Blob | null | undefined;
15682
+ coverPhoto?: string | File | Blob | null | undefined;
15499
15683
  photosWithTags?: {
15500
- url: string;
15684
+ url: string | File | Blob;
15501
15685
  tag: string;
15502
15686
  }[] | undefined;
15503
- featuredPhotos?: string[] | undefined;
15504
15687
  }, {
15505
15688
  name: string;
15506
- isActive: boolean;
15507
- isVerified: boolean;
15508
15689
  clinicGroupId: string;
15509
15690
  contactInfo: {
15510
15691
  email: string;
@@ -15580,15 +15761,37 @@ declare const createClinicSchema: z.ZodObject<{
15580
15761
  } | null;
15581
15762
  };
15582
15763
  tags: ClinicTag[];
15583
- coverPhoto: string | null;
15584
15764
  admins: string[];
15765
+ isActive?: boolean | undefined;
15585
15766
  description?: string | undefined;
15586
- logo?: string | undefined;
15767
+ procedures?: string[] | undefined;
15768
+ isVerified?: boolean | undefined;
15769
+ proceduresInfo?: {
15770
+ id: string;
15771
+ name: string;
15772
+ technologyName: string;
15773
+ duration: number;
15774
+ practitionerId: string;
15775
+ clinicId: string;
15776
+ family: ProcedureFamily;
15777
+ currency: Currency;
15778
+ categoryName: string;
15779
+ subcategoryName: string;
15780
+ price: number;
15781
+ pricingMeasure: PricingMeasure;
15782
+ clinicName: string;
15783
+ practitionerName: string;
15784
+ description?: string | undefined;
15785
+ photo?: string | undefined;
15786
+ }[] | undefined;
15787
+ doctors?: string[] | undefined;
15788
+ logo?: string | File | Blob | null | undefined;
15789
+ coverPhoto?: string | File | Blob | null | undefined;
15587
15790
  photosWithTags?: {
15588
- url: string;
15791
+ url: string | File | Blob;
15589
15792
  tag: string;
15590
15793
  }[] | undefined;
15591
- featuredPhotos?: string[] | undefined;
15794
+ featuredPhotos?: (string | File | Blob)[] | undefined;
15592
15795
  }>;
15593
15796
  /**
15594
15797
  * Validaciona šema za default grupu
@@ -15657,7 +15860,7 @@ declare const createDefaultClinicGroupSchema: z.ZodObject<{
15657
15860
  geohash?: string | null | undefined;
15658
15861
  }>;
15659
15862
  isActive: z.ZodBoolean;
15660
- logo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
15863
+ logo: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>>;
15661
15864
  practiceType: z.ZodOptional<z.ZodNativeEnum<typeof PracticeType>>;
15662
15865
  languages: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Language>, "many">>;
15663
15866
  subscriptionModel: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof SubscriptionModel>>>;
@@ -15688,7 +15891,7 @@ declare const createDefaultClinicGroupSchema: z.ZodObject<{
15688
15891
  };
15689
15892
  ownerId: string | null;
15690
15893
  subscriptionModel: SubscriptionModel;
15691
- logo?: string | null | undefined;
15894
+ logo?: string | File | Blob | null | undefined;
15692
15895
  practiceType?: PracticeType | undefined;
15693
15896
  languages?: Language[] | undefined;
15694
15897
  }, {
@@ -15717,7 +15920,7 @@ declare const createDefaultClinicGroupSchema: z.ZodObject<{
15717
15920
  title?: string | null | undefined;
15718
15921
  };
15719
15922
  ownerId: string | null;
15720
- logo?: string | null | undefined;
15923
+ logo?: string | File | Blob | null | undefined;
15721
15924
  practiceType?: PracticeType | undefined;
15722
15925
  languages?: Language[] | undefined;
15723
15926
  subscriptionModel?: SubscriptionModel | undefined;
@@ -15761,7 +15964,7 @@ declare const clinicAdminSignupSchema: z.ZodObject<{
15761
15964
  postalCode: string;
15762
15965
  geohash?: string | null | undefined;
15763
15966
  }>;
15764
- logo: z.ZodOptional<z.ZodString>;
15967
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
15765
15968
  contactInfo: z.ZodObject<{
15766
15969
  email: z.ZodString;
15767
15970
  phoneNumber: z.ZodString;
@@ -15797,7 +16000,7 @@ declare const clinicAdminSignupSchema: z.ZodObject<{
15797
16000
  geohash?: string | null | undefined;
15798
16001
  };
15799
16002
  subscriptionModel: SubscriptionModel;
15800
- logo?: string | undefined;
16003
+ logo?: string | File | Blob | undefined;
15801
16004
  }, {
15802
16005
  name: string;
15803
16006
  contactInfo: {
@@ -15815,7 +16018,7 @@ declare const clinicAdminSignupSchema: z.ZodObject<{
15815
16018
  postalCode: string;
15816
16019
  geohash?: string | null | undefined;
15817
16020
  };
15818
- logo?: string | undefined;
16021
+ logo?: string | File | Blob | undefined;
15819
16022
  subscriptionModel?: SubscriptionModel | undefined;
15820
16023
  }>>;
15821
16024
  }, "strip", z.ZodTypeAny, {
@@ -15845,7 +16048,7 @@ declare const clinicAdminSignupSchema: z.ZodObject<{
15845
16048
  geohash?: string | null | undefined;
15846
16049
  };
15847
16050
  subscriptionModel: SubscriptionModel;
15848
- logo?: string | undefined;
16051
+ logo?: string | File | Blob | undefined;
15849
16052
  } | undefined;
15850
16053
  }, {
15851
16054
  firstName: string;
@@ -15873,7 +16076,7 @@ declare const clinicAdminSignupSchema: z.ZodObject<{
15873
16076
  postalCode: string;
15874
16077
  geohash?: string | null | undefined;
15875
16078
  };
15876
- logo?: string | undefined;
16079
+ logo?: string | File | Blob | undefined;
15877
16080
  subscriptionModel?: SubscriptionModel | undefined;
15878
16081
  } | undefined;
15879
16082
  }>;
@@ -15884,13 +16087,13 @@ declare const clinicGroupSetupSchema: z.ZodObject<{
15884
16087
  languages: z.ZodArray<z.ZodNativeEnum<typeof Language>, "many">;
15885
16088
  practiceType: z.ZodNativeEnum<typeof PracticeType>;
15886
16089
  description: z.ZodString;
15887
- logo: z.ZodString;
16090
+ logo: z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
15888
16091
  calendarSyncEnabled: z.ZodBoolean;
15889
16092
  autoConfirmAppointments: z.ZodBoolean;
15890
16093
  businessIdentificationNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
15891
16094
  }, "strip", z.ZodTypeAny, {
15892
16095
  description: string;
15893
- logo: string;
16096
+ logo: string | File | Blob;
15894
16097
  practiceType: PracticeType;
15895
16098
  languages: Language[];
15896
16099
  calendarSyncEnabled: boolean;
@@ -15898,7 +16101,7 @@ declare const clinicGroupSetupSchema: z.ZodObject<{
15898
16101
  businessIdentificationNumber?: string | null | undefined;
15899
16102
  }, {
15900
16103
  description: string;
15901
- logo: string;
16104
+ logo: string | File | Blob;
15902
16105
  practiceType: PracticeType;
15903
16106
  languages: Language[];
15904
16107
  calendarSyncEnabled: boolean;
@@ -16265,19 +16468,19 @@ declare const clinicBranchSetupSchema: z.ZodObject<{
16265
16468
  } | null;
16266
16469
  }>;
16267
16470
  tags: z.ZodArray<z.ZodNativeEnum<typeof ClinicTag>, "many">;
16268
- logo: z.ZodOptional<z.ZodString>;
16269
- coverPhoto: z.ZodNullable<z.ZodString>;
16471
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
16472
+ coverPhoto: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>>;
16270
16473
  photosWithTags: z.ZodOptional<z.ZodArray<z.ZodObject<{
16271
- url: z.ZodString;
16474
+ url: z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
16272
16475
  tag: z.ZodString;
16273
16476
  }, "strip", z.ZodTypeAny, {
16274
- url: string;
16477
+ url: string | File | Blob;
16275
16478
  tag: string;
16276
16479
  }, {
16277
- url: string;
16480
+ url: string | File | Blob;
16278
16481
  tag: string;
16279
16482
  }>, "many">>;
16280
- featuredPhotos: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
16483
+ featuredPhotos: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>, "many">>;
16281
16484
  }, "strip", z.ZodTypeAny, {
16282
16485
  name: string;
16283
16486
  contactInfo: {
@@ -16354,14 +16557,14 @@ declare const clinicBranchSetupSchema: z.ZodObject<{
16354
16557
  } | null;
16355
16558
  };
16356
16559
  tags: ClinicTag[];
16357
- coverPhoto: string | null;
16358
16560
  description?: string | undefined;
16359
- logo?: string | undefined;
16561
+ logo?: string | File | Blob | undefined;
16562
+ coverPhoto?: string | File | Blob | null | undefined;
16360
16563
  photosWithTags?: {
16361
- url: string;
16564
+ url: string | File | Blob;
16362
16565
  tag: string;
16363
16566
  }[] | undefined;
16364
- featuredPhotos?: string[] | undefined;
16567
+ featuredPhotos?: (string | File | Blob)[] | undefined;
16365
16568
  }, {
16366
16569
  name: string;
16367
16570
  contactInfo: {
@@ -16438,14 +16641,14 @@ declare const clinicBranchSetupSchema: z.ZodObject<{
16438
16641
  } | null;
16439
16642
  };
16440
16643
  tags: ClinicTag[];
16441
- coverPhoto: string | null;
16442
16644
  description?: string | undefined;
16443
- logo?: string | undefined;
16645
+ logo?: string | File | Blob | undefined;
16646
+ coverPhoto?: string | File | Blob | null | undefined;
16444
16647
  photosWithTags?: {
16445
- url: string;
16648
+ url: string | File | Blob;
16446
16649
  tag: string;
16447
16650
  }[] | undefined;
16448
- featuredPhotos?: string[] | undefined;
16651
+ featuredPhotos?: (string | File | Blob)[] | undefined;
16449
16652
  }>;
16450
16653
  /**
16451
16654
  * Validaciona šema za updating clinic admin
@@ -16573,7 +16776,7 @@ declare const updateClinicGroupSchema: z.ZodObject<{
16573
16776
  }>>;
16574
16777
  ownerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16575
16778
  isActive: z.ZodOptional<z.ZodBoolean>;
16576
- logo: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
16779
+ logo: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>>>;
16577
16780
  practiceType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof PracticeType>>>;
16578
16781
  languages: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Language>, "many">>>;
16579
16782
  subscriptionModel: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof SubscriptionModel>>>>;
@@ -16607,7 +16810,7 @@ declare const updateClinicGroupSchema: z.ZodObject<{
16607
16810
  title?: string | null | undefined;
16608
16811
  } | undefined;
16609
16812
  ownerId?: string | null | undefined;
16610
- logo?: string | null | undefined;
16813
+ logo?: string | File | Blob | null | undefined;
16611
16814
  practiceType?: PracticeType | undefined;
16612
16815
  languages?: Language[] | undefined;
16613
16816
  subscriptionModel?: SubscriptionModel | undefined;
@@ -16641,7 +16844,7 @@ declare const updateClinicGroupSchema: z.ZodObject<{
16641
16844
  title?: string | null | undefined;
16642
16845
  } | undefined;
16643
16846
  ownerId?: string | null | undefined;
16644
- logo?: string | null | undefined;
16847
+ logo?: string | File | Blob | null | undefined;
16645
16848
  practiceType?: PracticeType | undefined;
16646
16849
  languages?: Language[] | undefined;
16647
16850
  subscriptionModel?: SubscriptionModel | undefined;
@@ -16653,9 +16856,8 @@ declare const updateClinicGroupSchema: z.ZodObject<{
16653
16856
  * Validaciona šema za updating clinic
16654
16857
  */
16655
16858
  declare const updateClinicSchema: z.ZodObject<{
16656
- clinicGroupId: z.ZodOptional<z.ZodString>;
16657
16859
  name: z.ZodOptional<z.ZodString>;
16658
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16860
+ description: z.ZodOptional<z.ZodString>;
16659
16861
  location: z.ZodOptional<z.ZodObject<{
16660
16862
  address: z.ZodString;
16661
16863
  city: z.ZodString;
@@ -17010,35 +17212,107 @@ declare const updateClinicSchema: z.ZodObject<{
17010
17212
  } | null;
17011
17213
  }>>;
17012
17214
  tags: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ClinicTag>, "many">>;
17013
- coverPhoto: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17014
- photosWithTags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
17015
- url: z.ZodString;
17215
+ coverPhoto: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>>;
17216
+ photosWithTags: z.ZodOptional<z.ZodArray<z.ZodObject<{
17217
+ url: z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
17016
17218
  tag: z.ZodString;
17017
17219
  }, "strip", z.ZodTypeAny, {
17018
- url: string;
17220
+ url: string | File | Blob;
17019
17221
  tag: string;
17020
17222
  }, {
17021
- url: string;
17223
+ url: string | File | Blob;
17022
17224
  tag: string;
17023
- }>, "many">>>;
17024
- admins: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17225
+ }>, "many">>;
17226
+ doctors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17227
+ procedures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17228
+ proceduresInfo: z.ZodOptional<z.ZodArray<z.ZodObject<{
17229
+ id: z.ZodString;
17230
+ name: z.ZodString;
17231
+ description: z.ZodOptional<z.ZodString>;
17232
+ photo: z.ZodOptional<z.ZodString>;
17233
+ family: z.ZodNativeEnum<typeof ProcedureFamily>;
17234
+ categoryName: z.ZodString;
17235
+ subcategoryName: z.ZodString;
17236
+ technologyName: z.ZodString;
17237
+ price: z.ZodNumber;
17238
+ pricingMeasure: z.ZodNativeEnum<typeof PricingMeasure>;
17239
+ currency: z.ZodNativeEnum<typeof Currency>;
17240
+ duration: z.ZodNumber;
17241
+ clinicId: z.ZodString;
17242
+ clinicName: z.ZodString;
17243
+ practitionerId: z.ZodString;
17244
+ practitionerName: z.ZodString;
17245
+ }, "strip", z.ZodTypeAny, {
17246
+ id: string;
17247
+ name: string;
17248
+ technologyName: string;
17249
+ duration: number;
17250
+ practitionerId: string;
17251
+ clinicId: string;
17252
+ family: ProcedureFamily;
17253
+ currency: Currency;
17254
+ categoryName: string;
17255
+ subcategoryName: string;
17256
+ price: number;
17257
+ pricingMeasure: PricingMeasure;
17258
+ clinicName: string;
17259
+ practitionerName: string;
17260
+ description?: string | undefined;
17261
+ photo?: string | undefined;
17262
+ }, {
17263
+ id: string;
17264
+ name: string;
17265
+ technologyName: string;
17266
+ duration: number;
17267
+ practitionerId: string;
17268
+ clinicId: string;
17269
+ family: ProcedureFamily;
17270
+ currency: Currency;
17271
+ categoryName: string;
17272
+ subcategoryName: string;
17273
+ price: number;
17274
+ pricingMeasure: PricingMeasure;
17275
+ clinicName: string;
17276
+ practitionerName: string;
17277
+ description?: string | undefined;
17278
+ photo?: string | undefined;
17279
+ }>, "many">>;
17025
17280
  isActive: z.ZodOptional<z.ZodBoolean>;
17026
17281
  isVerified: z.ZodOptional<z.ZodBoolean>;
17027
- logo: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17028
- featuredPhotos: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
17282
+ logo: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>>;
17283
+ featuredPhotos: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>, "many">>;
17029
17284
  }, "strip", z.ZodTypeAny, {
17030
17285
  name?: string | undefined;
17031
17286
  isActive?: boolean | undefined;
17032
17287
  description?: string | undefined;
17288
+ procedures?: string[] | undefined;
17033
17289
  isVerified?: boolean | undefined;
17034
- clinicGroupId?: string | undefined;
17290
+ proceduresInfo?: {
17291
+ id: string;
17292
+ name: string;
17293
+ technologyName: string;
17294
+ duration: number;
17295
+ practitionerId: string;
17296
+ clinicId: string;
17297
+ family: ProcedureFamily;
17298
+ currency: Currency;
17299
+ categoryName: string;
17300
+ subcategoryName: string;
17301
+ price: number;
17302
+ pricingMeasure: PricingMeasure;
17303
+ clinicName: string;
17304
+ practitionerName: string;
17305
+ description?: string | undefined;
17306
+ photo?: string | undefined;
17307
+ }[] | undefined;
17308
+ doctors?: string[] | undefined;
17035
17309
  contactInfo?: {
17036
17310
  email: string;
17037
17311
  phoneNumber: string;
17038
17312
  alternativePhoneNumber?: string | null | undefined;
17039
17313
  website?: string | null | undefined;
17040
17314
  } | undefined;
17041
- logo?: string | undefined;
17315
+ logo?: string | File | Blob | null | undefined;
17042
17316
  location?: {
17043
17317
  latitude: number;
17044
17318
  longitude: number;
@@ -17107,26 +17381,44 @@ declare const updateClinicSchema: z.ZodObject<{
17107
17381
  } | null;
17108
17382
  } | undefined;
17109
17383
  tags?: ClinicTag[] | undefined;
17110
- coverPhoto?: string | null | undefined;
17384
+ coverPhoto?: string | File | Blob | null | undefined;
17111
17385
  photosWithTags?: {
17112
- url: string;
17386
+ url: string | File | Blob;
17113
17387
  tag: string;
17114
17388
  }[] | undefined;
17115
- admins?: string[] | undefined;
17116
- featuredPhotos?: string[] | undefined;
17389
+ featuredPhotos?: (string | File | Blob)[] | undefined;
17117
17390
  }, {
17118
17391
  name?: string | undefined;
17119
17392
  isActive?: boolean | undefined;
17120
17393
  description?: string | undefined;
17394
+ procedures?: string[] | undefined;
17121
17395
  isVerified?: boolean | undefined;
17122
- clinicGroupId?: string | undefined;
17396
+ proceduresInfo?: {
17397
+ id: string;
17398
+ name: string;
17399
+ technologyName: string;
17400
+ duration: number;
17401
+ practitionerId: string;
17402
+ clinicId: string;
17403
+ family: ProcedureFamily;
17404
+ currency: Currency;
17405
+ categoryName: string;
17406
+ subcategoryName: string;
17407
+ price: number;
17408
+ pricingMeasure: PricingMeasure;
17409
+ clinicName: string;
17410
+ practitionerName: string;
17411
+ description?: string | undefined;
17412
+ photo?: string | undefined;
17413
+ }[] | undefined;
17414
+ doctors?: string[] | undefined;
17123
17415
  contactInfo?: {
17124
17416
  email: string;
17125
17417
  phoneNumber: string;
17126
17418
  alternativePhoneNumber?: string | null | undefined;
17127
17419
  website?: string | null | undefined;
17128
17420
  } | undefined;
17129
- logo?: string | undefined;
17421
+ logo?: string | File | Blob | null | undefined;
17130
17422
  location?: {
17131
17423
  latitude: number;
17132
17424
  longitude: number;
@@ -17195,13 +17487,12 @@ declare const updateClinicSchema: z.ZodObject<{
17195
17487
  } | null;
17196
17488
  } | undefined;
17197
17489
  tags?: ClinicTag[] | undefined;
17198
- coverPhoto?: string | null | undefined;
17490
+ coverPhoto?: string | File | Blob | null | undefined;
17199
17491
  photosWithTags?: {
17200
- url: string;
17492
+ url: string | File | Blob;
17201
17493
  tag: string;
17202
17494
  }[] | undefined;
17203
- admins?: string[] | undefined;
17204
- featuredPhotos?: string[] | undefined;
17495
+ featuredPhotos?: (string | File | Blob)[] | undefined;
17205
17496
  }>;
17206
17497
 
17207
17498
  /**