@natch-the-storage/heathershaw-platform-types 1.11.4 → 1.11.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 +7 -0
- package/build/validators.js +1 -0
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -624,6 +624,12 @@ export interface CDFormulationList {
|
|
|
624
624
|
infoUrl: string;
|
|
625
625
|
isSignedOff: boolean;
|
|
626
626
|
}
|
|
627
|
+
export interface CDPriceOptionUpdate {
|
|
628
|
+
formulationPriceId: number;
|
|
629
|
+
formulationId: number;
|
|
630
|
+
quantity: number;
|
|
631
|
+
price: number;
|
|
632
|
+
}
|
|
627
633
|
export declare const parseCategory: (category: string) => "Compounding" | "Order or delivery" | "Prescription" | "Profile or account" | "General";
|
|
628
634
|
export interface ContactFormInternalCreate {
|
|
629
635
|
category: string;
|
|
@@ -669,6 +675,7 @@ export declare const ApiRoutes: {
|
|
|
669
675
|
getHouseholdDraftScripts: string;
|
|
670
676
|
listFormulations: string;
|
|
671
677
|
getFormulationById: (id: number) => string;
|
|
678
|
+
updatePriceOptions: string;
|
|
672
679
|
};
|
|
673
680
|
directUserProfiles: {
|
|
674
681
|
list: string;
|
package/build/validators.js
CHANGED
|
@@ -182,6 +182,7 @@ export const ApiRoutes = {
|
|
|
182
182
|
getHouseholdDraftScripts: '/api/compound-direct/scripts/households',
|
|
183
183
|
listFormulations: '/api/compound-direct/formulations',
|
|
184
184
|
getFormulationById: (id) => `/api/compound-direct/formulations/${id}`,
|
|
185
|
+
updatePriceOptions: '/api/compound-direct/formulations/prices',
|
|
185
186
|
},
|
|
186
187
|
directUserProfiles: {
|
|
187
188
|
list: '/api/profiles/direct-users',
|