@natch-the-storage/heathershaw-platform-types 1.7.4 → 1.7.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.
@@ -115,10 +115,10 @@ export interface Order {
115
115
  staff?: string;
116
116
  lineItems: LineItem[];
117
117
  orderChangeNotes?: string | null;
118
- paymentModeAtOrder?: PaymentModeAtOrder;
119
- paymentStatus?: PaymentStatus;
118
+ paymentModeAtOrder: PaymentModeAtOrder;
119
+ paymentStatus: PaymentStatus;
120
120
  shippingType?: ShippingType;
121
- shippingFee?: number;
121
+ shippingFee: number;
122
122
  total: number;
123
123
  counsellingRequired?: boolean;
124
124
  counsellingPriority?: string;
@@ -145,7 +145,7 @@ export interface OrderCreate {
145
145
  orderChangeNotes?: string | null;
146
146
  paymentModeAtOrder: PaymentModeAtOrder;
147
147
  paymentStatus: PaymentStatus;
148
- shippingType: ShippingType;
148
+ shippingType?: ShippingType;
149
149
  shippingFee: number;
150
150
  total: number;
151
151
  counsellingRequired?: boolean;
@@ -616,7 +616,9 @@ export declare const ApiRoutes: {
616
616
  twilioStatus: string;
617
617
  send: string;
618
618
  };
619
- email: {};
619
+ email: {
620
+ contactFormInternal: string;
621
+ };
620
622
  cart: {
621
623
  get: (id: number) => string;
622
624
  put: string;
@@ -141,7 +141,9 @@ export const ApiRoutes = {
141
141
  twilioStatus: '/api/webhooks/twilio/status',
142
142
  send: '/api/reminders/sms',
143
143
  },
144
- email: {},
144
+ email: {
145
+ contactFormInternal: '/api/emails/contact-requests',
146
+ },
145
147
  cart: {
146
148
  get: (id) => `/api/carts/${id}`,
147
149
  put: '/api/carts',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.7.4",
3
+ "version": "1.7.5",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",