@natch-the-storage/heathershaw-platform-types 1.15.12 → 1.15.13
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 +3 -0
- package/build/validators.js +2 -0
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -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,8 @@ 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;
|
|
923
926
|
};
|
|
924
927
|
priceMatches: {
|
|
925
928
|
list: (filters?: {
|
package/build/validators.js
CHANGED
|
@@ -305,6 +305,8 @@ 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/notifications/patient-records/activate',
|
|
309
|
+
isActive: (id) => `/api/patient-records/${id}/active`,
|
|
308
310
|
},
|
|
309
311
|
priceMatches: {
|
|
310
312
|
list: (filters) => `/api/price-matches${handleParams(filters)}`,
|