@natch-the-storage/heathershaw-platform-types 1.17.2 → 1.17.4
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 +2 -2
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const cDProductCategoryLabelValues: readonly ["OTC", "Schedule 4", "Schedule 8"];
|
|
1
|
+
export declare const cDProductCategoryLabelValues: readonly ["OTC", "Schedule 2", "Schedule 4", "Schedule 8"];
|
|
2
2
|
export declare const cDProductCategoryIdValues: readonly ["schedule_1", "schedule_2", "schedule_4", "schedule_8"];
|
|
3
3
|
export declare const logItemTypeValues: readonly ["CREATED", "CREATED_PAID", "UPDATED", "UPDATED_DRAFT", "MARKED_FOR_PICKUP", "CANCELLED", "PAYMENT_LINK_PHONE", "PAYMENT_LINK_EMAIL", "PAYMENT_LINK_BOTH", "PARTNER_ORDERED_INVOICE", "PARTNER_ORDERED_POS", "PAID", "MARKED_PAID", "PAYMENT_LINK_PAID"];
|
|
4
4
|
export declare const orderFulfillmentValues: readonly ["PICKUP", "POST", "COURIER", "DELIVER"];
|
|
@@ -360,9 +360,9 @@ export interface Quote {
|
|
|
360
360
|
status: QuoteStatus;
|
|
361
361
|
partnerPharmacyProfileId: number;
|
|
362
362
|
name: string;
|
|
363
|
-
strength: string;
|
|
364
363
|
form: string;
|
|
365
364
|
quantity: string;
|
|
365
|
+
strength?: string;
|
|
366
366
|
details?: string;
|
|
367
367
|
token?: string;
|
|
368
368
|
fileKey?: string;
|
package/build/validators.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
//#region Enum value arrays ──────────────────────────────────────────────────────────
|
|
2
2
|
export const cDProductCategoryLabelValues = [
|
|
3
3
|
'OTC',
|
|
4
|
+
'Schedule 2',
|
|
4
5
|
'Schedule 4',
|
|
5
6
|
'Schedule 8',
|
|
6
7
|
];
|
|
@@ -158,8 +159,7 @@ export const PHARMACIES = [
|
|
|
158
159
|
//#endregion ──────────────────────────────────────────────────────────────────────
|
|
159
160
|
//#region compound direct ────────────────────────────────────────────────────────────
|
|
160
161
|
export const CDProductCategoriesIdLabel = cDProductCategoryIdValues.map((v, i) => {
|
|
161
|
-
|
|
162
|
-
return { id: v, label: cDProductCategoryLabelValues[index] };
|
|
162
|
+
return { id: v, label: cDProductCategoryLabelValues[i] };
|
|
163
163
|
});
|
|
164
164
|
export const CompoundDirectAnimalId = {
|
|
165
165
|
dog: { id: 1, name: 'Dog' },
|