@wix/table-reservations 1.0.132 → 1.0.134
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.134",
|
|
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.45",
|
|
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": "1a8cb84ef29bf4f765eff8c4da892ab0906961b6a676befea3c64d23"
|
|
49
49
|
}
|
|
@@ -123,7 +123,11 @@ interface Reservation {
|
|
|
123
123
|
* @readonly
|
|
124
124
|
*/
|
|
125
125
|
paymentStatus?: PaymentStatus;
|
|
126
|
-
/**
|
|
126
|
+
/**
|
|
127
|
+
* Custom field data for the reservation object.
|
|
128
|
+
*
|
|
129
|
+
* [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.
|
|
130
|
+
*/
|
|
127
131
|
extendedFields?: ExtendedFields$1;
|
|
128
132
|
}
|
|
129
133
|
/** Tables used for the reservation. */
|
|
@@ -1362,7 +1366,11 @@ interface UpdateReservation {
|
|
|
1362
1366
|
* @readonly
|
|
1363
1367
|
*/
|
|
1364
1368
|
paymentStatus?: PaymentStatus;
|
|
1365
|
-
/**
|
|
1369
|
+
/**
|
|
1370
|
+
* Custom field data for the reservation object.
|
|
1371
|
+
*
|
|
1372
|
+
* [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.
|
|
1373
|
+
*/
|
|
1366
1374
|
extendedFields?: ExtendedFields$1;
|
|
1367
1375
|
}
|
|
1368
1376
|
interface UpdateReservationOptions {
|
|
@@ -1849,7 +1857,11 @@ interface ReservationLocation {
|
|
|
1849
1857
|
* @readonly
|
|
1850
1858
|
*/
|
|
1851
1859
|
archived?: boolean | null;
|
|
1852
|
-
/**
|
|
1860
|
+
/**
|
|
1861
|
+
* Custom field data for the reservation location object.
|
|
1862
|
+
*
|
|
1863
|
+
* [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.
|
|
1864
|
+
*/
|
|
1853
1865
|
extendedFields?: ExtendedFields;
|
|
1854
1866
|
}
|
|
1855
1867
|
interface StreetAddress {
|
|
@@ -2437,6 +2449,18 @@ interface TablesDeleted {
|
|
|
2437
2449
|
/** IDs of deleted tables. */
|
|
2438
2450
|
tableIds?: string[];
|
|
2439
2451
|
}
|
|
2452
|
+
interface UpdateExtendedFieldsRequest {
|
|
2453
|
+
/** ID of the entity to update. */
|
|
2454
|
+
_id: string;
|
|
2455
|
+
/** Identifier for the app whose extended fields are being updated. */
|
|
2456
|
+
namespace: string;
|
|
2457
|
+
/** 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. */
|
|
2458
|
+
namespaceData: Record<string, any> | null;
|
|
2459
|
+
}
|
|
2460
|
+
interface UpdateExtendedFieldsResponse {
|
|
2461
|
+
/** Updated reservation location. */
|
|
2462
|
+
reservationLocation?: ReservationLocation;
|
|
2463
|
+
}
|
|
2440
2464
|
interface QueryReservationLocationsRequest {
|
|
2441
2465
|
/** Query options. */
|
|
2442
2466
|
query: QueryV2;
|
|
@@ -3877,6 +3901,9 @@ interface GetReservationLocationResponseNonNullableFields {
|
|
|
3877
3901
|
interface UpdateReservationLocationResponseNonNullableFields {
|
|
3878
3902
|
reservationLocation?: ReservationLocationNonNullableFields;
|
|
3879
3903
|
}
|
|
3904
|
+
interface UpdateExtendedFieldsResponseNonNullableFields {
|
|
3905
|
+
reservationLocation?: ReservationLocationNonNullableFields;
|
|
3906
|
+
}
|
|
3880
3907
|
interface QueryReservationLocationsResponseNonNullableFields {
|
|
3881
3908
|
reservationLocations: ReservationLocationNonNullableFields[];
|
|
3882
3909
|
}
|
|
@@ -3989,9 +4016,17 @@ interface UpdateReservationLocation {
|
|
|
3989
4016
|
* @readonly
|
|
3990
4017
|
*/
|
|
3991
4018
|
archived?: boolean | null;
|
|
3992
|
-
/**
|
|
4019
|
+
/**
|
|
4020
|
+
* Custom field data for the reservation location object.
|
|
4021
|
+
*
|
|
4022
|
+
* [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.
|
|
4023
|
+
*/
|
|
3993
4024
|
extendedFields?: ExtendedFields;
|
|
3994
4025
|
}
|
|
4026
|
+
interface UpdateExtendedFieldsOptions {
|
|
4027
|
+
/** 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. */
|
|
4028
|
+
namespaceData: Record<string, any> | null;
|
|
4029
|
+
}
|
|
3995
4030
|
interface QueryReservationLocationsOptions {
|
|
3996
4031
|
/**
|
|
3997
4032
|
* Array of named, predefined sets of projected fields to be returned.
|
|
@@ -4088,6 +4123,15 @@ interface UpdateReservationLocationSignature {
|
|
|
4088
4123
|
*/
|
|
4089
4124
|
(_id: string | null, reservationLocation: UpdateReservationLocation): Promise<ReservationLocation & ReservationLocationNonNullableFields>;
|
|
4090
4125
|
}
|
|
4126
|
+
declare function updateExtendedFields$1(httpClient: HttpClient): UpdateExtendedFieldsSignature;
|
|
4127
|
+
interface UpdateExtendedFieldsSignature {
|
|
4128
|
+
/**
|
|
4129
|
+
* Updates extended fields of a reservation location without incrementing revision
|
|
4130
|
+
* @param - ID of the entity to update.
|
|
4131
|
+
* @param - Identifier for the app whose extended fields are being updated.
|
|
4132
|
+
*/
|
|
4133
|
+
(_id: string, namespace: string, options: UpdateExtendedFieldsOptions): Promise<UpdateExtendedFieldsResponse & UpdateExtendedFieldsResponseNonNullableFields>;
|
|
4134
|
+
}
|
|
4091
4135
|
declare function queryReservationLocations$1(httpClient: HttpClient): QueryReservationLocationsSignature;
|
|
4092
4136
|
interface QueryReservationLocationsSignature {
|
|
4093
4137
|
/**
|
|
@@ -4128,6 +4172,7 @@ declare function createEventModule<T extends EventDefinition<any, string>>(event
|
|
|
4128
4172
|
|
|
4129
4173
|
declare const getReservationLocation: BuildRESTFunction<typeof getReservationLocation$1> & typeof getReservationLocation$1;
|
|
4130
4174
|
declare const updateReservationLocation: BuildRESTFunction<typeof updateReservationLocation$1> & typeof updateReservationLocation$1;
|
|
4175
|
+
declare const updateExtendedFields: BuildRESTFunction<typeof updateExtendedFields$1> & typeof updateExtendedFields$1;
|
|
4131
4176
|
declare const queryReservationLocations: BuildRESTFunction<typeof queryReservationLocations$1> & typeof queryReservationLocations$1;
|
|
4132
4177
|
declare const listReservationLocations: BuildRESTFunction<typeof listReservationLocations$1> & typeof listReservationLocations$1;
|
|
4133
4178
|
|
|
@@ -4339,6 +4384,10 @@ type context$1_URI = URI;
|
|
|
4339
4384
|
type context$1_UnAssingedToFloatingReason = UnAssingedToFloatingReason;
|
|
4340
4385
|
type context$1_Unit = Unit;
|
|
4341
4386
|
declare const context$1_Unit: typeof Unit;
|
|
4387
|
+
type context$1_UpdateExtendedFieldsOptions = UpdateExtendedFieldsOptions;
|
|
4388
|
+
type context$1_UpdateExtendedFieldsRequest = UpdateExtendedFieldsRequest;
|
|
4389
|
+
type context$1_UpdateExtendedFieldsResponse = UpdateExtendedFieldsResponse;
|
|
4390
|
+
type context$1_UpdateExtendedFieldsResponseNonNullableFields = UpdateExtendedFieldsResponseNonNullableFields;
|
|
4342
4391
|
type context$1_UpdateReservationLocation = UpdateReservationLocation;
|
|
4343
4392
|
type context$1_UpdateReservationLocationRequest = UpdateReservationLocationRequest;
|
|
4344
4393
|
type context$1_UpdateReservationLocationResponse = UpdateReservationLocationResponse;
|
|
@@ -4353,9 +4402,10 @@ declare const context$1_listReservationLocations: typeof listReservationLocation
|
|
|
4353
4402
|
declare const context$1_onReservationLocationCreated: typeof onReservationLocationCreated;
|
|
4354
4403
|
declare const context$1_onReservationLocationUpdated: typeof onReservationLocationUpdated;
|
|
4355
4404
|
declare const context$1_queryReservationLocations: typeof queryReservationLocations;
|
|
4405
|
+
declare const context$1_updateExtendedFields: typeof updateExtendedFields;
|
|
4356
4406
|
declare const context$1_updateReservationLocation: typeof updateReservationLocation;
|
|
4357
4407
|
declare namespace context$1 {
|
|
4358
|
-
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 };
|
|
4408
|
+
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 };
|
|
4359
4409
|
}
|
|
4360
4410
|
|
|
4361
4411
|
interface TimeSlot {
|
|
@@ -123,7 +123,11 @@ interface Reservation {
|
|
|
123
123
|
* @readonly
|
|
124
124
|
*/
|
|
125
125
|
paymentStatus?: PaymentStatus;
|
|
126
|
-
/**
|
|
126
|
+
/**
|
|
127
|
+
* Custom field data for the reservation object.
|
|
128
|
+
*
|
|
129
|
+
* [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.
|
|
130
|
+
*/
|
|
127
131
|
extendedFields?: ExtendedFields$1;
|
|
128
132
|
}
|
|
129
133
|
/** Tables used for the reservation. */
|
|
@@ -1362,7 +1366,11 @@ interface UpdateReservation {
|
|
|
1362
1366
|
* @readonly
|
|
1363
1367
|
*/
|
|
1364
1368
|
paymentStatus?: PaymentStatus;
|
|
1365
|
-
/**
|
|
1369
|
+
/**
|
|
1370
|
+
* Custom field data for the reservation object.
|
|
1371
|
+
*
|
|
1372
|
+
* [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.
|
|
1373
|
+
*/
|
|
1366
1374
|
extendedFields?: ExtendedFields$1;
|
|
1367
1375
|
}
|
|
1368
1376
|
interface UpdateReservationOptions {
|
|
@@ -1849,7 +1857,11 @@ interface ReservationLocation {
|
|
|
1849
1857
|
* @readonly
|
|
1850
1858
|
*/
|
|
1851
1859
|
archived?: boolean | null;
|
|
1852
|
-
/**
|
|
1860
|
+
/**
|
|
1861
|
+
* Custom field data for the reservation location object.
|
|
1862
|
+
*
|
|
1863
|
+
* [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.
|
|
1864
|
+
*/
|
|
1853
1865
|
extendedFields?: ExtendedFields;
|
|
1854
1866
|
}
|
|
1855
1867
|
interface StreetAddress {
|
|
@@ -2437,6 +2449,18 @@ interface TablesDeleted {
|
|
|
2437
2449
|
/** IDs of deleted tables. */
|
|
2438
2450
|
tableIds?: string[];
|
|
2439
2451
|
}
|
|
2452
|
+
interface UpdateExtendedFieldsRequest {
|
|
2453
|
+
/** ID of the entity to update. */
|
|
2454
|
+
_id: string;
|
|
2455
|
+
/** Identifier for the app whose extended fields are being updated. */
|
|
2456
|
+
namespace: string;
|
|
2457
|
+
/** 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. */
|
|
2458
|
+
namespaceData: Record<string, any> | null;
|
|
2459
|
+
}
|
|
2460
|
+
interface UpdateExtendedFieldsResponse {
|
|
2461
|
+
/** Updated reservation location. */
|
|
2462
|
+
reservationLocation?: ReservationLocation;
|
|
2463
|
+
}
|
|
2440
2464
|
interface QueryReservationLocationsRequest {
|
|
2441
2465
|
/** Query options. */
|
|
2442
2466
|
query: QueryV2;
|
|
@@ -3877,6 +3901,9 @@ interface GetReservationLocationResponseNonNullableFields {
|
|
|
3877
3901
|
interface UpdateReservationLocationResponseNonNullableFields {
|
|
3878
3902
|
reservationLocation?: ReservationLocationNonNullableFields;
|
|
3879
3903
|
}
|
|
3904
|
+
interface UpdateExtendedFieldsResponseNonNullableFields {
|
|
3905
|
+
reservationLocation?: ReservationLocationNonNullableFields;
|
|
3906
|
+
}
|
|
3880
3907
|
interface QueryReservationLocationsResponseNonNullableFields {
|
|
3881
3908
|
reservationLocations: ReservationLocationNonNullableFields[];
|
|
3882
3909
|
}
|
|
@@ -3989,9 +4016,17 @@ interface UpdateReservationLocation {
|
|
|
3989
4016
|
* @readonly
|
|
3990
4017
|
*/
|
|
3991
4018
|
archived?: boolean | null;
|
|
3992
|
-
/**
|
|
4019
|
+
/**
|
|
4020
|
+
* Custom field data for the reservation location object.
|
|
4021
|
+
*
|
|
4022
|
+
* [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.
|
|
4023
|
+
*/
|
|
3993
4024
|
extendedFields?: ExtendedFields;
|
|
3994
4025
|
}
|
|
4026
|
+
interface UpdateExtendedFieldsOptions {
|
|
4027
|
+
/** 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. */
|
|
4028
|
+
namespaceData: Record<string, any> | null;
|
|
4029
|
+
}
|
|
3995
4030
|
interface QueryReservationLocationsOptions {
|
|
3996
4031
|
/**
|
|
3997
4032
|
* Array of named, predefined sets of projected fields to be returned.
|
|
@@ -4088,6 +4123,15 @@ interface UpdateReservationLocationSignature {
|
|
|
4088
4123
|
*/
|
|
4089
4124
|
(_id: string | null, reservationLocation: UpdateReservationLocation): Promise<ReservationLocation & ReservationLocationNonNullableFields>;
|
|
4090
4125
|
}
|
|
4126
|
+
declare function updateExtendedFields$1(httpClient: HttpClient): UpdateExtendedFieldsSignature;
|
|
4127
|
+
interface UpdateExtendedFieldsSignature {
|
|
4128
|
+
/**
|
|
4129
|
+
* Updates extended fields of a reservation location without incrementing revision
|
|
4130
|
+
* @param - ID of the entity to update.
|
|
4131
|
+
* @param - Identifier for the app whose extended fields are being updated.
|
|
4132
|
+
*/
|
|
4133
|
+
(_id: string, namespace: string, options: UpdateExtendedFieldsOptions): Promise<UpdateExtendedFieldsResponse & UpdateExtendedFieldsResponseNonNullableFields>;
|
|
4134
|
+
}
|
|
4091
4135
|
declare function queryReservationLocations$1(httpClient: HttpClient): QueryReservationLocationsSignature;
|
|
4092
4136
|
interface QueryReservationLocationsSignature {
|
|
4093
4137
|
/**
|
|
@@ -4128,6 +4172,7 @@ declare function createEventModule<T extends EventDefinition<any, string>>(event
|
|
|
4128
4172
|
|
|
4129
4173
|
declare const getReservationLocation: BuildRESTFunction<typeof getReservationLocation$1> & typeof getReservationLocation$1;
|
|
4130
4174
|
declare const updateReservationLocation: BuildRESTFunction<typeof updateReservationLocation$1> & typeof updateReservationLocation$1;
|
|
4175
|
+
declare const updateExtendedFields: BuildRESTFunction<typeof updateExtendedFields$1> & typeof updateExtendedFields$1;
|
|
4131
4176
|
declare const queryReservationLocations: BuildRESTFunction<typeof queryReservationLocations$1> & typeof queryReservationLocations$1;
|
|
4132
4177
|
declare const listReservationLocations: BuildRESTFunction<typeof listReservationLocations$1> & typeof listReservationLocations$1;
|
|
4133
4178
|
|
|
@@ -4339,6 +4384,10 @@ type index_d$1_URI = URI;
|
|
|
4339
4384
|
type index_d$1_UnAssingedToFloatingReason = UnAssingedToFloatingReason;
|
|
4340
4385
|
type index_d$1_Unit = Unit;
|
|
4341
4386
|
declare const index_d$1_Unit: typeof Unit;
|
|
4387
|
+
type index_d$1_UpdateExtendedFieldsOptions = UpdateExtendedFieldsOptions;
|
|
4388
|
+
type index_d$1_UpdateExtendedFieldsRequest = UpdateExtendedFieldsRequest;
|
|
4389
|
+
type index_d$1_UpdateExtendedFieldsResponse = UpdateExtendedFieldsResponse;
|
|
4390
|
+
type index_d$1_UpdateExtendedFieldsResponseNonNullableFields = UpdateExtendedFieldsResponseNonNullableFields;
|
|
4342
4391
|
type index_d$1_UpdateReservationLocation = UpdateReservationLocation;
|
|
4343
4392
|
type index_d$1_UpdateReservationLocationRequest = UpdateReservationLocationRequest;
|
|
4344
4393
|
type index_d$1_UpdateReservationLocationResponse = UpdateReservationLocationResponse;
|
|
@@ -4353,9 +4402,10 @@ declare const index_d$1_listReservationLocations: typeof listReservationLocation
|
|
|
4353
4402
|
declare const index_d$1_onReservationLocationCreated: typeof onReservationLocationCreated;
|
|
4354
4403
|
declare const index_d$1_onReservationLocationUpdated: typeof onReservationLocationUpdated;
|
|
4355
4404
|
declare const index_d$1_queryReservationLocations: typeof queryReservationLocations;
|
|
4405
|
+
declare const index_d$1_updateExtendedFields: typeof updateExtendedFields;
|
|
4356
4406
|
declare const index_d$1_updateReservationLocation: typeof updateReservationLocation;
|
|
4357
4407
|
declare namespace index_d$1 {
|
|
4358
|
-
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 };
|
|
4408
|
+
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 };
|
|
4359
4409
|
}
|
|
4360
4410
|
|
|
4361
4411
|
interface TimeSlot {
|
|
@@ -77,7 +77,11 @@ interface Reservation$1 {
|
|
|
77
77
|
* @readonly
|
|
78
78
|
*/
|
|
79
79
|
paymentStatus?: PaymentStatus$1;
|
|
80
|
-
/**
|
|
80
|
+
/**
|
|
81
|
+
* Custom field data for the reservation object.
|
|
82
|
+
*
|
|
83
|
+
* [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.
|
|
84
|
+
*/
|
|
81
85
|
extendedFields?: ExtendedFields$3;
|
|
82
86
|
}
|
|
83
87
|
declare enum Status$3 {
|
|
@@ -1032,7 +1036,11 @@ interface Reservation {
|
|
|
1032
1036
|
* @readonly
|
|
1033
1037
|
*/
|
|
1034
1038
|
paymentStatus?: PaymentStatus;
|
|
1035
|
-
/**
|
|
1039
|
+
/**
|
|
1040
|
+
* Custom field data for the reservation object.
|
|
1041
|
+
*
|
|
1042
|
+
* [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.
|
|
1043
|
+
*/
|
|
1036
1044
|
extendedFields?: ExtendedFields$2;
|
|
1037
1045
|
}
|
|
1038
1046
|
declare enum Status$2 {
|
|
@@ -1987,7 +1995,11 @@ interface ReservationLocation$1 {
|
|
|
1987
1995
|
* @readonly
|
|
1988
1996
|
*/
|
|
1989
1997
|
archived?: boolean | null;
|
|
1990
|
-
/**
|
|
1998
|
+
/**
|
|
1999
|
+
* Custom field data for the reservation location object.
|
|
2000
|
+
*
|
|
2001
|
+
* [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.
|
|
2002
|
+
*/
|
|
1991
2003
|
extendedFields?: ExtendedFields$1;
|
|
1992
2004
|
}
|
|
1993
2005
|
/**
|
|
@@ -2426,6 +2438,18 @@ interface UpdateReservationLocationResponse$1 {
|
|
|
2426
2438
|
/** The updated reservation location. */
|
|
2427
2439
|
reservationLocation?: ReservationLocation$1;
|
|
2428
2440
|
}
|
|
2441
|
+
interface UpdateExtendedFieldsRequest$1 {
|
|
2442
|
+
/** ID of the entity to update. */
|
|
2443
|
+
id: string;
|
|
2444
|
+
/** Identifier for the app whose extended fields are being updated. */
|
|
2445
|
+
namespace: string;
|
|
2446
|
+
/** 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. */
|
|
2447
|
+
namespaceData: Record<string, any> | null;
|
|
2448
|
+
}
|
|
2449
|
+
interface UpdateExtendedFieldsResponse$1 {
|
|
2450
|
+
/** Updated reservation location. */
|
|
2451
|
+
reservationLocation?: ReservationLocation$1;
|
|
2452
|
+
}
|
|
2429
2453
|
interface QueryReservationLocationsRequest$1 {
|
|
2430
2454
|
/** Query options. */
|
|
2431
2455
|
query: QueryV2$1;
|
|
@@ -2703,6 +2727,9 @@ interface GetReservationLocationResponseNonNullableFields$1 {
|
|
|
2703
2727
|
interface UpdateReservationLocationResponseNonNullableFields$1 {
|
|
2704
2728
|
reservationLocation?: ReservationLocationNonNullableFields$1;
|
|
2705
2729
|
}
|
|
2730
|
+
interface UpdateExtendedFieldsResponseNonNullableFields$1 {
|
|
2731
|
+
reservationLocation?: ReservationLocationNonNullableFields$1;
|
|
2732
|
+
}
|
|
2706
2733
|
interface QueryReservationLocationsResponseNonNullableFields$1 {
|
|
2707
2734
|
reservationLocations: ReservationLocationNonNullableFields$1[];
|
|
2708
2735
|
}
|
|
@@ -2748,7 +2775,11 @@ interface ReservationLocation {
|
|
|
2748
2775
|
* @readonly
|
|
2749
2776
|
*/
|
|
2750
2777
|
archived?: boolean | null;
|
|
2751
|
-
/**
|
|
2778
|
+
/**
|
|
2779
|
+
* Custom field data for the reservation location object.
|
|
2780
|
+
*
|
|
2781
|
+
* [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.
|
|
2782
|
+
*/
|
|
2752
2783
|
extendedFields?: ExtendedFields;
|
|
2753
2784
|
}
|
|
2754
2785
|
/**
|
|
@@ -3186,6 +3217,18 @@ interface UpdateReservationLocationResponse {
|
|
|
3186
3217
|
/** The updated reservation location. */
|
|
3187
3218
|
reservationLocation?: ReservationLocation;
|
|
3188
3219
|
}
|
|
3220
|
+
interface UpdateExtendedFieldsRequest {
|
|
3221
|
+
/** ID of the entity to update. */
|
|
3222
|
+
_id: string;
|
|
3223
|
+
/** Identifier for the app whose extended fields are being updated. */
|
|
3224
|
+
namespace: string;
|
|
3225
|
+
/** 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. */
|
|
3226
|
+
namespaceData: Record<string, any> | null;
|
|
3227
|
+
}
|
|
3228
|
+
interface UpdateExtendedFieldsResponse {
|
|
3229
|
+
/** Updated reservation location. */
|
|
3230
|
+
reservationLocation?: ReservationLocation;
|
|
3231
|
+
}
|
|
3189
3232
|
interface QueryReservationLocationsRequest {
|
|
3190
3233
|
/** Query options. */
|
|
3191
3234
|
query: QueryV2;
|
|
@@ -3460,6 +3503,9 @@ interface GetReservationLocationResponseNonNullableFields {
|
|
|
3460
3503
|
interface UpdateReservationLocationResponseNonNullableFields {
|
|
3461
3504
|
reservationLocation?: ReservationLocationNonNullableFields;
|
|
3462
3505
|
}
|
|
3506
|
+
interface UpdateExtendedFieldsResponseNonNullableFields {
|
|
3507
|
+
reservationLocation?: ReservationLocationNonNullableFields;
|
|
3508
|
+
}
|
|
3463
3509
|
interface QueryReservationLocationsResponseNonNullableFields {
|
|
3464
3510
|
reservationLocations: ReservationLocationNonNullableFields[];
|
|
3465
3511
|
}
|
|
@@ -3483,15 +3529,19 @@ declare function getReservationLocation(): __PublicMethodMetaInfo$1<'GET', {
|
|
|
3483
3529
|
declare function updateReservationLocation(): __PublicMethodMetaInfo$1<'PATCH', {
|
|
3484
3530
|
reservationLocationId: string;
|
|
3485
3531
|
}, UpdateReservationLocationRequest, UpdateReservationLocationRequest$1, UpdateReservationLocationResponse & UpdateReservationLocationResponseNonNullableFields, UpdateReservationLocationResponse$1 & UpdateReservationLocationResponseNonNullableFields$1>;
|
|
3532
|
+
declare function updateExtendedFields(): __PublicMethodMetaInfo$1<'POST', {
|
|
3533
|
+
id: string;
|
|
3534
|
+
}, UpdateExtendedFieldsRequest, UpdateExtendedFieldsRequest$1, UpdateExtendedFieldsResponse & UpdateExtendedFieldsResponseNonNullableFields, UpdateExtendedFieldsResponse$1 & UpdateExtendedFieldsResponseNonNullableFields$1>;
|
|
3486
3535
|
declare function queryReservationLocations(): __PublicMethodMetaInfo$1<'POST', {}, QueryReservationLocationsRequest, QueryReservationLocationsRequest$1, QueryReservationLocationsResponse & QueryReservationLocationsResponseNonNullableFields, QueryReservationLocationsResponse$1 & QueryReservationLocationsResponseNonNullableFields$1>;
|
|
3487
3536
|
declare function listReservationLocations(): __PublicMethodMetaInfo$1<'GET', {}, ListReservationLocationsRequest, ListReservationLocationsRequest$1, ListReservationLocationsResponse & ListReservationLocationsResponseNonNullableFields, ListReservationLocationsResponse$1 & ListReservationLocationsResponseNonNullableFields$1>;
|
|
3488
3537
|
|
|
3489
3538
|
declare const meta$1_getReservationLocation: typeof getReservationLocation;
|
|
3490
3539
|
declare const meta$1_listReservationLocations: typeof listReservationLocations;
|
|
3491
3540
|
declare const meta$1_queryReservationLocations: typeof queryReservationLocations;
|
|
3541
|
+
declare const meta$1_updateExtendedFields: typeof updateExtendedFields;
|
|
3492
3542
|
declare const meta$1_updateReservationLocation: typeof updateReservationLocation;
|
|
3493
3543
|
declare namespace meta$1 {
|
|
3494
|
-
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 };
|
|
3544
|
+
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 };
|
|
3495
3545
|
}
|
|
3496
3546
|
|
|
3497
3547
|
interface TimeSlot$1 {
|