@natch-the-storage/heathershaw-platform-types 1.19.3 → 1.19.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.
@@ -252,13 +252,11 @@ export interface DirectUserProfile {
252
252
  hubspotContactId?: string;
253
253
  }
254
254
  export type DirectUserProfileCreate = Omit<DirectUserProfile, 'id'>;
255
- export type Order = ({
255
+ export type Order = {
256
+ id: number;
256
257
  partnerPharmacyProfileId?: number | null;
257
258
  patientRecordId?: number | null;
258
- } | {
259
259
  directUserProfileId?: number | null;
260
- }) & {
261
- id: number;
262
260
  for: string;
263
261
  type: OrderType;
264
262
  address: OrderAddress;
@@ -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.3",
3
+ "version": "1.19.5",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",