@wix/table-reservations 1.0.133 → 1.0.135
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.135",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"type-bundles"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@wix/table-reservations_reservation-locations": "1.0.
|
|
22
|
-
"@wix/table-reservations_reservations": "1.0.
|
|
21
|
+
"@wix/table-reservations_reservation-locations": "1.0.51",
|
|
22
|
+
"@wix/table-reservations_reservations": "1.0.46",
|
|
23
23
|
"@wix/table-reservations_time-slots": "1.0.42"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"fqdn": ""
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
|
-
"falconPackageHash": "
|
|
48
|
+
"falconPackageHash": "d3d3bfd37b219a73b61e36c45bbf45ca743a2ae6d45c2a76b2798992"
|
|
49
49
|
}
|
|
@@ -387,6 +387,18 @@ interface UpdateReservationResponse {
|
|
|
387
387
|
/** Reservation. */
|
|
388
388
|
reservation?: Reservation;
|
|
389
389
|
}
|
|
390
|
+
interface UpdateExtendedFieldsRequest$1 {
|
|
391
|
+
/** ID of the entity to update. */
|
|
392
|
+
_id: string;
|
|
393
|
+
/** Identifier for the app whose extended fields are being updated. */
|
|
394
|
+
namespace: string;
|
|
395
|
+
/** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */
|
|
396
|
+
namespaceData: Record<string, any> | null;
|
|
397
|
+
}
|
|
398
|
+
interface UpdateExtendedFieldsResponse$1 {
|
|
399
|
+
/** Updated reservation. */
|
|
400
|
+
reservation?: Reservation;
|
|
401
|
+
}
|
|
390
402
|
interface CreateHeldReservationRequest {
|
|
391
403
|
/** Held reservation information to update. */
|
|
392
404
|
reservationDetails: HeldReservationDetails;
|
|
@@ -1140,6 +1152,9 @@ interface GetReservationResponseNonNullableFields {
|
|
|
1140
1152
|
interface UpdateReservationResponseNonNullableFields {
|
|
1141
1153
|
reservation?: ReservationNonNullableFields;
|
|
1142
1154
|
}
|
|
1155
|
+
interface UpdateExtendedFieldsResponseNonNullableFields$1 {
|
|
1156
|
+
reservation?: ReservationNonNullableFields;
|
|
1157
|
+
}
|
|
1143
1158
|
interface CreateHeldReservationResponseNonNullableFields {
|
|
1144
1159
|
reservation?: ReservationNonNullableFields;
|
|
1145
1160
|
}
|
|
@@ -1393,6 +1408,10 @@ interface UpdateReservationOptions {
|
|
|
1393
1408
|
*/
|
|
1394
1409
|
ignoreReservationLocationConflicts?: Type$1[];
|
|
1395
1410
|
}
|
|
1411
|
+
interface UpdateExtendedFieldsOptions$1 {
|
|
1412
|
+
/** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */
|
|
1413
|
+
namespaceData: Record<string, any> | null;
|
|
1414
|
+
}
|
|
1396
1415
|
interface CancelReservationOptions {
|
|
1397
1416
|
/**
|
|
1398
1417
|
* The phone number that was provided when the reservation was created.
|
|
@@ -1548,6 +1567,15 @@ interface UpdateReservationSignature {
|
|
|
1548
1567
|
*/
|
|
1549
1568
|
(_id: string | null, reservation: UpdateReservation, options?: UpdateReservationOptions | undefined): Promise<Reservation & ReservationNonNullableFields>;
|
|
1550
1569
|
}
|
|
1570
|
+
declare function updateExtendedFields$3(httpClient: HttpClient): UpdateExtendedFieldsSignature$1;
|
|
1571
|
+
interface UpdateExtendedFieldsSignature$1 {
|
|
1572
|
+
/**
|
|
1573
|
+
* Updates extended fields of a reservation without incrementing revision
|
|
1574
|
+
* @param - ID of the entity to update.
|
|
1575
|
+
* @param - Identifier for the app whose extended fields are being updated.
|
|
1576
|
+
*/
|
|
1577
|
+
(_id: string, namespace: string, options: UpdateExtendedFieldsOptions$1): Promise<UpdateExtendedFieldsResponse$1 & UpdateExtendedFieldsResponseNonNullableFields$1>;
|
|
1578
|
+
}
|
|
1551
1579
|
declare function createHeldReservation$1(httpClient: HttpClient): CreateHeldReservationSignature;
|
|
1552
1580
|
interface CreateHeldReservationSignature {
|
|
1553
1581
|
/**
|
|
@@ -1654,6 +1682,7 @@ declare function createEventModule$1<T extends EventDefinition<any, string>>(eve
|
|
|
1654
1682
|
declare const createReservation: BuildRESTFunction<typeof createReservation$1> & typeof createReservation$1;
|
|
1655
1683
|
declare const getReservation: BuildRESTFunction<typeof getReservation$1> & typeof getReservation$1;
|
|
1656
1684
|
declare const updateReservation: BuildRESTFunction<typeof updateReservation$1> & typeof updateReservation$1;
|
|
1685
|
+
declare const updateExtendedFields$2: BuildRESTFunction<typeof updateExtendedFields$3> & typeof updateExtendedFields$3;
|
|
1657
1686
|
declare const createHeldReservation: BuildRESTFunction<typeof createHeldReservation$1> & typeof createHeldReservation$1;
|
|
1658
1687
|
declare const reserveReservation: BuildRESTFunction<typeof reserveReservation$1> & typeof reserveReservation$1;
|
|
1659
1688
|
declare const cancelReservation: BuildRESTFunction<typeof cancelReservation$1> & typeof cancelReservation$1;
|
|
@@ -1816,7 +1845,7 @@ declare const context$2_reserveReservation: typeof reserveReservation;
|
|
|
1816
1845
|
declare const context$2_searchReservations: typeof searchReservations;
|
|
1817
1846
|
declare const context$2_updateReservation: typeof updateReservation;
|
|
1818
1847
|
declare namespace context$2 {
|
|
1819
|
-
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_ReservationDelayedDomainEvent as ReservationDelayedDomainEvent, type context$2_ReservationDelayedDomainEventBodyTypeOneOf as ReservationDelayedDomainEventBodyTypeOneOf, type context$2_ReservationDelayedDomainEventReservationCanceled as ReservationDelayedDomainEventReservationCanceled, type context$2_ReservationDeletedEnvelope as ReservationDeletedEnvelope, 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_ReservationUpdatedEnvelope as ReservationUpdatedEnvelope, 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 context$2_Tables as Tables, 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__publicOnReservationCreatedType as _publicOnReservationCreatedType, type context$2__publicOnReservationDeletedType as _publicOnReservationDeletedType, type context$2__publicOnReservationUpdatedType as _publicOnReservationUpdatedType, 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, context$2_onReservationDeleted as onReservationDeleted, context$2_onReservationUpdated as onReservationUpdated, onReservationCreated$1 as publicOnReservationCreated, onReservationDeleted$1 as publicOnReservationDeleted, onReservationUpdated$1 as publicOnReservationUpdated, context$2_queryReservations as queryReservations, context$2_reserveReservation as reserveReservation, context$2_searchReservations as searchReservations, context$2_updateReservation as updateReservation };
|
|
1848
|
+
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_ReservationDelayedDomainEvent as ReservationDelayedDomainEvent, type context$2_ReservationDelayedDomainEventBodyTypeOneOf as ReservationDelayedDomainEventBodyTypeOneOf, type context$2_ReservationDelayedDomainEventReservationCanceled as ReservationDelayedDomainEventReservationCanceled, type context$2_ReservationDeletedEnvelope as ReservationDeletedEnvelope, 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_ReservationUpdatedEnvelope as ReservationUpdatedEnvelope, 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 context$2_Tables as Tables, Type$1 as Type, type UpdateExtendedFieldsOptions$1 as UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest$1 as UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse$1 as UpdateExtendedFieldsResponse, type UpdateExtendedFieldsResponseNonNullableFields$1 as UpdateExtendedFieldsResponseNonNullableFields, 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__publicOnReservationCreatedType as _publicOnReservationCreatedType, type context$2__publicOnReservationDeletedType as _publicOnReservationDeletedType, type context$2__publicOnReservationUpdatedType as _publicOnReservationUpdatedType, 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, context$2_onReservationDeleted as onReservationDeleted, context$2_onReservationUpdated as onReservationUpdated, onReservationCreated$1 as publicOnReservationCreated, onReservationDeleted$1 as publicOnReservationDeleted, onReservationUpdated$1 as publicOnReservationUpdated, context$2_queryReservations as queryReservations, context$2_reserveReservation as reserveReservation, context$2_searchReservations as searchReservations, updateExtendedFields$2 as updateExtendedFields, context$2_updateReservation as updateReservation };
|
|
1820
1849
|
}
|
|
1821
1850
|
|
|
1822
1851
|
interface ReservationLocation {
|
|
@@ -2449,6 +2478,18 @@ interface TablesDeleted {
|
|
|
2449
2478
|
/** IDs of deleted tables. */
|
|
2450
2479
|
tableIds?: string[];
|
|
2451
2480
|
}
|
|
2481
|
+
interface UpdateExtendedFieldsRequest {
|
|
2482
|
+
/** ID of the entity to update. */
|
|
2483
|
+
_id: string;
|
|
2484
|
+
/** Identifier for the app whose extended fields are being updated. */
|
|
2485
|
+
namespace: string;
|
|
2486
|
+
/** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */
|
|
2487
|
+
namespaceData: Record<string, any> | null;
|
|
2488
|
+
}
|
|
2489
|
+
interface UpdateExtendedFieldsResponse {
|
|
2490
|
+
/** Updated reservation location. */
|
|
2491
|
+
reservationLocation?: ReservationLocation;
|
|
2492
|
+
}
|
|
2452
2493
|
interface QueryReservationLocationsRequest {
|
|
2453
2494
|
/** Query options. */
|
|
2454
2495
|
query: QueryV2;
|
|
@@ -3889,6 +3930,9 @@ interface GetReservationLocationResponseNonNullableFields {
|
|
|
3889
3930
|
interface UpdateReservationLocationResponseNonNullableFields {
|
|
3890
3931
|
reservationLocation?: ReservationLocationNonNullableFields;
|
|
3891
3932
|
}
|
|
3933
|
+
interface UpdateExtendedFieldsResponseNonNullableFields {
|
|
3934
|
+
reservationLocation?: ReservationLocationNonNullableFields;
|
|
3935
|
+
}
|
|
3892
3936
|
interface QueryReservationLocationsResponseNonNullableFields {
|
|
3893
3937
|
reservationLocations: ReservationLocationNonNullableFields[];
|
|
3894
3938
|
}
|
|
@@ -4008,6 +4052,10 @@ interface UpdateReservationLocation {
|
|
|
4008
4052
|
*/
|
|
4009
4053
|
extendedFields?: ExtendedFields;
|
|
4010
4054
|
}
|
|
4055
|
+
interface UpdateExtendedFieldsOptions {
|
|
4056
|
+
/** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */
|
|
4057
|
+
namespaceData: Record<string, any> | null;
|
|
4058
|
+
}
|
|
4011
4059
|
interface QueryReservationLocationsOptions {
|
|
4012
4060
|
/**
|
|
4013
4061
|
* Array of named, predefined sets of projected fields to be returned.
|
|
@@ -4104,6 +4152,15 @@ interface UpdateReservationLocationSignature {
|
|
|
4104
4152
|
*/
|
|
4105
4153
|
(_id: string | null, reservationLocation: UpdateReservationLocation): Promise<ReservationLocation & ReservationLocationNonNullableFields>;
|
|
4106
4154
|
}
|
|
4155
|
+
declare function updateExtendedFields$1(httpClient: HttpClient): UpdateExtendedFieldsSignature;
|
|
4156
|
+
interface UpdateExtendedFieldsSignature {
|
|
4157
|
+
/**
|
|
4158
|
+
* Updates extended fields of a reservation location without incrementing revision
|
|
4159
|
+
* @param - ID of the entity to update.
|
|
4160
|
+
* @param - Identifier for the app whose extended fields are being updated.
|
|
4161
|
+
*/
|
|
4162
|
+
(_id: string, namespace: string, options: UpdateExtendedFieldsOptions): Promise<UpdateExtendedFieldsResponse & UpdateExtendedFieldsResponseNonNullableFields>;
|
|
4163
|
+
}
|
|
4107
4164
|
declare function queryReservationLocations$1(httpClient: HttpClient): QueryReservationLocationsSignature;
|
|
4108
4165
|
interface QueryReservationLocationsSignature {
|
|
4109
4166
|
/**
|
|
@@ -4144,6 +4201,7 @@ declare function createEventModule<T extends EventDefinition<any, string>>(event
|
|
|
4144
4201
|
|
|
4145
4202
|
declare const getReservationLocation: BuildRESTFunction<typeof getReservationLocation$1> & typeof getReservationLocation$1;
|
|
4146
4203
|
declare const updateReservationLocation: BuildRESTFunction<typeof updateReservationLocation$1> & typeof updateReservationLocation$1;
|
|
4204
|
+
declare const updateExtendedFields: BuildRESTFunction<typeof updateExtendedFields$1> & typeof updateExtendedFields$1;
|
|
4147
4205
|
declare const queryReservationLocations: BuildRESTFunction<typeof queryReservationLocations$1> & typeof queryReservationLocations$1;
|
|
4148
4206
|
declare const listReservationLocations: BuildRESTFunction<typeof listReservationLocations$1> & typeof listReservationLocations$1;
|
|
4149
4207
|
|
|
@@ -4355,6 +4413,10 @@ type context$1_URI = URI;
|
|
|
4355
4413
|
type context$1_UnAssingedToFloatingReason = UnAssingedToFloatingReason;
|
|
4356
4414
|
type context$1_Unit = Unit;
|
|
4357
4415
|
declare const context$1_Unit: typeof Unit;
|
|
4416
|
+
type context$1_UpdateExtendedFieldsOptions = UpdateExtendedFieldsOptions;
|
|
4417
|
+
type context$1_UpdateExtendedFieldsRequest = UpdateExtendedFieldsRequest;
|
|
4418
|
+
type context$1_UpdateExtendedFieldsResponse = UpdateExtendedFieldsResponse;
|
|
4419
|
+
type context$1_UpdateExtendedFieldsResponseNonNullableFields = UpdateExtendedFieldsResponseNonNullableFields;
|
|
4358
4420
|
type context$1_UpdateReservationLocation = UpdateReservationLocation;
|
|
4359
4421
|
type context$1_UpdateReservationLocationRequest = UpdateReservationLocationRequest;
|
|
4360
4422
|
type context$1_UpdateReservationLocationResponse = UpdateReservationLocationResponse;
|
|
@@ -4369,9 +4431,10 @@ declare const context$1_listReservationLocations: typeof listReservationLocation
|
|
|
4369
4431
|
declare const context$1_onReservationLocationCreated: typeof onReservationLocationCreated;
|
|
4370
4432
|
declare const context$1_onReservationLocationUpdated: typeof onReservationLocationUpdated;
|
|
4371
4433
|
declare const context$1_queryReservationLocations: typeof queryReservationLocations;
|
|
4434
|
+
declare const context$1_updateExtendedFields: typeof updateExtendedFields;
|
|
4372
4435
|
declare const context$1_updateReservationLocation: typeof updateReservationLocation;
|
|
4373
4436
|
declare namespace context$1 {
|
|
4374
|
-
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_Approval as Approval, context$1_ApprovalMode as ApprovalMode, type context$1_ApprovalOptionsOneOf as ApprovalOptionsOneOf, 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_ManualForLargePartiesOptions as ManualForLargePartiesOptions, 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_OnOptions as OnOptions, 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_Settings as Settings, context$1_SettingsMode as SettingsMode, type context$1_SettingsOptionsOneOf as SettingsOptionsOneOf, 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__publicOnReservationLocationCreatedType as _publicOnReservationLocationCreatedType, type context$1__publicOnReservationLocationUpdatedType as _publicOnReservationLocationUpdatedType, 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 };
|
|
4437
|
+
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_Approval as Approval, context$1_ApprovalMode as ApprovalMode, type context$1_ApprovalOptionsOneOf as ApprovalOptionsOneOf, 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_ManualForLargePartiesOptions as ManualForLargePartiesOptions, 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_OnOptions as OnOptions, 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_Settings as Settings, context$1_SettingsMode as SettingsMode, type context$1_SettingsOptionsOneOf as SettingsOptionsOneOf, 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_UpdateExtendedFieldsOptions as UpdateExtendedFieldsOptions, type context$1_UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequest, type context$1_UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponse, type context$1_UpdateExtendedFieldsResponseNonNullableFields as UpdateExtendedFieldsResponseNonNullableFields, 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__publicOnReservationLocationCreatedType as _publicOnReservationLocationCreatedType, type context$1__publicOnReservationLocationUpdatedType as _publicOnReservationLocationUpdatedType, 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_updateExtendedFields as updateExtendedFields, context$1_updateReservationLocation as updateReservationLocation };
|
|
4375
4438
|
}
|
|
4376
4439
|
|
|
4377
4440
|
interface TimeSlot {
|
|
@@ -387,6 +387,18 @@ interface UpdateReservationResponse {
|
|
|
387
387
|
/** Reservation. */
|
|
388
388
|
reservation?: Reservation;
|
|
389
389
|
}
|
|
390
|
+
interface UpdateExtendedFieldsRequest$1 {
|
|
391
|
+
/** ID of the entity to update. */
|
|
392
|
+
_id: string;
|
|
393
|
+
/** Identifier for the app whose extended fields are being updated. */
|
|
394
|
+
namespace: string;
|
|
395
|
+
/** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */
|
|
396
|
+
namespaceData: Record<string, any> | null;
|
|
397
|
+
}
|
|
398
|
+
interface UpdateExtendedFieldsResponse$1 {
|
|
399
|
+
/** Updated reservation. */
|
|
400
|
+
reservation?: Reservation;
|
|
401
|
+
}
|
|
390
402
|
interface CreateHeldReservationRequest {
|
|
391
403
|
/** Held reservation information to update. */
|
|
392
404
|
reservationDetails: HeldReservationDetails;
|
|
@@ -1140,6 +1152,9 @@ interface GetReservationResponseNonNullableFields {
|
|
|
1140
1152
|
interface UpdateReservationResponseNonNullableFields {
|
|
1141
1153
|
reservation?: ReservationNonNullableFields;
|
|
1142
1154
|
}
|
|
1155
|
+
interface UpdateExtendedFieldsResponseNonNullableFields$1 {
|
|
1156
|
+
reservation?: ReservationNonNullableFields;
|
|
1157
|
+
}
|
|
1143
1158
|
interface CreateHeldReservationResponseNonNullableFields {
|
|
1144
1159
|
reservation?: ReservationNonNullableFields;
|
|
1145
1160
|
}
|
|
@@ -1393,6 +1408,10 @@ interface UpdateReservationOptions {
|
|
|
1393
1408
|
*/
|
|
1394
1409
|
ignoreReservationLocationConflicts?: Type$1[];
|
|
1395
1410
|
}
|
|
1411
|
+
interface UpdateExtendedFieldsOptions$1 {
|
|
1412
|
+
/** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */
|
|
1413
|
+
namespaceData: Record<string, any> | null;
|
|
1414
|
+
}
|
|
1396
1415
|
interface CancelReservationOptions {
|
|
1397
1416
|
/**
|
|
1398
1417
|
* The phone number that was provided when the reservation was created.
|
|
@@ -1548,6 +1567,15 @@ interface UpdateReservationSignature {
|
|
|
1548
1567
|
*/
|
|
1549
1568
|
(_id: string | null, reservation: UpdateReservation, options?: UpdateReservationOptions | undefined): Promise<Reservation & ReservationNonNullableFields>;
|
|
1550
1569
|
}
|
|
1570
|
+
declare function updateExtendedFields$3(httpClient: HttpClient): UpdateExtendedFieldsSignature$1;
|
|
1571
|
+
interface UpdateExtendedFieldsSignature$1 {
|
|
1572
|
+
/**
|
|
1573
|
+
* Updates extended fields of a reservation without incrementing revision
|
|
1574
|
+
* @param - ID of the entity to update.
|
|
1575
|
+
* @param - Identifier for the app whose extended fields are being updated.
|
|
1576
|
+
*/
|
|
1577
|
+
(_id: string, namespace: string, options: UpdateExtendedFieldsOptions$1): Promise<UpdateExtendedFieldsResponse$1 & UpdateExtendedFieldsResponseNonNullableFields$1>;
|
|
1578
|
+
}
|
|
1551
1579
|
declare function createHeldReservation$1(httpClient: HttpClient): CreateHeldReservationSignature;
|
|
1552
1580
|
interface CreateHeldReservationSignature {
|
|
1553
1581
|
/**
|
|
@@ -1654,6 +1682,7 @@ declare function createEventModule$1<T extends EventDefinition<any, string>>(eve
|
|
|
1654
1682
|
declare const createReservation: BuildRESTFunction<typeof createReservation$1> & typeof createReservation$1;
|
|
1655
1683
|
declare const getReservation: BuildRESTFunction<typeof getReservation$1> & typeof getReservation$1;
|
|
1656
1684
|
declare const updateReservation: BuildRESTFunction<typeof updateReservation$1> & typeof updateReservation$1;
|
|
1685
|
+
declare const updateExtendedFields$2: BuildRESTFunction<typeof updateExtendedFields$3> & typeof updateExtendedFields$3;
|
|
1657
1686
|
declare const createHeldReservation: BuildRESTFunction<typeof createHeldReservation$1> & typeof createHeldReservation$1;
|
|
1658
1687
|
declare const reserveReservation: BuildRESTFunction<typeof reserveReservation$1> & typeof reserveReservation$1;
|
|
1659
1688
|
declare const cancelReservation: BuildRESTFunction<typeof cancelReservation$1> & typeof cancelReservation$1;
|
|
@@ -1816,7 +1845,7 @@ declare const index_d$2_reserveReservation: typeof reserveReservation;
|
|
|
1816
1845
|
declare const index_d$2_searchReservations: typeof searchReservations;
|
|
1817
1846
|
declare const index_d$2_updateReservation: typeof updateReservation;
|
|
1818
1847
|
declare namespace index_d$2 {
|
|
1819
|
-
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 ExtendedFields$1 as ExtendedFields, 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_ReservationDelayedDomainEvent as ReservationDelayedDomainEvent, type index_d$2_ReservationDelayedDomainEventBodyTypeOneOf as ReservationDelayedDomainEventBodyTypeOneOf, type index_d$2_ReservationDelayedDomainEventReservationCanceled as ReservationDelayedDomainEventReservationCanceled, type index_d$2_ReservationDeletedEnvelope as ReservationDeletedEnvelope, 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_ReservationUpdatedEnvelope as ReservationUpdatedEnvelope, 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 index_d$2_Tables as Tables, 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__publicOnReservationCreatedType as _publicOnReservationCreatedType, type index_d$2__publicOnReservationDeletedType as _publicOnReservationDeletedType, type index_d$2__publicOnReservationUpdatedType as _publicOnReservationUpdatedType, 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, index_d$2_onReservationDeleted as onReservationDeleted, index_d$2_onReservationUpdated as onReservationUpdated, onReservationCreated$1 as publicOnReservationCreated, onReservationDeleted$1 as publicOnReservationDeleted, onReservationUpdated$1 as publicOnReservationUpdated, index_d$2_queryReservations as queryReservations, index_d$2_reserveReservation as reserveReservation, index_d$2_searchReservations as searchReservations, index_d$2_updateReservation as updateReservation };
|
|
1848
|
+
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 ExtendedFields$1 as ExtendedFields, 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_ReservationDelayedDomainEvent as ReservationDelayedDomainEvent, type index_d$2_ReservationDelayedDomainEventBodyTypeOneOf as ReservationDelayedDomainEventBodyTypeOneOf, type index_d$2_ReservationDelayedDomainEventReservationCanceled as ReservationDelayedDomainEventReservationCanceled, type index_d$2_ReservationDeletedEnvelope as ReservationDeletedEnvelope, 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_ReservationUpdatedEnvelope as ReservationUpdatedEnvelope, 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 index_d$2_Tables as Tables, Type$1 as Type, type UpdateExtendedFieldsOptions$1 as UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest$1 as UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse$1 as UpdateExtendedFieldsResponse, type UpdateExtendedFieldsResponseNonNullableFields$1 as UpdateExtendedFieldsResponseNonNullableFields, 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__publicOnReservationCreatedType as _publicOnReservationCreatedType, type index_d$2__publicOnReservationDeletedType as _publicOnReservationDeletedType, type index_d$2__publicOnReservationUpdatedType as _publicOnReservationUpdatedType, 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, index_d$2_onReservationDeleted as onReservationDeleted, index_d$2_onReservationUpdated as onReservationUpdated, onReservationCreated$1 as publicOnReservationCreated, onReservationDeleted$1 as publicOnReservationDeleted, onReservationUpdated$1 as publicOnReservationUpdated, index_d$2_queryReservations as queryReservations, index_d$2_reserveReservation as reserveReservation, index_d$2_searchReservations as searchReservations, updateExtendedFields$2 as updateExtendedFields, index_d$2_updateReservation as updateReservation };
|
|
1820
1849
|
}
|
|
1821
1850
|
|
|
1822
1851
|
interface ReservationLocation {
|
|
@@ -2449,6 +2478,18 @@ interface TablesDeleted {
|
|
|
2449
2478
|
/** IDs of deleted tables. */
|
|
2450
2479
|
tableIds?: string[];
|
|
2451
2480
|
}
|
|
2481
|
+
interface UpdateExtendedFieldsRequest {
|
|
2482
|
+
/** ID of the entity to update. */
|
|
2483
|
+
_id: string;
|
|
2484
|
+
/** Identifier for the app whose extended fields are being updated. */
|
|
2485
|
+
namespace: string;
|
|
2486
|
+
/** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */
|
|
2487
|
+
namespaceData: Record<string, any> | null;
|
|
2488
|
+
}
|
|
2489
|
+
interface UpdateExtendedFieldsResponse {
|
|
2490
|
+
/** Updated reservation location. */
|
|
2491
|
+
reservationLocation?: ReservationLocation;
|
|
2492
|
+
}
|
|
2452
2493
|
interface QueryReservationLocationsRequest {
|
|
2453
2494
|
/** Query options. */
|
|
2454
2495
|
query: QueryV2;
|
|
@@ -3889,6 +3930,9 @@ interface GetReservationLocationResponseNonNullableFields {
|
|
|
3889
3930
|
interface UpdateReservationLocationResponseNonNullableFields {
|
|
3890
3931
|
reservationLocation?: ReservationLocationNonNullableFields;
|
|
3891
3932
|
}
|
|
3933
|
+
interface UpdateExtendedFieldsResponseNonNullableFields {
|
|
3934
|
+
reservationLocation?: ReservationLocationNonNullableFields;
|
|
3935
|
+
}
|
|
3892
3936
|
interface QueryReservationLocationsResponseNonNullableFields {
|
|
3893
3937
|
reservationLocations: ReservationLocationNonNullableFields[];
|
|
3894
3938
|
}
|
|
@@ -4008,6 +4052,10 @@ interface UpdateReservationLocation {
|
|
|
4008
4052
|
*/
|
|
4009
4053
|
extendedFields?: ExtendedFields;
|
|
4010
4054
|
}
|
|
4055
|
+
interface UpdateExtendedFieldsOptions {
|
|
4056
|
+
/** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */
|
|
4057
|
+
namespaceData: Record<string, any> | null;
|
|
4058
|
+
}
|
|
4011
4059
|
interface QueryReservationLocationsOptions {
|
|
4012
4060
|
/**
|
|
4013
4061
|
* Array of named, predefined sets of projected fields to be returned.
|
|
@@ -4104,6 +4152,15 @@ interface UpdateReservationLocationSignature {
|
|
|
4104
4152
|
*/
|
|
4105
4153
|
(_id: string | null, reservationLocation: UpdateReservationLocation): Promise<ReservationLocation & ReservationLocationNonNullableFields>;
|
|
4106
4154
|
}
|
|
4155
|
+
declare function updateExtendedFields$1(httpClient: HttpClient): UpdateExtendedFieldsSignature;
|
|
4156
|
+
interface UpdateExtendedFieldsSignature {
|
|
4157
|
+
/**
|
|
4158
|
+
* Updates extended fields of a reservation location without incrementing revision
|
|
4159
|
+
* @param - ID of the entity to update.
|
|
4160
|
+
* @param - Identifier for the app whose extended fields are being updated.
|
|
4161
|
+
*/
|
|
4162
|
+
(_id: string, namespace: string, options: UpdateExtendedFieldsOptions): Promise<UpdateExtendedFieldsResponse & UpdateExtendedFieldsResponseNonNullableFields>;
|
|
4163
|
+
}
|
|
4107
4164
|
declare function queryReservationLocations$1(httpClient: HttpClient): QueryReservationLocationsSignature;
|
|
4108
4165
|
interface QueryReservationLocationsSignature {
|
|
4109
4166
|
/**
|
|
@@ -4144,6 +4201,7 @@ declare function createEventModule<T extends EventDefinition<any, string>>(event
|
|
|
4144
4201
|
|
|
4145
4202
|
declare const getReservationLocation: BuildRESTFunction<typeof getReservationLocation$1> & typeof getReservationLocation$1;
|
|
4146
4203
|
declare const updateReservationLocation: BuildRESTFunction<typeof updateReservationLocation$1> & typeof updateReservationLocation$1;
|
|
4204
|
+
declare const updateExtendedFields: BuildRESTFunction<typeof updateExtendedFields$1> & typeof updateExtendedFields$1;
|
|
4147
4205
|
declare const queryReservationLocations: BuildRESTFunction<typeof queryReservationLocations$1> & typeof queryReservationLocations$1;
|
|
4148
4206
|
declare const listReservationLocations: BuildRESTFunction<typeof listReservationLocations$1> & typeof listReservationLocations$1;
|
|
4149
4207
|
|
|
@@ -4355,6 +4413,10 @@ type index_d$1_URI = URI;
|
|
|
4355
4413
|
type index_d$1_UnAssingedToFloatingReason = UnAssingedToFloatingReason;
|
|
4356
4414
|
type index_d$1_Unit = Unit;
|
|
4357
4415
|
declare const index_d$1_Unit: typeof Unit;
|
|
4416
|
+
type index_d$1_UpdateExtendedFieldsOptions = UpdateExtendedFieldsOptions;
|
|
4417
|
+
type index_d$1_UpdateExtendedFieldsRequest = UpdateExtendedFieldsRequest;
|
|
4418
|
+
type index_d$1_UpdateExtendedFieldsResponse = UpdateExtendedFieldsResponse;
|
|
4419
|
+
type index_d$1_UpdateExtendedFieldsResponseNonNullableFields = UpdateExtendedFieldsResponseNonNullableFields;
|
|
4358
4420
|
type index_d$1_UpdateReservationLocation = UpdateReservationLocation;
|
|
4359
4421
|
type index_d$1_UpdateReservationLocationRequest = UpdateReservationLocationRequest;
|
|
4360
4422
|
type index_d$1_UpdateReservationLocationResponse = UpdateReservationLocationResponse;
|
|
@@ -4369,9 +4431,10 @@ declare const index_d$1_listReservationLocations: typeof listReservationLocation
|
|
|
4369
4431
|
declare const index_d$1_onReservationLocationCreated: typeof onReservationLocationCreated;
|
|
4370
4432
|
declare const index_d$1_onReservationLocationUpdated: typeof onReservationLocationUpdated;
|
|
4371
4433
|
declare const index_d$1_queryReservationLocations: typeof queryReservationLocations;
|
|
4434
|
+
declare const index_d$1_updateExtendedFields: typeof updateExtendedFields;
|
|
4372
4435
|
declare const index_d$1_updateReservationLocation: typeof updateReservationLocation;
|
|
4373
4436
|
declare namespace index_d$1 {
|
|
4374
|
-
export { type index_d$1_ActionEvent as ActionEvent, type index_d$1_Address as Address, type index_d$1_AddressHint as AddressHint, type index_d$1_AddressLocation as AddressLocation, type index_d$1_App as App, type index_d$1_Approval as Approval, index_d$1_ApprovalMode as ApprovalMode, type index_d$1_ApprovalOptionsOneOf as ApprovalOptionsOneOf, type index_d$1_Asset as Asset, type index_d$1_AssignedFromFloatingReason as AssignedFromFloatingReason, type index_d$1_BaseEventMetadata as BaseEventMetadata, type index_d$1_BooleanFeature as BooleanFeature, type index_d$1_BusinessSchedule as BusinessSchedule, type index_d$1_CancelRequestedReason as CancelRequestedReason, type index_d$1_Categories as Categories, type index_d$1_ChangeContext as ChangeContext, type index_d$1_ChangeContextPayloadOneOf as ChangeContextPayloadOneOf, type index_d$1_CheckReservationLocationsCreatedRequest as CheckReservationLocationsCreatedRequest, type index_d$1_CheckReservationLocationsCreatedResponse as CheckReservationLocationsCreatedResponse, type index_d$1_CommonBusinessSchedule as CommonBusinessSchedule, index_d$1_CommonDayOfWeek as CommonDayOfWeek, type index_d$1_CommonSpecialHourPeriod as CommonSpecialHourPeriod, type index_d$1_CommonTimePeriod as CommonTimePeriod, type index_d$1_Configuration as Configuration, type index_d$1_ConsentPolicy as ConsentPolicy, type index_d$1_ContractSwitchedReason as ContractSwitchedReason, type index_d$1_CursorPaging as CursorPaging, type index_d$1_CursorPagingMetadata as CursorPagingMetadata, type index_d$1_Cursors as Cursors, type index_d$1_CustomFieldDefinition as CustomFieldDefinition, index_d$1_DayOfWeek as DayOfWeek, type index_d$1_DeleteContext as DeleteContext, type index_d$1_DeleteOrphanReservationLocationRequest as DeleteOrphanReservationLocationRequest, type index_d$1_DeleteOrphanReservationLocationResponse as DeleteOrphanReservationLocationResponse, index_d$1_DeleteStatus as DeleteStatus, type index_d$1_DomainEvent as DomainEvent, type index_d$1_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d$1_EmailMarketingCheckbox as EmailMarketingCheckbox, type index_d$1_Empty as Empty, type index_d$1_EntityCreatedEvent as EntityCreatedEvent, type index_d$1_EntityDeletedEvent as EntityDeletedEvent, type index_d$1_EntityUpdatedEvent as EntityUpdatedEvent, type index_d$1_EventMetadata as EventMetadata, type index_d$1_ExtendedFields as ExtendedFields, type index_d$1_Feature as Feature, type index_d$1_FeatureCancelled as FeatureCancelled, type index_d$1_FeatureCancelledReasonOneOf as FeatureCancelledReasonOneOf, type index_d$1_FeatureContext as FeatureContext, type index_d$1_FeatureDisabled as FeatureDisabled, type index_d$1_FeatureDisabledReasonOneOf as FeatureDisabledReasonOneOf, type index_d$1_FeatureEnabled as FeatureEnabled, type index_d$1_FeatureEnabledReasonOneOf as FeatureEnabledReasonOneOf, type index_d$1_FeatureEvent as FeatureEvent, type index_d$1_FeatureEventEventOneOf as FeatureEventEventOneOf, index_d$1_FeaturePeriod as FeaturePeriod, type index_d$1_FeatureQuantityInfoOneOf as FeatureQuantityInfoOneOf, type index_d$1_FeatureUpdated as FeatureUpdated, type index_d$1_FeatureUpdatedPreviousQuantityInfoOneOf as FeatureUpdatedPreviousQuantityInfoOneOf, type index_d$1_FeatureUpdatedReasonOneOf as FeatureUpdatedReasonOneOf, index_d$1_FieldType as FieldType, type index_d$1_File as File, type index_d$1_GeoCoordinates as GeoCoordinates, type index_d$1_GetReservationLocationOptions as GetReservationLocationOptions, type index_d$1_GetReservationLocationRequest as GetReservationLocationRequest, type index_d$1_GetReservationLocationResponse as GetReservationLocationResponse, type index_d$1_GetReservationLocationResponseNonNullableFields as GetReservationLocationResponseNonNullableFields, type index_d$1_IdentificationData as IdentificationData, type index_d$1_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d$1_InvalidateCache as InvalidateCache, type index_d$1_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type index_d$1_ListReservationLocationsOptions as ListReservationLocationsOptions, type index_d$1_ListReservationLocationsRequest as ListReservationLocationsRequest, type index_d$1_ListReservationLocationsResponse as ListReservationLocationsResponse, type index_d$1_ListReservationLocationsResponseNonNullableFields as ListReservationLocationsResponseNonNullableFields, type index_d$1_Locale as Locale, type index_d$1_Location as Location, type index_d$1_LocationAddress as LocationAddress, type index_d$1_ManualApproval as ManualApproval, type index_d$1_ManualApprovalValueOneOf as ManualApprovalValueOneOf, type index_d$1_ManualFeatureCreationReason as ManualFeatureCreationReason, type index_d$1_ManualForLargePartiesOptions as ManualForLargePartiesOptions, type index_d$1_MessageEnvelope as MessageEnvelope, type index_d$1_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d$1_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, type index_d$1_MigrateOldRestaurantSettingsRequest as MigrateOldRestaurantSettingsRequest, type index_d$1_MigrateOldRestaurantSettingsResponse as MigrateOldRestaurantSettingsResponse, type index_d$1_MigratedFromLegacyReason as MigratedFromLegacyReason, type index_d$1_MigrationParsingError as MigrationParsingError, type index_d$1_MigrationResult as MigrationResult, index_d$1_Mode as Mode, type index_d$1_Multilingual as Multilingual, type index_d$1_MyReservationsField as MyReservationsField, index_d$1_Namespace as Namespace, type index_d$1_NamespaceChanged as NamespaceChanged, type index_d$1_NewFeatureReason as NewFeatureReason, type index_d$1_NoticePeriod as NoticePeriod, type index_d$1_OldCustomField as OldCustomField, type index_d$1_OldInstant as OldInstant, type index_d$1_OldPolicy as OldPolicy, type index_d$1_OldScheduleException as OldScheduleException, type index_d$1_OldScheduleInterval as OldScheduleInterval, type index_d$1_OldTerms as OldTerms, type index_d$1_OnOptions as OnOptions, type index_d$1_OnlineReservations as OnlineReservations, type index_d$1_Page as Page, type index_d$1_Paging as Paging, type index_d$1_PagingMetadataV2 as PagingMetadataV2, type index_d$1_ParsedSettings as ParsedSettings, type index_d$1_PartiesSize as PartiesSize, type index_d$1_PartyPacing as PartyPacing, type index_d$1_PartySize as PartySize, index_d$1_PlacementType as PlacementType, type index_d$1_PrivacyPolicy as PrivacyPolicy, type index_d$1_PrivacyPolicyValueOneOf as PrivacyPolicyValueOneOf, type index_d$1_Properties as Properties, type index_d$1_PropertiesChange as PropertiesChange, type index_d$1_QueryReservationLocationsOptions as QueryReservationLocationsOptions, type index_d$1_QueryReservationLocationsRequest as QueryReservationLocationsRequest, type index_d$1_QueryReservationLocationsResponse as QueryReservationLocationsResponse, type index_d$1_QueryReservationLocationsResponseNonNullableFields as QueryReservationLocationsResponseNonNullableFields, type index_d$1_QueryV2 as QueryV2, type index_d$1_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d$1_QuotaFeature as QuotaFeature, type index_d$1_QuotaInfo as QuotaInfo, type index_d$1_ReassignedFromSiteReason as ReassignedFromSiteReason, type index_d$1_ReassignedToAnotherSiteReason as ReassignedToAnotherSiteReason, type index_d$1_ReplacedByAnotherSubscriptionReason as ReplacedByAnotherSubscriptionReason, type index_d$1_ReservationForm as ReservationForm, type index_d$1_ReservationLocation as ReservationLocation, type index_d$1_ReservationLocationCreatedEnvelope as ReservationLocationCreatedEnvelope, type index_d$1_ReservationLocationNonNullableFields as ReservationLocationNonNullableFields, type index_d$1_ReservationLocationUpdatedEnvelope as ReservationLocationUpdatedEnvelope, type index_d$1_ReservationLocationsQueryBuilder as ReservationLocationsQueryBuilder, type index_d$1_ReservationLocationsQueryResult as ReservationLocationsQueryResult, type index_d$1_ReservationPayment as ReservationPayment, index_d$1_ResolutionMethod as ResolutionMethod, type index_d$1_RestoreInfo as RestoreInfo, type index_d$1_SeatPacing as SeatPacing, type index_d$1_ServiceProvisioned as ServiceProvisioned, type index_d$1_ServiceRemoved as ServiceRemoved, index_d$1_Set as Set, type index_d$1_Settings as Settings, index_d$1_SettingsMode as SettingsMode, type index_d$1_SettingsOptionsOneOf as SettingsOptionsOneOf, type index_d$1_SiteCloned as SiteCloned, type index_d$1_SiteCreated as SiteCreated, index_d$1_SiteCreatedContext as SiteCreatedContext, type index_d$1_SiteDeleted as SiteDeleted, type index_d$1_SiteHardDeleted as SiteHardDeleted, type index_d$1_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d$1_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d$1_SitePropertiesEvent as SitePropertiesEvent, type index_d$1_SitePropertiesNotification as SitePropertiesNotification, type index_d$1_SitePublished as SitePublished, type index_d$1_SiteRenamed as SiteRenamed, type index_d$1_SiteTransferred as SiteTransferred, type index_d$1_SiteUndeleted as SiteUndeleted, type index_d$1_SiteUnpublished as SiteUnpublished, index_d$1_SortOrder as SortOrder, type index_d$1_Sorting as Sorting, type index_d$1_SpecialHourPeriod as SpecialHourPeriod, index_d$1_State as State, type index_d$1_StreetAddress as StreetAddress, type index_d$1_StudioAssigned as StudioAssigned, type index_d$1_StudioUnassigned as StudioUnassigned, type index_d$1_SupportedLanguage as SupportedLanguage, type TableCombination$1 as TableCombination, type index_d$1_TableDefinition as TableDefinition, type index_d$1_TableManagement as TableManagement, type index_d$1_TablesDeleted as TablesDeleted, type index_d$1_TermsAndConditions as TermsAndConditions, type index_d$1_TermsAndConditionsValueOneOf as TermsAndConditionsValueOneOf, type index_d$1_TimePeriod as TimePeriod, type index_d$1_TransferredFromAnotherAccountReason as TransferredFromAnotherAccountReason, type index_d$1_TransferredToAnotherAccountReason as TransferredToAnotherAccountReason, type index_d$1_Translation as Translation, type index_d$1_TurnoverRule as TurnoverRule, type index_d$1_TurnoverTimeRule as TurnoverTimeRule, type index_d$1_URI as URI, type index_d$1_UnAssingedToFloatingReason as UnAssingedToFloatingReason, index_d$1_Unit as Unit, type index_d$1_UpdateReservationLocation as UpdateReservationLocation, type index_d$1_UpdateReservationLocationRequest as UpdateReservationLocationRequest, type index_d$1_UpdateReservationLocationResponse as UpdateReservationLocationResponse, type index_d$1_UpdateReservationLocationResponseNonNullableFields as UpdateReservationLocationResponseNonNullableFields, type index_d$1_V4SiteCreated as V4SiteCreated, index_d$1_WebhookIdentityType as WebhookIdentityType, type index_d$1__publicOnReservationLocationCreatedType as _publicOnReservationLocationCreatedType, type index_d$1__publicOnReservationLocationUpdatedType as _publicOnReservationLocationUpdatedType, index_d$1_getReservationLocation as getReservationLocation, index_d$1_listReservationLocations as listReservationLocations, index_d$1_onReservationLocationCreated as onReservationLocationCreated, index_d$1_onReservationLocationUpdated as onReservationLocationUpdated, onReservationLocationCreated$1 as publicOnReservationLocationCreated, onReservationLocationUpdated$1 as publicOnReservationLocationUpdated, index_d$1_queryReservationLocations as queryReservationLocations, index_d$1_updateReservationLocation as updateReservationLocation };
|
|
4437
|
+
export { type index_d$1_ActionEvent as ActionEvent, type index_d$1_Address as Address, type index_d$1_AddressHint as AddressHint, type index_d$1_AddressLocation as AddressLocation, type index_d$1_App as App, type index_d$1_Approval as Approval, index_d$1_ApprovalMode as ApprovalMode, type index_d$1_ApprovalOptionsOneOf as ApprovalOptionsOneOf, type index_d$1_Asset as Asset, type index_d$1_AssignedFromFloatingReason as AssignedFromFloatingReason, type index_d$1_BaseEventMetadata as BaseEventMetadata, type index_d$1_BooleanFeature as BooleanFeature, type index_d$1_BusinessSchedule as BusinessSchedule, type index_d$1_CancelRequestedReason as CancelRequestedReason, type index_d$1_Categories as Categories, type index_d$1_ChangeContext as ChangeContext, type index_d$1_ChangeContextPayloadOneOf as ChangeContextPayloadOneOf, type index_d$1_CheckReservationLocationsCreatedRequest as CheckReservationLocationsCreatedRequest, type index_d$1_CheckReservationLocationsCreatedResponse as CheckReservationLocationsCreatedResponse, type index_d$1_CommonBusinessSchedule as CommonBusinessSchedule, index_d$1_CommonDayOfWeek as CommonDayOfWeek, type index_d$1_CommonSpecialHourPeriod as CommonSpecialHourPeriod, type index_d$1_CommonTimePeriod as CommonTimePeriod, type index_d$1_Configuration as Configuration, type index_d$1_ConsentPolicy as ConsentPolicy, type index_d$1_ContractSwitchedReason as ContractSwitchedReason, type index_d$1_CursorPaging as CursorPaging, type index_d$1_CursorPagingMetadata as CursorPagingMetadata, type index_d$1_Cursors as Cursors, type index_d$1_CustomFieldDefinition as CustomFieldDefinition, index_d$1_DayOfWeek as DayOfWeek, type index_d$1_DeleteContext as DeleteContext, type index_d$1_DeleteOrphanReservationLocationRequest as DeleteOrphanReservationLocationRequest, type index_d$1_DeleteOrphanReservationLocationResponse as DeleteOrphanReservationLocationResponse, index_d$1_DeleteStatus as DeleteStatus, type index_d$1_DomainEvent as DomainEvent, type index_d$1_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d$1_EmailMarketingCheckbox as EmailMarketingCheckbox, type index_d$1_Empty as Empty, type index_d$1_EntityCreatedEvent as EntityCreatedEvent, type index_d$1_EntityDeletedEvent as EntityDeletedEvent, type index_d$1_EntityUpdatedEvent as EntityUpdatedEvent, type index_d$1_EventMetadata as EventMetadata, type index_d$1_ExtendedFields as ExtendedFields, type index_d$1_Feature as Feature, type index_d$1_FeatureCancelled as FeatureCancelled, type index_d$1_FeatureCancelledReasonOneOf as FeatureCancelledReasonOneOf, type index_d$1_FeatureContext as FeatureContext, type index_d$1_FeatureDisabled as FeatureDisabled, type index_d$1_FeatureDisabledReasonOneOf as FeatureDisabledReasonOneOf, type index_d$1_FeatureEnabled as FeatureEnabled, type index_d$1_FeatureEnabledReasonOneOf as FeatureEnabledReasonOneOf, type index_d$1_FeatureEvent as FeatureEvent, type index_d$1_FeatureEventEventOneOf as FeatureEventEventOneOf, index_d$1_FeaturePeriod as FeaturePeriod, type index_d$1_FeatureQuantityInfoOneOf as FeatureQuantityInfoOneOf, type index_d$1_FeatureUpdated as FeatureUpdated, type index_d$1_FeatureUpdatedPreviousQuantityInfoOneOf as FeatureUpdatedPreviousQuantityInfoOneOf, type index_d$1_FeatureUpdatedReasonOneOf as FeatureUpdatedReasonOneOf, index_d$1_FieldType as FieldType, type index_d$1_File as File, type index_d$1_GeoCoordinates as GeoCoordinates, type index_d$1_GetReservationLocationOptions as GetReservationLocationOptions, type index_d$1_GetReservationLocationRequest as GetReservationLocationRequest, type index_d$1_GetReservationLocationResponse as GetReservationLocationResponse, type index_d$1_GetReservationLocationResponseNonNullableFields as GetReservationLocationResponseNonNullableFields, type index_d$1_IdentificationData as IdentificationData, type index_d$1_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d$1_InvalidateCache as InvalidateCache, type index_d$1_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type index_d$1_ListReservationLocationsOptions as ListReservationLocationsOptions, type index_d$1_ListReservationLocationsRequest as ListReservationLocationsRequest, type index_d$1_ListReservationLocationsResponse as ListReservationLocationsResponse, type index_d$1_ListReservationLocationsResponseNonNullableFields as ListReservationLocationsResponseNonNullableFields, type index_d$1_Locale as Locale, type index_d$1_Location as Location, type index_d$1_LocationAddress as LocationAddress, type index_d$1_ManualApproval as ManualApproval, type index_d$1_ManualApprovalValueOneOf as ManualApprovalValueOneOf, type index_d$1_ManualFeatureCreationReason as ManualFeatureCreationReason, type index_d$1_ManualForLargePartiesOptions as ManualForLargePartiesOptions, type index_d$1_MessageEnvelope as MessageEnvelope, type index_d$1_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d$1_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, type index_d$1_MigrateOldRestaurantSettingsRequest as MigrateOldRestaurantSettingsRequest, type index_d$1_MigrateOldRestaurantSettingsResponse as MigrateOldRestaurantSettingsResponse, type index_d$1_MigratedFromLegacyReason as MigratedFromLegacyReason, type index_d$1_MigrationParsingError as MigrationParsingError, type index_d$1_MigrationResult as MigrationResult, index_d$1_Mode as Mode, type index_d$1_Multilingual as Multilingual, type index_d$1_MyReservationsField as MyReservationsField, index_d$1_Namespace as Namespace, type index_d$1_NamespaceChanged as NamespaceChanged, type index_d$1_NewFeatureReason as NewFeatureReason, type index_d$1_NoticePeriod as NoticePeriod, type index_d$1_OldCustomField as OldCustomField, type index_d$1_OldInstant as OldInstant, type index_d$1_OldPolicy as OldPolicy, type index_d$1_OldScheduleException as OldScheduleException, type index_d$1_OldScheduleInterval as OldScheduleInterval, type index_d$1_OldTerms as OldTerms, type index_d$1_OnOptions as OnOptions, type index_d$1_OnlineReservations as OnlineReservations, type index_d$1_Page as Page, type index_d$1_Paging as Paging, type index_d$1_PagingMetadataV2 as PagingMetadataV2, type index_d$1_ParsedSettings as ParsedSettings, type index_d$1_PartiesSize as PartiesSize, type index_d$1_PartyPacing as PartyPacing, type index_d$1_PartySize as PartySize, index_d$1_PlacementType as PlacementType, type index_d$1_PrivacyPolicy as PrivacyPolicy, type index_d$1_PrivacyPolicyValueOneOf as PrivacyPolicyValueOneOf, type index_d$1_Properties as Properties, type index_d$1_PropertiesChange as PropertiesChange, type index_d$1_QueryReservationLocationsOptions as QueryReservationLocationsOptions, type index_d$1_QueryReservationLocationsRequest as QueryReservationLocationsRequest, type index_d$1_QueryReservationLocationsResponse as QueryReservationLocationsResponse, type index_d$1_QueryReservationLocationsResponseNonNullableFields as QueryReservationLocationsResponseNonNullableFields, type index_d$1_QueryV2 as QueryV2, type index_d$1_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d$1_QuotaFeature as QuotaFeature, type index_d$1_QuotaInfo as QuotaInfo, type index_d$1_ReassignedFromSiteReason as ReassignedFromSiteReason, type index_d$1_ReassignedToAnotherSiteReason as ReassignedToAnotherSiteReason, type index_d$1_ReplacedByAnotherSubscriptionReason as ReplacedByAnotherSubscriptionReason, type index_d$1_ReservationForm as ReservationForm, type index_d$1_ReservationLocation as ReservationLocation, type index_d$1_ReservationLocationCreatedEnvelope as ReservationLocationCreatedEnvelope, type index_d$1_ReservationLocationNonNullableFields as ReservationLocationNonNullableFields, type index_d$1_ReservationLocationUpdatedEnvelope as ReservationLocationUpdatedEnvelope, type index_d$1_ReservationLocationsQueryBuilder as ReservationLocationsQueryBuilder, type index_d$1_ReservationLocationsQueryResult as ReservationLocationsQueryResult, type index_d$1_ReservationPayment as ReservationPayment, index_d$1_ResolutionMethod as ResolutionMethod, type index_d$1_RestoreInfo as RestoreInfo, type index_d$1_SeatPacing as SeatPacing, type index_d$1_ServiceProvisioned as ServiceProvisioned, type index_d$1_ServiceRemoved as ServiceRemoved, index_d$1_Set as Set, type index_d$1_Settings as Settings, index_d$1_SettingsMode as SettingsMode, type index_d$1_SettingsOptionsOneOf as SettingsOptionsOneOf, type index_d$1_SiteCloned as SiteCloned, type index_d$1_SiteCreated as SiteCreated, index_d$1_SiteCreatedContext as SiteCreatedContext, type index_d$1_SiteDeleted as SiteDeleted, type index_d$1_SiteHardDeleted as SiteHardDeleted, type index_d$1_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d$1_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d$1_SitePropertiesEvent as SitePropertiesEvent, type index_d$1_SitePropertiesNotification as SitePropertiesNotification, type index_d$1_SitePublished as SitePublished, type index_d$1_SiteRenamed as SiteRenamed, type index_d$1_SiteTransferred as SiteTransferred, type index_d$1_SiteUndeleted as SiteUndeleted, type index_d$1_SiteUnpublished as SiteUnpublished, index_d$1_SortOrder as SortOrder, type index_d$1_Sorting as Sorting, type index_d$1_SpecialHourPeriod as SpecialHourPeriod, index_d$1_State as State, type index_d$1_StreetAddress as StreetAddress, type index_d$1_StudioAssigned as StudioAssigned, type index_d$1_StudioUnassigned as StudioUnassigned, type index_d$1_SupportedLanguage as SupportedLanguage, type TableCombination$1 as TableCombination, type index_d$1_TableDefinition as TableDefinition, type index_d$1_TableManagement as TableManagement, type index_d$1_TablesDeleted as TablesDeleted, type index_d$1_TermsAndConditions as TermsAndConditions, type index_d$1_TermsAndConditionsValueOneOf as TermsAndConditionsValueOneOf, type index_d$1_TimePeriod as TimePeriod, type index_d$1_TransferredFromAnotherAccountReason as TransferredFromAnotherAccountReason, type index_d$1_TransferredToAnotherAccountReason as TransferredToAnotherAccountReason, type index_d$1_Translation as Translation, type index_d$1_TurnoverRule as TurnoverRule, type index_d$1_TurnoverTimeRule as TurnoverTimeRule, type index_d$1_URI as URI, type index_d$1_UnAssingedToFloatingReason as UnAssingedToFloatingReason, index_d$1_Unit as Unit, type index_d$1_UpdateExtendedFieldsOptions as UpdateExtendedFieldsOptions, type index_d$1_UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequest, type index_d$1_UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponse, type index_d$1_UpdateExtendedFieldsResponseNonNullableFields as UpdateExtendedFieldsResponseNonNullableFields, type index_d$1_UpdateReservationLocation as UpdateReservationLocation, type index_d$1_UpdateReservationLocationRequest as UpdateReservationLocationRequest, type index_d$1_UpdateReservationLocationResponse as UpdateReservationLocationResponse, type index_d$1_UpdateReservationLocationResponseNonNullableFields as UpdateReservationLocationResponseNonNullableFields, type index_d$1_V4SiteCreated as V4SiteCreated, index_d$1_WebhookIdentityType as WebhookIdentityType, type index_d$1__publicOnReservationLocationCreatedType as _publicOnReservationLocationCreatedType, type index_d$1__publicOnReservationLocationUpdatedType as _publicOnReservationLocationUpdatedType, index_d$1_getReservationLocation as getReservationLocation, index_d$1_listReservationLocations as listReservationLocations, index_d$1_onReservationLocationCreated as onReservationLocationCreated, index_d$1_onReservationLocationUpdated as onReservationLocationUpdated, onReservationLocationCreated$1 as publicOnReservationLocationCreated, onReservationLocationUpdated$1 as publicOnReservationLocationUpdated, index_d$1_queryReservationLocations as queryReservationLocations, index_d$1_updateExtendedFields as updateExtendedFields, index_d$1_updateReservationLocation as updateReservationLocation };
|
|
4375
4438
|
}
|
|
4376
4439
|
|
|
4377
4440
|
interface TimeSlot {
|
|
@@ -283,6 +283,18 @@ interface UpdateReservationResponse$1 {
|
|
|
283
283
|
/** Reservation. */
|
|
284
284
|
reservation?: Reservation$1;
|
|
285
285
|
}
|
|
286
|
+
interface UpdateExtendedFieldsRequest$3 {
|
|
287
|
+
/** ID of the entity to update. */
|
|
288
|
+
id: string;
|
|
289
|
+
/** Identifier for the app whose extended fields are being updated. */
|
|
290
|
+
namespace: string;
|
|
291
|
+
/** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */
|
|
292
|
+
namespaceData: Record<string, any> | null;
|
|
293
|
+
}
|
|
294
|
+
interface UpdateExtendedFieldsResponse$3 {
|
|
295
|
+
/** Updated reservation. */
|
|
296
|
+
reservation?: Reservation$1;
|
|
297
|
+
}
|
|
286
298
|
interface CreateHeldReservationRequest$1 {
|
|
287
299
|
/** Held reservation information to update. */
|
|
288
300
|
reservationDetails: HeldReservationDetails$1;
|
|
@@ -883,6 +895,9 @@ interface GetReservationResponseNonNullableFields$1 {
|
|
|
883
895
|
interface UpdateReservationResponseNonNullableFields$1 {
|
|
884
896
|
reservation?: ReservationNonNullableFields$1;
|
|
885
897
|
}
|
|
898
|
+
interface UpdateExtendedFieldsResponseNonNullableFields$3 {
|
|
899
|
+
reservation?: ReservationNonNullableFields$1;
|
|
900
|
+
}
|
|
886
901
|
interface CreateHeldReservationResponseNonNullableFields$1 {
|
|
887
902
|
reservation?: ReservationNonNullableFields$1;
|
|
888
903
|
}
|
|
@@ -1240,6 +1255,18 @@ interface UpdateReservationResponse {
|
|
|
1240
1255
|
/** Reservation. */
|
|
1241
1256
|
reservation?: Reservation;
|
|
1242
1257
|
}
|
|
1258
|
+
interface UpdateExtendedFieldsRequest$2 {
|
|
1259
|
+
/** ID of the entity to update. */
|
|
1260
|
+
_id: string;
|
|
1261
|
+
/** Identifier for the app whose extended fields are being updated. */
|
|
1262
|
+
namespace: string;
|
|
1263
|
+
/** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */
|
|
1264
|
+
namespaceData: Record<string, any> | null;
|
|
1265
|
+
}
|
|
1266
|
+
interface UpdateExtendedFieldsResponse$2 {
|
|
1267
|
+
/** Updated reservation. */
|
|
1268
|
+
reservation?: Reservation;
|
|
1269
|
+
}
|
|
1243
1270
|
interface CreateHeldReservationRequest {
|
|
1244
1271
|
/** Held reservation information to update. */
|
|
1245
1272
|
reservationDetails: HeldReservationDetails;
|
|
@@ -1840,6 +1867,9 @@ interface GetReservationResponseNonNullableFields {
|
|
|
1840
1867
|
interface UpdateReservationResponseNonNullableFields {
|
|
1841
1868
|
reservation?: ReservationNonNullableFields;
|
|
1842
1869
|
}
|
|
1870
|
+
interface UpdateExtendedFieldsResponseNonNullableFields$2 {
|
|
1871
|
+
reservation?: ReservationNonNullableFields;
|
|
1872
|
+
}
|
|
1843
1873
|
interface CreateHeldReservationResponseNonNullableFields {
|
|
1844
1874
|
reservation?: ReservationNonNullableFields;
|
|
1845
1875
|
}
|
|
@@ -1929,6 +1959,9 @@ declare function getReservation(): __PublicMethodMetaInfo$2<'GET', {
|
|
|
1929
1959
|
declare function updateReservation(): __PublicMethodMetaInfo$2<'PATCH', {
|
|
1930
1960
|
reservationId: string;
|
|
1931
1961
|
}, UpdateReservationRequest, UpdateReservationRequest$1, UpdateReservationResponse & UpdateReservationResponseNonNullableFields, UpdateReservationResponse$1 & UpdateReservationResponseNonNullableFields$1>;
|
|
1962
|
+
declare function updateExtendedFields$1(): __PublicMethodMetaInfo$2<'POST', {
|
|
1963
|
+
id: string;
|
|
1964
|
+
}, UpdateExtendedFieldsRequest$2, UpdateExtendedFieldsRequest$3, UpdateExtendedFieldsResponse$2 & UpdateExtendedFieldsResponseNonNullableFields$2, UpdateExtendedFieldsResponse$3 & UpdateExtendedFieldsResponseNonNullableFields$3>;
|
|
1932
1965
|
declare function createHeldReservation(): __PublicMethodMetaInfo$2<'POST', {}, CreateHeldReservationRequest, CreateHeldReservationRequest$1, CreateHeldReservationResponse & CreateHeldReservationResponseNonNullableFields, CreateHeldReservationResponse$1 & CreateHeldReservationResponseNonNullableFields$1>;
|
|
1933
1966
|
declare function reserveReservation(): __PublicMethodMetaInfo$2<'POST', {
|
|
1934
1967
|
reservationId: string;
|
|
@@ -1954,7 +1987,7 @@ declare const meta$2_reserveReservation: typeof reserveReservation;
|
|
|
1954
1987
|
declare const meta$2_searchReservations: typeof searchReservations;
|
|
1955
1988
|
declare const meta$2_updateReservation: typeof updateReservation;
|
|
1956
1989
|
declare namespace meta$2 {
|
|
1957
|
-
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 };
|
|
1990
|
+
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, updateExtendedFields$1 as updateExtendedFields, meta$2_updateReservation as updateReservation };
|
|
1958
1991
|
}
|
|
1959
1992
|
|
|
1960
1993
|
interface ReservationLocation$1 {
|
|
@@ -2438,6 +2471,18 @@ interface UpdateReservationLocationResponse$1 {
|
|
|
2438
2471
|
/** The updated reservation location. */
|
|
2439
2472
|
reservationLocation?: ReservationLocation$1;
|
|
2440
2473
|
}
|
|
2474
|
+
interface UpdateExtendedFieldsRequest$1 {
|
|
2475
|
+
/** ID of the entity to update. */
|
|
2476
|
+
id: string;
|
|
2477
|
+
/** Identifier for the app whose extended fields are being updated. */
|
|
2478
|
+
namespace: string;
|
|
2479
|
+
/** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */
|
|
2480
|
+
namespaceData: Record<string, any> | null;
|
|
2481
|
+
}
|
|
2482
|
+
interface UpdateExtendedFieldsResponse$1 {
|
|
2483
|
+
/** Updated reservation location. */
|
|
2484
|
+
reservationLocation?: ReservationLocation$1;
|
|
2485
|
+
}
|
|
2441
2486
|
interface QueryReservationLocationsRequest$1 {
|
|
2442
2487
|
/** Query options. */
|
|
2443
2488
|
query: QueryV2$1;
|
|
@@ -2715,6 +2760,9 @@ interface GetReservationLocationResponseNonNullableFields$1 {
|
|
|
2715
2760
|
interface UpdateReservationLocationResponseNonNullableFields$1 {
|
|
2716
2761
|
reservationLocation?: ReservationLocationNonNullableFields$1;
|
|
2717
2762
|
}
|
|
2763
|
+
interface UpdateExtendedFieldsResponseNonNullableFields$1 {
|
|
2764
|
+
reservationLocation?: ReservationLocationNonNullableFields$1;
|
|
2765
|
+
}
|
|
2718
2766
|
interface QueryReservationLocationsResponseNonNullableFields$1 {
|
|
2719
2767
|
reservationLocations: ReservationLocationNonNullableFields$1[];
|
|
2720
2768
|
}
|
|
@@ -3202,6 +3250,18 @@ interface UpdateReservationLocationResponse {
|
|
|
3202
3250
|
/** The updated reservation location. */
|
|
3203
3251
|
reservationLocation?: ReservationLocation;
|
|
3204
3252
|
}
|
|
3253
|
+
interface UpdateExtendedFieldsRequest {
|
|
3254
|
+
/** ID of the entity to update. */
|
|
3255
|
+
_id: string;
|
|
3256
|
+
/** Identifier for the app whose extended fields are being updated. */
|
|
3257
|
+
namespace: string;
|
|
3258
|
+
/** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */
|
|
3259
|
+
namespaceData: Record<string, any> | null;
|
|
3260
|
+
}
|
|
3261
|
+
interface UpdateExtendedFieldsResponse {
|
|
3262
|
+
/** Updated reservation location. */
|
|
3263
|
+
reservationLocation?: ReservationLocation;
|
|
3264
|
+
}
|
|
3205
3265
|
interface QueryReservationLocationsRequest {
|
|
3206
3266
|
/** Query options. */
|
|
3207
3267
|
query: QueryV2;
|
|
@@ -3476,6 +3536,9 @@ interface GetReservationLocationResponseNonNullableFields {
|
|
|
3476
3536
|
interface UpdateReservationLocationResponseNonNullableFields {
|
|
3477
3537
|
reservationLocation?: ReservationLocationNonNullableFields;
|
|
3478
3538
|
}
|
|
3539
|
+
interface UpdateExtendedFieldsResponseNonNullableFields {
|
|
3540
|
+
reservationLocation?: ReservationLocationNonNullableFields;
|
|
3541
|
+
}
|
|
3479
3542
|
interface QueryReservationLocationsResponseNonNullableFields {
|
|
3480
3543
|
reservationLocations: ReservationLocationNonNullableFields[];
|
|
3481
3544
|
}
|
|
@@ -3499,15 +3562,19 @@ declare function getReservationLocation(): __PublicMethodMetaInfo$1<'GET', {
|
|
|
3499
3562
|
declare function updateReservationLocation(): __PublicMethodMetaInfo$1<'PATCH', {
|
|
3500
3563
|
reservationLocationId: string;
|
|
3501
3564
|
}, UpdateReservationLocationRequest, UpdateReservationLocationRequest$1, UpdateReservationLocationResponse & UpdateReservationLocationResponseNonNullableFields, UpdateReservationLocationResponse$1 & UpdateReservationLocationResponseNonNullableFields$1>;
|
|
3565
|
+
declare function updateExtendedFields(): __PublicMethodMetaInfo$1<'POST', {
|
|
3566
|
+
id: string;
|
|
3567
|
+
}, UpdateExtendedFieldsRequest, UpdateExtendedFieldsRequest$1, UpdateExtendedFieldsResponse & UpdateExtendedFieldsResponseNonNullableFields, UpdateExtendedFieldsResponse$1 & UpdateExtendedFieldsResponseNonNullableFields$1>;
|
|
3502
3568
|
declare function queryReservationLocations(): __PublicMethodMetaInfo$1<'POST', {}, QueryReservationLocationsRequest, QueryReservationLocationsRequest$1, QueryReservationLocationsResponse & QueryReservationLocationsResponseNonNullableFields, QueryReservationLocationsResponse$1 & QueryReservationLocationsResponseNonNullableFields$1>;
|
|
3503
3569
|
declare function listReservationLocations(): __PublicMethodMetaInfo$1<'GET', {}, ListReservationLocationsRequest, ListReservationLocationsRequest$1, ListReservationLocationsResponse & ListReservationLocationsResponseNonNullableFields, ListReservationLocationsResponse$1 & ListReservationLocationsResponseNonNullableFields$1>;
|
|
3504
3570
|
|
|
3505
3571
|
declare const meta$1_getReservationLocation: typeof getReservationLocation;
|
|
3506
3572
|
declare const meta$1_listReservationLocations: typeof listReservationLocations;
|
|
3507
3573
|
declare const meta$1_queryReservationLocations: typeof queryReservationLocations;
|
|
3574
|
+
declare const meta$1_updateExtendedFields: typeof updateExtendedFields;
|
|
3508
3575
|
declare const meta$1_updateReservationLocation: typeof updateReservationLocation;
|
|
3509
3576
|
declare namespace meta$1 {
|
|
3510
|
-
export { type __PublicMethodMetaInfo$1 as __PublicMethodMetaInfo, meta$1_getReservationLocation as getReservationLocation, meta$1_listReservationLocations as listReservationLocations, meta$1_queryReservationLocations as queryReservationLocations, meta$1_updateReservationLocation as updateReservationLocation };
|
|
3577
|
+
export { type __PublicMethodMetaInfo$1 as __PublicMethodMetaInfo, meta$1_getReservationLocation as getReservationLocation, meta$1_listReservationLocations as listReservationLocations, meta$1_queryReservationLocations as queryReservationLocations, meta$1_updateExtendedFields as updateExtendedFields, meta$1_updateReservationLocation as updateReservationLocation };
|
|
3511
3578
|
}
|
|
3512
3579
|
|
|
3513
3580
|
interface TimeSlot$1 {
|