@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.
@@ -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: (id: number) => string;
704
+ updateDetailed: string;
703
705
  delete: (id: number) => string;
704
706
  getReportData: (id: number) => string;
705
707
  };
@@ -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}/detailed-profiles`,
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: (id) => `api/profiles/partner-pharmacies/${id}/detailed-profiles`,
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
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.10.17",
3
+ "version": "1.10.19",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",