@natch-the-storage/heathershaw-platform-types 1.16.1 → 1.16.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.
@@ -1,5 +1,6 @@
1
1
  export declare const cDProductCategoryLabelValues: string[];
2
2
  export declare const cDProductCategoryIdValues: string[];
3
+ export declare const logItemTypeValues: string[];
3
4
  export declare const orderFulfillmentValues: readonly ["PICKUP", "POST", "COURIER", "DELIVER"];
4
5
  export declare const orderStatusValues: readonly ["TO_REVIEW", "AWAITING_PICKUP", "POSTED", "IN_TRANSIT", "DELIVERED", "COLLECTED", "CANCELLED"];
5
6
  export declare const patientRecordSubAccountRelationshipValues: readonly ["Child", "Spouse", "Parent", "Pet", "Other"];
@@ -18,6 +19,7 @@ export declare const auStatesValues: string[];
18
19
  export declare const discountTierValues: number[];
19
20
  export type CDProductCategoryId = (typeof cDProductCategoryIdValues)[number];
20
21
  export type CDProductCategoryLabel = (typeof cDProductCategoryLabelValues)[number];
22
+ export type LogItemType = (typeof logItemTypeValues)[number];
21
23
  export type OrderFulfillment = (typeof orderFulfillmentValues)[number];
22
24
  export type OrderStatus = (typeof orderStatusValues)[number];
23
25
  export type PaperScriptReminderStatus = (typeof paperScriptReminderStatusValues)[number];
@@ -101,6 +103,14 @@ export interface LineItem {
101
103
  pricing: CDScriptPriceOption;
102
104
  };
103
105
  }
106
+ export interface LogItem {
107
+ timestamp: string;
108
+ type: LogItemType;
109
+ directUserProfileId?: number;
110
+ partnerPharmacyProfileId?: number;
111
+ staffProfileId?: number;
112
+ note?: string;
113
+ }
104
114
  export interface GetById {
105
115
  id: number;
106
116
  }
@@ -6,6 +6,21 @@ export const cDProductCategoryIdValues = [
6
6
  'schedule_4',
7
7
  'schedule_8',
8
8
  ];
9
+ export const logItemTypeValues = [
10
+ 'CREATED',
11
+ 'DRAFTED',
12
+ 'CREATED_PAID',
13
+ 'UPDATED',
14
+ 'UPDATED_DRAFT',
15
+ 'PAYMENT_LINK_SMS',
16
+ 'PAYMENT_LINK_EMAIL',
17
+ 'PAYMENT_LINK_BOTH',
18
+ 'PARTNER_ORDERED_INVOICE',
19
+ 'PARTNER_ORDERED_POS',
20
+ 'PAID',
21
+ 'MARKED_PAID',
22
+ 'PAYMENT_LINK_PAID',
23
+ ];
9
24
  export const orderFulfillmentValues = [
10
25
  'PICKUP',
11
26
  'POST',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.16.1",
3
+ "version": "1.16.2",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",