@natch-the-storage/heathershaw-platform-types 1.15.4 → 1.15.6
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 +3 -2
- 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"];
|
|
@@ -321,9 +321,10 @@ export interface Quote {
|
|
|
321
321
|
details?: string;
|
|
322
322
|
token?: string;
|
|
323
323
|
fileKey?: string;
|
|
324
|
+
productId?: number;
|
|
324
325
|
created: string;
|
|
325
326
|
}
|
|
326
|
-
export type QuoteCreate = Omit<Quote, 'id' | 'status' | 'created'>;
|
|
327
|
+
export type QuoteCreate = Omit<Quote, 'id' | 'status' | 'created' | 'productId'>;
|
|
327
328
|
export interface RepeatReminder {
|
|
328
329
|
id: number;
|
|
329
330
|
orderId?: 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',
|