@natch-the-storage/heathershaw-platform-types 1.18.1 → 1.18.2

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.
@@ -920,9 +920,9 @@ export declare const ApiRoutes: {
920
920
  getDraftScriptById: (id: number) => string;
921
921
  getHouseholdDraftScripts: string;
922
922
  listFormulations: string;
923
- listProducts: string;
924
923
  listPrices: ({ limit, page, nextToken }: GetAll) => string;
925
924
  getFormulationById: (id: number) => string;
925
+ listProducts: string;
926
926
  getProductById: (formulationId: number, pricingId: number) => string;
927
927
  updatePriceOptions: string;
928
928
  };
@@ -284,10 +284,10 @@ export const ApiRoutes = {
284
284
  getDraftScriptById: (id) => `/api/compound-direct/draft-scripts/${id}`,
285
285
  getHouseholdDraftScripts: '/api/compound-direct/scripts/households',
286
286
  listFormulations: '/api/compound-direct/formulations',
287
- listProducts: '/api/compound-direct/products',
288
287
  listPrices: ({ limit, page, nextToken }) => `/api/compound-direct/products/prices${handleParams({ limit, page, nextToken })}`,
289
288
  getFormulationById: (id) => `/api/compound-direct/formulations/${id}`,
290
- getProductById: (formulationId, pricingId) => `/api/compound-direct/formulations/${formulationId}/${pricingId}`,
289
+ listProducts: '/api/compound-direct/products',
290
+ getProductById: (formulationId, pricingId) => `/api/compound-direct/products/${formulationId}/${pricingId}`,
291
291
  updatePriceOptions: '/api/compound-direct/formulations/prices',
292
292
  },
293
293
  directUserProfiles: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.18.1",
3
+ "version": "1.18.2",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",