@natch-the-storage/heathershaw-platform-types 1.17.0 → 1.17.1
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/build/validators.d.ts +4 -3
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -317,15 +317,16 @@ export interface PatientRecord {
|
|
|
317
317
|
animalSpecies?: string;
|
|
318
318
|
relationship?: string | null;
|
|
319
319
|
active: boolean;
|
|
320
|
+
consentToken?: string | null;
|
|
320
321
|
}
|
|
321
|
-
export type PatientRecordCreate = Omit<PatientRecord, 'id' | 'active'> & {
|
|
322
|
+
export type PatientRecordCreate = Omit<PatientRecord, 'id' | 'active' | 'consentToken'> & {
|
|
322
323
|
active?: boolean;
|
|
323
324
|
};
|
|
324
325
|
export type PatientRecordUpdate = Partial<PatientRecord> & {
|
|
325
326
|
id: number;
|
|
326
327
|
};
|
|
327
|
-
export type PatientRecordConsent = Pick<PatientRecord, 'id'
|
|
328
|
-
|
|
328
|
+
export type PatientRecordConsent = Pick<PatientRecord, 'id'> & {
|
|
329
|
+
newPatientId: number;
|
|
329
330
|
phoneNumber?: string;
|
|
330
331
|
email?: string;
|
|
331
332
|
};
|