@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.
@@ -50,14 +50,21 @@ export interface Address {
50
50
  defaultAddress?: boolean;
51
51
  }
52
52
  export interface HealthInfo {
53
- medicationFor?: string;
54
- pregnantOrBreastfeeding: boolean;
55
- otherMedications?: string;
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
- lastUpdated?: string;
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 CDBulkUpdateResult {
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: CDBulkUpdateResult[];
652
- successfulUpdates: CDBulkUpdateResult[];
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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.12.3",
3
+ "version": "1.13.0",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",