@lendi/navbar 7.15.13 → 7.16.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/navbar.cjs.d.ts +11 -1
- package/dist/navbar.cjs.js +15 -6
- package/dist/navbar.esm.js +15 -3838
- package/package.json +3 -3
- package/dist/declarations/src/CustomerCommPanel/SidePanel/ChatLink/ChatIcon/index.d.ts +0 -4
- package/dist/declarations/src/CustomerCommPanel/SidePanel/ChatLink/ChatIcon/style.d.ts +0 -2
- package/dist/declarations/src/CustomerCommPanel/SidePanel/ChatLink/index.d.ts +0 -8
- package/dist/declarations/src/CustomerCommPanel/SidePanel/ChatLink/style.d.ts +0 -10
- package/dist/declarations/src/CustomerCommPanel/SidePanel/FullViewChatHeader/ChatHeaderTeamMemberAvatar/index.d.ts +0 -6
- package/dist/declarations/src/CustomerCommPanel/SidePanel/FullViewChatHeader/ChatHeaderTeamMemberAvatar/style.d.ts +0 -10
- package/dist/declarations/src/CustomerCommPanel/SidePanel/FullViewChatHeader/index.d.ts +0 -7
- package/dist/declarations/src/CustomerCommPanel/SidePanel/FullViewChatHeader/style.d.ts +0 -4
- package/dist/declarations/src/CustomerCommPanel/SidePanel/PanelLinks/index.d.ts +0 -7
- package/dist/declarations/src/CustomerCommPanel/SidePanel/TeamMemberInfo/index.d.ts +0 -7
- package/dist/declarations/src/CustomerCommPanel/SidePanel/TeamMemberInfo/style.d.ts +0 -16
- package/dist/declarations/src/CustomerCommPanel/SidePanel/index.d.ts +0 -7
- package/dist/declarations/src/CustomerCommPanel/SidePanel/interface.d.ts +0 -3
- package/dist/declarations/src/CustomerCommPanel/SidePanel/style.d.ts +0 -5
- package/dist/declarations/src/CustomerCommPanel/WithChatView/index.d.ts +0 -9
- package/dist/declarations/src/CustomerCommPanel/WithChatView/style.d.ts +0 -1
- package/dist/declarations/src/CustomerCommPanel/index.d.ts +0 -2
- package/dist/declarations/src/CustomerCommPanel/style.d.ts +0 -1
- package/dist/declarations/src/CustomerCommPanel/types.d.ts +0 -8
- package/dist/declarations/src/GuestNavbar/index.d.ts +0 -2
- package/dist/declarations/src/Header/Dropdown.d.ts +0 -10
- package/dist/declarations/src/Header/Header.d.ts +0 -14
- package/dist/declarations/src/Header/HeaderBase.d.ts +0 -9
- package/dist/declarations/src/Header/MenuLink.d.ts +0 -26
- package/dist/declarations/src/Header/Nav.d.ts +0 -35
- package/dist/declarations/src/Header/NavButtons.d.ts +0 -15
- package/dist/declarations/src/Header/NavDropdown.d.ts +0 -10
- package/dist/declarations/src/Header/PrimaryCTA.d.ts +0 -6
- package/dist/declarations/src/Header/SlideoutMenu.d.ts +0 -29
- package/dist/declarations/src/Header/aussie/AccountMenu.d.ts +0 -16
- package/dist/declarations/src/Header/aussie/ApplyNow.d.ts +0 -10
- package/dist/declarations/src/Header/aussie/CtaNav.d.ts +0 -2
- package/dist/declarations/src/Header/aussie/HamburgerMenu.d.ts +0 -7
- package/dist/declarations/src/Header/aussie/TalkToExpert.d.ts +0 -6
- package/dist/declarations/src/Header/index.d.ts +0 -1
- package/dist/declarations/src/Header/shared.styles.d.ts +0 -21
- package/dist/declarations/src/MultiNavbar/components/HamBurgerMenu/index.d.ts +0 -7
- package/dist/declarations/src/MultiNavbar/components/LeftSidabar/Content/index.d.ts +0 -2
- package/dist/declarations/src/MultiNavbar/components/LeftSidabar/Content/index.style.d.ts +0 -21
- package/dist/declarations/src/MultiNavbar/components/LeftSidabar/FooterCTA/index.d.ts +0 -9
- package/dist/declarations/src/MultiNavbar/components/LeftSidabar/index.d.ts +0 -14
- package/dist/declarations/src/MultiNavbar/components/MultiOptions/index.d.ts +0 -7
- package/dist/declarations/src/MultiNavbar/components/MultiOptions/index.style.d.ts +0 -22
- package/dist/declarations/src/MultiNavbar/index.d.ts +0 -3
- package/dist/declarations/src/MultiNavbar/menuData.d.ts +0 -12
- package/dist/declarations/src/SimpleNavbar/components/CTA/index.d.ts +0 -6
- package/dist/declarations/src/SimpleNavbar/components/CTA/index.style.d.ts +0 -2
- package/dist/declarations/src/SimpleNavbar/components/DesktopAction/index.d.ts +0 -4
- package/dist/declarations/src/SimpleNavbar/components/MobileAction/index.d.ts +0 -4
- package/dist/declarations/src/SimpleNavbar/index.d.ts +0 -3
- package/dist/declarations/src/hooks/useDisableChat.d.ts +0 -1
- package/dist/declarations/src/index.d.ts +0 -6
- package/dist/declarations/src/shared/CommPanelProvider/index.d.ts +0 -18
- package/dist/declarations/src/shared/ErrorProvider/context.d.ts +0 -6
- package/dist/declarations/src/shared/ErrorProvider/provider.d.ts +0 -3
- package/dist/declarations/src/shared/RestrictionProvider/index.d.ts +0 -11
- package/dist/declarations/src/shared/SlideoutMenuBase/SlideoutMenuBase.d.ts +0 -16
- package/dist/declarations/src/shared/components/CTA/DesktopActions/index.d.ts +0 -3
- package/dist/declarations/src/shared/components/CTA/DesktopActions/style.d.ts +0 -1
- package/dist/declarations/src/shared/components/CTA/LogoutComponent/DropdownMenu/context.d.ts +0 -4
- package/dist/declarations/src/shared/components/CTA/LogoutComponent/DropdownMenu/index.d.ts +0 -1
- package/dist/declarations/src/shared/components/CTA/LogoutComponent/DropdownMenu/provider.d.ts +0 -3
- package/dist/declarations/src/shared/components/CTA/LogoutComponent/DropdownMenu/state.d.ts +0 -6
- package/dist/declarations/src/shared/components/CTA/LogoutComponent/DropdownMenu/style.d.ts +0 -5
- package/dist/declarations/src/shared/components/CTA/LogoutComponent/index.d.ts +0 -1
- package/dist/declarations/src/shared/components/CTA/LogoutComponent/style.d.ts +0 -1
- package/dist/declarations/src/shared/components/CTA/MobileActions/index.d.ts +0 -3
- package/dist/declarations/src/shared/components/CTA/MobileActions/style.d.ts +0 -1
- package/dist/declarations/src/shared/components/CTA/index.d.ts +0 -15
- package/dist/declarations/src/shared/components/CTA/style.d.ts +0 -7
- package/dist/declarations/src/shared/components/Logo/index.d.ts +0 -7
- package/dist/declarations/src/shared/components/Logo/style.d.ts +0 -10
- package/dist/declarations/src/shared/constants/index.d.ts +0 -20
- package/dist/declarations/src/shared/hooks/useApplication/api/index.d.ts +0 -7
- package/dist/declarations/src/shared/hooks/useApplication/index.d.ts +0 -4
- package/dist/declarations/src/shared/hooks/useApplication/types.d.ts +0 -5
- package/dist/declarations/src/shared/hooks/useDomain.d.ts +0 -3
- package/dist/declarations/src/shared/hooks/withErrorProvider.d.ts +0 -3
- package/dist/declarations/src/shared/hooks/withRestrictionProvider.d.ts +0 -2
- package/dist/declarations/src/shared/styles.d.ts +0 -24
- package/dist/declarations/src/shared/types.d.ts +0 -86
- package/dist/declarations/src/shared/utils/getEnvFromHostname/index.d.ts +0 -2
- package/dist/declarations/src/shared/utils/getURLWithReturn/index.d.ts +0 -2
- package/dist/declarations/src/types.d.ts +0 -37
- package/dist/declarations/src/utils/Analytics/index.d.ts +0 -5
- package/dist/declarations/src/utils/theming.d.ts +0 -1
- package/dist/navbar.cjs.dev.js +0 -3882
- package/dist/navbar.cjs.prod.js +0 -2639
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface RestrictionState {
|
|
3
|
-
isRestricted: boolean;
|
|
4
|
-
}
|
|
5
|
-
export declare const RestrictionContext: React.Context<RestrictionState>;
|
|
6
|
-
export declare const useRestriction: () => RestrictionState;
|
|
7
|
-
/**
|
|
8
|
-
* RestrictionProvider check the restrictionStatus for FAB/Aussie Ready Customer.
|
|
9
|
-
* @todo This should be removed after Aussire Ready.
|
|
10
|
-
*/
|
|
11
|
-
export declare const RestrictionProvider: React.FunctionComponent;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { GlobalProps } from '@lendi-ui/commons/utils';
|
|
3
|
-
import { BreakpointValueMap, BreakpointValue } from '@lendi-ui/breakpoint';
|
|
4
|
-
export declare const IS_OPEN_DATA_ATTRIBUTE = "data-slideout-isOpen";
|
|
5
|
-
export declare const useSlideoutMenu: () => {
|
|
6
|
-
showMenu: boolean;
|
|
7
|
-
toggleMenu: () => void;
|
|
8
|
-
};
|
|
9
|
-
export interface SlideoutMenuProps extends GlobalProps {
|
|
10
|
-
children: React.ReactNode;
|
|
11
|
-
isOpen: boolean;
|
|
12
|
-
handleClose: () => void;
|
|
13
|
-
topOffset?: BreakpointValue<string> | BreakpointValueMap<string>;
|
|
14
|
-
className?: string;
|
|
15
|
-
}
|
|
16
|
-
export declare const SlideoutMenuBase: ({ children, className, isOpen, handleClose, topOffset, ...props }: SlideoutMenuProps) => JSX.Element;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { UnReadProp } from '../../../../SimpleNavbar/components/CTA';
|
|
2
|
-
import { CTAProps } from '../index';
|
|
3
|
-
export declare const DesktopActions: ({ isAuthenticated, continueURL, showContinueAction, openCommPanel, teamMember, hasUnreadMessages, showTalkToExpertCta, }: CTAProps & UnReadProp) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const DesktopActionsWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const DropdownMenu: () => JSX.Element;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import Launch from '@lendi-ui/icon/Launch';
|
|
2
|
-
export declare const LogoutWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
-
export declare const MyAccountTitle: any;
|
|
4
|
-
export declare const LinkWrapper: import("styled-components").StyledComponent<(props: import("@lendi-ui/typography").LinkProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
-
export declare const LaunchIcon: import("styled-components").StyledComponent<typeof Launch, import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const LogoutComponent: () => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const KebabMenu: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { UnReadProp } from '../../../../SimpleNavbar/components/CTA';
|
|
2
|
-
import { CTAProps } from '../index';
|
|
3
|
-
export declare const MobileActions: ({ isAuthenticated, continueURL, showContinueAction, openCommPanel, teamMember, hasUnreadMessages, showTalkToExpertCta, }: CTAProps & UnReadProp) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const MobileActionsWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { TeamMember } from '../../types';
|
|
2
|
-
import { UnReadProp } from '../../../SimpleNavbar/components/CTA';
|
|
3
|
-
export interface CTAProps {
|
|
4
|
-
isAuthenticated: boolean;
|
|
5
|
-
continueURL: string;
|
|
6
|
-
dashboardVariant?: boolean;
|
|
7
|
-
showContinueAction?: boolean;
|
|
8
|
-
showTalkToExpertCta?: boolean;
|
|
9
|
-
showBookanAppointmentCta?: boolean;
|
|
10
|
-
utmCampaign?: string | null;
|
|
11
|
-
openCommPanel?: () => void;
|
|
12
|
-
teamMember?: TeamMember;
|
|
13
|
-
}
|
|
14
|
-
declare const CTAButtons: (props: CTAProps & UnReadProp) => JSX.Element;
|
|
15
|
-
export default CTAButtons;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import UnreadMessage from '@lendi-ui/icon/UnreadMessage';
|
|
2
|
-
export declare const TalkExpertAction: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
|
|
3
|
-
export declare const TalkExpertActionMobile: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
|
|
4
|
-
export declare const SecondaryAction: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
|
|
5
|
-
export declare const SecondaryActionMobile: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
|
|
6
|
-
export declare const DesktopLogoutWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
7
|
-
export declare const UnreadMessageWrapper: import("styled-components").StyledComponent<typeof UnreadMessage, import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
interface HeaderLogo {
|
|
2
|
-
isHref: boolean;
|
|
3
|
-
}
|
|
4
|
-
export declare const StyledHeaderLogo: import("styled-components").StyledComponent<({ variant, width, height, className, isExpanded, isTeamView, brand, ...otherProps }: import("@lendi-ui/logo/src/Logo").LogoProps) => JSX.Element, import("styled-components").DefaultTheme, HeaderLogo, never>;
|
|
5
|
-
export declare const LogoLink: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
-
interface LogoWrapperProps {
|
|
7
|
-
hasHamburgerMenu: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const LogoWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, LogoWrapperProps, never>;
|
|
10
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export declare const BOOK_AN_APPOINTMENT = "BOOK AN APPOINTMENT";
|
|
2
|
-
export declare const UNREAD_MESSAGE = "YOU HAVE AN UNREAD MESSAGE";
|
|
3
|
-
export declare const UNREAD_MESSAGE_MOBILE = "UNREAD MESSAGE";
|
|
4
|
-
export declare const CONTACT_US = "CONTACT US";
|
|
5
|
-
export declare const LABEL_TALK_TO_EXPERT = "TALK TO AN EXPERT";
|
|
6
|
-
export declare const LABEL_SIGN_IN = "SIGN IN";
|
|
7
|
-
export declare const LABEL_CONTINUE = "CONTINUE";
|
|
8
|
-
export declare const LABEL_APPLICATIONS = "Applications";
|
|
9
|
-
export declare const LABEL_DASHBOARD = "Dashboard";
|
|
10
|
-
export declare const LABEL_PROPERTY_REPORT = "Property reports";
|
|
11
|
-
export declare const LABEL_LOG_OUT = "Sign out";
|
|
12
|
-
export declare const LABEL_MORE_OPTIONS = "More options";
|
|
13
|
-
export declare const DASHBOARD_V2_PATH = "/v2/dashboard";
|
|
14
|
-
export declare const PATH_LENDI = "";
|
|
15
|
-
export declare const PATH_DOMAIN = "/loanfinder";
|
|
16
|
-
export declare const ROUTE_SIGN_IN = "/sign-in";
|
|
17
|
-
export declare const ROUTE_BOOK_APPOINTMENT = "/book-appointment/";
|
|
18
|
-
export declare const ROUTE_APPLICATIONS = "/dashboard/applications";
|
|
19
|
-
export declare const ROUTE_PROPERTY_REPORT = "/dashboard/my-property-report";
|
|
20
|
-
export declare const ROUTE_NEW_PROPERTY_REPORT = "/property-report/my-properties";
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { SessionState } from '@lendi/lala-react';
|
|
2
|
-
import { Application } from '../types';
|
|
3
|
-
interface FunnelApplicationAPIResponse {
|
|
4
|
-
data: Application[];
|
|
5
|
-
}
|
|
6
|
-
export declare const getApplications: (session: SessionState, customerId?: string | undefined, limit?: number | undefined, orderBy?: string | undefined) => Promise<FunnelApplicationAPIResponse>;
|
|
7
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface NavbarWrapperProps {
|
|
3
|
-
isAuthenticated?: boolean;
|
|
4
|
-
}
|
|
5
|
-
export declare const navTokens: {
|
|
6
|
-
size: {
|
|
7
|
-
height: {
|
|
8
|
-
navbar: {
|
|
9
|
-
mobile: {
|
|
10
|
-
value: string;
|
|
11
|
-
};
|
|
12
|
-
desktop: {
|
|
13
|
-
value: string;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
export declare const NavbarWrapper: import("styled-components").StyledComponent<import("react").FunctionComponent<import("@lendi-ui/navbar-base").NavbarBaseProps> & import("@lendi-ui/navbar-base").NavbarCompoundComponent, import("styled-components").DefaultTheme, NavbarWrapperProps, never>;
|
|
20
|
-
export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
21
|
-
export declare const MenuLogoWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
22
|
-
export declare const NavbarLeftWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
23
|
-
export declare const NavbarRightWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
24
|
-
export {};
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { LUIGlobalProps } from '@lendi-ui/utils';
|
|
2
|
-
export interface NavbarButtonProp {
|
|
3
|
-
/** flag to show TalktoExpert cta btn */
|
|
4
|
-
showTalkToExpertCta?: boolean;
|
|
5
|
-
}
|
|
6
|
-
export interface CommonNavbarProps extends LUIGlobalProps, NavbarButtonProp {
|
|
7
|
-
/** Transparent the background */
|
|
8
|
-
useTransparent?: boolean;
|
|
9
|
-
/** URL for logo */
|
|
10
|
-
homeURL?: string;
|
|
11
|
-
/** hide/undhide dashboard link in the Kebab menu */
|
|
12
|
-
hideDashboardItem?: boolean;
|
|
13
|
-
/** hide/undhide manageApplications link in the Kebab menu */
|
|
14
|
-
hideManageApplicationsItem?: boolean;
|
|
15
|
-
/** Query params to appear along with homeUrl */
|
|
16
|
-
params?: string;
|
|
17
|
-
/** Url for continue button */
|
|
18
|
-
continueURL?: string;
|
|
19
|
-
/** Handler for logout */
|
|
20
|
-
onLogout?: () => void;
|
|
21
|
-
/** The application object */
|
|
22
|
-
application?: Application;
|
|
23
|
-
/** To add more flexibility to show continueButton. For example, in F1/F2, you don't need to show up continue button as you are in funnel, instead show BookAnAppoinment button. */
|
|
24
|
-
showContinueAction?: boolean;
|
|
25
|
-
/** flag to show Book an appoointment cta btn */
|
|
26
|
-
showBookanAppointmentCta?: boolean;
|
|
27
|
-
onException: (err: Error) => void;
|
|
28
|
-
}
|
|
29
|
-
export interface MultiNavbarProps extends CommonNavbarProps {
|
|
30
|
-
}
|
|
31
|
-
export interface SimpleNavbarProps extends CommonNavbarProps {
|
|
32
|
-
}
|
|
33
|
-
export interface GuestNavbarProps extends CommonNavbarProps {
|
|
34
|
-
}
|
|
35
|
-
export declare enum ApplicationStage {
|
|
36
|
-
started_application = "started_application",
|
|
37
|
-
finished_funnel2 = "finished_funnel2",
|
|
38
|
-
finished_funnel3 = "finished_funnel3",
|
|
39
|
-
finalised_application = "finalised_application",
|
|
40
|
-
loan_selected = "loan_selected"
|
|
41
|
-
}
|
|
42
|
-
export declare type ApplicationType = 'Refinance' | 'New Purchase';
|
|
43
|
-
export interface Applicant {
|
|
44
|
-
uuid?: string;
|
|
45
|
-
sfid?: string;
|
|
46
|
-
type?: 'primary' | string;
|
|
47
|
-
firstName?: string;
|
|
48
|
-
}
|
|
49
|
-
export interface Application {
|
|
50
|
-
id?: string;
|
|
51
|
-
type?: ApplicationType;
|
|
52
|
-
sfid?: string;
|
|
53
|
-
number?: number;
|
|
54
|
-
stage?: ApplicationStage;
|
|
55
|
-
createdDate?: string;
|
|
56
|
-
continueURL?: string;
|
|
57
|
-
applicants?: Applicant[];
|
|
58
|
-
isAuth?: boolean;
|
|
59
|
-
}
|
|
60
|
-
export interface TeamMember {
|
|
61
|
-
id: string;
|
|
62
|
-
firstName: string;
|
|
63
|
-
lastName: string;
|
|
64
|
-
phoneNumber?: string;
|
|
65
|
-
email: string;
|
|
66
|
-
profile: string;
|
|
67
|
-
profilePictureURL?: string;
|
|
68
|
-
createdAt?: string;
|
|
69
|
-
}
|
|
70
|
-
export interface ApplicationInSF {
|
|
71
|
-
activeApplicationNumber?: number;
|
|
72
|
-
activeApplicationSfid?: string;
|
|
73
|
-
applicants?: ApplicantInSF[];
|
|
74
|
-
applicationStage?: string;
|
|
75
|
-
applicationCreatedDate?: string;
|
|
76
|
-
continueApplicationLink?: string;
|
|
77
|
-
transactionType?: string;
|
|
78
|
-
isAuth?: boolean;
|
|
79
|
-
}
|
|
80
|
-
export interface ApplicantInSF {
|
|
81
|
-
applicant_type?: string;
|
|
82
|
-
first_name?: string;
|
|
83
|
-
married_to_uuid?: any;
|
|
84
|
-
sfid?: string;
|
|
85
|
-
uuid?: string;
|
|
86
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
export declare type UserType = 'customer' | 'broker';
|
|
2
|
-
export interface Customer {
|
|
3
|
-
customerId: string;
|
|
4
|
-
name?: string;
|
|
5
|
-
phone: string;
|
|
6
|
-
email: string;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* The Broker object for Aussie's Broker pages
|
|
10
|
-
*
|
|
11
|
-
* @see https://www.aussie-dev.com.au/mortgage-broker/clinton-macritchie/
|
|
12
|
-
* @param id string The Salesforce UUID
|
|
13
|
-
*/
|
|
14
|
-
export interface Broker {
|
|
15
|
-
id: string;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* The Store object for Aussie's Store
|
|
19
|
-
*
|
|
20
|
-
* @see https://www.aussie-dev.com.au/mortgage-broker/
|
|
21
|
-
* @param id string The Salesforce UUID
|
|
22
|
-
*/
|
|
23
|
-
export interface Store {
|
|
24
|
-
id: string;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* The TeamMember object for both Lendi Platform's TeamMember.
|
|
28
|
-
*/
|
|
29
|
-
export interface TeamMember extends Broker {
|
|
30
|
-
firstName: string;
|
|
31
|
-
lastName: string;
|
|
32
|
-
phoneNumber?: string;
|
|
33
|
-
email: string;
|
|
34
|
-
profile: string;
|
|
35
|
-
profilePictureURL?: string;
|
|
36
|
-
createdAt?: string;
|
|
37
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { BaseEvent, ButtonEvent, LinkEvent, MenuEvent } from '@lendi/analytics';
|
|
2
|
-
export { AuthenticationStatus, EventCategory, ButtonType, CustomerType } from '@lendi/analytics';
|
|
3
|
-
export type { MenuEvent, ButtonEvent, LinkEvent } from '@lendi/analytics';
|
|
4
|
-
export declare const analytics: (navbarAnalyticsEvent: BaseEvent | ButtonEvent | LinkEvent | MenuEvent) => void;
|
|
5
|
-
export declare const ACTION_CLICK = "click";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getThemedColour: (property: 'background' | 'foreground') => string;
|