@blackcode_sa/metaestetics-api 1.7.19 → 1.7.21

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.
@@ -775,7 +775,7 @@ interface PractitionerBasicInfo {
775
775
  phoneNumber: string;
776
776
  dateOfBirth: Timestamp | Date;
777
777
  gender: "male" | "female" | "other";
778
- profileImageUrl?: string;
778
+ profileImageUrl?: MediaResource;
779
779
  bio?: string;
780
780
  languages: string[];
781
781
  }
@@ -934,7 +934,6 @@ interface PatientProfile {
934
934
  id: string;
935
935
  userRef: string;
936
936
  displayName: string;
937
- profilePhoto: string | null;
938
937
  gamification: GamificationInfo;
939
938
  expoTokens: string[];
940
939
  isActive: boolean;
@@ -775,7 +775,7 @@ interface PractitionerBasicInfo {
775
775
  phoneNumber: string;
776
776
  dateOfBirth: Timestamp | Date;
777
777
  gender: "male" | "female" | "other";
778
- profileImageUrl?: string;
778
+ profileImageUrl?: MediaResource;
779
779
  bio?: string;
780
780
  languages: string[];
781
781
  }
@@ -934,7 +934,6 @@ interface PatientProfile {
934
934
  id: string;
935
935
  userRef: string;
936
936
  displayName: string;
937
- profilePhoto: string | null;
938
937
  gamification: GamificationInfo;
939
938
  expoTokens: string[];
940
939
  isActive: boolean;
@@ -6378,7 +6378,7 @@ var BookingAdmin = class {
6378
6378
  };
6379
6379
  const practitionerInfo = {
6380
6380
  id: practitionerSnap.id,
6381
- practitionerPhoto: practitionerData.basicInfo.profileImageUrl || null,
6381
+ practitionerPhoto: typeof practitionerData.basicInfo.profileImageUrl === "string" ? practitionerData.basicInfo.profileImageUrl : null,
6382
6382
  name: `${practitionerData.basicInfo.firstName} ${practitionerData.basicInfo.lastName}`,
6383
6383
  email: practitionerData.basicInfo.email,
6384
6384
  phone: practitionerData.basicInfo.phoneNumber || null,
@@ -6321,7 +6321,7 @@ var BookingAdmin = class {
6321
6321
  };
6322
6322
  const practitionerInfo = {
6323
6323
  id: practitionerSnap.id,
6324
- practitionerPhoto: practitionerData.basicInfo.profileImageUrl || null,
6324
+ practitionerPhoto: typeof practitionerData.basicInfo.profileImageUrl === "string" ? practitionerData.basicInfo.profileImageUrl : null,
6325
6325
  name: `${practitionerData.basicInfo.firstName} ${practitionerData.basicInfo.lastName}`,
6326
6326
  email: practitionerData.basicInfo.email,
6327
6327
  phone: practitionerData.basicInfo.phoneNumber || null,
@@ -4868,6 +4868,11 @@ declare enum Currency {
4868
4868
  AUD = "AUD"
4869
4869
  }
4870
4870
 
4871
+ /**
4872
+ * Type that allows a field to be either a URL string or a File object
4873
+ */
4874
+ type MediaResource = string | File | Blob;
4875
+
4871
4876
  /**
4872
4877
  * Aggregated summary information for a procedure.
4873
4878
  * Used in arrays within Clinic and Practitioner documents for quick display.
@@ -4938,7 +4943,7 @@ interface PractitionerBasicInfo {
4938
4943
  phoneNumber: string;
4939
4944
  dateOfBirth: Timestamp | Date;
4940
4945
  gender: "male" | "female" | "other";
4941
- profileImageUrl?: string;
4946
+ profileImageUrl?: MediaResource;
4942
4947
  bio?: string;
4943
4948
  languages: string[];
4944
4949
  }
@@ -4868,6 +4868,11 @@ declare enum Currency {
4868
4868
  AUD = "AUD"
4869
4869
  }
4870
4870
 
4871
+ /**
4872
+ * Type that allows a field to be either a URL string or a File object
4873
+ */
4874
+ type MediaResource = string | File | Blob;
4875
+
4871
4876
  /**
4872
4877
  * Aggregated summary information for a procedure.
4873
4878
  * Used in arrays within Clinic and Practitioner documents for quick display.
@@ -4938,7 +4943,7 @@ interface PractitionerBasicInfo {
4938
4943
  phoneNumber: string;
4939
4944
  dateOfBirth: Timestamp | Date;
4940
4945
  gender: "male" | "female" | "other";
4941
- profileImageUrl?: string;
4946
+ profileImageUrl?: MediaResource;
4942
4947
  bio?: string;
4943
4948
  languages: string[];
4944
4949
  }
package/dist/index.d.mts CHANGED
@@ -1246,7 +1246,7 @@ interface PractitionerBasicInfo {
1246
1246
  phoneNumber: string;
1247
1247
  dateOfBirth: Timestamp | Date;
1248
1248
  gender: "male" | "female" | "other";
1249
- profileImageUrl?: string;
1249
+ profileImageUrl?: MediaResource;
1250
1250
  bio?: string;
1251
1251
  languages: string[];
1252
1252
  }
@@ -1683,7 +1683,7 @@ interface UpdatePatientLocationInfoData extends Partial<CreatePatientLocationInf
1683
1683
  interface PatientSensitiveInfo {
1684
1684
  patientId: string;
1685
1685
  userRef: string;
1686
- photoUrl?: string;
1686
+ photoUrl?: string | null;
1687
1687
  firstName: string;
1688
1688
  lastName: string;
1689
1689
  dateOfBirth: Timestamp | null;
@@ -1702,7 +1702,7 @@ interface PatientSensitiveInfo {
1702
1702
  interface CreatePatientSensitiveInfoData {
1703
1703
  patientId: string;
1704
1704
  userRef: string;
1705
- photoUrl?: string;
1705
+ photoUrl?: MediaResource | null;
1706
1706
  firstName: string;
1707
1707
  lastName: string;
1708
1708
  dateOfBirth: Timestamp | null;
@@ -1746,7 +1746,6 @@ interface PatientProfile {
1746
1746
  id: string;
1747
1747
  userRef: string;
1748
1748
  displayName: string;
1749
- profilePhoto: string | null;
1750
1749
  gamification: GamificationInfo;
1751
1750
  expoTokens: string[];
1752
1751
  isActive: boolean;
@@ -1778,7 +1777,7 @@ interface CreatePatientProfileData {
1778
1777
  /**
1779
1778
  * Tip za ažuriranje Patient profila
1780
1779
  */
1781
- interface UpdatePatientProfileData extends Partial<Omit<PatientProfile, 'id' | 'createdAt' | 'updatedAt'>> {
1780
+ interface UpdatePatientProfileData extends Partial<Omit<PatientProfile, "id" | "createdAt" | "updatedAt">> {
1782
1781
  updatedAt?: FieldValue;
1783
1782
  }
1784
1783
  /**
@@ -1797,7 +1796,7 @@ interface RequesterInfo {
1797
1796
  /** ID of the clinic admin user or practitioner user making the request. */
1798
1797
  id: string;
1799
1798
  /** Role of the requester, determining the search context. */
1800
- role: 'clinic_admin' | 'practitioner';
1799
+ role: "clinic_admin" | "practitioner";
1801
1800
  /** If role is 'clinic_admin', this is the associated clinic ID. */
1802
1801
  associatedClinicId?: string;
1803
1802
  /** If role is 'practitioner', this is the associated practitioner profile ID. */
@@ -5475,6 +5474,7 @@ interface CreateUserData {
5475
5474
  type FirebaseUser = User$1;
5476
5475
 
5477
5476
  declare class PatientService extends BaseService {
5477
+ private mediaService;
5478
5478
  constructor(db: Firestore, auth: Auth, app: FirebaseApp);
5479
5479
  createPatientProfile(data: CreatePatientProfileData): Promise<PatientProfile>;
5480
5480
  getPatientProfile(patientId: string): Promise<PatientProfile | null>;
@@ -5520,9 +5520,32 @@ declare class PatientService extends BaseService {
5520
5520
  removeDoctor(patientId: string, doctorRef: string): Promise<void>;
5521
5521
  addClinic(patientId: string, clinicId: string): Promise<void>;
5522
5522
  removeClinic(patientId: string, clinicId: string): Promise<void>;
5523
- uploadProfilePhoto(patientId: string, file: File): Promise<string>;
5524
- updateProfilePhoto(patientId: string, file: File): Promise<string>;
5523
+ /**
5524
+ * Uploads a profile photo for a patient
5525
+ * @param patientId - ID of the patient
5526
+ * @param file - File or Blob to upload
5527
+ * @returns URL of the uploaded photo
5528
+ */
5529
+ uploadProfilePhoto(patientId: string, file: File | Blob): Promise<string>;
5530
+ /**
5531
+ * Updates a patient's profile photo (replaces existing one)
5532
+ * @param patientId - ID of the patient
5533
+ * @param file - New file or Blob to upload
5534
+ * @returns URL of the new uploaded photo
5535
+ */
5536
+ updateProfilePhoto(patientId: string, file: File | Blob): Promise<string>;
5537
+ /**
5538
+ * Deletes a patient's profile photo
5539
+ * @param patientId - ID of the patient
5540
+ */
5525
5541
  deleteProfilePhoto(patientId: string): Promise<void>;
5542
+ /**
5543
+ * Handles profile photo upload for patients (supports MediaResource)
5544
+ * @param photoUrl - MediaResource (File, Blob, or URL string) from CreatePatientSensitiveInfoData
5545
+ * @param patientId - ID of the patient
5546
+ * @returns URL string of the uploaded or existing photo
5547
+ */
5548
+ private handleProfilePhotoUpload;
5526
5549
  updatePatientProfile(patientId: string, data: Partial<Omit<PatientProfile, "id" | "createdAt" | "updatedAt">>): Promise<PatientProfile>;
5527
5550
  updatePatientProfileByUserRef(userRef: string, data: Partial<Omit<PatientProfile, "id" | "createdAt" | "updatedAt">>): Promise<PatientProfile>;
5528
5551
  /**
@@ -5860,9 +5883,24 @@ declare class ClinicAdminService extends BaseService {
5860
5883
 
5861
5884
  declare class PractitionerService extends BaseService {
5862
5885
  private clinicService?;
5886
+ private mediaService;
5863
5887
  constructor(db: Firestore, auth: Auth, app: FirebaseApp, clinicService?: ClinicService);
5864
5888
  private getClinicService;
5865
5889
  setClinicService(clinicService: ClinicService): void;
5890
+ /**
5891
+ * Handles profile photo upload for practitioners
5892
+ * @param profilePhoto - MediaResource (File, Blob, or URL string)
5893
+ * @param practitionerId - ID of the practitioner
5894
+ * @returns URL string of the uploaded or existing photo
5895
+ */
5896
+ private handleProfilePhotoUpload;
5897
+ /**
5898
+ * Processes BasicPractitionerInfo to handle profile photo uploads
5899
+ * @param basicInfo - The basic info containing potential MediaResource profile photo
5900
+ * @param practitionerId - ID of the practitioner
5901
+ * @returns Processed basic info with URL string for profileImageUrl
5902
+ */
5903
+ private processBasicInfo;
5866
5904
  /**
5867
5905
  * Creates a new practitioner
5868
5906
  */
@@ -10288,7 +10326,6 @@ declare const createPatientLocationInfoSchema: z.ZodObject<{
10288
10326
  declare const patientSensitiveInfoSchema: z.ZodObject<{
10289
10327
  patientId: z.ZodString;
10290
10328
  userRef: z.ZodString;
10291
- photoUrl: z.ZodOptional<z.ZodString>;
10292
10329
  firstName: z.ZodString;
10293
10330
  lastName: z.ZodString;
10294
10331
  dateOfBirth: z.ZodNullable<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>>;
@@ -10339,7 +10376,6 @@ declare const patientSensitiveInfoSchema: z.ZodObject<{
10339
10376
  lastName: string;
10340
10377
  dateOfBirth: Timestamp | null;
10341
10378
  gender: Gender;
10342
- photoUrl?: string | undefined;
10343
10379
  email?: string | undefined;
10344
10380
  phoneNumber?: string | undefined;
10345
10381
  alternativePhoneNumber?: string | undefined;
@@ -10364,7 +10400,6 @@ declare const patientSensitiveInfoSchema: z.ZodObject<{
10364
10400
  lastName: string;
10365
10401
  dateOfBirth: Timestamp | null;
10366
10402
  gender: Gender;
10367
- photoUrl?: string | undefined;
10368
10403
  email?: string | undefined;
10369
10404
  phoneNumber?: string | undefined;
10370
10405
  alternativePhoneNumber?: string | undefined;
@@ -10432,7 +10467,6 @@ declare const patientProfileSchema: z.ZodObject<{
10432
10467
  id: z.ZodString;
10433
10468
  userRef: z.ZodString;
10434
10469
  displayName: z.ZodString;
10435
- profilePhoto: z.ZodNullable<z.ZodString>;
10436
10470
  gamification: z.ZodObject<{
10437
10471
  level: z.ZodNumber;
10438
10472
  points: z.ZodNumber;
@@ -10446,6 +10480,8 @@ declare const patientProfileSchema: z.ZodObject<{
10446
10480
  expoTokens: z.ZodArray<z.ZodString, "many">;
10447
10481
  isActive: z.ZodBoolean;
10448
10482
  isVerified: z.ZodBoolean;
10483
+ phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10484
+ dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>>>;
10449
10485
  doctors: z.ZodArray<z.ZodObject<{
10450
10486
  userRef: z.ZodString;
10451
10487
  assignedAt: z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>;
@@ -10503,7 +10539,6 @@ declare const patientProfileSchema: z.ZodObject<{
10503
10539
  }[];
10504
10540
  isVerified: boolean;
10505
10541
  displayName: string;
10506
- profilePhoto: string | null;
10507
10542
  gamification: {
10508
10543
  level: number;
10509
10544
  points: number;
@@ -10518,6 +10553,8 @@ declare const patientProfileSchema: z.ZodObject<{
10518
10553
  }[];
10519
10554
  doctorIds: string[];
10520
10555
  clinicIds: string[];
10556
+ dateOfBirth?: Timestamp | null | undefined;
10557
+ phoneNumber?: string | null | undefined;
10521
10558
  }, {
10522
10559
  id: string;
10523
10560
  createdAt: Timestamp;
@@ -10533,7 +10570,6 @@ declare const patientProfileSchema: z.ZodObject<{
10533
10570
  }[];
10534
10571
  isVerified: boolean;
10535
10572
  displayName: string;
10536
- profilePhoto: string | null;
10537
10573
  gamification: {
10538
10574
  level: number;
10539
10575
  points: number;
@@ -10548,6 +10584,8 @@ declare const patientProfileSchema: z.ZodObject<{
10548
10584
  }[];
10549
10585
  doctorIds: string[];
10550
10586
  clinicIds: string[];
10587
+ dateOfBirth?: Timestamp | null | undefined;
10588
+ phoneNumber?: string | null | undefined;
10551
10589
  }>;
10552
10590
  /**
10553
10591
  * Šema za validaciju podataka pri kreiranju profila
@@ -10555,7 +10593,6 @@ declare const patientProfileSchema: z.ZodObject<{
10555
10593
  declare const createPatientProfileSchema: z.ZodObject<{
10556
10594
  userRef: z.ZodString;
10557
10595
  displayName: z.ZodString;
10558
- profilePhoto: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10559
10596
  expoTokens: z.ZodArray<z.ZodString, "many">;
10560
10597
  gamification: z.ZodOptional<z.ZodObject<{
10561
10598
  level: z.ZodNumber;
@@ -10622,7 +10659,6 @@ declare const createPatientProfileSchema: z.ZodObject<{
10622
10659
  notes?: string | undefined;
10623
10660
  assignedBy?: string | undefined;
10624
10661
  }[] | undefined;
10625
- profilePhoto?: string | null | undefined;
10626
10662
  gamification?: {
10627
10663
  level: number;
10628
10664
  points: number;
@@ -10649,7 +10685,6 @@ declare const createPatientProfileSchema: z.ZodObject<{
10649
10685
  notes?: string | undefined;
10650
10686
  assignedBy?: string | undefined;
10651
10687
  }[] | undefined;
10652
- profilePhoto?: string | null | undefined;
10653
10688
  gamification?: {
10654
10689
  level: number;
10655
10690
  points: number;
@@ -10670,7 +10705,7 @@ declare const createPatientProfileSchema: z.ZodObject<{
10670
10705
  declare const createPatientSensitiveInfoSchema: z.ZodObject<{
10671
10706
  patientId: z.ZodString;
10672
10707
  userRef: z.ZodString;
10673
- photoUrl: z.ZodOptional<z.ZodString>;
10708
+ photoUrl: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>>;
10674
10709
  firstName: z.ZodString;
10675
10710
  lastName: z.ZodString;
10676
10711
  dateOfBirth: z.ZodNullable<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>>;
@@ -10717,7 +10752,7 @@ declare const createPatientSensitiveInfoSchema: z.ZodObject<{
10717
10752
  lastName: string;
10718
10753
  dateOfBirth: Timestamp | null;
10719
10754
  gender: Gender;
10720
- photoUrl?: string | undefined;
10755
+ photoUrl?: string | File | Blob | null | undefined;
10721
10756
  email?: string | undefined;
10722
10757
  phoneNumber?: string | undefined;
10723
10758
  alternativePhoneNumber?: string | undefined;
@@ -10740,7 +10775,7 @@ declare const createPatientSensitiveInfoSchema: z.ZodObject<{
10740
10775
  lastName: string;
10741
10776
  dateOfBirth: Timestamp | null;
10742
10777
  gender: Gender;
10743
- photoUrl?: string | undefined;
10778
+ photoUrl?: string | File | Blob | null | undefined;
10744
10779
  email?: string | undefined;
10745
10780
  phoneNumber?: string | undefined;
10746
10781
  alternativePhoneNumber?: string | undefined;
@@ -10817,7 +10852,7 @@ declare const practitionerBasicInfoSchema: z.ZodObject<{
10817
10852
  phoneNumber: z.ZodString;
10818
10853
  dateOfBirth: z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]>;
10819
10854
  gender: z.ZodEnum<["male", "female", "other"]>;
10820
- profileImageUrl: z.ZodOptional<z.ZodString>;
10855
+ profileImageUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
10821
10856
  bio: z.ZodOptional<z.ZodString>;
10822
10857
  languages: z.ZodArray<z.ZodString, "many">;
10823
10858
  }, "strip", z.ZodTypeAny, {
@@ -10829,7 +10864,7 @@ declare const practitionerBasicInfoSchema: z.ZodObject<{
10829
10864
  phoneNumber: string;
10830
10865
  languages: string[];
10831
10866
  title: string;
10832
- profileImageUrl?: string | undefined;
10867
+ profileImageUrl?: string | File | Blob | undefined;
10833
10868
  bio?: string | undefined;
10834
10869
  }, {
10835
10870
  firstName: string;
@@ -10840,7 +10875,7 @@ declare const practitionerBasicInfoSchema: z.ZodObject<{
10840
10875
  phoneNumber: string;
10841
10876
  languages: string[];
10842
10877
  title: string;
10843
- profileImageUrl?: string | undefined;
10878
+ profileImageUrl?: string | File | Blob | undefined;
10844
10879
  bio?: string | undefined;
10845
10880
  }>;
10846
10881
  /**
@@ -11239,7 +11274,7 @@ declare const practitionerSchema: z.ZodObject<{
11239
11274
  phoneNumber: z.ZodString;
11240
11275
  dateOfBirth: z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]>;
11241
11276
  gender: z.ZodEnum<["male", "female", "other"]>;
11242
- profileImageUrl: z.ZodOptional<z.ZodString>;
11277
+ profileImageUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
11243
11278
  bio: z.ZodOptional<z.ZodString>;
11244
11279
  languages: z.ZodArray<z.ZodString, "many">;
11245
11280
  }, "strip", z.ZodTypeAny, {
@@ -11251,7 +11286,7 @@ declare const practitionerSchema: z.ZodObject<{
11251
11286
  phoneNumber: string;
11252
11287
  languages: string[];
11253
11288
  title: string;
11254
- profileImageUrl?: string | undefined;
11289
+ profileImageUrl?: string | File | Blob | undefined;
11255
11290
  bio?: string | undefined;
11256
11291
  }, {
11257
11292
  firstName: string;
@@ -11262,7 +11297,7 @@ declare const practitionerSchema: z.ZodObject<{
11262
11297
  phoneNumber: string;
11263
11298
  languages: string[];
11264
11299
  title: string;
11265
- profileImageUrl?: string | undefined;
11300
+ profileImageUrl?: string | File | Blob | undefined;
11266
11301
  bio?: string | undefined;
11267
11302
  }>;
11268
11303
  certification: z.ZodObject<{
@@ -11686,7 +11721,7 @@ declare const practitionerSchema: z.ZodObject<{
11686
11721
  phoneNumber: string;
11687
11722
  languages: string[];
11688
11723
  title: string;
11689
- profileImageUrl?: string | undefined;
11724
+ profileImageUrl?: string | File | Blob | undefined;
11690
11725
  bio?: string | undefined;
11691
11726
  };
11692
11727
  certification: {
@@ -11802,7 +11837,7 @@ declare const practitionerSchema: z.ZodObject<{
11802
11837
  phoneNumber: string;
11803
11838
  languages: string[];
11804
11839
  title: string;
11805
- profileImageUrl?: string | undefined;
11840
+ profileImageUrl?: string | File | Blob | undefined;
11806
11841
  bio?: string | undefined;
11807
11842
  };
11808
11843
  certification: {
@@ -11916,7 +11951,7 @@ declare const createPractitionerSchema: z.ZodObject<{
11916
11951
  phoneNumber: z.ZodString;
11917
11952
  dateOfBirth: z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]>;
11918
11953
  gender: z.ZodEnum<["male", "female", "other"]>;
11919
- profileImageUrl: z.ZodOptional<z.ZodString>;
11954
+ profileImageUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
11920
11955
  bio: z.ZodOptional<z.ZodString>;
11921
11956
  languages: z.ZodArray<z.ZodString, "many">;
11922
11957
  }, "strip", z.ZodTypeAny, {
@@ -11928,7 +11963,7 @@ declare const createPractitionerSchema: z.ZodObject<{
11928
11963
  phoneNumber: string;
11929
11964
  languages: string[];
11930
11965
  title: string;
11931
- profileImageUrl?: string | undefined;
11966
+ profileImageUrl?: string | File | Blob | undefined;
11932
11967
  bio?: string | undefined;
11933
11968
  }, {
11934
11969
  firstName: string;
@@ -11939,7 +11974,7 @@ declare const createPractitionerSchema: z.ZodObject<{
11939
11974
  phoneNumber: string;
11940
11975
  languages: string[];
11941
11976
  title: string;
11942
- profileImageUrl?: string | undefined;
11977
+ profileImageUrl?: string | File | Blob | undefined;
11943
11978
  bio?: string | undefined;
11944
11979
  }>;
11945
11980
  certification: z.ZodObject<{
@@ -12328,7 +12363,7 @@ declare const createPractitionerSchema: z.ZodObject<{
12328
12363
  phoneNumber: string;
12329
12364
  languages: string[];
12330
12365
  title: string;
12331
- profileImageUrl?: string | undefined;
12366
+ profileImageUrl?: string | File | Blob | undefined;
12332
12367
  bio?: string | undefined;
12333
12368
  };
12334
12369
  certification: {
@@ -12430,7 +12465,7 @@ declare const createPractitionerSchema: z.ZodObject<{
12430
12465
  phoneNumber: string;
12431
12466
  languages: string[];
12432
12467
  title: string;
12433
- profileImageUrl?: string | undefined;
12468
+ profileImageUrl?: string | File | Blob | undefined;
12434
12469
  bio?: string | undefined;
12435
12470
  };
12436
12471
  certification: {
@@ -12533,7 +12568,7 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
12533
12568
  phoneNumber: z.ZodString;
12534
12569
  dateOfBirth: z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]>;
12535
12570
  gender: z.ZodEnum<["male", "female", "other"]>;
12536
- profileImageUrl: z.ZodOptional<z.ZodString>;
12571
+ profileImageUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
12537
12572
  bio: z.ZodOptional<z.ZodString>;
12538
12573
  languages: z.ZodArray<z.ZodString, "many">;
12539
12574
  }, "strip", z.ZodTypeAny, {
@@ -12545,7 +12580,7 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
12545
12580
  phoneNumber: string;
12546
12581
  languages: string[];
12547
12582
  title: string;
12548
- profileImageUrl?: string | undefined;
12583
+ profileImageUrl?: string | File | Blob | undefined;
12549
12584
  bio?: string | undefined;
12550
12585
  }, {
12551
12586
  firstName: string;
@@ -12556,7 +12591,7 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
12556
12591
  phoneNumber: string;
12557
12592
  languages: string[];
12558
12593
  title: string;
12559
- profileImageUrl?: string | undefined;
12594
+ profileImageUrl?: string | File | Blob | undefined;
12560
12595
  bio?: string | undefined;
12561
12596
  }>;
12562
12597
  certification: z.ZodObject<{
@@ -12943,7 +12978,7 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
12943
12978
  phoneNumber: string;
12944
12979
  languages: string[];
12945
12980
  title: string;
12946
- profileImageUrl?: string | undefined;
12981
+ profileImageUrl?: string | File | Blob | undefined;
12947
12982
  bio?: string | undefined;
12948
12983
  };
12949
12984
  certification: {
@@ -13042,7 +13077,7 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
13042
13077
  phoneNumber: string;
13043
13078
  languages: string[];
13044
13079
  title: string;
13045
- profileImageUrl?: string | undefined;
13080
+ profileImageUrl?: string | File | Blob | undefined;
13046
13081
  bio?: string | undefined;
13047
13082
  };
13048
13083
  certification: {
@@ -13204,18 +13239,18 @@ declare const practitionerSignupSchema: z.ZodObject<{
13204
13239
  profileData: z.ZodOptional<z.ZodObject<{
13205
13240
  basicInfo: z.ZodOptional<z.ZodObject<{
13206
13241
  phoneNumber: z.ZodOptional<z.ZodString>;
13207
- profileImageUrl: z.ZodOptional<z.ZodString>;
13242
+ profileImageUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
13208
13243
  gender: z.ZodOptional<z.ZodEnum<["male", "female", "other"]>>;
13209
13244
  bio: z.ZodOptional<z.ZodString>;
13210
13245
  }, "strip", z.ZodTypeAny, {
13211
13246
  gender?: "male" | "female" | "other" | undefined;
13212
13247
  phoneNumber?: string | undefined;
13213
- profileImageUrl?: string | undefined;
13248
+ profileImageUrl?: string | File | Blob | undefined;
13214
13249
  bio?: string | undefined;
13215
13250
  }, {
13216
13251
  gender?: "male" | "female" | "other" | undefined;
13217
13252
  phoneNumber?: string | undefined;
13218
- profileImageUrl?: string | undefined;
13253
+ profileImageUrl?: string | File | Blob | undefined;
13219
13254
  bio?: string | undefined;
13220
13255
  }>>;
13221
13256
  certification: z.ZodOptional<z.ZodAny>;
@@ -13223,7 +13258,7 @@ declare const practitionerSignupSchema: z.ZodObject<{
13223
13258
  basicInfo?: {
13224
13259
  gender?: "male" | "female" | "other" | undefined;
13225
13260
  phoneNumber?: string | undefined;
13226
- profileImageUrl?: string | undefined;
13261
+ profileImageUrl?: string | File | Blob | undefined;
13227
13262
  bio?: string | undefined;
13228
13263
  } | undefined;
13229
13264
  certification?: any;
@@ -13231,7 +13266,7 @@ declare const practitionerSignupSchema: z.ZodObject<{
13231
13266
  basicInfo?: {
13232
13267
  gender?: "male" | "female" | "other" | undefined;
13233
13268
  phoneNumber?: string | undefined;
13234
- profileImageUrl?: string | undefined;
13269
+ profileImageUrl?: string | File | Blob | undefined;
13235
13270
  bio?: string | undefined;
13236
13271
  } | undefined;
13237
13272
  certification?: any;
@@ -13246,7 +13281,7 @@ declare const practitionerSignupSchema: z.ZodObject<{
13246
13281
  basicInfo?: {
13247
13282
  gender?: "male" | "female" | "other" | undefined;
13248
13283
  phoneNumber?: string | undefined;
13249
- profileImageUrl?: string | undefined;
13284
+ profileImageUrl?: string | File | Blob | undefined;
13250
13285
  bio?: string | undefined;
13251
13286
  } | undefined;
13252
13287
  certification?: any;
@@ -13261,7 +13296,7 @@ declare const practitionerSignupSchema: z.ZodObject<{
13261
13296
  basicInfo?: {
13262
13297
  gender?: "male" | "female" | "other" | undefined;
13263
13298
  phoneNumber?: string | undefined;
13264
- profileImageUrl?: string | undefined;
13299
+ profileImageUrl?: string | File | Blob | undefined;
13265
13300
  bio?: string | undefined;
13266
13301
  } | undefined;
13267
13302
  certification?: any;