import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types'; import { GetBookingsDisplaySettingsByWidgetIdentifiers, GetBookingsDisplaySettingsByWidgetOptions, BookingsDisplaySettings, UpsertBookingsDisplaySettingsIdentifiers, UpsertBookingsDisplaySettings, UpsertBookingsDisplaySettingsResponse, UpsertBookingsDisplaySettingsApplicationErrors } from './index.typings.mjs'; export { AccountInfo, ActionEvent, AddOnsSection, AssignedStaffMemberSection, BookingsDisplaySettingsWidgetSettingsOneOf, DeleteBookingsDisplaySettingsRequest, DeleteBookingsDisplaySettingsResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, GetBookingsDisplaySettingsByWidgetRequest, GetBookingsDisplaySettingsByWidgetResponse, IdentificationData, IdentificationDataIdOneOf, LocationSection, MessageEnvelope, NotesDisplayMode, NotesDisplayModeWithLiterals, NotesSection, PriceSection, RequestedStaffMemberMethodSection, ResourcesSection, RestoreInfo, SidePanelView, UpsertBookingsDisplaySettingsRequest, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WidgetType, WidgetTypeWithLiterals } from './index.typings.mjs'; /** @internal */ declare function getBookingsDisplaySettingsByWidget$1(httpClient: HttpClient): GetBookingsDisplaySettingsByWidgetSignature; interface GetBookingsDisplaySettingsByWidgetSignature { /** * A single-item getter addressed by the natural key (app_id + widget_type * [+ custom_widget_key]); annotated as the GET_ITEM CRUD flavor. The standard * id-path Get is intentionally not exposed — `id` is server-derived (see * TECH_DESIGN D5/D7). * @returns The widget's settings row, with defaults backfilled per field. Never empty: * a synthesised, fully defaulted row (with no `revision`) is returned when * nothing has been saved for the widget. */ (identifiers: NonNullablePaths, options?: GetBookingsDisplaySettingsByWidgetOptions): Promise>; } /** @internal */ declare function upsertBookingsDisplaySettings$1(httpClient: HttpClient): UpsertBookingsDisplaySettingsSignature; interface UpsertBookingsDisplaySettingsSignature { /** * Atomic insert-or-update of the BookingsDisplaySettings row identified by * (app_id, widget_type [+ custom_widget_key for CUSTOM]); the site is implicit. * Single Save action on the client. * * Keyed by the natural key: if no row matches it is created, otherwise it is * updated in place (partial update via `field_mask`). `revision` is * server-assigned and read-only — Upsert does not use optimistic-concurrency * control (that belongs to Update / AIP-4006), so concurrent writes to the same * row are last-write-wins. * * `extended_fields` are validated at write time against the JSON Schema the app * registered for this entity in Dev Center; a payload that violates that schema * is rejected with `INVALID_EXTENDED_FIELDS`. */ (identifiers: NonNullablePaths, bookingsDisplaySettings: UpsertBookingsDisplaySettings): Promise & { __applicationErrorsType?: UpsertBookingsDisplaySettingsApplicationErrors; }>; } /** @internal */ declare function deleteBookingsDisplaySettings$1(httpClient: HttpClient): DeleteBookingsDisplaySettingsSignature; interface DeleteBookingsDisplaySettingsSignature { /** * Deletes the BookingsDisplaySettings row with the given ID, resetting that * widget to its server defaults: a subsequent GetBookingsDisplaySettingsByWidget * returns a freshly synthesised default row (with no `revision`). * * Use the `id` from a previous Upsert response, or from a * GetBookingsDisplaySettingsByWidget response for a saved row (a synthesised * default row carries no `id`). Idempotent: deleting a row that isn't stored is * a no-op success — the widget is already at its defaults. * @param - ID of the BookingsDisplaySettings row to delete. Obtain it from a previous * UpsertBookingsDisplaySettings response, or from a * GetBookingsDisplaySettingsByWidget response for a saved row (a synthesised * default row carries no `id`). */ (bookingsDisplaySettingsId: string): Promise; } /** @internal */ declare const getBookingsDisplaySettingsByWidget: MaybeContext & typeof getBookingsDisplaySettingsByWidget$1>; /** @internal */ declare const upsertBookingsDisplaySettings: MaybeContext & typeof upsertBookingsDisplaySettings$1>; /** @internal */ declare const deleteBookingsDisplaySettings: MaybeContext & typeof deleteBookingsDisplaySettings$1>; export { BookingsDisplaySettings, GetBookingsDisplaySettingsByWidgetIdentifiers, GetBookingsDisplaySettingsByWidgetOptions, UpsertBookingsDisplaySettings, UpsertBookingsDisplaySettingsApplicationErrors, UpsertBookingsDisplaySettingsIdentifiers, UpsertBookingsDisplaySettingsResponse, deleteBookingsDisplaySettings, getBookingsDisplaySettingsByWidget, upsertBookingsDisplaySettings };