@natch-the-storage/heathershaw-platform-types 1.13.0 → 1.13.2
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 +2 -2
- package/build/validators.js +7 -3
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const cDProductCategoryLabelValues: string[];
|
|
2
2
|
export declare const cDProductCategoryIdValues: string[];
|
|
3
3
|
export declare const orderFulfillmentValues: readonly ["PICKUP", "POST", "COURIER", "DELIVER"];
|
|
4
|
-
export declare const orderStatusValues: readonly ["
|
|
4
|
+
export declare const orderStatusValues: readonly ["TO_REVIEW", "AWAITING_PICKUP", "POSTED", "DISPATCHED", "IN_TRANSIT", "DELIVERED", "COLLECTED", "CANCELLED"];
|
|
5
5
|
export declare const paperScriptReminderStatusValues: readonly ["PENDING", "RECEIVED", "ESCALATED"];
|
|
6
6
|
export declare const quoteStatusValues: readonly ["PENDING", "PROCESSING", "RESOLVED"];
|
|
7
7
|
export declare const paymentModeAtOrderValues: readonly ["ONLINE", "INVOICE", "POS"];
|
|
@@ -50,8 +50,8 @@ export interface Address {
|
|
|
50
50
|
defaultAddress?: boolean;
|
|
51
51
|
}
|
|
52
52
|
export interface HealthInfo {
|
|
53
|
-
weightChild?: string;
|
|
54
53
|
medicationFor: string;
|
|
54
|
+
weightChild?: number;
|
|
55
55
|
pregnant: boolean;
|
|
56
56
|
breastfeeding: boolean;
|
|
57
57
|
planningPregnant: boolean;
|
package/build/validators.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
//#region Enum value arrays ──────────────────────────────────────────────────────────
|
|
2
2
|
export const cDProductCategoryLabelValues = ['OTC', 'Schedule 4', 'Schedule 8'];
|
|
3
|
+
// don't touch, this is how they exist in Compound Direct
|
|
3
4
|
export const cDProductCategoryIdValues = [
|
|
4
5
|
'schedule_1',
|
|
5
6
|
'schedule_4',
|
|
@@ -12,11 +13,14 @@ export const orderFulfillmentValues = [
|
|
|
12
13
|
'DELIVER',
|
|
13
14
|
];
|
|
14
15
|
export const orderStatusValues = [
|
|
15
|
-
'
|
|
16
|
-
'
|
|
16
|
+
'TO_REVIEW',
|
|
17
|
+
'AWAITING_PICKUP',
|
|
18
|
+
'POSTED',
|
|
17
19
|
'DISPATCHED',
|
|
20
|
+
'IN_TRANSIT',
|
|
18
21
|
'DELIVERED',
|
|
19
|
-
'
|
|
22
|
+
'COLLECTED',
|
|
23
|
+
'CANCELLED',
|
|
20
24
|
];
|
|
21
25
|
export const paperScriptReminderStatusValues = [
|
|
22
26
|
'PENDING',
|