@natch-the-storage/heathershaw-platform-types 1.22.4 → 1.22.6

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.
@@ -917,7 +917,7 @@ export type CDDispensedScriptList = Pick<CDDispensedScript, 'scriptId' | 'script
917
917
  daysSupply?: number;
918
918
  };
919
919
  /** The script item retrieved from a customer_scripts search on compound direct */
920
- export interface CDSearchScripts {
920
+ export interface CDSearchScript {
921
921
  key: string;
922
922
  id: number;
923
923
  isDispensed: boolean;
@@ -1253,9 +1253,7 @@ export declare const ApiRoutes: {
1253
1253
  getCustomerById: (id: number) => string;
1254
1254
  createCustomer: string;
1255
1255
  updateCustomer: string;
1256
- getDraftScripts: string;
1257
- getDraftScriptById: (id: number) => string;
1258
- getDraftScriptsByHousehold: string;
1256
+ getCustomerScriptById: (id: number) => string;
1259
1257
  getCustomerScripts: string;
1260
1258
  getCustomerDetailedScripts: string;
1261
1259
  getHouseholdScripts: string;
@@ -463,9 +463,7 @@ export const ApiRoutes = {
463
463
  getCustomerById: (id) => `/api/compound-direct/customers/${id}`,
464
464
  createCustomer: '/api/compound-direct/new-customers',
465
465
  updateCustomer: '/api/compound-direct/customers',
466
- getDraftScripts: '/api/compound-direct/draft-scripts',
467
- getDraftScriptById: (id) => `/api/compound-direct/draft-scripts/${id}`,
468
- getDraftScriptsByHousehold: '/api/compound-direct/scripts/households',
466
+ getCustomerScriptById: (id) => `/api/compound-direct/customer-scripts/${id}`,
469
467
  getCustomerScripts: '/api/compound-direct/customer-scripts',
470
468
  getCustomerDetailedScripts: '/api/compound-direct/customer-scripts/detailed',
471
469
  getHouseholdScripts: '/api/compound-direct/customer-scripts/households',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.22.4",
3
+ "version": "1.22.6",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",