import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { StaffMemberSettings, StaffMemberSettingsUpdatedEnvelope } from './index.typings.js'; export { AccountInfo, AccountInfoMetadata, ActionEvent, BaseEventMetadata, ContactInformation, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, GetStaffMemberSettingsRequest, GetStaffMemberSettingsResponse, IdentificationData, IdentificationDataIdOneOf, MessageEnvelope, RestoreInfo, StaffProperties, UpdateStaffMemberSettingsRequest, UpdateStaffMemberSettingsResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js'; declare function getStaffMemberSettings$1(httpClient: HttpClient): GetStaffMemberSettingsSignature; interface GetStaffMemberSettingsSignature { /** * Retrieves the current privacy settings for staff member contact information. * * Use this method to check whether the `email` and `phone` fields in [staff member objects](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-members/staff-member-object) are accessible in API responses and on the live site. * @returns Retrieved staff member settings. */ (): Promise; } declare function updateStaffMemberSettings$1(httpClient: HttpClient): UpdateStaffMemberSettingsSignature; interface UpdateStaffMemberSettingsSignature { /** * Updates privacy settings for staff member contact information. * * Each time the settings are updated, `revision` increments by 1. * The current `revision` must be passed when updating the settings. * This ensures you're working with the latest settings and prevents unintended overwrites. * * Changes to these settings take effect immediately and affect both API responses and live site display. * When you enable `contactInformation.publiclyAccessible`, the `email` and `phone` fields in [staff member objects](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-members/staff-member-object) include actual contact information, and this information is displayed on the live site. * When you disable it, these fields are empty in API responses if the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) doesn't have sufficient permissions, and contact information isn't displayed on the live site. * * Identities with appropriate permissions can access staff contact information in API responses regardless of this setting. * @param - Staff member settings to update, may be partial. * @returns Updated staff member settings. */ (staffMemberSettings: NonNullablePaths): Promise; } declare const onStaffMemberSettingsUpdated$1: EventDefinition; declare const getStaffMemberSettings: MaybeContext & typeof getStaffMemberSettings$1>; declare const updateStaffMemberSettings: MaybeContext & typeof updateStaffMemberSettings$1>; /** * Triggered when a `staffMemberSettings` object is updated. */ declare const onStaffMemberSettingsUpdated: BuildEventDefinition & typeof onStaffMemberSettingsUpdated$1; export { StaffMemberSettings, StaffMemberSettingsUpdatedEnvelope, getStaffMemberSettings, onStaffMemberSettingsUpdated, updateStaffMemberSettings };