@natch-the-storage/heathershaw-platform-types 1.12.3 → 1.13.0
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 +16 -9
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -50,14 +50,21 @@ export interface Address {
|
|
|
50
50
|
defaultAddress?: boolean;
|
|
51
51
|
}
|
|
52
52
|
export interface HealthInfo {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
weightChild?: string;
|
|
54
|
+
medicationFor: string;
|
|
55
|
+
pregnant: boolean;
|
|
56
|
+
breastfeeding: boolean;
|
|
57
|
+
planningPregnant: boolean;
|
|
58
|
+
otherMedicationsTemporary?: string;
|
|
59
|
+
otherMedicationsPrn?: string;
|
|
60
|
+
otherMedicationsOngoing?: string;
|
|
56
61
|
allergies?: string;
|
|
62
|
+
intolerances?: string;
|
|
63
|
+
veganVegetarian?: string;
|
|
64
|
+
prescriptionReason?: string;
|
|
57
65
|
medicalConditions?: string;
|
|
58
|
-
supplements?: string;
|
|
59
66
|
additionalInfo?: string;
|
|
60
|
-
|
|
67
|
+
updated: string;
|
|
61
68
|
}
|
|
62
69
|
export interface LineItem {
|
|
63
70
|
id: string;
|
|
@@ -641,15 +648,15 @@ export declare const CDProductFormsIdLabels: {
|
|
|
641
648
|
id: string;
|
|
642
649
|
label: string;
|
|
643
650
|
}[];
|
|
644
|
-
export interface
|
|
645
|
-
formulationId: number;
|
|
651
|
+
export interface CDPriceOptionUpdate {
|
|
646
652
|
formulationPriceId: number;
|
|
653
|
+
formulationId: number;
|
|
647
654
|
quantity: number;
|
|
648
655
|
price: number;
|
|
649
656
|
}
|
|
650
657
|
export interface CDBulkUpdateResultList {
|
|
651
|
-
invalidFormulationPrices:
|
|
652
|
-
successfulUpdates:
|
|
658
|
+
invalidFormulationPrices: CDPriceOptionUpdate[];
|
|
659
|
+
successfulUpdates: CDPriceOptionUpdate[];
|
|
653
660
|
}
|
|
654
661
|
export declare const parseCategory: (category: string) => "Compounding" | "Order or delivery" | "Prescription" | "Profile or account" | "General";
|
|
655
662
|
export interface ContactFormInternalCreate {
|