@natch-the-storage/heathershaw-platform-types 1.15.11 → 1.15.12

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.
@@ -304,6 +304,10 @@ export type PatientRecordCreate = Omit<PatientRecord, 'id' | 'active'> & {
304
304
  export type PatientRecordUpdate = Partial<PatientRecord> & {
305
305
  id: number;
306
306
  };
307
+ export type PatientRecordConsent = Pick<PatientRecord, 'id' | 'firstName' | 'lastName' | 'relationship'> & {
308
+ phoneNumber?: string;
309
+ email?: string;
310
+ };
307
311
  export interface PriceMatch {
308
312
  id: number;
309
313
  partnerPharmacyProfileId: number;
@@ -915,6 +919,7 @@ export declare const ApiRoutes: {
915
919
  create: string;
916
920
  update: string;
917
921
  delete: (id: number) => string;
922
+ consent: string;
918
923
  };
919
924
  priceMatches: {
920
925
  list: (filters?: {
@@ -304,6 +304,7 @@ export const ApiRoutes = {
304
304
  create: '/api/patient-records',
305
305
  update: '/api/patient-records',
306
306
  delete: (id) => `/api/patient-records/${id}`,
307
+ consent: '/api/notifications/patient-records',
307
308
  },
308
309
  priceMatches: {
309
310
  list: (filters) => `/api/price-matches${handleParams(filters)}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.15.11",
3
+ "version": "1.15.12",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",