@natch-the-storage/heathershaw-platform-types 1.24.0 → 1.24.3
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 +1 -19
- package/build/validators.js +1 -3
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -241,24 +241,8 @@ export interface AdminDashboardData {
|
|
|
241
241
|
unprocessedScripts: DashboardData;
|
|
242
242
|
unprocessedPaperScripts: DashboardData;
|
|
243
243
|
}
|
|
244
|
-
/** Used for the importDirectUsersCsv and importPartnerPharmacyPatientsCsv api route */
|
|
245
|
-
export type AdminImportPatient = Partial<Omit<HealthInfo, 'updated'>> & {
|
|
246
|
-
compoundDirectId: number;
|
|
247
|
-
firstName: string;
|
|
248
|
-
lastName: string;
|
|
249
|
-
dateOfBirth: string;
|
|
250
|
-
street: string;
|
|
251
|
-
suburb: string;
|
|
252
|
-
state: string;
|
|
253
|
-
postcode: string;
|
|
254
|
-
phone?: string;
|
|
255
|
-
email?: string;
|
|
256
|
-
mobilePhone?: string;
|
|
257
|
-
isAnimal?: boolean;
|
|
258
|
-
animalSpecies?: AnimalSpecies;
|
|
259
|
-
};
|
|
260
244
|
/** Import CSV structure for importPriceMatches route */
|
|
261
|
-
export type AdminImportPriceMatch = Omit<PriceMatchCreate, 'fileKey'>;
|
|
245
|
+
export type AdminImportPriceMatch = Omit<PriceMatchCreate, 'fileKey' | 'pricingId'>;
|
|
262
246
|
/** Import CSV structure for importPharmacies route */
|
|
263
247
|
export type AdminImportPharmacy = Omit<PartnerPharmacyProfileCreate, 'userId' | 'addresses' | 'xeroInvoicePrefix' | 'remindersEnabled'> & {
|
|
264
248
|
email: string;
|
|
@@ -1309,8 +1293,6 @@ interface ListParams {
|
|
|
1309
1293
|
export declare const ApiRoutes: {
|
|
1310
1294
|
admin: {
|
|
1311
1295
|
getDashboardData: string;
|
|
1312
|
-
importDirectUsersCsv: string;
|
|
1313
|
-
importPartnerPharmacyPatientsCsv: string;
|
|
1314
1296
|
importPriceMatches: string;
|
|
1315
1297
|
importPharmacies: string;
|
|
1316
1298
|
importPatients: string;
|
package/build/validators.js
CHANGED
|
@@ -455,10 +455,8 @@ function handleParams(filters) {
|
|
|
455
455
|
export const ApiRoutes = {
|
|
456
456
|
admin: {
|
|
457
457
|
getDashboardData: '/api/admin/dashboard-data',
|
|
458
|
-
importDirectUsersCsv: '/api/admin/import-direct-users',
|
|
459
|
-
importPartnerPharmacyPatientsCsv: '/api/admin/import-partner-patients',
|
|
460
458
|
importPriceMatches: '/api/admin/imports/price-matches',
|
|
461
|
-
importPharmacies: '/api/admin/imports/
|
|
459
|
+
importPharmacies: '/api/admin/imports/pharmacies',
|
|
462
460
|
importPatients: '/api/admin/imports/patients',
|
|
463
461
|
},
|
|
464
462
|
cart: {
|