@natch-the-storage/heathershaw-platform-types 1.19.16 → 1.19.18

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.
@@ -692,6 +692,7 @@ export interface CDScriptList {
692
692
  routeOfAdministration: string;
693
693
  dosageFormName: string;
694
694
  datePrescribed: string;
695
+ /** The expiry date of the SCRIPT/PRESCRIPTION, not the medicine */
695
696
  expiryDate: string;
696
697
  isExpired: boolean;
697
698
  excludeUnitsFromLabel: boolean;
@@ -732,6 +733,7 @@ export interface CDScript {
732
733
  properties: CDScriptProperties[];
733
734
  ingredients: CDScriptIngredients[];
734
735
  pricing: CDScriptPriceOption[];
736
+ expiryDays: number;
735
737
  };
736
738
  itemCount: number;
737
739
  }
@@ -879,8 +881,10 @@ export interface CDFormulationList {
879
881
  infoUrl: string;
880
882
  isSignedOff: boolean;
881
883
  }
884
+ /** A superset of CDFormulation that is easier to work with */
882
885
  export type CDProduct = Omit<CDFormulation, 'pricing'> & Omit<CDScriptPriceOption, 'id'> & CDProductCategory & {
883
886
  pricingId: number;
887
+ expiryDays: number;
884
888
  };
885
889
  export interface CDFormulationPrice {
886
890
  formulationId: number;
@@ -1040,6 +1044,7 @@ export declare const ApiRoutes: {
1040
1044
  quoteReadyNotification: string;
1041
1045
  contactFormNotification: string;
1042
1046
  portalInvite: string;
1047
+ sendSms: string;
1043
1048
  };
1044
1049
  orders: {
1045
1050
  list: (filters?: ListParams & {
@@ -485,6 +485,7 @@ export const ApiRoutes = {
485
485
  quoteReadyNotification: '/api/notifications/quotes',
486
486
  contactFormNotification: '/api/notifications/contact-requests',
487
487
  portalInvite: '/api/notifications/portal-invites',
488
+ sendSms: '/api/notifications/sms',
488
489
  },
489
490
  orders: {
490
491
  list: (filters) => `/api/orders${handleParams(filters)}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.19.16",
3
+ "version": "1.19.18",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",