@natch-the-storage/heathershaw-platform-types 1.19.4 → 1.19.6

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;
@@ -457,8 +457,8 @@ export const ApiRoutes = {
457
457
  createPaymentLinkToken: '/api/orders/payment-links',
458
458
  getByPaymentLinkToken: (token) => `/api/orders/payment-links/${token}`,
459
459
  updateByPaymentLinkToken: (token) => `/api/orders/payment-links/${token}`,
460
- chargePaymentLink: (token) => `/orders/payment-links/${token}/charge`,
461
- chargeOrder: (id) => `/orders/${id}/charge`,
460
+ chargePaymentLink: (token) => `/api/orders/payment-links/${token}/charge`,
461
+ chargeOrder: (id) => `/api/orders/${id}/charge`,
462
462
  },
463
463
  paperScriptReminders: {
464
464
  list: '/api/paper-script-reminders',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.19.4",
3
+ "version": "1.19.6",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",