@wix/table-reservations 1.0.131 → 1.0.133

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.131",
3
+ "version": "1.0.133",
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.48",
22
- "@wix/table-reservations_reservations": "1.0.44",
21
+ "@wix/table-reservations_reservation-locations": "1.0.50",
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": "3e958931c768788a2c2d5d4982000b80e70e9a6b783dae0b72b343c5"
48
+ "falconPackageHash": "505c133010a6dfc4679d9b912902411e3fe22a34814be16ecf43bbc0"
49
49
  }
@@ -123,7 +123,11 @@ interface Reservation {
123
123
  * @readonly
124
124
  */
125
125
  paymentStatus?: PaymentStatus;
126
- /** Wix extended fields */
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
- /** Wix extended fields */
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
- /** Wix extended fields */
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 {
@@ -1942,6 +1954,15 @@ interface CommonSpecialHourPeriod {
1942
1954
  /** Additional details about the period. */
1943
1955
  comment?: string;
1944
1956
  }
1957
+ declare enum SettingsMode {
1958
+ UNKNOWN = "UNKNOWN",
1959
+ ON = "ON",
1960
+ OFF = "OFF"
1961
+ }
1962
+ interface OnOptions {
1963
+ /** Consider tables for calculations. */
1964
+ considerTables?: boolean | null;
1965
+ }
1945
1966
  interface TableDefinition {
1946
1967
  /**
1947
1968
  * Table ID.
@@ -1972,12 +1993,35 @@ interface TableCombination$1 {
1972
1993
  /** Whether the table combination is active (available to be reserved). */
1973
1994
  isActive?: boolean | null;
1974
1995
  }
1996
+ interface Settings extends SettingsOptionsOneOf {
1997
+ /** Manual approval for large parties options. */
1998
+ onOptions?: OnOptions;
1999
+ /** Shows if table management is on or off. */
2000
+ mode?: SettingsMode;
2001
+ }
2002
+ /** @oneof */
2003
+ interface SettingsOptionsOneOf {
2004
+ /** Manual approval for large parties options. */
2005
+ onOptions?: OnOptions;
2006
+ }
1975
2007
  declare enum Unit {
1976
2008
  UNKNOWN = "UNKNOWN",
1977
2009
  MINUTES = "MINUTES",
1978
2010
  HOURS = "HOURS",
1979
2011
  DAYS = "DAYS"
1980
2012
  }
2013
+ declare enum ApprovalMode {
2014
+ UNKNOWN = "UNKNOWN",
2015
+ AUTOMATIC = "AUTOMATIC",
2016
+ MANUAL = "MANUAL",
2017
+ MANUAL_FOR_LARGE_PARTIES = "MANUAL_FOR_LARGE_PARTIES"
2018
+ }
2019
+ interface ManualForLargePartiesOptions {
2020
+ /** The minimum party size that requires manual approval. */
2021
+ partySizeThreshold?: number | null;
2022
+ /** Use tables for manual approval part. */
2023
+ considerTablesForManualApproval?: boolean | null;
2024
+ }
1981
2025
  /**
1982
2026
  * Seat pacing.
1983
2027
  * The maximum number of seats that can be filled by new reservations within a 15-minute period.
@@ -2052,7 +2096,11 @@ interface TurnoverRule {
2052
2096
  interface ManualApproval extends ManualApprovalValueOneOf {
2053
2097
  /** The minimum party size that requires manual approval. */
2054
2098
  partySizeThreshold?: number;
2055
- /** Custom approvals provider id. */
2099
+ /**
2100
+ * Custom approvals provider id.
2101
+ * @deprecated Custom approvals provider id.
2102
+ * @targetRemovalDate 2024-12-31
2103
+ */
2056
2104
  customApprovalsProviderId?: string;
2057
2105
  /** Whether manual approval is required for online reservations. */
2058
2106
  enabled?: boolean;
@@ -2061,9 +2109,25 @@ interface ManualApproval extends ManualApprovalValueOneOf {
2061
2109
  interface ManualApprovalValueOneOf {
2062
2110
  /** The minimum party size that requires manual approval. */
2063
2111
  partySizeThreshold?: number;
2064
- /** Custom approvals provider id. */
2112
+ /**
2113
+ * Custom approvals provider id.
2114
+ * @deprecated Custom approvals provider id.
2115
+ * @targetRemovalDate 2024-12-31
2116
+ */
2065
2117
  customApprovalsProviderId?: string;
2066
2118
  }
2119
+ /** Approval settings. */
2120
+ interface Approval extends ApprovalOptionsOneOf {
2121
+ /** Manual approval for large parties options. */
2122
+ manualForLargePartiesOptions?: ManualForLargePartiesOptions;
2123
+ /** Approval mode. */
2124
+ mode?: ApprovalMode;
2125
+ }
2126
+ /** @oneof */
2127
+ interface ApprovalOptionsOneOf {
2128
+ /** Manual approval for large parties options. */
2129
+ manualForLargePartiesOptions?: ManualForLargePartiesOptions;
2130
+ }
2067
2131
  /** Type of the field. */
2068
2132
  declare enum FieldType {
2069
2133
  UNKNOWN = "UNKNOWN",
@@ -3745,6 +3809,9 @@ interface ManualApprovalNonNullableFields {
3745
3809
  customApprovalsProviderId: string;
3746
3810
  enabled: boolean;
3747
3811
  }
3812
+ interface ApprovalNonNullableFields {
3813
+ mode: ApprovalMode;
3814
+ }
3748
3815
  interface OnlineReservationsNonNullableFields {
3749
3816
  seatPacing?: SeatPacingNonNullableFields;
3750
3817
  partyPacing?: PartyPacingNonNullableFields;
@@ -3755,6 +3822,7 @@ interface OnlineReservationsNonNullableFields {
3755
3822
  turnoverRules: TurnoverRuleNonNullableFields[];
3756
3823
  businessSchedule?: CommonBusinessScheduleNonNullableFields;
3757
3824
  manualApproval?: ManualApprovalNonNullableFields;
3825
+ approval?: ApprovalNonNullableFields;
3758
3826
  }
3759
3827
  interface TermsAndConditionsNonNullableFields {
3760
3828
  url: string;
@@ -3791,10 +3859,14 @@ interface TableCombinationNonNullableFields {
3791
3859
  seatsMin: number;
3792
3860
  seatsMax: number;
3793
3861
  }
3862
+ interface SettingsNonNullableFields {
3863
+ mode: SettingsMode;
3864
+ }
3794
3865
  interface TableManagementNonNullableFields {
3795
3866
  tableDefinitions: TableDefinitionNonNullableFields[];
3796
3867
  deletedTableDefinitions: TableDefinitionNonNullableFields[];
3797
3868
  tableCombinations: TableCombinationNonNullableFields[];
3869
+ settings?: SettingsNonNullableFields;
3798
3870
  }
3799
3871
  interface ReservationPaymentNonNullableFields {
3800
3872
  value: string;
@@ -3929,7 +4001,11 @@ interface UpdateReservationLocation {
3929
4001
  * @readonly
3930
4002
  */
3931
4003
  archived?: boolean | null;
3932
- /** Wix extended fields */
4004
+ /**
4005
+ * Custom field data for the reservation location object.
4006
+ *
4007
+ * [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.
4008
+ */
3933
4009
  extendedFields?: ExtendedFields;
3934
4010
  }
3935
4011
  interface QueryReservationLocationsOptions {
@@ -4088,6 +4164,10 @@ type context$1_Address = Address;
4088
4164
  type context$1_AddressHint = AddressHint;
4089
4165
  type context$1_AddressLocation = AddressLocation;
4090
4166
  type context$1_App = App;
4167
+ type context$1_Approval = Approval;
4168
+ type context$1_ApprovalMode = ApprovalMode;
4169
+ declare const context$1_ApprovalMode: typeof ApprovalMode;
4170
+ type context$1_ApprovalOptionsOneOf = ApprovalOptionsOneOf;
4091
4171
  type context$1_Asset = Asset;
4092
4172
  type context$1_AssignedFromFloatingReason = AssignedFromFloatingReason;
4093
4173
  type context$1_BaseEventMetadata = BaseEventMetadata;
@@ -4165,6 +4245,7 @@ type context$1_LocationAddress = LocationAddress;
4165
4245
  type context$1_ManualApproval = ManualApproval;
4166
4246
  type context$1_ManualApprovalValueOneOf = ManualApprovalValueOneOf;
4167
4247
  type context$1_ManualFeatureCreationReason = ManualFeatureCreationReason;
4248
+ type context$1_ManualForLargePartiesOptions = ManualForLargePartiesOptions;
4168
4249
  type context$1_MessageEnvelope = MessageEnvelope;
4169
4250
  type context$1_MetaSiteSpecialEvent = MetaSiteSpecialEvent;
4170
4251
  type context$1_MetaSiteSpecialEventPayloadOneOf = MetaSiteSpecialEventPayloadOneOf;
@@ -4188,6 +4269,7 @@ type context$1_OldPolicy = OldPolicy;
4188
4269
  type context$1_OldScheduleException = OldScheduleException;
4189
4270
  type context$1_OldScheduleInterval = OldScheduleInterval;
4190
4271
  type context$1_OldTerms = OldTerms;
4272
+ type context$1_OnOptions = OnOptions;
4191
4273
  type context$1_OnlineReservations = OnlineReservations;
4192
4274
  type context$1_Page = Page;
4193
4275
  type context$1_Paging = Paging;
@@ -4229,6 +4311,10 @@ type context$1_ServiceProvisioned = ServiceProvisioned;
4229
4311
  type context$1_ServiceRemoved = ServiceRemoved;
4230
4312
  type context$1_Set = Set;
4231
4313
  declare const context$1_Set: typeof Set;
4314
+ type context$1_Settings = Settings;
4315
+ type context$1_SettingsMode = SettingsMode;
4316
+ declare const context$1_SettingsMode: typeof SettingsMode;
4317
+ type context$1_SettingsOptionsOneOf = SettingsOptionsOneOf;
4232
4318
  type context$1_SiteCloned = SiteCloned;
4233
4319
  type context$1_SiteCreated = SiteCreated;
4234
4320
  type context$1_SiteCreatedContext = SiteCreatedContext;
@@ -4285,7 +4371,7 @@ declare const context$1_onReservationLocationUpdated: typeof onReservationLocati
4285
4371
  declare const context$1_queryReservationLocations: typeof queryReservationLocations;
4286
4372
  declare const context$1_updateReservationLocation: typeof updateReservationLocation;
4287
4373
  declare namespace context$1 {
4288
- export { type context$1_ActionEvent as ActionEvent, type context$1_Address as Address, type context$1_AddressHint as AddressHint, type context$1_AddressLocation as AddressLocation, type context$1_App as App, type context$1_Asset as Asset, type context$1_AssignedFromFloatingReason as AssignedFromFloatingReason, type context$1_BaseEventMetadata as BaseEventMetadata, type context$1_BooleanFeature as BooleanFeature, type context$1_BusinessSchedule as BusinessSchedule, type context$1_CancelRequestedReason as CancelRequestedReason, type context$1_Categories as Categories, type context$1_ChangeContext as ChangeContext, type context$1_ChangeContextPayloadOneOf as ChangeContextPayloadOneOf, type context$1_CheckReservationLocationsCreatedRequest as CheckReservationLocationsCreatedRequest, type context$1_CheckReservationLocationsCreatedResponse as CheckReservationLocationsCreatedResponse, type context$1_CommonBusinessSchedule as CommonBusinessSchedule, context$1_CommonDayOfWeek as CommonDayOfWeek, type context$1_CommonSpecialHourPeriod as CommonSpecialHourPeriod, type context$1_CommonTimePeriod as CommonTimePeriod, type context$1_Configuration as Configuration, type context$1_ConsentPolicy as ConsentPolicy, type context$1_ContractSwitchedReason as ContractSwitchedReason, type context$1_CursorPaging as CursorPaging, type context$1_CursorPagingMetadata as CursorPagingMetadata, type context$1_Cursors as Cursors, type context$1_CustomFieldDefinition as CustomFieldDefinition, context$1_DayOfWeek as DayOfWeek, type context$1_DeleteContext as DeleteContext, type context$1_DeleteOrphanReservationLocationRequest as DeleteOrphanReservationLocationRequest, type context$1_DeleteOrphanReservationLocationResponse as DeleteOrphanReservationLocationResponse, context$1_DeleteStatus as DeleteStatus, type context$1_DomainEvent as DomainEvent, type context$1_DomainEventBodyOneOf as DomainEventBodyOneOf, type context$1_EmailMarketingCheckbox as EmailMarketingCheckbox, type context$1_Empty as Empty, type context$1_EntityCreatedEvent as EntityCreatedEvent, type context$1_EntityDeletedEvent as EntityDeletedEvent, type context$1_EntityUpdatedEvent as EntityUpdatedEvent, type context$1_EventMetadata as EventMetadata, type context$1_ExtendedFields as ExtendedFields, type context$1_Feature as Feature, type context$1_FeatureCancelled as FeatureCancelled, type context$1_FeatureCancelledReasonOneOf as FeatureCancelledReasonOneOf, type context$1_FeatureContext as FeatureContext, type context$1_FeatureDisabled as FeatureDisabled, type context$1_FeatureDisabledReasonOneOf as FeatureDisabledReasonOneOf, type context$1_FeatureEnabled as FeatureEnabled, type context$1_FeatureEnabledReasonOneOf as FeatureEnabledReasonOneOf, type context$1_FeatureEvent as FeatureEvent, type context$1_FeatureEventEventOneOf as FeatureEventEventOneOf, context$1_FeaturePeriod as FeaturePeriod, type context$1_FeatureQuantityInfoOneOf as FeatureQuantityInfoOneOf, type context$1_FeatureUpdated as FeatureUpdated, type context$1_FeatureUpdatedPreviousQuantityInfoOneOf as FeatureUpdatedPreviousQuantityInfoOneOf, type context$1_FeatureUpdatedReasonOneOf as FeatureUpdatedReasonOneOf, context$1_FieldType as FieldType, type context$1_File as File, type context$1_GeoCoordinates as GeoCoordinates, type context$1_GetReservationLocationOptions as GetReservationLocationOptions, type context$1_GetReservationLocationRequest as GetReservationLocationRequest, type context$1_GetReservationLocationResponse as GetReservationLocationResponse, type context$1_GetReservationLocationResponseNonNullableFields as GetReservationLocationResponseNonNullableFields, type context$1_IdentificationData as IdentificationData, type context$1_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context$1_InvalidateCache as InvalidateCache, type context$1_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type context$1_ListReservationLocationsOptions as ListReservationLocationsOptions, type context$1_ListReservationLocationsRequest as ListReservationLocationsRequest, type context$1_ListReservationLocationsResponse as ListReservationLocationsResponse, type context$1_ListReservationLocationsResponseNonNullableFields as ListReservationLocationsResponseNonNullableFields, type context$1_Locale as Locale, type context$1_Location as Location, type context$1_LocationAddress as LocationAddress, type context$1_ManualApproval as ManualApproval, type context$1_ManualApprovalValueOneOf as ManualApprovalValueOneOf, type context$1_ManualFeatureCreationReason as ManualFeatureCreationReason, type context$1_MessageEnvelope as MessageEnvelope, type context$1_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type context$1_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, type context$1_MigrateOldRestaurantSettingsRequest as MigrateOldRestaurantSettingsRequest, type context$1_MigrateOldRestaurantSettingsResponse as MigrateOldRestaurantSettingsResponse, type context$1_MigratedFromLegacyReason as MigratedFromLegacyReason, type context$1_MigrationParsingError as MigrationParsingError, type context$1_MigrationResult as MigrationResult, context$1_Mode as Mode, type context$1_Multilingual as Multilingual, type context$1_MyReservationsField as MyReservationsField, context$1_Namespace as Namespace, type context$1_NamespaceChanged as NamespaceChanged, type context$1_NewFeatureReason as NewFeatureReason, type context$1_NoticePeriod as NoticePeriod, type context$1_OldCustomField as OldCustomField, type context$1_OldInstant as OldInstant, type context$1_OldPolicy as OldPolicy, type context$1_OldScheduleException as OldScheduleException, type context$1_OldScheduleInterval as OldScheduleInterval, type context$1_OldTerms as OldTerms, type context$1_OnlineReservations as OnlineReservations, type context$1_Page as Page, type context$1_Paging as Paging, type context$1_PagingMetadataV2 as PagingMetadataV2, type context$1_ParsedSettings as ParsedSettings, type context$1_PartiesSize as PartiesSize, type context$1_PartyPacing as PartyPacing, type context$1_PartySize as PartySize, context$1_PlacementType as PlacementType, type context$1_PrivacyPolicy as PrivacyPolicy, type context$1_PrivacyPolicyValueOneOf as PrivacyPolicyValueOneOf, type context$1_Properties as Properties, type context$1_PropertiesChange as PropertiesChange, type context$1_QueryReservationLocationsOptions as QueryReservationLocationsOptions, type context$1_QueryReservationLocationsRequest as QueryReservationLocationsRequest, type context$1_QueryReservationLocationsResponse as QueryReservationLocationsResponse, type context$1_QueryReservationLocationsResponseNonNullableFields as QueryReservationLocationsResponseNonNullableFields, type context$1_QueryV2 as QueryV2, type context$1_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type context$1_QuotaFeature as QuotaFeature, type context$1_QuotaInfo as QuotaInfo, type context$1_ReassignedFromSiteReason as ReassignedFromSiteReason, type context$1_ReassignedToAnotherSiteReason as ReassignedToAnotherSiteReason, type context$1_ReplacedByAnotherSubscriptionReason as ReplacedByAnotherSubscriptionReason, type context$1_ReservationForm as ReservationForm, type context$1_ReservationLocation as ReservationLocation, type context$1_ReservationLocationCreatedEnvelope as ReservationLocationCreatedEnvelope, type context$1_ReservationLocationNonNullableFields as ReservationLocationNonNullableFields, type context$1_ReservationLocationUpdatedEnvelope as ReservationLocationUpdatedEnvelope, type context$1_ReservationLocationsQueryBuilder as ReservationLocationsQueryBuilder, type context$1_ReservationLocationsQueryResult as ReservationLocationsQueryResult, type context$1_ReservationPayment as ReservationPayment, context$1_ResolutionMethod as ResolutionMethod, type context$1_RestoreInfo as RestoreInfo, type context$1_SeatPacing as SeatPacing, type context$1_ServiceProvisioned as ServiceProvisioned, type context$1_ServiceRemoved as ServiceRemoved, context$1_Set as Set, type context$1_SiteCloned as SiteCloned, type context$1_SiteCreated as SiteCreated, context$1_SiteCreatedContext as SiteCreatedContext, type context$1_SiteDeleted as SiteDeleted, type context$1_SiteHardDeleted as SiteHardDeleted, type context$1_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type context$1_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type context$1_SitePropertiesEvent as SitePropertiesEvent, type context$1_SitePropertiesNotification as SitePropertiesNotification, type context$1_SitePublished as SitePublished, type context$1_SiteRenamed as SiteRenamed, type context$1_SiteTransferred as SiteTransferred, type context$1_SiteUndeleted as SiteUndeleted, type context$1_SiteUnpublished as SiteUnpublished, context$1_SortOrder as SortOrder, type context$1_Sorting as Sorting, type context$1_SpecialHourPeriod as SpecialHourPeriod, context$1_State as State, type context$1_StreetAddress as StreetAddress, type context$1_StudioAssigned as StudioAssigned, type context$1_StudioUnassigned as StudioUnassigned, type context$1_SupportedLanguage as SupportedLanguage, type TableCombination$1 as TableCombination, type context$1_TableDefinition as TableDefinition, type context$1_TableManagement as TableManagement, type context$1_TablesDeleted as TablesDeleted, type context$1_TermsAndConditions as TermsAndConditions, type context$1_TermsAndConditionsValueOneOf as TermsAndConditionsValueOneOf, type context$1_TimePeriod as TimePeriod, type context$1_TransferredFromAnotherAccountReason as TransferredFromAnotherAccountReason, type context$1_TransferredToAnotherAccountReason as TransferredToAnotherAccountReason, type context$1_Translation as Translation, type context$1_TurnoverRule as TurnoverRule, type context$1_TurnoverTimeRule as TurnoverTimeRule, type context$1_URI as URI, type context$1_UnAssingedToFloatingReason as UnAssingedToFloatingReason, context$1_Unit as Unit, type context$1_UpdateReservationLocation as UpdateReservationLocation, type context$1_UpdateReservationLocationRequest as UpdateReservationLocationRequest, type context$1_UpdateReservationLocationResponse as UpdateReservationLocationResponse, type context$1_UpdateReservationLocationResponseNonNullableFields as UpdateReservationLocationResponseNonNullableFields, type context$1_V4SiteCreated as V4SiteCreated, context$1_WebhookIdentityType as WebhookIdentityType, type context$1__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 };
4374
+ export { type context$1_ActionEvent as ActionEvent, type context$1_Address as Address, type context$1_AddressHint as AddressHint, type context$1_AddressLocation as AddressLocation, type context$1_App as App, type context$1_Approval as Approval, context$1_ApprovalMode as ApprovalMode, type context$1_ApprovalOptionsOneOf as ApprovalOptionsOneOf, type context$1_Asset as Asset, type context$1_AssignedFromFloatingReason as AssignedFromFloatingReason, type context$1_BaseEventMetadata as BaseEventMetadata, type context$1_BooleanFeature as BooleanFeature, type context$1_BusinessSchedule as BusinessSchedule, type context$1_CancelRequestedReason as CancelRequestedReason, type context$1_Categories as Categories, type context$1_ChangeContext as ChangeContext, type context$1_ChangeContextPayloadOneOf as ChangeContextPayloadOneOf, type context$1_CheckReservationLocationsCreatedRequest as CheckReservationLocationsCreatedRequest, type context$1_CheckReservationLocationsCreatedResponse as CheckReservationLocationsCreatedResponse, type context$1_CommonBusinessSchedule as CommonBusinessSchedule, context$1_CommonDayOfWeek as CommonDayOfWeek, type context$1_CommonSpecialHourPeriod as CommonSpecialHourPeriod, type context$1_CommonTimePeriod as CommonTimePeriod, type context$1_Configuration as Configuration, type context$1_ConsentPolicy as ConsentPolicy, type context$1_ContractSwitchedReason as ContractSwitchedReason, type context$1_CursorPaging as CursorPaging, type context$1_CursorPagingMetadata as CursorPagingMetadata, type context$1_Cursors as Cursors, type context$1_CustomFieldDefinition as CustomFieldDefinition, context$1_DayOfWeek as DayOfWeek, type context$1_DeleteContext as DeleteContext, type context$1_DeleteOrphanReservationLocationRequest as DeleteOrphanReservationLocationRequest, type context$1_DeleteOrphanReservationLocationResponse as DeleteOrphanReservationLocationResponse, context$1_DeleteStatus as DeleteStatus, type context$1_DomainEvent as DomainEvent, type context$1_DomainEventBodyOneOf as DomainEventBodyOneOf, type context$1_EmailMarketingCheckbox as EmailMarketingCheckbox, type context$1_Empty as Empty, type context$1_EntityCreatedEvent as EntityCreatedEvent, type context$1_EntityDeletedEvent as EntityDeletedEvent, type context$1_EntityUpdatedEvent as EntityUpdatedEvent, type context$1_EventMetadata as EventMetadata, type context$1_ExtendedFields as ExtendedFields, type context$1_Feature as Feature, type context$1_FeatureCancelled as FeatureCancelled, type context$1_FeatureCancelledReasonOneOf as FeatureCancelledReasonOneOf, type context$1_FeatureContext as FeatureContext, type context$1_FeatureDisabled as FeatureDisabled, type context$1_FeatureDisabledReasonOneOf as FeatureDisabledReasonOneOf, type context$1_FeatureEnabled as FeatureEnabled, type context$1_FeatureEnabledReasonOneOf as FeatureEnabledReasonOneOf, type context$1_FeatureEvent as FeatureEvent, type context$1_FeatureEventEventOneOf as FeatureEventEventOneOf, context$1_FeaturePeriod as FeaturePeriod, type context$1_FeatureQuantityInfoOneOf as FeatureQuantityInfoOneOf, type context$1_FeatureUpdated as FeatureUpdated, type context$1_FeatureUpdatedPreviousQuantityInfoOneOf as FeatureUpdatedPreviousQuantityInfoOneOf, type context$1_FeatureUpdatedReasonOneOf as FeatureUpdatedReasonOneOf, context$1_FieldType as FieldType, type context$1_File as File, type context$1_GeoCoordinates as GeoCoordinates, type context$1_GetReservationLocationOptions as GetReservationLocationOptions, type context$1_GetReservationLocationRequest as GetReservationLocationRequest, type context$1_GetReservationLocationResponse as GetReservationLocationResponse, type context$1_GetReservationLocationResponseNonNullableFields as GetReservationLocationResponseNonNullableFields, type context$1_IdentificationData as IdentificationData, type context$1_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context$1_InvalidateCache as InvalidateCache, type context$1_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type context$1_ListReservationLocationsOptions as ListReservationLocationsOptions, type context$1_ListReservationLocationsRequest as ListReservationLocationsRequest, type context$1_ListReservationLocationsResponse as ListReservationLocationsResponse, type context$1_ListReservationLocationsResponseNonNullableFields as ListReservationLocationsResponseNonNullableFields, type context$1_Locale as Locale, type context$1_Location as Location, type context$1_LocationAddress as LocationAddress, type context$1_ManualApproval as ManualApproval, type context$1_ManualApprovalValueOneOf as ManualApprovalValueOneOf, type context$1_ManualFeatureCreationReason as ManualFeatureCreationReason, type context$1_ManualForLargePartiesOptions as ManualForLargePartiesOptions, type context$1_MessageEnvelope as MessageEnvelope, type context$1_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type context$1_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, type context$1_MigrateOldRestaurantSettingsRequest as MigrateOldRestaurantSettingsRequest, type context$1_MigrateOldRestaurantSettingsResponse as MigrateOldRestaurantSettingsResponse, type context$1_MigratedFromLegacyReason as MigratedFromLegacyReason, type context$1_MigrationParsingError as MigrationParsingError, type context$1_MigrationResult as MigrationResult, context$1_Mode as Mode, type context$1_Multilingual as Multilingual, type context$1_MyReservationsField as MyReservationsField, context$1_Namespace as Namespace, type context$1_NamespaceChanged as NamespaceChanged, type context$1_NewFeatureReason as NewFeatureReason, type context$1_NoticePeriod as NoticePeriod, type context$1_OldCustomField as OldCustomField, type context$1_OldInstant as OldInstant, type context$1_OldPolicy as OldPolicy, type context$1_OldScheduleException as OldScheduleException, type context$1_OldScheduleInterval as OldScheduleInterval, type context$1_OldTerms as OldTerms, type context$1_OnOptions as OnOptions, type context$1_OnlineReservations as OnlineReservations, type context$1_Page as Page, type context$1_Paging as Paging, type context$1_PagingMetadataV2 as PagingMetadataV2, type context$1_ParsedSettings as ParsedSettings, type context$1_PartiesSize as PartiesSize, type context$1_PartyPacing as PartyPacing, type context$1_PartySize as PartySize, context$1_PlacementType as PlacementType, type context$1_PrivacyPolicy as PrivacyPolicy, type context$1_PrivacyPolicyValueOneOf as PrivacyPolicyValueOneOf, type context$1_Properties as Properties, type context$1_PropertiesChange as PropertiesChange, type context$1_QueryReservationLocationsOptions as QueryReservationLocationsOptions, type context$1_QueryReservationLocationsRequest as QueryReservationLocationsRequest, type context$1_QueryReservationLocationsResponse as QueryReservationLocationsResponse, type context$1_QueryReservationLocationsResponseNonNullableFields as QueryReservationLocationsResponseNonNullableFields, type context$1_QueryV2 as QueryV2, type context$1_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type context$1_QuotaFeature as QuotaFeature, type context$1_QuotaInfo as QuotaInfo, type context$1_ReassignedFromSiteReason as ReassignedFromSiteReason, type context$1_ReassignedToAnotherSiteReason as ReassignedToAnotherSiteReason, type context$1_ReplacedByAnotherSubscriptionReason as ReplacedByAnotherSubscriptionReason, type context$1_ReservationForm as ReservationForm, type context$1_ReservationLocation as ReservationLocation, type context$1_ReservationLocationCreatedEnvelope as ReservationLocationCreatedEnvelope, type context$1_ReservationLocationNonNullableFields as ReservationLocationNonNullableFields, type context$1_ReservationLocationUpdatedEnvelope as ReservationLocationUpdatedEnvelope, type context$1_ReservationLocationsQueryBuilder as ReservationLocationsQueryBuilder, type context$1_ReservationLocationsQueryResult as ReservationLocationsQueryResult, type context$1_ReservationPayment as ReservationPayment, context$1_ResolutionMethod as ResolutionMethod, type context$1_RestoreInfo as RestoreInfo, type context$1_SeatPacing as SeatPacing, type context$1_ServiceProvisioned as ServiceProvisioned, type context$1_ServiceRemoved as ServiceRemoved, context$1_Set as Set, type context$1_Settings as Settings, context$1_SettingsMode as SettingsMode, type context$1_SettingsOptionsOneOf as SettingsOptionsOneOf, type context$1_SiteCloned as SiteCloned, type context$1_SiteCreated as SiteCreated, context$1_SiteCreatedContext as SiteCreatedContext, type context$1_SiteDeleted as SiteDeleted, type context$1_SiteHardDeleted as SiteHardDeleted, type context$1_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type context$1_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type context$1_SitePropertiesEvent as SitePropertiesEvent, type context$1_SitePropertiesNotification as SitePropertiesNotification, type context$1_SitePublished as SitePublished, type context$1_SiteRenamed as SiteRenamed, type context$1_SiteTransferred as SiteTransferred, type context$1_SiteUndeleted as SiteUndeleted, type context$1_SiteUnpublished as SiteUnpublished, context$1_SortOrder as SortOrder, type context$1_Sorting as Sorting, type context$1_SpecialHourPeriod as SpecialHourPeriod, context$1_State as State, type context$1_StreetAddress as StreetAddress, type context$1_StudioAssigned as StudioAssigned, type context$1_StudioUnassigned as StudioUnassigned, type context$1_SupportedLanguage as SupportedLanguage, type TableCombination$1 as TableCombination, type context$1_TableDefinition as TableDefinition, type context$1_TableManagement as TableManagement, type context$1_TablesDeleted as TablesDeleted, type context$1_TermsAndConditions as TermsAndConditions, type context$1_TermsAndConditionsValueOneOf as TermsAndConditionsValueOneOf, type context$1_TimePeriod as TimePeriod, type context$1_TransferredFromAnotherAccountReason as TransferredFromAnotherAccountReason, type context$1_TransferredToAnotherAccountReason as TransferredToAnotherAccountReason, type context$1_Translation as Translation, type context$1_TurnoverRule as TurnoverRule, type context$1_TurnoverTimeRule as TurnoverTimeRule, type context$1_URI as URI, type context$1_UnAssingedToFloatingReason as UnAssingedToFloatingReason, context$1_Unit as Unit, type context$1_UpdateReservationLocation as UpdateReservationLocation, type context$1_UpdateReservationLocationRequest as UpdateReservationLocationRequest, type context$1_UpdateReservationLocationResponse as UpdateReservationLocationResponse, type context$1_UpdateReservationLocationResponseNonNullableFields as UpdateReservationLocationResponseNonNullableFields, type context$1_V4SiteCreated as V4SiteCreated, context$1_WebhookIdentityType as WebhookIdentityType, type context$1__publicOnReservationLocationCreatedType as _publicOnReservationLocationCreatedType, type context$1__publicOnReservationLocationUpdatedType as _publicOnReservationLocationUpdatedType, context$1_getReservationLocation as getReservationLocation, context$1_listReservationLocations as listReservationLocations, context$1_onReservationLocationCreated as onReservationLocationCreated, context$1_onReservationLocationUpdated as onReservationLocationUpdated, onReservationLocationCreated$1 as publicOnReservationLocationCreated, onReservationLocationUpdated$1 as publicOnReservationLocationUpdated, context$1_queryReservationLocations as queryReservationLocations, context$1_updateReservationLocation as updateReservationLocation };
4289
4375
  }
4290
4376
 
4291
4377
  interface TimeSlot {
@@ -123,7 +123,11 @@ interface Reservation {
123
123
  * @readonly
124
124
  */
125
125
  paymentStatus?: PaymentStatus;
126
- /** Wix extended fields */
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
- /** Wix extended fields */
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
- /** Wix extended fields */
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 {
@@ -1942,6 +1954,15 @@ interface CommonSpecialHourPeriod {
1942
1954
  /** Additional details about the period. */
1943
1955
  comment?: string;
1944
1956
  }
1957
+ declare enum SettingsMode {
1958
+ UNKNOWN = "UNKNOWN",
1959
+ ON = "ON",
1960
+ OFF = "OFF"
1961
+ }
1962
+ interface OnOptions {
1963
+ /** Consider tables for calculations. */
1964
+ considerTables?: boolean | null;
1965
+ }
1945
1966
  interface TableDefinition {
1946
1967
  /**
1947
1968
  * Table ID.
@@ -1972,12 +1993,35 @@ interface TableCombination$1 {
1972
1993
  /** Whether the table combination is active (available to be reserved). */
1973
1994
  isActive?: boolean | null;
1974
1995
  }
1996
+ interface Settings extends SettingsOptionsOneOf {
1997
+ /** Manual approval for large parties options. */
1998
+ onOptions?: OnOptions;
1999
+ /** Shows if table management is on or off. */
2000
+ mode?: SettingsMode;
2001
+ }
2002
+ /** @oneof */
2003
+ interface SettingsOptionsOneOf {
2004
+ /** Manual approval for large parties options. */
2005
+ onOptions?: OnOptions;
2006
+ }
1975
2007
  declare enum Unit {
1976
2008
  UNKNOWN = "UNKNOWN",
1977
2009
  MINUTES = "MINUTES",
1978
2010
  HOURS = "HOURS",
1979
2011
  DAYS = "DAYS"
1980
2012
  }
2013
+ declare enum ApprovalMode {
2014
+ UNKNOWN = "UNKNOWN",
2015
+ AUTOMATIC = "AUTOMATIC",
2016
+ MANUAL = "MANUAL",
2017
+ MANUAL_FOR_LARGE_PARTIES = "MANUAL_FOR_LARGE_PARTIES"
2018
+ }
2019
+ interface ManualForLargePartiesOptions {
2020
+ /** The minimum party size that requires manual approval. */
2021
+ partySizeThreshold?: number | null;
2022
+ /** Use tables for manual approval part. */
2023
+ considerTablesForManualApproval?: boolean | null;
2024
+ }
1981
2025
  /**
1982
2026
  * Seat pacing.
1983
2027
  * The maximum number of seats that can be filled by new reservations within a 15-minute period.
@@ -2052,7 +2096,11 @@ interface TurnoverRule {
2052
2096
  interface ManualApproval extends ManualApprovalValueOneOf {
2053
2097
  /** The minimum party size that requires manual approval. */
2054
2098
  partySizeThreshold?: number;
2055
- /** Custom approvals provider id. */
2099
+ /**
2100
+ * Custom approvals provider id.
2101
+ * @deprecated Custom approvals provider id.
2102
+ * @targetRemovalDate 2024-12-31
2103
+ */
2056
2104
  customApprovalsProviderId?: string;
2057
2105
  /** Whether manual approval is required for online reservations. */
2058
2106
  enabled?: boolean;
@@ -2061,9 +2109,25 @@ interface ManualApproval extends ManualApprovalValueOneOf {
2061
2109
  interface ManualApprovalValueOneOf {
2062
2110
  /** The minimum party size that requires manual approval. */
2063
2111
  partySizeThreshold?: number;
2064
- /** Custom approvals provider id. */
2112
+ /**
2113
+ * Custom approvals provider id.
2114
+ * @deprecated Custom approvals provider id.
2115
+ * @targetRemovalDate 2024-12-31
2116
+ */
2065
2117
  customApprovalsProviderId?: string;
2066
2118
  }
2119
+ /** Approval settings. */
2120
+ interface Approval extends ApprovalOptionsOneOf {
2121
+ /** Manual approval for large parties options. */
2122
+ manualForLargePartiesOptions?: ManualForLargePartiesOptions;
2123
+ /** Approval mode. */
2124
+ mode?: ApprovalMode;
2125
+ }
2126
+ /** @oneof */
2127
+ interface ApprovalOptionsOneOf {
2128
+ /** Manual approval for large parties options. */
2129
+ manualForLargePartiesOptions?: ManualForLargePartiesOptions;
2130
+ }
2067
2131
  /** Type of the field. */
2068
2132
  declare enum FieldType {
2069
2133
  UNKNOWN = "UNKNOWN",
@@ -3745,6 +3809,9 @@ interface ManualApprovalNonNullableFields {
3745
3809
  customApprovalsProviderId: string;
3746
3810
  enabled: boolean;
3747
3811
  }
3812
+ interface ApprovalNonNullableFields {
3813
+ mode: ApprovalMode;
3814
+ }
3748
3815
  interface OnlineReservationsNonNullableFields {
3749
3816
  seatPacing?: SeatPacingNonNullableFields;
3750
3817
  partyPacing?: PartyPacingNonNullableFields;
@@ -3755,6 +3822,7 @@ interface OnlineReservationsNonNullableFields {
3755
3822
  turnoverRules: TurnoverRuleNonNullableFields[];
3756
3823
  businessSchedule?: CommonBusinessScheduleNonNullableFields;
3757
3824
  manualApproval?: ManualApprovalNonNullableFields;
3825
+ approval?: ApprovalNonNullableFields;
3758
3826
  }
3759
3827
  interface TermsAndConditionsNonNullableFields {
3760
3828
  url: string;
@@ -3791,10 +3859,14 @@ interface TableCombinationNonNullableFields {
3791
3859
  seatsMin: number;
3792
3860
  seatsMax: number;
3793
3861
  }
3862
+ interface SettingsNonNullableFields {
3863
+ mode: SettingsMode;
3864
+ }
3794
3865
  interface TableManagementNonNullableFields {
3795
3866
  tableDefinitions: TableDefinitionNonNullableFields[];
3796
3867
  deletedTableDefinitions: TableDefinitionNonNullableFields[];
3797
3868
  tableCombinations: TableCombinationNonNullableFields[];
3869
+ settings?: SettingsNonNullableFields;
3798
3870
  }
3799
3871
  interface ReservationPaymentNonNullableFields {
3800
3872
  value: string;
@@ -3929,7 +4001,11 @@ interface UpdateReservationLocation {
3929
4001
  * @readonly
3930
4002
  */
3931
4003
  archived?: boolean | null;
3932
- /** Wix extended fields */
4004
+ /**
4005
+ * Custom field data for the reservation location object.
4006
+ *
4007
+ * [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.
4008
+ */
3933
4009
  extendedFields?: ExtendedFields;
3934
4010
  }
3935
4011
  interface QueryReservationLocationsOptions {
@@ -4088,6 +4164,10 @@ type index_d$1_Address = Address;
4088
4164
  type index_d$1_AddressHint = AddressHint;
4089
4165
  type index_d$1_AddressLocation = AddressLocation;
4090
4166
  type index_d$1_App = App;
4167
+ type index_d$1_Approval = Approval;
4168
+ type index_d$1_ApprovalMode = ApprovalMode;
4169
+ declare const index_d$1_ApprovalMode: typeof ApprovalMode;
4170
+ type index_d$1_ApprovalOptionsOneOf = ApprovalOptionsOneOf;
4091
4171
  type index_d$1_Asset = Asset;
4092
4172
  type index_d$1_AssignedFromFloatingReason = AssignedFromFloatingReason;
4093
4173
  type index_d$1_BaseEventMetadata = BaseEventMetadata;
@@ -4165,6 +4245,7 @@ type index_d$1_LocationAddress = LocationAddress;
4165
4245
  type index_d$1_ManualApproval = ManualApproval;
4166
4246
  type index_d$1_ManualApprovalValueOneOf = ManualApprovalValueOneOf;
4167
4247
  type index_d$1_ManualFeatureCreationReason = ManualFeatureCreationReason;
4248
+ type index_d$1_ManualForLargePartiesOptions = ManualForLargePartiesOptions;
4168
4249
  type index_d$1_MessageEnvelope = MessageEnvelope;
4169
4250
  type index_d$1_MetaSiteSpecialEvent = MetaSiteSpecialEvent;
4170
4251
  type index_d$1_MetaSiteSpecialEventPayloadOneOf = MetaSiteSpecialEventPayloadOneOf;
@@ -4188,6 +4269,7 @@ type index_d$1_OldPolicy = OldPolicy;
4188
4269
  type index_d$1_OldScheduleException = OldScheduleException;
4189
4270
  type index_d$1_OldScheduleInterval = OldScheduleInterval;
4190
4271
  type index_d$1_OldTerms = OldTerms;
4272
+ type index_d$1_OnOptions = OnOptions;
4191
4273
  type index_d$1_OnlineReservations = OnlineReservations;
4192
4274
  type index_d$1_Page = Page;
4193
4275
  type index_d$1_Paging = Paging;
@@ -4229,6 +4311,10 @@ type index_d$1_ServiceProvisioned = ServiceProvisioned;
4229
4311
  type index_d$1_ServiceRemoved = ServiceRemoved;
4230
4312
  type index_d$1_Set = Set;
4231
4313
  declare const index_d$1_Set: typeof Set;
4314
+ type index_d$1_Settings = Settings;
4315
+ type index_d$1_SettingsMode = SettingsMode;
4316
+ declare const index_d$1_SettingsMode: typeof SettingsMode;
4317
+ type index_d$1_SettingsOptionsOneOf = SettingsOptionsOneOf;
4232
4318
  type index_d$1_SiteCloned = SiteCloned;
4233
4319
  type index_d$1_SiteCreated = SiteCreated;
4234
4320
  type index_d$1_SiteCreatedContext = SiteCreatedContext;
@@ -4285,7 +4371,7 @@ declare const index_d$1_onReservationLocationUpdated: typeof onReservationLocati
4285
4371
  declare const index_d$1_queryReservationLocations: typeof queryReservationLocations;
4286
4372
  declare const index_d$1_updateReservationLocation: typeof updateReservationLocation;
4287
4373
  declare namespace index_d$1 {
4288
- 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_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_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_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_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 };
4374
+ export { type index_d$1_ActionEvent as ActionEvent, type index_d$1_Address as Address, type index_d$1_AddressHint as AddressHint, type index_d$1_AddressLocation as AddressLocation, type index_d$1_App as App, type index_d$1_Approval as Approval, index_d$1_ApprovalMode as ApprovalMode, type index_d$1_ApprovalOptionsOneOf as ApprovalOptionsOneOf, type index_d$1_Asset as Asset, type index_d$1_AssignedFromFloatingReason as AssignedFromFloatingReason, type index_d$1_BaseEventMetadata as BaseEventMetadata, type index_d$1_BooleanFeature as BooleanFeature, type index_d$1_BusinessSchedule as BusinessSchedule, type index_d$1_CancelRequestedReason as CancelRequestedReason, type index_d$1_Categories as Categories, type index_d$1_ChangeContext as ChangeContext, type index_d$1_ChangeContextPayloadOneOf as ChangeContextPayloadOneOf, type index_d$1_CheckReservationLocationsCreatedRequest as CheckReservationLocationsCreatedRequest, type index_d$1_CheckReservationLocationsCreatedResponse as CheckReservationLocationsCreatedResponse, type index_d$1_CommonBusinessSchedule as CommonBusinessSchedule, index_d$1_CommonDayOfWeek as CommonDayOfWeek, type index_d$1_CommonSpecialHourPeriod as CommonSpecialHourPeriod, type index_d$1_CommonTimePeriod as CommonTimePeriod, type index_d$1_Configuration as Configuration, type index_d$1_ConsentPolicy as ConsentPolicy, type index_d$1_ContractSwitchedReason as ContractSwitchedReason, type index_d$1_CursorPaging as CursorPaging, type index_d$1_CursorPagingMetadata as CursorPagingMetadata, type index_d$1_Cursors as Cursors, type index_d$1_CustomFieldDefinition as CustomFieldDefinition, index_d$1_DayOfWeek as DayOfWeek, type index_d$1_DeleteContext as DeleteContext, type index_d$1_DeleteOrphanReservationLocationRequest as DeleteOrphanReservationLocationRequest, type index_d$1_DeleteOrphanReservationLocationResponse as DeleteOrphanReservationLocationResponse, index_d$1_DeleteStatus as DeleteStatus, type index_d$1_DomainEvent as DomainEvent, type index_d$1_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d$1_EmailMarketingCheckbox as EmailMarketingCheckbox, type index_d$1_Empty as Empty, type index_d$1_EntityCreatedEvent as EntityCreatedEvent, type index_d$1_EntityDeletedEvent as EntityDeletedEvent, type index_d$1_EntityUpdatedEvent as EntityUpdatedEvent, type index_d$1_EventMetadata as EventMetadata, type index_d$1_ExtendedFields as ExtendedFields, type index_d$1_Feature as Feature, type index_d$1_FeatureCancelled as FeatureCancelled, type index_d$1_FeatureCancelledReasonOneOf as FeatureCancelledReasonOneOf, type index_d$1_FeatureContext as FeatureContext, type index_d$1_FeatureDisabled as FeatureDisabled, type index_d$1_FeatureDisabledReasonOneOf as FeatureDisabledReasonOneOf, type index_d$1_FeatureEnabled as FeatureEnabled, type index_d$1_FeatureEnabledReasonOneOf as FeatureEnabledReasonOneOf, type index_d$1_FeatureEvent as FeatureEvent, type index_d$1_FeatureEventEventOneOf as FeatureEventEventOneOf, index_d$1_FeaturePeriod as FeaturePeriod, type index_d$1_FeatureQuantityInfoOneOf as FeatureQuantityInfoOneOf, type index_d$1_FeatureUpdated as FeatureUpdated, type index_d$1_FeatureUpdatedPreviousQuantityInfoOneOf as FeatureUpdatedPreviousQuantityInfoOneOf, type index_d$1_FeatureUpdatedReasonOneOf as FeatureUpdatedReasonOneOf, index_d$1_FieldType as FieldType, type index_d$1_File as File, type index_d$1_GeoCoordinates as GeoCoordinates, type index_d$1_GetReservationLocationOptions as GetReservationLocationOptions, type index_d$1_GetReservationLocationRequest as GetReservationLocationRequest, type index_d$1_GetReservationLocationResponse as GetReservationLocationResponse, type index_d$1_GetReservationLocationResponseNonNullableFields as GetReservationLocationResponseNonNullableFields, type index_d$1_IdentificationData as IdentificationData, type index_d$1_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d$1_InvalidateCache as InvalidateCache, type index_d$1_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type index_d$1_ListReservationLocationsOptions as ListReservationLocationsOptions, type index_d$1_ListReservationLocationsRequest as ListReservationLocationsRequest, type index_d$1_ListReservationLocationsResponse as ListReservationLocationsResponse, type index_d$1_ListReservationLocationsResponseNonNullableFields as ListReservationLocationsResponseNonNullableFields, type index_d$1_Locale as Locale, type index_d$1_Location as Location, type index_d$1_LocationAddress as LocationAddress, type index_d$1_ManualApproval as ManualApproval, type index_d$1_ManualApprovalValueOneOf as ManualApprovalValueOneOf, type index_d$1_ManualFeatureCreationReason as ManualFeatureCreationReason, type index_d$1_ManualForLargePartiesOptions as ManualForLargePartiesOptions, type index_d$1_MessageEnvelope as MessageEnvelope, type index_d$1_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d$1_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, type index_d$1_MigrateOldRestaurantSettingsRequest as MigrateOldRestaurantSettingsRequest, type index_d$1_MigrateOldRestaurantSettingsResponse as MigrateOldRestaurantSettingsResponse, type index_d$1_MigratedFromLegacyReason as MigratedFromLegacyReason, type index_d$1_MigrationParsingError as MigrationParsingError, type index_d$1_MigrationResult as MigrationResult, index_d$1_Mode as Mode, type index_d$1_Multilingual as Multilingual, type index_d$1_MyReservationsField as MyReservationsField, index_d$1_Namespace as Namespace, type index_d$1_NamespaceChanged as NamespaceChanged, type index_d$1_NewFeatureReason as NewFeatureReason, type index_d$1_NoticePeriod as NoticePeriod, type index_d$1_OldCustomField as OldCustomField, type index_d$1_OldInstant as OldInstant, type index_d$1_OldPolicy as OldPolicy, type index_d$1_OldScheduleException as OldScheduleException, type index_d$1_OldScheduleInterval as OldScheduleInterval, type index_d$1_OldTerms as OldTerms, type index_d$1_OnOptions as OnOptions, type index_d$1_OnlineReservations as OnlineReservations, type index_d$1_Page as Page, type index_d$1_Paging as Paging, type index_d$1_PagingMetadataV2 as PagingMetadataV2, type index_d$1_ParsedSettings as ParsedSettings, type index_d$1_PartiesSize as PartiesSize, type index_d$1_PartyPacing as PartyPacing, type index_d$1_PartySize as PartySize, index_d$1_PlacementType as PlacementType, type index_d$1_PrivacyPolicy as PrivacyPolicy, type index_d$1_PrivacyPolicyValueOneOf as PrivacyPolicyValueOneOf, type index_d$1_Properties as Properties, type index_d$1_PropertiesChange as PropertiesChange, type index_d$1_QueryReservationLocationsOptions as QueryReservationLocationsOptions, type index_d$1_QueryReservationLocationsRequest as QueryReservationLocationsRequest, type index_d$1_QueryReservationLocationsResponse as QueryReservationLocationsResponse, type index_d$1_QueryReservationLocationsResponseNonNullableFields as QueryReservationLocationsResponseNonNullableFields, type index_d$1_QueryV2 as QueryV2, type index_d$1_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d$1_QuotaFeature as QuotaFeature, type index_d$1_QuotaInfo as QuotaInfo, type index_d$1_ReassignedFromSiteReason as ReassignedFromSiteReason, type index_d$1_ReassignedToAnotherSiteReason as ReassignedToAnotherSiteReason, type index_d$1_ReplacedByAnotherSubscriptionReason as ReplacedByAnotherSubscriptionReason, type index_d$1_ReservationForm as ReservationForm, type index_d$1_ReservationLocation as ReservationLocation, type index_d$1_ReservationLocationCreatedEnvelope as ReservationLocationCreatedEnvelope, type index_d$1_ReservationLocationNonNullableFields as ReservationLocationNonNullableFields, type index_d$1_ReservationLocationUpdatedEnvelope as ReservationLocationUpdatedEnvelope, type index_d$1_ReservationLocationsQueryBuilder as ReservationLocationsQueryBuilder, type index_d$1_ReservationLocationsQueryResult as ReservationLocationsQueryResult, type index_d$1_ReservationPayment as ReservationPayment, index_d$1_ResolutionMethod as ResolutionMethod, type index_d$1_RestoreInfo as RestoreInfo, type index_d$1_SeatPacing as SeatPacing, type index_d$1_ServiceProvisioned as ServiceProvisioned, type index_d$1_ServiceRemoved as ServiceRemoved, index_d$1_Set as Set, type index_d$1_Settings as Settings, index_d$1_SettingsMode as SettingsMode, type index_d$1_SettingsOptionsOneOf as SettingsOptionsOneOf, type index_d$1_SiteCloned as SiteCloned, type index_d$1_SiteCreated as SiteCreated, index_d$1_SiteCreatedContext as SiteCreatedContext, type index_d$1_SiteDeleted as SiteDeleted, type index_d$1_SiteHardDeleted as SiteHardDeleted, type index_d$1_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d$1_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d$1_SitePropertiesEvent as SitePropertiesEvent, type index_d$1_SitePropertiesNotification as SitePropertiesNotification, type index_d$1_SitePublished as SitePublished, type index_d$1_SiteRenamed as SiteRenamed, type index_d$1_SiteTransferred as SiteTransferred, type index_d$1_SiteUndeleted as SiteUndeleted, type index_d$1_SiteUnpublished as SiteUnpublished, index_d$1_SortOrder as SortOrder, type index_d$1_Sorting as Sorting, type index_d$1_SpecialHourPeriod as SpecialHourPeriod, index_d$1_State as State, type index_d$1_StreetAddress as StreetAddress, type index_d$1_StudioAssigned as StudioAssigned, type index_d$1_StudioUnassigned as StudioUnassigned, type index_d$1_SupportedLanguage as SupportedLanguage, type TableCombination$1 as TableCombination, type index_d$1_TableDefinition as TableDefinition, type index_d$1_TableManagement as TableManagement, type index_d$1_TablesDeleted as TablesDeleted, type index_d$1_TermsAndConditions as TermsAndConditions, type index_d$1_TermsAndConditionsValueOneOf as TermsAndConditionsValueOneOf, type index_d$1_TimePeriod as TimePeriod, type index_d$1_TransferredFromAnotherAccountReason as TransferredFromAnotherAccountReason, type index_d$1_TransferredToAnotherAccountReason as TransferredToAnotherAccountReason, type index_d$1_Translation as Translation, type index_d$1_TurnoverRule as TurnoverRule, type index_d$1_TurnoverTimeRule as TurnoverTimeRule, type index_d$1_URI as URI, type index_d$1_UnAssingedToFloatingReason as UnAssingedToFloatingReason, index_d$1_Unit as Unit, type index_d$1_UpdateReservationLocation as UpdateReservationLocation, type index_d$1_UpdateReservationLocationRequest as UpdateReservationLocationRequest, type index_d$1_UpdateReservationLocationResponse as UpdateReservationLocationResponse, type index_d$1_UpdateReservationLocationResponseNonNullableFields as UpdateReservationLocationResponseNonNullableFields, type index_d$1_V4SiteCreated as V4SiteCreated, index_d$1_WebhookIdentityType as WebhookIdentityType, type index_d$1__publicOnReservationLocationCreatedType as _publicOnReservationLocationCreatedType, type index_d$1__publicOnReservationLocationUpdatedType as _publicOnReservationLocationUpdatedType, index_d$1_getReservationLocation as getReservationLocation, index_d$1_listReservationLocations as listReservationLocations, index_d$1_onReservationLocationCreated as onReservationLocationCreated, index_d$1_onReservationLocationUpdated as onReservationLocationUpdated, onReservationLocationCreated$1 as publicOnReservationLocationCreated, onReservationLocationUpdated$1 as publicOnReservationLocationUpdated, index_d$1_queryReservationLocations as queryReservationLocations, index_d$1_updateReservationLocation as updateReservationLocation };
4289
4375
  }
4290
4376
 
4291
4377
  interface TimeSlot {
@@ -77,7 +77,11 @@ interface Reservation$1 {
77
77
  * @readonly
78
78
  */
79
79
  paymentStatus?: PaymentStatus$1;
80
- /** Wix extended fields */
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
- /** Wix extended fields */
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
- /** Wix extended fields */
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
  /**
@@ -2049,6 +2061,11 @@ interface CommonSpecialHourPeriod$1 {
2049
2061
  /** Additional details about the period. */
2050
2062
  comment?: string;
2051
2063
  }
2064
+ declare enum SettingsMode$1 {
2065
+ UNKNOWN = "UNKNOWN",
2066
+ ON = "ON",
2067
+ OFF = "OFF"
2068
+ }
2052
2069
  interface TableDefinition$1 {
2053
2070
  /**
2054
2071
  * Table ID.
@@ -2085,6 +2102,12 @@ declare enum Unit$1 {
2085
2102
  HOURS = "HOURS",
2086
2103
  DAYS = "DAYS"
2087
2104
  }
2105
+ declare enum ApprovalMode$1 {
2106
+ UNKNOWN = "UNKNOWN",
2107
+ AUTOMATIC = "AUTOMATIC",
2108
+ MANUAL = "MANUAL",
2109
+ MANUAL_FOR_LARGE_PARTIES = "MANUAL_FOR_LARGE_PARTIES"
2110
+ }
2088
2111
  /**
2089
2112
  * Seat pacing.
2090
2113
  * The maximum number of seats that can be filled by new reservations within a 15-minute period.
@@ -2138,7 +2161,11 @@ interface TurnoverTimeRule$1 {
2138
2161
  interface ManualApproval$1 extends ManualApprovalValueOneOf$1 {
2139
2162
  /** The minimum party size that requires manual approval. */
2140
2163
  partySizeThreshold?: number;
2141
- /** Custom approvals provider id. */
2164
+ /**
2165
+ * Custom approvals provider id.
2166
+ * @deprecated Custom approvals provider id.
2167
+ * @targetRemovalDate 2024-12-31
2168
+ */
2142
2169
  customApprovalsProviderId?: string;
2143
2170
  /** Whether manual approval is required for online reservations. */
2144
2171
  enabled?: boolean;
@@ -2147,7 +2174,11 @@ interface ManualApproval$1 extends ManualApprovalValueOneOf$1 {
2147
2174
  interface ManualApprovalValueOneOf$1 {
2148
2175
  /** The minimum party size that requires manual approval. */
2149
2176
  partySizeThreshold?: number;
2150
- /** Custom approvals provider id. */
2177
+ /**
2178
+ * Custom approvals provider id.
2179
+ * @deprecated Custom approvals provider id.
2180
+ * @targetRemovalDate 2024-12-31
2181
+ */
2151
2182
  customApprovalsProviderId?: string;
2152
2183
  }
2153
2184
  /** Type of the field. */
@@ -2601,6 +2632,9 @@ interface ManualApprovalNonNullableFields$1 {
2601
2632
  customApprovalsProviderId: string;
2602
2633
  enabled: boolean;
2603
2634
  }
2635
+ interface ApprovalNonNullableFields$1 {
2636
+ mode: ApprovalMode$1;
2637
+ }
2604
2638
  interface OnlineReservationsNonNullableFields$1 {
2605
2639
  seatPacing?: SeatPacingNonNullableFields$1;
2606
2640
  partyPacing?: PartyPacingNonNullableFields$1;
@@ -2611,6 +2645,7 @@ interface OnlineReservationsNonNullableFields$1 {
2611
2645
  turnoverRules: TurnoverRuleNonNullableFields$1[];
2612
2646
  businessSchedule?: CommonBusinessScheduleNonNullableFields$1;
2613
2647
  manualApproval?: ManualApprovalNonNullableFields$1;
2648
+ approval?: ApprovalNonNullableFields$1;
2614
2649
  }
2615
2650
  interface PageUrlV2NonNullableFields {
2616
2651
  relativePath: string;
@@ -2650,10 +2685,14 @@ interface TableCombinationNonNullableFields$1 {
2650
2685
  seatsMin: number;
2651
2686
  seatsMax: number;
2652
2687
  }
2688
+ interface SettingsNonNullableFields$1 {
2689
+ mode: SettingsMode$1;
2690
+ }
2653
2691
  interface TableManagementNonNullableFields$1 {
2654
2692
  tableDefinitions: TableDefinitionNonNullableFields$1[];
2655
2693
  deletedTableDefinitions: TableDefinitionNonNullableFields$1[];
2656
2694
  tableCombinations: TableCombinationNonNullableFields$1[];
2695
+ settings?: SettingsNonNullableFields$1;
2657
2696
  }
2658
2697
  interface ReservationPaymentNonNullableFields$1 {
2659
2698
  value: string;
@@ -2721,7 +2760,11 @@ interface ReservationLocation {
2721
2760
  * @readonly
2722
2761
  */
2723
2762
  archived?: boolean | null;
2724
- /** Wix extended fields */
2763
+ /**
2764
+ * Custom field data for the reservation location object.
2765
+ *
2766
+ * [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.
2767
+ */
2725
2768
  extendedFields?: ExtendedFields;
2726
2769
  }
2727
2770
  /**
@@ -2783,6 +2826,11 @@ interface CommonSpecialHourPeriod {
2783
2826
  /** Additional details about the period. */
2784
2827
  comment?: string;
2785
2828
  }
2829
+ declare enum SettingsMode {
2830
+ UNKNOWN = "UNKNOWN",
2831
+ ON = "ON",
2832
+ OFF = "OFF"
2833
+ }
2786
2834
  interface TableDefinition {
2787
2835
  /**
2788
2836
  * Table ID.
@@ -2819,6 +2867,12 @@ declare enum Unit {
2819
2867
  HOURS = "HOURS",
2820
2868
  DAYS = "DAYS"
2821
2869
  }
2870
+ declare enum ApprovalMode {
2871
+ UNKNOWN = "UNKNOWN",
2872
+ AUTOMATIC = "AUTOMATIC",
2873
+ MANUAL = "MANUAL",
2874
+ MANUAL_FOR_LARGE_PARTIES = "MANUAL_FOR_LARGE_PARTIES"
2875
+ }
2822
2876
  /**
2823
2877
  * Seat pacing.
2824
2878
  * The maximum number of seats that can be filled by new reservations within a 15-minute period.
@@ -2877,7 +2931,11 @@ interface TurnoverTimeRule {
2877
2931
  interface ManualApproval extends ManualApprovalValueOneOf {
2878
2932
  /** The minimum party size that requires manual approval. */
2879
2933
  partySizeThreshold?: number;
2880
- /** Custom approvals provider id. */
2934
+ /**
2935
+ * Custom approvals provider id.
2936
+ * @deprecated Custom approvals provider id.
2937
+ * @targetRemovalDate 2024-12-31
2938
+ */
2881
2939
  customApprovalsProviderId?: string;
2882
2940
  /** Whether manual approval is required for online reservations. */
2883
2941
  enabled?: boolean;
@@ -2886,7 +2944,11 @@ interface ManualApproval extends ManualApprovalValueOneOf {
2886
2944
  interface ManualApprovalValueOneOf {
2887
2945
  /** The minimum party size that requires manual approval. */
2888
2946
  partySizeThreshold?: number;
2889
- /** Custom approvals provider id. */
2947
+ /**
2948
+ * Custom approvals provider id.
2949
+ * @deprecated Custom approvals provider id.
2950
+ * @targetRemovalDate 2024-12-31
2951
+ */
2890
2952
  customApprovalsProviderId?: string;
2891
2953
  }
2892
2954
  /** Type of the field. */
@@ -3334,6 +3396,9 @@ interface ManualApprovalNonNullableFields {
3334
3396
  customApprovalsProviderId: string;
3335
3397
  enabled: boolean;
3336
3398
  }
3399
+ interface ApprovalNonNullableFields {
3400
+ mode: ApprovalMode;
3401
+ }
3337
3402
  interface OnlineReservationsNonNullableFields {
3338
3403
  seatPacing?: SeatPacingNonNullableFields;
3339
3404
  partyPacing?: PartyPacingNonNullableFields;
@@ -3344,6 +3409,7 @@ interface OnlineReservationsNonNullableFields {
3344
3409
  turnoverRules: TurnoverRuleNonNullableFields[];
3345
3410
  businessSchedule?: CommonBusinessScheduleNonNullableFields;
3346
3411
  manualApproval?: ManualApprovalNonNullableFields;
3412
+ approval?: ApprovalNonNullableFields;
3347
3413
  }
3348
3414
  interface TermsAndConditionsNonNullableFields {
3349
3415
  url: string;
@@ -3380,10 +3446,14 @@ interface TableCombinationNonNullableFields {
3380
3446
  seatsMin: number;
3381
3447
  seatsMax: number;
3382
3448
  }
3449
+ interface SettingsNonNullableFields {
3450
+ mode: SettingsMode;
3451
+ }
3383
3452
  interface TableManagementNonNullableFields {
3384
3453
  tableDefinitions: TableDefinitionNonNullableFields[];
3385
3454
  deletedTableDefinitions: TableDefinitionNonNullableFields[];
3386
3455
  tableCombinations: TableCombinationNonNullableFields[];
3456
+ settings?: SettingsNonNullableFields;
3387
3457
  }
3388
3458
  interface ReservationPaymentNonNullableFields {
3389
3459
  value: string;