@natch-the-storage/heathershaw-platform-types 1.18.0 → 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.
- package/build/validators.d.ts +2 -1
- package/build/validators.js +2 -1
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -920,9 +920,10 @@ 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
|
+
getProductById: (formulationId: number, pricingId: number) => string;
|
|
926
927
|
updatePriceOptions: string;
|
|
927
928
|
};
|
|
928
929
|
directUserProfiles: {
|
package/build/validators.js
CHANGED
|
@@ -284,9 +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}`,
|
|
289
|
+
listProducts: '/api/compound-direct/products',
|
|
290
|
+
getProductById: (formulationId, pricingId) => `/api/compound-direct/products/${formulationId}/${pricingId}`,
|
|
290
291
|
updatePriceOptions: '/api/compound-direct/formulations/prices',
|
|
291
292
|
},
|
|
292
293
|
directUserProfiles: {
|