@natch-the-storage/heathershaw-platform-types 1.19.12 → 1.19.14

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.
@@ -160,13 +160,14 @@ export interface LineItem {
160
160
  fileName?: string;
161
161
  };
162
162
  paperScriptReceived: boolean;
163
- otherScriptProperties: {
163
+ itemProperties: {
164
164
  for: {
165
165
  customerId: number;
166
166
  patientRecordId: number;
167
167
  patientFirstName: string;
168
168
  patientLastName: string;
169
169
  };
170
+ formulationId: number;
170
171
  expiryDate: string;
171
172
  repeatsLeft: number;
172
173
  supplyNumber: number;
@@ -347,8 +348,12 @@ export interface PartnerPharmacyProfile {
347
348
  paymentMode: PartnerPharmacyPaymentMode;
348
349
  remindersEnabled?: boolean;
349
350
  addresses: Address[];
350
- xeroContactId?: string | null;
351
351
  hubspotContactId?: string;
352
+ xeroContactId?: string | null;
353
+ xeroInvoicePrefix?: string;
354
+ bankAccountName?: string;
355
+ bankAccountNumber?: string;
356
+ bsb?: string;
352
357
  email: string;
353
358
  phoneNumber: string;
354
359
  }
@@ -204,7 +204,7 @@ export const PHARMACIES = [
204
204
  * @returns
205
205
  */
206
206
  export function lineItemsHasColdChain(items) {
207
- return items.some((item) => item.otherScriptProperties.properties.some((p) => p.code === 'WARN 6' || p.code === 'WARN H'));
207
+ return items.some((item) => item.itemProperties.properties.some((p) => p.code === 'WARN 6' || p.code === 'WARN H'));
208
208
  }
209
209
  /**
210
210
  * Gets an iso timestamp based on the current AU-Sydney/Melbourne timezone
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.19.12",
3
+ "version": "1.19.14",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",