@wix/table-reservations 1.0.118 → 1.0.120

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.118",
3
+ "version": "1.0.120",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -18,9 +18,9 @@
18
18
  "type-bundles"
19
19
  ],
20
20
  "dependencies": {
21
- "@wix/table-reservations_reservation-locations": "1.0.40",
22
- "@wix/table-reservations_reservations": "1.0.36",
23
- "@wix/table-reservations_time-slots": "1.0.38"
21
+ "@wix/table-reservations_reservation-locations": "1.0.42",
22
+ "@wix/table-reservations_reservations": "1.0.38",
23
+ "@wix/table-reservations_time-slots": "1.0.39"
24
24
  },
25
25
  "devDependencies": {
26
26
  "glob": "^10.4.1",
@@ -45,5 +45,5 @@
45
45
  "fqdn": ""
46
46
  }
47
47
  },
48
- "falconPackageHash": "c3a1013bd805c53cf12294c6f628e3e2219efb1b00ec9495256e5cf6"
48
+ "falconPackageHash": "c9c64204fc631dac8d67be298193defa14bfa9b2b86fb09aaa4bab6e"
49
49
  }
@@ -1,3 +1,47 @@
1
+ type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
2
+ interface HttpClient {
3
+ request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
4
+ fetchWithAuth: typeof fetch;
5
+ wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
6
+ }
7
+ type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
8
+ type HttpResponse<T = any> = {
9
+ data: T;
10
+ status: number;
11
+ statusText: string;
12
+ headers: any;
13
+ request?: any;
14
+ };
15
+ type RequestOptions<_TResponse = any, Data = any> = {
16
+ method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
17
+ url: string;
18
+ data?: Data;
19
+ params?: URLSearchParams;
20
+ } & APIMetadata;
21
+ type APIMetadata = {
22
+ methodFqn?: string;
23
+ entityFqdn?: string;
24
+ packageName?: string;
25
+ };
26
+ type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
27
+ type EventDefinition<Payload = unknown, Type extends string = string> = {
28
+ __type: 'event-definition';
29
+ type: Type;
30
+ isDomainEvent?: boolean;
31
+ transformations?: (envelope: unknown) => Payload;
32
+ __payload: Payload;
33
+ };
34
+ declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
35
+ type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
36
+ type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
37
+
38
+ declare global {
39
+ // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
40
+ interface SymbolConstructor {
41
+ readonly observable: symbol;
42
+ }
43
+ }
44
+
1
45
  /** The reservation domain object. */
2
46
  interface Reservation {
3
47
  /**
@@ -79,6 +123,8 @@ interface Reservation {
79
123
  * @readonly
80
124
  */
81
125
  paymentStatus?: PaymentStatus;
126
+ /** Wix extended fields */
127
+ extendedFields?: ExtendedFields$1;
82
128
  }
83
129
  declare enum Status$1 {
84
130
  UNKNOWN = "UNKNOWN",
@@ -192,6 +238,17 @@ declare enum PaymentStatus {
192
238
  /** A corresponding to reservation order was partially payed. */
193
239
  PARTIALLY_PAID = "PARTIALLY_PAID"
194
240
  }
241
+ interface ExtendedFields$1 {
242
+ /**
243
+ * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
244
+ * The value of each key is structured according to the schema defined when the extended fields were configured.
245
+ *
246
+ * You can only access fields for which you have the appropriate permissions.
247
+ *
248
+ * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
249
+ */
250
+ namespaces?: Record<string, Record<string, any>>;
251
+ }
195
252
  interface ReservationDelayedDomainEvent extends ReservationDelayedDomainEventBodyTypeOneOf {
196
253
  /** Body of a created reservation event. */
197
254
  reservationCreated?: ReservationCreated;
@@ -1292,6 +1349,8 @@ interface UpdateReservation {
1292
1349
  * @readonly
1293
1350
  */
1294
1351
  paymentStatus?: PaymentStatus;
1352
+ /** Wix extended fields */
1353
+ extendedFields?: ExtendedFields$1;
1295
1354
  }
1296
1355
  interface UpdateReservationOptions {
1297
1356
  /**
@@ -1412,60 +1471,159 @@ interface ReservationsQueryBuilder {
1412
1471
  find: () => Promise<ReservationsQueryResult>;
1413
1472
  }
1414
1473
 
1415
- type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
1416
- interface HttpClient {
1417
- request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
1418
- fetchWithAuth: typeof fetch;
1419
- wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
1474
+ declare function createReservation$1(httpClient: HttpClient): CreateReservationSignature;
1475
+ interface CreateReservationSignature {
1476
+ /**
1477
+ * Creates a new reservation.
1478
+ *
1479
+ * `createReservation()` accepts and requires different fields depending on the `status` provided and your permissions.
1480
+ *
1481
+ * **Status and source**
1482
+ *
1483
+ * If a `status` is not provided, it will be set to:
1484
+ * * `RESERVED` if manual approval is not required for confirmation
1485
+ * * `REQUESTED` if manual approval is required for confirmation.
1486
+ *
1487
+ * A reservation created with any `source` other than `WALK_IN` requires the `reservation.reservee.phone` and `reservation.reservee.firstName` fields.
1488
+ * Attempting to create a reservation without these fields will result in an error.
1489
+ *
1490
+ * **Permissions**
1491
+ *
1492
+ * Including the fields `status`, `source`, `reservation.details.tableIds`, `reservation.details.endDate`, `ignoreReservationLocationConflicts`, or `ignoreTableCombinationConflicts` in the request requires additional permissions. See this API's Introduction article for more information.
1493
+ *
1494
+ * If `source` is not provided, its value is set depending on the permissions of the user making the call. See this API's Introduction article for more information.
1495
+ *
1496
+ *
1497
+ * > **Note:** `createReservation()` requires all details of the reservation upfront. The process of creating a reservation can be broken up using `createHeldReservation`. `createHeldReservation` creates a temporary reservation that expires automatically unless it is completed with the addition of more details using `reserveReservation()`.
1498
+ * @param - Reservation details.
1499
+ * @param - Options for creating the reservation.
1500
+ * @returns Reservation.
1501
+ */
1502
+ (reservation: Reservation, options?: CreateReservationOptions | undefined): Promise<Reservation & ReservationNonNullableFields>;
1420
1503
  }
1421
- type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
1422
- type HttpResponse<T = any> = {
1423
- data: T;
1424
- status: number;
1425
- statusText: string;
1426
- headers: any;
1427
- request?: any;
1428
- };
1429
- type RequestOptions<_TResponse = any, Data = any> = {
1430
- method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
1431
- url: string;
1432
- data?: Data;
1433
- params?: URLSearchParams;
1434
- } & APIMetadata;
1435
- type APIMetadata = {
1436
- methodFqn?: string;
1437
- entityFqdn?: string;
1438
- packageName?: string;
1439
- };
1440
- type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
1441
- type EventDefinition<Payload = unknown, Type extends string = string> = {
1442
- __type: 'event-definition';
1443
- type: Type;
1444
- isDomainEvent?: boolean;
1445
- transformations?: (envelope: unknown) => Payload;
1446
- __payload: Payload;
1447
- };
1448
- declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
1449
- type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
1450
- type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
1451
-
1452
- declare global {
1453
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
1454
- interface SymbolConstructor {
1455
- readonly observable: symbol;
1456
- }
1504
+ declare function getReservation$1(httpClient: HttpClient): GetReservationSignature;
1505
+ interface GetReservationSignature {
1506
+ /**
1507
+ * Retrieves a reservation.
1508
+ *
1509
+ * Calling this method with `fieldsets` set to `FULL` requires additional permissions. See this API's Introduction article for more information.
1510
+ * @param - Reservation ID.
1511
+ * @returns Reservation.
1512
+ */
1513
+ (reservationId: string, options?: GetReservationOptions | undefined): Promise<Reservation & ReservationNonNullableFields>;
1514
+ }
1515
+ declare function updateReservation$1(httpClient: HttpClient): UpdateReservationSignature;
1516
+ interface UpdateReservationSignature {
1517
+ /**
1518
+ * Updates a reservation.
1519
+ *
1520
+ * Including the fields `status`, `source`, `reservation.details.tableIds`, `reservation.details.endDate`, `ignoreReservationLocationConflicts`, and `ignoreTableCombinationConflicts` in the request requires additional permissions. See this API's Introduction article for more information.
1521
+ *
1522
+ * Each time the reservation is updated, revision increments by 1. The existing revision must be included when updating the reservation. This ensures you're working with the latest reservation information, and it prevents unintended overwrites.
1523
+ * @param - Reservation ID.
1524
+ * @param - Options for updating the reservation.
1525
+ * @param - Reservation information to update.
1526
+ * @returns Reservation.
1527
+ */
1528
+ (_id: string | null, reservation: UpdateReservation, options?: UpdateReservationOptions | undefined): Promise<Reservation & ReservationNonNullableFields>;
1529
+ }
1530
+ declare function createHeldReservation$1(httpClient: HttpClient): CreateHeldReservationSignature;
1531
+ interface CreateHeldReservationSignature {
1532
+ /**
1533
+ * Creates a new temporary reservation and holds it for the customer for 10 minutes.
1534
+ *
1535
+ * Creates a new reservation with the `HELD` status. `HELD` reservations are intended to reserve seats and tables for a party in a selected time slot while they enter further reservation details, such as names and contact information. Reservations with the `HELD` status are only valid for 10 minutes. Trying to change a `HELD` reservation’s status after 10 minutes returns an error.
1536
+ *
1537
+ * You cannot call `updateReservation()` to change a reservation’s status from `HELD`. Trying to do so returns an error. Instead, you should use `reserveReservation()`.
1538
+ *
1539
+ * If you do not wish to have `HELD` reservations in your flow, you can create a reservation with all required details using `createReservation()`.
1540
+ *
1541
+ * @param - Held reservation information to update.
1542
+ */
1543
+ (reservationDetails: HeldReservationDetails): Promise<CreateHeldReservationResponse & CreateHeldReservationResponseNonNullableFields>;
1544
+ }
1545
+ declare function reserveReservation$1(httpClient: HttpClient): ReserveReservationSignature;
1546
+ interface ReserveReservationSignature {
1547
+ /**
1548
+ * Reserves or requests a held reservation.
1549
+ *
1550
+ * Held reservations are temporary reservations with the `HELD` status created by `createHeldReservation()`.
1551
+ *
1552
+ * They are intended to reserve seats and tables for a party in a selected time slot while they enter further reservation details, such as names and contact information. Reservations with the `HELD` status are only valid for 10 minutes. Trying to call `Reserve Reservation` with a held reservation older than 10 minutes returns an error.
1553
+ *
1554
+ * `Reserve Reservation` changes a reservation's `HELD` status to:
1555
+ * * `RESERVED` if the reservation's reservation location does not require manual approval.
1556
+ * * `REQUESTED` if the reservation's reservation location requires manual approval.
1557
+ * @param - Reservation ID.
1558
+ * @param - Reservee details.
1559
+ * @param - Revision number.
1560
+ *
1561
+ * Include the existing `revision` to prevent conflicting updates to reservations.
1562
+ */
1563
+ (reservationId: string, reservee: Reservee, revision: string | null): Promise<ReserveReservationResponse & ReserveReservationResponseNonNullableFields>;
1564
+ }
1565
+ declare function cancelReservation$1(httpClient: HttpClient): CancelReservationSignature;
1566
+ interface CancelReservationSignature {
1567
+ /**
1568
+ * Cancels a reservation.
1569
+ *
1570
+ * Sets the reservation status to `CANCELED`.
1571
+ * @param - Reservation ID.
1572
+ * @param - Revision number.
1573
+ *
1574
+ * Include the existing `revision` to prevent conflicting updates to reservations.
1575
+ * @param - Options for canceling the reservation.
1576
+ */
1577
+ (reservationId: string, revision: string | null, options?: CancelReservationOptions | undefined): Promise<CancelReservationResponse & CancelReservationResponseNonNullableFields>;
1578
+ }
1579
+ declare function deleteReservation$1(httpClient: HttpClient): DeleteReservationSignature;
1580
+ interface DeleteReservationSignature {
1581
+ /**
1582
+ * Deletes a reservation. Only reservations with the `HELD` status can be deleted.
1583
+ * @param - Reservation ID.
1584
+ */
1585
+ (reservationId: string): Promise<void>;
1586
+ }
1587
+ declare function listReservations$1(httpClient: HttpClient): ListReservationsSignature;
1588
+ interface ListReservationsSignature {
1589
+ /**
1590
+ * Retrieves a list of up to 100 reservations.
1591
+ * @param - Options for listing the reservations.
1592
+ */
1593
+ (options?: ListReservationsOptions | undefined): Promise<ListReservationsResponse & ListReservationsResponseNonNullableFields>;
1594
+ }
1595
+ declare function queryReservations$1(httpClient: HttpClient): QueryReservationsSignature;
1596
+ interface QueryReservationsSignature {
1597
+ /**
1598
+ * Creates a query to retrieve a list of reservations.
1599
+ *
1600
+ * The `queryReservations()` function builds a query to retrieve a list of reservations and returns a [`ReservationsQueryBuilder`](/reservations/reservations-query-builder) object.
1601
+ *
1602
+ * The returned object contains the query definition, which is used to run the query using the [find()](/reservations/reservations-query-builder/find) function.
1603
+ *
1604
+ * You can refine the query by chaining `ReservationsQueryBuilder` functions onto the query. `ReservationsQueryBuilder` functions enable you to filter, sort, and control the results that `queryReservations()` returns.
1605
+ *
1606
+ * `queryReservations()` runs with the following `ReservationsQueryBuilder` defaults, which you can override:
1607
+ *
1608
+ * * [`skip(0)`](/reservations/reservations-query-builder/skip)
1609
+ * * [`limit(50)`](/reservations/reservations-query-builder/limit)
1610
+ * * [`descending('_createdDate')`](/reservations/reservations-query-builder/descending)
1611
+ *
1612
+ * The following `ReservationsQueryBuilder` functions are supported for `queryReservations()`. For a full description of the reservation object, see the object returned for the [`items`](/reservations/reservations-query-builder/items) property in [`ReservationsQueryResult`](/reservations/reservations-query-result).
1613
+ */
1614
+ (): ReservationsQueryBuilder;
1615
+ }
1616
+ declare function searchReservations$1(httpClient: HttpClient): SearchReservationsSignature;
1617
+ interface SearchReservationsSignature {
1618
+ /**
1619
+ * Use this endpoint to search the fields of the table reservations on a site for a given expression.
1620
+ *
1621
+ * You can also use this endpoint to perform data aggregations on a site's table reservation fields.
1622
+ * For a detailed list of supported operations, see the [Sorting, Filtering, and Search](https://dev.wix.com/docs/rest/api-reference/wix-restaurants/reservations/reservations/sorting-filtering-and-search) article.
1623
+ * @param - Search query.
1624
+ */
1625
+ (search: CursorSearch): Promise<SearchReservationsResponse & SearchReservationsResponseNonNullableFields>;
1457
1626
  }
1458
-
1459
- declare function createReservation$1(httpClient: HttpClient): (reservation: Reservation, options?: CreateReservationOptions) => Promise<Reservation & ReservationNonNullableFields>;
1460
- declare function getReservation$1(httpClient: HttpClient): (reservationId: string, options?: GetReservationOptions) => Promise<Reservation & ReservationNonNullableFields>;
1461
- declare function updateReservation$1(httpClient: HttpClient): (_id: string | null, reservation: UpdateReservation, options?: UpdateReservationOptions) => Promise<Reservation & ReservationNonNullableFields>;
1462
- declare function createHeldReservation$1(httpClient: HttpClient): (reservationDetails: HeldReservationDetails) => Promise<CreateHeldReservationResponse & CreateHeldReservationResponseNonNullableFields>;
1463
- declare function reserveReservation$1(httpClient: HttpClient): (reservationId: string, reservee: Reservee, revision: string | null) => Promise<ReserveReservationResponse & ReserveReservationResponseNonNullableFields>;
1464
- declare function cancelReservation$1(httpClient: HttpClient): (reservationId: string, revision: string | null, options?: CancelReservationOptions) => Promise<CancelReservationResponse & CancelReservationResponseNonNullableFields>;
1465
- declare function deleteReservation$1(httpClient: HttpClient): (reservationId: string) => Promise<void>;
1466
- declare function listReservations$1(httpClient: HttpClient): (options?: ListReservationsOptions) => Promise<ListReservationsResponse & ListReservationsResponseNonNullableFields>;
1467
- declare function queryReservations$1(httpClient: HttpClient): () => ReservationsQueryBuilder;
1468
- declare function searchReservations$1(httpClient: HttpClient): (search: CursorSearch) => Promise<SearchReservationsResponse & SearchReservationsResponseNonNullableFields>;
1469
1627
  declare const onReservationCreated$1: EventDefinition<ReservationCreatedEnvelope, "wix.table_reservations.v1.reservation_created">;
1470
1628
 
1471
1629
  declare function createRESTModule$2<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
@@ -1494,6 +1652,9 @@ type _publicSearchReservationsType = typeof searchReservations$1;
1494
1652
  declare const searchReservations: ReturnType<typeof createRESTModule$2<_publicSearchReservationsType>>;
1495
1653
 
1496
1654
  type _publicOnReservationCreatedType = typeof onReservationCreated$1;
1655
+ /**
1656
+ * Triggered when a held reservation is created.
1657
+ */
1497
1658
  declare const onReservationCreated: ReturnType<typeof createEventModule$1<_publicOnReservationCreatedType>>;
1498
1659
 
1499
1660
  type context$2_Aggregation = Aggregation;
@@ -1636,7 +1797,7 @@ declare const context$2_reserveReservation: typeof reserveReservation;
1636
1797
  declare const context$2_searchReservations: typeof searchReservations;
1637
1798
  declare const context$2_updateReservation: typeof updateReservation;
1638
1799
  declare namespace context$2 {
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 };
1800
+ 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 ExtendedFields$1 as ExtendedFields, 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 };
1640
1801
  }
1641
1802
 
1642
1803
  interface ReservationLocation {
@@ -1677,6 +1838,8 @@ interface ReservationLocation {
1677
1838
  * @readonly
1678
1839
  */
1679
1840
  archived?: boolean | null;
1841
+ /** Wix extended fields */
1842
+ extendedFields?: ExtendedFields;
1680
1843
  }
1681
1844
  interface StreetAddress {
1682
1845
  /** Street number. */
@@ -2105,6 +2268,17 @@ interface Configuration {
2105
2268
  /** Table management settings. */
2106
2269
  tableManagement?: TableManagement;
2107
2270
  }
2271
+ interface ExtendedFields {
2272
+ /**
2273
+ * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
2274
+ * The value of each key is structured according to the schema defined when the extended fields were configured.
2275
+ *
2276
+ * You can only access fields for which you have the appropriate permissions.
2277
+ *
2278
+ * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
2279
+ */
2280
+ namespaces?: Record<string, Record<string, any>>;
2281
+ }
2108
2282
  interface InvalidateCache extends InvalidateCacheGetByOneOf {
2109
2283
  /** Invalidate by msId. NOT recommended, as this will invalidate the entire site cache! */
2110
2284
  metaSiteId?: string;
@@ -3708,6 +3882,8 @@ interface UpdateReservationLocation {
3708
3882
  * @readonly
3709
3883
  */
3710
3884
  archived?: boolean | null;
3885
+ /** Wix extended fields */
3886
+ extendedFields?: ExtendedFields;
3711
3887
  }
3712
3888
  interface QueryReservationLocationsOptions {
3713
3889
  /**
@@ -3779,10 +3955,65 @@ interface ListReservationLocationsOptions {
3779
3955
  fieldsets?: Set[];
3780
3956
  }
3781
3957
 
3782
- declare function getReservationLocation$1(httpClient: HttpClient): (reservationLocationId: string, options?: GetReservationLocationOptions) => Promise<ReservationLocation & ReservationLocationNonNullableFields>;
3783
- declare function updateReservationLocation$1(httpClient: HttpClient): (_id: string | null, reservationLocation: UpdateReservationLocation) => Promise<ReservationLocation & ReservationLocationNonNullableFields>;
3784
- declare function queryReservationLocations$1(httpClient: HttpClient): (options?: QueryReservationLocationsOptions) => ReservationLocationsQueryBuilder;
3785
- declare function listReservationLocations$1(httpClient: HttpClient): (options?: ListReservationLocationsOptions) => Promise<ListReservationLocationsResponse & ListReservationLocationsResponseNonNullableFields>;
3958
+ declare function getReservationLocation$1(httpClient: HttpClient): GetReservationLocationSignature;
3959
+ interface GetReservationLocationSignature {
3960
+ /**
3961
+ * Retrieves a reservation location by ID.
3962
+ *
3963
+ * The `FULL` fieldset can only be retrieved by users with the `READ RESERVATION LOCATIONS (FULL)` or `MANAGE RESERVATION LOCATIONS` permission scopes.
3964
+ * @param - ID of the ReservationLocation to retrieve.
3965
+ * @param - An object representing the available options for retrieving a reservation location.
3966
+ * @returns The retrieved reservation location.
3967
+ */
3968
+ (reservationLocationId: string, options?: GetReservationLocationOptions | undefined): Promise<ReservationLocation & ReservationLocationNonNullableFields>;
3969
+ }
3970
+ declare function updateReservationLocation$1(httpClient: HttpClient): UpdateReservationLocationSignature;
3971
+ interface UpdateReservationLocationSignature {
3972
+ /**
3973
+ * Updates a reservation location. Supports partial updates.
3974
+ *
3975
+ * Each time the reservation location is updated, `revision` increments by 1. The existing revision must be included when updating the reservation location. This ensures you're working with the latest reservation location information, and it prevents unintended overwrites.
3976
+ *
3977
+ * You cannot use this endpoint to change a reservation location's `location` object. Attempting to do so will cause the server to return an application error.
3978
+ * @param - Reservation location ID.
3979
+ * @param - Reservation location information to update.
3980
+ * @returns The updated reservation location.
3981
+ */
3982
+ (_id: string | null, reservationLocation: UpdateReservationLocation): Promise<ReservationLocation & ReservationLocationNonNullableFields>;
3983
+ }
3984
+ declare function queryReservationLocations$1(httpClient: HttpClient): QueryReservationLocationsSignature;
3985
+ interface QueryReservationLocationsSignature {
3986
+ /**
3987
+ * Creates a query to retrieve a list of reservation locations.
3988
+ *
3989
+ *
3990
+ * The `queryReservationLocations()` function builds a query to retrieve a list of reservation locations and returns a [`ReservationLocationsQueryBuilder`](/reservation-locations/reservation-locations-query-builder/) object.
3991
+ *
3992
+ * The returned object contains the query definition, which is used to run the query using the [find()](/reservation-locations/reservation-locations-query-builder/find) function.
3993
+ *
3994
+ * You can refine the query by chaining `ReservationLocationsQueryBuilder` functions onto the query. `ReservationLocationsQueryBuilder` functions enable you to filter, sort, and control the results that `queryReservationLocations()` returns.
3995
+ *
3996
+ * `queryReservationLocations()` runs with the following `ReservationLocationsQueryBuilder` defaults, which you can override:
3997
+ *
3998
+ * * [`skip(0)`](/reservation-locations/reservation-locations-query-builder/skip)
3999
+ * * [`limit(50)`](/reservation-locations/reservation-locations-query-builder/limit)
4000
+ * * [`descending('_createdDate')`](/reservation-locations/reservation-locations-query-builder/descending)
4001
+ *
4002
+ * The following `ReservationLocationsQueryBuilder` functions are supported for `queryReservationLocations()`. For a full description of the reservation location object, see the object returned for the [`items`](/reservation-locations/reservation-locations-query-result/items) property in [`ReservationLocationsQueryResult`](/reservation-locations/reservation-locations-query-result).
4003
+ * @param - An object representing the available options for querying reservation locations.
4004
+ */
4005
+ (options?: QueryReservationLocationsOptions | undefined): ReservationLocationsQueryBuilder;
4006
+ }
4007
+ declare function listReservationLocations$1(httpClient: HttpClient): ListReservationLocationsSignature;
4008
+ interface ListReservationLocationsSignature {
4009
+ /**
4010
+ * Retrieves a list of up to 100 reservation locations.
4011
+ *
4012
+ * The `FULL` fieldset can only be retrieved by users with the `READ RESERVATION LOCATIONS (FULL)` or `MANAGE RESERVATION LOCATIONS` permission scopes.
4013
+ * @param - An object representing the available options for listing reservation locations.
4014
+ */
4015
+ (options?: ListReservationLocationsOptions | undefined): Promise<ListReservationLocationsResponse & ListReservationLocationsResponseNonNullableFields>;
4016
+ }
3786
4017
  declare const onReservationLocationUpdated$1: EventDefinition<ReservationLocationUpdatedEnvelope, "wix.table_reservations.v1.reservation_location_updated">;
3787
4018
  declare const onReservationLocationCreated$1: EventDefinition<ReservationLocationCreatedEnvelope, "wix.table_reservations.v1.reservation_location_created">;
3788
4019
 
@@ -3800,9 +4031,15 @@ type _publicListReservationLocationsType = typeof listReservationLocations$1;
3800
4031
  declare const listReservationLocations: ReturnType<typeof createRESTModule$1<_publicListReservationLocationsType>>;
3801
4032
 
3802
4033
  type _publicOnReservationLocationUpdatedType = typeof onReservationLocationUpdated$1;
4034
+ /**
4035
+ * Triggered when a reservation location is updated.
4036
+ */
3803
4037
  declare const onReservationLocationUpdated: ReturnType<typeof createEventModule<_publicOnReservationLocationUpdatedType>>;
3804
4038
 
3805
4039
  type _publicOnReservationLocationCreatedType = typeof onReservationLocationCreated$1;
4040
+ /**
4041
+ * Triggered when a reservation location is updated.
4042
+ */
3806
4043
  declare const onReservationLocationCreated: ReturnType<typeof createEventModule<_publicOnReservationLocationCreatedType>>;
3807
4044
 
3808
4045
  type context$1_ActionEvent = ActionEvent;
@@ -3848,6 +4085,7 @@ type context$1_EntityCreatedEvent = EntityCreatedEvent;
3848
4085
  type context$1_EntityDeletedEvent = EntityDeletedEvent;
3849
4086
  type context$1_EntityUpdatedEvent = EntityUpdatedEvent;
3850
4087
  type context$1_EventMetadata = EventMetadata;
4088
+ type context$1_ExtendedFields = ExtendedFields;
3851
4089
  type context$1_Feature = Feature;
3852
4090
  type context$1_FeatureCancelled = FeatureCancelled;
3853
4091
  type context$1_FeatureCancelledReasonOneOf = FeatureCancelledReasonOneOf;
@@ -4010,7 +4248,7 @@ declare const context$1_onReservationLocationUpdated: typeof onReservationLocati
4010
4248
  declare const context$1_queryReservationLocations: typeof queryReservationLocations;
4011
4249
  declare const context$1_updateReservationLocation: typeof updateReservationLocation;
4012
4250
  declare namespace context$1 {
4013
- export { type context$1_ActionEvent as ActionEvent, type context$1_Address as Address, type context$1_AddressHint as AddressHint, type context$1_AddressLocation as AddressLocation, type context$1_App as App, type context$1_Asset as Asset, type context$1_AssignedFromFloatingReason as AssignedFromFloatingReason, type context$1_BaseEventMetadata as BaseEventMetadata, type context$1_BooleanFeature as BooleanFeature, type context$1_BusinessSchedule as BusinessSchedule, type context$1_CancelRequestedReason as CancelRequestedReason, type context$1_Categories as Categories, type context$1_ChangeContext as ChangeContext, type context$1_ChangeContextPayloadOneOf as ChangeContextPayloadOneOf, type context$1_CheckReservationLocationsCreatedRequest as CheckReservationLocationsCreatedRequest, type context$1_CheckReservationLocationsCreatedResponse as CheckReservationLocationsCreatedResponse, type context$1_CommonBusinessSchedule as CommonBusinessSchedule, context$1_CommonDayOfWeek as CommonDayOfWeek, type context$1_CommonSpecialHourPeriod as CommonSpecialHourPeriod, type context$1_CommonTimePeriod as CommonTimePeriod, type context$1_Configuration as Configuration, type context$1_ConsentPolicy as ConsentPolicy, type context$1_ContractSwitchedReason as ContractSwitchedReason, type context$1_CursorPaging as CursorPaging, type context$1_CursorPagingMetadata as CursorPagingMetadata, type context$1_Cursors as Cursors, type context$1_CustomFieldDefinition as CustomFieldDefinition, context$1_DayOfWeek as DayOfWeek, type context$1_DeleteContext as DeleteContext, type context$1_DeleteOrphanReservationLocationRequest as DeleteOrphanReservationLocationRequest, type context$1_DeleteOrphanReservationLocationResponse as DeleteOrphanReservationLocationResponse, context$1_DeleteStatus as DeleteStatus, type context$1_DomainEvent as DomainEvent, type context$1_DomainEventBodyOneOf as DomainEventBodyOneOf, type context$1_EmailMarketingCheckbox as EmailMarketingCheckbox, type context$1_Empty as Empty, type context$1_EntityCreatedEvent as EntityCreatedEvent, type context$1_EntityDeletedEvent as EntityDeletedEvent, type context$1_EntityUpdatedEvent as EntityUpdatedEvent, type context$1_EventMetadata as EventMetadata, type context$1_Feature as Feature, type context$1_FeatureCancelled as FeatureCancelled, type context$1_FeatureCancelledReasonOneOf as FeatureCancelledReasonOneOf, type context$1_FeatureContext as FeatureContext, type context$1_FeatureDisabled as FeatureDisabled, type context$1_FeatureDisabledReasonOneOf as FeatureDisabledReasonOneOf, type context$1_FeatureEnabled as FeatureEnabled, type context$1_FeatureEnabledReasonOneOf as FeatureEnabledReasonOneOf, type context$1_FeatureEvent as FeatureEvent, type context$1_FeatureEventEventOneOf as FeatureEventEventOneOf, context$1_FeaturePeriod as FeaturePeriod, type context$1_FeatureQuantityInfoOneOf as FeatureQuantityInfoOneOf, type context$1_FeatureUpdated as FeatureUpdated, type context$1_FeatureUpdatedPreviousQuantityInfoOneOf as FeatureUpdatedPreviousQuantityInfoOneOf, type context$1_FeatureUpdatedReasonOneOf as FeatureUpdatedReasonOneOf, context$1_FieldType as FieldType, type context$1_File as File, type context$1_GeoCoordinates as GeoCoordinates, type context$1_GetReservationLocationOptions as GetReservationLocationOptions, type context$1_GetReservationLocationRequest as GetReservationLocationRequest, type context$1_GetReservationLocationResponse as GetReservationLocationResponse, type context$1_GetReservationLocationResponseNonNullableFields as GetReservationLocationResponseNonNullableFields, type context$1_IdentificationData as IdentificationData, type context$1_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context$1_InvalidateCache as InvalidateCache, type context$1_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type context$1_ListReservationLocationsOptions as ListReservationLocationsOptions, type context$1_ListReservationLocationsRequest as ListReservationLocationsRequest, type context$1_ListReservationLocationsResponse as ListReservationLocationsResponse, type context$1_ListReservationLocationsResponseNonNullableFields as ListReservationLocationsResponseNonNullableFields, type context$1_Locale as Locale, type context$1_Location as Location, type context$1_LocationAddress as LocationAddress, type context$1_ManualApproval as ManualApproval, type context$1_ManualApprovalValueOneOf as ManualApprovalValueOneOf, type context$1_ManualFeatureCreationReason as ManualFeatureCreationReason, type context$1_MessageEnvelope as MessageEnvelope, type context$1_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type context$1_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, type context$1_MigrateOldRestaurantSettingsRequest as MigrateOldRestaurantSettingsRequest, type context$1_MigrateOldRestaurantSettingsResponse as MigrateOldRestaurantSettingsResponse, type context$1_MigratedFromLegacyReason as MigratedFromLegacyReason, type context$1_MigrationParsingError as MigrationParsingError, type context$1_MigrationResult as MigrationResult, context$1_Mode as Mode, type context$1_Multilingual as Multilingual, type context$1_MyReservationsField as MyReservationsField, context$1_Namespace as Namespace, type context$1_NamespaceChanged as NamespaceChanged, type context$1_NewFeatureReason as NewFeatureReason, type context$1_NoticePeriod as NoticePeriod, type context$1_OldCustomField as OldCustomField, type context$1_OldInstant as OldInstant, type context$1_OldPolicy as OldPolicy, type context$1_OldScheduleException as OldScheduleException, type context$1_OldScheduleInterval as OldScheduleInterval, type context$1_OldTerms as OldTerms, type context$1_OnlineReservations as OnlineReservations, type context$1_Page as Page, type context$1_Paging as Paging, type context$1_PagingMetadataV2 as PagingMetadataV2, type context$1_ParsedSettings as ParsedSettings, type context$1_PartiesSize as PartiesSize, type context$1_PartyPacing as PartyPacing, type context$1_PartySize as PartySize, context$1_PlacementType as PlacementType, type context$1_PrivacyPolicy as PrivacyPolicy, type context$1_PrivacyPolicyValueOneOf as PrivacyPolicyValueOneOf, type context$1_Properties as Properties, type context$1_PropertiesChange as PropertiesChange, type context$1_QueryReservationLocationsOptions as QueryReservationLocationsOptions, type context$1_QueryReservationLocationsRequest as QueryReservationLocationsRequest, type context$1_QueryReservationLocationsResponse as QueryReservationLocationsResponse, type context$1_QueryReservationLocationsResponseNonNullableFields as QueryReservationLocationsResponseNonNullableFields, type context$1_QueryV2 as QueryV2, type context$1_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type context$1_QuotaFeature as QuotaFeature, type context$1_QuotaInfo as QuotaInfo, type context$1_ReassignedFromSiteReason as ReassignedFromSiteReason, type context$1_ReassignedToAnotherSiteReason as ReassignedToAnotherSiteReason, type context$1_ReplacedByAnotherSubscriptionReason as ReplacedByAnotherSubscriptionReason, type context$1_ReservationForm as ReservationForm, type context$1_ReservationLocation as ReservationLocation, type context$1_ReservationLocationCreatedEnvelope as ReservationLocationCreatedEnvelope, type context$1_ReservationLocationNonNullableFields as ReservationLocationNonNullableFields, type context$1_ReservationLocationUpdatedEnvelope as ReservationLocationUpdatedEnvelope, type context$1_ReservationLocationsQueryBuilder as ReservationLocationsQueryBuilder, type context$1_ReservationLocationsQueryResult as ReservationLocationsQueryResult, type context$1_ReservationPayment as ReservationPayment, context$1_ResolutionMethod as ResolutionMethod, type context$1_RestoreInfo as RestoreInfo, type context$1_SeatPacing as SeatPacing, type context$1_ServiceProvisioned as ServiceProvisioned, type context$1_ServiceRemoved as ServiceRemoved, context$1_Set as Set, type context$1_SiteCloned as SiteCloned, type context$1_SiteCreated as SiteCreated, context$1_SiteCreatedContext as SiteCreatedContext, type context$1_SiteDeleted as SiteDeleted, type context$1_SiteHardDeleted as SiteHardDeleted, type context$1_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type context$1_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type context$1_SitePropertiesEvent as SitePropertiesEvent, type context$1_SitePropertiesNotification as SitePropertiesNotification, type context$1_SitePublished as SitePublished, type context$1_SiteRenamed as SiteRenamed, type context$1_SiteTransferred as SiteTransferred, type context$1_SiteUndeleted as SiteUndeleted, type context$1_SiteUnpublished as SiteUnpublished, context$1_SortOrder as SortOrder, type context$1_Sorting as Sorting, type context$1_SpecialHourPeriod as SpecialHourPeriod, context$1_State as State, type context$1_StreetAddress as StreetAddress, type context$1_StudioAssigned as StudioAssigned, type context$1_StudioUnassigned as StudioUnassigned, type context$1_SupportedLanguage as SupportedLanguage, type TableCombination$1 as TableCombination, type context$1_TableDefinition as TableDefinition, type context$1_TableManagement as TableManagement, type context$1_TablesDeleted as TablesDeleted, type context$1_TermsAndConditions as TermsAndConditions, type context$1_TermsAndConditionsValueOneOf as TermsAndConditionsValueOneOf, type context$1_TimePeriod as TimePeriod, type context$1_TransferredFromAnotherAccountReason as TransferredFromAnotherAccountReason, type context$1_TransferredToAnotherAccountReason as TransferredToAnotherAccountReason, type context$1_Translation as Translation, type context$1_TurnoverRule as TurnoverRule, type context$1_TurnoverTimeRule as TurnoverTimeRule, type context$1_URI as URI, type context$1_UnAssingedToFloatingReason as UnAssingedToFloatingReason, context$1_Unit as Unit, type context$1_UpdateReservationLocation as UpdateReservationLocation, type context$1_UpdateReservationLocationRequest as UpdateReservationLocationRequest, type context$1_UpdateReservationLocationResponse as UpdateReservationLocationResponse, type context$1_UpdateReservationLocationResponseNonNullableFields as UpdateReservationLocationResponseNonNullableFields, type context$1_V4SiteCreated as V4SiteCreated, context$1_WebhookIdentityType as WebhookIdentityType, type context$1__publicGetReservationLocationType as _publicGetReservationLocationType, type context$1__publicListReservationLocationsType as _publicListReservationLocationsType, type context$1__publicOnReservationLocationCreatedType as _publicOnReservationLocationCreatedType, type context$1__publicOnReservationLocationUpdatedType as _publicOnReservationLocationUpdatedType, type context$1__publicQueryReservationLocationsType as _publicQueryReservationLocationsType, type context$1__publicUpdateReservationLocationType as _publicUpdateReservationLocationType, context$1_getReservationLocation as getReservationLocation, context$1_listReservationLocations as listReservationLocations, context$1_onReservationLocationCreated as onReservationLocationCreated, context$1_onReservationLocationUpdated as onReservationLocationUpdated, onReservationLocationCreated$1 as publicOnReservationLocationCreated, onReservationLocationUpdated$1 as publicOnReservationLocationUpdated, context$1_queryReservationLocations as queryReservationLocations, context$1_updateReservationLocation as updateReservationLocation };
4251
+ export { type context$1_ActionEvent as ActionEvent, type context$1_Address as Address, type context$1_AddressHint as AddressHint, type context$1_AddressLocation as AddressLocation, type context$1_App as App, type context$1_Asset as Asset, type context$1_AssignedFromFloatingReason as AssignedFromFloatingReason, type context$1_BaseEventMetadata as BaseEventMetadata, type context$1_BooleanFeature as BooleanFeature, type context$1_BusinessSchedule as BusinessSchedule, type context$1_CancelRequestedReason as CancelRequestedReason, type context$1_Categories as Categories, type context$1_ChangeContext as ChangeContext, type context$1_ChangeContextPayloadOneOf as ChangeContextPayloadOneOf, type context$1_CheckReservationLocationsCreatedRequest as CheckReservationLocationsCreatedRequest, type context$1_CheckReservationLocationsCreatedResponse as CheckReservationLocationsCreatedResponse, type context$1_CommonBusinessSchedule as CommonBusinessSchedule, context$1_CommonDayOfWeek as CommonDayOfWeek, type context$1_CommonSpecialHourPeriod as CommonSpecialHourPeriod, type context$1_CommonTimePeriod as CommonTimePeriod, type context$1_Configuration as Configuration, type context$1_ConsentPolicy as ConsentPolicy, type context$1_ContractSwitchedReason as ContractSwitchedReason, type context$1_CursorPaging as CursorPaging, type context$1_CursorPagingMetadata as CursorPagingMetadata, type context$1_Cursors as Cursors, type context$1_CustomFieldDefinition as CustomFieldDefinition, context$1_DayOfWeek as DayOfWeek, type context$1_DeleteContext as DeleteContext, type context$1_DeleteOrphanReservationLocationRequest as DeleteOrphanReservationLocationRequest, type context$1_DeleteOrphanReservationLocationResponse as DeleteOrphanReservationLocationResponse, context$1_DeleteStatus as DeleteStatus, type context$1_DomainEvent as DomainEvent, type context$1_DomainEventBodyOneOf as DomainEventBodyOneOf, type context$1_EmailMarketingCheckbox as EmailMarketingCheckbox, type context$1_Empty as Empty, type context$1_EntityCreatedEvent as EntityCreatedEvent, type context$1_EntityDeletedEvent as EntityDeletedEvent, type context$1_EntityUpdatedEvent as EntityUpdatedEvent, type context$1_EventMetadata as EventMetadata, type context$1_ExtendedFields as ExtendedFields, type context$1_Feature as Feature, type context$1_FeatureCancelled as FeatureCancelled, type context$1_FeatureCancelledReasonOneOf as FeatureCancelledReasonOneOf, type context$1_FeatureContext as FeatureContext, type context$1_FeatureDisabled as FeatureDisabled, type context$1_FeatureDisabledReasonOneOf as FeatureDisabledReasonOneOf, type context$1_FeatureEnabled as FeatureEnabled, type context$1_FeatureEnabledReasonOneOf as FeatureEnabledReasonOneOf, type context$1_FeatureEvent as FeatureEvent, type context$1_FeatureEventEventOneOf as FeatureEventEventOneOf, context$1_FeaturePeriod as FeaturePeriod, type context$1_FeatureQuantityInfoOneOf as FeatureQuantityInfoOneOf, type context$1_FeatureUpdated as FeatureUpdated, type context$1_FeatureUpdatedPreviousQuantityInfoOneOf as FeatureUpdatedPreviousQuantityInfoOneOf, type context$1_FeatureUpdatedReasonOneOf as FeatureUpdatedReasonOneOf, context$1_FieldType as FieldType, type context$1_File as File, type context$1_GeoCoordinates as GeoCoordinates, type context$1_GetReservationLocationOptions as GetReservationLocationOptions, type context$1_GetReservationLocationRequest as GetReservationLocationRequest, type context$1_GetReservationLocationResponse as GetReservationLocationResponse, type context$1_GetReservationLocationResponseNonNullableFields as GetReservationLocationResponseNonNullableFields, type context$1_IdentificationData as IdentificationData, type context$1_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context$1_InvalidateCache as InvalidateCache, type context$1_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type context$1_ListReservationLocationsOptions as ListReservationLocationsOptions, type context$1_ListReservationLocationsRequest as ListReservationLocationsRequest, type context$1_ListReservationLocationsResponse as ListReservationLocationsResponse, type context$1_ListReservationLocationsResponseNonNullableFields as ListReservationLocationsResponseNonNullableFields, type context$1_Locale as Locale, type context$1_Location as Location, type context$1_LocationAddress as LocationAddress, type context$1_ManualApproval as ManualApproval, type context$1_ManualApprovalValueOneOf as ManualApprovalValueOneOf, type context$1_ManualFeatureCreationReason as ManualFeatureCreationReason, type context$1_MessageEnvelope as MessageEnvelope, type context$1_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type context$1_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, type context$1_MigrateOldRestaurantSettingsRequest as MigrateOldRestaurantSettingsRequest, type context$1_MigrateOldRestaurantSettingsResponse as MigrateOldRestaurantSettingsResponse, type context$1_MigratedFromLegacyReason as MigratedFromLegacyReason, type context$1_MigrationParsingError as MigrationParsingError, type context$1_MigrationResult as MigrationResult, context$1_Mode as Mode, type context$1_Multilingual as Multilingual, type context$1_MyReservationsField as MyReservationsField, context$1_Namespace as Namespace, type context$1_NamespaceChanged as NamespaceChanged, type context$1_NewFeatureReason as NewFeatureReason, type context$1_NoticePeriod as NoticePeriod, type context$1_OldCustomField as OldCustomField, type context$1_OldInstant as OldInstant, type context$1_OldPolicy as OldPolicy, type context$1_OldScheduleException as OldScheduleException, type context$1_OldScheduleInterval as OldScheduleInterval, type context$1_OldTerms as OldTerms, type context$1_OnlineReservations as OnlineReservations, type context$1_Page as Page, type context$1_Paging as Paging, type context$1_PagingMetadataV2 as PagingMetadataV2, type context$1_ParsedSettings as ParsedSettings, type context$1_PartiesSize as PartiesSize, type context$1_PartyPacing as PartyPacing, type context$1_PartySize as PartySize, context$1_PlacementType as PlacementType, type context$1_PrivacyPolicy as PrivacyPolicy, type context$1_PrivacyPolicyValueOneOf as PrivacyPolicyValueOneOf, type context$1_Properties as Properties, type context$1_PropertiesChange as PropertiesChange, type context$1_QueryReservationLocationsOptions as QueryReservationLocationsOptions, type context$1_QueryReservationLocationsRequest as QueryReservationLocationsRequest, type context$1_QueryReservationLocationsResponse as QueryReservationLocationsResponse, type context$1_QueryReservationLocationsResponseNonNullableFields as QueryReservationLocationsResponseNonNullableFields, type context$1_QueryV2 as QueryV2, type context$1_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type context$1_QuotaFeature as QuotaFeature, type context$1_QuotaInfo as QuotaInfo, type context$1_ReassignedFromSiteReason as ReassignedFromSiteReason, type context$1_ReassignedToAnotherSiteReason as ReassignedToAnotherSiteReason, type context$1_ReplacedByAnotherSubscriptionReason as ReplacedByAnotherSubscriptionReason, type context$1_ReservationForm as ReservationForm, type context$1_ReservationLocation as ReservationLocation, type context$1_ReservationLocationCreatedEnvelope as ReservationLocationCreatedEnvelope, type context$1_ReservationLocationNonNullableFields as ReservationLocationNonNullableFields, type context$1_ReservationLocationUpdatedEnvelope as ReservationLocationUpdatedEnvelope, type context$1_ReservationLocationsQueryBuilder as ReservationLocationsQueryBuilder, type context$1_ReservationLocationsQueryResult as ReservationLocationsQueryResult, type context$1_ReservationPayment as ReservationPayment, context$1_ResolutionMethod as ResolutionMethod, type context$1_RestoreInfo as RestoreInfo, type context$1_SeatPacing as SeatPacing, type context$1_ServiceProvisioned as ServiceProvisioned, type context$1_ServiceRemoved as ServiceRemoved, context$1_Set as Set, type context$1_SiteCloned as SiteCloned, type context$1_SiteCreated as SiteCreated, context$1_SiteCreatedContext as SiteCreatedContext, type context$1_SiteDeleted as SiteDeleted, type context$1_SiteHardDeleted as SiteHardDeleted, type context$1_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type context$1_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type context$1_SitePropertiesEvent as SitePropertiesEvent, type context$1_SitePropertiesNotification as SitePropertiesNotification, type context$1_SitePublished as SitePublished, type context$1_SiteRenamed as SiteRenamed, type context$1_SiteTransferred as SiteTransferred, type context$1_SiteUndeleted as SiteUndeleted, type context$1_SiteUnpublished as SiteUnpublished, context$1_SortOrder as SortOrder, type context$1_Sorting as Sorting, type context$1_SpecialHourPeriod as SpecialHourPeriod, context$1_State as State, type context$1_StreetAddress as StreetAddress, type context$1_StudioAssigned as StudioAssigned, type context$1_StudioUnassigned as StudioUnassigned, type context$1_SupportedLanguage as SupportedLanguage, type TableCombination$1 as TableCombination, type context$1_TableDefinition as TableDefinition, type context$1_TableManagement as TableManagement, type context$1_TablesDeleted as TablesDeleted, type context$1_TermsAndConditions as TermsAndConditions, type context$1_TermsAndConditionsValueOneOf as TermsAndConditionsValueOneOf, type context$1_TimePeriod as TimePeriod, type context$1_TransferredFromAnotherAccountReason as TransferredFromAnotherAccountReason, type context$1_TransferredToAnotherAccountReason as TransferredToAnotherAccountReason, type context$1_Translation as Translation, type context$1_TurnoverRule as TurnoverRule, type context$1_TurnoverTimeRule as TurnoverTimeRule, type context$1_URI as URI, type context$1_UnAssingedToFloatingReason as UnAssingedToFloatingReason, context$1_Unit as Unit, type context$1_UpdateReservationLocation as UpdateReservationLocation, type context$1_UpdateReservationLocationRequest as UpdateReservationLocationRequest, type context$1_UpdateReservationLocationResponse as UpdateReservationLocationResponse, type context$1_UpdateReservationLocationResponseNonNullableFields as UpdateReservationLocationResponseNonNullableFields, type context$1_V4SiteCreated as V4SiteCreated, context$1_WebhookIdentityType as WebhookIdentityType, type context$1__publicGetReservationLocationType as _publicGetReservationLocationType, type context$1__publicListReservationLocationsType as _publicListReservationLocationsType, type context$1__publicOnReservationLocationCreatedType as _publicOnReservationLocationCreatedType, type context$1__publicOnReservationLocationUpdatedType as _publicOnReservationLocationUpdatedType, type context$1__publicQueryReservationLocationsType as _publicQueryReservationLocationsType, type context$1__publicUpdateReservationLocationType as _publicUpdateReservationLocationType, context$1_getReservationLocation as getReservationLocation, context$1_listReservationLocations as listReservationLocations, context$1_onReservationLocationCreated as onReservationLocationCreated, context$1_onReservationLocationUpdated as onReservationLocationUpdated, onReservationLocationCreated$1 as publicOnReservationLocationCreated, onReservationLocationUpdated$1 as publicOnReservationLocationUpdated, context$1_queryReservationLocations as queryReservationLocations, context$1_updateReservationLocation as updateReservationLocation };
4014
4252
  }
4015
4253
 
4016
4254
  interface TimeSlot {
@@ -4223,8 +4461,37 @@ interface CheckTimeSlotOptions {
4223
4461
  excludeReservationId?: string | null;
4224
4462
  }
4225
4463
 
4226
- declare function getTimeSlots$1(httpClient: HttpClient): (reservationLocationId: string, date: Date, partySize: number | null, options?: GetTimeSlotsOptions) => Promise<GetTimeSlotsResponse & GetTimeSlotsResponseNonNullableFields>;
4227
- declare function checkTimeSlot$1(httpClient: HttpClient): (reservationLocationId: string, options?: CheckTimeSlotOptions) => Promise<CheckTimeSlotResponse & CheckTimeSlotResponseNonNullableFields>;
4464
+ declare function getTimeSlots$1(httpClient: HttpClient): GetTimeSlotsSignature;
4465
+ interface GetTimeSlotsSignature {
4466
+ /**
4467
+ * Returns a list of time slots at a given restaurant on a given `date`, and their availability for a given `partySize`.
4468
+ *
4469
+ * Without passing optional parameters, the list will contain a single time slot at the given `date`.
4470
+ * Use `slotsBefore` and `slotsAfter` to get additional time slots before and after the given `date`.
4471
+ *
4472
+ * If you do not provide a `duration`, the duration will be calculated automatically based on the reservation location's configuration.
4473
+ * The reservation location's settings used to determine the duration are its `defaultTurnoverTime` and `turnoverTimeRules`. These specify how much time should be allotted for a reservation of a party of a given size.
4474
+ *
4475
+ * The `startDate`s of time slots in the response are 15 minutes apart regardless of the `duration` provided.
4476
+ * @param - ID of the reservation location for which to retrieve time slots.
4477
+ * @param - Date and time for which to retrieve a time slot in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#coordinated_Universal_Time_(UTC)) format.
4478
+ * @param - Size of the party that needs to be seated during this time slot.
4479
+ *
4480
+ * Min: `1`
4481
+ * @param - Options for retrieving the time slots.
4482
+ */
4483
+ (reservationLocationId: string, date: Date, partySize: number | null, options?: GetTimeSlotsOptions | undefined): Promise<GetTimeSlotsResponse & GetTimeSlotsResponseNonNullableFields>;
4484
+ }
4485
+ declare function checkTimeSlot$1(httpClient: HttpClient): CheckTimeSlotSignature;
4486
+ interface CheckTimeSlotSignature {
4487
+ /**
4488
+ * Checks a restaurant's availability to accommodate a reservation for a given party size in a given time slot.
4489
+ *
4490
+ * This endpoint returns availability information for the restaurant's table combinations, and flags any party pacing or seat pacing conflicts that the proposed reservation would cause.
4491
+ * @param - ID of the reservation location for which to check the time slot.
4492
+ */
4493
+ (reservationLocationId: string, options?: CheckTimeSlotOptions | undefined): Promise<CheckTimeSlotResponse & CheckTimeSlotResponseNonNullableFields>;
4494
+ }
4228
4495
 
4229
4496
  declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
4230
4497