@natch-the-storage/heathershaw-platform-types 1.14.1 → 1.14.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 +3 -1
- package/build/validators.js +2 -1
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export declare const paymentModeAtOrderValues: readonly ["ONLINE", "INVOICE", "P
|
|
|
8
8
|
export declare const partnerPharmacyPaymentModeValues: readonly ["INVOICE", "POS"];
|
|
9
9
|
export declare const paymentStatusValues: readonly ["AWAITING_PAYMENT", "PAID", "PENDING_INVOICE"];
|
|
10
10
|
export declare const repeatStorageValues: readonly ["HEATHERSHAWS", "PHARMACY", "PATIENT"];
|
|
11
|
+
export declare const scriptStatusValues: readonly ["PENDING", "PROCESSED"];
|
|
11
12
|
export declare const scriptTypeValues: readonly ["ERX", "PAPER"];
|
|
12
13
|
export declare const shippingTypeValues: readonly ["STANDARD", "COLD_CHAIN", "SAME_DAY_COURIER"];
|
|
13
14
|
export declare const staffProfileRoleValues: readonly ["STAFF", "ADMIN", "COUNSELLING", "SALES_REP", "ALT_THERAPIES", "COMPOUNDING"];
|
|
@@ -24,6 +25,7 @@ export type PaymentModeAtOrder = (typeof paymentModeAtOrderValues)[number];
|
|
|
24
25
|
export type PartnerPharmacyPaymentMode = (typeof partnerPharmacyPaymentModeValues)[number];
|
|
25
26
|
export type PaymentStatus = (typeof paymentStatusValues)[number];
|
|
26
27
|
export type RepeatStorage = (typeof repeatStorageValues)[number];
|
|
28
|
+
export type ScriptStatus = (typeof scriptTypeValues)[number];
|
|
27
29
|
export type ScriptType = (typeof scriptTypeValues)[number];
|
|
28
30
|
export type ShippingType = (typeof shippingTypeValues)[number];
|
|
29
31
|
export type StaffProfileRole = (typeof staffProfileRoleValues)[number];
|
|
@@ -646,7 +648,7 @@ export type CDProduct = Omit<CDFormulation, 'pricing'> & Omit<CDScriptPriceOptio
|
|
|
646
648
|
category: CDProductCategoryId;
|
|
647
649
|
categoryLabel: CDProductCategoryLabel;
|
|
648
650
|
};
|
|
649
|
-
export declare const
|
|
651
|
+
export declare const CDProductForms: {
|
|
650
652
|
id: string;
|
|
651
653
|
label: string;
|
|
652
654
|
}[];
|
package/build/validators.js
CHANGED
|
@@ -39,6 +39,7 @@ export const repeatStorageValues = [
|
|
|
39
39
|
'PHARMACY',
|
|
40
40
|
'PATIENT',
|
|
41
41
|
];
|
|
42
|
+
export const scriptStatusValues = ['PENDING', 'PROCESSED'];
|
|
42
43
|
export const scriptTypeValues = ['ERX', 'PAPER'];
|
|
43
44
|
export const shippingTypeValues = [
|
|
44
45
|
'STANDARD',
|
|
@@ -156,7 +157,7 @@ export const CompoundDirectAnimalId = {
|
|
|
156
157
|
other: { id: 25, name: 'N/A' },
|
|
157
158
|
};
|
|
158
159
|
export const AnimalSpeciesKeys = Object.keys(CompoundDirectAnimalId);
|
|
159
|
-
export const
|
|
160
|
+
export const CDProductForms = [
|
|
160
161
|
{ id: 'capsule', label: 'Capsules' },
|
|
161
162
|
{ id: 'oral liquid', label: 'Oral liquids / suspensions' },
|
|
162
163
|
{ id: 'suppository', label: 'Suppositories' },
|