@natch-the-storage/heathershaw-platform-types 1.23.15 → 1.23.17
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 +6 -4
- package/build/validators.js +1 -0
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -241,15 +241,16 @@ export interface AdminDashboardData {
|
|
|
241
241
|
unprocessedScripts: DashboardData;
|
|
242
242
|
unprocessedPaperScripts: DashboardData;
|
|
243
243
|
}
|
|
244
|
+
/** Used for the importDirectUsersCsv api route */
|
|
244
245
|
export type AdminImportDirectUser = Partial<Omit<HealthInfo, 'updated'>> & {
|
|
245
246
|
compoundDirectId: number;
|
|
246
247
|
firstName: string;
|
|
247
248
|
lastName: string;
|
|
248
249
|
dateOfBirth: string;
|
|
249
|
-
street
|
|
250
|
-
suburb
|
|
251
|
-
state
|
|
252
|
-
postcode
|
|
250
|
+
street: string;
|
|
251
|
+
suburb: string;
|
|
252
|
+
state: string;
|
|
253
|
+
postcode: string;
|
|
253
254
|
phone?: string;
|
|
254
255
|
email?: string;
|
|
255
256
|
mobilePhone?: string;
|
|
@@ -1282,6 +1283,7 @@ export declare const ApiRoutes: {
|
|
|
1282
1283
|
admin: {
|
|
1283
1284
|
getDashboardData: string;
|
|
1284
1285
|
importDirectUsersCsv: string;
|
|
1286
|
+
importPartnerPharmacyPatientsCsv: string;
|
|
1285
1287
|
};
|
|
1286
1288
|
cart: {
|
|
1287
1289
|
getByDirectUser: (id: number) => string;
|
package/build/validators.js
CHANGED
|
@@ -456,6 +456,7 @@ export const ApiRoutes = {
|
|
|
456
456
|
admin: {
|
|
457
457
|
getDashboardData: '/api/admin/dashboard-data',
|
|
458
458
|
importDirectUsersCsv: '/api/admin/import-direct-users',
|
|
459
|
+
importPartnerPharmacyPatientsCsv: '/api/admin/import-partner-patients',
|
|
459
460
|
},
|
|
460
461
|
cart: {
|
|
461
462
|
getByDirectUser: (id) => `/api/carts/direct-users/${id}`,
|