@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.
@@ -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;
@@ -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
- const index = i >= 1 ? i - 1 : i;
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' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.17.2",
3
+ "version": "1.17.4",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",