@natch-the-storage/heathershaw-platform-types 1.18.4 → 1.18.5
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 +1 -2
- package/build/validators.js +1 -2
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -914,7 +914,7 @@ export declare const ApiRoutes: {
|
|
|
914
914
|
};
|
|
915
915
|
compoundDirect: {
|
|
916
916
|
searchCustomers: string;
|
|
917
|
-
|
|
917
|
+
getCustomerById: (id: number) => string;
|
|
918
918
|
createCustomer: string;
|
|
919
919
|
updateCustomer: string;
|
|
920
920
|
getDraftScripts: string;
|
|
@@ -922,7 +922,6 @@ export declare const ApiRoutes: {
|
|
|
922
922
|
getDraftScriptsByHousehold: string;
|
|
923
923
|
getFormulationById: (id: number) => string;
|
|
924
924
|
getProductById: (formulationId: number, pricingId: number) => string;
|
|
925
|
-
listProducts: string;
|
|
926
925
|
listProductPrices: ({ limit, page, nextToken, query }: GetAll) => string;
|
|
927
926
|
updateProductPriceOptions: string;
|
|
928
927
|
};
|
package/build/validators.js
CHANGED
|
@@ -277,7 +277,7 @@ export const ApiRoutes = {
|
|
|
277
277
|
},
|
|
278
278
|
compoundDirect: {
|
|
279
279
|
searchCustomers: '/api/compound-direct/customers',
|
|
280
|
-
|
|
280
|
+
getCustomerById: (id) => `/api/compound-direct/customers/${id}`,
|
|
281
281
|
createCustomer: '/api/compound-direct/new-customers',
|
|
282
282
|
updateCustomer: '/api/compound-direct/customers',
|
|
283
283
|
getDraftScripts: '/api/compound-direct/draft-scripts',
|
|
@@ -285,7 +285,6 @@ export const ApiRoutes = {
|
|
|
285
285
|
getDraftScriptsByHousehold: '/api/compound-direct/scripts/households',
|
|
286
286
|
getFormulationById: (id) => `/api/compound-direct/formulations/${id}`,
|
|
287
287
|
getProductById: (formulationId, pricingId) => `/api/compound-direct/products/${formulationId}/${pricingId}`,
|
|
288
|
-
listProducts: '/api/compound-direct/products',
|
|
289
288
|
listProductPrices: ({ limit, page, nextToken, query }) => `/api/compound-direct/products/prices${handleParams({ limit, page, nextToken, query })}`,
|
|
290
289
|
updateProductPriceOptions: '/api/compound-direct/products/prices',
|
|
291
290
|
},
|