@wix/table-reservations 1.0.131 → 1.0.132

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.132",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -18,7 +18,7 @@
18
18
  "type-bundles"
19
19
  ],
20
20
  "dependencies": {
21
- "@wix/table-reservations_reservation-locations": "1.0.48",
21
+ "@wix/table-reservations_reservation-locations": "1.0.49",
22
22
  "@wix/table-reservations_reservations": "1.0.44",
23
23
  "@wix/table-reservations_time-slots": "1.0.42"
24
24
  },
@@ -45,5 +45,5 @@
45
45
  "fqdn": ""
46
46
  }
47
47
  },
48
- "falconPackageHash": "3e958931c768788a2c2d5d4982000b80e70e9a6b783dae0b72b343c5"
48
+ "falconPackageHash": "42159320c6788b8ef68d8c4ae06188a48808a8aabb024a2d34efb7ea"
49
49
  }
@@ -1942,6 +1942,15 @@ interface CommonSpecialHourPeriod {
1942
1942
  /** Additional details about the period. */
1943
1943
  comment?: string;
1944
1944
  }
1945
+ declare enum SettingsMode {
1946
+ UNKNOWN = "UNKNOWN",
1947
+ ON = "ON",
1948
+ OFF = "OFF"
1949
+ }
1950
+ interface OnOptions {
1951
+ /** Consider tables for calculations. */
1952
+ considerTables?: boolean | null;
1953
+ }
1945
1954
  interface TableDefinition {
1946
1955
  /**
1947
1956
  * Table ID.
@@ -1972,12 +1981,35 @@ interface TableCombination$1 {
1972
1981
  /** Whether the table combination is active (available to be reserved). */
1973
1982
  isActive?: boolean | null;
1974
1983
  }
1984
+ interface Settings extends SettingsOptionsOneOf {
1985
+ /** Manual approval for large parties options. */
1986
+ onOptions?: OnOptions;
1987
+ /** Shows if table management is on or off. */
1988
+ mode?: SettingsMode;
1989
+ }
1990
+ /** @oneof */
1991
+ interface SettingsOptionsOneOf {
1992
+ /** Manual approval for large parties options. */
1993
+ onOptions?: OnOptions;
1994
+ }
1975
1995
  declare enum Unit {
1976
1996
  UNKNOWN = "UNKNOWN",
1977
1997
  MINUTES = "MINUTES",
1978
1998
  HOURS = "HOURS",
1979
1999
  DAYS = "DAYS"
1980
2000
  }
2001
+ declare enum ApprovalMode {
2002
+ UNKNOWN = "UNKNOWN",
2003
+ AUTOMATIC = "AUTOMATIC",
2004
+ MANUAL = "MANUAL",
2005
+ MANUAL_FOR_LARGE_PARTIES = "MANUAL_FOR_LARGE_PARTIES"
2006
+ }
2007
+ interface ManualForLargePartiesOptions {
2008
+ /** The minimum party size that requires manual approval. */
2009
+ partySizeThreshold?: number | null;
2010
+ /** Use tables for manual approval part. */
2011
+ considerTablesForManualApproval?: boolean | null;
2012
+ }
1981
2013
  /**
1982
2014
  * Seat pacing.
1983
2015
  * The maximum number of seats that can be filled by new reservations within a 15-minute period.
@@ -2052,7 +2084,11 @@ interface TurnoverRule {
2052
2084
  interface ManualApproval extends ManualApprovalValueOneOf {
2053
2085
  /** The minimum party size that requires manual approval. */
2054
2086
  partySizeThreshold?: number;
2055
- /** Custom approvals provider id. */
2087
+ /**
2088
+ * Custom approvals provider id.
2089
+ * @deprecated Custom approvals provider id.
2090
+ * @targetRemovalDate 2024-12-31
2091
+ */
2056
2092
  customApprovalsProviderId?: string;
2057
2093
  /** Whether manual approval is required for online reservations. */
2058
2094
  enabled?: boolean;
@@ -2061,9 +2097,25 @@ interface ManualApproval extends ManualApprovalValueOneOf {
2061
2097
  interface ManualApprovalValueOneOf {
2062
2098
  /** The minimum party size that requires manual approval. */
2063
2099
  partySizeThreshold?: number;
2064
- /** Custom approvals provider id. */
2100
+ /**
2101
+ * Custom approvals provider id.
2102
+ * @deprecated Custom approvals provider id.
2103
+ * @targetRemovalDate 2024-12-31
2104
+ */
2065
2105
  customApprovalsProviderId?: string;
2066
2106
  }
2107
+ /** Approval settings. */
2108
+ interface Approval extends ApprovalOptionsOneOf {
2109
+ /** Manual approval for large parties options. */
2110
+ manualForLargePartiesOptions?: ManualForLargePartiesOptions;
2111
+ /** Approval mode. */
2112
+ mode?: ApprovalMode;
2113
+ }
2114
+ /** @oneof */
2115
+ interface ApprovalOptionsOneOf {
2116
+ /** Manual approval for large parties options. */
2117
+ manualForLargePartiesOptions?: ManualForLargePartiesOptions;
2118
+ }
2067
2119
  /** Type of the field. */
2068
2120
  declare enum FieldType {
2069
2121
  UNKNOWN = "UNKNOWN",
@@ -3745,6 +3797,9 @@ interface ManualApprovalNonNullableFields {
3745
3797
  customApprovalsProviderId: string;
3746
3798
  enabled: boolean;
3747
3799
  }
3800
+ interface ApprovalNonNullableFields {
3801
+ mode: ApprovalMode;
3802
+ }
3748
3803
  interface OnlineReservationsNonNullableFields {
3749
3804
  seatPacing?: SeatPacingNonNullableFields;
3750
3805
  partyPacing?: PartyPacingNonNullableFields;
@@ -3755,6 +3810,7 @@ interface OnlineReservationsNonNullableFields {
3755
3810
  turnoverRules: TurnoverRuleNonNullableFields[];
3756
3811
  businessSchedule?: CommonBusinessScheduleNonNullableFields;
3757
3812
  manualApproval?: ManualApprovalNonNullableFields;
3813
+ approval?: ApprovalNonNullableFields;
3758
3814
  }
3759
3815
  interface TermsAndConditionsNonNullableFields {
3760
3816
  url: string;
@@ -3791,10 +3847,14 @@ interface TableCombinationNonNullableFields {
3791
3847
  seatsMin: number;
3792
3848
  seatsMax: number;
3793
3849
  }
3850
+ interface SettingsNonNullableFields {
3851
+ mode: SettingsMode;
3852
+ }
3794
3853
  interface TableManagementNonNullableFields {
3795
3854
  tableDefinitions: TableDefinitionNonNullableFields[];
3796
3855
  deletedTableDefinitions: TableDefinitionNonNullableFields[];
3797
3856
  tableCombinations: TableCombinationNonNullableFields[];
3857
+ settings?: SettingsNonNullableFields;
3798
3858
  }
3799
3859
  interface ReservationPaymentNonNullableFields {
3800
3860
  value: string;
@@ -4088,6 +4148,10 @@ type context$1_Address = Address;
4088
4148
  type context$1_AddressHint = AddressHint;
4089
4149
  type context$1_AddressLocation = AddressLocation;
4090
4150
  type context$1_App = App;
4151
+ type context$1_Approval = Approval;
4152
+ type context$1_ApprovalMode = ApprovalMode;
4153
+ declare const context$1_ApprovalMode: typeof ApprovalMode;
4154
+ type context$1_ApprovalOptionsOneOf = ApprovalOptionsOneOf;
4091
4155
  type context$1_Asset = Asset;
4092
4156
  type context$1_AssignedFromFloatingReason = AssignedFromFloatingReason;
4093
4157
  type context$1_BaseEventMetadata = BaseEventMetadata;
@@ -4165,6 +4229,7 @@ type context$1_LocationAddress = LocationAddress;
4165
4229
  type context$1_ManualApproval = ManualApproval;
4166
4230
  type context$1_ManualApprovalValueOneOf = ManualApprovalValueOneOf;
4167
4231
  type context$1_ManualFeatureCreationReason = ManualFeatureCreationReason;
4232
+ type context$1_ManualForLargePartiesOptions = ManualForLargePartiesOptions;
4168
4233
  type context$1_MessageEnvelope = MessageEnvelope;
4169
4234
  type context$1_MetaSiteSpecialEvent = MetaSiteSpecialEvent;
4170
4235
  type context$1_MetaSiteSpecialEventPayloadOneOf = MetaSiteSpecialEventPayloadOneOf;
@@ -4188,6 +4253,7 @@ type context$1_OldPolicy = OldPolicy;
4188
4253
  type context$1_OldScheduleException = OldScheduleException;
4189
4254
  type context$1_OldScheduleInterval = OldScheduleInterval;
4190
4255
  type context$1_OldTerms = OldTerms;
4256
+ type context$1_OnOptions = OnOptions;
4191
4257
  type context$1_OnlineReservations = OnlineReservations;
4192
4258
  type context$1_Page = Page;
4193
4259
  type context$1_Paging = Paging;
@@ -4229,6 +4295,10 @@ type context$1_ServiceProvisioned = ServiceProvisioned;
4229
4295
  type context$1_ServiceRemoved = ServiceRemoved;
4230
4296
  type context$1_Set = Set;
4231
4297
  declare const context$1_Set: typeof Set;
4298
+ type context$1_Settings = Settings;
4299
+ type context$1_SettingsMode = SettingsMode;
4300
+ declare const context$1_SettingsMode: typeof SettingsMode;
4301
+ type context$1_SettingsOptionsOneOf = SettingsOptionsOneOf;
4232
4302
  type context$1_SiteCloned = SiteCloned;
4233
4303
  type context$1_SiteCreated = SiteCreated;
4234
4304
  type context$1_SiteCreatedContext = SiteCreatedContext;
@@ -4285,7 +4355,7 @@ declare const context$1_onReservationLocationUpdated: typeof onReservationLocati
4285
4355
  declare const context$1_queryReservationLocations: typeof queryReservationLocations;
4286
4356
  declare const context$1_updateReservationLocation: typeof updateReservationLocation;
4287
4357
  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 };
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 };
4289
4359
  }
4290
4360
 
4291
4361
  interface TimeSlot {
@@ -1942,6 +1942,15 @@ interface CommonSpecialHourPeriod {
1942
1942
  /** Additional details about the period. */
1943
1943
  comment?: string;
1944
1944
  }
1945
+ declare enum SettingsMode {
1946
+ UNKNOWN = "UNKNOWN",
1947
+ ON = "ON",
1948
+ OFF = "OFF"
1949
+ }
1950
+ interface OnOptions {
1951
+ /** Consider tables for calculations. */
1952
+ considerTables?: boolean | null;
1953
+ }
1945
1954
  interface TableDefinition {
1946
1955
  /**
1947
1956
  * Table ID.
@@ -1972,12 +1981,35 @@ interface TableCombination$1 {
1972
1981
  /** Whether the table combination is active (available to be reserved). */
1973
1982
  isActive?: boolean | null;
1974
1983
  }
1984
+ interface Settings extends SettingsOptionsOneOf {
1985
+ /** Manual approval for large parties options. */
1986
+ onOptions?: OnOptions;
1987
+ /** Shows if table management is on or off. */
1988
+ mode?: SettingsMode;
1989
+ }
1990
+ /** @oneof */
1991
+ interface SettingsOptionsOneOf {
1992
+ /** Manual approval for large parties options. */
1993
+ onOptions?: OnOptions;
1994
+ }
1975
1995
  declare enum Unit {
1976
1996
  UNKNOWN = "UNKNOWN",
1977
1997
  MINUTES = "MINUTES",
1978
1998
  HOURS = "HOURS",
1979
1999
  DAYS = "DAYS"
1980
2000
  }
2001
+ declare enum ApprovalMode {
2002
+ UNKNOWN = "UNKNOWN",
2003
+ AUTOMATIC = "AUTOMATIC",
2004
+ MANUAL = "MANUAL",
2005
+ MANUAL_FOR_LARGE_PARTIES = "MANUAL_FOR_LARGE_PARTIES"
2006
+ }
2007
+ interface ManualForLargePartiesOptions {
2008
+ /** The minimum party size that requires manual approval. */
2009
+ partySizeThreshold?: number | null;
2010
+ /** Use tables for manual approval part. */
2011
+ considerTablesForManualApproval?: boolean | null;
2012
+ }
1981
2013
  /**
1982
2014
  * Seat pacing.
1983
2015
  * The maximum number of seats that can be filled by new reservations within a 15-minute period.
@@ -2052,7 +2084,11 @@ interface TurnoverRule {
2052
2084
  interface ManualApproval extends ManualApprovalValueOneOf {
2053
2085
  /** The minimum party size that requires manual approval. */
2054
2086
  partySizeThreshold?: number;
2055
- /** Custom approvals provider id. */
2087
+ /**
2088
+ * Custom approvals provider id.
2089
+ * @deprecated Custom approvals provider id.
2090
+ * @targetRemovalDate 2024-12-31
2091
+ */
2056
2092
  customApprovalsProviderId?: string;
2057
2093
  /** Whether manual approval is required for online reservations. */
2058
2094
  enabled?: boolean;
@@ -2061,9 +2097,25 @@ interface ManualApproval extends ManualApprovalValueOneOf {
2061
2097
  interface ManualApprovalValueOneOf {
2062
2098
  /** The minimum party size that requires manual approval. */
2063
2099
  partySizeThreshold?: number;
2064
- /** Custom approvals provider id. */
2100
+ /**
2101
+ * Custom approvals provider id.
2102
+ * @deprecated Custom approvals provider id.
2103
+ * @targetRemovalDate 2024-12-31
2104
+ */
2065
2105
  customApprovalsProviderId?: string;
2066
2106
  }
2107
+ /** Approval settings. */
2108
+ interface Approval extends ApprovalOptionsOneOf {
2109
+ /** Manual approval for large parties options. */
2110
+ manualForLargePartiesOptions?: ManualForLargePartiesOptions;
2111
+ /** Approval mode. */
2112
+ mode?: ApprovalMode;
2113
+ }
2114
+ /** @oneof */
2115
+ interface ApprovalOptionsOneOf {
2116
+ /** Manual approval for large parties options. */
2117
+ manualForLargePartiesOptions?: ManualForLargePartiesOptions;
2118
+ }
2067
2119
  /** Type of the field. */
2068
2120
  declare enum FieldType {
2069
2121
  UNKNOWN = "UNKNOWN",
@@ -3745,6 +3797,9 @@ interface ManualApprovalNonNullableFields {
3745
3797
  customApprovalsProviderId: string;
3746
3798
  enabled: boolean;
3747
3799
  }
3800
+ interface ApprovalNonNullableFields {
3801
+ mode: ApprovalMode;
3802
+ }
3748
3803
  interface OnlineReservationsNonNullableFields {
3749
3804
  seatPacing?: SeatPacingNonNullableFields;
3750
3805
  partyPacing?: PartyPacingNonNullableFields;
@@ -3755,6 +3810,7 @@ interface OnlineReservationsNonNullableFields {
3755
3810
  turnoverRules: TurnoverRuleNonNullableFields[];
3756
3811
  businessSchedule?: CommonBusinessScheduleNonNullableFields;
3757
3812
  manualApproval?: ManualApprovalNonNullableFields;
3813
+ approval?: ApprovalNonNullableFields;
3758
3814
  }
3759
3815
  interface TermsAndConditionsNonNullableFields {
3760
3816
  url: string;
@@ -3791,10 +3847,14 @@ interface TableCombinationNonNullableFields {
3791
3847
  seatsMin: number;
3792
3848
  seatsMax: number;
3793
3849
  }
3850
+ interface SettingsNonNullableFields {
3851
+ mode: SettingsMode;
3852
+ }
3794
3853
  interface TableManagementNonNullableFields {
3795
3854
  tableDefinitions: TableDefinitionNonNullableFields[];
3796
3855
  deletedTableDefinitions: TableDefinitionNonNullableFields[];
3797
3856
  tableCombinations: TableCombinationNonNullableFields[];
3857
+ settings?: SettingsNonNullableFields;
3798
3858
  }
3799
3859
  interface ReservationPaymentNonNullableFields {
3800
3860
  value: string;
@@ -4088,6 +4148,10 @@ type index_d$1_Address = Address;
4088
4148
  type index_d$1_AddressHint = AddressHint;
4089
4149
  type index_d$1_AddressLocation = AddressLocation;
4090
4150
  type index_d$1_App = App;
4151
+ type index_d$1_Approval = Approval;
4152
+ type index_d$1_ApprovalMode = ApprovalMode;
4153
+ declare const index_d$1_ApprovalMode: typeof ApprovalMode;
4154
+ type index_d$1_ApprovalOptionsOneOf = ApprovalOptionsOneOf;
4091
4155
  type index_d$1_Asset = Asset;
4092
4156
  type index_d$1_AssignedFromFloatingReason = AssignedFromFloatingReason;
4093
4157
  type index_d$1_BaseEventMetadata = BaseEventMetadata;
@@ -4165,6 +4229,7 @@ type index_d$1_LocationAddress = LocationAddress;
4165
4229
  type index_d$1_ManualApproval = ManualApproval;
4166
4230
  type index_d$1_ManualApprovalValueOneOf = ManualApprovalValueOneOf;
4167
4231
  type index_d$1_ManualFeatureCreationReason = ManualFeatureCreationReason;
4232
+ type index_d$1_ManualForLargePartiesOptions = ManualForLargePartiesOptions;
4168
4233
  type index_d$1_MessageEnvelope = MessageEnvelope;
4169
4234
  type index_d$1_MetaSiteSpecialEvent = MetaSiteSpecialEvent;
4170
4235
  type index_d$1_MetaSiteSpecialEventPayloadOneOf = MetaSiteSpecialEventPayloadOneOf;
@@ -4188,6 +4253,7 @@ type index_d$1_OldPolicy = OldPolicy;
4188
4253
  type index_d$1_OldScheduleException = OldScheduleException;
4189
4254
  type index_d$1_OldScheduleInterval = OldScheduleInterval;
4190
4255
  type index_d$1_OldTerms = OldTerms;
4256
+ type index_d$1_OnOptions = OnOptions;
4191
4257
  type index_d$1_OnlineReservations = OnlineReservations;
4192
4258
  type index_d$1_Page = Page;
4193
4259
  type index_d$1_Paging = Paging;
@@ -4229,6 +4295,10 @@ type index_d$1_ServiceProvisioned = ServiceProvisioned;
4229
4295
  type index_d$1_ServiceRemoved = ServiceRemoved;
4230
4296
  type index_d$1_Set = Set;
4231
4297
  declare const index_d$1_Set: typeof Set;
4298
+ type index_d$1_Settings = Settings;
4299
+ type index_d$1_SettingsMode = SettingsMode;
4300
+ declare const index_d$1_SettingsMode: typeof SettingsMode;
4301
+ type index_d$1_SettingsOptionsOneOf = SettingsOptionsOneOf;
4232
4302
  type index_d$1_SiteCloned = SiteCloned;
4233
4303
  type index_d$1_SiteCreated = SiteCreated;
4234
4304
  type index_d$1_SiteCreatedContext = SiteCreatedContext;
@@ -4285,7 +4355,7 @@ declare const index_d$1_onReservationLocationUpdated: typeof onReservationLocati
4285
4355
  declare const index_d$1_queryReservationLocations: typeof queryReservationLocations;
4286
4356
  declare const index_d$1_updateReservationLocation: typeof updateReservationLocation;
4287
4357
  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 };
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 };
4289
4359
  }
4290
4360
 
4291
4361
  interface TimeSlot {
@@ -2049,6 +2049,11 @@ interface CommonSpecialHourPeriod$1 {
2049
2049
  /** Additional details about the period. */
2050
2050
  comment?: string;
2051
2051
  }
2052
+ declare enum SettingsMode$1 {
2053
+ UNKNOWN = "UNKNOWN",
2054
+ ON = "ON",
2055
+ OFF = "OFF"
2056
+ }
2052
2057
  interface TableDefinition$1 {
2053
2058
  /**
2054
2059
  * Table ID.
@@ -2085,6 +2090,12 @@ declare enum Unit$1 {
2085
2090
  HOURS = "HOURS",
2086
2091
  DAYS = "DAYS"
2087
2092
  }
2093
+ declare enum ApprovalMode$1 {
2094
+ UNKNOWN = "UNKNOWN",
2095
+ AUTOMATIC = "AUTOMATIC",
2096
+ MANUAL = "MANUAL",
2097
+ MANUAL_FOR_LARGE_PARTIES = "MANUAL_FOR_LARGE_PARTIES"
2098
+ }
2088
2099
  /**
2089
2100
  * Seat pacing.
2090
2101
  * The maximum number of seats that can be filled by new reservations within a 15-minute period.
@@ -2138,7 +2149,11 @@ interface TurnoverTimeRule$1 {
2138
2149
  interface ManualApproval$1 extends ManualApprovalValueOneOf$1 {
2139
2150
  /** The minimum party size that requires manual approval. */
2140
2151
  partySizeThreshold?: number;
2141
- /** Custom approvals provider id. */
2152
+ /**
2153
+ * Custom approvals provider id.
2154
+ * @deprecated Custom approvals provider id.
2155
+ * @targetRemovalDate 2024-12-31
2156
+ */
2142
2157
  customApprovalsProviderId?: string;
2143
2158
  /** Whether manual approval is required for online reservations. */
2144
2159
  enabled?: boolean;
@@ -2147,7 +2162,11 @@ interface ManualApproval$1 extends ManualApprovalValueOneOf$1 {
2147
2162
  interface ManualApprovalValueOneOf$1 {
2148
2163
  /** The minimum party size that requires manual approval. */
2149
2164
  partySizeThreshold?: number;
2150
- /** Custom approvals provider id. */
2165
+ /**
2166
+ * Custom approvals provider id.
2167
+ * @deprecated Custom approvals provider id.
2168
+ * @targetRemovalDate 2024-12-31
2169
+ */
2151
2170
  customApprovalsProviderId?: string;
2152
2171
  }
2153
2172
  /** Type of the field. */
@@ -2601,6 +2620,9 @@ interface ManualApprovalNonNullableFields$1 {
2601
2620
  customApprovalsProviderId: string;
2602
2621
  enabled: boolean;
2603
2622
  }
2623
+ interface ApprovalNonNullableFields$1 {
2624
+ mode: ApprovalMode$1;
2625
+ }
2604
2626
  interface OnlineReservationsNonNullableFields$1 {
2605
2627
  seatPacing?: SeatPacingNonNullableFields$1;
2606
2628
  partyPacing?: PartyPacingNonNullableFields$1;
@@ -2611,6 +2633,7 @@ interface OnlineReservationsNonNullableFields$1 {
2611
2633
  turnoverRules: TurnoverRuleNonNullableFields$1[];
2612
2634
  businessSchedule?: CommonBusinessScheduleNonNullableFields$1;
2613
2635
  manualApproval?: ManualApprovalNonNullableFields$1;
2636
+ approval?: ApprovalNonNullableFields$1;
2614
2637
  }
2615
2638
  interface PageUrlV2NonNullableFields {
2616
2639
  relativePath: string;
@@ -2650,10 +2673,14 @@ interface TableCombinationNonNullableFields$1 {
2650
2673
  seatsMin: number;
2651
2674
  seatsMax: number;
2652
2675
  }
2676
+ interface SettingsNonNullableFields$1 {
2677
+ mode: SettingsMode$1;
2678
+ }
2653
2679
  interface TableManagementNonNullableFields$1 {
2654
2680
  tableDefinitions: TableDefinitionNonNullableFields$1[];
2655
2681
  deletedTableDefinitions: TableDefinitionNonNullableFields$1[];
2656
2682
  tableCombinations: TableCombinationNonNullableFields$1[];
2683
+ settings?: SettingsNonNullableFields$1;
2657
2684
  }
2658
2685
  interface ReservationPaymentNonNullableFields$1 {
2659
2686
  value: string;
@@ -2783,6 +2810,11 @@ interface CommonSpecialHourPeriod {
2783
2810
  /** Additional details about the period. */
2784
2811
  comment?: string;
2785
2812
  }
2813
+ declare enum SettingsMode {
2814
+ UNKNOWN = "UNKNOWN",
2815
+ ON = "ON",
2816
+ OFF = "OFF"
2817
+ }
2786
2818
  interface TableDefinition {
2787
2819
  /**
2788
2820
  * Table ID.
@@ -2819,6 +2851,12 @@ declare enum Unit {
2819
2851
  HOURS = "HOURS",
2820
2852
  DAYS = "DAYS"
2821
2853
  }
2854
+ declare enum ApprovalMode {
2855
+ UNKNOWN = "UNKNOWN",
2856
+ AUTOMATIC = "AUTOMATIC",
2857
+ MANUAL = "MANUAL",
2858
+ MANUAL_FOR_LARGE_PARTIES = "MANUAL_FOR_LARGE_PARTIES"
2859
+ }
2822
2860
  /**
2823
2861
  * Seat pacing.
2824
2862
  * The maximum number of seats that can be filled by new reservations within a 15-minute period.
@@ -2877,7 +2915,11 @@ interface TurnoverTimeRule {
2877
2915
  interface ManualApproval extends ManualApprovalValueOneOf {
2878
2916
  /** The minimum party size that requires manual approval. */
2879
2917
  partySizeThreshold?: number;
2880
- /** Custom approvals provider id. */
2918
+ /**
2919
+ * Custom approvals provider id.
2920
+ * @deprecated Custom approvals provider id.
2921
+ * @targetRemovalDate 2024-12-31
2922
+ */
2881
2923
  customApprovalsProviderId?: string;
2882
2924
  /** Whether manual approval is required for online reservations. */
2883
2925
  enabled?: boolean;
@@ -2886,7 +2928,11 @@ interface ManualApproval extends ManualApprovalValueOneOf {
2886
2928
  interface ManualApprovalValueOneOf {
2887
2929
  /** The minimum party size that requires manual approval. */
2888
2930
  partySizeThreshold?: number;
2889
- /** Custom approvals provider id. */
2931
+ /**
2932
+ * Custom approvals provider id.
2933
+ * @deprecated Custom approvals provider id.
2934
+ * @targetRemovalDate 2024-12-31
2935
+ */
2890
2936
  customApprovalsProviderId?: string;
2891
2937
  }
2892
2938
  /** Type of the field. */
@@ -3334,6 +3380,9 @@ interface ManualApprovalNonNullableFields {
3334
3380
  customApprovalsProviderId: string;
3335
3381
  enabled: boolean;
3336
3382
  }
3383
+ interface ApprovalNonNullableFields {
3384
+ mode: ApprovalMode;
3385
+ }
3337
3386
  interface OnlineReservationsNonNullableFields {
3338
3387
  seatPacing?: SeatPacingNonNullableFields;
3339
3388
  partyPacing?: PartyPacingNonNullableFields;
@@ -3344,6 +3393,7 @@ interface OnlineReservationsNonNullableFields {
3344
3393
  turnoverRules: TurnoverRuleNonNullableFields[];
3345
3394
  businessSchedule?: CommonBusinessScheduleNonNullableFields;
3346
3395
  manualApproval?: ManualApprovalNonNullableFields;
3396
+ approval?: ApprovalNonNullableFields;
3347
3397
  }
3348
3398
  interface TermsAndConditionsNonNullableFields {
3349
3399
  url: string;
@@ -3380,10 +3430,14 @@ interface TableCombinationNonNullableFields {
3380
3430
  seatsMin: number;
3381
3431
  seatsMax: number;
3382
3432
  }
3433
+ interface SettingsNonNullableFields {
3434
+ mode: SettingsMode;
3435
+ }
3383
3436
  interface TableManagementNonNullableFields {
3384
3437
  tableDefinitions: TableDefinitionNonNullableFields[];
3385
3438
  deletedTableDefinitions: TableDefinitionNonNullableFields[];
3386
3439
  tableCombinations: TableCombinationNonNullableFields[];
3440
+ settings?: SettingsNonNullableFields;
3387
3441
  }
3388
3442
  interface ReservationPaymentNonNullableFields {
3389
3443
  value: string;