@natch-the-storage/heathershaw-platform-types 1.4.0 → 1.4.2
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 +14 -9
- package/package.json +2 -3
package/build/validators.d.ts
CHANGED
|
@@ -22,6 +22,8 @@ export interface Address {
|
|
|
22
22
|
state: string;
|
|
23
23
|
postcode: string;
|
|
24
24
|
deliveryInstructions?: string;
|
|
25
|
+
addressName?: string;
|
|
26
|
+
defaultAddress?: boolean;
|
|
25
27
|
}
|
|
26
28
|
export interface PrescriberSelect {
|
|
27
29
|
id: number;
|
|
@@ -30,11 +32,14 @@ export interface PrescriberSelect {
|
|
|
30
32
|
phone: string;
|
|
31
33
|
}
|
|
32
34
|
export interface HealthInfo {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
medicationFor?: string;
|
|
36
|
+
pregnantOrBreastfeeding: boolean;
|
|
37
|
+
otherMedications?: string;
|
|
38
|
+
allergies?: string;
|
|
39
|
+
medicalConditions?: string;
|
|
40
|
+
supplements?: string;
|
|
41
|
+
additionalInfo?: string;
|
|
42
|
+
lastUpdated?: string;
|
|
38
43
|
}
|
|
39
44
|
export interface ScriptSelect {
|
|
40
45
|
id: number;
|
|
@@ -163,7 +168,7 @@ export interface PartnerPharmacyProfile {
|
|
|
163
168
|
paymentMode?: PaymentModeAtOrder;
|
|
164
169
|
remindersEnabled?: boolean;
|
|
165
170
|
priceMatches?: unknown;
|
|
166
|
-
dispatchAddress?: Address;
|
|
171
|
+
dispatchAddress?: Address[];
|
|
167
172
|
orders?: unknown;
|
|
168
173
|
xeroContactId?: string | null;
|
|
169
174
|
}
|
|
@@ -176,7 +181,7 @@ export interface PartnerPharmacyProfileCreate {
|
|
|
176
181
|
paymentMode: PaymentModeAtOrder;
|
|
177
182
|
remindersEnabled?: boolean;
|
|
178
183
|
priceMatches?: unknown;
|
|
179
|
-
dispatchAddress?: Address;
|
|
184
|
+
dispatchAddress?: Address[];
|
|
180
185
|
orders?: unknown;
|
|
181
186
|
xeroContactId?: string | null;
|
|
182
187
|
}
|
|
@@ -190,7 +195,7 @@ export interface PatientRecord {
|
|
|
190
195
|
dateOfBirth?: string;
|
|
191
196
|
medicareNumber?: string | null;
|
|
192
197
|
phone?: string;
|
|
193
|
-
address?: Address;
|
|
198
|
+
address?: Address[];
|
|
194
199
|
healthInfo?: HealthInfo;
|
|
195
200
|
reminderEnabled?: boolean;
|
|
196
201
|
scripts?: ScriptSelect[];
|
|
@@ -206,7 +211,7 @@ export interface PatientRecordCreate {
|
|
|
206
211
|
directUserProfileId?: number | null;
|
|
207
212
|
userId?: string | null;
|
|
208
213
|
medicareNumber?: string | null;
|
|
209
|
-
address?: Address;
|
|
214
|
+
address?: Address[];
|
|
210
215
|
healthInfo?: HealthInfo;
|
|
211
216
|
reminderEnabled?: boolean;
|
|
212
217
|
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.
|
|
3
|
+
"version": "1.4.2",
|
|
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"
|