@wix/table-reservations 1.0.153 → 1.0.154
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 +5 -5
- package/type-bundles/context.bundle.d.ts +2116 -2904
- package/type-bundles/index.bundle.d.ts +2116 -2904
- package/type-bundles/meta.bundle.d.ts +24 -24
|
@@ -56,12 +56,12 @@ interface Reservation$1 {
|
|
|
56
56
|
* Date and time the reservation was created.
|
|
57
57
|
* @readonly
|
|
58
58
|
*/
|
|
59
|
-
createdDate?: Date;
|
|
59
|
+
createdDate?: Date | null;
|
|
60
60
|
/**
|
|
61
61
|
* Date and time the reservation was changed.
|
|
62
62
|
* @readonly
|
|
63
63
|
*/
|
|
64
|
-
updatedDate?: Date;
|
|
64
|
+
updatedDate?: Date | null;
|
|
65
65
|
/**
|
|
66
66
|
* Revision number, which increments by 1 each time the reservation is updated.
|
|
67
67
|
* To prevent conflicting changes, the current revision must be passed when updating the reservation.
|
|
@@ -126,9 +126,9 @@ interface Details$1 {
|
|
|
126
126
|
*/
|
|
127
127
|
tableIds?: string[] | null;
|
|
128
128
|
/** Start date and time of the reservation. */
|
|
129
|
-
startDate?: Date;
|
|
129
|
+
startDate?: Date | null;
|
|
130
130
|
/** End date and time of the reservation. */
|
|
131
|
-
endDate?: Date;
|
|
131
|
+
endDate?: Date | null;
|
|
132
132
|
/** Party size. */
|
|
133
133
|
partySize?: number | null;
|
|
134
134
|
}
|
|
@@ -309,7 +309,7 @@ interface HeldReservationDetails$1 {
|
|
|
309
309
|
/** ID of the reservation location where the reservation is made. */
|
|
310
310
|
reservationLocationId?: string | null;
|
|
311
311
|
/** Start date and time of the reservation. */
|
|
312
|
-
startDate?: Date;
|
|
312
|
+
startDate?: Date | null;
|
|
313
313
|
/** Party size. */
|
|
314
314
|
partySize?: number | null;
|
|
315
315
|
}
|
|
@@ -367,9 +367,9 @@ interface ListReservationsRequest$1 {
|
|
|
367
367
|
/** Defines how reservations in the response are sorted. */
|
|
368
368
|
sort?: Sorting$3;
|
|
369
369
|
/** Only reservations starting after this date are returned. */
|
|
370
|
-
startDateFrom?: Date;
|
|
370
|
+
startDateFrom?: Date | null;
|
|
371
371
|
/** Only reservations starting before this date are returned. */
|
|
372
|
-
startDateTo?: Date;
|
|
372
|
+
startDateTo?: Date | null;
|
|
373
373
|
/**
|
|
374
374
|
* Only reservations with this status are returned.
|
|
375
375
|
*
|
|
@@ -1035,12 +1035,12 @@ interface Reservation {
|
|
|
1035
1035
|
* Date and time the reservation was created.
|
|
1036
1036
|
* @readonly
|
|
1037
1037
|
*/
|
|
1038
|
-
_createdDate?: Date;
|
|
1038
|
+
_createdDate?: Date | null;
|
|
1039
1039
|
/**
|
|
1040
1040
|
* Date and time the reservation was changed.
|
|
1041
1041
|
* @readonly
|
|
1042
1042
|
*/
|
|
1043
|
-
_updatedDate?: Date;
|
|
1043
|
+
_updatedDate?: Date | null;
|
|
1044
1044
|
/**
|
|
1045
1045
|
* Revision number, which increments by 1 each time the reservation is updated.
|
|
1046
1046
|
* To prevent conflicting changes, the current revision must be passed when updating the reservation.
|
|
@@ -1105,9 +1105,9 @@ interface Details {
|
|
|
1105
1105
|
*/
|
|
1106
1106
|
tableIds?: string[] | null;
|
|
1107
1107
|
/** Start date and time of the reservation. */
|
|
1108
|
-
startDate?: Date;
|
|
1108
|
+
startDate?: Date | null;
|
|
1109
1109
|
/** End date and time of the reservation. */
|
|
1110
|
-
endDate?: Date;
|
|
1110
|
+
endDate?: Date | null;
|
|
1111
1111
|
/** Party size. */
|
|
1112
1112
|
partySize?: number | null;
|
|
1113
1113
|
}
|
|
@@ -1286,7 +1286,7 @@ interface HeldReservationDetails {
|
|
|
1286
1286
|
/** ID of the reservation location where the reservation is made. */
|
|
1287
1287
|
reservationLocationId?: string | null;
|
|
1288
1288
|
/** Start date and time of the reservation. */
|
|
1289
|
-
startDate?: Date;
|
|
1289
|
+
startDate?: Date | null;
|
|
1290
1290
|
/** Party size. */
|
|
1291
1291
|
partySize?: number | null;
|
|
1292
1292
|
}
|
|
@@ -1344,9 +1344,9 @@ interface ListReservationsRequest {
|
|
|
1344
1344
|
/** Defines how reservations in the response are sorted. */
|
|
1345
1345
|
sort?: Sorting$2;
|
|
1346
1346
|
/** Only reservations starting after this date are returned. */
|
|
1347
|
-
startDateFrom?: Date;
|
|
1347
|
+
startDateFrom?: Date | null;
|
|
1348
1348
|
/** Only reservations starting before this date are returned. */
|
|
1349
|
-
startDateTo?: Date;
|
|
1349
|
+
startDateTo?: Date | null;
|
|
1350
1350
|
/**
|
|
1351
1351
|
* Only reservations with this status are returned.
|
|
1352
1352
|
*
|
|
@@ -2012,12 +2012,12 @@ interface ReservationLocation$1 {
|
|
|
2012
2012
|
* The date and time this reservation location was created.
|
|
2013
2013
|
* @readonly
|
|
2014
2014
|
*/
|
|
2015
|
-
createdDate?: Date;
|
|
2015
|
+
createdDate?: Date | null;
|
|
2016
2016
|
/**
|
|
2017
2017
|
* The date and time this reservation location was last updated.
|
|
2018
2018
|
* @readonly
|
|
2019
2019
|
*/
|
|
2020
|
-
updatedDate?: Date;
|
|
2020
|
+
updatedDate?: Date | null;
|
|
2021
2021
|
/**
|
|
2022
2022
|
* Physical location details.
|
|
2023
2023
|
*
|
|
@@ -2798,12 +2798,12 @@ interface ReservationLocation {
|
|
|
2798
2798
|
* The date and time this reservation location was created.
|
|
2799
2799
|
* @readonly
|
|
2800
2800
|
*/
|
|
2801
|
-
_createdDate?: Date;
|
|
2801
|
+
_createdDate?: Date | null;
|
|
2802
2802
|
/**
|
|
2803
2803
|
* The date and time this reservation location was last updated.
|
|
2804
2804
|
* @readonly
|
|
2805
2805
|
*/
|
|
2806
|
-
_updatedDate?: Date;
|
|
2806
|
+
_updatedDate?: Date | null;
|
|
2807
2807
|
/**
|
|
2808
2808
|
* Physical location details.
|
|
2809
2809
|
*
|
|
@@ -3601,7 +3601,7 @@ declare namespace meta$1 {
|
|
|
3601
3601
|
|
|
3602
3602
|
interface TimeSlot$1 {
|
|
3603
3603
|
/** Start date and time of this time slot. */
|
|
3604
|
-
startDate?: Date;
|
|
3604
|
+
startDate?: Date | null;
|
|
3605
3605
|
/** Duration in minutes of this time slot. */
|
|
3606
3606
|
duration?: number;
|
|
3607
3607
|
/**
|
|
@@ -3624,7 +3624,7 @@ interface GetTimeSlotsRequest$1 {
|
|
|
3624
3624
|
/** ID of the reservation location for which to retrieve time slots. */
|
|
3625
3625
|
reservationLocationId: string;
|
|
3626
3626
|
/** Date and time for which to retrieve a time slot in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#coordinated_Universal_Time_(UTC)) format. */
|
|
3627
|
-
date: Date;
|
|
3627
|
+
date: Date | null;
|
|
3628
3628
|
/**
|
|
3629
3629
|
* Duration in minutes of the time slot.
|
|
3630
3630
|
*
|
|
@@ -3662,7 +3662,7 @@ interface CheckTimeSlotRequest$1 {
|
|
|
3662
3662
|
/** ID of the reservation location for which to check the time slot. */
|
|
3663
3663
|
reservationLocationId: string;
|
|
3664
3664
|
/** Date and time of the time slot to check. */
|
|
3665
|
-
date: Date;
|
|
3665
|
+
date: Date | null;
|
|
3666
3666
|
/**
|
|
3667
3667
|
* Duration of the time slot in minutes .
|
|
3668
3668
|
*
|
|
@@ -3712,7 +3712,7 @@ interface CheckTimeSlotResponseNonNullableFields$1 {
|
|
|
3712
3712
|
|
|
3713
3713
|
interface TimeSlot {
|
|
3714
3714
|
/** Start date and time of this time slot. */
|
|
3715
|
-
startDate?: Date;
|
|
3715
|
+
startDate?: Date | null;
|
|
3716
3716
|
/** Duration in minutes of this time slot. */
|
|
3717
3717
|
duration?: number;
|
|
3718
3718
|
/**
|
|
@@ -3735,7 +3735,7 @@ interface GetTimeSlotsRequest {
|
|
|
3735
3735
|
/** ID of the reservation location for which to retrieve time slots. */
|
|
3736
3736
|
reservationLocationId: string;
|
|
3737
3737
|
/** Date and time for which to retrieve a time slot in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#coordinated_Universal_Time_(UTC)) format. */
|
|
3738
|
-
date: Date;
|
|
3738
|
+
date: Date | null;
|
|
3739
3739
|
/**
|
|
3740
3740
|
* Duration in minutes of the time slot.
|
|
3741
3741
|
*
|
|
@@ -3773,7 +3773,7 @@ interface CheckTimeSlotRequest {
|
|
|
3773
3773
|
/** ID of the reservation location for which to check the time slot. */
|
|
3774
3774
|
reservationLocationId: string;
|
|
3775
3775
|
/** Date and time of the time slot to check. */
|
|
3776
|
-
date: Date;
|
|
3776
|
+
date: Date | null;
|
|
3777
3777
|
/**
|
|
3778
3778
|
* Duration of the time slot in minutes .
|
|
3779
3779
|
*
|