@natch-the-storage/heathershaw-platform-types 1.18.3 → 1.18.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.
@@ -919,13 +919,12 @@ export declare const ApiRoutes: {
919
919
  updateCustomer: string;
920
920
  getDraftScripts: string;
921
921
  getDraftScriptById: (id: number) => string;
922
- getHouseholdDraftScripts: string;
923
- listFormulations: string;
922
+ getDraftScriptsByHousehold: string;
924
923
  getFormulationById: (id: number) => string;
924
+ getProductById: (formulationId: number, pricingId: number) => string;
925
925
  listProducts: string;
926
926
  listProductPrices: ({ limit, page, nextToken, query }: GetAll) => string;
927
- getProductById: (formulationId: number, pricingId: number) => string;
928
- updatePriceOptions: string;
927
+ updateProductPriceOptions: string;
929
928
  };
930
929
  directUserProfiles: {
931
930
  list: string;
@@ -282,13 +282,12 @@ export const ApiRoutes = {
282
282
  updateCustomer: '/api/compound-direct/customers',
283
283
  getDraftScripts: '/api/compound-direct/draft-scripts',
284
284
  getDraftScriptById: (id) => `/api/compound-direct/draft-scripts/${id}`,
285
- getHouseholdDraftScripts: '/api/compound-direct/scripts/households',
286
- listFormulations: '/api/compound-direct/formulations',
285
+ getDraftScriptsByHousehold: '/api/compound-direct/scripts/households',
287
286
  getFormulationById: (id) => `/api/compound-direct/formulations/${id}`,
287
+ getProductById: (formulationId, pricingId) => `/api/compound-direct/products/${formulationId}/${pricingId}`,
288
288
  listProducts: '/api/compound-direct/products',
289
289
  listProductPrices: ({ limit, page, nextToken, query }) => `/api/compound-direct/products/prices${handleParams({ limit, page, nextToken, query })}`,
290
- getProductById: (formulationId, pricingId) => `/api/compound-direct/products/${formulationId}/${pricingId}`,
291
- updatePriceOptions: '/api/compound-direct/formulations/prices',
290
+ updateProductPriceOptions: '/api/compound-direct/products/prices',
292
291
  },
293
292
  directUserProfiles: {
294
293
  list: '/api/profiles/direct-users',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.18.3",
3
+ "version": "1.18.4",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",