@blackcode_sa/metaestetics-api 1.7.41 → 1.7.43
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/admin/index.d.mts +4 -4
- package/dist/admin/index.d.ts +4 -4
- package/dist/backoffice/index.d.mts +4 -4
- package/dist/backoffice/index.d.ts +4 -4
- package/dist/index.d.mts +215 -210
- package/dist/index.d.ts +215 -210
- package/dist/index.js +475 -381
- package/dist/index.mjs +602 -507
- package/package.json +1 -1
- package/src/services/auth/index.ts +21 -0
- package/src/services/auth/utils/error.utils.ts +90 -0
- package/src/services/auth/utils/firebase.utils.ts +49 -0
- package/src/services/auth/utils/index.ts +21 -0
- package/src/services/auth/utils/practitioner.utils.ts +125 -0
- package/src/services/auth.service.ts +143 -155
- package/src/services/practitioner/practitioner.service.ts +5 -3
- package/src/types/index.ts +3 -3
- package/src/types/practitioner/index.ts +4 -4
- package/src/validations/common.schema.ts +6 -1
- package/src/validations/practitioner.schema.ts +7 -4
- package/src/validations/schemas.ts +26 -14
package/dist/admin/index.d.mts
CHANGED
|
@@ -772,10 +772,10 @@ interface PractitionerBasicInfo {
|
|
|
772
772
|
lastName: string;
|
|
773
773
|
title: string;
|
|
774
774
|
email: string;
|
|
775
|
-
phoneNumber: string;
|
|
776
|
-
dateOfBirth: Timestamp | Date;
|
|
775
|
+
phoneNumber: string | null;
|
|
776
|
+
dateOfBirth: Timestamp | Date | null;
|
|
777
777
|
gender: "male" | "female" | "other";
|
|
778
|
-
profileImageUrl?: MediaResource;
|
|
778
|
+
profileImageUrl?: MediaResource | null;
|
|
779
779
|
bio?: string;
|
|
780
780
|
languages: string[];
|
|
781
781
|
}
|
|
@@ -788,7 +788,7 @@ interface PractitionerCertification {
|
|
|
788
788
|
licenseNumber: string;
|
|
789
789
|
issuingAuthority: string;
|
|
790
790
|
issueDate: Timestamp | Date;
|
|
791
|
-
expiryDate?: Timestamp | Date;
|
|
791
|
+
expiryDate?: Timestamp | Date | null;
|
|
792
792
|
verificationStatus: "pending" | "verified" | "rejected";
|
|
793
793
|
}
|
|
794
794
|
/**
|
package/dist/admin/index.d.ts
CHANGED
|
@@ -772,10 +772,10 @@ interface PractitionerBasicInfo {
|
|
|
772
772
|
lastName: string;
|
|
773
773
|
title: string;
|
|
774
774
|
email: string;
|
|
775
|
-
phoneNumber: string;
|
|
776
|
-
dateOfBirth: Timestamp | Date;
|
|
775
|
+
phoneNumber: string | null;
|
|
776
|
+
dateOfBirth: Timestamp | Date | null;
|
|
777
777
|
gender: "male" | "female" | "other";
|
|
778
|
-
profileImageUrl?: MediaResource;
|
|
778
|
+
profileImageUrl?: MediaResource | null;
|
|
779
779
|
bio?: string;
|
|
780
780
|
languages: string[];
|
|
781
781
|
}
|
|
@@ -788,7 +788,7 @@ interface PractitionerCertification {
|
|
|
788
788
|
licenseNumber: string;
|
|
789
789
|
issuingAuthority: string;
|
|
790
790
|
issueDate: Timestamp | Date;
|
|
791
|
-
expiryDate?: Timestamp | Date;
|
|
791
|
+
expiryDate?: Timestamp | Date | null;
|
|
792
792
|
verificationStatus: "pending" | "verified" | "rejected";
|
|
793
793
|
}
|
|
794
794
|
/**
|
|
@@ -4940,10 +4940,10 @@ interface PractitionerBasicInfo {
|
|
|
4940
4940
|
lastName: string;
|
|
4941
4941
|
title: string;
|
|
4942
4942
|
email: string;
|
|
4943
|
-
phoneNumber: string;
|
|
4944
|
-
dateOfBirth: Timestamp | Date;
|
|
4943
|
+
phoneNumber: string | null;
|
|
4944
|
+
dateOfBirth: Timestamp | Date | null;
|
|
4945
4945
|
gender: "male" | "female" | "other";
|
|
4946
|
-
profileImageUrl?: MediaResource;
|
|
4946
|
+
profileImageUrl?: MediaResource | null;
|
|
4947
4947
|
bio?: string;
|
|
4948
4948
|
languages: string[];
|
|
4949
4949
|
}
|
|
@@ -4956,7 +4956,7 @@ interface PractitionerCertification {
|
|
|
4956
4956
|
licenseNumber: string;
|
|
4957
4957
|
issuingAuthority: string;
|
|
4958
4958
|
issueDate: Timestamp | Date;
|
|
4959
|
-
expiryDate?: Timestamp | Date;
|
|
4959
|
+
expiryDate?: Timestamp | Date | null;
|
|
4960
4960
|
verificationStatus: "pending" | "verified" | "rejected";
|
|
4961
4961
|
}
|
|
4962
4962
|
/**
|
|
@@ -4940,10 +4940,10 @@ interface PractitionerBasicInfo {
|
|
|
4940
4940
|
lastName: string;
|
|
4941
4941
|
title: string;
|
|
4942
4942
|
email: string;
|
|
4943
|
-
phoneNumber: string;
|
|
4944
|
-
dateOfBirth: Timestamp | Date;
|
|
4943
|
+
phoneNumber: string | null;
|
|
4944
|
+
dateOfBirth: Timestamp | Date | null;
|
|
4945
4945
|
gender: "male" | "female" | "other";
|
|
4946
|
-
profileImageUrl?: MediaResource;
|
|
4946
|
+
profileImageUrl?: MediaResource | null;
|
|
4947
4947
|
bio?: string;
|
|
4948
4948
|
languages: string[];
|
|
4949
4949
|
}
|
|
@@ -4956,7 +4956,7 @@ interface PractitionerCertification {
|
|
|
4956
4956
|
licenseNumber: string;
|
|
4957
4957
|
issuingAuthority: string;
|
|
4958
4958
|
issueDate: Timestamp | Date;
|
|
4959
|
-
expiryDate?: Timestamp | Date;
|
|
4959
|
+
expiryDate?: Timestamp | Date | null;
|
|
4960
4960
|
verificationStatus: "pending" | "verified" | "rejected";
|
|
4961
4961
|
}
|
|
4962
4962
|
/**
|