@natch-the-storage/heathershaw-platform-types 1.19.5 → 1.19.7

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.
@@ -306,6 +306,9 @@ export interface ChargeOrder {
306
306
  cardHolder: string;
307
307
  cardExpiry: string;
308
308
  cvv: string;
309
+ customerIp?: string;
310
+ orderUpdate?: Omit<OrderUpdate, 'id' | 'directUserProfileId' | 'partnerPharmacyProfileId' | 'patientRecordId'>;
311
+ patientRecordUpdate?: Omit<PatientRecordUpdate, 'id'>;
309
312
  }
310
313
  export interface PaperScriptReminder {
311
314
  id: number;
@@ -391,6 +394,8 @@ export interface PatientRecord {
391
394
  medicareIrn?: string;
392
395
  email: string;
393
396
  phoneNumber: string;
397
+ contactPersonName?: string;
398
+ contactPersonPhoneNumber?: string;
394
399
  addresses: Address[];
395
400
  healthInfo?: HealthInfo;
396
401
  reminderEnabled?: boolean;
@@ -1039,7 +1044,6 @@ export declare const ApiRoutes: {
1039
1044
  delete: (id: number) => string;
1040
1045
  createPaymentLinkToken: string;
1041
1046
  getByPaymentLinkToken: (token: string) => string;
1042
- updateByPaymentLinkToken: (token: string) => string;
1043
1047
  chargePaymentLink: (token: string) => string;
1044
1048
  chargeOrder: (id: string) => string;
1045
1049
  };
@@ -456,7 +456,6 @@ export const ApiRoutes = {
456
456
  delete: (id) => `/api/orders/${id}`,
457
457
  createPaymentLinkToken: '/api/orders/payment-links',
458
458
  getByPaymentLinkToken: (token) => `/api/orders/payment-links/${token}`,
459
- updateByPaymentLinkToken: (token) => `/api/orders/payment-links/${token}`,
460
459
  chargePaymentLink: (token) => `/api/orders/payment-links/${token}/charge`,
461
460
  chargeOrder: (id) => `/api/orders/${id}/charge`,
462
461
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.19.5",
3
+ "version": "1.19.7",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",