@natch-the-storage/heathershaw-platform-types 1.7.1 → 1.7.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.
@@ -80,6 +80,19 @@ export interface LineItem {
80
80
  tierFee?: string;
81
81
  billToPharmacy?: string;
82
82
  invoicePrice?: string;
83
+ otherScriptProperties: {
84
+ for: {
85
+ customerId: number;
86
+ patientRecordId: number;
87
+ patientName: string;
88
+ };
89
+ quantity: string;
90
+ expiryDate: string;
91
+ repeatsLeft: number;
92
+ supplyNumber: number;
93
+ unit?: string;
94
+ properties: CDScriptProperties[];
95
+ };
83
96
  }
84
97
  export interface GetById {
85
98
  id: number;
@@ -335,12 +348,12 @@ export interface PaperScriptCreate {
335
348
  }
336
349
  export interface Cart {
337
350
  id: number;
338
- items: any[];
351
+ items: LineItem[];
339
352
  updatedAt: Date;
340
353
  }
341
354
  export interface CartUpdate {
342
355
  id: number;
343
- items: any[];
356
+ items: LineItem[];
344
357
  }
345
358
  export declare const CompoundDirectAnimalId: {
346
359
  readonly dog: {
@@ -492,6 +505,9 @@ export interface CDScript {
492
505
  repeatsTotal: number;
493
506
  repeatsLeft: number;
494
507
  supplyNumber: number;
508
+ ePrescription?: {
509
+ type: string;
510
+ };
495
511
  };
496
512
  formulation: {
497
513
  properties?: CDScriptProperties[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.7.1",
3
+ "version": "1.7.2",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",