@natch-the-storage/heathershaw-platform-types 1.21.0 → 1.21.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.
@@ -312,7 +312,6 @@ export interface OrderAddress {
312
312
  address: Address;
313
313
  deliveryInstructions?: string;
314
314
  }
315
- /** Mimics the cardFields in the API, this is what the card field names should look like on the frontend */
316
315
  export interface ChargeOrder {
317
316
  cardNumber: string;
318
317
  cardHolder: string;
@@ -829,11 +828,11 @@ export type CDDispensedScriptList = Pick<CDDispensedScript, 'scriptId' | 'script
829
828
  retailProductQuantity?: string;
830
829
  retailProductBrand?: string;
831
830
  retailProductGroupId?: string;
832
- quantity: 5;
833
- itemCount: 1;
831
+ quantity: number;
832
+ itemCount: number;
834
833
  /** ISO timestamp yyyy-mm-ddThh:mm:ss.000Z */
835
834
  modifiedDate?: string;
836
- schedule?: 'S4';
835
+ schedule?: string;
837
836
  refillReminderEnabled?: boolean;
838
837
  /** ISO date yyyy-mm-dd */
839
838
  defaultNextRefillReminderDate?: string;
@@ -872,7 +871,7 @@ export interface CDSearchScripts {
872
871
  isEPrescription?: boolean;
873
872
  unit?: string;
874
873
  /** ISO timestamp yyyy-mm-ddThh:mm:ss.000Z */
875
- dateDispensed?: '2026-06-19T06:29:02.000Z';
874
+ dateDispensed?: string;
876
875
  /** ISO date - yyyy-mm-dd */
877
876
  datePrescribed?: string;
878
877
  supplyNumber?: number;
@@ -886,7 +885,7 @@ export interface CDSearchScripts {
886
885
  /** ISO date - yyyy-mm-dd */
887
886
  expiryDate?: string;
888
887
  /** Number of days the supply covers */
889
- daysSupply?: 30;
888
+ daysSupply?: number;
890
889
  refillReminderEnabled?: boolean;
891
890
  /** Default next refill reminder date
892
891
  * ISO date - yyyy-mm-dd */
@@ -1181,6 +1180,8 @@ export declare const ApiRoutes: {
1181
1180
  getDraftScriptById: (id: number) => string;
1182
1181
  getDraftScriptsByHousehold: string;
1183
1182
  getCustomerScripts: string;
1183
+ getCustomerDetailedScripts: string;
1184
+ getHouseholdScripts: string;
1184
1185
  searchDispensedScripts: string;
1185
1186
  getDispensedScriptById: (id: number) => string;
1186
1187
  updateDispensedScriptById: (id: number) => string;
@@ -466,6 +466,8 @@ export const ApiRoutes = {
466
466
  getDraftScriptById: (id) => `/api/compound-direct/draft-scripts/${id}`,
467
467
  getDraftScriptsByHousehold: '/api/compound-direct/scripts/households',
468
468
  getCustomerScripts: '/api/compound-direct/customer-scripts',
469
+ getCustomerDetailedScripts: '/api/compound-direct/customer-scripts/detailed',
470
+ getHouseholdScripts: '/api/compound-direct/customer-scripts/households',
469
471
  searchDispensedScripts: '/api/compound-direct/dispensed-scripts',
470
472
  getDispensedScriptById: (id) => `/api/compound-direct/script/${id}`,
471
473
  updateDispensedScriptById: (id) => `/api/compound-direct/script/${id}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.21.0",
3
+ "version": "1.21.2",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",