@natch-the-storage/heathershaw-platform-types 1.4.0 → 1.4.1

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.
@@ -22,6 +22,7 @@ export interface Address {
22
22
  state: string;
23
23
  postcode: string;
24
24
  deliveryInstructions?: string;
25
+ defaultAddress?: boolean;
25
26
  }
26
27
  export interface PrescriberSelect {
27
28
  id: number;
@@ -30,11 +31,14 @@ export interface PrescriberSelect {
30
31
  phone: string;
31
32
  }
32
33
  export interface HealthInfo {
33
- allergies: string | null;
34
- conditions: string | null;
35
- relevantHistory: string | null;
36
- currentMedications: string | null;
37
- prescriber: PrescriberSelect | null;
34
+ medicationFor?: string;
35
+ pregnantOrBreastfeeding: boolean;
36
+ otherMedications?: string;
37
+ allergies?: string;
38
+ medicalConditions?: string;
39
+ supplements?: string;
40
+ additionalInfo?: string;
41
+ lastUpdated?: string;
38
42
  }
39
43
  export interface ScriptSelect {
40
44
  id: number;
@@ -163,7 +167,7 @@ export interface PartnerPharmacyProfile {
163
167
  paymentMode?: PaymentModeAtOrder;
164
168
  remindersEnabled?: boolean;
165
169
  priceMatches?: unknown;
166
- dispatchAddress?: Address;
170
+ dispatchAddress?: Address[];
167
171
  orders?: unknown;
168
172
  xeroContactId?: string | null;
169
173
  }
@@ -176,7 +180,7 @@ export interface PartnerPharmacyProfileCreate {
176
180
  paymentMode: PaymentModeAtOrder;
177
181
  remindersEnabled?: boolean;
178
182
  priceMatches?: unknown;
179
- dispatchAddress?: Address;
183
+ dispatchAddress?: Address[];
180
184
  orders?: unknown;
181
185
  xeroContactId?: string | null;
182
186
  }
@@ -190,7 +194,7 @@ export interface PatientRecord {
190
194
  dateOfBirth?: string;
191
195
  medicareNumber?: string | null;
192
196
  phone?: string;
193
- address?: Address;
197
+ address?: Address[];
194
198
  healthInfo?: HealthInfo;
195
199
  reminderEnabled?: boolean;
196
200
  scripts?: ScriptSelect[];
@@ -206,7 +210,7 @@ export interface PatientRecordCreate {
206
210
  directUserProfileId?: number | null;
207
211
  userId?: string | null;
208
212
  medicareNumber?: string | null;
209
- address?: Address;
213
+ address?: Address[];
210
214
  healthInfo?: HealthInfo;
211
215
  reminderEnabled?: boolean;
212
216
  scripts?: ScriptSelect[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",
@@ -17,8 +17,7 @@
17
17
  "build"
18
18
  ],
19
19
  "scripts": {
20
- "build": "tsc",
21
- "publish": "npm run build && npm publish --access public"
20
+ "build": "tsc"
22
21
  },
23
22
  "devDependencies": {
24
23
  "typescript": "^6.0.3"