@natch-the-storage/heathershaw-platform-types 1.15.9 → 1.15.11

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.
@@ -2,6 +2,7 @@ export declare const cDProductCategoryLabelValues: string[];
2
2
  export declare const cDProductCategoryIdValues: string[];
3
3
  export declare const orderFulfillmentValues: readonly ["PICKUP", "POST", "COURIER", "DELIVER"];
4
4
  export declare const orderStatusValues: readonly ["TO_REVIEW", "AWAITING_PICKUP", "POSTED", "IN_TRANSIT", "DELIVERED", "COLLECTED", "CANCELLED"];
5
+ export declare const patientRecordSubAccountRelationshipValues: readonly ["Child", "Spouse", "Parent", "Pet", "Other"];
5
6
  export declare const paperScriptReminderStatusValues: readonly ["PENDING", "RECEIVED", "ESCALATED"];
6
7
  export declare const quoteStatusValues: readonly ["PENDING", "PROCESSING", "RESOLVED", "DECLINED"];
7
8
  export declare const paymentModeAtOrderValues: readonly ["ONLINE", "INVOICE", "POS"];
@@ -20,6 +21,7 @@ export type CDProductCategoryLabel = (typeof cDProductCategoryLabelValues)[numbe
20
21
  export type OrderFulfillment = (typeof orderFulfillmentValues)[number];
21
22
  export type OrderStatus = (typeof orderStatusValues)[number];
22
23
  export type PaperScriptReminderStatus = (typeof paperScriptReminderStatusValues)[number];
24
+ export type PatientRecordSubAccountRelationship = (typeof patientRecordSubAccountRelationshipValues)[number];
23
25
  export type QuoteStatus = (typeof quoteStatusValues)[number];
24
26
  export type PaymentModeAtOrder = (typeof paymentModeAtOrderValues)[number];
25
27
  export type PartnerPharmacyPaymentMode = (typeof partnerPharmacyPaymentModeValues)[number];
@@ -294,8 +296,11 @@ export interface PatientRecord {
294
296
  orderHistory?: Order[];
295
297
  animalSpecies?: string;
296
298
  relationship?: string | null;
299
+ active: boolean;
297
300
  }
298
- export type PatientRecordCreate = Omit<PatientRecord, 'id'>;
301
+ export type PatientRecordCreate = Omit<PatientRecord, 'id' | 'active'> & {
302
+ active?: boolean;
303
+ };
299
304
  export type PatientRecordUpdate = Partial<PatientRecord> & {
300
305
  id: number;
301
306
  };
@@ -21,6 +21,13 @@ export const orderStatusValues = [
21
21
  'COLLECTED', // terminal
22
22
  'CANCELLED', // terminal
23
23
  ];
24
+ export const patientRecordSubAccountRelationshipValues = [
25
+ 'Child',
26
+ 'Spouse',
27
+ 'Parent',
28
+ 'Pet',
29
+ 'Other',
30
+ ];
24
31
  export const paperScriptReminderStatusValues = [
25
32
  'PENDING',
26
33
  'RECEIVED',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.15.9",
3
+ "version": "1.15.11",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",