@natch-the-storage/heathershaw-platform-types 1.10.23 → 1.10.25

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.
@@ -24,6 +24,16 @@ export type StaffProfileRole = (typeof staffProfileRoleValues)[number];
24
24
  export type StaffProfileStatus = (typeof staffProfileStatusValues)[number];
25
25
  export type AuStates = (typeof auStatesValues)[number];
26
26
  export type DiscountTiers = (typeof discountTierValues)[number];
27
+ export type Pharmacy = {
28
+ name: string;
29
+ address: string;
30
+ openingHours: string;
31
+ tag: string;
32
+ color: 'default' | 'secondary' | 'alert' | 'warning';
33
+ location: string;
34
+ link: string;
35
+ };
36
+ export declare const PHARMACIES: Pharmacy[];
27
37
  export interface Address {
28
38
  street: string;
29
39
  suburb: string;
@@ -163,6 +173,7 @@ export interface Order {
163
173
  invoicePrice?: number;
164
174
  hubspotContactId?: string;
165
175
  created: string;
176
+ requiredDate: string;
166
177
  }
167
178
  export type OrderCreate = Omit<Order, 'id' | 'status' | 'created'>;
168
179
  export interface PaperScriptReminder {
@@ -623,7 +634,7 @@ export interface CDFormulationList {
623
634
  infoUrl: string;
624
635
  isSignedOff: boolean;
625
636
  }
626
- export declare const parseCategory: (category: string) => "Order or delivery" | "Prescription" | "Profile or account" | "Compounding" | "General";
637
+ export declare const parseCategory: (category: string) => "Compounding" | "Order or delivery" | "Prescription" | "Profile or account" | "General";
627
638
  export interface ContactFormInternalCreate {
628
639
  category: string;
629
640
  pharmacyName?: string;
@@ -46,6 +46,44 @@ export const auStatesValues = [
46
46
  'NT',
47
47
  ];
48
48
  export const discountTierValues = [0.9, 0.88, 0.875, 0.85, 0.8, 0.75, 0.7];
49
+ export const PHARMACIES = [
50
+ {
51
+ name: 'Malvern Road',
52
+ address: '1402 Malvern Road, Glen Iris VIC 3146',
53
+ openingHours: 'Mon - Fri 8:30am - 7pm · Sat 9am - 4pm',
54
+ tag: 'Compounding',
55
+ color: 'secondary',
56
+ location: 'test',
57
+ link: 'https://maps.app.goo.gl/FEFLybPjW3XH7VzZ7',
58
+ },
59
+ {
60
+ name: 'Burke Road',
61
+ address: '153 Burke Road, Glen Iris VIC 3146',
62
+ openingHours: 'Mon - Fri 8:30am - 7pm · Sat 9am - 4pm',
63
+ tag: 'Since 1926',
64
+ color: 'default',
65
+ location: 'test',
66
+ link: 'https://maps.app.goo.gl/MNL831qc358NoACb9',
67
+ },
68
+ {
69
+ name: 'High Street',
70
+ address: '123 High Street, Malvern VIC 3144',
71
+ openingHours: 'Mon - Fri 8:30am - 7pm · Sat 9am - 4pm',
72
+ tag: 'Alt. therapies',
73
+ color: 'secondary',
74
+ location: 'test',
75
+ link: 'https://maps.app.goo.gl/yJh72Am8egSSPFyp6',
76
+ },
77
+ {
78
+ name: 'Wattletree Road',
79
+ address: '284 Wattletree Road, Glen Iris VIC 3146',
80
+ openingHours: 'Mon - Fri 8:30am - 7pm · Sat 9am - 4pm',
81
+ tag: 'Newest',
82
+ color: 'alert',
83
+ location: 'test',
84
+ link: 'https://maps.app.goo.gl/g1wAP1K8R8NCeqL89',
85
+ },
86
+ ];
49
87
  //#endregion ──────────────────────────────────────────────────────────────────────
50
88
  //#region compound direct ────────────────────────────────────────────────────────────
51
89
  export const CompoundDirectAnimalId = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.10.23",
3
+ "version": "1.10.25",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",