@natch-the-storage/heathershaw-platform-types 1.15.11 → 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 +8 -0
- package/build/validators.js +3 -0
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -304,6 +304,11 @@ 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
|
+
newId: number;
|
|
309
|
+
phoneNumber?: string;
|
|
310
|
+
email?: string;
|
|
311
|
+
};
|
|
307
312
|
export interface PriceMatch {
|
|
308
313
|
id: number;
|
|
309
314
|
partnerPharmacyProfileId: number;
|
|
@@ -915,6 +920,9 @@ export declare const ApiRoutes: {
|
|
|
915
920
|
create: string;
|
|
916
921
|
update: string;
|
|
917
922
|
delete: (id: number) => string;
|
|
923
|
+
consent: string;
|
|
924
|
+
activate: string;
|
|
925
|
+
isActive: (id: number) => string;
|
|
918
926
|
};
|
|
919
927
|
priceMatches: {
|
|
920
928
|
list: (filters?: {
|
package/build/validators.js
CHANGED
|
@@ -304,6 +304,9 @@ 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',
|
|
308
|
+
activate: '/api/notifications/patient-records/activate',
|
|
309
|
+
isActive: (id) => `/api/patient-records/${id}/active`,
|
|
307
310
|
},
|
|
308
311
|
priceMatches: {
|
|
309
312
|
list: (filters) => `/api/price-matches${handleParams(filters)}`,
|