@natch-the-storage/heathershaw-platform-types 1.10.16 → 1.10.18
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 +4 -0
- package/build/validators.js +1 -0
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -224,6 +224,9 @@ export type PartnerPharmacyProfileDetailed = PartnerPharmacyProfile & {
|
|
|
224
224
|
priceMatches: PriceMatch[];
|
|
225
225
|
quotes: Quote[];
|
|
226
226
|
};
|
|
227
|
+
export type PartnerPharmacyProfileDetailedUpdate = Partial<Omit<PartnerPharmacyProfileDetailed, 'email' | 'phoneNumber'>> & {
|
|
228
|
+
id: number;
|
|
229
|
+
};
|
|
227
230
|
export type PartnerPharmacyProfileSummary = Pick<PartnerPharmacyProfile, 'id' | 'userId' | 'pharmacyName' | 'discountTier' | 'paymentMode'> & {
|
|
228
231
|
patientsCount: number;
|
|
229
232
|
ordersCount: number;
|
|
@@ -699,6 +702,7 @@ export declare const ApiRoutes: {
|
|
|
699
702
|
getDetailed: (id: number) => string;
|
|
700
703
|
create: string;
|
|
701
704
|
update: string;
|
|
705
|
+
updateDetailed: (id: number) => string;
|
|
702
706
|
delete: (id: number) => string;
|
|
703
707
|
getReportData: (id: number) => string;
|
|
704
708
|
};
|
package/build/validators.js
CHANGED
|
@@ -174,6 +174,7 @@ export const ApiRoutes = {
|
|
|
174
174
|
getDetailed: (id) => `/api/profiles/partner-pharmacies/${id}/detailed-profiles`,
|
|
175
175
|
create: '/api/profiles/partner-pharmacies',
|
|
176
176
|
update: '/api/profiles/partner-pharmacies',
|
|
177
|
+
updateDetailed: (id) => `api/profiles/partner-pharmacies/${id}/detailed-profiles`,
|
|
177
178
|
delete: (id) => `/api/profiles/partner-pharmacies/${id}`,
|
|
178
179
|
getReportData: (id) => `/api/profiles/partner-pharmacies/${id}/reports`,
|
|
179
180
|
},
|