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

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.
@@ -305,6 +305,7 @@ export type PatientRecordUpdate = Partial<PatientRecord> & {
305
305
  id: number;
306
306
  };
307
307
  export type PatientRecordConsent = Pick<PatientRecord, 'id' | 'firstName' | 'lastName' | 'relationship'> & {
308
+ newId: number;
308
309
  phoneNumber?: string;
309
310
  email?: string;
310
311
  };
@@ -920,6 +921,9 @@ export declare const ApiRoutes: {
920
921
  update: string;
921
922
  delete: (id: number) => string;
922
923
  consent: string;
924
+ activate: string;
925
+ isActive: (id: number) => string;
926
+ declineConsent: string;
923
927
  };
924
928
  priceMatches: {
925
929
  list: (filters?: {
@@ -305,6 +305,9 @@ export const ApiRoutes = {
305
305
  update: '/api/patient-records',
306
306
  delete: (id) => `/api/patient-records/${id}`,
307
307
  consent: '/api/notifications/patient-records',
308
+ activate: '/api/patient-records/activate',
309
+ isActive: (id) => `/api/patient-records/${id}/active`,
310
+ declineConsent: '/api/patient-records/decline-consent',
308
311
  },
309
312
  priceMatches: {
310
313
  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.12",
3
+ "version": "1.15.14",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",