@natch-the-storage/heathershaw-platform-types 1.15.8 → 1.15.10
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 -1
- package/build/validators.js +8 -1
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -2,8 +2,9 @@ export declare const cDProductCategoryLabelValues: string[];
|
|
|
2
2
|
export declare const cDProductCategoryIdValues: string[];
|
|
3
3
|
export declare const orderFulfillmentValues: readonly ["PICKUP", "POST", "COURIER", "DELIVER"];
|
|
4
4
|
export declare const orderStatusValues: readonly ["TO_REVIEW", "AWAITING_PICKUP", "POSTED", "IN_TRANSIT", "DELIVERED", "COLLECTED", "CANCELLED"];
|
|
5
|
+
export declare const patientRecordSubAccountRelationshipValues: readonly ["Child", "Spouse", "Parent", "Pet", "Other"];
|
|
5
6
|
export declare const paperScriptReminderStatusValues: readonly ["PENDING", "RECEIVED", "ESCALATED"];
|
|
6
|
-
export declare const quoteStatusValues: readonly ["PENDING", "PROCESSING", "RESOLVED", "
|
|
7
|
+
export declare const quoteStatusValues: readonly ["PENDING", "PROCESSING", "RESOLVED", "DECLINED"];
|
|
7
8
|
export declare const paymentModeAtOrderValues: readonly ["ONLINE", "INVOICE", "POS"];
|
|
8
9
|
export declare const partnerPharmacyPaymentModeValues: readonly ["INVOICE", "POS"];
|
|
9
10
|
export declare const paymentStatusValues: readonly ["UNPAID", "AWAITING_PAYMENT", "PENDING_INVOICE", "PAID"];
|
|
@@ -20,6 +21,7 @@ export type CDProductCategoryLabel = (typeof cDProductCategoryLabelValues)[numbe
|
|
|
20
21
|
export type OrderFulfillment = (typeof orderFulfillmentValues)[number];
|
|
21
22
|
export type OrderStatus = (typeof orderStatusValues)[number];
|
|
22
23
|
export type PaperScriptReminderStatus = (typeof paperScriptReminderStatusValues)[number];
|
|
24
|
+
export type PatientRecordSubAccountRelationship = (typeof patientRecordSubAccountRelationshipValues)[number];
|
|
23
25
|
export type QuoteStatus = (typeof quoteStatusValues)[number];
|
|
24
26
|
export type PaymentModeAtOrder = (typeof paymentModeAtOrderValues)[number];
|
|
25
27
|
export type PartnerPharmacyPaymentMode = (typeof partnerPharmacyPaymentModeValues)[number];
|
package/build/validators.js
CHANGED
|
@@ -21,6 +21,13 @@ export const orderStatusValues = [
|
|
|
21
21
|
'COLLECTED', // terminal
|
|
22
22
|
'CANCELLED', // terminal
|
|
23
23
|
];
|
|
24
|
+
export const patientRecordSubAccountRelationshipValues = [
|
|
25
|
+
'Child',
|
|
26
|
+
'Spouse',
|
|
27
|
+
'Parent',
|
|
28
|
+
'Pet',
|
|
29
|
+
'Other',
|
|
30
|
+
];
|
|
24
31
|
export const paperScriptReminderStatusValues = [
|
|
25
32
|
'PENDING',
|
|
26
33
|
'RECEIVED',
|
|
@@ -30,7 +37,7 @@ export const quoteStatusValues = [
|
|
|
30
37
|
'PENDING',
|
|
31
38
|
'PROCESSING',
|
|
32
39
|
'RESOLVED',
|
|
33
|
-
'
|
|
40
|
+
'DECLINED',
|
|
34
41
|
];
|
|
35
42
|
export const paymentModeAtOrderValues = ['ONLINE', 'INVOICE', 'POS'];
|
|
36
43
|
export const partnerPharmacyPaymentModeValues = ['INVOICE', 'POS'];
|