@natch-the-storage/heathershaw-platform-types 1.7.7 → 1.7.8
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 +21 -4
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -91,6 +91,22 @@ export interface Sms {
|
|
|
91
91
|
to: string;
|
|
92
92
|
from: string;
|
|
93
93
|
}
|
|
94
|
+
export interface User {
|
|
95
|
+
id: string;
|
|
96
|
+
name: string;
|
|
97
|
+
email: string;
|
|
98
|
+
emailVerified: boolean;
|
|
99
|
+
phoneNumber: string;
|
|
100
|
+
phoneNumberVerified: boolean;
|
|
101
|
+
image?: string;
|
|
102
|
+
createdAt: Date;
|
|
103
|
+
updatedAt: Date;
|
|
104
|
+
role: string;
|
|
105
|
+
banned?: boolean;
|
|
106
|
+
banReason?: string;
|
|
107
|
+
banExpires?: Date;
|
|
108
|
+
onboarded: boolean;
|
|
109
|
+
}
|
|
94
110
|
export interface DirectUserProfile {
|
|
95
111
|
id: number;
|
|
96
112
|
userId?: string;
|
|
@@ -188,7 +204,7 @@ export interface PartnerPharmacyProfile {
|
|
|
188
204
|
paymentMode?: PaymentModeAtOrder;
|
|
189
205
|
remindersEnabled?: boolean;
|
|
190
206
|
priceMatches?: unknown;
|
|
191
|
-
|
|
207
|
+
addresses?: Address[];
|
|
192
208
|
orders?: unknown;
|
|
193
209
|
xeroContactId?: string | null;
|
|
194
210
|
}
|
|
@@ -202,7 +218,7 @@ export interface PartnerPharmacyProfileCreate {
|
|
|
202
218
|
paymentMode: PaymentModeAtOrder;
|
|
203
219
|
remindersEnabled?: boolean;
|
|
204
220
|
priceMatches?: unknown;
|
|
205
|
-
|
|
221
|
+
addresses?: Address[];
|
|
206
222
|
orders?: unknown;
|
|
207
223
|
xeroContactId?: string | null;
|
|
208
224
|
}
|
|
@@ -217,7 +233,7 @@ export interface PatientRecord {
|
|
|
217
233
|
dateOfBirth?: string;
|
|
218
234
|
medicareNumber?: string | null;
|
|
219
235
|
phone?: string;
|
|
220
|
-
|
|
236
|
+
addresses?: Address[];
|
|
221
237
|
healthInfo?: HealthInfo;
|
|
222
238
|
reminderEnabled?: boolean;
|
|
223
239
|
scripts?: ScriptSelect[];
|
|
@@ -235,7 +251,7 @@ export interface PatientRecordCreate {
|
|
|
235
251
|
compoundDirectId?: number | null;
|
|
236
252
|
userId?: string | null;
|
|
237
253
|
medicareNumber?: string | null;
|
|
238
|
-
|
|
254
|
+
addresses?: Address[];
|
|
239
255
|
healthInfo?: HealthInfo;
|
|
240
256
|
reminderEnabled?: boolean;
|
|
241
257
|
scripts?: ScriptSelect[];
|
|
@@ -530,6 +546,7 @@ export interface CDCustomerSearch {
|
|
|
530
546
|
export declare const parseCategory: (category: string) => "Order or delivery" | "Prescription" | "Profile or account" | "Compounding" | "General";
|
|
531
547
|
export interface ContactFormInternalCreate {
|
|
532
548
|
category: string;
|
|
549
|
+
pharmacyName?: string;
|
|
533
550
|
name: string;
|
|
534
551
|
email: string;
|
|
535
552
|
phone?: string;
|