@wix/table-reservations 1.0.116 → 1.0.118

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.118",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -19,8 +19,8 @@
19
19
  ],
20
20
  "dependencies": {
21
21
  "@wix/table-reservations_reservation-locations": "1.0.40",
22
- "@wix/table-reservations_reservations": "1.0.35",
23
- "@wix/table-reservations_time-slots": "1.0.37"
22
+ "@wix/table-reservations_reservations": "1.0.36",
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": "c3a1013bd805c53cf12294c6f628e3e2219efb1b00ec9495256e5cf6"
49
49
  }
@@ -505,7 +505,7 @@ interface SearchReservationsRequest {
505
505
  search: CursorSearch;
506
506
  }
507
507
  interface CursorSearch extends CursorSearchPagingMethodOneOf {
508
- /** Cursor pointing to a page of results. Can't be used together with 'paging'. 'cursor_paging.cursor' can't be used together with 'filter' or 'sort'. */
508
+ /** Cursor pointing to a page of results. Can't be used together with 'paging'. 'cursorPaging.cursor' can't be used together with 'filter' or 'sort'. */
509
509
  cursorPaging?: CursorPaging$1;
510
510
  /**
511
511
  * Filter object in the following format:
@@ -533,7 +533,7 @@ interface CursorSearch extends CursorSearchPagingMethodOneOf {
533
533
  }
534
534
  /** @oneof */
535
535
  interface CursorSearchPagingMethodOneOf {
536
- /** Cursor pointing to a page of results. Can't be used together with 'paging'. 'cursor_paging.cursor' can't be used together with 'filter' or 'sort'. */
536
+ /** Cursor pointing to a page of results. Can't be used together with 'paging'. 'cursorPaging.cursor' can't be used together with 'filter' or 'sort'. */
537
537
  cursorPaging?: CursorPaging$1;
538
538
  }
539
539
  interface Aggregation extends AggregationKindOneOf {
@@ -721,7 +721,7 @@ interface SearchDetails {
721
721
  /**
722
722
  * Fields to search in.
723
723
  *
724
- * Searchable fields are `reservee.first_name`, `reservee.last_name`, `reservee.phone`, and `reservee.email`.
724
+ * Searchable fields are `reservee.firstName`, `reservee.lastName`, `reservee.phone`, and `reservee.email`.
725
725
  *
726
726
  * If the array is empty, all fields are searched.
727
727
  */
@@ -1144,14 +1144,6 @@ interface SearchReservationsResponseNonNullableFields {
1144
1144
  reservations: ReservationNonNullableFields[];
1145
1145
  aggregationData?: AggregationDataNonNullableFields;
1146
1146
  }
1147
- interface HeadersEntryNonNullableFields {
1148
- key: string;
1149
- value: string;
1150
- }
1151
- interface RawHttpResponseNonNullableFields {
1152
- body: Uint8Array;
1153
- headers: HeadersEntryNonNullableFields[];
1154
- }
1155
1147
  interface BaseEventMetadata$1 {
1156
1148
  /** App instance ID. */
1157
1149
  instanceId?: string | null;
@@ -1419,15 +1411,6 @@ interface ReservationsQueryBuilder {
1419
1411
  /** @documentationMaturity preview */
1420
1412
  find: () => Promise<ReservationsQueryResult>;
1421
1413
  }
1422
- interface GetCalendarInviteFileWebhookOptions {
1423
- body?: Uint8Array;
1424
- pathParams?: PathParametersEntry[];
1425
- queryParams?: QueryParametersEntry[];
1426
- headers?: HeadersEntry[];
1427
- method?: string;
1428
- rawPath?: string;
1429
- rawQuery?: string;
1430
- }
1431
1414
 
1432
1415
  type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
1433
1416
  interface HttpClient {
@@ -1483,7 +1466,6 @@ declare function deleteReservation$1(httpClient: HttpClient): (reservationId: st
1483
1466
  declare function listReservations$1(httpClient: HttpClient): (options?: ListReservationsOptions) => Promise<ListReservationsResponse & ListReservationsResponseNonNullableFields>;
1484
1467
  declare function queryReservations$1(httpClient: HttpClient): () => ReservationsQueryBuilder;
1485
1468
  declare function searchReservations$1(httpClient: HttpClient): (search: CursorSearch) => Promise<SearchReservationsResponse & SearchReservationsResponseNonNullableFields>;
1486
- declare function getCalendarInviteFileWebhook$1(httpClient: HttpClient): (options?: GetCalendarInviteFileWebhookOptions) => Promise<RawHttpResponse & RawHttpResponseNonNullableFields>;
1487
1469
  declare const onReservationCreated$1: EventDefinition<ReservationCreatedEnvelope, "wix.table_reservations.v1.reservation_created">;
1488
1470
 
1489
1471
  declare function createRESTModule$2<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
@@ -1510,8 +1492,6 @@ type _publicQueryReservationsType = typeof queryReservations$1;
1510
1492
  declare const queryReservations: ReturnType<typeof createRESTModule$2<_publicQueryReservationsType>>;
1511
1493
  type _publicSearchReservationsType = typeof searchReservations$1;
1512
1494
  declare const searchReservations: ReturnType<typeof createRESTModule$2<_publicSearchReservationsType>>;
1513
- type _publicGetCalendarInviteFileWebhookType = typeof getCalendarInviteFileWebhook$1;
1514
- declare const getCalendarInviteFileWebhook: ReturnType<typeof createRESTModule$2<_publicGetCalendarInviteFileWebhookType>>;
1515
1495
 
1516
1496
  type _publicOnReservationCreatedType = typeof onReservationCreated$1;
1517
1497
  declare const onReservationCreated: ReturnType<typeof createEventModule$1<_publicOnReservationCreatedType>>;
@@ -1545,7 +1525,6 @@ type context$2_DateHistogramResults = DateHistogramResults;
1545
1525
  type context$2_DeleteReservationRequest = DeleteReservationRequest;
1546
1526
  type context$2_DeleteReservationResponse = DeleteReservationResponse;
1547
1527
  type context$2_Details = Details;
1548
- type context$2_GetCalendarInviteFileWebhookOptions = GetCalendarInviteFileWebhookOptions;
1549
1528
  type context$2_GetReservationOptions = GetReservationOptions;
1550
1529
  type context$2_GetReservationRequest = GetReservationRequest;
1551
1530
  type context$2_GetReservationResponse = GetReservationResponse;
@@ -1588,7 +1567,6 @@ type context$2_RangeResult = RangeResult;
1588
1567
  type context$2_RangeResults = RangeResults;
1589
1568
  type context$2_RawHttpRequest = RawHttpRequest;
1590
1569
  type context$2_RawHttpResponse = RawHttpResponse;
1591
- type context$2_RawHttpResponseNonNullableFields = RawHttpResponseNonNullableFields;
1592
1570
  type context$2_RemoveReservationMigrationNotesRequest = RemoveReservationMigrationNotesRequest;
1593
1571
  type context$2_RemoveReservationMigrationNotesResponse = RemoveReservationMigrationNotesResponse;
1594
1572
  type context$2_Reservation = Reservation;
@@ -1639,7 +1617,6 @@ type context$2__publicCancelReservationType = _publicCancelReservationType;
1639
1617
  type context$2__publicCreateHeldReservationType = _publicCreateHeldReservationType;
1640
1618
  type context$2__publicCreateReservationType = _publicCreateReservationType;
1641
1619
  type context$2__publicDeleteReservationType = _publicDeleteReservationType;
1642
- type context$2__publicGetCalendarInviteFileWebhookType = _publicGetCalendarInviteFileWebhookType;
1643
1620
  type context$2__publicGetReservationType = _publicGetReservationType;
1644
1621
  type context$2__publicListReservationsType = _publicListReservationsType;
1645
1622
  type context$2__publicOnReservationCreatedType = _publicOnReservationCreatedType;
@@ -1651,7 +1628,6 @@ declare const context$2_cancelReservation: typeof cancelReservation;
1651
1628
  declare const context$2_createHeldReservation: typeof createHeldReservation;
1652
1629
  declare const context$2_createReservation: typeof createReservation;
1653
1630
  declare const context$2_deleteReservation: typeof deleteReservation;
1654
- declare const context$2_getCalendarInviteFileWebhook: typeof getCalendarInviteFileWebhook;
1655
1631
  declare const context$2_getReservation: typeof getReservation;
1656
1632
  declare const context$2_listReservations: typeof listReservations;
1657
1633
  declare const context$2_onReservationCreated: typeof onReservationCreated;
@@ -1660,7 +1636,7 @@ declare const context$2_reserveReservation: typeof reserveReservation;
1660
1636
  declare const context$2_searchReservations: typeof searchReservations;
1661
1637
  declare const context$2_updateReservation: typeof updateReservation;
1662
1638
  declare namespace context$2 {
1663
- export { type ActionEvent$1 as ActionEvent, type context$2_Aggregation as Aggregation, type context$2_AggregationData as AggregationData, type context$2_AggregationKindOneOf as AggregationKindOneOf, type context$2_AggregationResults as AggregationResults, type context$2_AggregationResultsResultOneOf as AggregationResultsResultOneOf, type context$2_AggregationResultsScalarResult as AggregationResultsScalarResult, context$2_AggregationType as AggregationType, type BaseEventMetadata$1 as BaseEventMetadata, type context$2_CancelReservationOptions as CancelReservationOptions, type context$2_CancelReservationRequest as CancelReservationRequest, type context$2_CancelReservationResponse as CancelReservationResponse, type context$2_CancelReservationResponseNonNullableFields as CancelReservationResponseNonNullableFields, type context$2_CreateHeldReservationRequest as CreateHeldReservationRequest, type context$2_CreateHeldReservationResponse as CreateHeldReservationResponse, type context$2_CreateHeldReservationResponseNonNullableFields as CreateHeldReservationResponseNonNullableFields, type context$2_CreateReservationOptions as CreateReservationOptions, type context$2_CreateReservationRequest as CreateReservationRequest, type context$2_CreateReservationResponse as CreateReservationResponse, type context$2_CreateReservationResponseNonNullableFields as CreateReservationResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type CursorPagingMetadata$1 as CursorPagingMetadata, type context$2_CursorQuery as CursorQuery, type context$2_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type context$2_CursorSearch as CursorSearch, type context$2_CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOf, type Cursors$1 as Cursors, type context$2_DateHistogramAggregation as DateHistogramAggregation, type context$2_DateHistogramResult as DateHistogramResult, type context$2_DateHistogramResults as DateHistogramResults, type context$2_DeleteReservationRequest as DeleteReservationRequest, type context$2_DeleteReservationResponse as DeleteReservationResponse, type context$2_Details as Details, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type context$2_GetCalendarInviteFileWebhookOptions as GetCalendarInviteFileWebhookOptions, type context$2_GetReservationOptions as GetReservationOptions, type context$2_GetReservationRequest as GetReservationRequest, type context$2_GetReservationResponse as GetReservationResponse, type context$2_GetReservationResponseNonNullableFields as GetReservationResponseNonNullableFields, type context$2_GroupByValueResults as GroupByValueResults, type context$2_HeadersEntry as HeadersEntry, type context$2_HeldReservationDetails as HeldReservationDetails, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type context$2_IncludeMissingValuesOptions as IncludeMissingValuesOptions, context$2_Interval as Interval, type context$2_ListReservationsOptions as ListReservationsOptions, type context$2_ListReservationsRequest as ListReservationsRequest, type context$2_ListReservationsResponse as ListReservationsResponse, type context$2_ListReservationsResponseNonNullableFields as ListReservationsResponseNonNullableFields, type MessageEnvelope$1 as MessageEnvelope, type context$2_MigrationNote as MigrationNote, context$2_MissingValues as MissingValues, Mode$1 as Mode, type context$2_NestedAggregation as NestedAggregation, type context$2_NestedAggregationItem as NestedAggregationItem, type context$2_NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOf, type context$2_NestedAggregationResults as NestedAggregationResults, type context$2_NestedAggregationResultsResultOneOf as NestedAggregationResultsResultOneOf, context$2_NestedAggregationType as NestedAggregationType, type context$2_NestedResultValue as NestedResultValue, type context$2_NestedResultValueResultOneOf as NestedResultValueResultOneOf, type context$2_NestedResults as NestedResults, type context$2_NestedValueAggregationResult as NestedValueAggregationResult, type context$2_PathParametersEntry as PathParametersEntry, context$2_PaymentStatus as PaymentStatus, type context$2_QueryParametersEntry as QueryParametersEntry, type context$2_QueryReservationsRequest as QueryReservationsRequest, type context$2_QueryReservationsResponse as QueryReservationsResponse, type context$2_QueryReservationsResponseNonNullableFields as QueryReservationsResponseNonNullableFields, type context$2_RangeAggregation as RangeAggregation, type context$2_RangeAggregationResult as RangeAggregationResult, type context$2_RangeBucket as RangeBucket, type context$2_RangeResult as RangeResult, type context$2_RangeResults as RangeResults, type context$2_RawHttpRequest as RawHttpRequest, type context$2_RawHttpResponse as RawHttpResponse, type context$2_RawHttpResponseNonNullableFields as RawHttpResponseNonNullableFields, type context$2_RemoveReservationMigrationNotesRequest as RemoveReservationMigrationNotesRequest, type context$2_RemoveReservationMigrationNotesResponse as RemoveReservationMigrationNotesResponse, type context$2_Reservation as Reservation, type context$2_ReservationCanceled as ReservationCanceled, type context$2_ReservationCreated as ReservationCreated, type context$2_ReservationCreatedEnvelope as ReservationCreatedEnvelope, type context$2_ReservationDataUpdated as ReservationDataUpdated, type context$2_ReservationDelayedDomainEvent as ReservationDelayedDomainEvent, type context$2_ReservationDelayedDomainEventBodyTypeOneOf as ReservationDelayedDomainEventBodyTypeOneOf, type context$2_ReservationDelayedDomainEventReservationCanceled as ReservationDelayedDomainEventReservationCanceled, type context$2_ReservationDetailsConflicts as ReservationDetailsConflicts, type ReservationLocationConflict$1 as ReservationLocationConflict, type context$2_ReservationNonNullableFields as ReservationNonNullableFields, type context$2_ReservationUpdated as ReservationUpdated, type context$2_ReservationsQueryBuilder as ReservationsQueryBuilder, type context$2_ReservationsQueryResult as ReservationsQueryResult, type context$2_ReserveReservationRequest as ReserveReservationRequest, type context$2_ReserveReservationResponse as ReserveReservationResponse, type context$2_ReserveReservationResponseNonNullableFields as ReserveReservationResponseNonNullableFields, type context$2_ReservedBy as ReservedBy, type context$2_Reservee as Reservee, type RestoreInfo$1 as RestoreInfo, type context$2_Results as Results, type context$2_ScalarAggregation as ScalarAggregation, type context$2_ScalarResult as ScalarResult, context$2_ScalarType as ScalarType, type context$2_SearchDetails as SearchDetails, type context$2_SearchReservationsRequest as SearchReservationsRequest, type context$2_SearchReservationsResponse as SearchReservationsResponse, type context$2_SearchReservationsResponseNonNullableFields as SearchReservationsResponseNonNullableFields, Set$1 as Set, context$2_SortDirection as SortDirection, SortOrder$1 as SortOrder, context$2_SortType as SortType, type Sorting$1 as Sorting, context$2_Source as Source, Status$1 as Status, type TableCombinationConflict$1 as TableCombinationConflict, TableCombinationConflictType$1 as TableCombinationConflictType, type context$2_TableWithReservationConflicts as TableWithReservationConflicts, Type$1 as Type, type context$2_UpdateReservation as UpdateReservation, type context$2_UpdateReservationOptions as UpdateReservationOptions, type context$2_UpdateReservationRequest as UpdateReservationRequest, type context$2_UpdateReservationResponse as UpdateReservationResponse, type context$2_UpdateReservationResponseNonNullableFields as UpdateReservationResponseNonNullableFields, type context$2_ValueAggregation as ValueAggregation, type context$2_ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOf, type context$2_ValueAggregationResult as ValueAggregationResult, type context$2_ValueResult as ValueResult, type context$2_ValueResults as ValueResults, WebhookIdentityType$1 as WebhookIdentityType, type context$2__publicCancelReservationType as _publicCancelReservationType, type context$2__publicCreateHeldReservationType as _publicCreateHeldReservationType, type context$2__publicCreateReservationType as _publicCreateReservationType, type context$2__publicDeleteReservationType as _publicDeleteReservationType, type context$2__publicGetCalendarInviteFileWebhookType as _publicGetCalendarInviteFileWebhookType, type context$2__publicGetReservationType as _publicGetReservationType, type context$2__publicListReservationsType as _publicListReservationsType, type context$2__publicOnReservationCreatedType as _publicOnReservationCreatedType, type context$2__publicQueryReservationsType as _publicQueryReservationsType, type context$2__publicReserveReservationType as _publicReserveReservationType, type context$2__publicSearchReservationsType as _publicSearchReservationsType, type context$2__publicUpdateReservationType as _publicUpdateReservationType, context$2_cancelReservation as cancelReservation, context$2_createHeldReservation as createHeldReservation, context$2_createReservation as createReservation, context$2_deleteReservation as deleteReservation, context$2_getCalendarInviteFileWebhook as getCalendarInviteFileWebhook, context$2_getReservation as getReservation, context$2_listReservations as listReservations, context$2_onReservationCreated as onReservationCreated, onReservationCreated$1 as publicOnReservationCreated, context$2_queryReservations as queryReservations, context$2_reserveReservation as reserveReservation, context$2_searchReservations as searchReservations, context$2_updateReservation as updateReservation };
1639
+ export { type ActionEvent$1 as ActionEvent, type context$2_Aggregation as Aggregation, type context$2_AggregationData as AggregationData, type context$2_AggregationKindOneOf as AggregationKindOneOf, type context$2_AggregationResults as AggregationResults, type context$2_AggregationResultsResultOneOf as AggregationResultsResultOneOf, type context$2_AggregationResultsScalarResult as AggregationResultsScalarResult, context$2_AggregationType as AggregationType, type BaseEventMetadata$1 as BaseEventMetadata, type context$2_CancelReservationOptions as CancelReservationOptions, type context$2_CancelReservationRequest as CancelReservationRequest, type context$2_CancelReservationResponse as CancelReservationResponse, type context$2_CancelReservationResponseNonNullableFields as CancelReservationResponseNonNullableFields, type context$2_CreateHeldReservationRequest as CreateHeldReservationRequest, type context$2_CreateHeldReservationResponse as CreateHeldReservationResponse, type context$2_CreateHeldReservationResponseNonNullableFields as CreateHeldReservationResponseNonNullableFields, type context$2_CreateReservationOptions as CreateReservationOptions, type context$2_CreateReservationRequest as CreateReservationRequest, type context$2_CreateReservationResponse as CreateReservationResponse, type context$2_CreateReservationResponseNonNullableFields as CreateReservationResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type CursorPagingMetadata$1 as CursorPagingMetadata, type context$2_CursorQuery as CursorQuery, type context$2_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type context$2_CursorSearch as CursorSearch, type context$2_CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOf, type Cursors$1 as Cursors, type context$2_DateHistogramAggregation as DateHistogramAggregation, type context$2_DateHistogramResult as DateHistogramResult, type context$2_DateHistogramResults as DateHistogramResults, type context$2_DeleteReservationRequest as DeleteReservationRequest, type context$2_DeleteReservationResponse as DeleteReservationResponse, type context$2_Details as Details, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type context$2_GetReservationOptions as GetReservationOptions, type context$2_GetReservationRequest as GetReservationRequest, type context$2_GetReservationResponse as GetReservationResponse, type context$2_GetReservationResponseNonNullableFields as GetReservationResponseNonNullableFields, type context$2_GroupByValueResults as GroupByValueResults, type context$2_HeadersEntry as HeadersEntry, type context$2_HeldReservationDetails as HeldReservationDetails, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type context$2_IncludeMissingValuesOptions as IncludeMissingValuesOptions, context$2_Interval as Interval, type context$2_ListReservationsOptions as ListReservationsOptions, type context$2_ListReservationsRequest as ListReservationsRequest, type context$2_ListReservationsResponse as ListReservationsResponse, type context$2_ListReservationsResponseNonNullableFields as ListReservationsResponseNonNullableFields, type MessageEnvelope$1 as MessageEnvelope, type context$2_MigrationNote as MigrationNote, context$2_MissingValues as MissingValues, Mode$1 as Mode, type context$2_NestedAggregation as NestedAggregation, type context$2_NestedAggregationItem as NestedAggregationItem, type context$2_NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOf, type context$2_NestedAggregationResults as NestedAggregationResults, type context$2_NestedAggregationResultsResultOneOf as NestedAggregationResultsResultOneOf, context$2_NestedAggregationType as NestedAggregationType, type context$2_NestedResultValue as NestedResultValue, type context$2_NestedResultValueResultOneOf as NestedResultValueResultOneOf, type context$2_NestedResults as NestedResults, type context$2_NestedValueAggregationResult as NestedValueAggregationResult, type context$2_PathParametersEntry as PathParametersEntry, context$2_PaymentStatus as PaymentStatus, type context$2_QueryParametersEntry as QueryParametersEntry, type context$2_QueryReservationsRequest as QueryReservationsRequest, type context$2_QueryReservationsResponse as QueryReservationsResponse, type context$2_QueryReservationsResponseNonNullableFields as QueryReservationsResponseNonNullableFields, type context$2_RangeAggregation as RangeAggregation, type context$2_RangeAggregationResult as RangeAggregationResult, type context$2_RangeBucket as RangeBucket, type context$2_RangeResult as RangeResult, type context$2_RangeResults as RangeResults, type context$2_RawHttpRequest as RawHttpRequest, type context$2_RawHttpResponse as RawHttpResponse, type context$2_RemoveReservationMigrationNotesRequest as RemoveReservationMigrationNotesRequest, type context$2_RemoveReservationMigrationNotesResponse as RemoveReservationMigrationNotesResponse, type context$2_Reservation as Reservation, type context$2_ReservationCanceled as ReservationCanceled, type context$2_ReservationCreated as ReservationCreated, type context$2_ReservationCreatedEnvelope as ReservationCreatedEnvelope, type context$2_ReservationDataUpdated as ReservationDataUpdated, type context$2_ReservationDelayedDomainEvent as ReservationDelayedDomainEvent, type context$2_ReservationDelayedDomainEventBodyTypeOneOf as ReservationDelayedDomainEventBodyTypeOneOf, type context$2_ReservationDelayedDomainEventReservationCanceled as ReservationDelayedDomainEventReservationCanceled, type context$2_ReservationDetailsConflicts as ReservationDetailsConflicts, type ReservationLocationConflict$1 as ReservationLocationConflict, type context$2_ReservationNonNullableFields as ReservationNonNullableFields, type context$2_ReservationUpdated as ReservationUpdated, type context$2_ReservationsQueryBuilder as ReservationsQueryBuilder, type context$2_ReservationsQueryResult as ReservationsQueryResult, type context$2_ReserveReservationRequest as ReserveReservationRequest, type context$2_ReserveReservationResponse as ReserveReservationResponse, type context$2_ReserveReservationResponseNonNullableFields as ReserveReservationResponseNonNullableFields, type context$2_ReservedBy as ReservedBy, type context$2_Reservee as Reservee, type RestoreInfo$1 as RestoreInfo, type context$2_Results as Results, type context$2_ScalarAggregation as ScalarAggregation, type context$2_ScalarResult as ScalarResult, context$2_ScalarType as ScalarType, type context$2_SearchDetails as SearchDetails, type context$2_SearchReservationsRequest as SearchReservationsRequest, type context$2_SearchReservationsResponse as SearchReservationsResponse, type context$2_SearchReservationsResponseNonNullableFields as SearchReservationsResponseNonNullableFields, Set$1 as Set, context$2_SortDirection as SortDirection, SortOrder$1 as SortOrder, context$2_SortType as SortType, type Sorting$1 as Sorting, context$2_Source as Source, Status$1 as Status, type TableCombinationConflict$1 as TableCombinationConflict, TableCombinationConflictType$1 as TableCombinationConflictType, type context$2_TableWithReservationConflicts as TableWithReservationConflicts, Type$1 as Type, type context$2_UpdateReservation as UpdateReservation, type context$2_UpdateReservationOptions as UpdateReservationOptions, type context$2_UpdateReservationRequest as UpdateReservationRequest, type context$2_UpdateReservationResponse as UpdateReservationResponse, type context$2_UpdateReservationResponseNonNullableFields as UpdateReservationResponseNonNullableFields, type context$2_ValueAggregation as ValueAggregation, type context$2_ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOf, type context$2_ValueAggregationResult as ValueAggregationResult, type context$2_ValueResult as ValueResult, type context$2_ValueResults as ValueResults, WebhookIdentityType$1 as WebhookIdentityType, type context$2__publicCancelReservationType as _publicCancelReservationType, type context$2__publicCreateHeldReservationType as _publicCreateHeldReservationType, type context$2__publicCreateReservationType as _publicCreateReservationType, type context$2__publicDeleteReservationType as _publicDeleteReservationType, type context$2__publicGetReservationType as _publicGetReservationType, type context$2__publicListReservationsType as _publicListReservationsType, type context$2__publicOnReservationCreatedType as _publicOnReservationCreatedType, type context$2__publicQueryReservationsType as _publicQueryReservationsType, type context$2__publicReserveReservationType as _publicReserveReservationType, type context$2__publicSearchReservationsType as _publicSearchReservationsType, type context$2__publicUpdateReservationType as _publicUpdateReservationType, context$2_cancelReservation as cancelReservation, context$2_createHeldReservation as createHeldReservation, context$2_createReservation as createReservation, context$2_deleteReservation as deleteReservation, context$2_getReservation as getReservation, context$2_listReservations as listReservations, context$2_onReservationCreated as onReservationCreated, onReservationCreated$1 as publicOnReservationCreated, context$2_queryReservations as queryReservations, context$2_reserveReservation as reserveReservation, context$2_searchReservations as searchReservations, context$2_updateReservation as updateReservation };
1664
1640
  }
1665
1641
 
1666
1642
  interface ReservationLocation {
@@ -3590,14 +3566,14 @@ interface TableDefinitionNonNullableFields {
3590
3566
  seatsMin: number;
3591
3567
  seatsMax: number;
3592
3568
  }
3593
- interface TableCombinationNonNullableFields$1 {
3569
+ interface TableCombinationNonNullableFields {
3594
3570
  seatsMin: number;
3595
3571
  seatsMax: number;
3596
3572
  }
3597
3573
  interface TableManagementNonNullableFields {
3598
3574
  tableDefinitions: TableDefinitionNonNullableFields[];
3599
3575
  deletedTableDefinitions: TableDefinitionNonNullableFields[];
3600
- tableCombinations: TableCombinationNonNullableFields$1[];
3576
+ tableCombinations: TableCombinationNonNullableFields[];
3601
3577
  }
3602
3578
  interface ReservationPaymentNonNullableFields {
3603
3579
  value: string;
@@ -4091,13 +4067,13 @@ interface GetTimeSlotsResponse {
4091
4067
  }
4092
4068
  interface CheckReservationDetailsRequest {
4093
4069
  /** Reservation location ID. */
4094
- reservationLocationId: string;
4070
+ reservationLocationId?: string;
4095
4071
  /** Date. */
4096
- date: Date;
4072
+ date?: Date;
4097
4073
  /** Duration. */
4098
- duration: number | null;
4074
+ duration?: number | null;
4099
4075
  /** Party size. */
4100
- partySize: number | null;
4076
+ partySize?: number | null;
4101
4077
  /** Reservation, that should be ignored during the check. */
4102
4078
  excludeReservationId?: string | null;
4103
4079
  /** Requested table combination. */
@@ -4208,34 +4184,6 @@ interface TimeSlotNonNullableFields {
4208
4184
  interface GetTimeSlotsResponseNonNullableFields {
4209
4185
  timeSlots: TimeSlotNonNullableFields[];
4210
4186
  }
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
4187
  interface TableCombinationAvailabilityNonNullableFields {
4240
4188
  tableIds: string[];
4241
4189
  tableCombinationConflicts: TableCombinationConflictType[];
@@ -4256,18 +4204,6 @@ interface GetTimeSlotsOptions {
4256
4204
  /** The number of time slots to retrieve after the given `date`. */
4257
4205
  slotsAfter?: number | null;
4258
4206
  }
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
4207
  interface CheckTimeSlotOptions {
4272
4208
  /** Date and time of the time slot to check. */
4273
4209
  date: Date;
@@ -4288,22 +4224,17 @@ interface CheckTimeSlotOptions {
4288
4224
  }
4289
4225
 
4290
4226
  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
4227
  declare function checkTimeSlot$1(httpClient: HttpClient): (reservationLocationId: string, options?: CheckTimeSlotOptions) => Promise<CheckTimeSlotResponse & CheckTimeSlotResponseNonNullableFields>;
4293
4228
 
4294
4229
  declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
4295
4230
 
4296
4231
  type _publicGetTimeSlotsType = typeof getTimeSlots$1;
4297
4232
  declare const getTimeSlots: ReturnType<typeof createRESTModule<_publicGetTimeSlotsType>>;
4298
- type _publicCheckReservationDetailsType = typeof checkReservationDetails$1;
4299
- declare const checkReservationDetails: ReturnType<typeof createRESTModule<_publicCheckReservationDetailsType>>;
4300
4233
  type _publicCheckTimeSlotType = typeof checkTimeSlot$1;
4301
4234
  declare const checkTimeSlot: ReturnType<typeof createRESTModule<_publicCheckTimeSlotType>>;
4302
4235
 
4303
- type context_CheckReservationDetailsOptions = CheckReservationDetailsOptions;
4304
4236
  type context_CheckReservationDetailsRequest = CheckReservationDetailsRequest;
4305
4237
  type context_CheckReservationDetailsResponse = CheckReservationDetailsResponse;
4306
- type context_CheckReservationDetailsResponseNonNullableFields = CheckReservationDetailsResponseNonNullableFields;
4307
4238
  type context_CheckTimeSlotOptions = CheckTimeSlotOptions;
4308
4239
  type context_CheckTimeSlotRequest = CheckTimeSlotRequest;
4309
4240
  type context_CheckTimeSlotResponse = CheckTimeSlotResponse;
@@ -4329,14 +4260,12 @@ type context_TimeSlot = TimeSlot;
4329
4260
  type context_TimeSlotTableCombination = TimeSlotTableCombination;
4330
4261
  type context_Type = Type;
4331
4262
  declare const context_Type: typeof Type;
4332
- type context__publicCheckReservationDetailsType = _publicCheckReservationDetailsType;
4333
4263
  type context__publicCheckTimeSlotType = _publicCheckTimeSlotType;
4334
4264
  type context__publicGetTimeSlotsType = _publicGetTimeSlotsType;
4335
- declare const context_checkReservationDetails: typeof checkReservationDetails;
4336
4265
  declare const context_checkTimeSlot: typeof checkTimeSlot;
4337
4266
  declare const context_getTimeSlots: typeof getTimeSlots;
4338
4267
  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 };
4268
+ 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
4269
  }
4341
4270
 
4342
4271
  export { context$1 as reservationLocations, context$2 as reservations, context as timeSlots };
@@ -505,7 +505,7 @@ interface SearchReservationsRequest {
505
505
  search: CursorSearch;
506
506
  }
507
507
  interface CursorSearch extends CursorSearchPagingMethodOneOf {
508
- /** Cursor pointing to a page of results. Can't be used together with 'paging'. 'cursor_paging.cursor' can't be used together with 'filter' or 'sort'. */
508
+ /** Cursor pointing to a page of results. Can't be used together with 'paging'. 'cursorPaging.cursor' can't be used together with 'filter' or 'sort'. */
509
509
  cursorPaging?: CursorPaging$1;
510
510
  /**
511
511
  * Filter object in the following format:
@@ -533,7 +533,7 @@ interface CursorSearch extends CursorSearchPagingMethodOneOf {
533
533
  }
534
534
  /** @oneof */
535
535
  interface CursorSearchPagingMethodOneOf {
536
- /** Cursor pointing to a page of results. Can't be used together with 'paging'. 'cursor_paging.cursor' can't be used together with 'filter' or 'sort'. */
536
+ /** Cursor pointing to a page of results. Can't be used together with 'paging'. 'cursorPaging.cursor' can't be used together with 'filter' or 'sort'. */
537
537
  cursorPaging?: CursorPaging$1;
538
538
  }
539
539
  interface Aggregation extends AggregationKindOneOf {
@@ -721,7 +721,7 @@ interface SearchDetails {
721
721
  /**
722
722
  * Fields to search in.
723
723
  *
724
- * Searchable fields are `reservee.first_name`, `reservee.last_name`, `reservee.phone`, and `reservee.email`.
724
+ * Searchable fields are `reservee.firstName`, `reservee.lastName`, `reservee.phone`, and `reservee.email`.
725
725
  *
726
726
  * If the array is empty, all fields are searched.
727
727
  */
@@ -1144,14 +1144,6 @@ interface SearchReservationsResponseNonNullableFields {
1144
1144
  reservations: ReservationNonNullableFields[];
1145
1145
  aggregationData?: AggregationDataNonNullableFields;
1146
1146
  }
1147
- interface HeadersEntryNonNullableFields {
1148
- key: string;
1149
- value: string;
1150
- }
1151
- interface RawHttpResponseNonNullableFields {
1152
- body: Uint8Array;
1153
- headers: HeadersEntryNonNullableFields[];
1154
- }
1155
1147
  interface BaseEventMetadata$1 {
1156
1148
  /** App instance ID. */
1157
1149
  instanceId?: string | null;
@@ -1419,15 +1411,6 @@ interface ReservationsQueryBuilder {
1419
1411
  /** @documentationMaturity preview */
1420
1412
  find: () => Promise<ReservationsQueryResult>;
1421
1413
  }
1422
- interface GetCalendarInviteFileWebhookOptions {
1423
- body?: Uint8Array;
1424
- pathParams?: PathParametersEntry[];
1425
- queryParams?: QueryParametersEntry[];
1426
- headers?: HeadersEntry[];
1427
- method?: string;
1428
- rawPath?: string;
1429
- rawQuery?: string;
1430
- }
1431
1414
 
1432
1415
  type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
1433
1416
  interface HttpClient {
@@ -1483,7 +1466,6 @@ declare function deleteReservation$1(httpClient: HttpClient): (reservationId: st
1483
1466
  declare function listReservations$1(httpClient: HttpClient): (options?: ListReservationsOptions) => Promise<ListReservationsResponse & ListReservationsResponseNonNullableFields>;
1484
1467
  declare function queryReservations$1(httpClient: HttpClient): () => ReservationsQueryBuilder;
1485
1468
  declare function searchReservations$1(httpClient: HttpClient): (search: CursorSearch) => Promise<SearchReservationsResponse & SearchReservationsResponseNonNullableFields>;
1486
- declare function getCalendarInviteFileWebhook$1(httpClient: HttpClient): (options?: GetCalendarInviteFileWebhookOptions) => Promise<RawHttpResponse & RawHttpResponseNonNullableFields>;
1487
1469
  declare const onReservationCreated$1: EventDefinition<ReservationCreatedEnvelope, "wix.table_reservations.v1.reservation_created">;
1488
1470
 
1489
1471
  declare function createRESTModule$2<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
@@ -1510,8 +1492,6 @@ type _publicQueryReservationsType = typeof queryReservations$1;
1510
1492
  declare const queryReservations: ReturnType<typeof createRESTModule$2<_publicQueryReservationsType>>;
1511
1493
  type _publicSearchReservationsType = typeof searchReservations$1;
1512
1494
  declare const searchReservations: ReturnType<typeof createRESTModule$2<_publicSearchReservationsType>>;
1513
- type _publicGetCalendarInviteFileWebhookType = typeof getCalendarInviteFileWebhook$1;
1514
- declare const getCalendarInviteFileWebhook: ReturnType<typeof createRESTModule$2<_publicGetCalendarInviteFileWebhookType>>;
1515
1495
 
1516
1496
  type _publicOnReservationCreatedType = typeof onReservationCreated$1;
1517
1497
  declare const onReservationCreated: ReturnType<typeof createEventModule$1<_publicOnReservationCreatedType>>;
@@ -1545,7 +1525,6 @@ type index_d$2_DateHistogramResults = DateHistogramResults;
1545
1525
  type index_d$2_DeleteReservationRequest = DeleteReservationRequest;
1546
1526
  type index_d$2_DeleteReservationResponse = DeleteReservationResponse;
1547
1527
  type index_d$2_Details = Details;
1548
- type index_d$2_GetCalendarInviteFileWebhookOptions = GetCalendarInviteFileWebhookOptions;
1549
1528
  type index_d$2_GetReservationOptions = GetReservationOptions;
1550
1529
  type index_d$2_GetReservationRequest = GetReservationRequest;
1551
1530
  type index_d$2_GetReservationResponse = GetReservationResponse;
@@ -1588,7 +1567,6 @@ type index_d$2_RangeResult = RangeResult;
1588
1567
  type index_d$2_RangeResults = RangeResults;
1589
1568
  type index_d$2_RawHttpRequest = RawHttpRequest;
1590
1569
  type index_d$2_RawHttpResponse = RawHttpResponse;
1591
- type index_d$2_RawHttpResponseNonNullableFields = RawHttpResponseNonNullableFields;
1592
1570
  type index_d$2_RemoveReservationMigrationNotesRequest = RemoveReservationMigrationNotesRequest;
1593
1571
  type index_d$2_RemoveReservationMigrationNotesResponse = RemoveReservationMigrationNotesResponse;
1594
1572
  type index_d$2_Reservation = Reservation;
@@ -1639,7 +1617,6 @@ type index_d$2__publicCancelReservationType = _publicCancelReservationType;
1639
1617
  type index_d$2__publicCreateHeldReservationType = _publicCreateHeldReservationType;
1640
1618
  type index_d$2__publicCreateReservationType = _publicCreateReservationType;
1641
1619
  type index_d$2__publicDeleteReservationType = _publicDeleteReservationType;
1642
- type index_d$2__publicGetCalendarInviteFileWebhookType = _publicGetCalendarInviteFileWebhookType;
1643
1620
  type index_d$2__publicGetReservationType = _publicGetReservationType;
1644
1621
  type index_d$2__publicListReservationsType = _publicListReservationsType;
1645
1622
  type index_d$2__publicOnReservationCreatedType = _publicOnReservationCreatedType;
@@ -1651,7 +1628,6 @@ declare const index_d$2_cancelReservation: typeof cancelReservation;
1651
1628
  declare const index_d$2_createHeldReservation: typeof createHeldReservation;
1652
1629
  declare const index_d$2_createReservation: typeof createReservation;
1653
1630
  declare const index_d$2_deleteReservation: typeof deleteReservation;
1654
- declare const index_d$2_getCalendarInviteFileWebhook: typeof getCalendarInviteFileWebhook;
1655
1631
  declare const index_d$2_getReservation: typeof getReservation;
1656
1632
  declare const index_d$2_listReservations: typeof listReservations;
1657
1633
  declare const index_d$2_onReservationCreated: typeof onReservationCreated;
@@ -1660,7 +1636,7 @@ declare const index_d$2_reserveReservation: typeof reserveReservation;
1660
1636
  declare const index_d$2_searchReservations: typeof searchReservations;
1661
1637
  declare const index_d$2_updateReservation: typeof updateReservation;
1662
1638
  declare namespace index_d$2 {
1663
- export { type ActionEvent$1 as ActionEvent, type index_d$2_Aggregation as Aggregation, type index_d$2_AggregationData as AggregationData, type index_d$2_AggregationKindOneOf as AggregationKindOneOf, type index_d$2_AggregationResults as AggregationResults, type index_d$2_AggregationResultsResultOneOf as AggregationResultsResultOneOf, type index_d$2_AggregationResultsScalarResult as AggregationResultsScalarResult, index_d$2_AggregationType as AggregationType, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$2_CancelReservationOptions as CancelReservationOptions, type index_d$2_CancelReservationRequest as CancelReservationRequest, type index_d$2_CancelReservationResponse as CancelReservationResponse, type index_d$2_CancelReservationResponseNonNullableFields as CancelReservationResponseNonNullableFields, type index_d$2_CreateHeldReservationRequest as CreateHeldReservationRequest, type index_d$2_CreateHeldReservationResponse as CreateHeldReservationResponse, type index_d$2_CreateHeldReservationResponseNonNullableFields as CreateHeldReservationResponseNonNullableFields, type index_d$2_CreateReservationOptions as CreateReservationOptions, type index_d$2_CreateReservationRequest as CreateReservationRequest, type index_d$2_CreateReservationResponse as CreateReservationResponse, type index_d$2_CreateReservationResponseNonNullableFields as CreateReservationResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type CursorPagingMetadata$1 as CursorPagingMetadata, type index_d$2_CursorQuery as CursorQuery, type index_d$2_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type index_d$2_CursorSearch as CursorSearch, type index_d$2_CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOf, type Cursors$1 as Cursors, type index_d$2_DateHistogramAggregation as DateHistogramAggregation, type index_d$2_DateHistogramResult as DateHistogramResult, type index_d$2_DateHistogramResults as DateHistogramResults, type index_d$2_DeleteReservationRequest as DeleteReservationRequest, type index_d$2_DeleteReservationResponse as DeleteReservationResponse, type index_d$2_Details as Details, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type index_d$2_GetCalendarInviteFileWebhookOptions as GetCalendarInviteFileWebhookOptions, type index_d$2_GetReservationOptions as GetReservationOptions, type index_d$2_GetReservationRequest as GetReservationRequest, type index_d$2_GetReservationResponse as GetReservationResponse, type index_d$2_GetReservationResponseNonNullableFields as GetReservationResponseNonNullableFields, type index_d$2_GroupByValueResults as GroupByValueResults, type index_d$2_HeadersEntry as HeadersEntry, type index_d$2_HeldReservationDetails as HeldReservationDetails, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type index_d$2_IncludeMissingValuesOptions as IncludeMissingValuesOptions, index_d$2_Interval as Interval, type index_d$2_ListReservationsOptions as ListReservationsOptions, type index_d$2_ListReservationsRequest as ListReservationsRequest, type index_d$2_ListReservationsResponse as ListReservationsResponse, type index_d$2_ListReservationsResponseNonNullableFields as ListReservationsResponseNonNullableFields, type MessageEnvelope$1 as MessageEnvelope, type index_d$2_MigrationNote as MigrationNote, index_d$2_MissingValues as MissingValues, Mode$1 as Mode, type index_d$2_NestedAggregation as NestedAggregation, type index_d$2_NestedAggregationItem as NestedAggregationItem, type index_d$2_NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOf, type index_d$2_NestedAggregationResults as NestedAggregationResults, type index_d$2_NestedAggregationResultsResultOneOf as NestedAggregationResultsResultOneOf, index_d$2_NestedAggregationType as NestedAggregationType, type index_d$2_NestedResultValue as NestedResultValue, type index_d$2_NestedResultValueResultOneOf as NestedResultValueResultOneOf, type index_d$2_NestedResults as NestedResults, type index_d$2_NestedValueAggregationResult as NestedValueAggregationResult, type index_d$2_PathParametersEntry as PathParametersEntry, index_d$2_PaymentStatus as PaymentStatus, type index_d$2_QueryParametersEntry as QueryParametersEntry, type index_d$2_QueryReservationsRequest as QueryReservationsRequest, type index_d$2_QueryReservationsResponse as QueryReservationsResponse, type index_d$2_QueryReservationsResponseNonNullableFields as QueryReservationsResponseNonNullableFields, type index_d$2_RangeAggregation as RangeAggregation, type index_d$2_RangeAggregationResult as RangeAggregationResult, type index_d$2_RangeBucket as RangeBucket, type index_d$2_RangeResult as RangeResult, type index_d$2_RangeResults as RangeResults, type index_d$2_RawHttpRequest as RawHttpRequest, type index_d$2_RawHttpResponse as RawHttpResponse, type index_d$2_RawHttpResponseNonNullableFields as RawHttpResponseNonNullableFields, type index_d$2_RemoveReservationMigrationNotesRequest as RemoveReservationMigrationNotesRequest, type index_d$2_RemoveReservationMigrationNotesResponse as RemoveReservationMigrationNotesResponse, type index_d$2_Reservation as Reservation, type index_d$2_ReservationCanceled as ReservationCanceled, type index_d$2_ReservationCreated as ReservationCreated, type index_d$2_ReservationCreatedEnvelope as ReservationCreatedEnvelope, type index_d$2_ReservationDataUpdated as ReservationDataUpdated, type index_d$2_ReservationDelayedDomainEvent as ReservationDelayedDomainEvent, type index_d$2_ReservationDelayedDomainEventBodyTypeOneOf as ReservationDelayedDomainEventBodyTypeOneOf, type index_d$2_ReservationDelayedDomainEventReservationCanceled as ReservationDelayedDomainEventReservationCanceled, type index_d$2_ReservationDetailsConflicts as ReservationDetailsConflicts, type ReservationLocationConflict$1 as ReservationLocationConflict, type index_d$2_ReservationNonNullableFields as ReservationNonNullableFields, type index_d$2_ReservationUpdated as ReservationUpdated, type index_d$2_ReservationsQueryBuilder as ReservationsQueryBuilder, type index_d$2_ReservationsQueryResult as ReservationsQueryResult, type index_d$2_ReserveReservationRequest as ReserveReservationRequest, type index_d$2_ReserveReservationResponse as ReserveReservationResponse, type index_d$2_ReserveReservationResponseNonNullableFields as ReserveReservationResponseNonNullableFields, type index_d$2_ReservedBy as ReservedBy, type index_d$2_Reservee as Reservee, type RestoreInfo$1 as RestoreInfo, type index_d$2_Results as Results, type index_d$2_ScalarAggregation as ScalarAggregation, type index_d$2_ScalarResult as ScalarResult, index_d$2_ScalarType as ScalarType, type index_d$2_SearchDetails as SearchDetails, type index_d$2_SearchReservationsRequest as SearchReservationsRequest, type index_d$2_SearchReservationsResponse as SearchReservationsResponse, type index_d$2_SearchReservationsResponseNonNullableFields as SearchReservationsResponseNonNullableFields, Set$1 as Set, index_d$2_SortDirection as SortDirection, SortOrder$1 as SortOrder, index_d$2_SortType as SortType, type Sorting$1 as Sorting, index_d$2_Source as Source, Status$1 as Status, type TableCombinationConflict$1 as TableCombinationConflict, TableCombinationConflictType$1 as TableCombinationConflictType, type index_d$2_TableWithReservationConflicts as TableWithReservationConflicts, Type$1 as Type, type index_d$2_UpdateReservation as UpdateReservation, type index_d$2_UpdateReservationOptions as UpdateReservationOptions, type index_d$2_UpdateReservationRequest as UpdateReservationRequest, type index_d$2_UpdateReservationResponse as UpdateReservationResponse, type index_d$2_UpdateReservationResponseNonNullableFields as UpdateReservationResponseNonNullableFields, type index_d$2_ValueAggregation as ValueAggregation, type index_d$2_ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOf, type index_d$2_ValueAggregationResult as ValueAggregationResult, type index_d$2_ValueResult as ValueResult, type index_d$2_ValueResults as ValueResults, WebhookIdentityType$1 as WebhookIdentityType, type index_d$2__publicCancelReservationType as _publicCancelReservationType, type index_d$2__publicCreateHeldReservationType as _publicCreateHeldReservationType, type index_d$2__publicCreateReservationType as _publicCreateReservationType, type index_d$2__publicDeleteReservationType as _publicDeleteReservationType, type index_d$2__publicGetCalendarInviteFileWebhookType as _publicGetCalendarInviteFileWebhookType, type index_d$2__publicGetReservationType as _publicGetReservationType, type index_d$2__publicListReservationsType as _publicListReservationsType, type index_d$2__publicOnReservationCreatedType as _publicOnReservationCreatedType, type index_d$2__publicQueryReservationsType as _publicQueryReservationsType, type index_d$2__publicReserveReservationType as _publicReserveReservationType, type index_d$2__publicSearchReservationsType as _publicSearchReservationsType, type index_d$2__publicUpdateReservationType as _publicUpdateReservationType, index_d$2_cancelReservation as cancelReservation, index_d$2_createHeldReservation as createHeldReservation, index_d$2_createReservation as createReservation, index_d$2_deleteReservation as deleteReservation, index_d$2_getCalendarInviteFileWebhook as getCalendarInviteFileWebhook, index_d$2_getReservation as getReservation, index_d$2_listReservations as listReservations, index_d$2_onReservationCreated as onReservationCreated, onReservationCreated$1 as publicOnReservationCreated, index_d$2_queryReservations as queryReservations, index_d$2_reserveReservation as reserveReservation, index_d$2_searchReservations as searchReservations, index_d$2_updateReservation as updateReservation };
1639
+ export { type ActionEvent$1 as ActionEvent, type index_d$2_Aggregation as Aggregation, type index_d$2_AggregationData as AggregationData, type index_d$2_AggregationKindOneOf as AggregationKindOneOf, type index_d$2_AggregationResults as AggregationResults, type index_d$2_AggregationResultsResultOneOf as AggregationResultsResultOneOf, type index_d$2_AggregationResultsScalarResult as AggregationResultsScalarResult, index_d$2_AggregationType as AggregationType, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$2_CancelReservationOptions as CancelReservationOptions, type index_d$2_CancelReservationRequest as CancelReservationRequest, type index_d$2_CancelReservationResponse as CancelReservationResponse, type index_d$2_CancelReservationResponseNonNullableFields as CancelReservationResponseNonNullableFields, type index_d$2_CreateHeldReservationRequest as CreateHeldReservationRequest, type index_d$2_CreateHeldReservationResponse as CreateHeldReservationResponse, type index_d$2_CreateHeldReservationResponseNonNullableFields as CreateHeldReservationResponseNonNullableFields, type index_d$2_CreateReservationOptions as CreateReservationOptions, type index_d$2_CreateReservationRequest as CreateReservationRequest, type index_d$2_CreateReservationResponse as CreateReservationResponse, type index_d$2_CreateReservationResponseNonNullableFields as CreateReservationResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type CursorPagingMetadata$1 as CursorPagingMetadata, type index_d$2_CursorQuery as CursorQuery, type index_d$2_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type index_d$2_CursorSearch as CursorSearch, type index_d$2_CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOf, type Cursors$1 as Cursors, type index_d$2_DateHistogramAggregation as DateHistogramAggregation, type index_d$2_DateHistogramResult as DateHistogramResult, type index_d$2_DateHistogramResults as DateHistogramResults, type index_d$2_DeleteReservationRequest as DeleteReservationRequest, type index_d$2_DeleteReservationResponse as DeleteReservationResponse, type index_d$2_Details as Details, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type index_d$2_GetReservationOptions as GetReservationOptions, type index_d$2_GetReservationRequest as GetReservationRequest, type index_d$2_GetReservationResponse as GetReservationResponse, type index_d$2_GetReservationResponseNonNullableFields as GetReservationResponseNonNullableFields, type index_d$2_GroupByValueResults as GroupByValueResults, type index_d$2_HeadersEntry as HeadersEntry, type index_d$2_HeldReservationDetails as HeldReservationDetails, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type index_d$2_IncludeMissingValuesOptions as IncludeMissingValuesOptions, index_d$2_Interval as Interval, type index_d$2_ListReservationsOptions as ListReservationsOptions, type index_d$2_ListReservationsRequest as ListReservationsRequest, type index_d$2_ListReservationsResponse as ListReservationsResponse, type index_d$2_ListReservationsResponseNonNullableFields as ListReservationsResponseNonNullableFields, type MessageEnvelope$1 as MessageEnvelope, type index_d$2_MigrationNote as MigrationNote, index_d$2_MissingValues as MissingValues, Mode$1 as Mode, type index_d$2_NestedAggregation as NestedAggregation, type index_d$2_NestedAggregationItem as NestedAggregationItem, type index_d$2_NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOf, type index_d$2_NestedAggregationResults as NestedAggregationResults, type index_d$2_NestedAggregationResultsResultOneOf as NestedAggregationResultsResultOneOf, index_d$2_NestedAggregationType as NestedAggregationType, type index_d$2_NestedResultValue as NestedResultValue, type index_d$2_NestedResultValueResultOneOf as NestedResultValueResultOneOf, type index_d$2_NestedResults as NestedResults, type index_d$2_NestedValueAggregationResult as NestedValueAggregationResult, type index_d$2_PathParametersEntry as PathParametersEntry, index_d$2_PaymentStatus as PaymentStatus, type index_d$2_QueryParametersEntry as QueryParametersEntry, type index_d$2_QueryReservationsRequest as QueryReservationsRequest, type index_d$2_QueryReservationsResponse as QueryReservationsResponse, type index_d$2_QueryReservationsResponseNonNullableFields as QueryReservationsResponseNonNullableFields, type index_d$2_RangeAggregation as RangeAggregation, type index_d$2_RangeAggregationResult as RangeAggregationResult, type index_d$2_RangeBucket as RangeBucket, type index_d$2_RangeResult as RangeResult, type index_d$2_RangeResults as RangeResults, type index_d$2_RawHttpRequest as RawHttpRequest, type index_d$2_RawHttpResponse as RawHttpResponse, type index_d$2_RemoveReservationMigrationNotesRequest as RemoveReservationMigrationNotesRequest, type index_d$2_RemoveReservationMigrationNotesResponse as RemoveReservationMigrationNotesResponse, type index_d$2_Reservation as Reservation, type index_d$2_ReservationCanceled as ReservationCanceled, type index_d$2_ReservationCreated as ReservationCreated, type index_d$2_ReservationCreatedEnvelope as ReservationCreatedEnvelope, type index_d$2_ReservationDataUpdated as ReservationDataUpdated, type index_d$2_ReservationDelayedDomainEvent as ReservationDelayedDomainEvent, type index_d$2_ReservationDelayedDomainEventBodyTypeOneOf as ReservationDelayedDomainEventBodyTypeOneOf, type index_d$2_ReservationDelayedDomainEventReservationCanceled as ReservationDelayedDomainEventReservationCanceled, type index_d$2_ReservationDetailsConflicts as ReservationDetailsConflicts, type ReservationLocationConflict$1 as ReservationLocationConflict, type index_d$2_ReservationNonNullableFields as ReservationNonNullableFields, type index_d$2_ReservationUpdated as ReservationUpdated, type index_d$2_ReservationsQueryBuilder as ReservationsQueryBuilder, type index_d$2_ReservationsQueryResult as ReservationsQueryResult, type index_d$2_ReserveReservationRequest as ReserveReservationRequest, type index_d$2_ReserveReservationResponse as ReserveReservationResponse, type index_d$2_ReserveReservationResponseNonNullableFields as ReserveReservationResponseNonNullableFields, type index_d$2_ReservedBy as ReservedBy, type index_d$2_Reservee as Reservee, type RestoreInfo$1 as RestoreInfo, type index_d$2_Results as Results, type index_d$2_ScalarAggregation as ScalarAggregation, type index_d$2_ScalarResult as ScalarResult, index_d$2_ScalarType as ScalarType, type index_d$2_SearchDetails as SearchDetails, type index_d$2_SearchReservationsRequest as SearchReservationsRequest, type index_d$2_SearchReservationsResponse as SearchReservationsResponse, type index_d$2_SearchReservationsResponseNonNullableFields as SearchReservationsResponseNonNullableFields, Set$1 as Set, index_d$2_SortDirection as SortDirection, SortOrder$1 as SortOrder, index_d$2_SortType as SortType, type Sorting$1 as Sorting, index_d$2_Source as Source, Status$1 as Status, type TableCombinationConflict$1 as TableCombinationConflict, TableCombinationConflictType$1 as TableCombinationConflictType, type index_d$2_TableWithReservationConflicts as TableWithReservationConflicts, Type$1 as Type, type index_d$2_UpdateReservation as UpdateReservation, type index_d$2_UpdateReservationOptions as UpdateReservationOptions, type index_d$2_UpdateReservationRequest as UpdateReservationRequest, type index_d$2_UpdateReservationResponse as UpdateReservationResponse, type index_d$2_UpdateReservationResponseNonNullableFields as UpdateReservationResponseNonNullableFields, type index_d$2_ValueAggregation as ValueAggregation, type index_d$2_ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOf, type index_d$2_ValueAggregationResult as ValueAggregationResult, type index_d$2_ValueResult as ValueResult, type index_d$2_ValueResults as ValueResults, WebhookIdentityType$1 as WebhookIdentityType, type index_d$2__publicCancelReservationType as _publicCancelReservationType, type index_d$2__publicCreateHeldReservationType as _publicCreateHeldReservationType, type index_d$2__publicCreateReservationType as _publicCreateReservationType, type index_d$2__publicDeleteReservationType as _publicDeleteReservationType, type index_d$2__publicGetReservationType as _publicGetReservationType, type index_d$2__publicListReservationsType as _publicListReservationsType, type index_d$2__publicOnReservationCreatedType as _publicOnReservationCreatedType, type index_d$2__publicQueryReservationsType as _publicQueryReservationsType, type index_d$2__publicReserveReservationType as _publicReserveReservationType, type index_d$2__publicSearchReservationsType as _publicSearchReservationsType, type index_d$2__publicUpdateReservationType as _publicUpdateReservationType, index_d$2_cancelReservation as cancelReservation, index_d$2_createHeldReservation as createHeldReservation, index_d$2_createReservation as createReservation, index_d$2_deleteReservation as deleteReservation, index_d$2_getReservation as getReservation, index_d$2_listReservations as listReservations, index_d$2_onReservationCreated as onReservationCreated, onReservationCreated$1 as publicOnReservationCreated, index_d$2_queryReservations as queryReservations, index_d$2_reserveReservation as reserveReservation, index_d$2_searchReservations as searchReservations, index_d$2_updateReservation as updateReservation };
1664
1640
  }
1665
1641
 
1666
1642
  interface ReservationLocation {
@@ -3590,14 +3566,14 @@ interface TableDefinitionNonNullableFields {
3590
3566
  seatsMin: number;
3591
3567
  seatsMax: number;
3592
3568
  }
3593
- interface TableCombinationNonNullableFields$1 {
3569
+ interface TableCombinationNonNullableFields {
3594
3570
  seatsMin: number;
3595
3571
  seatsMax: number;
3596
3572
  }
3597
3573
  interface TableManagementNonNullableFields {
3598
3574
  tableDefinitions: TableDefinitionNonNullableFields[];
3599
3575
  deletedTableDefinitions: TableDefinitionNonNullableFields[];
3600
- tableCombinations: TableCombinationNonNullableFields$1[];
3576
+ tableCombinations: TableCombinationNonNullableFields[];
3601
3577
  }
3602
3578
  interface ReservationPaymentNonNullableFields {
3603
3579
  value: string;
@@ -4091,13 +4067,13 @@ interface GetTimeSlotsResponse {
4091
4067
  }
4092
4068
  interface CheckReservationDetailsRequest {
4093
4069
  /** Reservation location ID. */
4094
- reservationLocationId: string;
4070
+ reservationLocationId?: string;
4095
4071
  /** Date. */
4096
- date: Date;
4072
+ date?: Date;
4097
4073
  /** Duration. */
4098
- duration: number | null;
4074
+ duration?: number | null;
4099
4075
  /** Party size. */
4100
- partySize: number | null;
4076
+ partySize?: number | null;
4101
4077
  /** Reservation, that should be ignored during the check. */
4102
4078
  excludeReservationId?: string | null;
4103
4079
  /** Requested table combination. */
@@ -4208,34 +4184,6 @@ interface TimeSlotNonNullableFields {
4208
4184
  interface GetTimeSlotsResponseNonNullableFields {
4209
4185
  timeSlots: TimeSlotNonNullableFields[];
4210
4186
  }
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
4187
  interface TableCombinationAvailabilityNonNullableFields {
4240
4188
  tableIds: string[];
4241
4189
  tableCombinationConflicts: TableCombinationConflictType[];
@@ -4256,18 +4204,6 @@ interface GetTimeSlotsOptions {
4256
4204
  /** The number of time slots to retrieve after the given `date`. */
4257
4205
  slotsAfter?: number | null;
4258
4206
  }
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
4207
  interface CheckTimeSlotOptions {
4272
4208
  /** Date and time of the time slot to check. */
4273
4209
  date: Date;
@@ -4288,22 +4224,17 @@ interface CheckTimeSlotOptions {
4288
4224
  }
4289
4225
 
4290
4226
  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
4227
  declare function checkTimeSlot$1(httpClient: HttpClient): (reservationLocationId: string, options?: CheckTimeSlotOptions) => Promise<CheckTimeSlotResponse & CheckTimeSlotResponseNonNullableFields>;
4293
4228
 
4294
4229
  declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
4295
4230
 
4296
4231
  type _publicGetTimeSlotsType = typeof getTimeSlots$1;
4297
4232
  declare const getTimeSlots: ReturnType<typeof createRESTModule<_publicGetTimeSlotsType>>;
4298
- type _publicCheckReservationDetailsType = typeof checkReservationDetails$1;
4299
- declare const checkReservationDetails: ReturnType<typeof createRESTModule<_publicCheckReservationDetailsType>>;
4300
4233
  type _publicCheckTimeSlotType = typeof checkTimeSlot$1;
4301
4234
  declare const checkTimeSlot: ReturnType<typeof createRESTModule<_publicCheckTimeSlotType>>;
4302
4235
 
4303
- type index_d_CheckReservationDetailsOptions = CheckReservationDetailsOptions;
4304
4236
  type index_d_CheckReservationDetailsRequest = CheckReservationDetailsRequest;
4305
4237
  type index_d_CheckReservationDetailsResponse = CheckReservationDetailsResponse;
4306
- type index_d_CheckReservationDetailsResponseNonNullableFields = CheckReservationDetailsResponseNonNullableFields;
4307
4238
  type index_d_CheckTimeSlotOptions = CheckTimeSlotOptions;
4308
4239
  type index_d_CheckTimeSlotRequest = CheckTimeSlotRequest;
4309
4240
  type index_d_CheckTimeSlotResponse = CheckTimeSlotResponse;
@@ -4329,14 +4260,12 @@ type index_d_TimeSlot = TimeSlot;
4329
4260
  type index_d_TimeSlotTableCombination = TimeSlotTableCombination;
4330
4261
  type index_d_Type = Type;
4331
4262
  declare const index_d_Type: typeof Type;
4332
- type index_d__publicCheckReservationDetailsType = _publicCheckReservationDetailsType;
4333
4263
  type index_d__publicCheckTimeSlotType = _publicCheckTimeSlotType;
4334
4264
  type index_d__publicGetTimeSlotsType = _publicGetTimeSlotsType;
4335
- declare const index_d_checkReservationDetails: typeof checkReservationDetails;
4336
4265
  declare const index_d_checkTimeSlot: typeof checkTimeSlot;
4337
4266
  declare const index_d_getTimeSlots: typeof getTimeSlots;
4338
4267
  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 };
4268
+ 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
4269
  }
4341
4270
 
4342
4271
  export { index_d$1 as reservationLocations, index_d$2 as reservations, index_d as timeSlots };
@@ -440,7 +440,7 @@ interface SearchReservationsRequest$1 {
440
440
  search: CursorSearch$1;
441
441
  }
442
442
  interface CursorSearch$1 extends CursorSearchPagingMethodOneOf$1 {
443
- /** Cursor pointing to a page of results. Can't be used together with 'paging'. 'cursor_paging.cursor' can't be used together with 'filter' or 'sort'. */
443
+ /** Cursor pointing to a page of results. Can't be used together with 'paging'. 'cursorPaging.cursor' can't be used together with 'filter' or 'sort'. */
444
444
  cursorPaging?: CursorPaging$3;
445
445
  /**
446
446
  * Filter object in the following format:
@@ -468,7 +468,7 @@ interface CursorSearch$1 extends CursorSearchPagingMethodOneOf$1 {
468
468
  }
469
469
  /** @oneof */
470
470
  interface CursorSearchPagingMethodOneOf$1 {
471
- /** Cursor pointing to a page of results. Can't be used together with 'paging'. 'cursor_paging.cursor' can't be used together with 'filter' or 'sort'. */
471
+ /** Cursor pointing to a page of results. Can't be used together with 'paging'. 'cursorPaging.cursor' can't be used together with 'filter' or 'sort'. */
472
472
  cursorPaging?: CursorPaging$3;
473
473
  }
474
474
  interface Aggregation$1 extends AggregationKindOneOf$1 {
@@ -656,7 +656,7 @@ interface SearchDetails$1 {
656
656
  /**
657
657
  * Fields to search in.
658
658
  *
659
- * Searchable fields are `reservee.first_name`, `reservee.last_name`, `reservee.phone`, and `reservee.email`.
659
+ * Searchable fields are `reservee.firstName`, `reservee.lastName`, `reservee.phone`, and `reservee.email`.
660
660
  *
661
661
  * If the array is empty, all fields are searched.
662
662
  */
@@ -840,32 +840,6 @@ interface AggregationResultsResultOneOf$1 {
840
840
  /** Nested aggregation results. */
841
841
  nested?: NestedResults$1;
842
842
  }
843
- interface RawHttpRequest$1 {
844
- body?: Uint8Array;
845
- pathParams?: PathParametersEntry$1[];
846
- queryParams?: QueryParametersEntry$1[];
847
- headers?: HeadersEntry$1[];
848
- method?: string;
849
- rawPath?: string;
850
- rawQuery?: string;
851
- }
852
- interface PathParametersEntry$1 {
853
- key?: string;
854
- value?: string;
855
- }
856
- interface QueryParametersEntry$1 {
857
- key?: string;
858
- value?: string;
859
- }
860
- interface HeadersEntry$1 {
861
- key?: string;
862
- value?: string;
863
- }
864
- interface RawHttpResponse$1 {
865
- body?: Uint8Array;
866
- statusCode?: number | null;
867
- headers?: HeadersEntry$1[];
868
- }
869
843
  interface TableWithReservationConflictsNonNullableFields$1 {
870
844
  tableId: string;
871
845
  reservationIds: string[];
@@ -956,14 +930,6 @@ interface SearchReservationsResponseNonNullableFields$1 {
956
930
  reservations: ReservationNonNullableFields$1[];
957
931
  aggregationData?: AggregationDataNonNullableFields$1;
958
932
  }
959
- interface HeadersEntryNonNullableFields$1 {
960
- key: string;
961
- value: string;
962
- }
963
- interface RawHttpResponseNonNullableFields$1 {
964
- body: Uint8Array;
965
- headers: HeadersEntryNonNullableFields$1[];
966
- }
967
933
 
968
934
  /** The reservation domain object. */
969
935
  interface Reservation {
@@ -1407,7 +1373,7 @@ interface SearchReservationsRequest {
1407
1373
  search: CursorSearch;
1408
1374
  }
1409
1375
  interface CursorSearch extends CursorSearchPagingMethodOneOf {
1410
- /** Cursor pointing to a page of results. Can't be used together with 'paging'. 'cursor_paging.cursor' can't be used together with 'filter' or 'sort'. */
1376
+ /** Cursor pointing to a page of results. Can't be used together with 'paging'. 'cursorPaging.cursor' can't be used together with 'filter' or 'sort'. */
1411
1377
  cursorPaging?: CursorPaging$2;
1412
1378
  /**
1413
1379
  * Filter object in the following format:
@@ -1435,7 +1401,7 @@ interface CursorSearch extends CursorSearchPagingMethodOneOf {
1435
1401
  }
1436
1402
  /** @oneof */
1437
1403
  interface CursorSearchPagingMethodOneOf {
1438
- /** Cursor pointing to a page of results. Can't be used together with 'paging'. 'cursor_paging.cursor' can't be used together with 'filter' or 'sort'. */
1404
+ /** Cursor pointing to a page of results. Can't be used together with 'paging'. 'cursorPaging.cursor' can't be used together with 'filter' or 'sort'. */
1439
1405
  cursorPaging?: CursorPaging$2;
1440
1406
  }
1441
1407
  interface Aggregation extends AggregationKindOneOf {
@@ -1623,7 +1589,7 @@ interface SearchDetails {
1623
1589
  /**
1624
1590
  * Fields to search in.
1625
1591
  *
1626
- * Searchable fields are `reservee.first_name`, `reservee.last_name`, `reservee.phone`, and `reservee.email`.
1592
+ * Searchable fields are `reservee.firstName`, `reservee.lastName`, `reservee.phone`, and `reservee.email`.
1627
1593
  *
1628
1594
  * If the array is empty, all fields are searched.
1629
1595
  */
@@ -1807,32 +1773,6 @@ interface AggregationResultsResultOneOf {
1807
1773
  /** Nested aggregation results. */
1808
1774
  nested?: NestedResults;
1809
1775
  }
1810
- interface RawHttpRequest {
1811
- body?: Uint8Array;
1812
- pathParams?: PathParametersEntry[];
1813
- queryParams?: QueryParametersEntry[];
1814
- headers?: HeadersEntry[];
1815
- method?: string;
1816
- rawPath?: string;
1817
- rawQuery?: string;
1818
- }
1819
- interface PathParametersEntry {
1820
- key?: string;
1821
- value?: string;
1822
- }
1823
- interface QueryParametersEntry {
1824
- key?: string;
1825
- value?: string;
1826
- }
1827
- interface HeadersEntry {
1828
- key?: string;
1829
- value?: string;
1830
- }
1831
- interface RawHttpResponse {
1832
- body?: Uint8Array;
1833
- statusCode?: number | null;
1834
- headers?: HeadersEntry[];
1835
- }
1836
1776
  interface TableWithReservationConflictsNonNullableFields {
1837
1777
  tableId: string;
1838
1778
  reservationIds: string[];
@@ -1923,14 +1863,6 @@ interface SearchReservationsResponseNonNullableFields {
1923
1863
  reservations: ReservationNonNullableFields[];
1924
1864
  aggregationData?: AggregationDataNonNullableFields;
1925
1865
  }
1926
- interface HeadersEntryNonNullableFields {
1927
- key: string;
1928
- value: string;
1929
- }
1930
- interface RawHttpResponseNonNullableFields {
1931
- body: Uint8Array;
1932
- headers: HeadersEntryNonNullableFields[];
1933
- }
1934
1866
 
1935
1867
  type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
1936
1868
  getUrl: (context: any) => string;
@@ -1962,15 +1894,11 @@ declare function deleteReservation(): __PublicMethodMetaInfo$2<'DELETE', {
1962
1894
  declare function listReservations(): __PublicMethodMetaInfo$2<'GET', {}, ListReservationsRequest, ListReservationsRequest$1, ListReservationsResponse & ListReservationsResponseNonNullableFields, ListReservationsResponse$1 & ListReservationsResponseNonNullableFields$1>;
1963
1895
  declare function queryReservations(): __PublicMethodMetaInfo$2<'POST', {}, QueryReservationsRequest, QueryReservationsRequest$1, QueryReservationsResponse & QueryReservationsResponseNonNullableFields, QueryReservationsResponse$1 & QueryReservationsResponseNonNullableFields$1>;
1964
1896
  declare function searchReservations(): __PublicMethodMetaInfo$2<'POST', {}, SearchReservationsRequest, SearchReservationsRequest$1, SearchReservationsResponse & SearchReservationsResponseNonNullableFields, SearchReservationsResponse$1 & SearchReservationsResponseNonNullableFields$1>;
1965
- declare function getCalendarInviteFileWebhook(): __PublicMethodMetaInfo$2<'GET', {
1966
- id: string;
1967
- }, RawHttpRequest, RawHttpRequest$1, RawHttpResponse & RawHttpResponseNonNullableFields, RawHttpResponse$1 & RawHttpResponseNonNullableFields$1>;
1968
1897
 
1969
1898
  declare const meta$2_cancelReservation: typeof cancelReservation;
1970
1899
  declare const meta$2_createHeldReservation: typeof createHeldReservation;
1971
1900
  declare const meta$2_createReservation: typeof createReservation;
1972
1901
  declare const meta$2_deleteReservation: typeof deleteReservation;
1973
- declare const meta$2_getCalendarInviteFileWebhook: typeof getCalendarInviteFileWebhook;
1974
1902
  declare const meta$2_getReservation: typeof getReservation;
1975
1903
  declare const meta$2_listReservations: typeof listReservations;
1976
1904
  declare const meta$2_queryReservations: typeof queryReservations;
@@ -1978,7 +1906,7 @@ declare const meta$2_reserveReservation: typeof reserveReservation;
1978
1906
  declare const meta$2_searchReservations: typeof searchReservations;
1979
1907
  declare const meta$2_updateReservation: typeof updateReservation;
1980
1908
  declare namespace meta$2 {
1981
- export { type __PublicMethodMetaInfo$2 as __PublicMethodMetaInfo, meta$2_cancelReservation as cancelReservation, meta$2_createHeldReservation as createHeldReservation, meta$2_createReservation as createReservation, meta$2_deleteReservation as deleteReservation, meta$2_getCalendarInviteFileWebhook as getCalendarInviteFileWebhook, meta$2_getReservation as getReservation, meta$2_listReservations as listReservations, meta$2_queryReservations as queryReservations, meta$2_reserveReservation as reserveReservation, meta$2_searchReservations as searchReservations, meta$2_updateReservation as updateReservation };
1909
+ export { type __PublicMethodMetaInfo$2 as __PublicMethodMetaInfo, meta$2_cancelReservation as cancelReservation, meta$2_createHeldReservation as createHeldReservation, meta$2_createReservation as createReservation, meta$2_deleteReservation as deleteReservation, meta$2_getReservation as getReservation, meta$2_listReservations as listReservations, meta$2_queryReservations as queryReservations, meta$2_reserveReservation as reserveReservation, meta$2_searchReservations as searchReservations, meta$2_updateReservation as updateReservation };
1982
1910
  }
1983
1911
 
1984
1912
  interface ReservationLocation$1 {
@@ -2094,7 +2022,7 @@ interface TableDefinition$1 {
2094
2022
  /** Whether the table is active (available to be reserved). */
2095
2023
  isActive?: boolean | null;
2096
2024
  }
2097
- interface TableCombination$3 {
2025
+ interface TableCombination$1 {
2098
2026
  /**
2099
2027
  * Table combination ID.
2100
2028
  * @readonly
@@ -2371,7 +2299,7 @@ interface TableManagement$1 {
2371
2299
  /** Deleted table definitions. */
2372
2300
  deletedTableDefinitions?: TableDefinition$1[];
2373
2301
  /** Table combinations. */
2374
- tableCombinations?: TableCombination$3[];
2302
+ tableCombinations?: TableCombination$1[];
2375
2303
  }
2376
2304
  interface Location$1 {
2377
2305
  /**
@@ -2665,14 +2593,14 @@ interface TableDefinitionNonNullableFields$1 {
2665
2593
  seatsMin: number;
2666
2594
  seatsMax: number;
2667
2595
  }
2668
- interface TableCombinationNonNullableFields$3 {
2596
+ interface TableCombinationNonNullableFields$1 {
2669
2597
  seatsMin: number;
2670
2598
  seatsMax: number;
2671
2599
  }
2672
2600
  interface TableManagementNonNullableFields$1 {
2673
2601
  tableDefinitions: TableDefinitionNonNullableFields$1[];
2674
2602
  deletedTableDefinitions: TableDefinitionNonNullableFields$1[];
2675
- tableCombinations: TableCombinationNonNullableFields$3[];
2603
+ tableCombinations: TableCombinationNonNullableFields$1[];
2676
2604
  }
2677
2605
  interface ReservationPaymentNonNullableFields$1 {
2678
2606
  value: string;
@@ -2815,7 +2743,7 @@ interface TableDefinition {
2815
2743
  /** Whether the table is active (available to be reserved). */
2816
2744
  isActive?: boolean | null;
2817
2745
  }
2818
- interface TableCombination$2 {
2746
+ interface TableCombination {
2819
2747
  /**
2820
2748
  * Table combination ID.
2821
2749
  * @readonly
@@ -3091,7 +3019,7 @@ interface TableManagement {
3091
3019
  /** Deleted table definitions. */
3092
3020
  deletedTableDefinitions?: TableDefinition[];
3093
3021
  /** Table combinations. */
3094
- tableCombinations?: TableCombination$2[];
3022
+ tableCombinations?: TableCombination[];
3095
3023
  }
3096
3024
  interface Location {
3097
3025
  /**
@@ -3382,14 +3310,14 @@ interface TableDefinitionNonNullableFields {
3382
3310
  seatsMin: number;
3383
3311
  seatsMax: number;
3384
3312
  }
3385
- interface TableCombinationNonNullableFields$2 {
3313
+ interface TableCombinationNonNullableFields {
3386
3314
  seatsMin: number;
3387
3315
  seatsMax: number;
3388
3316
  }
3389
3317
  interface TableManagementNonNullableFields {
3390
3318
  tableDefinitions: TableDefinitionNonNullableFields[];
3391
3319
  deletedTableDefinitions: TableDefinitionNonNullableFields[];
3392
- tableCombinations: TableCombinationNonNullableFields$2[];
3320
+ tableCombinations: TableCombinationNonNullableFields[];
3393
3321
  }
3394
3322
  interface ReservationPaymentNonNullableFields {
3395
3323
  value: string;
@@ -3493,60 +3421,6 @@ interface GetTimeSlotsResponse$1 {
3493
3421
  /** A list of time slots and their availability according to the given party size. */
3494
3422
  timeSlots?: TimeSlot$1[];
3495
3423
  }
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
3424
  declare enum TableCombinationConflictType$1 {
3551
3425
  UNKNOWN = "UNKNOWN",
3552
3426
  RESERVED = "RESERVED",
@@ -3554,21 +3428,11 @@ declare enum TableCombinationConflictType$1 {
3554
3428
  TOO_SMALL = "TOO_SMALL",
3555
3429
  OFFLINE_ONLY = "OFFLINE_ONLY"
3556
3430
  }
3557
- interface ReservationLocationConflict$1 {
3558
- /** Reservation location conflict type. */
3559
- type?: Type$1;
3560
- }
3561
3431
  declare enum Type$1 {
3562
3432
  UNKNOWN = "UNKNOWN",
3563
3433
  PARTY_PACING = "PARTY_PACING",
3564
3434
  SEAT_PACING = "SEAT_PACING"
3565
3435
  }
3566
- interface TableReservedConflict$1 {
3567
- /** Table id. */
3568
- tableId?: string;
3569
- /** List of reservation ids. */
3570
- reservationIds?: string[];
3571
- }
3572
3436
  interface CheckTimeSlotRequest$1 {
3573
3437
  /** ID of the reservation location for which to check the time slot. */
3574
3438
  reservationLocationId: string;
@@ -3612,34 +3476,6 @@ interface TimeSlotNonNullableFields$1 {
3612
3476
  interface GetTimeSlotsResponseNonNullableFields$1 {
3613
3477
  timeSlots: TimeSlotNonNullableFields$1[];
3614
3478
  }
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
3479
  interface TableCombinationAvailabilityNonNullableFields$1 {
3644
3480
  tableIds: string[];
3645
3481
  tableCombinationConflicts: TableCombinationConflictType$1[];
@@ -3696,60 +3532,6 @@ interface GetTimeSlotsResponse {
3696
3532
  /** A list of time slots and their availability according to the given party size. */
3697
3533
  timeSlots?: TimeSlot[];
3698
3534
  }
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
3535
  declare enum TableCombinationConflictType {
3754
3536
  UNKNOWN = "UNKNOWN",
3755
3537
  RESERVED = "RESERVED",
@@ -3757,21 +3539,11 @@ declare enum TableCombinationConflictType {
3757
3539
  TOO_SMALL = "TOO_SMALL",
3758
3540
  OFFLINE_ONLY = "OFFLINE_ONLY"
3759
3541
  }
3760
- interface ReservationLocationConflict {
3761
- /** Reservation location conflict type. */
3762
- type?: Type;
3763
- }
3764
3542
  declare enum Type {
3765
3543
  UNKNOWN = "UNKNOWN",
3766
3544
  PARTY_PACING = "PARTY_PACING",
3767
3545
  SEAT_PACING = "SEAT_PACING"
3768
3546
  }
3769
- interface TableReservedConflict {
3770
- /** Table id. */
3771
- tableId?: string;
3772
- /** List of reservation ids. */
3773
- reservationIds?: string[];
3774
- }
3775
3547
  interface CheckTimeSlotRequest {
3776
3548
  /** ID of the reservation location for which to check the time slot. */
3777
3549
  reservationLocationId: string;
@@ -3815,34 +3587,6 @@ interface TimeSlotNonNullableFields {
3815
3587
  interface GetTimeSlotsResponseNonNullableFields {
3816
3588
  timeSlots: TimeSlotNonNullableFields[];
3817
3589
  }
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
3590
  interface TableCombinationAvailabilityNonNullableFields {
3847
3591
  tableIds: string[];
3848
3592
  tableCombinationConflicts: TableCombinationConflictType[];
@@ -3863,15 +3607,13 @@ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q
3863
3607
  __originalResponseType: R;
3864
3608
  };
3865
3609
  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
3610
  declare function checkTimeSlot(): __PublicMethodMetaInfo<'POST', {}, CheckTimeSlotRequest, CheckTimeSlotRequest$1, CheckTimeSlotResponse & CheckTimeSlotResponseNonNullableFields, CheckTimeSlotResponse$1 & CheckTimeSlotResponseNonNullableFields$1>;
3868
3611
 
3869
3612
  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
3613
  declare const meta_checkTimeSlot: typeof checkTimeSlot;
3872
3614
  declare const meta_getTimeSlots: typeof getTimeSlots;
3873
3615
  declare namespace meta {
3874
- export { type meta___PublicMethodMetaInfo as __PublicMethodMetaInfo, meta_checkReservationDetails as checkReservationDetails, meta_checkTimeSlot as checkTimeSlot, meta_getTimeSlots as getTimeSlots };
3616
+ export { type meta___PublicMethodMetaInfo as __PublicMethodMetaInfo, meta_checkTimeSlot as checkTimeSlot, meta_getTimeSlots as getTimeSlots };
3875
3617
  }
3876
3618
 
3877
3619
  export { meta$1 as reservationLocations, meta$2 as reservations, meta as timeSlots };