@natch-the-storage/heathershaw-platform-types 1.10.18 → 1.10.20
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 +7 -7
- package/build/validators.js +3 -2
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -237,14 +237,14 @@ export type PartnerPharmacyProfileSummary = Pick<PartnerPharmacyProfile, 'id' |
|
|
|
237
237
|
};
|
|
238
238
|
export interface PatientRecord {
|
|
239
239
|
id: number;
|
|
240
|
-
partnerPharmacyProfileId?: number
|
|
241
|
-
directUserProfileId?: number
|
|
242
|
-
compoundDirectId?: number
|
|
243
|
-
userId?: string
|
|
240
|
+
partnerPharmacyProfileId?: number;
|
|
241
|
+
directUserProfileId?: number;
|
|
242
|
+
compoundDirectId?: number;
|
|
243
|
+
userId?: string;
|
|
244
244
|
firstName: string;
|
|
245
245
|
lastName: string;
|
|
246
246
|
dateOfBirth: string;
|
|
247
|
-
medicareNumber?: string
|
|
247
|
+
medicareNumber?: string;
|
|
248
248
|
email: string;
|
|
249
249
|
phone: string;
|
|
250
250
|
addresses?: Address[];
|
|
@@ -256,7 +256,6 @@ export interface PatientRecord {
|
|
|
256
256
|
relationship?: string | null;
|
|
257
257
|
}
|
|
258
258
|
export type PatientRecordCreate = Partial<PatientRecord> & {
|
|
259
|
-
id: number;
|
|
260
259
|
firstName: string;
|
|
261
260
|
lastName: string;
|
|
262
261
|
dateOfBirth: string;
|
|
@@ -657,6 +656,7 @@ export declare const ApiRoutes: {
|
|
|
657
656
|
createCustomer: string;
|
|
658
657
|
getDraftScripts: string;
|
|
659
658
|
getDraftScriptById: (id: number) => string;
|
|
659
|
+
getHouseholdDraftScripts: string;
|
|
660
660
|
listFormulations: string;
|
|
661
661
|
getFormulationById: (id: number) => string;
|
|
662
662
|
};
|
|
@@ -702,7 +702,7 @@ export declare const ApiRoutes: {
|
|
|
702
702
|
getDetailed: (id: number) => string;
|
|
703
703
|
create: string;
|
|
704
704
|
update: string;
|
|
705
|
-
updateDetailed:
|
|
705
|
+
updateDetailed: string;
|
|
706
706
|
delete: (id: number) => string;
|
|
707
707
|
getReportData: (id: number) => string;
|
|
708
708
|
};
|
package/build/validators.js
CHANGED
|
@@ -121,6 +121,7 @@ export const ApiRoutes = {
|
|
|
121
121
|
createCustomer: '/api/compound-direct/customer',
|
|
122
122
|
getDraftScripts: '/api/compound-direct/draft-scripts',
|
|
123
123
|
getDraftScriptById: (id) => `/api/compound-direct/draft-scripts/${id}`,
|
|
124
|
+
getHouseholdDraftScripts: '/api/compound-direct/scripts/households',
|
|
124
125
|
listFormulations: '/api/compound-direct/formulations',
|
|
125
126
|
getFormulationById: (id) => `/api/compound-direct/formulations/${id}`,
|
|
126
127
|
},
|
|
@@ -171,10 +172,10 @@ export const ApiRoutes = {
|
|
|
171
172
|
getSummaries: '/api/profiles/partner-pharmacies/summaries',
|
|
172
173
|
get: (id) => `/api/profiles/partner-pharmacies/${id}`,
|
|
173
174
|
getByUser: (userId) => `/api/profiles/partner-pharmacies/users/${userId}`,
|
|
174
|
-
getDetailed: (id) => `/api/profiles/partner-pharmacies/${id}
|
|
175
|
+
getDetailed: (id) => `/api/profiles/partner-pharmacies/detailed-profiles/${id}`,
|
|
175
176
|
create: '/api/profiles/partner-pharmacies',
|
|
176
177
|
update: '/api/profiles/partner-pharmacies',
|
|
177
|
-
updateDetailed:
|
|
178
|
+
updateDetailed: '/api/profiles/partner-pharmacies/detailed-profiles',
|
|
178
179
|
delete: (id) => `/api/profiles/partner-pharmacies/${id}`,
|
|
179
180
|
getReportData: (id) => `/api/profiles/partner-pharmacies/${id}/reports`,
|
|
180
181
|
},
|