@wix/table-reservations 1.0.134 → 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"
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@wix/table-reservations_reservation-locations": "1.0.51",
|
|
22
|
-
"@wix/table-reservations_reservations": "1.0.
|
|
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 {
|
|
@@ -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 {
|
|
@@ -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 {
|