@mx-cartographer/experiences 8.0.0-alpha.bb3 → 8.0.0-alpha.mega1
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/CHANGELOG.md +178 -1
- package/dist/{Account-Bxw0_4FU.mjs → Account-CvR2-dSR.mjs} +1 -1
- package/dist/{AccountDetailsContent-CAM9y39M.mjs → AccountDetailsContent-CitErkuS.mjs} +89 -82
- package/dist/AccountDetailsHeader-BkG3MNYo.mjs +87 -0
- package/dist/{AccountFields-C9FlatNb.mjs → AccountFields-zCMqet85.mjs} +6 -6
- package/dist/{AccountListItem-JFMZROh7.mjs → AccountListItem-DHrz8Mml.mjs} +9 -9
- package/dist/{AccountStore-BgNOyMdp.mjs → AccountStore-LgfBcYMe.mjs} +112 -75
- package/dist/Accounts-Bzy1_REQ.mjs +9 -0
- package/dist/{BeatApi-DhJpgCLz.mjs → BeatApi-De2IaqH2.mjs} +1 -1
- package/dist/{BeatStore-IBnXd4YK.mjs → BeatStore-D_NYuBSz.mjs} +1 -1
- package/dist/{BudgetUtil-B2ZXyw-g.mjs → BudgetUtil-BmZXkL0C.mjs} +2 -2
- package/dist/{CategorySelectorDrawer-DUe4lH5-.mjs → CategorySelectorDrawer-B-I3kajA.mjs} +23 -21
- package/dist/CategoryStore-CA3tS1BO.mjs +186 -0
- package/dist/CategoryUtil-DUM8NuGO.mjs +78 -0
- package/dist/{ConnectDrawer-BQNs-hjk.mjs → ConnectDrawer-BkvlItWx.mjs} +11 -11
- package/dist/{ConnectionsDrawer-ByGQE7D5.mjs → ConnectionsDrawer-VmuVFHbL.mjs} +5 -5
- package/dist/{CurrencyInput-DUsQbkXb.mjs → CurrencyInput-itK0R3wV.mjs} +2 -2
- package/dist/{CurrencyText-kyC1aseI.mjs → CurrencyText-Dr0EZ7bp.mjs} +1 -1
- package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CBdcsyuk.mjs} +3 -3
- package/dist/{DebtsStore-C9bblOgW.mjs → DebtsStore-Bq-aPy-5.mjs} +1 -1
- package/dist/{Dialog-CWW597AF.mjs → Dialog-BPTr3qHE.mjs} +2 -2
- package/dist/{Donut-oaQFlbit.mjs → Donut-Dmy3JTWd.mjs} +12 -12
- package/dist/Drawer-By9V-B5L.mjs +178 -0
- package/dist/{EmptyState-DA_lfRBv.mjs → EmptyState-DoxNUae-.mjs} +24 -22
- package/dist/{ExportCsvAction-sX8Rg4Ov.mjs → ExportCsvAction-Cglo8Mca.mjs} +3 -3
- package/dist/{Fetch-87LIQbEA.mjs → Fetch-DecPFeGU.mjs} +24 -22
- package/dist/FinstrongStore-BIrX0Xg2.mjs +451 -0
- package/dist/{GoalStore-D-aB35SY.mjs → GoalStore-1P19goZ7.mjs} +112 -152
- package/dist/{Help-B6dIcujh.mjs → Help-Ea3BlXQp.mjs} +2 -2
- package/dist/LineChart-KpPw1phO.mjs +580 -0
- package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-BxTkF6Tz.mjs} +10 -10
- package/dist/{ManageIncome-1s_q5W4X.mjs → ManageIncome-CaoQl609.mjs} +91 -88
- package/dist/{MerchantStore-DrFvsUyy.mjs → MerchantStore-WvZ4gnQe.mjs} +1 -1
- package/dist/MicroWidgetContainer-r6mtxRer.mjs +52 -0
- package/dist/MiniWidgetContainer-Bg02sF1Y.mjs +71 -0
- package/dist/{NetWorthStore-DCsTZpuS.mjs → NetWorthStore-rC0q7P7t.mjs} +2 -2
- package/dist/{NotificationSettings-DqrkNMod.mjs → NotificationSettings-uzM8tCoH.mjs} +236 -231
- package/dist/{NotificationStore-BxP_P2dA.mjs → NotificationStore-CDX_kqHa.mjs} +7 -15
- package/dist/{NumberFormatting-Buh7u8Oi.mjs → NumberFormatting-DjTD0t3W.mjs} +9 -9
- package/dist/{OriginalBalanceAction-CWuVvRq9.mjs → OriginalBalanceAction-C6jdS4ws.mjs} +4 -4
- package/dist/{RecurringSettings-A_rAGCTP.mjs → RecurringSettings-B4ybrS0B.mjs} +4 -4
- package/dist/{RecurringTransactions-DK8dWldr.mjs → RecurringTransactions-BqijW_8S.mjs} +49 -48
- package/dist/{RecurringTransactionsStore-C4YOD7_D.mjs → RecurringTransactionsStore-BhBUVm9a.mjs} +26 -29
- package/dist/{SettingsStore-BcgS_Ohv.mjs → SettingsStore-krIRNwHK.mjs} +3 -3
- package/dist/{SpendingData-D5vsfYKo.mjs → SpendingData-DQ1b9uqq.mjs} +11 -13
- package/dist/SpendingLegend-CDO060GT.mjs +193 -0
- package/dist/{ToggleListItem-r0Kx56wF.mjs → ToggleListItem-ciFTiqRS.mjs} +19 -14
- package/dist/TransactionApi-CjBoLleL.mjs +86 -0
- package/dist/TransactionDetails-m5PddMQn.mjs +1380 -0
- package/dist/TransactionStore-PRlwE-TF.mjs +677 -0
- package/dist/TrendsStore-yO7qYv97.mjs +186 -0
- package/dist/{User-BQUxBeZV.mjs → User-Cnlegl1N.mjs} +2 -2
- package/dist/{ViewMoreMicroCard-SCn2wt4i.mjs → ViewMoreMicroCard-DwR0v_ll.mjs} +711 -728
- package/dist/{WidgetContainer-BHWANqT4.mjs → WidgetContainer-CoFDmQRE.mjs} +4 -4
- package/dist/accounts/components/AccountsListCompact.d.ts +10 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +4 -1
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader.d.ts +2 -1
- package/dist/accounts/index.es.js +245 -235
- package/dist/accounts/stores/AccountStore.d.ts +24 -25
- package/dist/accounts/utils/Accounts.d.ts +1 -2
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/components/AddBudgets.d.ts +2 -1
- package/dist/budgets/index.es.js +611 -580
- package/dist/budgets/store/BudgetsStore.d.ts +0 -1
- package/dist/cashflow/index.es.js +187 -180
- package/dist/categories/index.es.js +2 -2
- package/dist/categories/stores/CategoryStore.d.ts +2 -5
- package/dist/categories/util/CategoryUtil.d.ts +2 -3
- package/dist/common/components/Select.d.ts +4 -2
- package/dist/common/components/charts/LineChart.d.ts +12 -2
- package/dist/common/components/charts/index.d.ts +0 -3
- package/dist/common/components/charts/linechart/CustomLegend.d.ts +3 -1
- package/dist/common/components/charts/linechart/CustomMark.d.ts +4 -0
- package/dist/common/components/charts/linechart/CustomTooltip.d.ts +6 -1
- package/dist/common/components/charts/stackedlinechart/CustomPointTooltip.d.ts +5 -2
- package/dist/common/components/drawer/Drawer.d.ts +3 -0
- package/dist/common/components/drawer/Footer.d.ts +17 -0
- package/dist/common/hooks/index.d.ts +1 -0
- package/dist/common/hooks/useWidgetLoadTimer.d.ts +6 -0
- package/dist/common/index.es.js +397 -387
- package/dist/common/stores/AppDataStore.d.ts +1 -3
- package/dist/common/stores/GlobalCopyStore.d.ts +1 -0
- package/dist/common/stores/GlobalStore.d.ts +10 -4
- package/dist/common/stores/GlobalUiStore.d.ts +2 -3
- package/dist/common/stores/UserStore.d.ts +2 -3
- package/dist/common/types/Account.d.ts +6 -9
- package/dist/common/types/Finstrong.d.ts +54 -0
- package/dist/common/types/Global.d.ts +1 -0
- package/dist/common/types/Widgets.d.ts +1 -0
- package/dist/common/types/index.d.ts +1 -1
- package/dist/common/types/localization/FinstrongCopy.d.ts +105 -2
- package/dist/common/types/localization/GoalsCopy.d.ts +1 -0
- package/dist/common/types/localization/TransactionsCopy.d.ts +1 -0
- package/dist/dashboard/index.es.js +90 -88
- package/dist/debts/index.es.js +458 -448
- package/dist/exportTransactionsToCSV-DuAaI5XA.mjs +48 -0
- package/dist/finstrong/FinstrongWidget.d.ts +1 -1
- package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
- package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +3 -1
- package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +4 -0
- package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +4 -0
- package/dist/finstrong/components/FinancialStrengthGraph.d.ts +7 -1
- package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +3 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +3 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +4 -0
- package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +3 -0
- package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
- package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +4 -1
- package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
- package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
- package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +4 -3
- package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +10 -0
- package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
- package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +6 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +4 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +4 -0
- package/dist/finstrong/components/ProgressBar.d.ts +15 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +3 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +3 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +4 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +3 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +3 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +4 -0
- package/dist/finstrong/components/StatusChip.d.ts +5 -0
- package/dist/finstrong/components/onboarding/Onboarding.d.ts +2 -0
- package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +17 -0
- package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +8 -0
- package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +8 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +14 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +8 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +4 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +4 -0
- package/dist/finstrong/components/shared/Accounts.d.ts +8 -0
- package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +24 -0
- package/dist/finstrong/components/shared/DialScoreCard.d.ts +7 -1
- package/dist/finstrong/components/shared/DoubleBarChart.d.ts +28 -0
- package/dist/finstrong/components/shared/LineGraph.d.ts +7 -0
- package/dist/finstrong/components/shared/TotalCard.d.ts +8 -0
- package/dist/finstrong/components/shared/Transactions.d.ts +11 -0
- package/dist/finstrong/constants/index.d.ts +9 -0
- package/dist/finstrong/index.es.js +3190 -1073
- package/dist/finstrong/stores/FinstrongStore.d.ts +25 -2
- package/dist/finstrong/util/finstrongUtils.d.ts +58 -1
- package/dist/goals/index.es.js +302 -291
- package/dist/goals/stores/GoalStore.d.ts +4 -17
- package/dist/help/index.es.js +13 -9
- package/dist/{hooks-D6XlXHf4.mjs → hooks-ZMp65DFz.mjs} +12 -12
- package/dist/insights/index.es.js +1 -1
- package/dist/investments/index.es.js +108 -104
- package/dist/investments/stores/HoldingStore.d.ts +0 -1
- package/dist/merchants/index.es.js +2 -2
- package/dist/microinsights/MicroCardTemplate.d.ts +16 -0
- package/dist/microinsights/beaticons/BeatIcon.d.ts +2 -9
- package/dist/microinsights/beaticons/BeatMerchantLogo.d.ts +3 -2
- package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.d.ts +2 -1
- package/dist/microinsights/cards/{MicroInsightCard.d.ts → BaseCard.d.ts} +1 -8
- package/dist/microinsights/cards/{BeatCard.d.ts → InsightCard.d.ts} +2 -2
- package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +2 -5
- package/dist/microinsights/cards/ZeroStateCard.d.ts +2 -5
- package/dist/microinsights/carousel/BeatList.d.ts +10 -0
- package/dist/microinsights/carousel/CarouselControls.d.ts +1 -3
- package/dist/microinsights/carousel/CarouselHeader.d.ts +1 -2
- package/dist/microinsights/constants/App.d.ts +0 -1
- package/dist/microinsights/index.d.ts +4 -3
- package/dist/microinsights/index.es.js +101 -14
- package/dist/microinsights/interfaces.d.ts +0 -6
- package/dist/networth/index.es.js +197 -190
- package/dist/notifications/index.es.js +25 -25
- package/dist/notifications/stores/NotificationStore.d.ts +1 -3
- package/dist/recurringtransactions/index.es.js +395 -351
- package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +2 -3
- package/dist/settings/index.es.js +307 -298
- package/dist/spending/index.es.js +299 -438
- package/dist/spending/utils/SpendingData.d.ts +2 -1
- package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -0
- package/dist/transactions/components/shared/TransactionList.d.ts +1 -0
- package/dist/transactions/index.es.js +115 -112
- package/dist/transactions/stores/TransactionStore.d.ts +77 -21
- package/dist/trends/components/TrendsTable.d.ts +0 -2
- package/dist/trends/index.es.js +1025 -604
- package/dist/trends/utils/TrendsData.d.ts +1 -0
- package/dist/{useAccountDisplayName-BUAApBIb.mjs → useAccountDisplayName-B7iXTNM8.mjs} +2 -2
- package/dist/{useCombineEvents-BUDIR1ba.mjs → useCombineEvents-CRwX-qWE.mjs} +1 -1
- package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-B7dxpDrX.mjs} +1 -1
- package/dist/useWidgetLoadTimer-hIOioiKx.mjs +19 -0
- package/package.json +4 -4
- package/dist/AccountDetailsHeader-JtSX6Uf9.mjs +0 -120
- package/dist/Accounts-BRf_YeTf.mjs +0 -27
- package/dist/CategoryStore-yHI0hWmK.mjs +0 -174
- package/dist/CategoryUtil-pZRIYOgN.mjs +0 -80
- package/dist/Drawer-kEE73B87.mjs +0 -113
- package/dist/FinstrongStore-F2c607dj.mjs +0 -101
- package/dist/LineChart-D4GI7nVh.mjs +0 -541
- package/dist/MicroWidgetContainer-DpeqN9n3.mjs +0 -45
- package/dist/MiniWidgetContainer-D0gfmbaF.mjs +0 -56
- package/dist/TransactionApi-B3Tksf7L.mjs +0 -86
- package/dist/TransactionDetails-oP1eSuiS.mjs +0 -1334
- package/dist/TransactionStore-ai3uII_r.mjs +0 -690
- package/dist/TrendsStore-DCYbpXPO.mjs +0 -559
- package/dist/common/components/SkeletonLoader.d.ts +0 -7
- package/dist/exportTransactionsToCSV-7bVS7KXf.mjs +0 -47
- package/dist/finstrong/utils/Finstrong.d.ts +0 -6
- package/dist/useAriaLive-B3_pRUio.mjs +0 -35
|
@@ -7,7 +7,6 @@ export declare class AppDataStore {
|
|
|
7
7
|
api: AppDataApi;
|
|
8
8
|
bannerApi: BannerApi;
|
|
9
9
|
appData: AppData;
|
|
10
|
-
isAppDataLoaded: boolean;
|
|
11
10
|
banner: Banner;
|
|
12
11
|
constructor(globalStore: GlobalStore);
|
|
13
12
|
get appConfig(): AppConfig;
|
|
@@ -16,8 +15,7 @@ export declare class AppDataStore {
|
|
|
16
15
|
get user(): User;
|
|
17
16
|
get userCommunicationProfile(): UserCommunicationProfile;
|
|
18
17
|
get userProfile(): UserProfile;
|
|
19
|
-
|
|
20
|
-
loadAppData: () => Promise<void>;
|
|
18
|
+
loadAppData: (appDataOverrides?: AppData) => Promise<void>;
|
|
21
19
|
loadBanner: () => Promise<void>;
|
|
22
20
|
setUser: (user: User) => User;
|
|
23
21
|
setUserCommunicationProfile: (profile: UserCommunicationProfile) => UserCommunicationProfile;
|
|
@@ -8,6 +8,7 @@ export declare class GlobalCopyStore {
|
|
|
8
8
|
featureNamespace: string;
|
|
9
9
|
isInitialized: boolean;
|
|
10
10
|
constructor(globalStore: GlobalStore);
|
|
11
|
+
initialize: (endpoint: string, token: string) => Promise<void>;
|
|
11
12
|
loadCopy: () => Promise<void>;
|
|
12
13
|
getCopy: (namespace: string, translationKey?: string) => Promise<void>;
|
|
13
14
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AccountStore } from '../../accounts';
|
|
2
2
|
import { AnalyticsStore } from '../../analytics/stores/AnalyticsStore';
|
|
3
|
-
import { BeatStore } from '../../insights';
|
|
3
|
+
import { BeatStore } from '../../insights/store/BeatStore';
|
|
4
4
|
import { BudgetsStore } from '../../budgets/store/BudgetsStore';
|
|
5
5
|
import { CashflowStore } from '../../cashflow';
|
|
6
6
|
import { CategoryStore } from '../../categories';
|
|
@@ -21,7 +21,8 @@ import { ConnectStore } from './ConnectStore';
|
|
|
21
21
|
import { GlobalCopyStore } from './GlobalCopyStore';
|
|
22
22
|
import { GlobalUiStore } from './GlobalUiStore';
|
|
23
23
|
import { UserStore } from './UserStore';
|
|
24
|
-
import { Account, Category, Institution, Member
|
|
24
|
+
import { Account, Category, Institution, Member } from '../../common';
|
|
25
|
+
import { AppConfig, AppData, Beat, GlobalErrorHandler, Tag, Tagging, Transaction, TransactionRule, UserFeature } from '../types';
|
|
25
26
|
interface LoadDataProps {
|
|
26
27
|
accounts?: Account[];
|
|
27
28
|
appData?: AppData;
|
|
@@ -35,11 +36,16 @@ interface LoadDataProps {
|
|
|
35
36
|
transactions?: Transaction[];
|
|
36
37
|
userFeatures?: UserFeature[];
|
|
37
38
|
}
|
|
39
|
+
type OnStoreUpdate = (update: ObservedUpdate) => void;
|
|
40
|
+
type ObservedUpdate = {
|
|
41
|
+
transactions: Transaction[];
|
|
42
|
+
};
|
|
38
43
|
export declare class GlobalStore {
|
|
39
44
|
appConfig: AppConfig;
|
|
40
45
|
endpoint: string;
|
|
41
46
|
sessionToken: string;
|
|
42
47
|
onError?: GlobalErrorHandler;
|
|
48
|
+
onStoreUpdate?: OnStoreUpdate;
|
|
43
49
|
accountStore: AccountStore;
|
|
44
50
|
appDataStore: AppDataStore;
|
|
45
51
|
analyticsStore: AnalyticsStore;
|
|
@@ -63,9 +69,9 @@ export declare class GlobalStore {
|
|
|
63
69
|
trendsStore: TrendsStore;
|
|
64
70
|
userStore: UserStore;
|
|
65
71
|
globalUiStore: GlobalUiStore;
|
|
66
|
-
constructor(appConfig?: AppConfig, endpoint?: string, onError?: GlobalErrorHandler);
|
|
72
|
+
constructor(appConfig?: AppConfig, endpoint?: string, onError?: GlobalErrorHandler, onStoreUpdate?: OnStoreUpdate);
|
|
67
73
|
get isInitialized(): boolean;
|
|
68
|
-
|
|
74
|
+
emitUpdate: (change: ObservedUpdate) => void;
|
|
69
75
|
loadData: ({ accounts, appData, associatedBeats, categories, institutions, transactionRules, transactions, userFeatures, }?: LoadDataProps) => Promise<void>;
|
|
70
76
|
}
|
|
71
77
|
export {};
|
|
@@ -2,6 +2,7 @@ import { Account } from '../types';
|
|
|
2
2
|
import { GlobalStore } from './GlobalStore';
|
|
3
3
|
export declare class GlobalUiStore {
|
|
4
4
|
globalStore: GlobalStore;
|
|
5
|
+
isInitialized: boolean;
|
|
5
6
|
selectedAccounts: Account[];
|
|
6
7
|
selectedAccountGuids: string[];
|
|
7
8
|
displayedDate: Date;
|
|
@@ -11,9 +12,7 @@ export declare class GlobalUiStore {
|
|
|
11
12
|
};
|
|
12
13
|
constructor(globalStore: GlobalStore);
|
|
13
14
|
get isCopyLoaded(): boolean;
|
|
14
|
-
|
|
15
|
-
get areUserFeaturesLoaded(): boolean;
|
|
16
|
-
get isInitialized(): boolean;
|
|
15
|
+
setInitialized: (isInitialized: boolean) => void;
|
|
17
16
|
setSelectedAccounts: (accounts: Account[]) => void;
|
|
18
17
|
setSelectedAccountGuids: (guids: string[]) => Promise<void>;
|
|
19
18
|
setDisplayedDate: (startDate: Date, endDate: Date) => void;
|
|
@@ -5,12 +5,11 @@ export declare class UserStore {
|
|
|
5
5
|
globalStore: GlobalStore;
|
|
6
6
|
api: UserApi;
|
|
7
7
|
userFeatures: UserFeature[];
|
|
8
|
-
userFeaturesLoaded: boolean;
|
|
9
8
|
constructor(globalStore: GlobalStore);
|
|
9
|
+
initialize: (endpoint: string, token: string) => Promise<void>;
|
|
10
10
|
get userProfile(): UserProfile;
|
|
11
11
|
get user(): User;
|
|
12
|
-
|
|
13
|
-
loadUserFeatures: () => Promise<void>;
|
|
12
|
+
loadUserFeatures: (featuresOverrides?: UserFeature[]) => Promise<void>;
|
|
14
13
|
updateUser: (user: User) => Promise<void>;
|
|
15
14
|
updateUserProfile: (userProfile: UserProfile) => Promise<void>;
|
|
16
15
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Institution } from './Institution';
|
|
2
1
|
export interface Account {
|
|
3
2
|
account_number?: string;
|
|
4
3
|
account_subtype?: AccountSubType;
|
|
@@ -65,20 +64,17 @@ export interface Account {
|
|
|
65
64
|
memberName?: string;
|
|
66
65
|
connectionStatus?: ConnectionStatus;
|
|
67
66
|
displayName?: string;
|
|
68
|
-
|
|
67
|
+
truncatedDisplayName?: string;
|
|
69
68
|
institutionName?: string;
|
|
70
69
|
}
|
|
71
70
|
export interface DetailedAccount extends Account {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
member?: Member;
|
|
76
|
-
monthlyBalances?: MonthlyAccountBalance[];
|
|
77
|
-
institution?: Institution;
|
|
71
|
+
institution_name: string;
|
|
72
|
+
isEnabled: boolean;
|
|
73
|
+
name: string;
|
|
78
74
|
}
|
|
79
75
|
export interface Member {
|
|
80
76
|
aggregation_status: number;
|
|
81
|
-
connection_status:
|
|
77
|
+
connection_status: number;
|
|
82
78
|
guid: string;
|
|
83
79
|
institution_guid: string;
|
|
84
80
|
institution_name?: string;
|
|
@@ -102,6 +98,7 @@ export interface Member {
|
|
|
102
98
|
verification_is_enabled: boolean;
|
|
103
99
|
tax_statement_is_enabled: boolean;
|
|
104
100
|
successfully_aggregated_at?: number;
|
|
101
|
+
connectionStatus?: ConnectionStatus;
|
|
105
102
|
}
|
|
106
103
|
export interface MonthlyAccountBalance {
|
|
107
104
|
account_guid: string;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { CardStatus } from '../constants/FinStrong';
|
|
2
|
+
import { Transaction } from './Transaction';
|
|
3
|
+
export interface SpendingFeeTransaction {
|
|
4
|
+
transaction: Transaction;
|
|
5
|
+
}
|
|
2
6
|
export interface HealthScore {
|
|
3
7
|
created_at: string;
|
|
4
8
|
debt_score: number;
|
|
@@ -31,6 +35,33 @@ export interface MonthlyHealthScoreAverage {
|
|
|
31
35
|
export interface MonthlyHealthScore {
|
|
32
36
|
monthly_health_score_average: MonthlyHealthScoreAverage[];
|
|
33
37
|
}
|
|
38
|
+
export interface MonthlyHealthScoreItem {
|
|
39
|
+
monthly_health_score_average: MonthlyHealthScoreAverage;
|
|
40
|
+
}
|
|
41
|
+
export interface MonthlySummaries {
|
|
42
|
+
user_guid: string;
|
|
43
|
+
year: number;
|
|
44
|
+
month: number;
|
|
45
|
+
standard_spend: number;
|
|
46
|
+
debt_spend: number;
|
|
47
|
+
income: number;
|
|
48
|
+
available_cash: number;
|
|
49
|
+
debt_balance: number;
|
|
50
|
+
credit_score: number;
|
|
51
|
+
}
|
|
52
|
+
export interface FinstrongTransaction {
|
|
53
|
+
transaction: Transaction;
|
|
54
|
+
}
|
|
55
|
+
export interface HealthScoreAverage {
|
|
56
|
+
birth_year: number;
|
|
57
|
+
single_year_user_count: number;
|
|
58
|
+
single_year_average_health_score: number;
|
|
59
|
+
user_count_total: number;
|
|
60
|
+
average_health_score: number;
|
|
61
|
+
}
|
|
62
|
+
export interface PeerAverage {
|
|
63
|
+
average_health_score: HealthScoreAverage;
|
|
64
|
+
}
|
|
34
65
|
export interface HealthScoreReport {
|
|
35
66
|
credit_score_change_effect: number;
|
|
36
67
|
debt_score_point_difference: number | null;
|
|
@@ -69,3 +100,26 @@ export interface HealthScoreReport {
|
|
|
69
100
|
user_guid: string;
|
|
70
101
|
}
|
|
71
102
|
export type KeyIndicatorsCardState = (typeof CardStatus)[keyof typeof CardStatus];
|
|
103
|
+
export declare enum OnboardingSteps {
|
|
104
|
+
ConnectAccounts = 1,
|
|
105
|
+
MonthlyIncome = 2,
|
|
106
|
+
Birthday = 3,
|
|
107
|
+
CreditScore = 4
|
|
108
|
+
}
|
|
109
|
+
export declare enum DurationUnit {
|
|
110
|
+
Months = 1,
|
|
111
|
+
Years = 2,
|
|
112
|
+
Days = 3
|
|
113
|
+
}
|
|
114
|
+
export declare enum ContributeFrequency {
|
|
115
|
+
Monthly = 1,
|
|
116
|
+
BiWeekly = 2,
|
|
117
|
+
Weekly = 3,
|
|
118
|
+
Daily = 4
|
|
119
|
+
}
|
|
120
|
+
export interface AllTransactions {
|
|
121
|
+
income: FinstrongTransaction[];
|
|
122
|
+
debtSpend: FinstrongTransaction[];
|
|
123
|
+
spendingFee: Transaction[];
|
|
124
|
+
spend: FinstrongTransaction[];
|
|
125
|
+
}
|
|
@@ -16,7 +16,7 @@ export { GoalType, MetaType, TrackType } from './Goal';
|
|
|
16
16
|
export type { Goal, MonthlyCashFlowProfile, RetirementGoalAccount } from './Goal';
|
|
17
17
|
export type { Debt } from './Debt';
|
|
18
18
|
export type { GlobalErrorHandler, GlobalEventHandler } from './Handlers';
|
|
19
|
-
export type { HealthScore, HealthScoreReport, MonthlyHealthScore } from './Finstrong';
|
|
19
|
+
export type { HealthScore, HealthScoreReport, MonthlyHealthScore, MonthlySummaries, SpendingFeeTransaction, AllTransactions, } from './Finstrong';
|
|
20
20
|
export type { HelpAlertProps, HelpCategory, HelpContentProps, HelpTopic, HelpType, ImageContentProps, InstitutionData, NoImageContentProps, SectionProps, SelectedTopic, Ticket, } from './Help';
|
|
21
21
|
export type { Institution } from './Institution';
|
|
22
22
|
export * from './localization';
|
|
@@ -6,6 +6,23 @@ export interface CreditScoreStatusCopy {
|
|
|
6
6
|
exceptional: string;
|
|
7
7
|
missing_data: string;
|
|
8
8
|
}
|
|
9
|
+
interface HaveManageableDebtDrawer {
|
|
10
|
+
debt_payment: string;
|
|
11
|
+
debt_over_time: string;
|
|
12
|
+
have_manageable_debt_description: string;
|
|
13
|
+
have_manageable_debt_double_bar_chart_empty_state_description: string;
|
|
14
|
+
have_manageable_debt_double_bar_chart_empty_state_header: string;
|
|
15
|
+
have_manageable_debt_more_transactions: string;
|
|
16
|
+
have_manageable_debt_income: string;
|
|
17
|
+
have_manageable_debt_line_chart_empty_state_description: string;
|
|
18
|
+
have_manageable_debt_line_chart_empty_state_header: string;
|
|
19
|
+
have_manageable_debt_payments: string;
|
|
20
|
+
have_manageable_debt_sticky_description: string;
|
|
21
|
+
have_manageable_debt_sticky_title: string;
|
|
22
|
+
have_manageable_debt_title: string;
|
|
23
|
+
have_manageable_debt_transactions: string;
|
|
24
|
+
income: string;
|
|
25
|
+
}
|
|
9
26
|
export interface HealthScoreStatuDetailsCopy {
|
|
10
27
|
building: string;
|
|
11
28
|
stable: string;
|
|
@@ -18,6 +35,7 @@ interface KeyIndicatorBorrow {
|
|
|
18
35
|
credit_score_missing_description: string;
|
|
19
36
|
credit_score_off_track_description: string;
|
|
20
37
|
credit_score_title: string;
|
|
38
|
+
have_manageable_debt_drawer: HaveManageableDebtDrawer;
|
|
21
39
|
manage_debit_fair_description: string;
|
|
22
40
|
manage_debit_good_description: string;
|
|
23
41
|
manage_debit_missing_description: string;
|
|
@@ -31,24 +49,60 @@ interface KeyIndicatorSave {
|
|
|
31
49
|
days_of_cash_missing_description: string;
|
|
32
50
|
days_of_cash_off_track_description: string;
|
|
33
51
|
days_of_cash_title: string;
|
|
52
|
+
drawer_available: string;
|
|
53
|
+
drawer_available_balance: string;
|
|
54
|
+
drawer_daily_spend: string;
|
|
55
|
+
drawer_description: string;
|
|
56
|
+
drawer_progress_bar_label: string;
|
|
57
|
+
drawer_progress_bar_value: string;
|
|
58
|
+
drawer_spending: string;
|
|
59
|
+
drawer_title: string;
|
|
34
60
|
emergency_savings_fair_description: string;
|
|
35
61
|
emergency_savings_good_description: string;
|
|
36
62
|
emergency_savings_missing_description: string;
|
|
37
63
|
emergency_savings_off_track_description: string;
|
|
38
64
|
emergency_savings_title: string;
|
|
65
|
+
savings_over_time: string;
|
|
39
66
|
title: string;
|
|
67
|
+
zero_state_title: string;
|
|
68
|
+
zero_state_description: string;
|
|
69
|
+
}
|
|
70
|
+
interface PayBillsOnTimeDrawer {
|
|
71
|
+
pay_bills_on_time_description: string;
|
|
72
|
+
pay_bills_on_time_sticky_description: string;
|
|
73
|
+
pay_bills_on_time_sticky_fee_count: string;
|
|
74
|
+
pay_bills_on_time_sticky_state: string;
|
|
75
|
+
pay_bills_on_time_title: string;
|
|
76
|
+
pay_bills_on_time_zero_fees_title: string;
|
|
77
|
+
pay_bills_on_time_zero_fees_description: string;
|
|
78
|
+
}
|
|
79
|
+
interface SpendLessThanYouMakeDrawer {
|
|
80
|
+
income: string;
|
|
81
|
+
spend_less_than_you_make_description: string;
|
|
82
|
+
spend_less_than_you_make_title: string;
|
|
83
|
+
spend_less_than_you_make_sticky_description: string;
|
|
84
|
+
spending: string;
|
|
85
|
+
spending_zero_state_title: string;
|
|
86
|
+
spending_zero_state_description: string;
|
|
87
|
+
spent: string;
|
|
88
|
+
trends: string;
|
|
89
|
+
trends_zero_state_title: string;
|
|
90
|
+
trends_zero_state_description: string;
|
|
91
|
+
view_more: string;
|
|
40
92
|
}
|
|
41
|
-
interface KeyIndicatorSpend {
|
|
93
|
+
export interface KeyIndicatorSpend {
|
|
42
94
|
count_card_title: string;
|
|
43
95
|
count_fair_description: string;
|
|
44
96
|
count_good_description: string;
|
|
45
97
|
count_missing_description: string;
|
|
46
98
|
count_off_track_description: string;
|
|
99
|
+
pay_bills_on_time_drawer: PayBillsOnTimeDrawer;
|
|
47
100
|
ratio_card_title: string;
|
|
48
101
|
ratio_fair_description: string;
|
|
49
102
|
ratio_good_description: string;
|
|
50
103
|
ratio_missing_description: string;
|
|
51
104
|
ratio_off_track_description: string;
|
|
105
|
+
spend_less_than_you_make_drawer: SpendLessThanYouMakeDrawer;
|
|
52
106
|
title: string;
|
|
53
107
|
}
|
|
54
108
|
interface ScoreHistoryDrawerTimeline {
|
|
@@ -72,12 +126,18 @@ export interface FinstrongCopy {
|
|
|
72
126
|
connect_more_accounts_button: string;
|
|
73
127
|
connect_more_accounts_description: string;
|
|
74
128
|
connect_more_accounts_title: string;
|
|
129
|
+
connect_more_accounts_to_unlock_a_fuller_understanding_of_your_finances: string;
|
|
75
130
|
connect_more_accounts_to_view_more_accurate_financial_picture: string;
|
|
76
131
|
connect_your_accounts: string;
|
|
77
132
|
connected_account: string;
|
|
78
133
|
connections: string;
|
|
134
|
+
credit_over_time_title: string;
|
|
135
|
+
credit_over_time_zero_state_desc: string;
|
|
79
136
|
credit_score: string;
|
|
137
|
+
credit_score_description: string;
|
|
138
|
+
credit_score_keep_strong_credit_score: string;
|
|
80
139
|
credit_score_status: CreditScoreStatusCopy;
|
|
140
|
+
credit_score_updated_score: string;
|
|
81
141
|
date_of_birth: string;
|
|
82
142
|
dont_see_all_your_accounts: string;
|
|
83
143
|
edit_credit_score: string;
|
|
@@ -90,6 +150,7 @@ export interface FinstrongCopy {
|
|
|
90
150
|
health_score_zero_title: string;
|
|
91
151
|
health_score_zero_description: string;
|
|
92
152
|
how_do_we_do_this: string;
|
|
153
|
+
in_the_last_90_days_you_spent: string;
|
|
93
154
|
insufficient_data: string;
|
|
94
155
|
key_indicators: string;
|
|
95
156
|
key_indicators_borrow: KeyIndicatorBorrow;
|
|
@@ -98,16 +159,58 @@ export interface FinstrongCopy {
|
|
|
98
159
|
key_indicators_missing: string;
|
|
99
160
|
key_indicators_label: string;
|
|
100
161
|
key_indicators_off_track: string;
|
|
162
|
+
key_indicators_open: string;
|
|
101
163
|
key_indicators_save: KeyIndicatorSave;
|
|
102
164
|
key_indicators_spend: KeyIndicatorSpend;
|
|
103
165
|
missing_data_description: string;
|
|
166
|
+
maintain_emergency_savings_bi_weekly: string;
|
|
167
|
+
maintain_emergency_savings_calculate: string;
|
|
168
|
+
maintain_emergency_savings_daily: string;
|
|
169
|
+
maintain_emergency_savings_day: string;
|
|
170
|
+
maintain_emergency_savings_days: string;
|
|
171
|
+
maintain_emergency_savings_description: string;
|
|
172
|
+
maintain_emergency_savings_estimated_contribution: string;
|
|
173
|
+
maintain_emergency_savings_estimated_period_bi_weekly: string;
|
|
174
|
+
maintain_emergency_savings_estimated_period_daily: string;
|
|
175
|
+
maintain_emergency_savings_estimated_period_monthly: string;
|
|
176
|
+
maintain_emergency_savings_estimated_period_weekly: string;
|
|
177
|
+
maintain_emergency_savings_how_often_contribute: string;
|
|
178
|
+
maintain_emergency_savings_meet_your_goal_within: string;
|
|
179
|
+
maintain_emergency_savings_months: string;
|
|
180
|
+
maintain_emergency_savings_monthly: string;
|
|
181
|
+
maintain_emergency_savings_savings_goal: string;
|
|
182
|
+
maintain_emergency_savings_suggested_goal: string;
|
|
183
|
+
maintain_emergency_savings_title: string;
|
|
184
|
+
maintain_emergency_savings_weekly: string;
|
|
185
|
+
maintain_emergency_savings_years: string;
|
|
186
|
+
maintain_emergency_savings_your_savings: string;
|
|
104
187
|
missing_data_title: string;
|
|
188
|
+
more_accounts: string;
|
|
105
189
|
monthly_income: string;
|
|
190
|
+
onboarding_add_accounts: string;
|
|
191
|
+
onboarding_add_income_primary: string;
|
|
192
|
+
onboarding_add_income_secondary: string;
|
|
193
|
+
onboarding_add_more_income: string;
|
|
194
|
+
onboarding_back: string;
|
|
195
|
+
onboarding_birthday_primary: string;
|
|
196
|
+
onboarding_birthday_secondary: string;
|
|
197
|
+
onboarding_calculate_primary: string;
|
|
198
|
+
onboarding_calculate_secondary: string;
|
|
199
|
+
onboarding_confirm_income: string;
|
|
200
|
+
onboarding_connect_your_accounts_secondary: string;
|
|
201
|
+
onboarding_credit_score_primary: string;
|
|
202
|
+
onboarding_credit_score_secondary: string;
|
|
203
|
+
onboarding_do_it_later: string;
|
|
204
|
+
onboarding_get_started: string;
|
|
205
|
+
onboarding_next: string;
|
|
206
|
+
onboarding_select_date: string;
|
|
207
|
+
onboarding_subtitle: string;
|
|
208
|
+
onboarding_title: string;
|
|
209
|
+
peer_average: string;
|
|
106
210
|
profile: string;
|
|
107
211
|
score_history: string;
|
|
108
212
|
score_history_drawer_timeline: ScoreHistoryDrawerTimeline;
|
|
109
213
|
score_rubric: string;
|
|
110
|
-
peer_average: string;
|
|
111
214
|
see_whats_possible: string;
|
|
112
215
|
see_whats_possible_description: string;
|
|
113
216
|
stable: string;
|
|
@@ -49,6 +49,7 @@ export interface TransactionsCopy {
|
|
|
49
49
|
merchant_logo_modal_desc_bold: string;
|
|
50
50
|
merchant_logo_modal_title: string;
|
|
51
51
|
merchant_logo_title: string;
|
|
52
|
+
payee_edit: string;
|
|
52
53
|
payee_title: string;
|
|
53
54
|
split_transaction_add_split_btn: string;
|
|
54
55
|
split_transaction_category_label: string;
|