@natch-the-storage/heathershaw-platform-types 1.24.1 → 1.24.4
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 +3 -19
- package/build/validators.js +0 -2
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -241,24 +241,10 @@ 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' | 'pricingId'
|
|
245
|
+
export type AdminImportPriceMatch = Omit<PriceMatchCreate, 'fileKey' | 'pricingId'> & {
|
|
246
|
+
quantity: number;
|
|
247
|
+
};
|
|
262
248
|
/** Import CSV structure for importPharmacies route */
|
|
263
249
|
export type AdminImportPharmacy = Omit<PartnerPharmacyProfileCreate, 'userId' | 'addresses' | 'xeroInvoicePrefix' | 'remindersEnabled'> & {
|
|
264
250
|
email: string;
|
|
@@ -1309,8 +1295,6 @@ interface ListParams {
|
|
|
1309
1295
|
export declare const ApiRoutes: {
|
|
1310
1296
|
admin: {
|
|
1311
1297
|
getDashboardData: string;
|
|
1312
|
-
importDirectUsersCsv: string;
|
|
1313
|
-
importPartnerPharmacyPatientsCsv: string;
|
|
1314
1298
|
importPriceMatches: string;
|
|
1315
1299
|
importPharmacies: string;
|
|
1316
1300
|
importPatients: string;
|
package/build/validators.js
CHANGED
|
@@ -455,8 +455,6 @@ 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
459
|
importPharmacies: '/api/admin/imports/pharmacies',
|
|
462
460
|
importPatients: '/api/admin/imports/patients',
|