@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.
@@ -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' | 'firstName' | 'lastName' | 'relationship'> & {
328
- newId: number;
328
+ export type PatientRecordConsent = Pick<PatientRecord, 'id'> & {
329
+ newPatientId: number;
329
330
  phoneNumber?: string;
330
331
  email?: string;
331
332
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.17.0",
3
+ "version": "1.17.1",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",