@natch-the-storage/heathershaw-platform-types 1.10.17 → 1.10.19
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 -2
- package/build/validators.js +2 -2
- 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;
|
|
@@ -253,7 +256,6 @@ export interface PatientRecord {
|
|
|
253
256
|
relationship?: string | null;
|
|
254
257
|
}
|
|
255
258
|
export type PatientRecordCreate = Partial<PatientRecord> & {
|
|
256
|
-
id: number;
|
|
257
259
|
firstName: string;
|
|
258
260
|
lastName: string;
|
|
259
261
|
dateOfBirth: string;
|
|
@@ -699,7 +701,7 @@ export declare const ApiRoutes: {
|
|
|
699
701
|
getDetailed: (id: number) => string;
|
|
700
702
|
create: string;
|
|
701
703
|
update: string;
|
|
702
|
-
updateDetailed:
|
|
704
|
+
updateDetailed: string;
|
|
703
705
|
delete: (id: number) => string;
|
|
704
706
|
getReportData: (id: number) => string;
|
|
705
707
|
};
|
package/build/validators.js
CHANGED
|
@@ -171,10 +171,10 @@ export const ApiRoutes = {
|
|
|
171
171
|
getSummaries: '/api/profiles/partner-pharmacies/summaries',
|
|
172
172
|
get: (id) => `/api/profiles/partner-pharmacies/${id}`,
|
|
173
173
|
getByUser: (userId) => `/api/profiles/partner-pharmacies/users/${userId}`,
|
|
174
|
-
getDetailed: (id) => `/api/profiles/partner-pharmacies/${id}
|
|
174
|
+
getDetailed: (id) => `/api/profiles/partner-pharmacies/detailed-profiles/${id}`,
|
|
175
175
|
create: '/api/profiles/partner-pharmacies',
|
|
176
176
|
update: '/api/profiles/partner-pharmacies',
|
|
177
|
-
updateDetailed:
|
|
177
|
+
updateDetailed: '/api/profiles/partner-pharmacies/detailed-profiles',
|
|
178
178
|
delete: (id) => `/api/profiles/partner-pharmacies/${id}`,
|
|
179
179
|
getReportData: (id) => `/api/profiles/partner-pharmacies/${id}/reports`,
|
|
180
180
|
},
|