@wix/table-reservations 1.0.106 → 1.0.107

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.106",
3
+ "version": "1.0.107",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -20,7 +20,7 @@
20
20
  "dependencies": {
21
21
  "@wix/table-reservations_reservation-locations": "1.0.39",
22
22
  "@wix/table-reservations_reservations": "1.0.35",
23
- "@wix/table-reservations_time-slots": "1.0.29"
23
+ "@wix/table-reservations_time-slots": "1.0.30"
24
24
  },
25
25
  "devDependencies": {
26
26
  "glob": "^10.4.1",
@@ -45,5 +45,5 @@
45
45
  "fqdn": ""
46
46
  }
47
47
  },
48
- "falconPackageHash": "e0a0895fc0dab8c698fa59a702ba48c9285db4fe1a5119829d6eb088"
48
+ "falconPackageHash": "9ab750598cdc9e50540e7490c4d00256e813c8237990d6dbe6bc3823"
49
49
  }
@@ -4066,7 +4066,7 @@ interface TimeSlotTableCombination {
4066
4066
  interface GetTimeSlotsRequest {
4067
4067
  /** ID of the reservation location for which to retrieve time slots. */
4068
4068
  reservationLocationId: string;
4069
- /** 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. */
4069
+ /** Date and time for which to retrieve a time slot. */
4070
4070
  date: Date;
4071
4071
  /**
4072
4072
  * Duration in minutes of the time slot.
@@ -4166,35 +4166,25 @@ interface TableReservedConflict {
4166
4166
  reservationIds?: string[];
4167
4167
  }
4168
4168
  interface CheckTimeSlotRequest {
4169
- /** ID of the reservation location for which to check the time slot. */
4169
+ /** Reservation location ID. */
4170
4170
  reservationLocationId?: string;
4171
- /** Date and time of the time slot to check. */
4171
+ /** Date. */
4172
4172
  date?: Date;
4173
- /**
4174
- * Duration of the time slot in minutes .
4175
- *
4176
- * Min: `5`
4177
- */
4173
+ /** Duration. */
4178
4174
  duration?: number | null;
4179
- /** Party size to check the restaurant's availability for. */
4175
+ /** Party size. */
4180
4176
  partySize?: number | null;
4181
- /**
4182
- * ID of a reservation to ignore during the check.
4183
- *
4184
- * Use this when rescheduling a reservation to exclude it in its current state from the availability calculations.
4185
- */
4177
+ /** Reservation, that should be ignored during the check. */
4186
4178
  excludeReservationId?: string | null;
4187
4179
  }
4188
4180
  interface CheckTimeSlotResponse {
4189
- /** Table combinations and their availability information. */
4181
+ /** Table combinations availabilities. */
4190
4182
  tableCombinationAvailabilities?: TableCombinationAvailability[];
4191
- /** Reservation location conflicts that would occur by making a reservation for the given party size in the given time slot. */
4183
+ /** Reservation location conflicts. */
4192
4184
  reservationLocationConflicts?: Type[];
4193
4185
  }
4194
4186
  interface TableCombinationAvailability {
4195
- /** IDs of the tables in the table combination. */
4196
4187
  tableIds?: string[];
4197
- /** Conflicts that would be generated by attempting to accommodate the proposed reservation using the table combination. */
4198
4188
  tableCombinationConflicts?: TableCombinationConflictType[];
4199
4189
  }
4200
4190
  interface TimeSlotTableCombinationNonNullableFields {
@@ -4066,7 +4066,7 @@ interface TimeSlotTableCombination {
4066
4066
  interface GetTimeSlotsRequest {
4067
4067
  /** ID of the reservation location for which to retrieve time slots. */
4068
4068
  reservationLocationId: string;
4069
- /** 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. */
4069
+ /** Date and time for which to retrieve a time slot. */
4070
4070
  date: Date;
4071
4071
  /**
4072
4072
  * Duration in minutes of the time slot.
@@ -4166,35 +4166,25 @@ interface TableReservedConflict {
4166
4166
  reservationIds?: string[];
4167
4167
  }
4168
4168
  interface CheckTimeSlotRequest {
4169
- /** ID of the reservation location for which to check the time slot. */
4169
+ /** Reservation location ID. */
4170
4170
  reservationLocationId?: string;
4171
- /** Date and time of the time slot to check. */
4171
+ /** Date. */
4172
4172
  date?: Date;
4173
- /**
4174
- * Duration of the time slot in minutes .
4175
- *
4176
- * Min: `5`
4177
- */
4173
+ /** Duration. */
4178
4174
  duration?: number | null;
4179
- /** Party size to check the restaurant's availability for. */
4175
+ /** Party size. */
4180
4176
  partySize?: number | null;
4181
- /**
4182
- * ID of a reservation to ignore during the check.
4183
- *
4184
- * Use this when rescheduling a reservation to exclude it in its current state from the availability calculations.
4185
- */
4177
+ /** Reservation, that should be ignored during the check. */
4186
4178
  excludeReservationId?: string | null;
4187
4179
  }
4188
4180
  interface CheckTimeSlotResponse {
4189
- /** Table combinations and their availability information. */
4181
+ /** Table combinations availabilities. */
4190
4182
  tableCombinationAvailabilities?: TableCombinationAvailability[];
4191
- /** Reservation location conflicts that would occur by making a reservation for the given party size in the given time slot. */
4183
+ /** Reservation location conflicts. */
4192
4184
  reservationLocationConflicts?: Type[];
4193
4185
  }
4194
4186
  interface TableCombinationAvailability {
4195
- /** IDs of the tables in the table combination. */
4196
4187
  tableIds?: string[];
4197
- /** Conflicts that would be generated by attempting to accommodate the proposed reservation using the table combination. */
4198
4188
  tableCombinationConflicts?: TableCombinationConflictType[];
4199
4189
  }
4200
4190
  interface TimeSlotTableCombinationNonNullableFields {
@@ -3470,7 +3470,7 @@ declare enum Status$1 {
3470
3470
  interface GetTimeSlotsRequest$1 {
3471
3471
  /** ID of the reservation location for which to retrieve time slots. */
3472
3472
  reservationLocationId: string;
3473
- /** 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. */
3473
+ /** Date and time for which to retrieve a time slot. */
3474
3474
  date: Date;
3475
3475
  /**
3476
3476
  * Duration in minutes of the time slot.
@@ -3633,7 +3633,7 @@ declare enum Status {
3633
3633
  interface GetTimeSlotsRequest {
3634
3634
  /** ID of the reservation location for which to retrieve time slots. */
3635
3635
  reservationLocationId: string;
3636
- /** 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. */
3636
+ /** Date and time for which to retrieve a time slot. */
3637
3637
  date: Date;
3638
3638
  /**
3639
3639
  * Duration in minutes of the time slot.