@wix/table-reservations 1.0.117 → 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.
|
|
3
|
+
"version": "1.0.118",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@wix/table-reservations_reservation-locations": "1.0.40",
|
|
22
|
-
"@wix/table-reservations_reservations": "1.0.
|
|
22
|
+
"@wix/table-reservations_reservations": "1.0.36",
|
|
23
23
|
"@wix/table-reservations_time-slots": "1.0.38"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"fqdn": ""
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
|
-
"falconPackageHash": "
|
|
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'. '
|
|
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'. '
|
|
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.
|
|
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$
|
|
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 {
|
|
@@ -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'. '
|
|
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'. '
|
|
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.
|
|
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$
|
|
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 {
|
|
@@ -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'. '
|
|
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'. '
|
|
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.
|
|
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'. '
|
|
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'. '
|
|
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.
|
|
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$
|
|
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 {
|