@natch-the-storage/heathershaw-platform-types 1.23.0 → 1.23.2

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.
@@ -442,6 +442,7 @@ export interface PartnerPharmacyProfile {
442
442
  }
443
443
  export type PartnerPharmacyProfileCreate = Omit<PartnerPharmacyProfile, 'id' | 'priceMatches' | 'orders' | 'phoneNumber' | 'email' | 'internal'> & {
444
444
  internal?: boolean;
445
+ phoneNumber?: string;
445
446
  };
446
447
  export type PartnerPharmacyProfileUpdate = Partial<PartnerPharmacyProfile> & {
447
448
  id: number;
@@ -1336,6 +1337,7 @@ export declare const ApiRoutes: {
1336
1337
  };
1337
1338
  patientRecords: {
1338
1339
  list: (id?: number, type?: "partner" | "direct") => string;
1340
+ listAll: string;
1339
1341
  get: (id: number) => string;
1340
1342
  getByUser: (userId: string) => string;
1341
1343
  create: string;
@@ -533,6 +533,7 @@ export const ApiRoutes = {
533
533
  },
534
534
  patientRecords: {
535
535
  list: (id, type) => '/api/patient-records' + `${type ? '?' + type + '=' + id : ''}`,
536
+ listAll: '/api/patient-records/all',
536
537
  get: (id) => `/api/patient-records/${id}`,
537
538
  getByUser: (userId) => `/api/patient-records/users/${userId}`,
538
539
  create: '/api/patient-records',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.23.0",
3
+ "version": "1.23.2",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",