@natch-the-storage/heathershaw-platform-types 1.9.4 → 1.9.5

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.
@@ -632,7 +632,6 @@ export declare const ApiRoutes: {
632
632
  delete: (id: number) => string;
633
633
  };
634
634
  scripts: {
635
- list: string;
636
635
  get: (filters?: getScriptsQuery) => string;
637
636
  getById: (id: number) => string;
638
637
  createEscript: string;
@@ -101,7 +101,6 @@ export const ApiRoutes = {
101
101
  delete: (id) => `/api/patient-records/${id}`,
102
102
  },
103
103
  scripts: {
104
- list: '/api/scripts',
105
104
  get: (filters) => {
106
105
  const params = new URLSearchParams();
107
106
  if (filters?.partnerPharmacyProfileId)
@@ -109,7 +108,7 @@ export const ApiRoutes = {
109
108
  if (filters?.patientRecordId)
110
109
  params.set('patientRecordId', String(filters.patientRecordId));
111
110
  const query = params.toString();
112
- return `/api/scripts/${query ? `?${query}` : ''}`;
111
+ return `/api/scripts${query ? `/?${query}` : ''}`;
113
112
  },
114
113
  getById: (id) => `/api/scripts/${id}`,
115
114
  createEscript: '/api/scripts/escripts',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.9.4",
3
+ "version": "1.9.5",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",