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

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.
@@ -923,6 +923,7 @@ export declare const ApiRoutes: {
923
923
  listProducts: string;
924
924
  listPrices: ({ limit, page, nextToken }: GetAll) => string;
925
925
  getFormulationById: (id: number) => string;
926
+ getProductById: (formulationId: number, pricingId: number) => string;
926
927
  updatePriceOptions: string;
927
928
  };
928
929
  directUserProfiles: {
@@ -287,6 +287,7 @@ export const ApiRoutes = {
287
287
  listProducts: '/api/compound-direct/products',
288
288
  listPrices: ({ limit, page, nextToken }) => `/api/compound-direct/products/prices${handleParams({ limit, page, nextToken })}`,
289
289
  getFormulationById: (id) => `/api/compound-direct/formulations/${id}`,
290
+ getProductById: (formulationId, pricingId) => `/api/compound-direct/formulations/${formulationId}/${pricingId}`,
290
291
  updatePriceOptions: '/api/compound-direct/formulations/prices',
291
292
  },
292
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.0",
3
+ "version": "1.18.1",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",