@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.
@@ -914,18 +914,16 @@ export declare const ApiRoutes: {
914
914
  };
915
915
  compoundDirect: {
916
916
  searchCustomers: string;
917
- getCustomer: (id: number) => string;
917
+ getCustomerById: (id: number) => string;
918
918
  createCustomer: string;
919
919
  updateCustomer: string;
920
920
  getDraftScripts: string;
921
921
  getDraftScriptById: (id: number) => string;
922
- getHouseholdDraftScripts: string;
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
- updatePriceOptions: string;
925
+ listProductPrices: ({ limit, page, nextToken, query }: GetAll) => string;
926
+ updateProductPriceOptions: string;
929
927
  };
930
928
  directUserProfiles: {
931
929
  list: string;
@@ -277,18 +277,16 @@ export const ApiRoutes = {
277
277
  },
278
278
  compoundDirect: {
279
279
  searchCustomers: '/api/compound-direct/customers',
280
- getCustomer: (id) => `/api/compound-direct/customers/${id}`,
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
- getHouseholdDraftScripts: '/api/compound-direct/scripts/households',
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
- updatePriceOptions: '/api/compound-direct/formulations/prices',
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',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.18.3",
3
+ "version": "1.18.5",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",