@wix/table-reservations 1.0.170 → 1.0.171
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.171",
|
|
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.53"
|
|
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": "bb2acfd3c2da4c5ec82fe9a58602790f4066be9e48e34ae3d25b5057"
|
|
52
52
|
}
|
|
@@ -5290,6 +5290,24 @@ interface TableCombinationAvailability {
|
|
|
5290
5290
|
/** Conflicts that would be generated by attempting to accommodate the proposed reservation using the table combination. */
|
|
5291
5291
|
tableCombinationConflicts?: TableCombinationConflictType[];
|
|
5292
5292
|
}
|
|
5293
|
+
interface GetScheduledTimeSlotsRequest {
|
|
5294
|
+
/** ID of the reservation location for which to retrieve time slots. */
|
|
5295
|
+
reservationLocationId?: string;
|
|
5296
|
+
/** 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
|
+
from?: Date | null;
|
|
5298
|
+
/** 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
|
+
to?: Date | null;
|
|
5300
|
+
/**
|
|
5301
|
+
* Size of the party that needs to be seated during this time slot.
|
|
5302
|
+
*
|
|
5303
|
+
* Min: `1`
|
|
5304
|
+
*/
|
|
5305
|
+
partySize?: number | null;
|
|
5306
|
+
}
|
|
5307
|
+
interface GetScheduledTimeSlotsResponse {
|
|
5308
|
+
/** A list of time slots and their availability according to the specified party size. */
|
|
5309
|
+
timeSlots?: TimeSlot[];
|
|
5310
|
+
}
|
|
5293
5311
|
interface TimeSlotTableCombinationNonNullableFields {
|
|
5294
5312
|
tableIds: string[];
|
|
5295
5313
|
}
|
|
@@ -5381,6 +5399,8 @@ type context_CheckTimeSlotOptions = CheckTimeSlotOptions;
|
|
|
5381
5399
|
type context_CheckTimeSlotRequest = CheckTimeSlotRequest;
|
|
5382
5400
|
type context_CheckTimeSlotResponse = CheckTimeSlotResponse;
|
|
5383
5401
|
type context_CheckTimeSlotResponseNonNullableFields = CheckTimeSlotResponseNonNullableFields;
|
|
5402
|
+
type context_GetScheduledTimeSlotsRequest = GetScheduledTimeSlotsRequest;
|
|
5403
|
+
type context_GetScheduledTimeSlotsResponse = GetScheduledTimeSlotsResponse;
|
|
5384
5404
|
type context_GetTimeSlotsOptions = GetTimeSlotsOptions;
|
|
5385
5405
|
type context_GetTimeSlotsRequest = GetTimeSlotsRequest;
|
|
5386
5406
|
type context_GetTimeSlotsResponse = GetTimeSlotsResponse;
|
|
@@ -5405,7 +5425,7 @@ declare const context_Type: typeof Type;
|
|
|
5405
5425
|
declare const context_checkTimeSlot: typeof checkTimeSlot;
|
|
5406
5426
|
declare const context_getTimeSlots: typeof getTimeSlots;
|
|
5407
5427
|
declare namespace context {
|
|
5408
|
-
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_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 };
|
|
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 };
|
|
5409
5429
|
}
|
|
5410
5430
|
|
|
5411
5431
|
export { context$1 as reservationLocations, context$2 as reservations, context as timeSlots };
|
|
@@ -5290,6 +5290,24 @@ interface TableCombinationAvailability {
|
|
|
5290
5290
|
/** Conflicts that would be generated by attempting to accommodate the proposed reservation using the table combination. */
|
|
5291
5291
|
tableCombinationConflicts?: TableCombinationConflictType[];
|
|
5292
5292
|
}
|
|
5293
|
+
interface GetScheduledTimeSlotsRequest {
|
|
5294
|
+
/** ID of the reservation location for which to retrieve time slots. */
|
|
5295
|
+
reservationLocationId?: string;
|
|
5296
|
+
/** 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
|
+
from?: Date | null;
|
|
5298
|
+
/** 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
|
+
to?: Date | null;
|
|
5300
|
+
/**
|
|
5301
|
+
* Size of the party that needs to be seated during this time slot.
|
|
5302
|
+
*
|
|
5303
|
+
* Min: `1`
|
|
5304
|
+
*/
|
|
5305
|
+
partySize?: number | null;
|
|
5306
|
+
}
|
|
5307
|
+
interface GetScheduledTimeSlotsResponse {
|
|
5308
|
+
/** A list of time slots and their availability according to the specified party size. */
|
|
5309
|
+
timeSlots?: TimeSlot[];
|
|
5310
|
+
}
|
|
5293
5311
|
interface TimeSlotTableCombinationNonNullableFields {
|
|
5294
5312
|
tableIds: string[];
|
|
5295
5313
|
}
|
|
@@ -5381,6 +5399,8 @@ type index_d_CheckTimeSlotOptions = CheckTimeSlotOptions;
|
|
|
5381
5399
|
type index_d_CheckTimeSlotRequest = CheckTimeSlotRequest;
|
|
5382
5400
|
type index_d_CheckTimeSlotResponse = CheckTimeSlotResponse;
|
|
5383
5401
|
type index_d_CheckTimeSlotResponseNonNullableFields = CheckTimeSlotResponseNonNullableFields;
|
|
5402
|
+
type index_d_GetScheduledTimeSlotsRequest = GetScheduledTimeSlotsRequest;
|
|
5403
|
+
type index_d_GetScheduledTimeSlotsResponse = GetScheduledTimeSlotsResponse;
|
|
5384
5404
|
type index_d_GetTimeSlotsOptions = GetTimeSlotsOptions;
|
|
5385
5405
|
type index_d_GetTimeSlotsRequest = GetTimeSlotsRequest;
|
|
5386
5406
|
type index_d_GetTimeSlotsResponse = GetTimeSlotsResponse;
|
|
@@ -5405,7 +5425,7 @@ declare const index_d_Type: typeof Type;
|
|
|
5405
5425
|
declare const index_d_checkTimeSlot: typeof checkTimeSlot;
|
|
5406
5426
|
declare const index_d_getTimeSlots: typeof getTimeSlots;
|
|
5407
5427
|
declare namespace index_d {
|
|
5408
|
-
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_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 };
|
|
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 };
|
|
5409
5429
|
}
|
|
5410
5430
|
|
|
5411
5431
|
export { index_d$1 as reservationLocations, index_d$2 as reservations, index_d as timeSlots };
|