import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { BookingsSettings, GetBookingsSettingsApplicationErrors, BookingsSettingsCreatedEnvelope, BookingsSettingsDeletedEnvelope, BookingsSettingsUpdatedEnvelope } from './index.typings.js'; export { AccountInfo, AccountInfoMetadata, ActionEvent, Address, AddressHint, Asset, BaseEventMetadata, BasedOn, BasedOnWithLiterals, BookingCreationSettings, BusinessNotification, CartCheckout, DeleteContext, DeleteStatus, DeleteStatusWithLiterals, DisplayTimeZone, DomainEvent, DomainEventBodyOneOf, EditorlessAssigned, EditorlessUnassigned, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, Feature, Features, GeoCoordinates, GetBookingsSettingsRequest, GetBookingsSettingsResponse, IdentificationData, IdentificationDataIdOneOf, Locale, LocationSelection, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, MultiServiceAppointments, Namespace, NamespaceChanged, NamespaceWithLiterals, Notifications, OdeditorAssigned, OdeditorUnassigned, OwnerFlow, PicassoAssigned, PicassoUnassigned, PlacementType, PlacementTypeWithLiterals, Reason, ReasonWithLiterals, RequestedFields, RequestedFieldsWithLiterals, RequiredField, RequiredFieldWithLiterals, RestoreInfo, ServiceProvisioned, ServiceRemoved, SiteCreated, SiteCreatedContext, SiteCreatedContextWithLiterals, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SiteProperties, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, StaffSelection, StaffSelectionTiming, StaffSelectionTimingWithLiterals, State, StateWithLiterals, Strategy, StrategyWithLiterals, StudioAssigned, StudioTwoAssigned, StudioTwoUnassigned, StudioUnassigned, Timing, TimingWithLiterals, UpdateBookingsSettingsRequest, UpdateBookingsSettingsResponse, UserDomainMediaDisabled, UserDomainMediaEnabled, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WixelAssigned, WixelUnassigned } from './index.typings.js'; declare function getBookingsSettings$1(httpClient: HttpClient): GetBookingsSettingsSignature; interface GetBookingsSettingsSignature { /** * Retrieves the site's bookings settings. * * If no settings have been customized for the site yet, the default settings are returned. * @returns Retrieved bookings settings. */ (): Promise & { __applicationErrorsType?: GetBookingsSettingsApplicationErrors; }>; } declare function updateBookingsSettings$1(httpClient: HttpClient): UpdateBookingsSettingsSignature; interface UpdateBookingsSettingsSignature { /** * Updates the site's bookings settings. * * Each time the bookings settings are updated, `revision` increments by 1. The current `revision` must be passed when updating the bookings settings. This ensures you're working with the latest bookings settings and prevents unintended overwrites. * * This is a partial update: only the fields listed in `fieldMask.paths` are changed. Fields not included in the field mask keep their current values. * * If no settings have been customized for the site yet, the default settings are created and then updated with the values you provide. * @param - Bookings settings to update. * @returns Updated bookings settings. */ (bookingsSettings: NonNullablePaths): Promise>; } declare const onBookingsSettingsCreated$1: EventDefinition; declare const onBookingsSettingsDeleted$1: EventDefinition; declare const onBookingsSettingsUpdated$1: EventDefinition; declare const getBookingsSettings: MaybeContext & typeof getBookingsSettings$1>; declare const updateBookingsSettings: MaybeContext & typeof updateBookingsSettings$1>; /** * (explanation) * * Events are an integral part of your API and should be designed alongside all other methods that your domain exposes. * Remember - events are the only way a client can react to your domain's business flow without constantly polling your * API for changes. * * Therefore you MUST expose all lifecycle events even if you don't have a use case in your own business flows that * consumes them. * * In order to simplify clients ability to consume events in a coherent way, we have defined a common standard for * sending events from platformized services related to your domain (hence DomainEvents). This is both inside Wix and * externally (webhooks and velo). * * Refer to [AIP 7016 - Events and Hooks][1] to learn more about callback annotation. * Callback is an event, which is fired as a byproduct of calling this method. * * [1]: https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events */ declare const onBookingsSettingsCreated: BuildEventDefinition & typeof onBookingsSettingsCreated$1; /** */ declare const onBookingsSettingsDeleted: BuildEventDefinition & typeof onBookingsSettingsDeleted$1; /** */ declare const onBookingsSettingsUpdated: BuildEventDefinition & typeof onBookingsSettingsUpdated$1; export { BookingsSettings, BookingsSettingsCreatedEnvelope, BookingsSettingsDeletedEnvelope, BookingsSettingsUpdatedEnvelope, GetBookingsSettingsApplicationErrors, getBookingsSettings, onBookingsSettingsCreated, onBookingsSettingsDeleted, onBookingsSettingsUpdated, updateBookingsSettings };