import { UITheme, UserViewType } from './enums'; export interface GetNavigationDataRequestInterface { accountGroupId?: string; groupPath?: string; partnerId?: string; marketId?: string; } export interface GetSalesInfoRequestInterface { accountGroupId?: string; groupPath?: string; } export interface GetSalesInfoResponseInterface { salesInfo?: SalesInfoInterface; } export interface SideNavigationSectionInterface { translationId?: string; sideNavigationItems?: SideNavigationItemInterface[]; label?: string; chipContent?: string; } export interface SideNavigationContainerInterface { translationId?: string; sideNavigationItems?: SideNavigationItemInterface[]; icon?: string; logoUrl?: string; label?: string; showIcon?: boolean; chipContent?: string; } export interface SideNavigationLinkInterface { navigationId?: string; url?: string; path?: string; serviceProviderId?: string; logoUrl?: string; icon?: string; translationId?: string; external?: boolean; label?: string; showIcon?: boolean; pinnable?: boolean; chipContent?: string; userRequired?: boolean; } export interface DropdownItemInterface { url?: string; path?: string; translationId?: string; label?: string; } export interface SideNavigationItemInterface { sideNavigationSection?: SideNavigationSectionInterface; sideNavigationContainer?: SideNavigationContainerInterface; sideNavigationLink?: SideNavigationLinkInterface; } export interface RetentionConfigInterface { cancellationNotificationEmail?: string; } export interface SalesInfoInterface { marketName?: string; salesContact?: SalesContactInterface; } export interface SalesContactInterface { salesPersonId?: string; email?: string; firstName?: string; lastName?: string; phoneNumber?: string; photoUrlSecure?: string; jobTitle?: string; country?: string; } export interface BrandInterface { name?: string; pathNodes?: string[]; hasAccess?: boolean; url?: string; } export interface PinnedItemInterface { navigationId?: string; } export interface AccountGroupInterface { accountGroupId?: string; name?: string; address?: string; activatedProductIds?: string[]; url?: string; } export interface AccountGroupsInterface { accountGroupIds?: string[]; } export interface AssociatedLocationIDsInterface { accountGroupIds?: string[]; groupPaths?: string[]; } export interface BrandingInterface { theme?: UITheme; logoUrl?: string; partnerName?: string; centerName?: string; theming?: ThemingInterface; cobrandingLogoUrl?: string; marketName?: string; } export interface LocationInterface { accountGroup?: AccountGroupInterface; brand?: BrandInterface; } export interface GroupsInterface { groupPaths?: string[]; } export interface GetLocationsRequestInterface { accountGroups?: AccountGroupsInterface; groups?: GroupsInterface; } export interface GetLocationsResponseInterface { locations?: LocationInterface[]; } export interface GetNavigationDataResponseInterface { accountItems?: SideNavigationItemInterface[]; branding?: BrandingInterface; salesInfo?: SalesInfoInterface; pinnedItems?: PinnedItemInterface[]; associatedLocationIds?: AssociatedLocationIDsInterface; defaultLocation?: string; brandItems?: SideNavigationItemInterface[]; language?: string; dropdownItems?: DropdownItemInterface[]; currentBrandName?: string; userView?: UserViewType; retentionConfig?: RetentionConfigInterface; totalLocations?: TotalLocationsInterface; userId?: string; businessAppBranding?: boolean; } export interface SetPinsRequestInterface { identifier?: string; items?: PinnedItemInterface[]; } export interface GetPinsRequestInterface { identifier?: string; } export interface GetPinsResponseInterface { items?: PinnedItemInterface[]; } export interface UserNavigationItemInterface { text?: string; url?: string; routeId?: string; } export interface SetLanguageRequestInterface { language?: string; } export interface GetLanguageResponseInterface { language?: string; } export interface ContactUsRequestInterface { accountGroupId?: string; message?: string; } export interface SetDefaultLocationRequestInterface { accountGroupId?: string; partnerId?: string; } export interface ThemingInterface { primaryColor?: string; primaryHoverColor?: string; primaryActiveColor?: string; secondaryColor?: string; secondaryHoverColor?: string; secondaryActiveColor?: string; fontColor?: string; fontDisabledColor?: string; accentsColor?: string; accentsActiveColor?: string; focusColor?: string; borderColor?: string; } export interface TotalLocationsInterface { accounts?: number; brands?: number; } export interface ListElevatedLocationsRequestInterface { partnerId?: string; cursor?: string; pageSize?: number; search?: string; accountGroups?: boolean; brands?: boolean; } export interface ListElevatedLocationsResponseInterface { locations?: LocationInterface[]; cursor?: string; hasMore?: boolean; }