@natch-the-storage/heathershaw-platform-types 1.11.1 → 1.11.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.
@@ -106,7 +106,7 @@ export interface PaymentLinkCreate {
106
106
  partnerPharmacyProfileId?: number;
107
107
  patientRecordId?: number;
108
108
  directUserProfileId?: number;
109
- phone?: string;
109
+ phoneNumber?: string;
110
110
  email?: string;
111
111
  }
112
112
  interface DashboardData {
@@ -222,9 +222,7 @@ export interface PartnerPharmacyProfile {
222
222
  discountTier: number;
223
223
  paymentMode: PartnerPharmacyPaymentMode;
224
224
  remindersEnabled?: boolean;
225
- priceMatches?: PriceMatch[];
226
225
  addresses: Address[];
227
- orders?: Order[];
228
226
  xeroContactId?: string | null;
229
227
  }
230
228
  export type PartnerPharmacyProfileCreate = Omit<PartnerPharmacyProfile, 'id' | 'priceMatches' | 'orders'>;
@@ -272,21 +270,15 @@ export interface PatientRecord {
272
270
  dateOfBirth: string;
273
271
  medicareNumber?: string;
274
272
  email: string;
275
- phone: string;
276
- addresses?: Address[];
273
+ phoneNumber: string;
274
+ addresses: Address[];
277
275
  healthInfo?: HealthInfo;
278
276
  reminderEnabled?: boolean;
279
277
  orderHistory?: Order[];
280
278
  animalSpecies?: string;
281
279
  relationship?: string | null;
282
280
  }
283
- export type PatientRecordCreate = Partial<PatientRecord> & {
284
- firstName: string;
285
- lastName: string;
286
- dateOfBirth: string;
287
- email: string;
288
- phone: string;
289
- };
281
+ export type PatientRecordCreate = Omit<PatientRecord, 'id'>;
290
282
  export type PatientRecordUpdate = Partial<PatientRecord> & {
291
283
  id: number;
292
284
  };
@@ -352,7 +344,7 @@ export type AdminScript = Script & {
352
344
  firstName: string;
353
345
  lastName: string;
354
346
  dateOfBirth: string;
355
- phone: string;
347
+ phoneNumber: string;
356
348
  email: string;
357
349
  };
358
350
  export type EScriptCreate = Pick<Script, 'patientRecordId' | 'partnerPharmacyProfileId'> & {
@@ -631,7 +623,7 @@ export interface ContactFormInternalCreate {
631
623
  pharmacyName?: string;
632
624
  name: string;
633
625
  email: string;
634
- phone?: string;
626
+ phoneNumber?: string;
635
627
  orderNumber?: string;
636
628
  message: string;
637
629
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.11.1",
3
+ "version": "1.11.2",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",