@natch-the-storage/heathershaw-platform-types 1.18.2 → 1.18.3
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 +2 -1
- package/build/validators.js +1 -1
- 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;
|
|
@@ -920,9 +921,9 @@ export declare const ApiRoutes: {
|
|
|
920
921
|
getDraftScriptById: (id: number) => string;
|
|
921
922
|
getHouseholdDraftScripts: string;
|
|
922
923
|
listFormulations: string;
|
|
923
|
-
listPrices: ({ limit, page, nextToken }: GetAll) => string;
|
|
924
924
|
getFormulationById: (id: number) => string;
|
|
925
925
|
listProducts: string;
|
|
926
|
+
listProductPrices: ({ limit, page, nextToken, query }: GetAll) => string;
|
|
926
927
|
getProductById: (formulationId: number, pricingId: number) => string;
|
|
927
928
|
updatePriceOptions: string;
|
|
928
929
|
};
|
package/build/validators.js
CHANGED
|
@@ -284,9 +284,9 @@ export const ApiRoutes = {
|
|
|
284
284
|
getDraftScriptById: (id) => `/api/compound-direct/draft-scripts/${id}`,
|
|
285
285
|
getHouseholdDraftScripts: '/api/compound-direct/scripts/households',
|
|
286
286
|
listFormulations: '/api/compound-direct/formulations',
|
|
287
|
-
listPrices: ({ limit, page, nextToken }) => `/api/compound-direct/products/prices${handleParams({ limit, page, nextToken })}`,
|
|
288
287
|
getFormulationById: (id) => `/api/compound-direct/formulations/${id}`,
|
|
289
288
|
listProducts: '/api/compound-direct/products',
|
|
289
|
+
listProductPrices: ({ limit, page, nextToken, query }) => `/api/compound-direct/products/prices${handleParams({ limit, page, nextToken, query })}`,
|
|
290
290
|
getProductById: (formulationId, pricingId) => `/api/compound-direct/products/${formulationId}/${pricingId}`,
|
|
291
291
|
updatePriceOptions: '/api/compound-direct/formulations/prices',
|
|
292
292
|
},
|