@wix/table-reservations 1.0.118 → 1.0.120

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.
@@ -77,6 +77,8 @@ interface Reservation$1 {
77
77
  * @readonly
78
78
  */
79
79
  paymentStatus?: PaymentStatus$1;
80
+ /** Wix extended fields */
81
+ extendedFields?: ExtendedFields$3;
80
82
  }
81
83
  declare enum Status$3 {
82
84
  UNKNOWN = "UNKNOWN",
@@ -180,6 +182,17 @@ declare enum PaymentStatus$1 {
180
182
  /** A corresponding to reservation order was partially payed. */
181
183
  PARTIALLY_PAID = "PARTIALLY_PAID"
182
184
  }
185
+ interface ExtendedFields$3 {
186
+ /**
187
+ * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
188
+ * The value of each key is structured according to the schema defined when the extended fields were configured.
189
+ *
190
+ * You can only access fields for which you have the appropriate permissions.
191
+ *
192
+ * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
193
+ */
194
+ namespaces?: Record<string, Record<string, any>>;
195
+ }
183
196
  interface CreateReservationRequest$1 {
184
197
  /** Reservation details. */
185
198
  reservation: Reservation$1;
@@ -1012,6 +1025,8 @@ interface Reservation {
1012
1025
  * @readonly
1013
1026
  */
1014
1027
  paymentStatus?: PaymentStatus;
1028
+ /** Wix extended fields */
1029
+ extendedFields?: ExtendedFields$2;
1015
1030
  }
1016
1031
  declare enum Status$2 {
1017
1032
  UNKNOWN = "UNKNOWN",
@@ -1115,6 +1130,17 @@ declare enum PaymentStatus {
1115
1130
  /** A corresponding to reservation order was partially payed. */
1116
1131
  PARTIALLY_PAID = "PARTIALLY_PAID"
1117
1132
  }
1133
+ interface ExtendedFields$2 {
1134
+ /**
1135
+ * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
1136
+ * The value of each key is structured according to the schema defined when the extended fields were configured.
1137
+ *
1138
+ * You can only access fields for which you have the appropriate permissions.
1139
+ *
1140
+ * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
1141
+ */
1142
+ namespaces?: Record<string, Record<string, any>>;
1143
+ }
1118
1144
  interface CreateReservationRequest {
1119
1145
  /** Reservation details. */
1120
1146
  reservation: Reservation;
@@ -1947,6 +1973,8 @@ interface ReservationLocation$1 {
1947
1973
  * @readonly
1948
1974
  */
1949
1975
  archived?: boolean | null;
1976
+ /** Wix extended fields */
1977
+ extendedFields?: ExtendedFields$1;
1950
1978
  }
1951
1979
  /**
1952
1980
  * Time periods that this location is open for business. Includes a collection of TimePeriod instances.
@@ -2322,6 +2350,17 @@ interface Configuration$1 {
2322
2350
  /** Table management settings. */
2323
2351
  tableManagement?: TableManagement$1;
2324
2352
  }
2353
+ interface ExtendedFields$1 {
2354
+ /**
2355
+ * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
2356
+ * The value of each key is structured according to the schema defined when the extended fields were configured.
2357
+ *
2358
+ * You can only access fields for which you have the appropriate permissions.
2359
+ *
2360
+ * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
2361
+ */
2362
+ namespaces?: Record<string, Record<string, any>>;
2363
+ }
2325
2364
  interface GetReservationLocationRequest$1 {
2326
2365
  /** ID of the ReservationLocation to retrieve. */
2327
2366
  reservationLocationId: string;
@@ -2668,6 +2707,8 @@ interface ReservationLocation {
2668
2707
  * @readonly
2669
2708
  */
2670
2709
  archived?: boolean | null;
2710
+ /** Wix extended fields */
2711
+ extendedFields?: ExtendedFields;
2671
2712
  }
2672
2713
  /**
2673
2714
  * Time periods that this location is open for business. Includes a collection of TimePeriod instances.
@@ -3042,6 +3083,17 @@ interface Configuration {
3042
3083
  /** Table management settings. */
3043
3084
  tableManagement?: TableManagement;
3044
3085
  }
3086
+ interface ExtendedFields {
3087
+ /**
3088
+ * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
3089
+ * The value of each key is structured according to the schema defined when the extended fields were configured.
3090
+ *
3091
+ * You can only access fields for which you have the appropriate permissions.
3092
+ *
3093
+ * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
3094
+ */
3095
+ namespaces?: Record<string, Record<string, any>>;
3096
+ }
3045
3097
  interface GetReservationLocationRequest {
3046
3098
  /** ID of the ReservationLocation to retrieve. */
3047
3099
  reservationLocationId: string;