@wix/table-reservations 1.0.116 → 1.0.117

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.116",
3
+ "version": "1.0.117",
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.40",
22
22
  "@wix/table-reservations_reservations": "1.0.35",
23
- "@wix/table-reservations_time-slots": "1.0.37"
23
+ "@wix/table-reservations_time-slots": "1.0.38"
24
24
  },
25
25
  "devDependencies": {
26
26
  "glob": "^10.4.1",
@@ -45,5 +45,5 @@
45
45
  "fqdn": ""
46
46
  }
47
47
  },
48
- "falconPackageHash": "31b8c44af0693631c445edf947df402e945e6d334c82a3177ff64bac"
48
+ "falconPackageHash": "7e3304c826c5324365e7c8539985eba5c717cda82c9847b6451003ab"
49
49
  }
@@ -3590,14 +3590,14 @@ interface TableDefinitionNonNullableFields {
3590
3590
  seatsMin: number;
3591
3591
  seatsMax: number;
3592
3592
  }
3593
- interface TableCombinationNonNullableFields$1 {
3593
+ interface TableCombinationNonNullableFields {
3594
3594
  seatsMin: number;
3595
3595
  seatsMax: number;
3596
3596
  }
3597
3597
  interface TableManagementNonNullableFields {
3598
3598
  tableDefinitions: TableDefinitionNonNullableFields[];
3599
3599
  deletedTableDefinitions: TableDefinitionNonNullableFields[];
3600
- tableCombinations: TableCombinationNonNullableFields$1[];
3600
+ tableCombinations: TableCombinationNonNullableFields[];
3601
3601
  }
3602
3602
  interface ReservationPaymentNonNullableFields {
3603
3603
  value: string;
@@ -4091,13 +4091,13 @@ interface GetTimeSlotsResponse {
4091
4091
  }
4092
4092
  interface CheckReservationDetailsRequest {
4093
4093
  /** Reservation location ID. */
4094
- reservationLocationId: string;
4094
+ reservationLocationId?: string;
4095
4095
  /** Date. */
4096
- date: Date;
4096
+ date?: Date;
4097
4097
  /** Duration. */
4098
- duration: number | null;
4098
+ duration?: number | null;
4099
4099
  /** Party size. */
4100
- partySize: number | null;
4100
+ partySize?: number | null;
4101
4101
  /** Reservation, that should be ignored during the check. */
4102
4102
  excludeReservationId?: string | null;
4103
4103
  /** Requested table combination. */
@@ -4208,34 +4208,6 @@ interface TimeSlotNonNullableFields {
4208
4208
  interface GetTimeSlotsResponseNonNullableFields {
4209
4209
  timeSlots: TimeSlotNonNullableFields[];
4210
4210
  }
4211
- interface TableConflictNonNullableFields {
4212
- type: TableConflictType;
4213
- }
4214
- interface TableNonNullableFields {
4215
- _id: string;
4216
- tableConflicts: TableConflictNonNullableFields[];
4217
- }
4218
- interface TableCombinationConflictNonNullableFields {
4219
- type: TableCombinationConflictType;
4220
- }
4221
- interface TableCombinationNonNullableFields {
4222
- tableIds: string[];
4223
- tableCombinationConflicts: TableCombinationConflictNonNullableFields[];
4224
- }
4225
- interface ReservationLocationConflictNonNullableFields {
4226
- type: Type;
4227
- }
4228
- interface TableReservedConflictNonNullableFields {
4229
- tableId: string;
4230
- reservationIds: string[];
4231
- }
4232
- interface CheckReservationDetailsResponseNonNullableFields {
4233
- tables: TableNonNullableFields[];
4234
- tableCombinations: TableCombinationNonNullableFields[];
4235
- reservationLocationConflicts: ReservationLocationConflictNonNullableFields[];
4236
- requestedTableCombination?: TableCombinationNonNullableFields;
4237
- tableReservedConflicts: TableReservedConflictNonNullableFields[];
4238
- }
4239
4211
  interface TableCombinationAvailabilityNonNullableFields {
4240
4212
  tableIds: string[];
4241
4213
  tableCombinationConflicts: TableCombinationConflictType[];
@@ -4256,18 +4228,6 @@ interface GetTimeSlotsOptions {
4256
4228
  /** The number of time slots to retrieve after the given `date`. */
4257
4229
  slotsAfter?: number | null;
4258
4230
  }
4259
- interface CheckReservationDetailsOptions {
4260
- /** Date. */
4261
- date: Date;
4262
- /** Duration. */
4263
- duration: number | null;
4264
- /** Party size. */
4265
- partySize: number | null;
4266
- /** Reservation, that should be ignored during the check. */
4267
- excludeReservationId?: string | null;
4268
- /** Requested table combination. */
4269
- tableIds?: string[];
4270
- }
4271
4231
  interface CheckTimeSlotOptions {
4272
4232
  /** Date and time of the time slot to check. */
4273
4233
  date: Date;
@@ -4288,22 +4248,17 @@ interface CheckTimeSlotOptions {
4288
4248
  }
4289
4249
 
4290
4250
  declare function getTimeSlots$1(httpClient: HttpClient): (reservationLocationId: string, date: Date, partySize: number | null, options?: GetTimeSlotsOptions) => Promise<GetTimeSlotsResponse & GetTimeSlotsResponseNonNullableFields>;
4291
- declare function checkReservationDetails$1(httpClient: HttpClient): (reservationLocationId: string, options?: CheckReservationDetailsOptions) => Promise<CheckReservationDetailsResponse & CheckReservationDetailsResponseNonNullableFields>;
4292
4251
  declare function checkTimeSlot$1(httpClient: HttpClient): (reservationLocationId: string, options?: CheckTimeSlotOptions) => Promise<CheckTimeSlotResponse & CheckTimeSlotResponseNonNullableFields>;
4293
4252
 
4294
4253
  declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
4295
4254
 
4296
4255
  type _publicGetTimeSlotsType = typeof getTimeSlots$1;
4297
4256
  declare const getTimeSlots: ReturnType<typeof createRESTModule<_publicGetTimeSlotsType>>;
4298
- type _publicCheckReservationDetailsType = typeof checkReservationDetails$1;
4299
- declare const checkReservationDetails: ReturnType<typeof createRESTModule<_publicCheckReservationDetailsType>>;
4300
4257
  type _publicCheckTimeSlotType = typeof checkTimeSlot$1;
4301
4258
  declare const checkTimeSlot: ReturnType<typeof createRESTModule<_publicCheckTimeSlotType>>;
4302
4259
 
4303
- type context_CheckReservationDetailsOptions = CheckReservationDetailsOptions;
4304
4260
  type context_CheckReservationDetailsRequest = CheckReservationDetailsRequest;
4305
4261
  type context_CheckReservationDetailsResponse = CheckReservationDetailsResponse;
4306
- type context_CheckReservationDetailsResponseNonNullableFields = CheckReservationDetailsResponseNonNullableFields;
4307
4262
  type context_CheckTimeSlotOptions = CheckTimeSlotOptions;
4308
4263
  type context_CheckTimeSlotRequest = CheckTimeSlotRequest;
4309
4264
  type context_CheckTimeSlotResponse = CheckTimeSlotResponse;
@@ -4329,14 +4284,12 @@ type context_TimeSlot = TimeSlot;
4329
4284
  type context_TimeSlotTableCombination = TimeSlotTableCombination;
4330
4285
  type context_Type = Type;
4331
4286
  declare const context_Type: typeof Type;
4332
- type context__publicCheckReservationDetailsType = _publicCheckReservationDetailsType;
4333
4287
  type context__publicCheckTimeSlotType = _publicCheckTimeSlotType;
4334
4288
  type context__publicGetTimeSlotsType = _publicGetTimeSlotsType;
4335
- declare const context_checkReservationDetails: typeof checkReservationDetails;
4336
4289
  declare const context_checkTimeSlot: typeof checkTimeSlot;
4337
4290
  declare const context_getTimeSlots: typeof getTimeSlots;
4338
4291
  declare namespace context {
4339
- export { type context_CheckReservationDetailsOptions as CheckReservationDetailsOptions, type context_CheckReservationDetailsRequest as CheckReservationDetailsRequest, type context_CheckReservationDetailsResponse as CheckReservationDetailsResponse, type context_CheckReservationDetailsResponseNonNullableFields as CheckReservationDetailsResponseNonNullableFields, 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, type context__publicCheckReservationDetailsType as _publicCheckReservationDetailsType, type context__publicCheckTimeSlotType as _publicCheckTimeSlotType, type context__publicGetTimeSlotsType as _publicGetTimeSlotsType, context_checkReservationDetails as checkReservationDetails, context_checkTimeSlot as checkTimeSlot, context_getTimeSlots as getTimeSlots };
4292
+ 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, type context__publicCheckTimeSlotType as _publicCheckTimeSlotType, type context__publicGetTimeSlotsType as _publicGetTimeSlotsType, context_checkTimeSlot as checkTimeSlot, context_getTimeSlots as getTimeSlots };
4340
4293
  }
4341
4294
 
4342
4295
  export { context$1 as reservationLocations, context$2 as reservations, context as timeSlots };
@@ -3590,14 +3590,14 @@ interface TableDefinitionNonNullableFields {
3590
3590
  seatsMin: number;
3591
3591
  seatsMax: number;
3592
3592
  }
3593
- interface TableCombinationNonNullableFields$1 {
3593
+ interface TableCombinationNonNullableFields {
3594
3594
  seatsMin: number;
3595
3595
  seatsMax: number;
3596
3596
  }
3597
3597
  interface TableManagementNonNullableFields {
3598
3598
  tableDefinitions: TableDefinitionNonNullableFields[];
3599
3599
  deletedTableDefinitions: TableDefinitionNonNullableFields[];
3600
- tableCombinations: TableCombinationNonNullableFields$1[];
3600
+ tableCombinations: TableCombinationNonNullableFields[];
3601
3601
  }
3602
3602
  interface ReservationPaymentNonNullableFields {
3603
3603
  value: string;
@@ -4091,13 +4091,13 @@ interface GetTimeSlotsResponse {
4091
4091
  }
4092
4092
  interface CheckReservationDetailsRequest {
4093
4093
  /** Reservation location ID. */
4094
- reservationLocationId: string;
4094
+ reservationLocationId?: string;
4095
4095
  /** Date. */
4096
- date: Date;
4096
+ date?: Date;
4097
4097
  /** Duration. */
4098
- duration: number | null;
4098
+ duration?: number | null;
4099
4099
  /** Party size. */
4100
- partySize: number | null;
4100
+ partySize?: number | null;
4101
4101
  /** Reservation, that should be ignored during the check. */
4102
4102
  excludeReservationId?: string | null;
4103
4103
  /** Requested table combination. */
@@ -4208,34 +4208,6 @@ interface TimeSlotNonNullableFields {
4208
4208
  interface GetTimeSlotsResponseNonNullableFields {
4209
4209
  timeSlots: TimeSlotNonNullableFields[];
4210
4210
  }
4211
- interface TableConflictNonNullableFields {
4212
- type: TableConflictType;
4213
- }
4214
- interface TableNonNullableFields {
4215
- _id: string;
4216
- tableConflicts: TableConflictNonNullableFields[];
4217
- }
4218
- interface TableCombinationConflictNonNullableFields {
4219
- type: TableCombinationConflictType;
4220
- }
4221
- interface TableCombinationNonNullableFields {
4222
- tableIds: string[];
4223
- tableCombinationConflicts: TableCombinationConflictNonNullableFields[];
4224
- }
4225
- interface ReservationLocationConflictNonNullableFields {
4226
- type: Type;
4227
- }
4228
- interface TableReservedConflictNonNullableFields {
4229
- tableId: string;
4230
- reservationIds: string[];
4231
- }
4232
- interface CheckReservationDetailsResponseNonNullableFields {
4233
- tables: TableNonNullableFields[];
4234
- tableCombinations: TableCombinationNonNullableFields[];
4235
- reservationLocationConflicts: ReservationLocationConflictNonNullableFields[];
4236
- requestedTableCombination?: TableCombinationNonNullableFields;
4237
- tableReservedConflicts: TableReservedConflictNonNullableFields[];
4238
- }
4239
4211
  interface TableCombinationAvailabilityNonNullableFields {
4240
4212
  tableIds: string[];
4241
4213
  tableCombinationConflicts: TableCombinationConflictType[];
@@ -4256,18 +4228,6 @@ interface GetTimeSlotsOptions {
4256
4228
  /** The number of time slots to retrieve after the given `date`. */
4257
4229
  slotsAfter?: number | null;
4258
4230
  }
4259
- interface CheckReservationDetailsOptions {
4260
- /** Date. */
4261
- date: Date;
4262
- /** Duration. */
4263
- duration: number | null;
4264
- /** Party size. */
4265
- partySize: number | null;
4266
- /** Reservation, that should be ignored during the check. */
4267
- excludeReservationId?: string | null;
4268
- /** Requested table combination. */
4269
- tableIds?: string[];
4270
- }
4271
4231
  interface CheckTimeSlotOptions {
4272
4232
  /** Date and time of the time slot to check. */
4273
4233
  date: Date;
@@ -4288,22 +4248,17 @@ interface CheckTimeSlotOptions {
4288
4248
  }
4289
4249
 
4290
4250
  declare function getTimeSlots$1(httpClient: HttpClient): (reservationLocationId: string, date: Date, partySize: number | null, options?: GetTimeSlotsOptions) => Promise<GetTimeSlotsResponse & GetTimeSlotsResponseNonNullableFields>;
4291
- declare function checkReservationDetails$1(httpClient: HttpClient): (reservationLocationId: string, options?: CheckReservationDetailsOptions) => Promise<CheckReservationDetailsResponse & CheckReservationDetailsResponseNonNullableFields>;
4292
4251
  declare function checkTimeSlot$1(httpClient: HttpClient): (reservationLocationId: string, options?: CheckTimeSlotOptions) => Promise<CheckTimeSlotResponse & CheckTimeSlotResponseNonNullableFields>;
4293
4252
 
4294
4253
  declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
4295
4254
 
4296
4255
  type _publicGetTimeSlotsType = typeof getTimeSlots$1;
4297
4256
  declare const getTimeSlots: ReturnType<typeof createRESTModule<_publicGetTimeSlotsType>>;
4298
- type _publicCheckReservationDetailsType = typeof checkReservationDetails$1;
4299
- declare const checkReservationDetails: ReturnType<typeof createRESTModule<_publicCheckReservationDetailsType>>;
4300
4257
  type _publicCheckTimeSlotType = typeof checkTimeSlot$1;
4301
4258
  declare const checkTimeSlot: ReturnType<typeof createRESTModule<_publicCheckTimeSlotType>>;
4302
4259
 
4303
- type index_d_CheckReservationDetailsOptions = CheckReservationDetailsOptions;
4304
4260
  type index_d_CheckReservationDetailsRequest = CheckReservationDetailsRequest;
4305
4261
  type index_d_CheckReservationDetailsResponse = CheckReservationDetailsResponse;
4306
- type index_d_CheckReservationDetailsResponseNonNullableFields = CheckReservationDetailsResponseNonNullableFields;
4307
4262
  type index_d_CheckTimeSlotOptions = CheckTimeSlotOptions;
4308
4263
  type index_d_CheckTimeSlotRequest = CheckTimeSlotRequest;
4309
4264
  type index_d_CheckTimeSlotResponse = CheckTimeSlotResponse;
@@ -4329,14 +4284,12 @@ type index_d_TimeSlot = TimeSlot;
4329
4284
  type index_d_TimeSlotTableCombination = TimeSlotTableCombination;
4330
4285
  type index_d_Type = Type;
4331
4286
  declare const index_d_Type: typeof Type;
4332
- type index_d__publicCheckReservationDetailsType = _publicCheckReservationDetailsType;
4333
4287
  type index_d__publicCheckTimeSlotType = _publicCheckTimeSlotType;
4334
4288
  type index_d__publicGetTimeSlotsType = _publicGetTimeSlotsType;
4335
- declare const index_d_checkReservationDetails: typeof checkReservationDetails;
4336
4289
  declare const index_d_checkTimeSlot: typeof checkTimeSlot;
4337
4290
  declare const index_d_getTimeSlots: typeof getTimeSlots;
4338
4291
  declare namespace index_d {
4339
- export { type index_d_CheckReservationDetailsOptions as CheckReservationDetailsOptions, type index_d_CheckReservationDetailsRequest as CheckReservationDetailsRequest, type index_d_CheckReservationDetailsResponse as CheckReservationDetailsResponse, type index_d_CheckReservationDetailsResponseNonNullableFields as CheckReservationDetailsResponseNonNullableFields, 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, type index_d__publicCheckReservationDetailsType as _publicCheckReservationDetailsType, type index_d__publicCheckTimeSlotType as _publicCheckTimeSlotType, type index_d__publicGetTimeSlotsType as _publicGetTimeSlotsType, index_d_checkReservationDetails as checkReservationDetails, index_d_checkTimeSlot as checkTimeSlot, index_d_getTimeSlots as getTimeSlots };
4292
+ 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, type index_d__publicCheckTimeSlotType as _publicCheckTimeSlotType, type index_d__publicGetTimeSlotsType as _publicGetTimeSlotsType, index_d_checkTimeSlot as checkTimeSlot, index_d_getTimeSlots as getTimeSlots };
4340
4293
  }
4341
4294
 
4342
4295
  export { index_d$1 as reservationLocations, index_d$2 as reservations, index_d as timeSlots };
@@ -2094,7 +2094,7 @@ interface TableDefinition$1 {
2094
2094
  /** Whether the table is active (available to be reserved). */
2095
2095
  isActive?: boolean | null;
2096
2096
  }
2097
- interface TableCombination$3 {
2097
+ interface TableCombination$1 {
2098
2098
  /**
2099
2099
  * Table combination ID.
2100
2100
  * @readonly
@@ -2371,7 +2371,7 @@ interface TableManagement$1 {
2371
2371
  /** Deleted table definitions. */
2372
2372
  deletedTableDefinitions?: TableDefinition$1[];
2373
2373
  /** Table combinations. */
2374
- tableCombinations?: TableCombination$3[];
2374
+ tableCombinations?: TableCombination$1[];
2375
2375
  }
2376
2376
  interface Location$1 {
2377
2377
  /**
@@ -2665,14 +2665,14 @@ interface TableDefinitionNonNullableFields$1 {
2665
2665
  seatsMin: number;
2666
2666
  seatsMax: number;
2667
2667
  }
2668
- interface TableCombinationNonNullableFields$3 {
2668
+ interface TableCombinationNonNullableFields$1 {
2669
2669
  seatsMin: number;
2670
2670
  seatsMax: number;
2671
2671
  }
2672
2672
  interface TableManagementNonNullableFields$1 {
2673
2673
  tableDefinitions: TableDefinitionNonNullableFields$1[];
2674
2674
  deletedTableDefinitions: TableDefinitionNonNullableFields$1[];
2675
- tableCombinations: TableCombinationNonNullableFields$3[];
2675
+ tableCombinations: TableCombinationNonNullableFields$1[];
2676
2676
  }
2677
2677
  interface ReservationPaymentNonNullableFields$1 {
2678
2678
  value: string;
@@ -2815,7 +2815,7 @@ interface TableDefinition {
2815
2815
  /** Whether the table is active (available to be reserved). */
2816
2816
  isActive?: boolean | null;
2817
2817
  }
2818
- interface TableCombination$2 {
2818
+ interface TableCombination {
2819
2819
  /**
2820
2820
  * Table combination ID.
2821
2821
  * @readonly
@@ -3091,7 +3091,7 @@ interface TableManagement {
3091
3091
  /** Deleted table definitions. */
3092
3092
  deletedTableDefinitions?: TableDefinition[];
3093
3093
  /** Table combinations. */
3094
- tableCombinations?: TableCombination$2[];
3094
+ tableCombinations?: TableCombination[];
3095
3095
  }
3096
3096
  interface Location {
3097
3097
  /**
@@ -3382,14 +3382,14 @@ interface TableDefinitionNonNullableFields {
3382
3382
  seatsMin: number;
3383
3383
  seatsMax: number;
3384
3384
  }
3385
- interface TableCombinationNonNullableFields$2 {
3385
+ interface TableCombinationNonNullableFields {
3386
3386
  seatsMin: number;
3387
3387
  seatsMax: number;
3388
3388
  }
3389
3389
  interface TableManagementNonNullableFields {
3390
3390
  tableDefinitions: TableDefinitionNonNullableFields[];
3391
3391
  deletedTableDefinitions: TableDefinitionNonNullableFields[];
3392
- tableCombinations: TableCombinationNonNullableFields$2[];
3392
+ tableCombinations: TableCombinationNonNullableFields[];
3393
3393
  }
3394
3394
  interface ReservationPaymentNonNullableFields {
3395
3395
  value: string;
@@ -3493,60 +3493,6 @@ interface GetTimeSlotsResponse$1 {
3493
3493
  /** A list of time slots and their availability according to the given party size. */
3494
3494
  timeSlots?: TimeSlot$1[];
3495
3495
  }
3496
- interface CheckReservationDetailsRequest$1 {
3497
- /** Reservation location ID. */
3498
- reservationLocationId: string;
3499
- /** Date. */
3500
- date: Date;
3501
- /** Duration. */
3502
- duration: number | null;
3503
- /** Party size. */
3504
- partySize: number | null;
3505
- /** Reservation, that should be ignored during the check. */
3506
- excludeReservationId?: string | null;
3507
- /** Requested table combination. */
3508
- tableIds?: string[];
3509
- }
3510
- interface CheckReservationDetailsResponse$1 {
3511
- /** Tables states. */
3512
- tables?: Table$1[];
3513
- /** Table combinations states. */
3514
- tableCombinations?: TableCombination$1[];
3515
- /** Reservation location conflicts. */
3516
- reservationLocationConflicts?: ReservationLocationConflict$1[];
3517
- /** Requested table combination state. */
3518
- requestedTableCombination?: TableCombination$1;
3519
- /** List of reserved tables with corresponding reservation ids. */
3520
- tableReservedConflicts?: TableReservedConflict$1[];
3521
- /** Whether manual approval is required to make a reservation in this time slot. */
3522
- manualApproval?: boolean | null;
3523
- /** Whether payment is required to make a reservation in this time slot. */
3524
- paymentRequired?: boolean | null;
3525
- }
3526
- interface Table$1 {
3527
- id?: string;
3528
- /** Table conflicts. */
3529
- tableConflicts?: TableConflict$1[];
3530
- }
3531
- interface TableConflict$1 {
3532
- /** Conflict type. */
3533
- type?: TableConflictType$1;
3534
- }
3535
- declare enum TableConflictType$1 {
3536
- UNKNOWN = "UNKNOWN",
3537
- TABLE_RESERVED = "TABLE_RESERVED",
3538
- TABLE_TOO_BIG = "TABLE_TOO_BIG",
3539
- TABLE_TOO_SMALL = "TABLE_TOO_SMALL",
3540
- OFFLINE_ONLY = "OFFLINE_ONLY"
3541
- }
3542
- interface TableCombination$1 {
3543
- tableIds?: string[];
3544
- tableCombinationConflicts?: TableCombinationConflict$1[];
3545
- }
3546
- interface TableCombinationConflict$1 {
3547
- /** Conflict type. */
3548
- type?: TableCombinationConflictType$1;
3549
- }
3550
3496
  declare enum TableCombinationConflictType$1 {
3551
3497
  UNKNOWN = "UNKNOWN",
3552
3498
  RESERVED = "RESERVED",
@@ -3554,21 +3500,11 @@ declare enum TableCombinationConflictType$1 {
3554
3500
  TOO_SMALL = "TOO_SMALL",
3555
3501
  OFFLINE_ONLY = "OFFLINE_ONLY"
3556
3502
  }
3557
- interface ReservationLocationConflict$1 {
3558
- /** Reservation location conflict type. */
3559
- type?: Type$1;
3560
- }
3561
3503
  declare enum Type$1 {
3562
3504
  UNKNOWN = "UNKNOWN",
3563
3505
  PARTY_PACING = "PARTY_PACING",
3564
3506
  SEAT_PACING = "SEAT_PACING"
3565
3507
  }
3566
- interface TableReservedConflict$1 {
3567
- /** Table id. */
3568
- tableId?: string;
3569
- /** List of reservation ids. */
3570
- reservationIds?: string[];
3571
- }
3572
3508
  interface CheckTimeSlotRequest$1 {
3573
3509
  /** ID of the reservation location for which to check the time slot. */
3574
3510
  reservationLocationId: string;
@@ -3612,34 +3548,6 @@ interface TimeSlotNonNullableFields$1 {
3612
3548
  interface GetTimeSlotsResponseNonNullableFields$1 {
3613
3549
  timeSlots: TimeSlotNonNullableFields$1[];
3614
3550
  }
3615
- interface TableConflictNonNullableFields$1 {
3616
- type: TableConflictType$1;
3617
- }
3618
- interface TableNonNullableFields$1 {
3619
- id: string;
3620
- tableConflicts: TableConflictNonNullableFields$1[];
3621
- }
3622
- interface TableCombinationConflictNonNullableFields$1 {
3623
- type: TableCombinationConflictType$1;
3624
- }
3625
- interface TableCombinationNonNullableFields$1 {
3626
- tableIds: string[];
3627
- tableCombinationConflicts: TableCombinationConflictNonNullableFields$1[];
3628
- }
3629
- interface ReservationLocationConflictNonNullableFields$1 {
3630
- type: Type$1;
3631
- }
3632
- interface TableReservedConflictNonNullableFields$1 {
3633
- tableId: string;
3634
- reservationIds: string[];
3635
- }
3636
- interface CheckReservationDetailsResponseNonNullableFields$1 {
3637
- tables: TableNonNullableFields$1[];
3638
- tableCombinations: TableCombinationNonNullableFields$1[];
3639
- reservationLocationConflicts: ReservationLocationConflictNonNullableFields$1[];
3640
- requestedTableCombination?: TableCombinationNonNullableFields$1;
3641
- tableReservedConflicts: TableReservedConflictNonNullableFields$1[];
3642
- }
3643
3551
  interface TableCombinationAvailabilityNonNullableFields$1 {
3644
3552
  tableIds: string[];
3645
3553
  tableCombinationConflicts: TableCombinationConflictType$1[];
@@ -3696,60 +3604,6 @@ interface GetTimeSlotsResponse {
3696
3604
  /** A list of time slots and their availability according to the given party size. */
3697
3605
  timeSlots?: TimeSlot[];
3698
3606
  }
3699
- interface CheckReservationDetailsRequest {
3700
- /** Reservation location ID. */
3701
- reservationLocationId: string;
3702
- /** Date. */
3703
- date: Date;
3704
- /** Duration. */
3705
- duration: number | null;
3706
- /** Party size. */
3707
- partySize: number | null;
3708
- /** Reservation, that should be ignored during the check. */
3709
- excludeReservationId?: string | null;
3710
- /** Requested table combination. */
3711
- tableIds?: string[];
3712
- }
3713
- interface CheckReservationDetailsResponse {
3714
- /** Tables states. */
3715
- tables?: Table[];
3716
- /** Table combinations states. */
3717
- tableCombinations?: TableCombination[];
3718
- /** Reservation location conflicts. */
3719
- reservationLocationConflicts?: ReservationLocationConflict[];
3720
- /** Requested table combination state. */
3721
- requestedTableCombination?: TableCombination;
3722
- /** List of reserved tables with corresponding reservation ids. */
3723
- tableReservedConflicts?: TableReservedConflict[];
3724
- /** Whether manual approval is required to make a reservation in this time slot. */
3725
- manualApproval?: boolean | null;
3726
- /** Whether payment is required to make a reservation in this time slot. */
3727
- paymentRequired?: boolean | null;
3728
- }
3729
- interface Table {
3730
- _id?: string;
3731
- /** Table conflicts. */
3732
- tableConflicts?: TableConflict[];
3733
- }
3734
- interface TableConflict {
3735
- /** Conflict type. */
3736
- type?: TableConflictType;
3737
- }
3738
- declare enum TableConflictType {
3739
- UNKNOWN = "UNKNOWN",
3740
- TABLE_RESERVED = "TABLE_RESERVED",
3741
- TABLE_TOO_BIG = "TABLE_TOO_BIG",
3742
- TABLE_TOO_SMALL = "TABLE_TOO_SMALL",
3743
- OFFLINE_ONLY = "OFFLINE_ONLY"
3744
- }
3745
- interface TableCombination {
3746
- tableIds?: string[];
3747
- tableCombinationConflicts?: TableCombinationConflict[];
3748
- }
3749
- interface TableCombinationConflict {
3750
- /** Conflict type. */
3751
- type?: TableCombinationConflictType;
3752
- }
3753
3607
  declare enum TableCombinationConflictType {
3754
3608
  UNKNOWN = "UNKNOWN",
3755
3609
  RESERVED = "RESERVED",
@@ -3757,21 +3611,11 @@ declare enum TableCombinationConflictType {
3757
3611
  TOO_SMALL = "TOO_SMALL",
3758
3612
  OFFLINE_ONLY = "OFFLINE_ONLY"
3759
3613
  }
3760
- interface ReservationLocationConflict {
3761
- /** Reservation location conflict type. */
3762
- type?: Type;
3763
- }
3764
3614
  declare enum Type {
3765
3615
  UNKNOWN = "UNKNOWN",
3766
3616
  PARTY_PACING = "PARTY_PACING",
3767
3617
  SEAT_PACING = "SEAT_PACING"
3768
3618
  }
3769
- interface TableReservedConflict {
3770
- /** Table id. */
3771
- tableId?: string;
3772
- /** List of reservation ids. */
3773
- reservationIds?: string[];
3774
- }
3775
3619
  interface CheckTimeSlotRequest {
3776
3620
  /** ID of the reservation location for which to check the time slot. */
3777
3621
  reservationLocationId: string;
@@ -3815,34 +3659,6 @@ interface TimeSlotNonNullableFields {
3815
3659
  interface GetTimeSlotsResponseNonNullableFields {
3816
3660
  timeSlots: TimeSlotNonNullableFields[];
3817
3661
  }
3818
- interface TableConflictNonNullableFields {
3819
- type: TableConflictType;
3820
- }
3821
- interface TableNonNullableFields {
3822
- _id: string;
3823
- tableConflicts: TableConflictNonNullableFields[];
3824
- }
3825
- interface TableCombinationConflictNonNullableFields {
3826
- type: TableCombinationConflictType;
3827
- }
3828
- interface TableCombinationNonNullableFields {
3829
- tableIds: string[];
3830
- tableCombinationConflicts: TableCombinationConflictNonNullableFields[];
3831
- }
3832
- interface ReservationLocationConflictNonNullableFields {
3833
- type: Type;
3834
- }
3835
- interface TableReservedConflictNonNullableFields {
3836
- tableId: string;
3837
- reservationIds: string[];
3838
- }
3839
- interface CheckReservationDetailsResponseNonNullableFields {
3840
- tables: TableNonNullableFields[];
3841
- tableCombinations: TableCombinationNonNullableFields[];
3842
- reservationLocationConflicts: ReservationLocationConflictNonNullableFields[];
3843
- requestedTableCombination?: TableCombinationNonNullableFields;
3844
- tableReservedConflicts: TableReservedConflictNonNullableFields[];
3845
- }
3846
3662
  interface TableCombinationAvailabilityNonNullableFields {
3847
3663
  tableIds: string[];
3848
3664
  tableCombinationConflicts: TableCombinationConflictType[];
@@ -3863,15 +3679,13 @@ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q
3863
3679
  __originalResponseType: R;
3864
3680
  };
3865
3681
  declare function getTimeSlots(): __PublicMethodMetaInfo<'POST', {}, GetTimeSlotsRequest, GetTimeSlotsRequest$1, GetTimeSlotsResponse & GetTimeSlotsResponseNonNullableFields, GetTimeSlotsResponse$1 & GetTimeSlotsResponseNonNullableFields$1>;
3866
- declare function checkReservationDetails(): __PublicMethodMetaInfo<'POST', {}, CheckReservationDetailsRequest, CheckReservationDetailsRequest$1, CheckReservationDetailsResponse & CheckReservationDetailsResponseNonNullableFields, CheckReservationDetailsResponse$1 & CheckReservationDetailsResponseNonNullableFields$1>;
3867
3682
  declare function checkTimeSlot(): __PublicMethodMetaInfo<'POST', {}, CheckTimeSlotRequest, CheckTimeSlotRequest$1, CheckTimeSlotResponse & CheckTimeSlotResponseNonNullableFields, CheckTimeSlotResponse$1 & CheckTimeSlotResponseNonNullableFields$1>;
3868
3683
 
3869
3684
  type meta___PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = __PublicMethodMetaInfo<K, M, T, S, Q, R>;
3870
- declare const meta_checkReservationDetails: typeof checkReservationDetails;
3871
3685
  declare const meta_checkTimeSlot: typeof checkTimeSlot;
3872
3686
  declare const meta_getTimeSlots: typeof getTimeSlots;
3873
3687
  declare namespace meta {
3874
- export { type meta___PublicMethodMetaInfo as __PublicMethodMetaInfo, meta_checkReservationDetails as checkReservationDetails, meta_checkTimeSlot as checkTimeSlot, meta_getTimeSlots as getTimeSlots };
3688
+ export { type meta___PublicMethodMetaInfo as __PublicMethodMetaInfo, meta_checkTimeSlot as checkTimeSlot, meta_getTimeSlots as getTimeSlots };
3875
3689
  }
3876
3690
 
3877
3691
  export { meta$1 as reservationLocations, meta$2 as reservations, meta as timeSlots };