@blackcode_sa/metaestetics-api 1.7.19 → 1.7.20

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
  }
@@ -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
  }
@@ -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
  }
@@ -5860,9 +5860,24 @@ declare class ClinicAdminService extends BaseService {
5860
5860
 
5861
5861
  declare class PractitionerService extends BaseService {
5862
5862
  private clinicService?;
5863
+ private mediaService;
5863
5864
  constructor(db: Firestore, auth: Auth, app: FirebaseApp, clinicService?: ClinicService);
5864
5865
  private getClinicService;
5865
5866
  setClinicService(clinicService: ClinicService): void;
5867
+ /**
5868
+ * Handles profile photo upload for practitioners
5869
+ * @param profilePhoto - MediaResource (File, Blob, or URL string)
5870
+ * @param practitionerId - ID of the practitioner
5871
+ * @returns URL string of the uploaded or existing photo
5872
+ */
5873
+ private handleProfilePhotoUpload;
5874
+ /**
5875
+ * Processes BasicPractitionerInfo to handle profile photo uploads
5876
+ * @param basicInfo - The basic info containing potential MediaResource profile photo
5877
+ * @param practitionerId - ID of the practitioner
5878
+ * @returns Processed basic info with URL string for profileImageUrl
5879
+ */
5880
+ private processBasicInfo;
5866
5881
  /**
5867
5882
  * Creates a new practitioner
5868
5883
  */
@@ -10817,7 +10832,7 @@ declare const practitionerBasicInfoSchema: z.ZodObject<{
10817
10832
  phoneNumber: z.ZodString;
10818
10833
  dateOfBirth: z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]>;
10819
10834
  gender: z.ZodEnum<["male", "female", "other"]>;
10820
- profileImageUrl: z.ZodOptional<z.ZodString>;
10835
+ profileImageUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
10821
10836
  bio: z.ZodOptional<z.ZodString>;
10822
10837
  languages: z.ZodArray<z.ZodString, "many">;
10823
10838
  }, "strip", z.ZodTypeAny, {
@@ -10829,7 +10844,7 @@ declare const practitionerBasicInfoSchema: z.ZodObject<{
10829
10844
  phoneNumber: string;
10830
10845
  languages: string[];
10831
10846
  title: string;
10832
- profileImageUrl?: string | undefined;
10847
+ profileImageUrl?: string | File | Blob | undefined;
10833
10848
  bio?: string | undefined;
10834
10849
  }, {
10835
10850
  firstName: string;
@@ -10840,7 +10855,7 @@ declare const practitionerBasicInfoSchema: z.ZodObject<{
10840
10855
  phoneNumber: string;
10841
10856
  languages: string[];
10842
10857
  title: string;
10843
- profileImageUrl?: string | undefined;
10858
+ profileImageUrl?: string | File | Blob | undefined;
10844
10859
  bio?: string | undefined;
10845
10860
  }>;
10846
10861
  /**
@@ -11239,7 +11254,7 @@ declare const practitionerSchema: z.ZodObject<{
11239
11254
  phoneNumber: z.ZodString;
11240
11255
  dateOfBirth: z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]>;
11241
11256
  gender: z.ZodEnum<["male", "female", "other"]>;
11242
- profileImageUrl: z.ZodOptional<z.ZodString>;
11257
+ profileImageUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
11243
11258
  bio: z.ZodOptional<z.ZodString>;
11244
11259
  languages: z.ZodArray<z.ZodString, "many">;
11245
11260
  }, "strip", z.ZodTypeAny, {
@@ -11251,7 +11266,7 @@ declare const practitionerSchema: z.ZodObject<{
11251
11266
  phoneNumber: string;
11252
11267
  languages: string[];
11253
11268
  title: string;
11254
- profileImageUrl?: string | undefined;
11269
+ profileImageUrl?: string | File | Blob | undefined;
11255
11270
  bio?: string | undefined;
11256
11271
  }, {
11257
11272
  firstName: string;
@@ -11262,7 +11277,7 @@ declare const practitionerSchema: z.ZodObject<{
11262
11277
  phoneNumber: string;
11263
11278
  languages: string[];
11264
11279
  title: string;
11265
- profileImageUrl?: string | undefined;
11280
+ profileImageUrl?: string | File | Blob | undefined;
11266
11281
  bio?: string | undefined;
11267
11282
  }>;
11268
11283
  certification: z.ZodObject<{
@@ -11686,7 +11701,7 @@ declare const practitionerSchema: z.ZodObject<{
11686
11701
  phoneNumber: string;
11687
11702
  languages: string[];
11688
11703
  title: string;
11689
- profileImageUrl?: string | undefined;
11704
+ profileImageUrl?: string | File | Blob | undefined;
11690
11705
  bio?: string | undefined;
11691
11706
  };
11692
11707
  certification: {
@@ -11802,7 +11817,7 @@ declare const practitionerSchema: z.ZodObject<{
11802
11817
  phoneNumber: string;
11803
11818
  languages: string[];
11804
11819
  title: string;
11805
- profileImageUrl?: string | undefined;
11820
+ profileImageUrl?: string | File | Blob | undefined;
11806
11821
  bio?: string | undefined;
11807
11822
  };
11808
11823
  certification: {
@@ -11916,7 +11931,7 @@ declare const createPractitionerSchema: z.ZodObject<{
11916
11931
  phoneNumber: z.ZodString;
11917
11932
  dateOfBirth: z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]>;
11918
11933
  gender: z.ZodEnum<["male", "female", "other"]>;
11919
- profileImageUrl: z.ZodOptional<z.ZodString>;
11934
+ profileImageUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
11920
11935
  bio: z.ZodOptional<z.ZodString>;
11921
11936
  languages: z.ZodArray<z.ZodString, "many">;
11922
11937
  }, "strip", z.ZodTypeAny, {
@@ -11928,7 +11943,7 @@ declare const createPractitionerSchema: z.ZodObject<{
11928
11943
  phoneNumber: string;
11929
11944
  languages: string[];
11930
11945
  title: string;
11931
- profileImageUrl?: string | undefined;
11946
+ profileImageUrl?: string | File | Blob | undefined;
11932
11947
  bio?: string | undefined;
11933
11948
  }, {
11934
11949
  firstName: string;
@@ -11939,7 +11954,7 @@ declare const createPractitionerSchema: z.ZodObject<{
11939
11954
  phoneNumber: string;
11940
11955
  languages: string[];
11941
11956
  title: string;
11942
- profileImageUrl?: string | undefined;
11957
+ profileImageUrl?: string | File | Blob | undefined;
11943
11958
  bio?: string | undefined;
11944
11959
  }>;
11945
11960
  certification: z.ZodObject<{
@@ -12328,7 +12343,7 @@ declare const createPractitionerSchema: z.ZodObject<{
12328
12343
  phoneNumber: string;
12329
12344
  languages: string[];
12330
12345
  title: string;
12331
- profileImageUrl?: string | undefined;
12346
+ profileImageUrl?: string | File | Blob | undefined;
12332
12347
  bio?: string | undefined;
12333
12348
  };
12334
12349
  certification: {
@@ -12430,7 +12445,7 @@ declare const createPractitionerSchema: z.ZodObject<{
12430
12445
  phoneNumber: string;
12431
12446
  languages: string[];
12432
12447
  title: string;
12433
- profileImageUrl?: string | undefined;
12448
+ profileImageUrl?: string | File | Blob | undefined;
12434
12449
  bio?: string | undefined;
12435
12450
  };
12436
12451
  certification: {
@@ -12533,7 +12548,7 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
12533
12548
  phoneNumber: z.ZodString;
12534
12549
  dateOfBirth: z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]>;
12535
12550
  gender: z.ZodEnum<["male", "female", "other"]>;
12536
- profileImageUrl: z.ZodOptional<z.ZodString>;
12551
+ profileImageUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
12537
12552
  bio: z.ZodOptional<z.ZodString>;
12538
12553
  languages: z.ZodArray<z.ZodString, "many">;
12539
12554
  }, "strip", z.ZodTypeAny, {
@@ -12545,7 +12560,7 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
12545
12560
  phoneNumber: string;
12546
12561
  languages: string[];
12547
12562
  title: string;
12548
- profileImageUrl?: string | undefined;
12563
+ profileImageUrl?: string | File | Blob | undefined;
12549
12564
  bio?: string | undefined;
12550
12565
  }, {
12551
12566
  firstName: string;
@@ -12556,7 +12571,7 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
12556
12571
  phoneNumber: string;
12557
12572
  languages: string[];
12558
12573
  title: string;
12559
- profileImageUrl?: string | undefined;
12574
+ profileImageUrl?: string | File | Blob | undefined;
12560
12575
  bio?: string | undefined;
12561
12576
  }>;
12562
12577
  certification: z.ZodObject<{
@@ -12943,7 +12958,7 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
12943
12958
  phoneNumber: string;
12944
12959
  languages: string[];
12945
12960
  title: string;
12946
- profileImageUrl?: string | undefined;
12961
+ profileImageUrl?: string | File | Blob | undefined;
12947
12962
  bio?: string | undefined;
12948
12963
  };
12949
12964
  certification: {
@@ -13042,7 +13057,7 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
13042
13057
  phoneNumber: string;
13043
13058
  languages: string[];
13044
13059
  title: string;
13045
- profileImageUrl?: string | undefined;
13060
+ profileImageUrl?: string | File | Blob | undefined;
13046
13061
  bio?: string | undefined;
13047
13062
  };
13048
13063
  certification: {
@@ -13204,18 +13219,18 @@ declare const practitionerSignupSchema: z.ZodObject<{
13204
13219
  profileData: z.ZodOptional<z.ZodObject<{
13205
13220
  basicInfo: z.ZodOptional<z.ZodObject<{
13206
13221
  phoneNumber: z.ZodOptional<z.ZodString>;
13207
- profileImageUrl: z.ZodOptional<z.ZodString>;
13222
+ profileImageUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
13208
13223
  gender: z.ZodOptional<z.ZodEnum<["male", "female", "other"]>>;
13209
13224
  bio: z.ZodOptional<z.ZodString>;
13210
13225
  }, "strip", z.ZodTypeAny, {
13211
13226
  gender?: "male" | "female" | "other" | undefined;
13212
13227
  phoneNumber?: string | undefined;
13213
- profileImageUrl?: string | undefined;
13228
+ profileImageUrl?: string | File | Blob | undefined;
13214
13229
  bio?: string | undefined;
13215
13230
  }, {
13216
13231
  gender?: "male" | "female" | "other" | undefined;
13217
13232
  phoneNumber?: string | undefined;
13218
- profileImageUrl?: string | undefined;
13233
+ profileImageUrl?: string | File | Blob | undefined;
13219
13234
  bio?: string | undefined;
13220
13235
  }>>;
13221
13236
  certification: z.ZodOptional<z.ZodAny>;
@@ -13223,7 +13238,7 @@ declare const practitionerSignupSchema: z.ZodObject<{
13223
13238
  basicInfo?: {
13224
13239
  gender?: "male" | "female" | "other" | undefined;
13225
13240
  phoneNumber?: string | undefined;
13226
- profileImageUrl?: string | undefined;
13241
+ profileImageUrl?: string | File | Blob | undefined;
13227
13242
  bio?: string | undefined;
13228
13243
  } | undefined;
13229
13244
  certification?: any;
@@ -13231,7 +13246,7 @@ declare const practitionerSignupSchema: z.ZodObject<{
13231
13246
  basicInfo?: {
13232
13247
  gender?: "male" | "female" | "other" | undefined;
13233
13248
  phoneNumber?: string | undefined;
13234
- profileImageUrl?: string | undefined;
13249
+ profileImageUrl?: string | File | Blob | undefined;
13235
13250
  bio?: string | undefined;
13236
13251
  } | undefined;
13237
13252
  certification?: any;
@@ -13246,7 +13261,7 @@ declare const practitionerSignupSchema: z.ZodObject<{
13246
13261
  basicInfo?: {
13247
13262
  gender?: "male" | "female" | "other" | undefined;
13248
13263
  phoneNumber?: string | undefined;
13249
- profileImageUrl?: string | undefined;
13264
+ profileImageUrl?: string | File | Blob | undefined;
13250
13265
  bio?: string | undefined;
13251
13266
  } | undefined;
13252
13267
  certification?: any;
@@ -13261,7 +13276,7 @@ declare const practitionerSignupSchema: z.ZodObject<{
13261
13276
  basicInfo?: {
13262
13277
  gender?: "male" | "female" | "other" | undefined;
13263
13278
  phoneNumber?: string | undefined;
13264
- profileImageUrl?: string | undefined;
13279
+ profileImageUrl?: string | File | Blob | undefined;
13265
13280
  bio?: string | undefined;
13266
13281
  } | undefined;
13267
13282
  certification?: any;
package/dist/index.d.ts 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
  }
@@ -5860,9 +5860,24 @@ declare class ClinicAdminService extends BaseService {
5860
5860
 
5861
5861
  declare class PractitionerService extends BaseService {
5862
5862
  private clinicService?;
5863
+ private mediaService;
5863
5864
  constructor(db: Firestore, auth: Auth, app: FirebaseApp, clinicService?: ClinicService);
5864
5865
  private getClinicService;
5865
5866
  setClinicService(clinicService: ClinicService): void;
5867
+ /**
5868
+ * Handles profile photo upload for practitioners
5869
+ * @param profilePhoto - MediaResource (File, Blob, or URL string)
5870
+ * @param practitionerId - ID of the practitioner
5871
+ * @returns URL string of the uploaded or existing photo
5872
+ */
5873
+ private handleProfilePhotoUpload;
5874
+ /**
5875
+ * Processes BasicPractitionerInfo to handle profile photo uploads
5876
+ * @param basicInfo - The basic info containing potential MediaResource profile photo
5877
+ * @param practitionerId - ID of the practitioner
5878
+ * @returns Processed basic info with URL string for profileImageUrl
5879
+ */
5880
+ private processBasicInfo;
5866
5881
  /**
5867
5882
  * Creates a new practitioner
5868
5883
  */
@@ -10817,7 +10832,7 @@ declare const practitionerBasicInfoSchema: z.ZodObject<{
10817
10832
  phoneNumber: z.ZodString;
10818
10833
  dateOfBirth: z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]>;
10819
10834
  gender: z.ZodEnum<["male", "female", "other"]>;
10820
- profileImageUrl: z.ZodOptional<z.ZodString>;
10835
+ profileImageUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
10821
10836
  bio: z.ZodOptional<z.ZodString>;
10822
10837
  languages: z.ZodArray<z.ZodString, "many">;
10823
10838
  }, "strip", z.ZodTypeAny, {
@@ -10829,7 +10844,7 @@ declare const practitionerBasicInfoSchema: z.ZodObject<{
10829
10844
  phoneNumber: string;
10830
10845
  languages: string[];
10831
10846
  title: string;
10832
- profileImageUrl?: string | undefined;
10847
+ profileImageUrl?: string | File | Blob | undefined;
10833
10848
  bio?: string | undefined;
10834
10849
  }, {
10835
10850
  firstName: string;
@@ -10840,7 +10855,7 @@ declare const practitionerBasicInfoSchema: z.ZodObject<{
10840
10855
  phoneNumber: string;
10841
10856
  languages: string[];
10842
10857
  title: string;
10843
- profileImageUrl?: string | undefined;
10858
+ profileImageUrl?: string | File | Blob | undefined;
10844
10859
  bio?: string | undefined;
10845
10860
  }>;
10846
10861
  /**
@@ -11239,7 +11254,7 @@ declare const practitionerSchema: z.ZodObject<{
11239
11254
  phoneNumber: z.ZodString;
11240
11255
  dateOfBirth: z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]>;
11241
11256
  gender: z.ZodEnum<["male", "female", "other"]>;
11242
- profileImageUrl: z.ZodOptional<z.ZodString>;
11257
+ profileImageUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
11243
11258
  bio: z.ZodOptional<z.ZodString>;
11244
11259
  languages: z.ZodArray<z.ZodString, "many">;
11245
11260
  }, "strip", z.ZodTypeAny, {
@@ -11251,7 +11266,7 @@ declare const practitionerSchema: z.ZodObject<{
11251
11266
  phoneNumber: string;
11252
11267
  languages: string[];
11253
11268
  title: string;
11254
- profileImageUrl?: string | undefined;
11269
+ profileImageUrl?: string | File | Blob | undefined;
11255
11270
  bio?: string | undefined;
11256
11271
  }, {
11257
11272
  firstName: string;
@@ -11262,7 +11277,7 @@ declare const practitionerSchema: z.ZodObject<{
11262
11277
  phoneNumber: string;
11263
11278
  languages: string[];
11264
11279
  title: string;
11265
- profileImageUrl?: string | undefined;
11280
+ profileImageUrl?: string | File | Blob | undefined;
11266
11281
  bio?: string | undefined;
11267
11282
  }>;
11268
11283
  certification: z.ZodObject<{
@@ -11686,7 +11701,7 @@ declare const practitionerSchema: z.ZodObject<{
11686
11701
  phoneNumber: string;
11687
11702
  languages: string[];
11688
11703
  title: string;
11689
- profileImageUrl?: string | undefined;
11704
+ profileImageUrl?: string | File | Blob | undefined;
11690
11705
  bio?: string | undefined;
11691
11706
  };
11692
11707
  certification: {
@@ -11802,7 +11817,7 @@ declare const practitionerSchema: z.ZodObject<{
11802
11817
  phoneNumber: string;
11803
11818
  languages: string[];
11804
11819
  title: string;
11805
- profileImageUrl?: string | undefined;
11820
+ profileImageUrl?: string | File | Blob | undefined;
11806
11821
  bio?: string | undefined;
11807
11822
  };
11808
11823
  certification: {
@@ -11916,7 +11931,7 @@ declare const createPractitionerSchema: z.ZodObject<{
11916
11931
  phoneNumber: z.ZodString;
11917
11932
  dateOfBirth: z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]>;
11918
11933
  gender: z.ZodEnum<["male", "female", "other"]>;
11919
- profileImageUrl: z.ZodOptional<z.ZodString>;
11934
+ profileImageUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
11920
11935
  bio: z.ZodOptional<z.ZodString>;
11921
11936
  languages: z.ZodArray<z.ZodString, "many">;
11922
11937
  }, "strip", z.ZodTypeAny, {
@@ -11928,7 +11943,7 @@ declare const createPractitionerSchema: z.ZodObject<{
11928
11943
  phoneNumber: string;
11929
11944
  languages: string[];
11930
11945
  title: string;
11931
- profileImageUrl?: string | undefined;
11946
+ profileImageUrl?: string | File | Blob | undefined;
11932
11947
  bio?: string | undefined;
11933
11948
  }, {
11934
11949
  firstName: string;
@@ -11939,7 +11954,7 @@ declare const createPractitionerSchema: z.ZodObject<{
11939
11954
  phoneNumber: string;
11940
11955
  languages: string[];
11941
11956
  title: string;
11942
- profileImageUrl?: string | undefined;
11957
+ profileImageUrl?: string | File | Blob | undefined;
11943
11958
  bio?: string | undefined;
11944
11959
  }>;
11945
11960
  certification: z.ZodObject<{
@@ -12328,7 +12343,7 @@ declare const createPractitionerSchema: z.ZodObject<{
12328
12343
  phoneNumber: string;
12329
12344
  languages: string[];
12330
12345
  title: string;
12331
- profileImageUrl?: string | undefined;
12346
+ profileImageUrl?: string | File | Blob | undefined;
12332
12347
  bio?: string | undefined;
12333
12348
  };
12334
12349
  certification: {
@@ -12430,7 +12445,7 @@ declare const createPractitionerSchema: z.ZodObject<{
12430
12445
  phoneNumber: string;
12431
12446
  languages: string[];
12432
12447
  title: string;
12433
- profileImageUrl?: string | undefined;
12448
+ profileImageUrl?: string | File | Blob | undefined;
12434
12449
  bio?: string | undefined;
12435
12450
  };
12436
12451
  certification: {
@@ -12533,7 +12548,7 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
12533
12548
  phoneNumber: z.ZodString;
12534
12549
  dateOfBirth: z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]>;
12535
12550
  gender: z.ZodEnum<["male", "female", "other"]>;
12536
- profileImageUrl: z.ZodOptional<z.ZodString>;
12551
+ profileImageUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
12537
12552
  bio: z.ZodOptional<z.ZodString>;
12538
12553
  languages: z.ZodArray<z.ZodString, "many">;
12539
12554
  }, "strip", z.ZodTypeAny, {
@@ -12545,7 +12560,7 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
12545
12560
  phoneNumber: string;
12546
12561
  languages: string[];
12547
12562
  title: string;
12548
- profileImageUrl?: string | undefined;
12563
+ profileImageUrl?: string | File | Blob | undefined;
12549
12564
  bio?: string | undefined;
12550
12565
  }, {
12551
12566
  firstName: string;
@@ -12556,7 +12571,7 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
12556
12571
  phoneNumber: string;
12557
12572
  languages: string[];
12558
12573
  title: string;
12559
- profileImageUrl?: string | undefined;
12574
+ profileImageUrl?: string | File | Blob | undefined;
12560
12575
  bio?: string | undefined;
12561
12576
  }>;
12562
12577
  certification: z.ZodObject<{
@@ -12943,7 +12958,7 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
12943
12958
  phoneNumber: string;
12944
12959
  languages: string[];
12945
12960
  title: string;
12946
- profileImageUrl?: string | undefined;
12961
+ profileImageUrl?: string | File | Blob | undefined;
12947
12962
  bio?: string | undefined;
12948
12963
  };
12949
12964
  certification: {
@@ -13042,7 +13057,7 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
13042
13057
  phoneNumber: string;
13043
13058
  languages: string[];
13044
13059
  title: string;
13045
- profileImageUrl?: string | undefined;
13060
+ profileImageUrl?: string | File | Blob | undefined;
13046
13061
  bio?: string | undefined;
13047
13062
  };
13048
13063
  certification: {
@@ -13204,18 +13219,18 @@ declare const practitionerSignupSchema: z.ZodObject<{
13204
13219
  profileData: z.ZodOptional<z.ZodObject<{
13205
13220
  basicInfo: z.ZodOptional<z.ZodObject<{
13206
13221
  phoneNumber: z.ZodOptional<z.ZodString>;
13207
- profileImageUrl: z.ZodOptional<z.ZodString>;
13222
+ profileImageUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
13208
13223
  gender: z.ZodOptional<z.ZodEnum<["male", "female", "other"]>>;
13209
13224
  bio: z.ZodOptional<z.ZodString>;
13210
13225
  }, "strip", z.ZodTypeAny, {
13211
13226
  gender?: "male" | "female" | "other" | undefined;
13212
13227
  phoneNumber?: string | undefined;
13213
- profileImageUrl?: string | undefined;
13228
+ profileImageUrl?: string | File | Blob | undefined;
13214
13229
  bio?: string | undefined;
13215
13230
  }, {
13216
13231
  gender?: "male" | "female" | "other" | undefined;
13217
13232
  phoneNumber?: string | undefined;
13218
- profileImageUrl?: string | undefined;
13233
+ profileImageUrl?: string | File | Blob | undefined;
13219
13234
  bio?: string | undefined;
13220
13235
  }>>;
13221
13236
  certification: z.ZodOptional<z.ZodAny>;
@@ -13223,7 +13238,7 @@ declare const practitionerSignupSchema: z.ZodObject<{
13223
13238
  basicInfo?: {
13224
13239
  gender?: "male" | "female" | "other" | undefined;
13225
13240
  phoneNumber?: string | undefined;
13226
- profileImageUrl?: string | undefined;
13241
+ profileImageUrl?: string | File | Blob | undefined;
13227
13242
  bio?: string | undefined;
13228
13243
  } | undefined;
13229
13244
  certification?: any;
@@ -13231,7 +13246,7 @@ declare const practitionerSignupSchema: z.ZodObject<{
13231
13246
  basicInfo?: {
13232
13247
  gender?: "male" | "female" | "other" | undefined;
13233
13248
  phoneNumber?: string | undefined;
13234
- profileImageUrl?: string | undefined;
13249
+ profileImageUrl?: string | File | Blob | undefined;
13235
13250
  bio?: string | undefined;
13236
13251
  } | undefined;
13237
13252
  certification?: any;
@@ -13246,7 +13261,7 @@ declare const practitionerSignupSchema: z.ZodObject<{
13246
13261
  basicInfo?: {
13247
13262
  gender?: "male" | "female" | "other" | undefined;
13248
13263
  phoneNumber?: string | undefined;
13249
- profileImageUrl?: string | undefined;
13264
+ profileImageUrl?: string | File | Blob | undefined;
13250
13265
  bio?: string | undefined;
13251
13266
  } | undefined;
13252
13267
  certification?: any;
@@ -13261,7 +13276,7 @@ declare const practitionerSignupSchema: z.ZodObject<{
13261
13276
  basicInfo?: {
13262
13277
  gender?: "male" | "female" | "other" | undefined;
13263
13278
  phoneNumber?: string | undefined;
13264
- profileImageUrl?: string | undefined;
13279
+ profileImageUrl?: string | File | Blob | undefined;
13265
13280
  bio?: string | undefined;
13266
13281
  } | undefined;
13267
13282
  certification?: any;