@shophost/client 2.0.69 → 2.0.71

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shophost/client",
3
- "version": "2.0.69",
3
+ "version": "2.0.71",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "types": "./src/index.d.ts",
@@ -1861,6 +1861,10 @@ export type Reservation = {
1861
1861
  * Date when the order was cancelled
1862
1862
  */
1863
1863
  cancelledAt?: string | null;
1864
+ /**
1865
+ * Optional cancellation message sent to the user
1866
+ */
1867
+ cancellationMessage?: string | null;
1864
1868
  /**
1865
1869
  * Date when the order was created
1866
1870
  */
@@ -1996,6 +2000,12 @@ export type UpdateReservation = {
1996
2000
  */
1997
2001
  date: unknown;
1998
2002
  };
2003
+ export type UpdateReservationStatus = {
2004
+ /**
2005
+ * Optional message sent to the user when cancelling a reservation
2006
+ */
2007
+ message?: string;
2008
+ };
1999
2009
  export type PingData = {
2000
2010
  body?: never;
2001
2011
  headers?: {
@@ -7038,9 +7048,7 @@ export type GetUserReservationsResponses = {
7038
7048
  };
7039
7049
  export type GetUserReservationsResponse = GetUserReservationsResponses[keyof GetUserReservationsResponses];
7040
7050
  export type UpdateReservationStatusData = {
7041
- body?: {
7042
- [key: string]: unknown;
7043
- };
7051
+ body?: UpdateReservationStatus;
7044
7052
  headers?: {
7045
7053
  /**
7046
7054
  * Accept-Language header