@natch-the-storage/heathershaw-platform-types 1.6.3 → 1.6.4

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.
@@ -568,5 +568,6 @@ export declare const ApiRoutes: {
568
568
  searchCustomers: ({ name, dateOfBirth, email, phone }: CDCustomerSearch) => string;
569
569
  createCustomer: string;
570
570
  getDraftScripts: string;
571
+ getDraftScriptById: (id: number) => string;
571
572
  };
572
573
  };
@@ -144,6 +144,7 @@ export const ApiRoutes = {
144
144
  compoundDirect: {
145
145
  searchCustomers: ({ name, dateOfBirth, email, phone }) => `/api/compound-direct/customers?name=${name}&dateOfBirth=${dateOfBirth}&email=${email}&phone=${phone}`,
146
146
  createCustomer: '/api/compound-direct/customer',
147
- getDraftScripts: '/api/compound-direct/draft-scripts/customers',
147
+ getDraftScripts: '/api/compound-direct/draft-scripts',
148
+ getDraftScriptById: (id) => `/api/compound-direct/draft-scripts/${id}`,
148
149
  },
149
150
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.6.3",
3
+ "version": "1.6.4",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",