@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.
- package/build/validators.d.ts +3 -4
- package/build/validators.js +3 -4
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -919,13 +919,12 @@ export declare const ApiRoutes: {
|
|
|
919
919
|
updateCustomer: string;
|
|
920
920
|
getDraftScripts: string;
|
|
921
921
|
getDraftScriptById: (id: number) => string;
|
|
922
|
-
|
|
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
|
-
|
|
928
|
-
updatePriceOptions: string;
|
|
927
|
+
updateProductPriceOptions: string;
|
|
929
928
|
};
|
|
930
929
|
directUserProfiles: {
|
|
931
930
|
list: string;
|
package/build/validators.js
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
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',
|