@natch-the-storage/heathershaw-platform-types 1.15.3 → 1.15.5
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 +4 -9
- package/build/validators.js +2 -1
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare const paperScriptReminderStatusValues: readonly ["PENDING", "RECE
|
|
|
6
6
|
export declare const quoteStatusValues: readonly ["PENDING", "PROCESSING", "RESOLVED"];
|
|
7
7
|
export declare const paymentModeAtOrderValues: readonly ["ONLINE", "INVOICE", "POS"];
|
|
8
8
|
export declare const partnerPharmacyPaymentModeValues: readonly ["INVOICE", "POS"];
|
|
9
|
-
export declare const paymentStatusValues: readonly ["
|
|
9
|
+
export declare const paymentStatusValues: readonly ["UNPAID", "AWAITING_PAYMENT", "PENDING_INVOICE", "PAID"];
|
|
10
10
|
export declare const repeatStorageValues: readonly ["HEATHERSHAWS", "PHARMACY", "PATIENT"];
|
|
11
11
|
export declare const scriptStatusValues: readonly ["PENDING", "PROCESSED"];
|
|
12
12
|
export declare const scriptTypeValues: readonly ["ERX", "PAPER"];
|
|
@@ -239,8 +239,10 @@ export interface PartnerPharmacyProfile {
|
|
|
239
239
|
remindersEnabled?: boolean;
|
|
240
240
|
addresses: Address[];
|
|
241
241
|
xeroContactId?: string | null;
|
|
242
|
+
email: string;
|
|
243
|
+
phoneNumber: string;
|
|
242
244
|
}
|
|
243
|
-
export type PartnerPharmacyProfileCreate = Omit<PartnerPharmacyProfile, 'id' | 'priceMatches' | 'orders'>;
|
|
245
|
+
export type PartnerPharmacyProfileCreate = Omit<PartnerPharmacyProfile, 'id' | 'priceMatches' | 'orders' | 'phoneNumber' | 'email'>;
|
|
244
246
|
export type PartnerPharmacyProfileUpdate = Partial<PartnerPharmacyProfile> & {
|
|
245
247
|
id: number;
|
|
246
248
|
};
|
|
@@ -297,13 +299,6 @@ export type PatientRecordCreate = Omit<PatientRecord, 'id'>;
|
|
|
297
299
|
export type PatientRecordUpdate = Partial<PatientRecord> & {
|
|
298
300
|
id: number;
|
|
299
301
|
};
|
|
300
|
-
export type PatientRecordOnboard = {
|
|
301
|
-
firstName: string;
|
|
302
|
-
lastName: string;
|
|
303
|
-
dateOfBirth: string;
|
|
304
|
-
phoneNumber: string;
|
|
305
|
-
addresses: Address[];
|
|
306
|
-
};
|
|
307
302
|
export interface PriceMatch {
|
|
308
303
|
id: number;
|
|
309
304
|
partnerPharmacyProfileId: number;
|
package/build/validators.js
CHANGED
|
@@ -30,9 +30,10 @@ export const quoteStatusValues = ['PENDING', 'PROCESSING', 'RESOLVED'];
|
|
|
30
30
|
export const paymentModeAtOrderValues = ['ONLINE', 'INVOICE', 'POS'];
|
|
31
31
|
export const partnerPharmacyPaymentModeValues = ['INVOICE', 'POS'];
|
|
32
32
|
export const paymentStatusValues = [
|
|
33
|
+
'UNPAID',
|
|
33
34
|
'AWAITING_PAYMENT',
|
|
34
|
-
'PAID',
|
|
35
35
|
'PENDING_INVOICE',
|
|
36
|
+
'PAID',
|
|
36
37
|
];
|
|
37
38
|
export const repeatStorageValues = [
|
|
38
39
|
'HEATHERSHAWS',
|