@natch-the-storage/heathershaw-platform-types 1.16.3 → 1.16.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,6 +1,6 @@
1
- export declare const cDProductCategoryLabelValues: string[];
2
- export declare const cDProductCategoryIdValues: string[];
3
- export declare const logItemTypeValues: string[];
1
+ export declare const cDProductCategoryLabelValues: readonly ["OTC", "Schedule 4", "Schedule 8"];
2
+ export declare const cDProductCategoryIdValues: readonly ["schedule_1", "schedule_4", "schedule_8"];
3
+ export declare const logItemTypeValues: readonly ["CREATED", "DRAFTED", "CREATED_PAID", "UPDATED", "UPDATED_DRAFT", "PAYMENT_LINK_SMS", "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"];
5
5
  export declare const orderStatusValues: readonly ["TO_REVIEW", "AWAITING_PICKUP", "POSTED", "IN_TRANSIT", "DELIVERED", "COLLECTED", "CANCELLED"];
6
6
  export declare const patientRecordSubAccountRelationshipValues: readonly ["Child", "Spouse", "Parent", "Pet", "Other"];
@@ -15,8 +15,8 @@ export declare const scriptTypeValues: readonly ["ERX", "PAPER"];
15
15
  export declare const shippingTypeValues: readonly ["STANDARD", "COLD_CHAIN", "SAME_DAY_COURIER"];
16
16
  export declare const staffProfileRoleValues: readonly ["STAFF", "ADMIN", "COUNSELLING", "SALES_REP", "ALT_THERAPIES", "COMPOUNDING"];
17
17
  export declare const staffProfileStatusValues: readonly ["ACTIVE", "SUSPENDED"];
18
- export declare const auStatesValues: string[];
19
- export declare const discountTierValues: number[];
18
+ export declare const auStatesValues: readonly ["VIC", "NSW", "QLD", "WA", "SA", "TAS", "ACT", "NT"];
19
+ export declare const discountTierValues: readonly [0.9, 0.88, 0.875, 0.85, 0.8, 0.75, 0.7];
20
20
  export type CDProductCategoryId = (typeof cDProductCategoryIdValues)[number];
21
21
  export type CDProductCategoryLabel = (typeof cDProductCategoryLabelValues)[number];
22
22
  export type LogItemType = (typeof logItemTypeValues)[number];
@@ -1,5 +1,9 @@
1
1
  //#region Enum value arrays ──────────────────────────────────────────────────────────
2
- export const cDProductCategoryLabelValues = ['OTC', 'Schedule 4', 'Schedule 8'];
2
+ export const cDProductCategoryLabelValues = [
3
+ 'OTC',
4
+ 'Schedule 4',
5
+ 'Schedule 8',
6
+ ];
3
7
  // don't touch, this is how they exist in Compound Direct
4
8
  export const cDProductCategoryIdValues = [
5
9
  'schedule_1',
@@ -88,7 +92,9 @@ export const auStatesValues = [
88
92
  'ACT',
89
93
  'NT',
90
94
  ];
91
- export const discountTierValues = [0.9, 0.88, 0.875, 0.85, 0.8, 0.75, 0.7];
95
+ export const discountTierValues = [
96
+ 0.9, 0.88, 0.875, 0.85, 0.8, 0.75, 0.7,
97
+ ];
92
98
  export const PHARMACIES = [
93
99
  {
94
100
  name: 'Malvern Road',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.16.3",
3
+ "version": "1.16.4",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",