interface serviceFormOptions { /** The service id to edit */ serviceId: string; } /** * A builder method that returns the destination object for navigating to the Service Form page in the dashboard. * @dashobardPageBuilder */ declare function serviceForm(options: serviceFormOptions): PageBuilderResult; /** * A builder method that returns the destination object for navigating to the Export Booking Data page in the dashboard. * @dashobardPageBuilder */ declare function exportBookingData(): PageBuilderResult; /** * A builder method that returns the destination object for navigating to the Sync Personal Calendar page in the dashboard. * @dashobardPageBuilder */ declare function syncPersonalCalendar(): PageBuilderResult; /** * A builder method that returns the destination object for navigating to the Services List page in the dashboard. * @dashobardPageBuilder */ declare function servicesList(): PageBuilderResult; interface staffEditOptions { /** The staff member id to edit */ staffMemberId: string; } /** * A builder method that returns the destination object for navigating to the Staff Edit page in the dashboard. * @dashobardPageBuilder */ declare function staffEdit(options: staffEditOptions): PageBuilderResult; /** * A builder method that returns the destination object for navigating to the Staff List page in the dashboard. * @dashobardPageBuilder */ declare function staffList(): PageBuilderResult; interface PageBuilderResult { pageId: string; relativeUrl?: string; } type dashboardPageBuilders_PageBuilderResult = PageBuilderResult; declare const dashboardPageBuilders_exportBookingData: typeof exportBookingData; declare const dashboardPageBuilders_serviceForm: typeof serviceForm; type dashboardPageBuilders_serviceFormOptions = serviceFormOptions; declare const dashboardPageBuilders_servicesList: typeof servicesList; declare const dashboardPageBuilders_staffEdit: typeof staffEdit; type dashboardPageBuilders_staffEditOptions = staffEditOptions; declare const dashboardPageBuilders_staffList: typeof staffList; declare const dashboardPageBuilders_syncPersonalCalendar: typeof syncPersonalCalendar; declare namespace dashboardPageBuilders { export { type dashboardPageBuilders_PageBuilderResult as PageBuilderResult, dashboardPageBuilders_exportBookingData as exportBookingData, dashboardPageBuilders_serviceForm as serviceForm, type dashboardPageBuilders_serviceFormOptions as serviceFormOptions, dashboardPageBuilders_servicesList as servicesList, dashboardPageBuilders_staffEdit as staffEdit, type dashboardPageBuilders_staffEditOptions as staffEditOptions, dashboardPageBuilders_staffList as staffList, dashboardPageBuilders_syncPersonalCalendar as syncPersonalCalendar }; } /** * @pageName BookingsServiceForm * @slotType dashboard plugin */ type ServiceFormSectionProps = { serviceId?: string; save: () => Promise<{ success: true; serviceId: string; } | { success: false; errors: unknown; }>; }; /** * @pageName BookingsServiceForm * @slotType dashboard plugin */ type ServiceFormSidebarProps = { serviceId?: string; save: () => Promise<{ success: true; serviceId: string; } | { success: false; errors: unknown; }>; }; /** * @pageName BookingsServiceForm * @slotType dashboard menu plugin */ type ServiceFormMoreActionsMenuProps = { serviceId?: string; save: () => Promise<{ success: true; serviceId: string; } | { success: false; errors: unknown; }>; }; type db6319e8F8d64de3830e917d4e5c6d47_ServiceFormMoreActionsMenuProps = ServiceFormMoreActionsMenuProps; type db6319e8F8d64de3830e917d4e5c6d47_ServiceFormSectionProps = ServiceFormSectionProps; type db6319e8F8d64de3830e917d4e5c6d47_ServiceFormSidebarProps = ServiceFormSidebarProps; declare namespace db6319e8F8d64de3830e917d4e5c6d47 { export type { db6319e8F8d64de3830e917d4e5c6d47_ServiceFormMoreActionsMenuProps as ServiceFormMoreActionsMenuProps, db6319e8F8d64de3830e917d4e5c6d47_ServiceFormSectionProps as ServiceFormSectionProps, db6319e8F8d64de3830e917d4e5c6d47_ServiceFormSidebarProps as ServiceFormSidebarProps }; } /** * @pageName BookingCalendar * @slotType dashboard plugin */ interface ExtensionProps { notifyStartLoading?: () => void; notifyFinishedLoading?: () => void; liveCalendar3: { listenToLiveUpdates(params: { callback: (liveUpdateItems: LiveCalendar3UpdateItem[]) => void; }): { remove(): void; }; }; } /** @internal */ type LiveCalendar3UpdateItem = { changeType: 'event-created' | 'event-updated'; id?: string | null; title?: string | null; adjustedStart?: ZonedDate; adjustedEnd?: ZonedDate; start?: ZonedDate; end?: ZonedDate; status?: Status; recurrenceType?: RecurrenceType; }; /** @internal */ interface ZonedDate { /** * Local date time in [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601). * For example, `2024-01-30T13:30:00`. */ localDate?: string | null; /** * Time zone in * [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database). * For example, `America/New_York`. */ timeZone?: string | null; /** * UTC date time in [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601). * For example, `2024-01-30T13:30:00`. * Not available for adjusted date fields. */ utcDate?: Date | null; } /** @internal */ declare enum Status { CONFIRMED = "CONFIRMED", CANCELLED = "CANCELLED" } /** @internal */ declare enum RecurrenceType { NONE = "NONE", MASTER = "MASTER", INSTANCE = "INSTANCE", EXCEPTION = "EXCEPTION" } /** * @pageName BookingCalendar * @slotType dashboard menu plugin */ type CalendarMoreActionsMenuParams = {}; type bbbc8c7d19b94a86Bfc51bf59208b01b_CalendarMoreActionsMenuParams = CalendarMoreActionsMenuParams; type bbbc8c7d19b94a86Bfc51bf59208b01b_ExtensionProps = ExtensionProps; type bbbc8c7d19b94a86Bfc51bf59208b01b_LiveCalendar3UpdateItem = LiveCalendar3UpdateItem; type bbbc8c7d19b94a86Bfc51bf59208b01b_RecurrenceType = RecurrenceType; declare const bbbc8c7d19b94a86Bfc51bf59208b01b_RecurrenceType: typeof RecurrenceType; type bbbc8c7d19b94a86Bfc51bf59208b01b_Status = Status; declare const bbbc8c7d19b94a86Bfc51bf59208b01b_Status: typeof Status; type bbbc8c7d19b94a86Bfc51bf59208b01b_ZonedDate = ZonedDate; declare namespace bbbc8c7d19b94a86Bfc51bf59208b01b { export { type bbbc8c7d19b94a86Bfc51bf59208b01b_CalendarMoreActionsMenuParams as CalendarMoreActionsMenuParams, type bbbc8c7d19b94a86Bfc51bf59208b01b_ExtensionProps as ExtensionProps, type bbbc8c7d19b94a86Bfc51bf59208b01b_LiveCalendar3UpdateItem as LiveCalendar3UpdateItem, bbbc8c7d19b94a86Bfc51bf59208b01b_RecurrenceType as RecurrenceType, bbbc8c7d19b94a86Bfc51bf59208b01b_Status as Status, type bbbc8c7d19b94a86Bfc51bf59208b01b_ZonedDate as ZonedDate }; } /** * @pageName BookingList * @slotType dashboard plugin */ type BookingListHeaderParams = {}; /** * @pageName BookingList * @slotType dashboard plugin */ interface BookingListMenuActionParams { bookingId?: string; } /** * @pageName BookingList * @slotType dashboard plugin */ interface BookingListBulkMenuActionParams { selectedBookingIds: string[]; } type _3b9b5f2bAdc9409980e65e74bc30e613_BookingListBulkMenuActionParams = BookingListBulkMenuActionParams; type _3b9b5f2bAdc9409980e65e74bc30e613_BookingListHeaderParams = BookingListHeaderParams; type _3b9b5f2bAdc9409980e65e74bc30e613_BookingListMenuActionParams = BookingListMenuActionParams; declare namespace _3b9b5f2bAdc9409980e65e74bc30e613 { export type { _3b9b5f2bAdc9409980e65e74bc30e613_BookingListBulkMenuActionParams as BookingListBulkMenuActionParams, _3b9b5f2bAdc9409980e65e74bc30e613_BookingListHeaderParams as BookingListHeaderParams, _3b9b5f2bAdc9409980e65e74bc30e613_BookingListMenuActionParams as BookingListMenuActionParams }; } /** * @pageName Services * @slotType dashboard plugin */ type ServicesBannerParams = {}; /** * @pageName Services * @slotType dashboard menu plugin */ type ServicesMainActionsMenuParams = {}; /** * @pageName Services * @slotType dashboard menu plugin */ type ServiceItemMoreActionsMenuParams = { serviceId: string; }; type c756378f343841c6A68685e9fb0193ac_ServiceItemMoreActionsMenuParams = ServiceItemMoreActionsMenuParams; type c756378f343841c6A68685e9fb0193ac_ServicesBannerParams = ServicesBannerParams; type c756378f343841c6A68685e9fb0193ac_ServicesMainActionsMenuParams = ServicesMainActionsMenuParams; declare namespace c756378f343841c6A68685e9fb0193ac { export type { c756378f343841c6A68685e9fb0193ac_ServiceItemMoreActionsMenuParams as ServiceItemMoreActionsMenuParams, c756378f343841c6A68685e9fb0193ac_ServicesBannerParams as ServicesBannerParams, c756378f343841c6A68685e9fb0193ac_ServicesMainActionsMenuParams as ServicesMainActionsMenuParams }; } /** * @pageName BookingsStaffMemberForm * @slotType dashboard plugin */ type EditStaffProfileBannerParams = { staffResourceId: string; staffId: string; }; /** * @pageName BookingsStaffMemberForm * @slotType dashboard menu plugin */ type EditStaffProfileMainMoreActionsMenuParams = { staffResourceId: string; staffId: string; }; /** * @pageName BookingsStaffMemberForm * @slotType dashboard plugin */ type StaffSettingsWidgetProps = { staffResourceId?: string; staffMemberId?: string; staffWixUserId?: string; staffName?: string; scheduleId?: string; staffEmail?: string; onBookingPermissionsRequest: () => void; }; type a6a6a0ee865f43ccA8f2B50984f74457_EditStaffProfileBannerParams = EditStaffProfileBannerParams; type a6a6a0ee865f43ccA8f2B50984f74457_EditStaffProfileMainMoreActionsMenuParams = EditStaffProfileMainMoreActionsMenuParams; type a6a6a0ee865f43ccA8f2B50984f74457_StaffSettingsWidgetProps = StaffSettingsWidgetProps; declare namespace a6a6a0ee865f43ccA8f2B50984f74457 { export type { a6a6a0ee865f43ccA8f2B50984f74457_EditStaffProfileBannerParams as EditStaffProfileBannerParams, a6a6a0ee865f43ccA8f2B50984f74457_EditStaffProfileMainMoreActionsMenuParams as EditStaffProfileMainMoreActionsMenuParams, a6a6a0ee865f43ccA8f2B50984f74457_StaffSettingsWidgetProps as StaffSettingsWidgetProps }; } /** * @pageName BookingsPolicyForm * @slotType dashboard plugin */ type StaffAssignmentParams = { policyId: string; }; type _9728c7158b644d9bB5a6A33c201ce8e6_StaffAssignmentParams = StaffAssignmentParams; declare namespace _9728c7158b644d9bB5a6A33c201ce8e6 { export type { _9728c7158b644d9bB5a6A33c201ce8e6_StaffAssignmentParams as StaffAssignmentParams }; } /** * @pageName Staff * @slotType dashboard plugin */ type StaffBannerParams = { staffResourceId: string; staffId: string; }; /** * @pageName Staff * @slotType dashboard menu plugin */ type StaffMainMoreActionsMenuParams = {}; /** * @pageName Staff * @slotType dashboard menu plugin */ type StaffItemMoreActionsMenuParams = { staffResourceId: string; staffId: string; }; type a4f36facEa18483b8236095e29fcb726_StaffBannerParams = StaffBannerParams; type a4f36facEa18483b8236095e29fcb726_StaffItemMoreActionsMenuParams = StaffItemMoreActionsMenuParams; type a4f36facEa18483b8236095e29fcb726_StaffMainMoreActionsMenuParams = StaffMainMoreActionsMenuParams; declare namespace a4f36facEa18483b8236095e29fcb726 { export type { a4f36facEa18483b8236095e29fcb726_StaffBannerParams as StaffBannerParams, a4f36facEa18483b8236095e29fcb726_StaffItemMoreActionsMenuParams as StaffItemMoreActionsMenuParams, a4f36facEa18483b8236095e29fcb726_StaffMainMoreActionsMenuParams as StaffMainMoreActionsMenuParams }; } declare namespace dashboardPagesPluginProps { export { bbbc8c7d19b94a86Bfc51bf59208b01b as BookingCalendar, _3b9b5f2bAdc9409980e65e74bc30e613 as BookingList, _9728c7158b644d9bB5a6A33c201ce8e6 as BookingsPolicyForm, db6319e8F8d64de3830e917d4e5c6d47 as BookingsServiceForm, a6a6a0ee865f43ccA8f2B50984f74457 as BookingsStaffMemberForm, c756378f343841c6A68685e9fb0193ac as Services, a4f36facEa18483b8236095e29fcb726 as Staff }; } declare namespace dashboard { export { dashboardPageBuilders as pages, dashboardPagesPluginProps as plugins }; } export { dashboardPageBuilders as a, dashboardPagesPluginProps as b, dashboard as d };