@natch-the-storage/heathershaw-platform-types 1.18.2 → 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 +5 -5
- package/build/validators.js +4 -5
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -125,6 +125,7 @@ export interface GetAll {
|
|
|
125
125
|
page?: number;
|
|
126
126
|
limit?: number;
|
|
127
127
|
nextToken?: string | null;
|
|
128
|
+
query?: string;
|
|
128
129
|
}
|
|
129
130
|
export interface DevEmail {
|
|
130
131
|
to: string;
|
|
@@ -918,13 +919,12 @@ export declare const ApiRoutes: {
|
|
|
918
919
|
updateCustomer: string;
|
|
919
920
|
getDraftScripts: string;
|
|
920
921
|
getDraftScriptById: (id: number) => string;
|
|
921
|
-
|
|
922
|
-
listFormulations: string;
|
|
923
|
-
listPrices: ({ limit, page, nextToken }: GetAll) => string;
|
|
922
|
+
getDraftScriptsByHousehold: string;
|
|
924
923
|
getFormulationById: (id: number) => string;
|
|
925
|
-
listProducts: string;
|
|
926
924
|
getProductById: (formulationId: number, pricingId: number) => string;
|
|
927
|
-
|
|
925
|
+
listProducts: string;
|
|
926
|
+
listProductPrices: ({ limit, page, nextToken, query }: GetAll) => string;
|
|
927
|
+
updateProductPriceOptions: string;
|
|
928
928
|
};
|
|
929
929
|
directUserProfiles: {
|
|
930
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',
|
|
287
|
-
listPrices: ({ limit, page, nextToken }) => `/api/compound-direct/products/prices${handleParams({ limit, page, nextToken })}`,
|
|
285
|
+
getDraftScriptsByHousehold: '/api/compound-direct/scripts/households',
|
|
288
286
|
getFormulationById: (id) => `/api/compound-direct/formulations/${id}`,
|
|
289
|
-
listProducts: '/api/compound-direct/products',
|
|
290
287
|
getProductById: (formulationId, pricingId) => `/api/compound-direct/products/${formulationId}/${pricingId}`,
|
|
291
|
-
|
|
288
|
+
listProducts: '/api/compound-direct/products',
|
|
289
|
+
listProductPrices: ({ limit, page, nextToken, query }) => `/api/compound-direct/products/prices${handleParams({ limit, page, nextToken, query })}`,
|
|
290
|
+
updateProductPriceOptions: '/api/compound-direct/products/prices',
|
|
292
291
|
},
|
|
293
292
|
directUserProfiles: {
|
|
294
293
|
list: '/api/profiles/direct-users',
|