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

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.
@@ -1253,7 +1253,7 @@ export declare const ApiRoutes: {
1253
1253
  getCustomerById: (id: number) => string;
1254
1254
  createCustomer: string;
1255
1255
  updateCustomer: string;
1256
- getCustomerScriptById: (id: number) => string;
1256
+ getCustomerScriptById: (id: number, dispensed: boolean) => string;
1257
1257
  getCustomerScripts: string;
1258
1258
  getCustomerDetailedScripts: string;
1259
1259
  getHouseholdScripts: string;
@@ -463,7 +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
- getCustomerScriptById: (id) => `/api/compound-direct/customer-scripts/${id}`,
466
+ getCustomerScriptById: (id, dispensed) => `/api/compound-direct/customer-scripts/${handleParams({ id, dispensed })}`,
467
467
  getCustomerScripts: '/api/compound-direct/customer-scripts',
468
468
  getCustomerDetailedScripts: '/api/compound-direct/customer-scripts/detailed',
469
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.6",
3
+ "version": "1.22.7",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",