@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/index.d.ts
CHANGED
|
@@ -1347,10 +1347,10 @@ interface PractitionerBasicInfo {
|
|
|
1347
1347
|
lastName: string;
|
|
1348
1348
|
title: string;
|
|
1349
1349
|
email: string;
|
|
1350
|
-
phoneNumber: string;
|
|
1351
|
-
dateOfBirth: Timestamp | Date;
|
|
1350
|
+
phoneNumber: string | null;
|
|
1351
|
+
dateOfBirth: Timestamp | Date | null;
|
|
1352
1352
|
gender: "male" | "female" | "other";
|
|
1353
|
-
profileImageUrl?: MediaResource;
|
|
1353
|
+
profileImageUrl?: MediaResource | null;
|
|
1354
1354
|
bio?: string;
|
|
1355
1355
|
languages: string[];
|
|
1356
1356
|
}
|
|
@@ -1363,7 +1363,7 @@ interface PractitionerCertification {
|
|
|
1363
1363
|
licenseNumber: string;
|
|
1364
1364
|
issuingAuthority: string;
|
|
1365
1365
|
issueDate: Timestamp | Date;
|
|
1366
|
-
expiryDate?: Timestamp | Date;
|
|
1366
|
+
expiryDate?: Timestamp | Date | null;
|
|
1367
1367
|
verificationStatus: "pending" | "verified" | "rejected";
|
|
1368
1368
|
}
|
|
1369
1369
|
/**
|
|
@@ -5936,9 +5936,9 @@ interface User {
|
|
|
5936
5936
|
email: string | null;
|
|
5937
5937
|
roles: UserRole[];
|
|
5938
5938
|
isAnonymous: boolean;
|
|
5939
|
-
createdAt: Timestamp | FieldValue;
|
|
5940
|
-
updatedAt: Timestamp | FieldValue;
|
|
5941
|
-
lastLoginAt: Timestamp | FieldValue;
|
|
5939
|
+
createdAt: Timestamp | FieldValue | Date;
|
|
5940
|
+
updatedAt: Timestamp | FieldValue | Date;
|
|
5941
|
+
lastLoginAt: Timestamp | FieldValue | Date;
|
|
5942
5942
|
patientProfile?: string;
|
|
5943
5943
|
practitionerProfile?: string;
|
|
5944
5944
|
adminProfile?: string;
|
|
@@ -6780,7 +6780,7 @@ declare class AuthService extends BaseService {
|
|
|
6780
6780
|
private facebookProvider;
|
|
6781
6781
|
private appleProvider;
|
|
6782
6782
|
private userService;
|
|
6783
|
-
constructor(db: Firestore, auth: Auth, app: FirebaseApp, userService
|
|
6783
|
+
constructor(db: Firestore, auth: Auth, app: FirebaseApp, userService: UserService);
|
|
6784
6784
|
/**
|
|
6785
6785
|
* Registruje novog korisnika sa email-om i lozinkom
|
|
6786
6786
|
*/
|
|
@@ -6876,8 +6876,8 @@ declare class AuthService extends BaseService {
|
|
|
6876
6876
|
*/
|
|
6877
6877
|
confirmPasswordReset(oobCode: string, newPassword: string): Promise<void>;
|
|
6878
6878
|
/**
|
|
6879
|
-
* Registers a new practitioner user with email and password
|
|
6880
|
-
*
|
|
6879
|
+
* Registers a new practitioner user with email and password (ATOMIC VERSION)
|
|
6880
|
+
* Uses Firestore transactions to ensure atomicity and proper rollback on failures
|
|
6881
6881
|
*
|
|
6882
6882
|
* @param data - Practitioner signup data containing either new profile details or token for claiming draft profile
|
|
6883
6883
|
* @returns Object containing the created user and practitioner profile
|
|
@@ -6893,6 +6893,11 @@ declare class AuthService extends BaseService {
|
|
|
6893
6893
|
user: User;
|
|
6894
6894
|
practitioner: Practitioner;
|
|
6895
6895
|
}>;
|
|
6896
|
+
/**
|
|
6897
|
+
* Pre-validate all signup data before any mutations
|
|
6898
|
+
* Prevents partial creation by catching issues early
|
|
6899
|
+
*/
|
|
6900
|
+
private validateSignupData;
|
|
6896
6901
|
/**
|
|
6897
6902
|
* Signs in a user with email and password specifically for practitioner role
|
|
6898
6903
|
* @param email - User's email
|
|
@@ -8554,7 +8559,7 @@ declare const emailSchema: z.ZodString;
|
|
|
8554
8559
|
declare const passwordSchema: z.ZodString;
|
|
8555
8560
|
declare const userRoleSchema: z.ZodNativeEnum<typeof UserRole>;
|
|
8556
8561
|
declare const userRolesSchema: z.ZodArray<z.ZodNativeEnum<typeof UserRole>, "many">;
|
|
8557
|
-
declare const timestampSchema: z.ZodType<Timestamp | FieldValue, z.ZodTypeDef, Timestamp | FieldValue>;
|
|
8562
|
+
declare const timestampSchema: z.ZodType<Date | Timestamp | FieldValue, z.ZodTypeDef, Date | Timestamp | FieldValue>;
|
|
8558
8563
|
/**
|
|
8559
8564
|
* Validaciona šema za clinic admin opcije pri kreiranju
|
|
8560
8565
|
*/
|
|
@@ -8622,31 +8627,31 @@ declare const userSchema: z.ZodObject<{
|
|
|
8622
8627
|
email: z.ZodNullable<z.ZodString>;
|
|
8623
8628
|
roles: z.ZodArray<z.ZodNativeEnum<typeof UserRole>, "many">;
|
|
8624
8629
|
isAnonymous: z.ZodBoolean;
|
|
8625
|
-
createdAt: z.ZodType<Timestamp | FieldValue, z.ZodTypeDef, Timestamp | FieldValue>;
|
|
8626
|
-
updatedAt: z.ZodType<Timestamp | FieldValue, z.ZodTypeDef, Timestamp | FieldValue>;
|
|
8627
|
-
lastLoginAt: z.ZodType<Timestamp | FieldValue, z.ZodTypeDef, Timestamp | FieldValue>;
|
|
8630
|
+
createdAt: z.ZodType<Date | Timestamp | FieldValue, z.ZodTypeDef, Date | Timestamp | FieldValue>;
|
|
8631
|
+
updatedAt: z.ZodType<Date | Timestamp | FieldValue, z.ZodTypeDef, Date | Timestamp | FieldValue>;
|
|
8632
|
+
lastLoginAt: z.ZodType<Date | Timestamp | FieldValue, z.ZodTypeDef, Date | Timestamp | FieldValue>;
|
|
8628
8633
|
patientProfile: z.ZodOptional<z.ZodString>;
|
|
8629
8634
|
practitionerProfile: z.ZodOptional<z.ZodString>;
|
|
8630
8635
|
adminProfile: z.ZodOptional<z.ZodString>;
|
|
8631
8636
|
}, "strip", z.ZodTypeAny, {
|
|
8632
|
-
createdAt: Timestamp | FieldValue;
|
|
8633
|
-
updatedAt: Timestamp | FieldValue;
|
|
8637
|
+
createdAt: Date | Timestamp | FieldValue;
|
|
8638
|
+
updatedAt: Date | Timestamp | FieldValue;
|
|
8634
8639
|
email: string | null;
|
|
8635
8640
|
uid: string;
|
|
8636
8641
|
roles: UserRole[];
|
|
8637
8642
|
isAnonymous: boolean;
|
|
8638
|
-
lastLoginAt: Timestamp | FieldValue;
|
|
8643
|
+
lastLoginAt: Date | Timestamp | FieldValue;
|
|
8639
8644
|
patientProfile?: string | undefined;
|
|
8640
8645
|
practitionerProfile?: string | undefined;
|
|
8641
8646
|
adminProfile?: string | undefined;
|
|
8642
8647
|
}, {
|
|
8643
|
-
createdAt: Timestamp | FieldValue;
|
|
8644
|
-
updatedAt: Timestamp | FieldValue;
|
|
8648
|
+
createdAt: Date | Timestamp | FieldValue;
|
|
8649
|
+
updatedAt: Date | Timestamp | FieldValue;
|
|
8645
8650
|
email: string | null;
|
|
8646
8651
|
uid: string;
|
|
8647
8652
|
roles: UserRole[];
|
|
8648
8653
|
isAnonymous: boolean;
|
|
8649
|
-
lastLoginAt: Timestamp | FieldValue;
|
|
8654
|
+
lastLoginAt: Date | Timestamp | FieldValue;
|
|
8650
8655
|
patientProfile?: string | undefined;
|
|
8651
8656
|
practitionerProfile?: string | undefined;
|
|
8652
8657
|
adminProfile?: string | undefined;
|
|
@@ -9256,7 +9261,7 @@ declare const allergySchema: z.ZodObject<{
|
|
|
9256
9261
|
}, {
|
|
9257
9262
|
seconds: number;
|
|
9258
9263
|
nanoseconds: number;
|
|
9259
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
9264
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
9260
9265
|
seconds: number;
|
|
9261
9266
|
nanoseconds: number;
|
|
9262
9267
|
}>>>;
|
|
@@ -9275,7 +9280,7 @@ declare const allergySchema: z.ZodObject<{
|
|
|
9275
9280
|
name?: string | null | undefined;
|
|
9276
9281
|
severity?: "mild" | "moderate" | "severe" | undefined;
|
|
9277
9282
|
reaction?: string | null | undefined;
|
|
9278
|
-
diagnosed?: _firebase_firestore.Timestamp | {
|
|
9283
|
+
diagnosed?: Date | _firebase_firestore.Timestamp | {
|
|
9279
9284
|
seconds: number;
|
|
9280
9285
|
nanoseconds: number;
|
|
9281
9286
|
} | null | undefined;
|
|
@@ -9297,7 +9302,7 @@ declare const vitalStatsSchema: z.ZodObject<{
|
|
|
9297
9302
|
}, {
|
|
9298
9303
|
seconds: number;
|
|
9299
9304
|
nanoseconds: number;
|
|
9300
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
9305
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
9301
9306
|
seconds: number;
|
|
9302
9307
|
nanoseconds: number;
|
|
9303
9308
|
}>;
|
|
@@ -9308,7 +9313,7 @@ declare const vitalStatsSchema: z.ZodObject<{
|
|
|
9308
9313
|
}, {
|
|
9309
9314
|
systolic: number;
|
|
9310
9315
|
diastolic: number;
|
|
9311
|
-
lastMeasured: _firebase_firestore.Timestamp | {
|
|
9316
|
+
lastMeasured: Date | _firebase_firestore.Timestamp | {
|
|
9312
9317
|
seconds: number;
|
|
9313
9318
|
nanoseconds: number;
|
|
9314
9319
|
};
|
|
@@ -9329,7 +9334,7 @@ declare const vitalStatsSchema: z.ZodObject<{
|
|
|
9329
9334
|
bloodPressure?: {
|
|
9330
9335
|
systolic: number;
|
|
9331
9336
|
diastolic: number;
|
|
9332
|
-
lastMeasured: _firebase_firestore.Timestamp | {
|
|
9337
|
+
lastMeasured: Date | _firebase_firestore.Timestamp | {
|
|
9333
9338
|
seconds: number;
|
|
9334
9339
|
nanoseconds: number;
|
|
9335
9340
|
};
|
|
@@ -9346,7 +9351,7 @@ declare const blockingConditionSchema: z.ZodObject<{
|
|
|
9346
9351
|
}, {
|
|
9347
9352
|
seconds: number;
|
|
9348
9353
|
nanoseconds: number;
|
|
9349
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
9354
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
9350
9355
|
seconds: number;
|
|
9351
9356
|
nanoseconds: number;
|
|
9352
9357
|
}>;
|
|
@@ -9360,7 +9365,7 @@ declare const blockingConditionSchema: z.ZodObject<{
|
|
|
9360
9365
|
}, {
|
|
9361
9366
|
isActive: boolean;
|
|
9362
9367
|
condition: BlockingCondition;
|
|
9363
|
-
diagnosedAt: _firebase_firestore.Timestamp | {
|
|
9368
|
+
diagnosedAt: Date | _firebase_firestore.Timestamp | {
|
|
9364
9369
|
seconds: number;
|
|
9365
9370
|
nanoseconds: number;
|
|
9366
9371
|
};
|
|
@@ -9377,7 +9382,7 @@ declare const contraindicationSchema: z.ZodObject<{
|
|
|
9377
9382
|
}, {
|
|
9378
9383
|
seconds: number;
|
|
9379
9384
|
nanoseconds: number;
|
|
9380
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
9385
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
9381
9386
|
seconds: number;
|
|
9382
9387
|
nanoseconds: number;
|
|
9383
9388
|
}>;
|
|
@@ -9393,7 +9398,7 @@ declare const contraindicationSchema: z.ZodObject<{
|
|
|
9393
9398
|
}, {
|
|
9394
9399
|
isActive: boolean;
|
|
9395
9400
|
condition: Contraindication;
|
|
9396
|
-
lastOccurrence: _firebase_firestore.Timestamp | {
|
|
9401
|
+
lastOccurrence: Date | _firebase_firestore.Timestamp | {
|
|
9397
9402
|
seconds: number;
|
|
9398
9403
|
nanoseconds: number;
|
|
9399
9404
|
};
|
|
@@ -9413,7 +9418,7 @@ declare const medicationSchema: z.ZodObject<{
|
|
|
9413
9418
|
}, {
|
|
9414
9419
|
seconds: number;
|
|
9415
9420
|
nanoseconds: number;
|
|
9416
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
9421
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
9417
9422
|
seconds: number;
|
|
9418
9423
|
nanoseconds: number;
|
|
9419
9424
|
}>>>;
|
|
@@ -9426,7 +9431,7 @@ declare const medicationSchema: z.ZodObject<{
|
|
|
9426
9431
|
}, {
|
|
9427
9432
|
seconds: number;
|
|
9428
9433
|
nanoseconds: number;
|
|
9429
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
9434
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
9430
9435
|
seconds: number;
|
|
9431
9436
|
nanoseconds: number;
|
|
9432
9437
|
}>>>;
|
|
@@ -9442,11 +9447,11 @@ declare const medicationSchema: z.ZodObject<{
|
|
|
9442
9447
|
name: string;
|
|
9443
9448
|
dosage: string;
|
|
9444
9449
|
frequency: string;
|
|
9445
|
-
startDate?: _firebase_firestore.Timestamp | {
|
|
9450
|
+
startDate?: Date | _firebase_firestore.Timestamp | {
|
|
9446
9451
|
seconds: number;
|
|
9447
9452
|
nanoseconds: number;
|
|
9448
9453
|
} | null | undefined;
|
|
9449
|
-
endDate?: _firebase_firestore.Timestamp | {
|
|
9454
|
+
endDate?: Date | _firebase_firestore.Timestamp | {
|
|
9450
9455
|
seconds: number;
|
|
9451
9456
|
nanoseconds: number;
|
|
9452
9457
|
} | null | undefined;
|
|
@@ -9470,7 +9475,7 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
9470
9475
|
}, {
|
|
9471
9476
|
seconds: number;
|
|
9472
9477
|
nanoseconds: number;
|
|
9473
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
9478
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
9474
9479
|
seconds: number;
|
|
9475
9480
|
nanoseconds: number;
|
|
9476
9481
|
}>;
|
|
@@ -9481,7 +9486,7 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
9481
9486
|
}, {
|
|
9482
9487
|
systolic: number;
|
|
9483
9488
|
diastolic: number;
|
|
9484
|
-
lastMeasured: _firebase_firestore.Timestamp | {
|
|
9489
|
+
lastMeasured: Date | _firebase_firestore.Timestamp | {
|
|
9485
9490
|
seconds: number;
|
|
9486
9491
|
nanoseconds: number;
|
|
9487
9492
|
};
|
|
@@ -9502,7 +9507,7 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
9502
9507
|
bloodPressure?: {
|
|
9503
9508
|
systolic: number;
|
|
9504
9509
|
diastolic: number;
|
|
9505
|
-
lastMeasured: _firebase_firestore.Timestamp | {
|
|
9510
|
+
lastMeasured: Date | _firebase_firestore.Timestamp | {
|
|
9506
9511
|
seconds: number;
|
|
9507
9512
|
nanoseconds: number;
|
|
9508
9513
|
};
|
|
@@ -9519,7 +9524,7 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
9519
9524
|
}, {
|
|
9520
9525
|
seconds: number;
|
|
9521
9526
|
nanoseconds: number;
|
|
9522
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
9527
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
9523
9528
|
seconds: number;
|
|
9524
9529
|
nanoseconds: number;
|
|
9525
9530
|
}>;
|
|
@@ -9533,7 +9538,7 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
9533
9538
|
}, {
|
|
9534
9539
|
isActive: boolean;
|
|
9535
9540
|
condition: BlockingCondition;
|
|
9536
|
-
diagnosedAt: _firebase_firestore.Timestamp | {
|
|
9541
|
+
diagnosedAt: Date | _firebase_firestore.Timestamp | {
|
|
9537
9542
|
seconds: number;
|
|
9538
9543
|
nanoseconds: number;
|
|
9539
9544
|
};
|
|
@@ -9550,7 +9555,7 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
9550
9555
|
}, {
|
|
9551
9556
|
seconds: number;
|
|
9552
9557
|
nanoseconds: number;
|
|
9553
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
9558
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
9554
9559
|
seconds: number;
|
|
9555
9560
|
nanoseconds: number;
|
|
9556
9561
|
}>;
|
|
@@ -9566,7 +9571,7 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
9566
9571
|
}, {
|
|
9567
9572
|
isActive: boolean;
|
|
9568
9573
|
condition: Contraindication;
|
|
9569
|
-
lastOccurrence: _firebase_firestore.Timestamp | {
|
|
9574
|
+
lastOccurrence: Date | _firebase_firestore.Timestamp | {
|
|
9570
9575
|
seconds: number;
|
|
9571
9576
|
nanoseconds: number;
|
|
9572
9577
|
};
|
|
@@ -9588,7 +9593,7 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
9588
9593
|
}, {
|
|
9589
9594
|
seconds: number;
|
|
9590
9595
|
nanoseconds: number;
|
|
9591
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
9596
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
9592
9597
|
seconds: number;
|
|
9593
9598
|
nanoseconds: number;
|
|
9594
9599
|
}>>>;
|
|
@@ -9607,7 +9612,7 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
9607
9612
|
name?: string | null | undefined;
|
|
9608
9613
|
severity?: "mild" | "moderate" | "severe" | undefined;
|
|
9609
9614
|
reaction?: string | null | undefined;
|
|
9610
|
-
diagnosed?: _firebase_firestore.Timestamp | {
|
|
9615
|
+
diagnosed?: Date | _firebase_firestore.Timestamp | {
|
|
9611
9616
|
seconds: number;
|
|
9612
9617
|
nanoseconds: number;
|
|
9613
9618
|
} | null | undefined;
|
|
@@ -9626,7 +9631,7 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
9626
9631
|
}, {
|
|
9627
9632
|
seconds: number;
|
|
9628
9633
|
nanoseconds: number;
|
|
9629
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
9634
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
9630
9635
|
seconds: number;
|
|
9631
9636
|
nanoseconds: number;
|
|
9632
9637
|
}>>>;
|
|
@@ -9639,7 +9644,7 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
9639
9644
|
}, {
|
|
9640
9645
|
seconds: number;
|
|
9641
9646
|
nanoseconds: number;
|
|
9642
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
9647
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
9643
9648
|
seconds: number;
|
|
9644
9649
|
nanoseconds: number;
|
|
9645
9650
|
}>>>;
|
|
@@ -9655,11 +9660,11 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
9655
9660
|
name: string;
|
|
9656
9661
|
dosage: string;
|
|
9657
9662
|
frequency: string;
|
|
9658
|
-
startDate?: _firebase_firestore.Timestamp | {
|
|
9663
|
+
startDate?: Date | _firebase_firestore.Timestamp | {
|
|
9659
9664
|
seconds: number;
|
|
9660
9665
|
nanoseconds: number;
|
|
9661
9666
|
} | null | undefined;
|
|
9662
|
-
endDate?: _firebase_firestore.Timestamp | {
|
|
9667
|
+
endDate?: Date | _firebase_firestore.Timestamp | {
|
|
9663
9668
|
seconds: number;
|
|
9664
9669
|
nanoseconds: number;
|
|
9665
9670
|
} | null | undefined;
|
|
@@ -9675,7 +9680,7 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
9675
9680
|
}, {
|
|
9676
9681
|
seconds: number;
|
|
9677
9682
|
nanoseconds: number;
|
|
9678
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
9683
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
9679
9684
|
seconds: number;
|
|
9680
9685
|
nanoseconds: number;
|
|
9681
9686
|
}>;
|
|
@@ -9690,7 +9695,7 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
9690
9695
|
}, {
|
|
9691
9696
|
seconds: number;
|
|
9692
9697
|
nanoseconds: number;
|
|
9693
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
9698
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
9694
9699
|
seconds: number;
|
|
9695
9700
|
nanoseconds: number;
|
|
9696
9701
|
}>>;
|
|
@@ -9745,7 +9750,7 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
9745
9750
|
contraindications: {
|
|
9746
9751
|
isActive: boolean;
|
|
9747
9752
|
condition: Contraindication;
|
|
9748
|
-
lastOccurrence: _firebase_firestore.Timestamp | {
|
|
9753
|
+
lastOccurrence: Date | _firebase_firestore.Timestamp | {
|
|
9749
9754
|
seconds: number;
|
|
9750
9755
|
nanoseconds: number;
|
|
9751
9756
|
};
|
|
@@ -9753,7 +9758,7 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
9753
9758
|
notes?: string | null | undefined;
|
|
9754
9759
|
}[];
|
|
9755
9760
|
patientId: string;
|
|
9756
|
-
lastUpdated: _firebase_firestore.Timestamp | {
|
|
9761
|
+
lastUpdated: Date | _firebase_firestore.Timestamp | {
|
|
9757
9762
|
seconds: number;
|
|
9758
9763
|
nanoseconds: number;
|
|
9759
9764
|
};
|
|
@@ -9765,7 +9770,7 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
9765
9770
|
bloodPressure?: {
|
|
9766
9771
|
systolic: number;
|
|
9767
9772
|
diastolic: number;
|
|
9768
|
-
lastMeasured: _firebase_firestore.Timestamp | {
|
|
9773
|
+
lastMeasured: Date | _firebase_firestore.Timestamp | {
|
|
9769
9774
|
seconds: number;
|
|
9770
9775
|
nanoseconds: number;
|
|
9771
9776
|
};
|
|
@@ -9774,7 +9779,7 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
9774
9779
|
blockingConditions: {
|
|
9775
9780
|
isActive: boolean;
|
|
9776
9781
|
condition: BlockingCondition;
|
|
9777
|
-
diagnosedAt: _firebase_firestore.Timestamp | {
|
|
9782
|
+
diagnosedAt: Date | _firebase_firestore.Timestamp | {
|
|
9778
9783
|
seconds: number;
|
|
9779
9784
|
nanoseconds: number;
|
|
9780
9785
|
};
|
|
@@ -9786,7 +9791,7 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
9786
9791
|
name?: string | null | undefined;
|
|
9787
9792
|
severity?: "mild" | "moderate" | "severe" | undefined;
|
|
9788
9793
|
reaction?: string | null | undefined;
|
|
9789
|
-
diagnosed?: _firebase_firestore.Timestamp | {
|
|
9794
|
+
diagnosed?: Date | _firebase_firestore.Timestamp | {
|
|
9790
9795
|
seconds: number;
|
|
9791
9796
|
nanoseconds: number;
|
|
9792
9797
|
} | null | undefined;
|
|
@@ -9796,18 +9801,18 @@ declare const patientMedicalInfoSchema: z.ZodObject<{
|
|
|
9796
9801
|
name: string;
|
|
9797
9802
|
dosage: string;
|
|
9798
9803
|
frequency: string;
|
|
9799
|
-
startDate?: _firebase_firestore.Timestamp | {
|
|
9804
|
+
startDate?: Date | _firebase_firestore.Timestamp | {
|
|
9800
9805
|
seconds: number;
|
|
9801
9806
|
nanoseconds: number;
|
|
9802
9807
|
} | null | undefined;
|
|
9803
|
-
endDate?: _firebase_firestore.Timestamp | {
|
|
9808
|
+
endDate?: Date | _firebase_firestore.Timestamp | {
|
|
9804
9809
|
seconds: number;
|
|
9805
9810
|
nanoseconds: number;
|
|
9806
9811
|
} | null | undefined;
|
|
9807
9812
|
prescribedBy?: string | null | undefined;
|
|
9808
9813
|
}[];
|
|
9809
9814
|
verifiedBy?: string | undefined;
|
|
9810
|
-
verifiedAt?: _firebase_firestore.Timestamp | {
|
|
9815
|
+
verifiedAt?: Date | _firebase_firestore.Timestamp | {
|
|
9811
9816
|
seconds: number;
|
|
9812
9817
|
nanoseconds: number;
|
|
9813
9818
|
} | undefined;
|
|
@@ -9831,7 +9836,7 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
9831
9836
|
}, {
|
|
9832
9837
|
seconds: number;
|
|
9833
9838
|
nanoseconds: number;
|
|
9834
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
9839
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
9835
9840
|
seconds: number;
|
|
9836
9841
|
nanoseconds: number;
|
|
9837
9842
|
}>;
|
|
@@ -9842,7 +9847,7 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
9842
9847
|
}, {
|
|
9843
9848
|
systolic: number;
|
|
9844
9849
|
diastolic: number;
|
|
9845
|
-
lastMeasured: _firebase_firestore.Timestamp | {
|
|
9850
|
+
lastMeasured: Date | _firebase_firestore.Timestamp | {
|
|
9846
9851
|
seconds: number;
|
|
9847
9852
|
nanoseconds: number;
|
|
9848
9853
|
};
|
|
@@ -9863,7 +9868,7 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
9863
9868
|
bloodPressure?: {
|
|
9864
9869
|
systolic: number;
|
|
9865
9870
|
diastolic: number;
|
|
9866
|
-
lastMeasured: _firebase_firestore.Timestamp | {
|
|
9871
|
+
lastMeasured: Date | _firebase_firestore.Timestamp | {
|
|
9867
9872
|
seconds: number;
|
|
9868
9873
|
nanoseconds: number;
|
|
9869
9874
|
};
|
|
@@ -9880,7 +9885,7 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
9880
9885
|
}, {
|
|
9881
9886
|
seconds: number;
|
|
9882
9887
|
nanoseconds: number;
|
|
9883
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
9888
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
9884
9889
|
seconds: number;
|
|
9885
9890
|
nanoseconds: number;
|
|
9886
9891
|
}>;
|
|
@@ -9894,7 +9899,7 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
9894
9899
|
}, {
|
|
9895
9900
|
isActive: boolean;
|
|
9896
9901
|
condition: BlockingCondition;
|
|
9897
|
-
diagnosedAt: _firebase_firestore.Timestamp | {
|
|
9902
|
+
diagnosedAt: Date | _firebase_firestore.Timestamp | {
|
|
9898
9903
|
seconds: number;
|
|
9899
9904
|
nanoseconds: number;
|
|
9900
9905
|
};
|
|
@@ -9911,7 +9916,7 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
9911
9916
|
}, {
|
|
9912
9917
|
seconds: number;
|
|
9913
9918
|
nanoseconds: number;
|
|
9914
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
9919
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
9915
9920
|
seconds: number;
|
|
9916
9921
|
nanoseconds: number;
|
|
9917
9922
|
}>;
|
|
@@ -9927,7 +9932,7 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
9927
9932
|
}, {
|
|
9928
9933
|
isActive: boolean;
|
|
9929
9934
|
condition: Contraindication;
|
|
9930
|
-
lastOccurrence: _firebase_firestore.Timestamp | {
|
|
9935
|
+
lastOccurrence: Date | _firebase_firestore.Timestamp | {
|
|
9931
9936
|
seconds: number;
|
|
9932
9937
|
nanoseconds: number;
|
|
9933
9938
|
};
|
|
@@ -9949,7 +9954,7 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
9949
9954
|
}, {
|
|
9950
9955
|
seconds: number;
|
|
9951
9956
|
nanoseconds: number;
|
|
9952
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
9957
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
9953
9958
|
seconds: number;
|
|
9954
9959
|
nanoseconds: number;
|
|
9955
9960
|
}>>>;
|
|
@@ -9968,7 +9973,7 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
9968
9973
|
name?: string | null | undefined;
|
|
9969
9974
|
severity?: "mild" | "moderate" | "severe" | undefined;
|
|
9970
9975
|
reaction?: string | null | undefined;
|
|
9971
|
-
diagnosed?: _firebase_firestore.Timestamp | {
|
|
9976
|
+
diagnosed?: Date | _firebase_firestore.Timestamp | {
|
|
9972
9977
|
seconds: number;
|
|
9973
9978
|
nanoseconds: number;
|
|
9974
9979
|
} | null | undefined;
|
|
@@ -9987,7 +9992,7 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
9987
9992
|
}, {
|
|
9988
9993
|
seconds: number;
|
|
9989
9994
|
nanoseconds: number;
|
|
9990
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
9995
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
9991
9996
|
seconds: number;
|
|
9992
9997
|
nanoseconds: number;
|
|
9993
9998
|
}>>>;
|
|
@@ -10000,7 +10005,7 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
10000
10005
|
}, {
|
|
10001
10006
|
seconds: number;
|
|
10002
10007
|
nanoseconds: number;
|
|
10003
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
10008
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
10004
10009
|
seconds: number;
|
|
10005
10010
|
nanoseconds: number;
|
|
10006
10011
|
}>>>;
|
|
@@ -10016,11 +10021,11 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
10016
10021
|
name: string;
|
|
10017
10022
|
dosage: string;
|
|
10018
10023
|
frequency: string;
|
|
10019
|
-
startDate?: _firebase_firestore.Timestamp | {
|
|
10024
|
+
startDate?: Date | _firebase_firestore.Timestamp | {
|
|
10020
10025
|
seconds: number;
|
|
10021
10026
|
nanoseconds: number;
|
|
10022
10027
|
} | null | undefined;
|
|
10023
|
-
endDate?: _firebase_firestore.Timestamp | {
|
|
10028
|
+
endDate?: Date | _firebase_firestore.Timestamp | {
|
|
10024
10029
|
seconds: number;
|
|
10025
10030
|
nanoseconds: number;
|
|
10026
10031
|
} | null | undefined;
|
|
@@ -10036,7 +10041,7 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
10036
10041
|
}, {
|
|
10037
10042
|
seconds: number;
|
|
10038
10043
|
nanoseconds: number;
|
|
10039
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
10044
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
10040
10045
|
seconds: number;
|
|
10041
10046
|
nanoseconds: number;
|
|
10042
10047
|
}>;
|
|
@@ -10051,7 +10056,7 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
10051
10056
|
}, {
|
|
10052
10057
|
seconds: number;
|
|
10053
10058
|
nanoseconds: number;
|
|
10054
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
10059
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
10055
10060
|
seconds: number;
|
|
10056
10061
|
nanoseconds: number;
|
|
10057
10062
|
}>>;
|
|
@@ -10101,7 +10106,7 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
10101
10106
|
contraindications: {
|
|
10102
10107
|
isActive: boolean;
|
|
10103
10108
|
condition: Contraindication;
|
|
10104
|
-
lastOccurrence: _firebase_firestore.Timestamp | {
|
|
10109
|
+
lastOccurrence: Date | _firebase_firestore.Timestamp | {
|
|
10105
10110
|
seconds: number;
|
|
10106
10111
|
nanoseconds: number;
|
|
10107
10112
|
};
|
|
@@ -10115,7 +10120,7 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
10115
10120
|
bloodPressure?: {
|
|
10116
10121
|
systolic: number;
|
|
10117
10122
|
diastolic: number;
|
|
10118
|
-
lastMeasured: _firebase_firestore.Timestamp | {
|
|
10123
|
+
lastMeasured: Date | _firebase_firestore.Timestamp | {
|
|
10119
10124
|
seconds: number;
|
|
10120
10125
|
nanoseconds: number;
|
|
10121
10126
|
};
|
|
@@ -10124,7 +10129,7 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
10124
10129
|
blockingConditions: {
|
|
10125
10130
|
isActive: boolean;
|
|
10126
10131
|
condition: BlockingCondition;
|
|
10127
|
-
diagnosedAt: _firebase_firestore.Timestamp | {
|
|
10132
|
+
diagnosedAt: Date | _firebase_firestore.Timestamp | {
|
|
10128
10133
|
seconds: number;
|
|
10129
10134
|
nanoseconds: number;
|
|
10130
10135
|
};
|
|
@@ -10136,7 +10141,7 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
10136
10141
|
name?: string | null | undefined;
|
|
10137
10142
|
severity?: "mild" | "moderate" | "severe" | undefined;
|
|
10138
10143
|
reaction?: string | null | undefined;
|
|
10139
|
-
diagnosed?: _firebase_firestore.Timestamp | {
|
|
10144
|
+
diagnosed?: Date | _firebase_firestore.Timestamp | {
|
|
10140
10145
|
seconds: number;
|
|
10141
10146
|
nanoseconds: number;
|
|
10142
10147
|
} | null | undefined;
|
|
@@ -10146,11 +10151,11 @@ declare const createPatientMedicalInfoSchema: z.ZodObject<Omit<{
|
|
|
10146
10151
|
name: string;
|
|
10147
10152
|
dosage: string;
|
|
10148
10153
|
frequency: string;
|
|
10149
|
-
startDate?: _firebase_firestore.Timestamp | {
|
|
10154
|
+
startDate?: Date | _firebase_firestore.Timestamp | {
|
|
10150
10155
|
seconds: number;
|
|
10151
10156
|
nanoseconds: number;
|
|
10152
10157
|
} | null | undefined;
|
|
10153
|
-
endDate?: _firebase_firestore.Timestamp | {
|
|
10158
|
+
endDate?: Date | _firebase_firestore.Timestamp | {
|
|
10154
10159
|
seconds: number;
|
|
10155
10160
|
nanoseconds: number;
|
|
10156
10161
|
} | null | undefined;
|
|
@@ -10170,7 +10175,7 @@ declare const updatePatientMedicalInfoSchema: z.ZodObject<{
|
|
|
10170
10175
|
}, {
|
|
10171
10176
|
seconds: number;
|
|
10172
10177
|
nanoseconds: number;
|
|
10173
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
10178
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
10174
10179
|
seconds: number;
|
|
10175
10180
|
nanoseconds: number;
|
|
10176
10181
|
}>;
|
|
@@ -10186,7 +10191,7 @@ declare const updatePatientMedicalInfoSchema: z.ZodObject<{
|
|
|
10186
10191
|
}, {
|
|
10187
10192
|
isActive: boolean;
|
|
10188
10193
|
condition: Contraindication;
|
|
10189
|
-
lastOccurrence: _firebase_firestore.Timestamp | {
|
|
10194
|
+
lastOccurrence: Date | _firebase_firestore.Timestamp | {
|
|
10190
10195
|
seconds: number;
|
|
10191
10196
|
nanoseconds: number;
|
|
10192
10197
|
};
|
|
@@ -10209,7 +10214,7 @@ declare const updatePatientMedicalInfoSchema: z.ZodObject<{
|
|
|
10209
10214
|
}, {
|
|
10210
10215
|
seconds: number;
|
|
10211
10216
|
nanoseconds: number;
|
|
10212
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
10217
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
10213
10218
|
seconds: number;
|
|
10214
10219
|
nanoseconds: number;
|
|
10215
10220
|
}>;
|
|
@@ -10220,7 +10225,7 @@ declare const updatePatientMedicalInfoSchema: z.ZodObject<{
|
|
|
10220
10225
|
}, {
|
|
10221
10226
|
systolic: number;
|
|
10222
10227
|
diastolic: number;
|
|
10223
|
-
lastMeasured: _firebase_firestore.Timestamp | {
|
|
10228
|
+
lastMeasured: Date | _firebase_firestore.Timestamp | {
|
|
10224
10229
|
seconds: number;
|
|
10225
10230
|
nanoseconds: number;
|
|
10226
10231
|
};
|
|
@@ -10241,7 +10246,7 @@ declare const updatePatientMedicalInfoSchema: z.ZodObject<{
|
|
|
10241
10246
|
bloodPressure?: {
|
|
10242
10247
|
systolic: number;
|
|
10243
10248
|
diastolic: number;
|
|
10244
|
-
lastMeasured: _firebase_firestore.Timestamp | {
|
|
10249
|
+
lastMeasured: Date | _firebase_firestore.Timestamp | {
|
|
10245
10250
|
seconds: number;
|
|
10246
10251
|
nanoseconds: number;
|
|
10247
10252
|
};
|
|
@@ -10258,7 +10263,7 @@ declare const updatePatientMedicalInfoSchema: z.ZodObject<{
|
|
|
10258
10263
|
}, {
|
|
10259
10264
|
seconds: number;
|
|
10260
10265
|
nanoseconds: number;
|
|
10261
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
10266
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
10262
10267
|
seconds: number;
|
|
10263
10268
|
nanoseconds: number;
|
|
10264
10269
|
}>;
|
|
@@ -10272,7 +10277,7 @@ declare const updatePatientMedicalInfoSchema: z.ZodObject<{
|
|
|
10272
10277
|
}, {
|
|
10273
10278
|
isActive: boolean;
|
|
10274
10279
|
condition: BlockingCondition;
|
|
10275
|
-
diagnosedAt: _firebase_firestore.Timestamp | {
|
|
10280
|
+
diagnosedAt: Date | _firebase_firestore.Timestamp | {
|
|
10276
10281
|
seconds: number;
|
|
10277
10282
|
nanoseconds: number;
|
|
10278
10283
|
};
|
|
@@ -10293,7 +10298,7 @@ declare const updatePatientMedicalInfoSchema: z.ZodObject<{
|
|
|
10293
10298
|
}, {
|
|
10294
10299
|
seconds: number;
|
|
10295
10300
|
nanoseconds: number;
|
|
10296
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
10301
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
10297
10302
|
seconds: number;
|
|
10298
10303
|
nanoseconds: number;
|
|
10299
10304
|
}>>>;
|
|
@@ -10312,7 +10317,7 @@ declare const updatePatientMedicalInfoSchema: z.ZodObject<{
|
|
|
10312
10317
|
name?: string | null | undefined;
|
|
10313
10318
|
severity?: "mild" | "moderate" | "severe" | undefined;
|
|
10314
10319
|
reaction?: string | null | undefined;
|
|
10315
|
-
diagnosed?: _firebase_firestore.Timestamp | {
|
|
10320
|
+
diagnosed?: Date | _firebase_firestore.Timestamp | {
|
|
10316
10321
|
seconds: number;
|
|
10317
10322
|
nanoseconds: number;
|
|
10318
10323
|
} | null | undefined;
|
|
@@ -10331,7 +10336,7 @@ declare const updatePatientMedicalInfoSchema: z.ZodObject<{
|
|
|
10331
10336
|
}, {
|
|
10332
10337
|
seconds: number;
|
|
10333
10338
|
nanoseconds: number;
|
|
10334
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
10339
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
10335
10340
|
seconds: number;
|
|
10336
10341
|
nanoseconds: number;
|
|
10337
10342
|
}>>>;
|
|
@@ -10344,7 +10349,7 @@ declare const updatePatientMedicalInfoSchema: z.ZodObject<{
|
|
|
10344
10349
|
}, {
|
|
10345
10350
|
seconds: number;
|
|
10346
10351
|
nanoseconds: number;
|
|
10347
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
10352
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
10348
10353
|
seconds: number;
|
|
10349
10354
|
nanoseconds: number;
|
|
10350
10355
|
}>>>;
|
|
@@ -10360,11 +10365,11 @@ declare const updatePatientMedicalInfoSchema: z.ZodObject<{
|
|
|
10360
10365
|
name: string;
|
|
10361
10366
|
dosage: string;
|
|
10362
10367
|
frequency: string;
|
|
10363
|
-
startDate?: _firebase_firestore.Timestamp | {
|
|
10368
|
+
startDate?: Date | _firebase_firestore.Timestamp | {
|
|
10364
10369
|
seconds: number;
|
|
10365
10370
|
nanoseconds: number;
|
|
10366
10371
|
} | null | undefined;
|
|
10367
|
-
endDate?: _firebase_firestore.Timestamp | {
|
|
10372
|
+
endDate?: Date | _firebase_firestore.Timestamp | {
|
|
10368
10373
|
seconds: number;
|
|
10369
10374
|
nanoseconds: number;
|
|
10370
10375
|
} | null | undefined;
|
|
@@ -10417,7 +10422,7 @@ declare const updatePatientMedicalInfoSchema: z.ZodObject<{
|
|
|
10417
10422
|
contraindications?: {
|
|
10418
10423
|
isActive: boolean;
|
|
10419
10424
|
condition: Contraindication;
|
|
10420
|
-
lastOccurrence: _firebase_firestore.Timestamp | {
|
|
10425
|
+
lastOccurrence: Date | _firebase_firestore.Timestamp | {
|
|
10421
10426
|
seconds: number;
|
|
10422
10427
|
nanoseconds: number;
|
|
10423
10428
|
};
|
|
@@ -10431,7 +10436,7 @@ declare const updatePatientMedicalInfoSchema: z.ZodObject<{
|
|
|
10431
10436
|
bloodPressure?: {
|
|
10432
10437
|
systolic: number;
|
|
10433
10438
|
diastolic: number;
|
|
10434
|
-
lastMeasured: _firebase_firestore.Timestamp | {
|
|
10439
|
+
lastMeasured: Date | _firebase_firestore.Timestamp | {
|
|
10435
10440
|
seconds: number;
|
|
10436
10441
|
nanoseconds: number;
|
|
10437
10442
|
};
|
|
@@ -10440,7 +10445,7 @@ declare const updatePatientMedicalInfoSchema: z.ZodObject<{
|
|
|
10440
10445
|
blockingConditions?: {
|
|
10441
10446
|
isActive: boolean;
|
|
10442
10447
|
condition: BlockingCondition;
|
|
10443
|
-
diagnosedAt: _firebase_firestore.Timestamp | {
|
|
10448
|
+
diagnosedAt: Date | _firebase_firestore.Timestamp | {
|
|
10444
10449
|
seconds: number;
|
|
10445
10450
|
nanoseconds: number;
|
|
10446
10451
|
};
|
|
@@ -10452,7 +10457,7 @@ declare const updatePatientMedicalInfoSchema: z.ZodObject<{
|
|
|
10452
10457
|
name?: string | null | undefined;
|
|
10453
10458
|
severity?: "mild" | "moderate" | "severe" | undefined;
|
|
10454
10459
|
reaction?: string | null | undefined;
|
|
10455
|
-
diagnosed?: _firebase_firestore.Timestamp | {
|
|
10460
|
+
diagnosed?: Date | _firebase_firestore.Timestamp | {
|
|
10456
10461
|
seconds: number;
|
|
10457
10462
|
nanoseconds: number;
|
|
10458
10463
|
} | null | undefined;
|
|
@@ -10462,11 +10467,11 @@ declare const updatePatientMedicalInfoSchema: z.ZodObject<{
|
|
|
10462
10467
|
name: string;
|
|
10463
10468
|
dosage: string;
|
|
10464
10469
|
frequency: string;
|
|
10465
|
-
startDate?: _firebase_firestore.Timestamp | {
|
|
10470
|
+
startDate?: Date | _firebase_firestore.Timestamp | {
|
|
10466
10471
|
seconds: number;
|
|
10467
10472
|
nanoseconds: number;
|
|
10468
10473
|
} | null | undefined;
|
|
10469
|
-
endDate?: _firebase_firestore.Timestamp | {
|
|
10474
|
+
endDate?: Date | _firebase_firestore.Timestamp | {
|
|
10470
10475
|
seconds: number;
|
|
10471
10476
|
nanoseconds: number;
|
|
10472
10477
|
} | null | undefined;
|
|
@@ -10490,7 +10495,7 @@ declare const updateVitalStatsSchema: z.ZodObject<{
|
|
|
10490
10495
|
}, {
|
|
10491
10496
|
seconds: number;
|
|
10492
10497
|
nanoseconds: number;
|
|
10493
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
10498
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
10494
10499
|
seconds: number;
|
|
10495
10500
|
nanoseconds: number;
|
|
10496
10501
|
}>;
|
|
@@ -10501,7 +10506,7 @@ declare const updateVitalStatsSchema: z.ZodObject<{
|
|
|
10501
10506
|
}, {
|
|
10502
10507
|
systolic: number;
|
|
10503
10508
|
diastolic: number;
|
|
10504
|
-
lastMeasured: _firebase_firestore.Timestamp | {
|
|
10509
|
+
lastMeasured: Date | _firebase_firestore.Timestamp | {
|
|
10505
10510
|
seconds: number;
|
|
10506
10511
|
nanoseconds: number;
|
|
10507
10512
|
};
|
|
@@ -10522,7 +10527,7 @@ declare const updateVitalStatsSchema: z.ZodObject<{
|
|
|
10522
10527
|
bloodPressure?: {
|
|
10523
10528
|
systolic: number;
|
|
10524
10529
|
diastolic: number;
|
|
10525
|
-
lastMeasured: _firebase_firestore.Timestamp | {
|
|
10530
|
+
lastMeasured: Date | _firebase_firestore.Timestamp | {
|
|
10526
10531
|
seconds: number;
|
|
10527
10532
|
nanoseconds: number;
|
|
10528
10533
|
};
|
|
@@ -10543,7 +10548,7 @@ declare const addAllergySchema: z.ZodObject<{
|
|
|
10543
10548
|
}, {
|
|
10544
10549
|
seconds: number;
|
|
10545
10550
|
nanoseconds: number;
|
|
10546
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
10551
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
10547
10552
|
seconds: number;
|
|
10548
10553
|
nanoseconds: number;
|
|
10549
10554
|
}>>>;
|
|
@@ -10562,7 +10567,7 @@ declare const addAllergySchema: z.ZodObject<{
|
|
|
10562
10567
|
name?: string | null | undefined;
|
|
10563
10568
|
severity?: "mild" | "moderate" | "severe" | undefined;
|
|
10564
10569
|
reaction?: string | null | undefined;
|
|
10565
|
-
diagnosed?: _firebase_firestore.Timestamp | {
|
|
10570
|
+
diagnosed?: Date | _firebase_firestore.Timestamp | {
|
|
10566
10571
|
seconds: number;
|
|
10567
10572
|
nanoseconds: number;
|
|
10568
10573
|
} | null | undefined;
|
|
@@ -10583,7 +10588,7 @@ declare const updateAllergySchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
10583
10588
|
}, {
|
|
10584
10589
|
seconds: number;
|
|
10585
10590
|
nanoseconds: number;
|
|
10586
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
10591
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
10587
10592
|
seconds: number;
|
|
10588
10593
|
nanoseconds: number;
|
|
10589
10594
|
}>>>>;
|
|
@@ -10606,7 +10611,7 @@ declare const updateAllergySchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
10606
10611
|
subtype?: "other" | MedicationAllergySubtype | FoodAllergySubtype | EnvironmentalAllergySubtype | CosmeticAllergySubtype | undefined;
|
|
10607
10612
|
severity?: "mild" | "moderate" | "severe" | undefined;
|
|
10608
10613
|
reaction?: string | null | undefined;
|
|
10609
|
-
diagnosed?: _firebase_firestore.Timestamp | {
|
|
10614
|
+
diagnosed?: Date | _firebase_firestore.Timestamp | {
|
|
10610
10615
|
seconds: number;
|
|
10611
10616
|
nanoseconds: number;
|
|
10612
10617
|
} | null | undefined;
|
|
@@ -10623,7 +10628,7 @@ declare const addBlockingConditionSchema: z.ZodObject<{
|
|
|
10623
10628
|
}, {
|
|
10624
10629
|
seconds: number;
|
|
10625
10630
|
nanoseconds: number;
|
|
10626
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
10631
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
10627
10632
|
seconds: number;
|
|
10628
10633
|
nanoseconds: number;
|
|
10629
10634
|
}>;
|
|
@@ -10637,7 +10642,7 @@ declare const addBlockingConditionSchema: z.ZodObject<{
|
|
|
10637
10642
|
}, {
|
|
10638
10643
|
isActive: boolean;
|
|
10639
10644
|
condition: BlockingCondition;
|
|
10640
|
-
diagnosedAt: _firebase_firestore.Timestamp | {
|
|
10645
|
+
diagnosedAt: Date | _firebase_firestore.Timestamp | {
|
|
10641
10646
|
seconds: number;
|
|
10642
10647
|
nanoseconds: number;
|
|
10643
10648
|
};
|
|
@@ -10654,7 +10659,7 @@ declare const updateBlockingConditionSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
10654
10659
|
}, {
|
|
10655
10660
|
seconds: number;
|
|
10656
10661
|
nanoseconds: number;
|
|
10657
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
10662
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
10658
10663
|
seconds: number;
|
|
10659
10664
|
nanoseconds: number;
|
|
10660
10665
|
}>>;
|
|
@@ -10673,7 +10678,7 @@ declare const updateBlockingConditionSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
10673
10678
|
isActive?: boolean | undefined;
|
|
10674
10679
|
notes?: string | null | undefined;
|
|
10675
10680
|
condition?: BlockingCondition | undefined;
|
|
10676
|
-
diagnosedAt?: _firebase_firestore.Timestamp | {
|
|
10681
|
+
diagnosedAt?: Date | _firebase_firestore.Timestamp | {
|
|
10677
10682
|
seconds: number;
|
|
10678
10683
|
nanoseconds: number;
|
|
10679
10684
|
} | undefined;
|
|
@@ -10689,7 +10694,7 @@ declare const addContraindicationSchema: z.ZodObject<{
|
|
|
10689
10694
|
}, {
|
|
10690
10695
|
seconds: number;
|
|
10691
10696
|
nanoseconds: number;
|
|
10692
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
10697
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
10693
10698
|
seconds: number;
|
|
10694
10699
|
nanoseconds: number;
|
|
10695
10700
|
}>;
|
|
@@ -10705,7 +10710,7 @@ declare const addContraindicationSchema: z.ZodObject<{
|
|
|
10705
10710
|
}, {
|
|
10706
10711
|
isActive: boolean;
|
|
10707
10712
|
condition: Contraindication;
|
|
10708
|
-
lastOccurrence: _firebase_firestore.Timestamp | {
|
|
10713
|
+
lastOccurrence: Date | _firebase_firestore.Timestamp | {
|
|
10709
10714
|
seconds: number;
|
|
10710
10715
|
nanoseconds: number;
|
|
10711
10716
|
};
|
|
@@ -10723,7 +10728,7 @@ declare const updateContraindicationSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
10723
10728
|
}, {
|
|
10724
10729
|
seconds: number;
|
|
10725
10730
|
nanoseconds: number;
|
|
10726
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
10731
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
10727
10732
|
seconds: number;
|
|
10728
10733
|
nanoseconds: number;
|
|
10729
10734
|
}>>;
|
|
@@ -10744,7 +10749,7 @@ declare const updateContraindicationSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
10744
10749
|
isActive?: boolean | undefined;
|
|
10745
10750
|
notes?: string | null | undefined;
|
|
10746
10751
|
condition?: Contraindication | undefined;
|
|
10747
|
-
lastOccurrence?: _firebase_firestore.Timestamp | {
|
|
10752
|
+
lastOccurrence?: Date | _firebase_firestore.Timestamp | {
|
|
10748
10753
|
seconds: number;
|
|
10749
10754
|
nanoseconds: number;
|
|
10750
10755
|
} | undefined;
|
|
@@ -10763,7 +10768,7 @@ declare const addMedicationSchema: z.ZodObject<{
|
|
|
10763
10768
|
}, {
|
|
10764
10769
|
seconds: number;
|
|
10765
10770
|
nanoseconds: number;
|
|
10766
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
10771
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
10767
10772
|
seconds: number;
|
|
10768
10773
|
nanoseconds: number;
|
|
10769
10774
|
}>>>;
|
|
@@ -10776,7 +10781,7 @@ declare const addMedicationSchema: z.ZodObject<{
|
|
|
10776
10781
|
}, {
|
|
10777
10782
|
seconds: number;
|
|
10778
10783
|
nanoseconds: number;
|
|
10779
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
10784
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
10780
10785
|
seconds: number;
|
|
10781
10786
|
nanoseconds: number;
|
|
10782
10787
|
}>>>;
|
|
@@ -10792,11 +10797,11 @@ declare const addMedicationSchema: z.ZodObject<{
|
|
|
10792
10797
|
name: string;
|
|
10793
10798
|
dosage: string;
|
|
10794
10799
|
frequency: string;
|
|
10795
|
-
startDate?: _firebase_firestore.Timestamp | {
|
|
10800
|
+
startDate?: Date | _firebase_firestore.Timestamp | {
|
|
10796
10801
|
seconds: number;
|
|
10797
10802
|
nanoseconds: number;
|
|
10798
10803
|
} | null | undefined;
|
|
10799
|
-
endDate?: _firebase_firestore.Timestamp | {
|
|
10804
|
+
endDate?: Date | _firebase_firestore.Timestamp | {
|
|
10800
10805
|
seconds: number;
|
|
10801
10806
|
nanoseconds: number;
|
|
10802
10807
|
} | null | undefined;
|
|
@@ -10815,7 +10820,7 @@ declare const updateMedicationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
10815
10820
|
}, {
|
|
10816
10821
|
seconds: number;
|
|
10817
10822
|
nanoseconds: number;
|
|
10818
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
10823
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
10819
10824
|
seconds: number;
|
|
10820
10825
|
nanoseconds: number;
|
|
10821
10826
|
}>>>>;
|
|
@@ -10828,7 +10833,7 @@ declare const updateMedicationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
10828
10833
|
}, {
|
|
10829
10834
|
seconds: number;
|
|
10830
10835
|
nanoseconds: number;
|
|
10831
|
-
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>]>, _firebase_firestore.Timestamp, _firebase_firestore.Timestamp | {
|
|
10836
|
+
}>, z.ZodType<_firebase_firestore.Timestamp, z.ZodTypeDef, _firebase_firestore.Timestamp>, z.ZodType<Date, z.ZodTypeDef, Date>]>, _firebase_firestore.Timestamp, Date | _firebase_firestore.Timestamp | {
|
|
10832
10837
|
seconds: number;
|
|
10833
10838
|
nanoseconds: number;
|
|
10834
10839
|
}>>>>;
|
|
@@ -10848,11 +10853,11 @@ declare const updateMedicationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
10848
10853
|
name?: string | undefined;
|
|
10849
10854
|
dosage?: string | undefined;
|
|
10850
10855
|
frequency?: string | undefined;
|
|
10851
|
-
startDate?: _firebase_firestore.Timestamp | {
|
|
10856
|
+
startDate?: Date | _firebase_firestore.Timestamp | {
|
|
10852
10857
|
seconds: number;
|
|
10853
10858
|
nanoseconds: number;
|
|
10854
10859
|
} | null | undefined;
|
|
10855
|
-
endDate?: _firebase_firestore.Timestamp | {
|
|
10860
|
+
endDate?: Date | _firebase_firestore.Timestamp | {
|
|
10856
10861
|
seconds: number;
|
|
10857
10862
|
nanoseconds: number;
|
|
10858
10863
|
} | null | undefined;
|
|
@@ -11536,33 +11541,33 @@ declare const practitionerBasicInfoSchema: z.ZodObject<{
|
|
|
11536
11541
|
lastName: z.ZodString;
|
|
11537
11542
|
title: z.ZodString;
|
|
11538
11543
|
email: z.ZodString;
|
|
11539
|
-
phoneNumber: z.ZodString
|
|
11540
|
-
dateOfBirth: z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]
|
|
11544
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
11545
|
+
dateOfBirth: z.ZodNullable<z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]>>;
|
|
11541
11546
|
gender: z.ZodEnum<["male", "female", "other"]>;
|
|
11542
|
-
profileImageUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]
|
|
11547
|
+
profileImageUrl: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>>;
|
|
11543
11548
|
bio: z.ZodOptional<z.ZodString>;
|
|
11544
11549
|
languages: z.ZodArray<z.ZodString, "many">;
|
|
11545
11550
|
}, "strip", z.ZodTypeAny, {
|
|
11546
11551
|
firstName: string;
|
|
11547
11552
|
lastName: string;
|
|
11548
|
-
dateOfBirth: Date | Timestamp;
|
|
11553
|
+
dateOfBirth: Date | Timestamp | null;
|
|
11549
11554
|
gender: "male" | "female" | "other";
|
|
11550
11555
|
email: string;
|
|
11551
|
-
phoneNumber: string;
|
|
11556
|
+
phoneNumber: string | null;
|
|
11552
11557
|
languages: string[];
|
|
11553
11558
|
title: string;
|
|
11554
|
-
profileImageUrl?: string | File | Blob | undefined;
|
|
11559
|
+
profileImageUrl?: string | File | Blob | null | undefined;
|
|
11555
11560
|
bio?: string | undefined;
|
|
11556
11561
|
}, {
|
|
11557
11562
|
firstName: string;
|
|
11558
11563
|
lastName: string;
|
|
11559
|
-
dateOfBirth: Date | Timestamp;
|
|
11564
|
+
dateOfBirth: Date | Timestamp | null;
|
|
11560
11565
|
gender: "male" | "female" | "other";
|
|
11561
11566
|
email: string;
|
|
11562
|
-
phoneNumber: string;
|
|
11567
|
+
phoneNumber: string | null;
|
|
11563
11568
|
languages: string[];
|
|
11564
11569
|
title: string;
|
|
11565
|
-
profileImageUrl?: string | File | Blob | undefined;
|
|
11570
|
+
profileImageUrl?: string | File | Blob | null | undefined;
|
|
11566
11571
|
bio?: string | undefined;
|
|
11567
11572
|
}>;
|
|
11568
11573
|
/**
|
|
@@ -11574,7 +11579,7 @@ declare const practitionerCertificationSchema: z.ZodObject<{
|
|
|
11574
11579
|
licenseNumber: z.ZodString;
|
|
11575
11580
|
issuingAuthority: z.ZodString;
|
|
11576
11581
|
issueDate: z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]>;
|
|
11577
|
-
expiryDate: z.ZodOptional<z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]
|
|
11582
|
+
expiryDate: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]>>>;
|
|
11578
11583
|
verificationStatus: z.ZodEnum<["pending", "verified", "rejected"]>;
|
|
11579
11584
|
}, "strip", z.ZodTypeAny, {
|
|
11580
11585
|
level: CertificationLevel;
|
|
@@ -11583,7 +11588,7 @@ declare const practitionerCertificationSchema: z.ZodObject<{
|
|
|
11583
11588
|
issuingAuthority: string;
|
|
11584
11589
|
issueDate: Date | Timestamp;
|
|
11585
11590
|
verificationStatus: "pending" | "rejected" | "verified";
|
|
11586
|
-
expiryDate?: Date | Timestamp | undefined;
|
|
11591
|
+
expiryDate?: Date | Timestamp | null | undefined;
|
|
11587
11592
|
}, {
|
|
11588
11593
|
level: CertificationLevel;
|
|
11589
11594
|
specialties: CertificationSpecialty[];
|
|
@@ -11591,7 +11596,7 @@ declare const practitionerCertificationSchema: z.ZodObject<{
|
|
|
11591
11596
|
issuingAuthority: string;
|
|
11592
11597
|
issueDate: Date | Timestamp;
|
|
11593
11598
|
verificationStatus: "pending" | "rejected" | "verified";
|
|
11594
|
-
expiryDate?: Date | Timestamp | undefined;
|
|
11599
|
+
expiryDate?: Date | Timestamp | null | undefined;
|
|
11595
11600
|
}>;
|
|
11596
11601
|
declare const practitionerWorkingHoursSchema: z.ZodObject<{
|
|
11597
11602
|
practitionerId: z.ZodString;
|
|
@@ -11958,33 +11963,33 @@ declare const practitionerSchema: z.ZodObject<{
|
|
|
11958
11963
|
lastName: z.ZodString;
|
|
11959
11964
|
title: z.ZodString;
|
|
11960
11965
|
email: z.ZodString;
|
|
11961
|
-
phoneNumber: z.ZodString
|
|
11962
|
-
dateOfBirth: z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]
|
|
11966
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
11967
|
+
dateOfBirth: z.ZodNullable<z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]>>;
|
|
11963
11968
|
gender: z.ZodEnum<["male", "female", "other"]>;
|
|
11964
|
-
profileImageUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]
|
|
11969
|
+
profileImageUrl: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>>;
|
|
11965
11970
|
bio: z.ZodOptional<z.ZodString>;
|
|
11966
11971
|
languages: z.ZodArray<z.ZodString, "many">;
|
|
11967
11972
|
}, "strip", z.ZodTypeAny, {
|
|
11968
11973
|
firstName: string;
|
|
11969
11974
|
lastName: string;
|
|
11970
|
-
dateOfBirth: Date | Timestamp;
|
|
11975
|
+
dateOfBirth: Date | Timestamp | null;
|
|
11971
11976
|
gender: "male" | "female" | "other";
|
|
11972
11977
|
email: string;
|
|
11973
|
-
phoneNumber: string;
|
|
11978
|
+
phoneNumber: string | null;
|
|
11974
11979
|
languages: string[];
|
|
11975
11980
|
title: string;
|
|
11976
|
-
profileImageUrl?: string | File | Blob | undefined;
|
|
11981
|
+
profileImageUrl?: string | File | Blob | null | undefined;
|
|
11977
11982
|
bio?: string | undefined;
|
|
11978
11983
|
}, {
|
|
11979
11984
|
firstName: string;
|
|
11980
11985
|
lastName: string;
|
|
11981
|
-
dateOfBirth: Date | Timestamp;
|
|
11986
|
+
dateOfBirth: Date | Timestamp | null;
|
|
11982
11987
|
gender: "male" | "female" | "other";
|
|
11983
11988
|
email: string;
|
|
11984
|
-
phoneNumber: string;
|
|
11989
|
+
phoneNumber: string | null;
|
|
11985
11990
|
languages: string[];
|
|
11986
11991
|
title: string;
|
|
11987
|
-
profileImageUrl?: string | File | Blob | undefined;
|
|
11992
|
+
profileImageUrl?: string | File | Blob | null | undefined;
|
|
11988
11993
|
bio?: string | undefined;
|
|
11989
11994
|
}>;
|
|
11990
11995
|
certification: z.ZodObject<{
|
|
@@ -11993,7 +11998,7 @@ declare const practitionerSchema: z.ZodObject<{
|
|
|
11993
11998
|
licenseNumber: z.ZodString;
|
|
11994
11999
|
issuingAuthority: z.ZodString;
|
|
11995
12000
|
issueDate: z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]>;
|
|
11996
|
-
expiryDate: z.ZodOptional<z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]
|
|
12001
|
+
expiryDate: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]>>>;
|
|
11997
12002
|
verificationStatus: z.ZodEnum<["pending", "verified", "rejected"]>;
|
|
11998
12003
|
}, "strip", z.ZodTypeAny, {
|
|
11999
12004
|
level: CertificationLevel;
|
|
@@ -12002,7 +12007,7 @@ declare const practitionerSchema: z.ZodObject<{
|
|
|
12002
12007
|
issuingAuthority: string;
|
|
12003
12008
|
issueDate: Date | Timestamp;
|
|
12004
12009
|
verificationStatus: "pending" | "rejected" | "verified";
|
|
12005
|
-
expiryDate?: Date | Timestamp | undefined;
|
|
12010
|
+
expiryDate?: Date | Timestamp | null | undefined;
|
|
12006
12011
|
}, {
|
|
12007
12012
|
level: CertificationLevel;
|
|
12008
12013
|
specialties: CertificationSpecialty[];
|
|
@@ -12010,7 +12015,7 @@ declare const practitionerSchema: z.ZodObject<{
|
|
|
12010
12015
|
issuingAuthority: string;
|
|
12011
12016
|
issueDate: Date | Timestamp;
|
|
12012
12017
|
verificationStatus: "pending" | "rejected" | "verified";
|
|
12013
|
-
expiryDate?: Date | Timestamp | undefined;
|
|
12018
|
+
expiryDate?: Date | Timestamp | null | undefined;
|
|
12014
12019
|
}>;
|
|
12015
12020
|
clinics: z.ZodArray<z.ZodString, "many">;
|
|
12016
12021
|
clinicWorkingHours: z.ZodArray<z.ZodObject<{
|
|
@@ -12403,13 +12408,13 @@ declare const practitionerSchema: z.ZodObject<{
|
|
|
12403
12408
|
basicInfo: {
|
|
12404
12409
|
firstName: string;
|
|
12405
12410
|
lastName: string;
|
|
12406
|
-
dateOfBirth: Date | Timestamp;
|
|
12411
|
+
dateOfBirth: Date | Timestamp | null;
|
|
12407
12412
|
gender: "male" | "female" | "other";
|
|
12408
12413
|
email: string;
|
|
12409
|
-
phoneNumber: string;
|
|
12414
|
+
phoneNumber: string | null;
|
|
12410
12415
|
languages: string[];
|
|
12411
12416
|
title: string;
|
|
12412
|
-
profileImageUrl?: string | File | Blob | undefined;
|
|
12417
|
+
profileImageUrl?: string | File | Blob | null | undefined;
|
|
12413
12418
|
bio?: string | undefined;
|
|
12414
12419
|
};
|
|
12415
12420
|
certification: {
|
|
@@ -12419,7 +12424,7 @@ declare const practitionerSchema: z.ZodObject<{
|
|
|
12419
12424
|
issuingAuthority: string;
|
|
12420
12425
|
issueDate: Date | Timestamp;
|
|
12421
12426
|
verificationStatus: "pending" | "rejected" | "verified";
|
|
12422
|
-
expiryDate?: Date | Timestamp | undefined;
|
|
12427
|
+
expiryDate?: Date | Timestamp | null | undefined;
|
|
12423
12428
|
};
|
|
12424
12429
|
clinics: string[];
|
|
12425
12430
|
clinicWorkingHours: {
|
|
@@ -12520,13 +12525,13 @@ declare const practitionerSchema: z.ZodObject<{
|
|
|
12520
12525
|
basicInfo: {
|
|
12521
12526
|
firstName: string;
|
|
12522
12527
|
lastName: string;
|
|
12523
|
-
dateOfBirth: Date | Timestamp;
|
|
12528
|
+
dateOfBirth: Date | Timestamp | null;
|
|
12524
12529
|
gender: "male" | "female" | "other";
|
|
12525
12530
|
email: string;
|
|
12526
|
-
phoneNumber: string;
|
|
12531
|
+
phoneNumber: string | null;
|
|
12527
12532
|
languages: string[];
|
|
12528
12533
|
title: string;
|
|
12529
|
-
profileImageUrl?: string | File | Blob | undefined;
|
|
12534
|
+
profileImageUrl?: string | File | Blob | null | undefined;
|
|
12530
12535
|
bio?: string | undefined;
|
|
12531
12536
|
};
|
|
12532
12537
|
certification: {
|
|
@@ -12536,7 +12541,7 @@ declare const practitionerSchema: z.ZodObject<{
|
|
|
12536
12541
|
issuingAuthority: string;
|
|
12537
12542
|
issueDate: Date | Timestamp;
|
|
12538
12543
|
verificationStatus: "pending" | "rejected" | "verified";
|
|
12539
|
-
expiryDate?: Date | Timestamp | undefined;
|
|
12544
|
+
expiryDate?: Date | Timestamp | null | undefined;
|
|
12540
12545
|
};
|
|
12541
12546
|
clinics: string[];
|
|
12542
12547
|
clinicWorkingHours: {
|
|
@@ -12638,33 +12643,33 @@ declare const createPractitionerSchema: z.ZodObject<{
|
|
|
12638
12643
|
lastName: z.ZodString;
|
|
12639
12644
|
title: z.ZodString;
|
|
12640
12645
|
email: z.ZodString;
|
|
12641
|
-
phoneNumber: z.ZodString
|
|
12642
|
-
dateOfBirth: z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]
|
|
12646
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
12647
|
+
dateOfBirth: z.ZodNullable<z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]>>;
|
|
12643
12648
|
gender: z.ZodEnum<["male", "female", "other"]>;
|
|
12644
|
-
profileImageUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]
|
|
12649
|
+
profileImageUrl: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>>;
|
|
12645
12650
|
bio: z.ZodOptional<z.ZodString>;
|
|
12646
12651
|
languages: z.ZodArray<z.ZodString, "many">;
|
|
12647
12652
|
}, "strip", z.ZodTypeAny, {
|
|
12648
12653
|
firstName: string;
|
|
12649
12654
|
lastName: string;
|
|
12650
|
-
dateOfBirth: Date | Timestamp;
|
|
12655
|
+
dateOfBirth: Date | Timestamp | null;
|
|
12651
12656
|
gender: "male" | "female" | "other";
|
|
12652
12657
|
email: string;
|
|
12653
|
-
phoneNumber: string;
|
|
12658
|
+
phoneNumber: string | null;
|
|
12654
12659
|
languages: string[];
|
|
12655
12660
|
title: string;
|
|
12656
|
-
profileImageUrl?: string | File | Blob | undefined;
|
|
12661
|
+
profileImageUrl?: string | File | Blob | null | undefined;
|
|
12657
12662
|
bio?: string | undefined;
|
|
12658
12663
|
}, {
|
|
12659
12664
|
firstName: string;
|
|
12660
12665
|
lastName: string;
|
|
12661
|
-
dateOfBirth: Date | Timestamp;
|
|
12666
|
+
dateOfBirth: Date | Timestamp | null;
|
|
12662
12667
|
gender: "male" | "female" | "other";
|
|
12663
12668
|
email: string;
|
|
12664
|
-
phoneNumber: string;
|
|
12669
|
+
phoneNumber: string | null;
|
|
12665
12670
|
languages: string[];
|
|
12666
12671
|
title: string;
|
|
12667
|
-
profileImageUrl?: string | File | Blob | undefined;
|
|
12672
|
+
profileImageUrl?: string | File | Blob | null | undefined;
|
|
12668
12673
|
bio?: string | undefined;
|
|
12669
12674
|
}>;
|
|
12670
12675
|
certification: z.ZodObject<{
|
|
@@ -12673,7 +12678,7 @@ declare const createPractitionerSchema: z.ZodObject<{
|
|
|
12673
12678
|
licenseNumber: z.ZodString;
|
|
12674
12679
|
issuingAuthority: z.ZodString;
|
|
12675
12680
|
issueDate: z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]>;
|
|
12676
|
-
expiryDate: z.ZodOptional<z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]
|
|
12681
|
+
expiryDate: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]>>>;
|
|
12677
12682
|
verificationStatus: z.ZodEnum<["pending", "verified", "rejected"]>;
|
|
12678
12683
|
}, "strip", z.ZodTypeAny, {
|
|
12679
12684
|
level: CertificationLevel;
|
|
@@ -12682,7 +12687,7 @@ declare const createPractitionerSchema: z.ZodObject<{
|
|
|
12682
12687
|
issuingAuthority: string;
|
|
12683
12688
|
issueDate: Date | Timestamp;
|
|
12684
12689
|
verificationStatus: "pending" | "rejected" | "verified";
|
|
12685
|
-
expiryDate?: Date | Timestamp | undefined;
|
|
12690
|
+
expiryDate?: Date | Timestamp | null | undefined;
|
|
12686
12691
|
}, {
|
|
12687
12692
|
level: CertificationLevel;
|
|
12688
12693
|
specialties: CertificationSpecialty[];
|
|
@@ -12690,7 +12695,7 @@ declare const createPractitionerSchema: z.ZodObject<{
|
|
|
12690
12695
|
issuingAuthority: string;
|
|
12691
12696
|
issueDate: Date | Timestamp;
|
|
12692
12697
|
verificationStatus: "pending" | "rejected" | "verified";
|
|
12693
|
-
expiryDate?: Date | Timestamp | undefined;
|
|
12698
|
+
expiryDate?: Date | Timestamp | null | undefined;
|
|
12694
12699
|
}>;
|
|
12695
12700
|
clinics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12696
12701
|
clinicWorkingHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -13048,13 +13053,13 @@ declare const createPractitionerSchema: z.ZodObject<{
|
|
|
13048
13053
|
basicInfo: {
|
|
13049
13054
|
firstName: string;
|
|
13050
13055
|
lastName: string;
|
|
13051
|
-
dateOfBirth: Date | Timestamp;
|
|
13056
|
+
dateOfBirth: Date | Timestamp | null;
|
|
13052
13057
|
gender: "male" | "female" | "other";
|
|
13053
13058
|
email: string;
|
|
13054
|
-
phoneNumber: string;
|
|
13059
|
+
phoneNumber: string | null;
|
|
13055
13060
|
languages: string[];
|
|
13056
13061
|
title: string;
|
|
13057
|
-
profileImageUrl?: string | File | Blob | undefined;
|
|
13062
|
+
profileImageUrl?: string | File | Blob | null | undefined;
|
|
13058
13063
|
bio?: string | undefined;
|
|
13059
13064
|
};
|
|
13060
13065
|
certification: {
|
|
@@ -13064,7 +13069,7 @@ declare const createPractitionerSchema: z.ZodObject<{
|
|
|
13064
13069
|
issuingAuthority: string;
|
|
13065
13070
|
issueDate: Date | Timestamp;
|
|
13066
13071
|
verificationStatus: "pending" | "rejected" | "verified";
|
|
13067
|
-
expiryDate?: Date | Timestamp | undefined;
|
|
13072
|
+
expiryDate?: Date | Timestamp | null | undefined;
|
|
13068
13073
|
};
|
|
13069
13074
|
isVerified: boolean;
|
|
13070
13075
|
clinics?: string[] | undefined;
|
|
@@ -13151,13 +13156,13 @@ declare const createPractitionerSchema: z.ZodObject<{
|
|
|
13151
13156
|
basicInfo: {
|
|
13152
13157
|
firstName: string;
|
|
13153
13158
|
lastName: string;
|
|
13154
|
-
dateOfBirth: Date | Timestamp;
|
|
13159
|
+
dateOfBirth: Date | Timestamp | null;
|
|
13155
13160
|
gender: "male" | "female" | "other";
|
|
13156
13161
|
email: string;
|
|
13157
|
-
phoneNumber: string;
|
|
13162
|
+
phoneNumber: string | null;
|
|
13158
13163
|
languages: string[];
|
|
13159
13164
|
title: string;
|
|
13160
|
-
profileImageUrl?: string | File | Blob | undefined;
|
|
13165
|
+
profileImageUrl?: string | File | Blob | null | undefined;
|
|
13161
13166
|
bio?: string | undefined;
|
|
13162
13167
|
};
|
|
13163
13168
|
certification: {
|
|
@@ -13167,7 +13172,7 @@ declare const createPractitionerSchema: z.ZodObject<{
|
|
|
13167
13172
|
issuingAuthority: string;
|
|
13168
13173
|
issueDate: Date | Timestamp;
|
|
13169
13174
|
verificationStatus: "pending" | "rejected" | "verified";
|
|
13170
|
-
expiryDate?: Date | Timestamp | undefined;
|
|
13175
|
+
expiryDate?: Date | Timestamp | null | undefined;
|
|
13171
13176
|
};
|
|
13172
13177
|
isVerified: boolean;
|
|
13173
13178
|
clinics?: string[] | undefined;
|
|
@@ -13258,33 +13263,33 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
|
|
|
13258
13263
|
lastName: z.ZodString;
|
|
13259
13264
|
title: z.ZodString;
|
|
13260
13265
|
email: z.ZodString;
|
|
13261
|
-
phoneNumber: z.ZodString
|
|
13262
|
-
dateOfBirth: z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]
|
|
13266
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
13267
|
+
dateOfBirth: z.ZodNullable<z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]>>;
|
|
13263
13268
|
gender: z.ZodEnum<["male", "female", "other"]>;
|
|
13264
|
-
profileImageUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]
|
|
13269
|
+
profileImageUrl: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<File, z.ZodTypeDef, File>, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>>;
|
|
13265
13270
|
bio: z.ZodOptional<z.ZodString>;
|
|
13266
13271
|
languages: z.ZodArray<z.ZodString, "many">;
|
|
13267
13272
|
}, "strip", z.ZodTypeAny, {
|
|
13268
13273
|
firstName: string;
|
|
13269
13274
|
lastName: string;
|
|
13270
|
-
dateOfBirth: Date | Timestamp;
|
|
13275
|
+
dateOfBirth: Date | Timestamp | null;
|
|
13271
13276
|
gender: "male" | "female" | "other";
|
|
13272
13277
|
email: string;
|
|
13273
|
-
phoneNumber: string;
|
|
13278
|
+
phoneNumber: string | null;
|
|
13274
13279
|
languages: string[];
|
|
13275
13280
|
title: string;
|
|
13276
|
-
profileImageUrl?: string | File | Blob | undefined;
|
|
13281
|
+
profileImageUrl?: string | File | Blob | null | undefined;
|
|
13277
13282
|
bio?: string | undefined;
|
|
13278
13283
|
}, {
|
|
13279
13284
|
firstName: string;
|
|
13280
13285
|
lastName: string;
|
|
13281
|
-
dateOfBirth: Date | Timestamp;
|
|
13286
|
+
dateOfBirth: Date | Timestamp | null;
|
|
13282
13287
|
gender: "male" | "female" | "other";
|
|
13283
13288
|
email: string;
|
|
13284
|
-
phoneNumber: string;
|
|
13289
|
+
phoneNumber: string | null;
|
|
13285
13290
|
languages: string[];
|
|
13286
13291
|
title: string;
|
|
13287
|
-
profileImageUrl?: string | File | Blob | undefined;
|
|
13292
|
+
profileImageUrl?: string | File | Blob | null | undefined;
|
|
13288
13293
|
bio?: string | undefined;
|
|
13289
13294
|
}>;
|
|
13290
13295
|
certification: z.ZodObject<{
|
|
@@ -13293,7 +13298,7 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
|
|
|
13293
13298
|
licenseNumber: z.ZodString;
|
|
13294
13299
|
issuingAuthority: z.ZodString;
|
|
13295
13300
|
issueDate: z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]>;
|
|
13296
|
-
expiryDate: z.ZodOptional<z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]
|
|
13301
|
+
expiryDate: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]>>>;
|
|
13297
13302
|
verificationStatus: z.ZodEnum<["pending", "verified", "rejected"]>;
|
|
13298
13303
|
}, "strip", z.ZodTypeAny, {
|
|
13299
13304
|
level: CertificationLevel;
|
|
@@ -13302,7 +13307,7 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
|
|
|
13302
13307
|
issuingAuthority: string;
|
|
13303
13308
|
issueDate: Date | Timestamp;
|
|
13304
13309
|
verificationStatus: "pending" | "rejected" | "verified";
|
|
13305
|
-
expiryDate?: Date | Timestamp | undefined;
|
|
13310
|
+
expiryDate?: Date | Timestamp | null | undefined;
|
|
13306
13311
|
}, {
|
|
13307
13312
|
level: CertificationLevel;
|
|
13308
13313
|
specialties: CertificationSpecialty[];
|
|
@@ -13310,7 +13315,7 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
|
|
|
13310
13315
|
issuingAuthority: string;
|
|
13311
13316
|
issueDate: Date | Timestamp;
|
|
13312
13317
|
verificationStatus: "pending" | "rejected" | "verified";
|
|
13313
|
-
expiryDate?: Date | Timestamp | undefined;
|
|
13318
|
+
expiryDate?: Date | Timestamp | null | undefined;
|
|
13314
13319
|
}>;
|
|
13315
13320
|
clinics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
13316
13321
|
clinicWorkingHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -13666,13 +13671,13 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
|
|
|
13666
13671
|
basicInfo: {
|
|
13667
13672
|
firstName: string;
|
|
13668
13673
|
lastName: string;
|
|
13669
|
-
dateOfBirth: Date | Timestamp;
|
|
13674
|
+
dateOfBirth: Date | Timestamp | null;
|
|
13670
13675
|
gender: "male" | "female" | "other";
|
|
13671
13676
|
email: string;
|
|
13672
|
-
phoneNumber: string;
|
|
13677
|
+
phoneNumber: string | null;
|
|
13673
13678
|
languages: string[];
|
|
13674
13679
|
title: string;
|
|
13675
|
-
profileImageUrl?: string | File | Blob | undefined;
|
|
13680
|
+
profileImageUrl?: string | File | Blob | null | undefined;
|
|
13676
13681
|
bio?: string | undefined;
|
|
13677
13682
|
};
|
|
13678
13683
|
certification: {
|
|
@@ -13682,7 +13687,7 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
|
|
|
13682
13687
|
issuingAuthority: string;
|
|
13683
13688
|
issueDate: Date | Timestamp;
|
|
13684
13689
|
verificationStatus: "pending" | "rejected" | "verified";
|
|
13685
|
-
expiryDate?: Date | Timestamp | undefined;
|
|
13690
|
+
expiryDate?: Date | Timestamp | null | undefined;
|
|
13686
13691
|
};
|
|
13687
13692
|
isVerified: boolean;
|
|
13688
13693
|
clinics?: string[] | undefined;
|
|
@@ -13766,13 +13771,13 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
|
|
|
13766
13771
|
basicInfo: {
|
|
13767
13772
|
firstName: string;
|
|
13768
13773
|
lastName: string;
|
|
13769
|
-
dateOfBirth: Date | Timestamp;
|
|
13774
|
+
dateOfBirth: Date | Timestamp | null;
|
|
13770
13775
|
gender: "male" | "female" | "other";
|
|
13771
13776
|
email: string;
|
|
13772
|
-
phoneNumber: string;
|
|
13777
|
+
phoneNumber: string | null;
|
|
13773
13778
|
languages: string[];
|
|
13774
13779
|
title: string;
|
|
13775
|
-
profileImageUrl?: string | File | Blob | undefined;
|
|
13780
|
+
profileImageUrl?: string | File | Blob | null | undefined;
|
|
13776
13781
|
bio?: string | undefined;
|
|
13777
13782
|
};
|
|
13778
13783
|
certification: {
|
|
@@ -13782,7 +13787,7 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
|
|
|
13782
13787
|
issuingAuthority: string;
|
|
13783
13788
|
issueDate: Date | Timestamp;
|
|
13784
13789
|
verificationStatus: "pending" | "rejected" | "verified";
|
|
13785
|
-
expiryDate?: Date | Timestamp | undefined;
|
|
13790
|
+
expiryDate?: Date | Timestamp | null | undefined;
|
|
13786
13791
|
};
|
|
13787
13792
|
isActive?: boolean | undefined;
|
|
13788
13793
|
clinics?: string[] | undefined;
|
|
@@ -18515,7 +18520,7 @@ declare const createCalendarEventSchema: z.ZodObject<{
|
|
|
18515
18520
|
licenseNumber: z.ZodString;
|
|
18516
18521
|
issuingAuthority: z.ZodString;
|
|
18517
18522
|
issueDate: z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]>;
|
|
18518
|
-
expiryDate: z.ZodOptional<z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]
|
|
18523
|
+
expiryDate: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]>>>;
|
|
18519
18524
|
verificationStatus: z.ZodEnum<["pending", "verified", "rejected"]>;
|
|
18520
18525
|
}, "strip", z.ZodTypeAny, {
|
|
18521
18526
|
level: CertificationLevel;
|
|
@@ -18524,7 +18529,7 @@ declare const createCalendarEventSchema: z.ZodObject<{
|
|
|
18524
18529
|
issuingAuthority: string;
|
|
18525
18530
|
issueDate: Date | Timestamp;
|
|
18526
18531
|
verificationStatus: "pending" | "rejected" | "verified";
|
|
18527
|
-
expiryDate?: Date | Timestamp | undefined;
|
|
18532
|
+
expiryDate?: Date | Timestamp | null | undefined;
|
|
18528
18533
|
}, {
|
|
18529
18534
|
level: CertificationLevel;
|
|
18530
18535
|
specialties: CertificationSpecialty[];
|
|
@@ -18532,7 +18537,7 @@ declare const createCalendarEventSchema: z.ZodObject<{
|
|
|
18532
18537
|
issuingAuthority: string;
|
|
18533
18538
|
issueDate: Date | Timestamp;
|
|
18534
18539
|
verificationStatus: "pending" | "rejected" | "verified";
|
|
18535
|
-
expiryDate?: Date | Timestamp | undefined;
|
|
18540
|
+
expiryDate?: Date | Timestamp | null | undefined;
|
|
18536
18541
|
}>;
|
|
18537
18542
|
}, "strip", z.ZodTypeAny, {
|
|
18538
18543
|
id: string;
|
|
@@ -18544,7 +18549,7 @@ declare const createCalendarEventSchema: z.ZodObject<{
|
|
|
18544
18549
|
issuingAuthority: string;
|
|
18545
18550
|
issueDate: Date | Timestamp;
|
|
18546
18551
|
verificationStatus: "pending" | "rejected" | "verified";
|
|
18547
|
-
expiryDate?: Date | Timestamp | undefined;
|
|
18552
|
+
expiryDate?: Date | Timestamp | null | undefined;
|
|
18548
18553
|
};
|
|
18549
18554
|
email: string;
|
|
18550
18555
|
practitionerPhoto: string | null;
|
|
@@ -18559,7 +18564,7 @@ declare const createCalendarEventSchema: z.ZodObject<{
|
|
|
18559
18564
|
issuingAuthority: string;
|
|
18560
18565
|
issueDate: Date | Timestamp;
|
|
18561
18566
|
verificationStatus: "pending" | "rejected" | "verified";
|
|
18562
|
-
expiryDate?: Date | Timestamp | undefined;
|
|
18567
|
+
expiryDate?: Date | Timestamp | null | undefined;
|
|
18563
18568
|
};
|
|
18564
18569
|
email: string;
|
|
18565
18570
|
practitionerPhoto: string | null;
|
|
@@ -18694,7 +18699,7 @@ declare const createCalendarEventSchema: z.ZodObject<{
|
|
|
18694
18699
|
issuingAuthority: string;
|
|
18695
18700
|
issueDate: Date | Timestamp;
|
|
18696
18701
|
verificationStatus: "pending" | "rejected" | "verified";
|
|
18697
|
-
expiryDate?: Date | Timestamp | undefined;
|
|
18702
|
+
expiryDate?: Date | Timestamp | null | undefined;
|
|
18698
18703
|
};
|
|
18699
18704
|
email: string;
|
|
18700
18705
|
practitionerPhoto: string | null;
|
|
@@ -18751,7 +18756,7 @@ declare const createCalendarEventSchema: z.ZodObject<{
|
|
|
18751
18756
|
issuingAuthority: string;
|
|
18752
18757
|
issueDate: Date | Timestamp;
|
|
18753
18758
|
verificationStatus: "pending" | "rejected" | "verified";
|
|
18754
|
-
expiryDate?: Date | Timestamp | undefined;
|
|
18759
|
+
expiryDate?: Date | Timestamp | null | undefined;
|
|
18755
18760
|
};
|
|
18756
18761
|
email: string;
|
|
18757
18762
|
practitionerPhoto: string | null;
|
|
@@ -18873,7 +18878,7 @@ declare const calendarEventSchema: z.ZodObject<{
|
|
|
18873
18878
|
licenseNumber: z.ZodString;
|
|
18874
18879
|
issuingAuthority: z.ZodString;
|
|
18875
18880
|
issueDate: z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]>;
|
|
18876
|
-
expiryDate: z.ZodOptional<z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]
|
|
18881
|
+
expiryDate: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]>>>;
|
|
18877
18882
|
verificationStatus: z.ZodEnum<["pending", "verified", "rejected"]>;
|
|
18878
18883
|
}, "strip", z.ZodTypeAny, {
|
|
18879
18884
|
level: CertificationLevel;
|
|
@@ -18882,7 +18887,7 @@ declare const calendarEventSchema: z.ZodObject<{
|
|
|
18882
18887
|
issuingAuthority: string;
|
|
18883
18888
|
issueDate: Date | Timestamp;
|
|
18884
18889
|
verificationStatus: "pending" | "rejected" | "verified";
|
|
18885
|
-
expiryDate?: Date | Timestamp | undefined;
|
|
18890
|
+
expiryDate?: Date | Timestamp | null | undefined;
|
|
18886
18891
|
}, {
|
|
18887
18892
|
level: CertificationLevel;
|
|
18888
18893
|
specialties: CertificationSpecialty[];
|
|
@@ -18890,7 +18895,7 @@ declare const calendarEventSchema: z.ZodObject<{
|
|
|
18890
18895
|
issuingAuthority: string;
|
|
18891
18896
|
issueDate: Date | Timestamp;
|
|
18892
18897
|
verificationStatus: "pending" | "rejected" | "verified";
|
|
18893
|
-
expiryDate?: Date | Timestamp | undefined;
|
|
18898
|
+
expiryDate?: Date | Timestamp | null | undefined;
|
|
18894
18899
|
}>;
|
|
18895
18900
|
}, "strip", z.ZodTypeAny, {
|
|
18896
18901
|
id: string;
|
|
@@ -18902,7 +18907,7 @@ declare const calendarEventSchema: z.ZodObject<{
|
|
|
18902
18907
|
issuingAuthority: string;
|
|
18903
18908
|
issueDate: Date | Timestamp;
|
|
18904
18909
|
verificationStatus: "pending" | "rejected" | "verified";
|
|
18905
|
-
expiryDate?: Date | Timestamp | undefined;
|
|
18910
|
+
expiryDate?: Date | Timestamp | null | undefined;
|
|
18906
18911
|
};
|
|
18907
18912
|
email: string;
|
|
18908
18913
|
practitionerPhoto: string | null;
|
|
@@ -18917,7 +18922,7 @@ declare const calendarEventSchema: z.ZodObject<{
|
|
|
18917
18922
|
issuingAuthority: string;
|
|
18918
18923
|
issueDate: Date | Timestamp;
|
|
18919
18924
|
verificationStatus: "pending" | "rejected" | "verified";
|
|
18920
|
-
expiryDate?: Date | Timestamp | undefined;
|
|
18925
|
+
expiryDate?: Date | Timestamp | null | undefined;
|
|
18921
18926
|
};
|
|
18922
18927
|
email: string;
|
|
18923
18928
|
practitionerPhoto: string | null;
|
|
@@ -19090,7 +19095,7 @@ declare const calendarEventSchema: z.ZodObject<{
|
|
|
19090
19095
|
issuingAuthority: string;
|
|
19091
19096
|
issueDate: Date | Timestamp;
|
|
19092
19097
|
verificationStatus: "pending" | "rejected" | "verified";
|
|
19093
|
-
expiryDate?: Date | Timestamp | undefined;
|
|
19098
|
+
expiryDate?: Date | Timestamp | null | undefined;
|
|
19094
19099
|
};
|
|
19095
19100
|
email: string;
|
|
19096
19101
|
practitionerPhoto: string | null;
|
|
@@ -19161,7 +19166,7 @@ declare const calendarEventSchema: z.ZodObject<{
|
|
|
19161
19166
|
issuingAuthority: string;
|
|
19162
19167
|
issueDate: Date | Timestamp;
|
|
19163
19168
|
verificationStatus: "pending" | "rejected" | "verified";
|
|
19164
|
-
expiryDate?: Date | Timestamp | undefined;
|
|
19169
|
+
expiryDate?: Date | Timestamp | null | undefined;
|
|
19165
19170
|
};
|
|
19166
19171
|
email: string;
|
|
19167
19172
|
practitionerPhoto: string | null;
|
|
@@ -19321,7 +19326,7 @@ declare const practitionerProfileInfoSchema: z.ZodObject<{
|
|
|
19321
19326
|
licenseNumber: z.ZodString;
|
|
19322
19327
|
issuingAuthority: z.ZodString;
|
|
19323
19328
|
issueDate: z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]>;
|
|
19324
|
-
expiryDate: z.ZodOptional<z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]
|
|
19329
|
+
expiryDate: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, z.ZodDate]>>>;
|
|
19325
19330
|
verificationStatus: z.ZodEnum<["pending", "verified", "rejected"]>;
|
|
19326
19331
|
}, "strip", z.ZodTypeAny, {
|
|
19327
19332
|
level: CertificationLevel;
|
|
@@ -19330,7 +19335,7 @@ declare const practitionerProfileInfoSchema: z.ZodObject<{
|
|
|
19330
19335
|
issuingAuthority: string;
|
|
19331
19336
|
issueDate: Date | Timestamp;
|
|
19332
19337
|
verificationStatus: "pending" | "rejected" | "verified";
|
|
19333
|
-
expiryDate?: Date | Timestamp | undefined;
|
|
19338
|
+
expiryDate?: Date | Timestamp | null | undefined;
|
|
19334
19339
|
}, {
|
|
19335
19340
|
level: CertificationLevel;
|
|
19336
19341
|
specialties: CertificationSpecialty[];
|
|
@@ -19338,7 +19343,7 @@ declare const practitionerProfileInfoSchema: z.ZodObject<{
|
|
|
19338
19343
|
issuingAuthority: string;
|
|
19339
19344
|
issueDate: Date | Timestamp;
|
|
19340
19345
|
verificationStatus: "pending" | "rejected" | "verified";
|
|
19341
|
-
expiryDate?: Date | Timestamp | undefined;
|
|
19346
|
+
expiryDate?: Date | Timestamp | null | undefined;
|
|
19342
19347
|
}>;
|
|
19343
19348
|
}, "strip", z.ZodTypeAny, {
|
|
19344
19349
|
id: string;
|
|
@@ -19350,7 +19355,7 @@ declare const practitionerProfileInfoSchema: z.ZodObject<{
|
|
|
19350
19355
|
issuingAuthority: string;
|
|
19351
19356
|
issueDate: Date | Timestamp;
|
|
19352
19357
|
verificationStatus: "pending" | "rejected" | "verified";
|
|
19353
|
-
expiryDate?: Date | Timestamp | undefined;
|
|
19358
|
+
expiryDate?: Date | Timestamp | null | undefined;
|
|
19354
19359
|
};
|
|
19355
19360
|
email: string;
|
|
19356
19361
|
practitionerPhoto: string | null;
|
|
@@ -19365,7 +19370,7 @@ declare const practitionerProfileInfoSchema: z.ZodObject<{
|
|
|
19365
19370
|
issuingAuthority: string;
|
|
19366
19371
|
issueDate: Date | Timestamp;
|
|
19367
19372
|
verificationStatus: "pending" | "rejected" | "verified";
|
|
19368
|
-
expiryDate?: Date | Timestamp | undefined;
|
|
19373
|
+
expiryDate?: Date | Timestamp | null | undefined;
|
|
19369
19374
|
};
|
|
19370
19375
|
email: string;
|
|
19371
19376
|
practitionerPhoto: string | null;
|