@natch-the-storage/heathershaw-platform-types 1.11.1 → 1.11.3
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 +12 -13
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -106,7 +106,7 @@ export interface PaymentLinkCreate {
|
|
|
106
106
|
partnerPharmacyProfileId?: number;
|
|
107
107
|
patientRecordId?: number;
|
|
108
108
|
directUserProfileId?: number;
|
|
109
|
-
|
|
109
|
+
phoneNumber?: string;
|
|
110
110
|
email?: string;
|
|
111
111
|
}
|
|
112
112
|
interface DashboardData {
|
|
@@ -222,9 +222,7 @@ export interface PartnerPharmacyProfile {
|
|
|
222
222
|
discountTier: number;
|
|
223
223
|
paymentMode: PartnerPharmacyPaymentMode;
|
|
224
224
|
remindersEnabled?: boolean;
|
|
225
|
-
priceMatches?: PriceMatch[];
|
|
226
225
|
addresses: Address[];
|
|
227
|
-
orders?: Order[];
|
|
228
226
|
xeroContactId?: string | null;
|
|
229
227
|
}
|
|
230
228
|
export type PartnerPharmacyProfileCreate = Omit<PartnerPharmacyProfile, 'id' | 'priceMatches' | 'orders'>;
|
|
@@ -272,23 +270,24 @@ export interface PatientRecord {
|
|
|
272
270
|
dateOfBirth: string;
|
|
273
271
|
medicareNumber?: string;
|
|
274
272
|
email: string;
|
|
275
|
-
|
|
276
|
-
addresses
|
|
273
|
+
phoneNumber: string;
|
|
274
|
+
addresses: Address[];
|
|
277
275
|
healthInfo?: HealthInfo;
|
|
278
276
|
reminderEnabled?: boolean;
|
|
279
277
|
orderHistory?: Order[];
|
|
280
278
|
animalSpecies?: string;
|
|
281
279
|
relationship?: string | null;
|
|
282
280
|
}
|
|
283
|
-
export type PatientRecordCreate =
|
|
281
|
+
export type PatientRecordCreate = Omit<PatientRecord, 'id'>;
|
|
282
|
+
export type PatientRecordUpdate = Partial<PatientRecord> & {
|
|
283
|
+
id: number;
|
|
284
|
+
};
|
|
285
|
+
export type PatientRecordOnboard = {
|
|
284
286
|
firstName: string;
|
|
285
287
|
lastName: string;
|
|
286
288
|
dateOfBirth: string;
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
};
|
|
290
|
-
export type PatientRecordUpdate = Partial<PatientRecord> & {
|
|
291
|
-
id: number;
|
|
289
|
+
phoneNumber: string;
|
|
290
|
+
addresses: Address[];
|
|
292
291
|
};
|
|
293
292
|
export interface PriceMatch {
|
|
294
293
|
id: number;
|
|
@@ -352,7 +351,7 @@ export type AdminScript = Script & {
|
|
|
352
351
|
firstName: string;
|
|
353
352
|
lastName: string;
|
|
354
353
|
dateOfBirth: string;
|
|
355
|
-
|
|
354
|
+
phoneNumber: string;
|
|
356
355
|
email: string;
|
|
357
356
|
};
|
|
358
357
|
export type EScriptCreate = Pick<Script, 'patientRecordId' | 'partnerPharmacyProfileId'> & {
|
|
@@ -631,7 +630,7 @@ export interface ContactFormInternalCreate {
|
|
|
631
630
|
pharmacyName?: string;
|
|
632
631
|
name: string;
|
|
633
632
|
email: string;
|
|
634
|
-
|
|
633
|
+
phoneNumber?: string;
|
|
635
634
|
orderNumber?: string;
|
|
636
635
|
message: string;
|
|
637
636
|
}
|