@natch-the-storage/heathershaw-platform-types 1.6.3 → 1.6.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.
@@ -453,8 +453,10 @@ export interface CDScript {
453
453
  repeatsLeft: number;
454
454
  supplyNumber: number;
455
455
  };
456
+ formulation: {
457
+ properties?: CDScriptProperties[];
458
+ };
456
459
  itemCount: number;
457
- properties?: CDScriptProperties;
458
460
  }
459
461
  export interface CDCustomerCreate {
460
462
  firstName: string;
@@ -568,5 +570,6 @@ export declare const ApiRoutes: {
568
570
  searchCustomers: ({ name, dateOfBirth, email, phone }: CDCustomerSearch) => string;
569
571
  createCustomer: string;
570
572
  getDraftScripts: string;
573
+ getDraftScriptById: (id: number) => string;
571
574
  };
572
575
  };
@@ -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.5",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",