@natch-the-storage/heathershaw-platform-types 1.7.3 → 1.7.4

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.
@@ -104,7 +104,11 @@ export interface Order {
104
104
  id: number;
105
105
  partnerPharmacyProfileId?: number | null;
106
106
  directUserProfileId?: number | null;
107
- address: string;
107
+ address: {
108
+ type: string;
109
+ name: string;
110
+ address: string;
111
+ };
108
112
  trackingNumber?: string;
109
113
  status: string;
110
114
  store?: string;
@@ -128,7 +132,11 @@ export interface Order {
128
132
  export interface OrderCreate {
129
133
  partnerPharmacyProfileId?: number | null;
130
134
  directUserProfileId?: number | null;
131
- address: string;
135
+ address: {
136
+ type: string;
137
+ name: string;
138
+ address: string;
139
+ };
132
140
  trackingNumber?: string;
133
141
  status?: string;
134
142
  store?: string;
@@ -612,6 +620,7 @@ export declare const ApiRoutes: {
612
620
  cart: {
613
621
  get: (id: number) => string;
614
622
  put: string;
623
+ delete: (id: number) => string;
615
624
  };
616
625
  compoundDirect: {
617
626
  searchCustomers: ({ name, dateOfBirth, email, phone }: CDCustomerSearch) => string;
@@ -145,6 +145,7 @@ export const ApiRoutes = {
145
145
  cart: {
146
146
  get: (id) => `/api/carts/${id}`,
147
147
  put: '/api/carts',
148
+ delete: (id) => `/api/carts/${id}`,
148
149
  },
149
150
  compoundDirect: {
150
151
  searchCustomers: ({ name, dateOfBirth, email, phone }) => `/api/compound-direct/customers?name=${name}&dateOfBirth=${dateOfBirth}&email=${email}&phone=${phone}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.7.3",
3
+ "version": "1.7.4",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",