@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.
- package/build/validators.d.ts +5 -0
- package/build/validators.js +1 -0
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -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?: {
|
package/build/validators.js
CHANGED
|
@@ -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)}`,
|