@natch-the-storage/heathershaw-platform-types 1.15.3 → 1.15.5

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.
@@ -6,7 +6,7 @@ export declare const paperScriptReminderStatusValues: readonly ["PENDING", "RECE
6
6
  export declare const quoteStatusValues: readonly ["PENDING", "PROCESSING", "RESOLVED"];
7
7
  export declare const paymentModeAtOrderValues: readonly ["ONLINE", "INVOICE", "POS"];
8
8
  export declare const partnerPharmacyPaymentModeValues: readonly ["INVOICE", "POS"];
9
- export declare const paymentStatusValues: readonly ["AWAITING_PAYMENT", "PAID", "PENDING_INVOICE"];
9
+ export declare const paymentStatusValues: readonly ["UNPAID", "AWAITING_PAYMENT", "PENDING_INVOICE", "PAID"];
10
10
  export declare const repeatStorageValues: readonly ["HEATHERSHAWS", "PHARMACY", "PATIENT"];
11
11
  export declare const scriptStatusValues: readonly ["PENDING", "PROCESSED"];
12
12
  export declare const scriptTypeValues: readonly ["ERX", "PAPER"];
@@ -239,8 +239,10 @@ export interface PartnerPharmacyProfile {
239
239
  remindersEnabled?: boolean;
240
240
  addresses: Address[];
241
241
  xeroContactId?: string | null;
242
+ email: string;
243
+ phoneNumber: string;
242
244
  }
243
- export type PartnerPharmacyProfileCreate = Omit<PartnerPharmacyProfile, 'id' | 'priceMatches' | 'orders'>;
245
+ export type PartnerPharmacyProfileCreate = Omit<PartnerPharmacyProfile, 'id' | 'priceMatches' | 'orders' | 'phoneNumber' | 'email'>;
244
246
  export type PartnerPharmacyProfileUpdate = Partial<PartnerPharmacyProfile> & {
245
247
  id: number;
246
248
  };
@@ -297,13 +299,6 @@ export type PatientRecordCreate = Omit<PatientRecord, 'id'>;
297
299
  export type PatientRecordUpdate = Partial<PatientRecord> & {
298
300
  id: number;
299
301
  };
300
- export type PatientRecordOnboard = {
301
- firstName: string;
302
- lastName: string;
303
- dateOfBirth: string;
304
- phoneNumber: string;
305
- addresses: Address[];
306
- };
307
302
  export interface PriceMatch {
308
303
  id: number;
309
304
  partnerPharmacyProfileId: number;
@@ -30,9 +30,10 @@ export const quoteStatusValues = ['PENDING', 'PROCESSING', 'RESOLVED'];
30
30
  export const paymentModeAtOrderValues = ['ONLINE', 'INVOICE', 'POS'];
31
31
  export const partnerPharmacyPaymentModeValues = ['INVOICE', 'POS'];
32
32
  export const paymentStatusValues = [
33
+ 'UNPAID',
33
34
  'AWAITING_PAYMENT',
34
- 'PAID',
35
35
  'PENDING_INVOICE',
36
+ 'PAID',
36
37
  ];
37
38
  export const repeatStorageValues = [
38
39
  'HEATHERSHAWS',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.15.3",
3
+ "version": "1.15.5",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",