@natch-the-storage/heathershaw-platform-types 1.18.3 → 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 +4 -6
- package/build/validators.js +4 -6
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -914,18 +914,16 @@ 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;
|
|
921
921
|
getDraftScriptById: (id: number) => string;
|
|
922
|
-
|
|
923
|
-
listFormulations: string;
|
|
922
|
+
getDraftScriptsByHousehold: string;
|
|
924
923
|
getFormulationById: (id: number) => string;
|
|
925
|
-
listProducts: string;
|
|
926
|
-
listProductPrices: ({ limit, page, nextToken, query }: GetAll) => string;
|
|
927
924
|
getProductById: (formulationId: number, pricingId: number) => string;
|
|
928
|
-
|
|
925
|
+
listProductPrices: ({ limit, page, nextToken, query }: GetAll) => string;
|
|
926
|
+
updateProductPriceOptions: string;
|
|
929
927
|
};
|
|
930
928
|
directUserProfiles: {
|
|
931
929
|
list: string;
|
package/build/validators.js
CHANGED
|
@@ -277,18 +277,16 @@ 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',
|
|
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}`,
|
|
288
|
-
listProducts: '/api/compound-direct/products',
|
|
289
|
-
listProductPrices: ({ limit, page, nextToken, query }) => `/api/compound-direct/products/prices${handleParams({ limit, page, nextToken, query })}`,
|
|
290
287
|
getProductById: (formulationId, pricingId) => `/api/compound-direct/products/${formulationId}/${pricingId}`,
|
|
291
|
-
|
|
288
|
+
listProductPrices: ({ limit, page, nextToken, query }) => `/api/compound-direct/products/prices${handleParams({ limit, page, nextToken, query })}`,
|
|
289
|
+
updateProductPriceOptions: '/api/compound-direct/products/prices',
|
|
292
290
|
},
|
|
293
291
|
directUserProfiles: {
|
|
294
292
|
list: '/api/profiles/direct-users',
|