@natch-the-storage/heathershaw-platform-types 1.23.15 → 1.23.16

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.
@@ -241,21 +241,26 @@ 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?: string;
250
- suburb?: string;
251
- state?: string;
252
- postcode?: string;
250
+ street: string;
251
+ suburb: string;
252
+ state: string;
253
+ postcode: string;
253
254
  phone?: string;
254
255
  email?: string;
255
256
  mobilePhone?: string;
256
257
  isAnimal?: boolean;
257
258
  animalSpecies?: AnimalSpecies;
258
259
  };
260
+ /** Used for the importPartnerPharmacyPatientsCsv api route */
261
+ export type AdminImportPartnerPatient = AdminImportDirectUser & {
262
+ partnerPharmacyProfileId: number;
263
+ };
259
264
  export interface User {
260
265
  id: string;
261
266
  name: string;
@@ -1282,6 +1287,7 @@ export declare const ApiRoutes: {
1282
1287
  admin: {
1283
1288
  getDashboardData: string;
1284
1289
  importDirectUsersCsv: string;
1290
+ importPartnerPharmacyPatientsCsv: string;
1285
1291
  };
1286
1292
  cart: {
1287
1293
  getByDirectUser: (id: number) => string;
@@ -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}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.23.15",
3
+ "version": "1.23.16",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",