@wix/table-reservations 1.0.171 → 1.0.172
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": "@wix/table-reservations",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.172",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@wix/table-reservations_reservation-locations": "1.0.77",
|
|
25
25
|
"@wix/table-reservations_reservations": "1.0.60",
|
|
26
|
-
"@wix/table-reservations_time-slots": "1.0.
|
|
26
|
+
"@wix/table-reservations_time-slots": "1.0.54"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"glob": "^10.4.1",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"fqdn": ""
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "17204ea963c2e49a2ed4de30f6d010e31bdfa03f722ea32134e2546a"
|
|
52
52
|
}
|
|
@@ -5293,16 +5293,16 @@ interface TableCombinationAvailability {
|
|
|
5293
5293
|
interface GetScheduledTimeSlotsRequest {
|
|
5294
5294
|
/** ID of the reservation location for which to retrieve time slots. */
|
|
5295
5295
|
reservationLocationId?: string;
|
|
5296
|
+
/** Time range. */
|
|
5297
|
+
timeRange?: TimeRange;
|
|
5298
|
+
/** Min: `1` */
|
|
5299
|
+
partySize?: number | null;
|
|
5300
|
+
}
|
|
5301
|
+
interface TimeRange {
|
|
5296
5302
|
/** Date and time from which to retrieve time slots in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#coordinated_Universal_Time_(UTC)) format. */
|
|
5297
|
-
|
|
5303
|
+
startDate?: Date | null;
|
|
5298
5304
|
/** Date and time to which to retrieve time slots in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#coordinated_Universal_Time_(UTC)) format. */
|
|
5299
|
-
|
|
5300
|
-
/**
|
|
5301
|
-
* Size of the party that needs to be seated during this time slot.
|
|
5302
|
-
*
|
|
5303
|
-
* Min: `1`
|
|
5304
|
-
*/
|
|
5305
|
-
partySize?: number | null;
|
|
5305
|
+
endDate?: Date | null;
|
|
5306
5306
|
}
|
|
5307
5307
|
interface GetScheduledTimeSlotsResponse {
|
|
5308
5308
|
/** A list of time slots and their availability according to the specified party size. */
|
|
@@ -5418,6 +5418,7 @@ type context_TableConflict = TableConflict;
|
|
|
5418
5418
|
type context_TableConflictType = TableConflictType;
|
|
5419
5419
|
declare const context_TableConflictType: typeof TableConflictType;
|
|
5420
5420
|
type context_TableReservedConflict = TableReservedConflict;
|
|
5421
|
+
type context_TimeRange = TimeRange;
|
|
5421
5422
|
type context_TimeSlot = TimeSlot;
|
|
5422
5423
|
type context_TimeSlotTableCombination = TimeSlotTableCombination;
|
|
5423
5424
|
type context_Type = Type;
|
|
@@ -5425,7 +5426,7 @@ declare const context_Type: typeof Type;
|
|
|
5425
5426
|
declare const context_checkTimeSlot: typeof checkTimeSlot;
|
|
5426
5427
|
declare const context_getTimeSlots: typeof getTimeSlots;
|
|
5427
5428
|
declare namespace context {
|
|
5428
|
-
export { type context_CheckReservationDetailsRequest as CheckReservationDetailsRequest, type context_CheckReservationDetailsResponse as CheckReservationDetailsResponse, type context_CheckTimeSlotOptions as CheckTimeSlotOptions, type context_CheckTimeSlotRequest as CheckTimeSlotRequest, type context_CheckTimeSlotResponse as CheckTimeSlotResponse, type context_CheckTimeSlotResponseNonNullableFields as CheckTimeSlotResponseNonNullableFields, type context_GetScheduledTimeSlotsRequest as GetScheduledTimeSlotsRequest, type context_GetScheduledTimeSlotsResponse as GetScheduledTimeSlotsResponse, type context_GetTimeSlotsOptions as GetTimeSlotsOptions, type context_GetTimeSlotsRequest as GetTimeSlotsRequest, type context_GetTimeSlotsResponse as GetTimeSlotsResponse, type context_GetTimeSlotsResponseNonNullableFields as GetTimeSlotsResponseNonNullableFields, type context_ReservationLocationConflict as ReservationLocationConflict, context_Status as Status, type context_Table as Table, type context_TableCombination as TableCombination, type context_TableCombinationAvailability as TableCombinationAvailability, type context_TableCombinationConflict as TableCombinationConflict, context_TableCombinationConflictType as TableCombinationConflictType, type context_TableConflict as TableConflict, context_TableConflictType as TableConflictType, type context_TableReservedConflict as TableReservedConflict, type context_TimeSlot as TimeSlot, type context_TimeSlotTableCombination as TimeSlotTableCombination, context_Type as Type, context_checkTimeSlot as checkTimeSlot, context_getTimeSlots as getTimeSlots };
|
|
5429
|
+
export { type context_CheckReservationDetailsRequest as CheckReservationDetailsRequest, type context_CheckReservationDetailsResponse as CheckReservationDetailsResponse, type context_CheckTimeSlotOptions as CheckTimeSlotOptions, type context_CheckTimeSlotRequest as CheckTimeSlotRequest, type context_CheckTimeSlotResponse as CheckTimeSlotResponse, type context_CheckTimeSlotResponseNonNullableFields as CheckTimeSlotResponseNonNullableFields, type context_GetScheduledTimeSlotsRequest as GetScheduledTimeSlotsRequest, type context_GetScheduledTimeSlotsResponse as GetScheduledTimeSlotsResponse, type context_GetTimeSlotsOptions as GetTimeSlotsOptions, type context_GetTimeSlotsRequest as GetTimeSlotsRequest, type context_GetTimeSlotsResponse as GetTimeSlotsResponse, type context_GetTimeSlotsResponseNonNullableFields as GetTimeSlotsResponseNonNullableFields, type context_ReservationLocationConflict as ReservationLocationConflict, context_Status as Status, type context_Table as Table, type context_TableCombination as TableCombination, type context_TableCombinationAvailability as TableCombinationAvailability, type context_TableCombinationConflict as TableCombinationConflict, context_TableCombinationConflictType as TableCombinationConflictType, type context_TableConflict as TableConflict, context_TableConflictType as TableConflictType, type context_TableReservedConflict as TableReservedConflict, type context_TimeRange as TimeRange, type context_TimeSlot as TimeSlot, type context_TimeSlotTableCombination as TimeSlotTableCombination, context_Type as Type, context_checkTimeSlot as checkTimeSlot, context_getTimeSlots as getTimeSlots };
|
|
5429
5430
|
}
|
|
5430
5431
|
|
|
5431
5432
|
export { context$1 as reservationLocations, context$2 as reservations, context as timeSlots };
|
|
@@ -5293,16 +5293,16 @@ interface TableCombinationAvailability {
|
|
|
5293
5293
|
interface GetScheduledTimeSlotsRequest {
|
|
5294
5294
|
/** ID of the reservation location for which to retrieve time slots. */
|
|
5295
5295
|
reservationLocationId?: string;
|
|
5296
|
+
/** Time range. */
|
|
5297
|
+
timeRange?: TimeRange;
|
|
5298
|
+
/** Min: `1` */
|
|
5299
|
+
partySize?: number | null;
|
|
5300
|
+
}
|
|
5301
|
+
interface TimeRange {
|
|
5296
5302
|
/** Date and time from which to retrieve time slots in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#coordinated_Universal_Time_(UTC)) format. */
|
|
5297
|
-
|
|
5303
|
+
startDate?: Date | null;
|
|
5298
5304
|
/** Date and time to which to retrieve time slots in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#coordinated_Universal_Time_(UTC)) format. */
|
|
5299
|
-
|
|
5300
|
-
/**
|
|
5301
|
-
* Size of the party that needs to be seated during this time slot.
|
|
5302
|
-
*
|
|
5303
|
-
* Min: `1`
|
|
5304
|
-
*/
|
|
5305
|
-
partySize?: number | null;
|
|
5305
|
+
endDate?: Date | null;
|
|
5306
5306
|
}
|
|
5307
5307
|
interface GetScheduledTimeSlotsResponse {
|
|
5308
5308
|
/** A list of time slots and their availability according to the specified party size. */
|
|
@@ -5418,6 +5418,7 @@ type index_d_TableConflict = TableConflict;
|
|
|
5418
5418
|
type index_d_TableConflictType = TableConflictType;
|
|
5419
5419
|
declare const index_d_TableConflictType: typeof TableConflictType;
|
|
5420
5420
|
type index_d_TableReservedConflict = TableReservedConflict;
|
|
5421
|
+
type index_d_TimeRange = TimeRange;
|
|
5421
5422
|
type index_d_TimeSlot = TimeSlot;
|
|
5422
5423
|
type index_d_TimeSlotTableCombination = TimeSlotTableCombination;
|
|
5423
5424
|
type index_d_Type = Type;
|
|
@@ -5425,7 +5426,7 @@ declare const index_d_Type: typeof Type;
|
|
|
5425
5426
|
declare const index_d_checkTimeSlot: typeof checkTimeSlot;
|
|
5426
5427
|
declare const index_d_getTimeSlots: typeof getTimeSlots;
|
|
5427
5428
|
declare namespace index_d {
|
|
5428
|
-
export { type index_d_CheckReservationDetailsRequest as CheckReservationDetailsRequest, type index_d_CheckReservationDetailsResponse as CheckReservationDetailsResponse, type index_d_CheckTimeSlotOptions as CheckTimeSlotOptions, type index_d_CheckTimeSlotRequest as CheckTimeSlotRequest, type index_d_CheckTimeSlotResponse as CheckTimeSlotResponse, type index_d_CheckTimeSlotResponseNonNullableFields as CheckTimeSlotResponseNonNullableFields, type index_d_GetScheduledTimeSlotsRequest as GetScheduledTimeSlotsRequest, type index_d_GetScheduledTimeSlotsResponse as GetScheduledTimeSlotsResponse, type index_d_GetTimeSlotsOptions as GetTimeSlotsOptions, type index_d_GetTimeSlotsRequest as GetTimeSlotsRequest, type index_d_GetTimeSlotsResponse as GetTimeSlotsResponse, type index_d_GetTimeSlotsResponseNonNullableFields as GetTimeSlotsResponseNonNullableFields, type index_d_ReservationLocationConflict as ReservationLocationConflict, index_d_Status as Status, type index_d_Table as Table, type index_d_TableCombination as TableCombination, type index_d_TableCombinationAvailability as TableCombinationAvailability, type index_d_TableCombinationConflict as TableCombinationConflict, index_d_TableCombinationConflictType as TableCombinationConflictType, type index_d_TableConflict as TableConflict, index_d_TableConflictType as TableConflictType, type index_d_TableReservedConflict as TableReservedConflict, type index_d_TimeSlot as TimeSlot, type index_d_TimeSlotTableCombination as TimeSlotTableCombination, index_d_Type as Type, index_d_checkTimeSlot as checkTimeSlot, index_d_getTimeSlots as getTimeSlots };
|
|
5429
|
+
export { type index_d_CheckReservationDetailsRequest as CheckReservationDetailsRequest, type index_d_CheckReservationDetailsResponse as CheckReservationDetailsResponse, type index_d_CheckTimeSlotOptions as CheckTimeSlotOptions, type index_d_CheckTimeSlotRequest as CheckTimeSlotRequest, type index_d_CheckTimeSlotResponse as CheckTimeSlotResponse, type index_d_CheckTimeSlotResponseNonNullableFields as CheckTimeSlotResponseNonNullableFields, type index_d_GetScheduledTimeSlotsRequest as GetScheduledTimeSlotsRequest, type index_d_GetScheduledTimeSlotsResponse as GetScheduledTimeSlotsResponse, type index_d_GetTimeSlotsOptions as GetTimeSlotsOptions, type index_d_GetTimeSlotsRequest as GetTimeSlotsRequest, type index_d_GetTimeSlotsResponse as GetTimeSlotsResponse, type index_d_GetTimeSlotsResponseNonNullableFields as GetTimeSlotsResponseNonNullableFields, type index_d_ReservationLocationConflict as ReservationLocationConflict, index_d_Status as Status, type index_d_Table as Table, type index_d_TableCombination as TableCombination, type index_d_TableCombinationAvailability as TableCombinationAvailability, type index_d_TableCombinationConflict as TableCombinationConflict, index_d_TableCombinationConflictType as TableCombinationConflictType, type index_d_TableConflict as TableConflict, index_d_TableConflictType as TableConflictType, type index_d_TableReservedConflict as TableReservedConflict, type index_d_TimeRange as TimeRange, type index_d_TimeSlot as TimeSlot, type index_d_TimeSlotTableCombination as TimeSlotTableCombination, index_d_Type as Type, index_d_checkTimeSlot as checkTimeSlot, index_d_getTimeSlots as getTimeSlots };
|
|
5429
5430
|
}
|
|
5430
5431
|
|
|
5431
5432
|
export { index_d$1 as reservationLocations, index_d$2 as reservations, index_d as timeSlots };
|