@natch-the-storage/heathershaw-platform-types 1.23.12 → 1.23.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.
@@ -241,6 +241,20 @@ export interface AdminDashboardData {
241
241
  unprocessedScripts: DashboardData;
242
242
  unprocessedPaperScripts: DashboardData;
243
243
  }
244
+ export type AdminImportDirectUser = Partial<HealthInfo> & {
245
+ compoundDirectId: number;
246
+ firstName: string;
247
+ lastName: string;
248
+ dateOfBirth: string;
249
+ street?: string;
250
+ suburb?: string;
251
+ state?: string;
252
+ postcode?: string;
253
+ phone?: string;
254
+ email?: string;
255
+ mobilePhone?: string;
256
+ isAnimal?: boolean;
257
+ };
244
258
  export interface User {
245
259
  id: string;
246
260
  name: string;
@@ -1265,7 +1279,7 @@ interface ListParams {
1265
1279
  export declare const ApiRoutes: {
1266
1280
  admin: {
1267
1281
  getDashboardData: string;
1268
- importPatientsCsv: string;
1282
+ importDirectUsersCsv: string;
1269
1283
  };
1270
1284
  cart: {
1271
1285
  getByDirectUser: (id: number) => string;
@@ -455,7 +455,7 @@ function handleParams(filters) {
455
455
  export const ApiRoutes = {
456
456
  admin: {
457
457
  getDashboardData: '/api/admin/dashboard-data',
458
- importPatientsCsv: '/api/admin/import-patients',
458
+ importDirectUsersCsv: '/api/admin/import-direct-users',
459
459
  },
460
460
  cart: {
461
461
  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.12",
3
+ "version": "1.23.13",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",