@mx-cartographer/experiences 8.1.10 → 8.2.0-alpha.bb0
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 +4 -0
- package/dist/{Account-CMjOp7S2.mjs → Account-BTOmbrEK.mjs} +5 -5
- package/dist/{Account-BIKn4XEZ.mjs → Account-DC2d-cjn.mjs} +1 -1
- package/dist/{AccountDetailsHeader-CzefHTWU.mjs → AccountDetailsHeader-IDZ6GTT0.mjs} +10 -10
- package/dist/{AccountFields-BWmpVsS3.mjs → AccountFields-BRAl-Hro.mjs} +6 -6
- package/dist/{AccountListItem-DRDxaRBe.mjs → AccountListItem-B8koowMf.mjs} +7 -7
- package/dist/{Accounts-DX3xJE97.mjs → AccountUtils-Bc-SndzX.mjs} +1 -1
- package/dist/{Analytics-CxK7O19c.mjs → Analytics-vgPYa2Zt.mjs} +1 -1
- package/dist/AnalyticsApi-DwgSyZ6m.mjs +102 -0
- package/dist/ApiEndpoints-DXwIYNUV.mjs +49 -0
- package/dist/BudgetUtil-CGchXaek.mjs +74 -0
- package/dist/{Category-Ccoew_sA.mjs → Category-DEKZGLYe.mjs} +3 -3
- package/dist/{CategorySelectorDrawer-hhDdSFHO.mjs → CategorySelectorDrawer-nHEBR24E.mjs} +2 -2
- package/dist/{Connect-CBBTL1HJ.mjs → Connect-Dk6GZEsA.mjs} +1 -1
- package/dist/ConnectCard-Dix8BoV_.mjs +54 -0
- package/dist/{ConnectDrawer-DNnuF80E.mjs → ConnectDrawer-DgfsTpyW.mjs} +2 -2
- package/dist/{ConnectionsDrawer-DX6d7uwJ.mjs → ConnectionsDrawer-D7IXAza2.mjs} +2 -2
- package/dist/CurrencyDialog-C7r7JqVu.mjs +371 -0
- package/dist/{CurrencyInput-BMbUVSvz.mjs → CurrencyInput-BUd8mAcE.mjs} +15 -16
- package/dist/{CurrencyText-oqd6cX3M.mjs → CurrencyText-Dd3NxFYY.mjs} +1 -1
- package/dist/{DateFormats-CaOj_4eI.mjs → DateFormats-BSktnUw6.mjs} +6 -7
- package/dist/{DateUtil-D0TO0DaZ.mjs → DateUtil-Bdm-ZxFw.mjs} +1 -1
- package/dist/DebtUtils-DPn1cXKG.mjs +153 -0
- package/dist/EmbeddedCard-CAY_HJjE.mjs +856 -0
- package/dist/Error-Dogaw2jO.mjs +84 -0
- package/dist/ErrorBoundary-CsdOcnJ9.mjs +23 -0
- package/dist/{ExportCsvAction-BDFu6YIe.mjs → ExportCsvAction-DzeJOb_g.mjs} +6 -5
- package/dist/{GlobalAccountFilter-jkFxqPg6.mjs → GlobalAccountFilter-DrhtwPqh.mjs} +1 -1
- package/dist/GlobalCopyApi-C75qVBk6.mjs +30 -0
- package/dist/GoalsUtil-B-Z6fq_t.mjs +107 -0
- package/dist/{Help-CgpJK03Q.mjs → Help-CkQTjORd.mjs} +6 -27
- package/dist/{Help-C_CM4gpK.mjs → Help-HoxJgoVt.mjs} +68 -67
- package/dist/InformationTooltip-4su8bn1e.mjs +41 -0
- package/dist/{LineChart-CeZnCZ7j.mjs → LineChart-DNynWPGz.mjs} +2 -2
- package/dist/{ListItemAction-CNpknVvo.mjs → ListItemAction-DGjHxNDJ.mjs} +1 -1
- package/dist/ListItemRow-kH1rn8Xu.mjs +67 -0
- package/dist/ListItemWrapper-B5r-YQQ_.mjs +42 -0
- package/dist/Localization-Li21_krp.mjs +37 -0
- package/dist/{ManageIncome-BX2IqW57.mjs → ManageIncome-C_FjST7B.mjs} +24 -24
- package/dist/{MicroWidgetContainer-DAesImQ6.mjs → MicroWidgetContainer-CfKdQfhi.mjs} +1 -1
- package/dist/{MiniWidgetContainer-BOv3n4iw.mjs → MiniWidgetContainer-BdPiUU-u.mjs} +1 -1
- package/dist/NetWorthUtils-CyVz9bUn.mjs +95 -0
- package/dist/{NotificationSettings-DatCL2Ej.mjs → NotificationSettings-B8pH9TOv.mjs} +13 -13
- package/dist/NotificationUtils-BRGFTePr.mjs +23 -0
- package/dist/{NumberFormatting-CyrvFgfd.mjs → NumberFormatting-Dnk0YyfZ.mjs} +1 -1
- package/dist/{OriginalBalanceAction-CWQ0CK-T.mjs → OriginalBalanceAction-BEBuqeS1.mjs} +4 -4
- package/dist/{RecurringSettings-DCplGEv_.mjs → RecurringSettings-eQb1AS5x.mjs} +9 -9
- package/dist/RecurringTransactionsUtil-DbMNqEu_.mjs +253 -0
- package/dist/Select-BZRUpOib.mjs +51 -0
- package/dist/SelectionBox-Bx2a5rh4.mjs +48 -0
- package/dist/Sizes-DISGrlUg.mjs +6 -0
- package/dist/{SpendingData-Dj85XEUp.mjs → SpendingData-CktOElG1.mjs} +6 -6
- package/dist/{SpendingLegend-DLElSvH0.mjs → SpendingLegend-CM5L_1Ka.mjs} +4 -4
- package/dist/{TransactionDetails-C_skrQk8.mjs → TransactionDetails-BP-sFltN.mjs} +33 -33
- package/dist/TransactionUtils-CvJW9wDu.mjs +234 -0
- package/dist/TrendsUtil-D9z3kIj_.mjs +69 -0
- package/dist/{ViewMoreMicroCard-D1j0w64K.mjs → ViewMoreMicroCard-DWOpU5L8.mjs} +28 -30
- package/dist/{WidgetContainer-BPJoDkhL.mjs → WidgetContainer-CAgbD0ZS.mjs} +3 -3
- package/dist/accounts/hooks/useUiStore.d.ts +6 -1
- package/dist/accounts/index.d.ts +0 -1
- package/dist/accounts/index.es.js +52 -54
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/index.es.js +18 -18
- package/dist/cashflow/context/hooks.d.ts +15 -1
- package/dist/cashflow/index.d.ts +0 -1
- package/dist/cashflow/index.es.js +28 -31
- package/dist/categories/context/hooks.d.ts +19 -1
- package/dist/categories/index.d.ts +0 -1
- package/dist/categories/index.es.js +4 -6
- package/dist/common/constants/ScheduledPayment.d.ts +1 -1
- package/dist/common/constants/index.d.ts +0 -3
- package/dist/common/context/GlobalDataProvider.d.ts +1 -1
- package/dist/common/context/hooks.d.ts +21 -21
- package/dist/common/index.d.ts +0 -1
- package/dist/common/index.es.js +203 -961
- package/dist/common/utils/AccountFilter.d.ts +1 -1
- package/dist/common/utils/index.d.ts +0 -4
- package/dist/{common → core}/constants/DefaultConfig.d.ts +1 -1
- package/dist/core/constants/Transaction.d.ts +10 -0
- package/dist/core/constants/index.d.ts +2 -0
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.es.js +3060 -88
- package/dist/{accounts → core}/stores/AccountStore.d.ts +14 -4
- package/dist/{analytics → core}/stores/AnalyticsStore.d.ts +1 -1
- package/dist/{common → core}/stores/AppDataStore.d.ts +4 -5
- package/dist/{insights/store → core/stores}/BeatStore.d.ts +3 -3
- package/dist/{budgets/store → core/stores}/BudgetsStore.d.ts +3 -4
- package/dist/{cashflow/stores/UiStore.d.ts → core/stores/CashflowStore.d.ts} +10 -2
- package/dist/{categories → core}/stores/CategoryStore.d.ts +24 -4
- package/dist/{common → core}/stores/ConnectStore.d.ts +2 -2
- package/dist/core/stores/DebtsStore.d.ts +22 -0
- package/dist/{finstrong → core}/stores/FinstrongStore.d.ts +4 -4
- package/dist/{common → core}/stores/GlobalCopyStore.d.ts +2 -2
- package/dist/{common → core}/stores/GlobalStore.d.ts +2 -25
- package/dist/{common → core}/stores/GlobalUiStore.d.ts +3 -3
- package/dist/{goals → core}/stores/GoalStore.d.ts +3 -3
- package/dist/{help/store → core/stores}/HelpStore.d.ts +4 -6
- package/dist/{investments → core}/stores/HoldingStore.d.ts +4 -4
- package/dist/{merchants → core}/stores/MerchantStore.d.ts +3 -3
- package/dist/{networth → core}/stores/NetWorthStore.d.ts +3 -4
- package/dist/{notifications → core}/stores/NotificationStore.d.ts +3 -3
- package/dist/{recurringtransactions → core}/stores/RecurringTransactionsStore.d.ts +3 -3
- package/dist/{settings → core}/stores/SettingsStore.d.ts +4 -5
- package/dist/{transactions → core}/stores/TransactionStore.d.ts +27 -6
- package/dist/{trends → core}/stores/TrendsStore.d.ts +11 -5
- package/dist/{common → core}/stores/UserStore.d.ts +2 -2
- package/dist/core/stores/index.d.ts +24 -0
- package/dist/{networth → core}/types/NetWorth.d.ts +1 -10
- package/dist/core/types/Offer.d.ts +32 -0
- package/dist/core/types/index.d.ts +3 -1
- package/dist/{accounts/utils/Accounts.d.ts → core/utils/AccountUtils.d.ts} +1 -1
- package/dist/{microinsights/utils/beatUtils.d.ts → core/utils/BeatUtils.d.ts} +1 -1
- package/dist/{budgets → core}/utils/BudgetUtil.d.ts +2 -2
- package/dist/{categories/util → core/utils}/CategoryUtil.d.ts +6 -1
- package/dist/core/utils/DebtUtils.d.ts +31 -0
- package/dist/core/utils/FinstrongUtils.d.ts +7 -0
- package/dist/{goals/util → core/utils}/GoalsUtil.d.ts +1 -1
- package/dist/core/utils/HelpUtil.d.ts +3 -0
- package/dist/{investments/util → core/utils}/InvestmentUtil.d.ts +2 -2
- package/dist/core/utils/Localization.d.ts +2 -0
- package/dist/{networth → core}/utils/NetWorthUtils.d.ts +1 -2
- package/dist/{notifications → core}/utils/NotificationUtils.d.ts +1 -1
- package/dist/{common → core}/utils/NumberFormatting.d.ts +1 -1
- package/dist/{recurringtransactions/util/RecurringTransactions.d.ts → core/utils/RecurringTransactionsUtil.d.ts} +1 -1
- package/dist/{settings/util/Notifications.d.ts → core/utils/SettingsUtil.d.ts} +1 -1
- package/dist/{transactions/utils/buildDetailedTransactions.d.ts → core/utils/TransactionUtils.d.ts} +12 -2
- package/dist/{trends/utils/TrendsData.d.ts → core/utils/TrendsUtil.d.ts} +1 -1
- package/dist/{common/utils/User.d.ts → core/utils/UserUtils.d.ts} +1 -1
- package/dist/core/utils/index.d.ts +1 -1
- package/dist/dashboard/index.es.js +4 -4
- package/dist/debts/components/DebtsChart.d.ts +1 -1
- package/dist/debts/components/DebtsTable.d.ts +1 -1
- package/dist/debts/components/SnowballCard.d.ts +1 -1
- package/dist/debts/components/actions/InterestRateAction.d.ts +1 -1
- package/dist/debts/components/actions/MonthlyPaymentAction.d.ts +1 -1
- package/dist/debts/components/actions/OriginalBalanceAction.d.ts +1 -1
- package/dist/debts/hooks/useDebtsUiStore.d.ts +1 -1
- package/dist/debts/index.d.ts +0 -1
- package/dist/debts/index.es.js +568 -691
- package/dist/debts/utils/DebtsTable.d.ts +1 -1
- package/dist/debts/utils/SnowballCard.d.ts +2 -2
- package/dist/finstrong/index.d.ts +0 -1
- package/dist/finstrong/index.es.js +1565 -1342
- package/dist/finstrong/util/finstrongUtils.d.ts +1 -7
- package/dist/goals/components/addgoal/AddGoalListItem.d.ts +1 -1
- package/dist/goals/index.d.ts +0 -1
- package/dist/goals/index.es.js +71 -73
- package/dist/help/index.es.js +4 -4
- package/dist/help/utils/index.d.ts +0 -1
- package/dist/{hooks-RzCoiTd0.mjs → hooks-BaO_gOI6.mjs} +17 -17
- package/dist/insights/index.d.ts +0 -1
- package/dist/insights/index.es.js +52 -54
- package/dist/investments/components/AnalysisDetails.d.ts +1 -1
- package/dist/investments/index.es.js +6 -6
- package/dist/merchants/index.d.ts +0 -1
- package/dist/merchants/index.es.js +12 -14
- package/dist/microinsights/index.es.js +1 -1
- package/dist/microinsights/interfaces.d.ts +1 -33
- package/dist/networth/components/AssetsLiabilitiesDetail.d.ts +1 -1
- package/dist/networth/components/GainsLossesDetail.d.ts +1 -1
- package/dist/networth/components/NetWorthChange.d.ts +1 -1
- package/dist/networth/components/NetWorthListItem.d.ts +1 -1
- package/dist/networth/components/NetWorthSummary.d.ts +1 -1
- package/dist/networth/index.d.ts +0 -4
- package/dist/networth/index.es.js +232 -237
- package/dist/notifications/index.d.ts +0 -2
- package/dist/notifications/index.es.js +23 -26
- package/dist/recurringtransactions/index.d.ts +0 -1
- package/dist/recurringtransactions/index.es.js +67 -71
- package/dist/settings/index.d.ts +0 -1
- package/dist/settings/index.es.js +11 -13
- package/dist/spending/index.es.js +10 -10
- package/dist/transactions/context/hooks.d.ts +1 -1
- package/dist/transactions/index.d.ts +0 -4
- package/dist/transactions/index.es.js +102 -109
- package/dist/trends/index.d.ts +0 -1
- package/dist/trends/index.es.js +67 -68
- package/dist/trends/utils/shared.d.ts +1 -1
- package/dist/{useAccountDisplayName-pliH6hz0.mjs → useAccountDisplayName-CFa_MrS6.mjs} +1 -1
- package/dist/{useInsightsEnabled-CzJoG8xi.mjs → useInsightsEnabled-DaNLPmUU.mjs} +1 -1
- package/dist/{useWidgetLoadTimer-BZjr-BiE.mjs → useWidgetLoadTimer-CJb-RELP.mjs} +1 -1
- package/package.json +1 -1
- package/dist/AccountApi-WEM2M9tg.mjs +0 -19
- package/dist/AccountStore-CGrjC2Oe.mjs +0 -253
- package/dist/ApiEndpoints-C5IA97i7.mjs +0 -118
- package/dist/BeatApi-C6pBa0Rb.mjs +0 -21
- package/dist/BeatStore-C7-PIhpB.mjs +0 -163
- package/dist/BudgetUtil-H9igoNVm.mjs +0 -479
- package/dist/CashflowStore-BEi92kJg.mjs +0 -91
- package/dist/CategoryApi-CogDFScz.mjs +0 -29
- package/dist/CategoryStore-CA4NTaKH.mjs +0 -160
- package/dist/CategoryUtil-BJOHgYKS.mjs +0 -80
- package/dist/DebtsStore-BJlC2-yO.mjs +0 -63
- package/dist/EmbeddedCard-B9JoBaan.mjs +0 -811
- package/dist/FinstrongApi-FpmsS_sy.mjs +0 -19
- package/dist/FinstrongStore-DYawCv1d.mjs +0 -435
- package/dist/GlobalCopyApi-DkS-2Zf_.mjs +0 -41
- package/dist/Goal-MFBpoOIC.mjs +0 -29
- package/dist/GoalStore-BBAEbf43.mjs +0 -395
- package/dist/Localization-C_HZg9tJ.mjs +0 -15
- package/dist/Localization-CkQ49EKr.mjs +0 -26
- package/dist/MerchantApi-D8ahYxiG.mjs +0 -15
- package/dist/MerchantStore-CyZTv-BM.mjs +0 -26
- package/dist/NetWorthStore-BY-B_hxy.mjs +0 -168
- package/dist/NotificationApi-DF0obHoR.mjs +0 -20
- package/dist/NotificationStore-DlAM5Ue0.mjs +0 -69
- package/dist/RecurringTransactions-DCt94TN4.mjs +0 -297
- package/dist/RecurringTransactionsStore-CFJYC7lI.mjs +0 -264
- package/dist/RepeatingTransaction-D2gmBTd0.mjs +0 -7
- package/dist/RepeatingTransactionsApi-BNZgZPLs.mjs +0 -17
- package/dist/SettingsApi-D9d7SLhB.mjs +0 -22
- package/dist/SettingsStore-BcbuKfFO.mjs +0 -250
- package/dist/Transaction-Cn5_iFm0.mjs +0 -5
- package/dist/TransactionApi-CLG2eSNe.mjs +0 -86
- package/dist/TransactionStore-amPYxHnA.mjs +0 -710
- package/dist/TrendsStore-bYjIGqyR.mjs +0 -183
- package/dist/WidgetApi-C0BA2cFX.mjs +0 -102
- package/dist/accounts/stores/UiStore.d.ts +0 -10
- package/dist/accounts/utils/index.d.ts +0 -1
- package/dist/cashflow/stores/CashflowStore.d.ts +0 -8
- package/dist/categories/stores/UiStore.d.ts +0 -20
- package/dist/common/stores/index.d.ts +0 -3
- package/dist/common/utils/Categories.d.ts +0 -6
- package/dist/common/utils/Localization.d.ts +0 -3
- package/dist/debts/store/DebtsStore.d.ts +0 -10
- package/dist/debts/store/DebtsUiStore.d.ts +0 -13
- package/dist/debts/utils/DebtStore.d.ts +0 -4
- package/dist/debts/utils/DebtsWidget.d.ts +0 -20
- package/dist/debts/utils/shared.d.ts +0 -12
- package/dist/exportTransactionsToCSV-CSvbZrvL.mjs +0 -133
- package/dist/help/constants/index.d.ts +0 -1
- package/dist/help/utils/getAccessibleHelpCategories.d.ts +0 -3
- package/dist/transactions/analytics.d.ts +0 -3
- package/dist/transactions/constants/Transaction.d.ts +0 -2
- package/dist/transactions/constants/TransactionsTable.d.ts +0 -17
- package/dist/transactions/stores/UiStore.d.ts +0 -25
- package/dist/transactions/utils/exportTransactionsToCSV.d.ts +0 -9
- package/dist/transactions/utils/sortAndFilterTransactions.d.ts +0 -3
- /package/dist/{common → core}/constants/Category.d.ts +0 -0
- /package/dist/{common → core}/constants/DateFormats.d.ts +0 -0
- /package/dist/{debts/constants/index.d.ts → core/constants/Debts.d.ts} +0 -0
- /package/dist/{help → core}/constants/Help.d.ts +0 -0
- /package/dist/{investments/constants/index.d.ts → core/constants/Investments.d.ts} +0 -0
- /package/dist/{common → core}/constants/Numbers.d.ts +0 -0
- /package/dist/{common → core}/constants/Table.d.ts +0 -0
- /package/dist/{common → core}/utils/DateUtil.d.ts +0 -0
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Account, DetailedAccount, Institution, Member, AccountType } from '
|
|
3
|
-
import {
|
|
4
|
-
import { UiStore } from './UiStore';
|
|
1
|
+
import { AccountApi } from '../api';
|
|
2
|
+
import { Account, DetailedAccount, Institution, Member, AccountType } from '../types';
|
|
3
|
+
import { GlobalStore } from './GlobalStore';
|
|
5
4
|
export declare class AccountStore {
|
|
6
5
|
globalStore: GlobalStore;
|
|
7
6
|
api: AccountApi;
|
|
@@ -48,6 +47,9 @@ export declare class AccountStore {
|
|
|
48
47
|
loadInstitutions: () => Promise<void>;
|
|
49
48
|
loadMembers: () => Promise<void>;
|
|
50
49
|
mergeAccounts: (accountGuids: string[]) => Promise<void>;
|
|
50
|
+
/**
|
|
51
|
+
* DEPRECATED: Use loadAccountData instead
|
|
52
|
+
*/
|
|
51
53
|
refreshAccounts: () => Promise<void>;
|
|
52
54
|
refreshMembers: () => Promise<void>;
|
|
53
55
|
removeAccount: (accountGuid: string) => Promise<void>;
|
|
@@ -55,3 +57,11 @@ export declare class AccountStore {
|
|
|
55
57
|
updateAccountBalance: (accountGuid: string, balanceChange: number) => void;
|
|
56
58
|
updateAccountFilter: (accountMap: Map<string, boolean>) => Promise<void>;
|
|
57
59
|
}
|
|
60
|
+
declare class UiStore {
|
|
61
|
+
selectedAccount: Account;
|
|
62
|
+
selectedMember: Member;
|
|
63
|
+
constructor();
|
|
64
|
+
setSelectedAccount: (account: Account) => Account;
|
|
65
|
+
setSelectedMember: (member: Member) => Member;
|
|
66
|
+
}
|
|
67
|
+
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { AppDataApi } from '
|
|
2
|
-
import { AppConfig, AppData, Banner, User, UserCommunicationProfile, UserProfile } from '
|
|
3
|
-
import { BannerApi } from '../../core/api';
|
|
1
|
+
import { AppDataApi, BannerApi } from '../api';
|
|
2
|
+
import { AppConfig, AppData, Banner, User, UserCommunicationProfile, UserProfile } from '../types';
|
|
4
3
|
import { GlobalStore } from './GlobalStore';
|
|
5
4
|
export declare class AppDataStore {
|
|
6
5
|
globalStore: GlobalStore;
|
|
@@ -11,8 +10,8 @@ export declare class AppDataStore {
|
|
|
11
10
|
banner: Banner;
|
|
12
11
|
constructor(globalStore: GlobalStore);
|
|
13
12
|
get appConfig(): AppConfig;
|
|
14
|
-
get clientCommunicationProfile(): import('
|
|
15
|
-
get clientInsightProfile(): import('
|
|
13
|
+
get clientCommunicationProfile(): import('../types').ClientCommunicationProfile;
|
|
14
|
+
get clientInsightProfile(): import('../types').ClientInsightProfile;
|
|
16
15
|
get user(): User;
|
|
17
16
|
get userCommunicationProfile(): UserCommunicationProfile;
|
|
18
17
|
get userProfile(): UserProfile;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BeatApi } from '
|
|
2
|
-
import { Beat } from '
|
|
3
|
-
import { GlobalStore } from '
|
|
1
|
+
import { BeatApi } from '../api';
|
|
2
|
+
import { Beat } from '../types';
|
|
3
|
+
import { GlobalStore } from './GlobalStore';
|
|
4
4
|
export declare class BeatStore {
|
|
5
5
|
globalStore: GlobalStore;
|
|
6
6
|
api: BeatApi;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Theme } from '@mui/system';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { MerchantBudget } from '../../core/types/Budget';
|
|
2
|
+
import { BudgetsApi } from '../api';
|
|
3
|
+
import { GlobalStore } from './GlobalStore';
|
|
4
|
+
import { Budget, Category, DateRange, DetailedBudget, DetailedCategory, MerchantBudget } from '../types';
|
|
6
5
|
export declare class BudgetsStore {
|
|
7
6
|
api: BudgetsApi;
|
|
8
7
|
globalStore: GlobalStore;
|
|
@@ -1,5 +1,12 @@
|
|
|
1
|
-
import { Account, Recurrence } from '
|
|
2
|
-
|
|
1
|
+
import { Account, Recurrence } from '../types';
|
|
2
|
+
import { GlobalStore } from './GlobalStore';
|
|
3
|
+
export declare class CashflowStore {
|
|
4
|
+
globalStore: GlobalStore;
|
|
5
|
+
uiStore: UiStore;
|
|
6
|
+
constructor(globalStore: GlobalStore);
|
|
7
|
+
completeOnboarding: () => Promise<void>;
|
|
8
|
+
}
|
|
9
|
+
declare class UiStore {
|
|
3
10
|
dateRange: {
|
|
4
11
|
start: Date;
|
|
5
12
|
end: Date;
|
|
@@ -15,3 +22,4 @@ export declare class UiStore {
|
|
|
15
22
|
setUpcomingExpenses: (expenses: Recurrence[]) => void;
|
|
16
23
|
setSelectedCashAccounts: (accounts: Account[]) => Account[];
|
|
17
24
|
}
|
|
25
|
+
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { CategoryApi } from '
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { UiStore } from './UiStore';
|
|
1
|
+
import { CategoryApi } from '../api';
|
|
2
|
+
import { GlobalStore } from './GlobalStore';
|
|
3
|
+
import { Account, Category, DetailedCategory, DetailedCategoryWithTransactions, DateRangeCategoryTotals, MonthlyCategoryTotals } from '../types';
|
|
5
4
|
export declare class CategoryStore {
|
|
6
5
|
globalStore: GlobalStore;
|
|
7
6
|
uiStore: UiStore;
|
|
@@ -34,3 +33,24 @@ export declare class CategoryStore {
|
|
|
34
33
|
updateCategory: (category: Category) => Promise<void>;
|
|
35
34
|
getCategoryName: (guid: string) => string;
|
|
36
35
|
}
|
|
36
|
+
declare class UiStore {
|
|
37
|
+
expandedGuid: string | null;
|
|
38
|
+
selectedGuid: string | null;
|
|
39
|
+
searchValue: string;
|
|
40
|
+
showSelected: boolean;
|
|
41
|
+
shouldDisableDrawerScroll: boolean;
|
|
42
|
+
unselectable: string[];
|
|
43
|
+
unselectableText: string;
|
|
44
|
+
savedOnSelect: any;
|
|
45
|
+
constructor();
|
|
46
|
+
setExpandedGuid: (guid: string | null) => string | null;
|
|
47
|
+
setSelectedGuid: (guid: string | null) => string | null;
|
|
48
|
+
setSearchValue: (value: string) => string;
|
|
49
|
+
setShouldDisableDrawerScroll: (shouldDisable: boolean) => boolean;
|
|
50
|
+
setShowSelected: (showSelected: boolean) => boolean;
|
|
51
|
+
setUnselectable: (unselectable: string[]) => string[];
|
|
52
|
+
setUnselectableText: (text: string) => string;
|
|
53
|
+
onSelect: (guid: string) => any;
|
|
54
|
+
setOnSelect: (callback: any) => any;
|
|
55
|
+
}
|
|
56
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { WidgetApi } from '
|
|
2
|
-
import { GlobalStore } from '
|
|
1
|
+
import { WidgetApi } from '../api';
|
|
2
|
+
import { GlobalStore } from './GlobalStore';
|
|
3
3
|
export declare class ConnectStore {
|
|
4
4
|
globalStore: GlobalStore;
|
|
5
5
|
widgetApi: WidgetApi;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Debt } from '../types';
|
|
2
|
+
import { DebtChartData } from '../utils/DebtUtils';
|
|
3
|
+
import { DebtPriority } from '../constants/Debts';
|
|
4
|
+
import { GlobalStore } from './GlobalStore';
|
|
5
|
+
export declare class DebtsStore {
|
|
6
|
+
globalStore: GlobalStore;
|
|
7
|
+
uiStore: UiStore;
|
|
8
|
+
constructor(globalStore: GlobalStore);
|
|
9
|
+
get debts(): Debt[];
|
|
10
|
+
get totalMonthlyPayments(): number;
|
|
11
|
+
}
|
|
12
|
+
export declare class UiStore {
|
|
13
|
+
isLoading: boolean;
|
|
14
|
+
selectedDebtChartData: DebtChartData;
|
|
15
|
+
selectedDebtPriority: DebtPriority;
|
|
16
|
+
constructor();
|
|
17
|
+
get showError(): boolean;
|
|
18
|
+
get showCompleted(): boolean;
|
|
19
|
+
setIsLoading: (isLoading: boolean) => boolean;
|
|
20
|
+
setSelectedDebtChartData: (data: DebtChartData) => DebtChartData;
|
|
21
|
+
setSelectedDebtPriority: (priority: DebtPriority) => DebtPriority;
|
|
22
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { MonthlySummaries, HealthScore, HealthScoreReport, MonthlyHealthScore, Transaction } from '
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { FinstrongApi } from '../api';
|
|
2
|
+
import { MonthlySummaries, HealthScore, HealthScoreReport, MonthlyHealthScore, Transaction } from '../types';
|
|
3
|
+
import { FinstrongTransaction, PeerAverage } from '../types/Finstrong';
|
|
4
|
+
import { GlobalStore } from './GlobalStore';
|
|
5
5
|
export declare class FinstrongStore {
|
|
6
6
|
api: FinstrongApi;
|
|
7
7
|
augmentedChartData: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GlobalCopyApi } from '
|
|
2
|
-
import { GlobalCopy } from '
|
|
1
|
+
import { GlobalCopyApi } from '../api';
|
|
2
|
+
import { GlobalCopy } from '../types';
|
|
3
3
|
import { GlobalStore } from './GlobalStore';
|
|
4
4
|
export declare class GlobalCopyStore {
|
|
5
5
|
globalStore: GlobalStore;
|
|
@@ -1,28 +1,5 @@
|
|
|
1
|
-
import { AccountStore } from '
|
|
2
|
-
import {
|
|
3
|
-
import { BeatStore } from '../../insights';
|
|
4
|
-
import { BudgetsStore } from '../../budgets/store/BudgetsStore';
|
|
5
|
-
import { CashflowStore } from '../../cashflow';
|
|
6
|
-
import { CategoryStore } from '../../categories';
|
|
7
|
-
import { DebtsStore } from '../../debts';
|
|
8
|
-
import { FinstrongStore } from '../../finstrong';
|
|
9
|
-
import { GoalStore } from '../../goals';
|
|
10
|
-
import { HelpStore } from '../../help/store/HelpStore';
|
|
11
|
-
import { HoldingStore } from '../../investments/stores/HoldingStore';
|
|
12
|
-
import { MerchantStore } from '../../merchants';
|
|
13
|
-
import { NetWorthStore } from '../../networth';
|
|
14
|
-
import { NotificationStore } from '../../notifications';
|
|
15
|
-
import { SettingsStore } from '../../settings';
|
|
16
|
-
import { TransactionStore } from '../../transactions';
|
|
17
|
-
import { RecurringTransactionsStore } from '../../recurringtransactions';
|
|
18
|
-
import { TrendsStore } from '../../trends';
|
|
19
|
-
import { AppDataStore } from './AppDataStore';
|
|
20
|
-
import { ConnectStore } from './ConnectStore';
|
|
21
|
-
import { GlobalCopyStore } from './GlobalCopyStore';
|
|
22
|
-
import { GlobalUiStore } from './GlobalUiStore';
|
|
23
|
-
import { UserStore } from './UserStore';
|
|
24
|
-
import { Account, Category, Institution, Member, AppConfig, AppData, Beat, GlobalErrorHandler, Tag, Tagging, Transaction, TransactionRule, UserFeature } from '../../core';
|
|
25
|
-
import { MerchantBudget } from '../../core/types/Budget';
|
|
1
|
+
import { AccountStore, AnalyticsStore, AppDataStore, BeatStore, BudgetsStore, CashflowStore, CategoryStore, ConnectStore, DebtsStore, FinstrongStore, GlobalCopyStore, GlobalUiStore, GoalStore, HelpStore, HoldingStore, MerchantStore, NetWorthStore, NotificationStore, RecurringTransactionsStore, SettingsStore, TransactionStore, TrendsStore, UserStore } from '../stores';
|
|
2
|
+
import { Account, Category, Institution, Member, AppConfig, AppData, Beat, GlobalErrorHandler, MerchantBudget, Tag, Tagging, Transaction, TransactionRule, UserFeature } from '../types';
|
|
26
3
|
interface LoadDataProps {
|
|
27
4
|
accounts?: Account[];
|
|
28
5
|
appData?: AppData;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Account } from '
|
|
1
|
+
import { Account } from '../types';
|
|
2
2
|
import { GlobalStore } from './GlobalStore';
|
|
3
3
|
export declare class GlobalUiStore {
|
|
4
4
|
globalStore: GlobalStore;
|
|
@@ -9,8 +9,8 @@ export declare class GlobalUiStore {
|
|
|
9
9
|
end: Date;
|
|
10
10
|
};
|
|
11
11
|
constructor(globalStore: GlobalStore);
|
|
12
|
-
get allSelectedAccounts(): import('
|
|
13
|
-
get selectedAccounts(): import('
|
|
12
|
+
get allSelectedAccounts(): import('../types').DetailedAccount[];
|
|
13
|
+
get selectedAccounts(): import('../types').DetailedAccount[];
|
|
14
14
|
get selectedAccountGuids(): string[];
|
|
15
15
|
get isCopyLoaded(): boolean;
|
|
16
16
|
get isConfigLoaded(): boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { GoalApi } from '
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { GoalApi } from '../api';
|
|
2
|
+
import { Goal, MonthlyCashFlowProfile, RetirementGoalAccount } from '../types';
|
|
3
|
+
import { GlobalStore } from './GlobalStore';
|
|
4
4
|
export declare class GoalStore {
|
|
5
5
|
globalStore: GlobalStore;
|
|
6
6
|
api: GoalApi;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { HelpApi } from '
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { Config } from '../../core/types/Global';
|
|
5
|
-
import { HelpAlertProps, Ticket } from '../../core/types/Help';
|
|
1
|
+
import { HelpApi } from '../api';
|
|
2
|
+
import { Config, HelpCopy, HelpAlertProps, Ticket } from '../types';
|
|
3
|
+
import { GlobalStore } from './GlobalStore';
|
|
6
4
|
export declare class HelpStore {
|
|
7
5
|
alert: HelpAlertProps;
|
|
8
6
|
api: HelpApi;
|
|
@@ -16,5 +14,5 @@ export declare class HelpStore {
|
|
|
16
14
|
severity: import('@mui/types').OverridableStringUnion<import('@mui/material').AlertColor, import('@mui/material').AlertPropsColorOverrides> | undefined;
|
|
17
15
|
};
|
|
18
16
|
get copy(): HelpCopy;
|
|
19
|
-
get helpCategories(): import('
|
|
17
|
+
get helpCategories(): import('../types').HelpCategory[];
|
|
20
18
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { HoldingApi } from '../api';
|
|
2
|
+
import { AnalysisType } from '../constants/Investments';
|
|
3
|
+
import { Holding } from '../types';
|
|
4
|
+
import { GlobalStore } from './GlobalStore';
|
|
5
5
|
export declare class HoldingStore {
|
|
6
6
|
analysisType: AnalysisType;
|
|
7
7
|
api: HoldingApi;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { MerchantApi } from '
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { MerchantApi } from '../api';
|
|
2
|
+
import { Merchant } from '../types';
|
|
3
|
+
import { GlobalStore } from './GlobalStore';
|
|
4
4
|
export interface CopyObject {
|
|
5
5
|
[key: string]: string;
|
|
6
6
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { DetailedAccount, MonthlyAccountBalance } from '
|
|
3
|
-
import {
|
|
4
|
-
import { AssetsLiabilities, GainsLosses, NetWorth, NetWorthData } from '../types/NetWorth';
|
|
1
|
+
import { AccountApi } from '../api';
|
|
2
|
+
import { AssetsLiabilities, DetailedAccount, GainsLosses, MonthlyAccountBalance, NetWorth, NetWorthData } from '../types';
|
|
3
|
+
import { GlobalStore } from './GlobalStore';
|
|
5
4
|
export declare class NetWorthStore {
|
|
6
5
|
globalStore: GlobalStore;
|
|
7
6
|
accountsApi: AccountApi;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { NotificationApi } from '../api';
|
|
2
|
+
import { Notification } from '../types';
|
|
3
|
+
import { GlobalStore } from './GlobalStore';
|
|
4
4
|
export declare class NotificationStore {
|
|
5
5
|
globalStore: GlobalStore;
|
|
6
6
|
api: NotificationApi;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Recurrence, RepeatingTransaction, Transaction, DateRange } from '
|
|
3
|
-
import {
|
|
1
|
+
import { RepeatingTransactionsApi } from '../api';
|
|
2
|
+
import { Recurrence, RepeatingTransaction, Transaction, DateRange } from '../types';
|
|
3
|
+
import { GlobalStore } from './GlobalStore';
|
|
4
4
|
export declare class RecurringTransactionsStore {
|
|
5
5
|
globalStore: GlobalStore;
|
|
6
6
|
api: RepeatingTransactionsApi;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { AlertProps } from '@mui/material';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { TransactionApi } from '../../core/api/TransactionApi';
|
|
2
|
+
import { DetailedNotificationProfile, Device, NotificationProfile, SettingsCopy, TransactionRule, User, UserCommunicationProfile } from '../types';
|
|
3
|
+
import { SettingsApi, TransactionApi } from '../api';
|
|
4
|
+
import { GlobalStore } from './GlobalStore';
|
|
6
5
|
interface SettingsAlertProps {
|
|
7
6
|
message: string;
|
|
8
7
|
severity: AlertProps['severity'];
|
|
@@ -20,7 +19,7 @@ export declare class SettingsStore {
|
|
|
20
19
|
get accountProfiles(): DetailedNotificationProfile[];
|
|
21
20
|
get budgetProfiles(): DetailedNotificationProfile[];
|
|
22
21
|
get insightsProfiles(): DetailedNotificationProfile[];
|
|
23
|
-
get clientCommunicationProfile(): import('
|
|
22
|
+
get clientCommunicationProfile(): import('../types').ClientCommunicationProfile;
|
|
24
23
|
get copy(): SettingsCopy;
|
|
25
24
|
get detailedNotificationProfiles(): DetailedNotificationProfile[];
|
|
26
25
|
get userCommunicationsProfile(): UserCommunicationProfile;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { BeatApi } from '
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { TransactionApi } from '../../core/api/TransactionApi';
|
|
5
|
-
import { UiStore } from './UiStore';
|
|
1
|
+
import { BeatApi, TransactionApi } from '../api';
|
|
2
|
+
import { Beat, Tag, Tagging, Transaction, TransactionRule } from '../types';
|
|
3
|
+
import { GlobalStore } from './GlobalStore';
|
|
6
4
|
export type TransactionFilter = {
|
|
7
5
|
accounts?: string[];
|
|
8
6
|
dateRange?: {
|
|
@@ -39,7 +37,6 @@ export declare class TransactionStore {
|
|
|
39
37
|
alert: string;
|
|
40
38
|
sortColumn: string;
|
|
41
39
|
sortDirection: string;
|
|
42
|
-
onAnalyticEvent: (event: string, session: import('../analytics').AnalyticSession | null) => Promise<any>;
|
|
43
40
|
constructor(globalStore: GlobalStore);
|
|
44
41
|
loadTransactionData: () => Promise<void>;
|
|
45
42
|
get isTransactionDataLoaded(): boolean;
|
|
@@ -74,3 +71,27 @@ export declare class TransactionStore {
|
|
|
74
71
|
updateTransaction: (transaction: Transaction) => Promise<void>;
|
|
75
72
|
loadEmbeddedInstanceTransactions: (fromDate: Date) => Promise<void>;
|
|
76
73
|
}
|
|
74
|
+
export declare class UiStore {
|
|
75
|
+
beginDate: Date;
|
|
76
|
+
endDate: Date;
|
|
77
|
+
expandedSplits: string[];
|
|
78
|
+
height: number;
|
|
79
|
+
width: number;
|
|
80
|
+
shouldDisableDrawerScroll: boolean;
|
|
81
|
+
searchValue: string;
|
|
82
|
+
selectedAccountGuids: string[];
|
|
83
|
+
manualTransaction: Transaction;
|
|
84
|
+
isAmountValid: boolean;
|
|
85
|
+
showInsights: boolean;
|
|
86
|
+
constructor();
|
|
87
|
+
setDateRange: (beginDate: Date, endDate: Date) => void;
|
|
88
|
+
setIsAmountValid: (valid: boolean) => boolean;
|
|
89
|
+
setSearchValue: (searchValue: string) => string;
|
|
90
|
+
setSelectedAccountGuids: (accountGuids: string[]) => string[];
|
|
91
|
+
setShouldDisableDrawerScroll: (shouldDisable: boolean) => boolean;
|
|
92
|
+
setShowInsights: (showInsights: boolean) => void;
|
|
93
|
+
setSize: (height: number, width: number) => void;
|
|
94
|
+
toggleSplit: (guid: string) => void;
|
|
95
|
+
clearExpandedSplits: () => void;
|
|
96
|
+
updateManualTransaction: (manualTransaction: Transaction) => void;
|
|
97
|
+
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { LineChartDataset, TooltipLabel } from '../../common/components/charts/LineChart';
|
|
1
|
+
import { DateRange, DetailedCategoryWithTransactions } from '../types';
|
|
2
|
+
import { GlobalStore } from './GlobalStore';
|
|
4
3
|
export declare class TrendsStore {
|
|
5
4
|
globalStore: GlobalStore;
|
|
6
5
|
selectedCategoryData: DetailedCategoryWithTransactions | null;
|
|
@@ -16,7 +15,14 @@ export declare class TrendsStore {
|
|
|
16
15
|
get visibleCategories(): DetailedCategoryWithTransactions[];
|
|
17
16
|
get collapsedCategories(): DetailedCategoryWithTransactions[];
|
|
18
17
|
get categoryDetailsChartData(): {
|
|
19
|
-
monthlyAmounts:
|
|
20
|
-
|
|
18
|
+
monthlyAmounts: {
|
|
19
|
+
x: string;
|
|
20
|
+
y: number;
|
|
21
|
+
}[];
|
|
22
|
+
tooltipLabels: {
|
|
23
|
+
label: string;
|
|
24
|
+
amount: number;
|
|
25
|
+
header: string;
|
|
26
|
+
}[][];
|
|
21
27
|
};
|
|
22
28
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { UserApi } from '
|
|
1
|
+
import { UserApi } from '../api';
|
|
2
|
+
import { User, UserFeature, UserProfile } from '../types';
|
|
2
3
|
import { GlobalStore } from './GlobalStore';
|
|
3
|
-
import { User, UserFeature, UserProfile } from '../../core';
|
|
4
4
|
export declare class UserStore {
|
|
5
5
|
globalStore: GlobalStore;
|
|
6
6
|
api: UserApi;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export { AccountStore } from './AccountStore';
|
|
2
|
+
export { AppDataStore } from './AppDataStore';
|
|
3
|
+
export { AnalyticsStore } from './AnalyticsStore';
|
|
4
|
+
export { BeatStore } from './BeatStore';
|
|
5
|
+
export { BudgetsStore } from './BudgetsStore';
|
|
6
|
+
export { CashflowStore } from './CashflowStore';
|
|
7
|
+
export { CategoryStore } from './CategoryStore';
|
|
8
|
+
export { ConnectStore } from './ConnectStore';
|
|
9
|
+
export { DebtsStore } from './DebtsStore';
|
|
10
|
+
export { FinstrongStore } from './FinstrongStore';
|
|
11
|
+
export { GlobalStore } from './GlobalStore';
|
|
12
|
+
export { GlobalUiStore } from './GlobalUiStore';
|
|
13
|
+
export { GlobalCopyStore } from './GlobalCopyStore';
|
|
14
|
+
export { GoalStore } from './GoalStore';
|
|
15
|
+
export { HelpStore } from './HelpStore';
|
|
16
|
+
export { HoldingStore } from './HoldingStore';
|
|
17
|
+
export { MerchantStore } from './MerchantStore';
|
|
18
|
+
export { NetWorthStore } from './NetWorthStore';
|
|
19
|
+
export { NotificationStore } from './NotificationStore';
|
|
20
|
+
export { RecurringTransactionsStore } from './RecurringTransactionsStore';
|
|
21
|
+
export { SettingsStore } from './SettingsStore';
|
|
22
|
+
export { TransactionStore } from './TransactionStore';
|
|
23
|
+
export { TrendsStore } from './TrendsStore';
|
|
24
|
+
export { UserStore } from './UserStore';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Account, AccountType, MonthlyAccountBalance } from '
|
|
1
|
+
import { Account, AccountType, MonthlyAccountBalance } from '../index';
|
|
2
2
|
export type MonthlyAccountSummary = {
|
|
3
3
|
balance: number;
|
|
4
4
|
change: number;
|
|
@@ -17,15 +17,6 @@ export type NetWorthData = {
|
|
|
17
17
|
accounts: Account[];
|
|
18
18
|
monthlyAccountBalances: MonthlyAccountBalance[];
|
|
19
19
|
};
|
|
20
|
-
export type NetWorthProps = {
|
|
21
|
-
chartData: NetWorth[];
|
|
22
|
-
hoveredData?: NetWorth;
|
|
23
|
-
onButtonClick?: any;
|
|
24
|
-
onDataClick: any;
|
|
25
|
-
onMouseEnter: any;
|
|
26
|
-
onMouseLeave: any;
|
|
27
|
-
selectedData?: NetWorth;
|
|
28
|
-
};
|
|
29
20
|
export interface FinancialAccount {
|
|
30
21
|
accountName?: string;
|
|
31
22
|
accountType: AccountType;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export interface Offer {
|
|
2
|
+
analytics_client_guid: string;
|
|
3
|
+
campaign_activated_at: string;
|
|
4
|
+
campaign_call_to_action: string | null;
|
|
5
|
+
campaign_image_url: string;
|
|
6
|
+
campaign_guid: string;
|
|
7
|
+
campaign_name: string;
|
|
8
|
+
campaign_type: number;
|
|
9
|
+
campaign_url: string;
|
|
10
|
+
clicked_at: string | null;
|
|
11
|
+
created_at?: string | number;
|
|
12
|
+
deleted_at: string | null;
|
|
13
|
+
dismissed_at?: number | null;
|
|
14
|
+
expire_at: string | null;
|
|
15
|
+
guid: string;
|
|
16
|
+
has_been_clicked: boolean;
|
|
17
|
+
has_been_dismissed: boolean;
|
|
18
|
+
has_been_viewed: boolean;
|
|
19
|
+
image_url: string;
|
|
20
|
+
is_deleted: boolean;
|
|
21
|
+
is_expired: boolean;
|
|
22
|
+
pulse_body: string;
|
|
23
|
+
pulse_title: string;
|
|
24
|
+
pulse_call_to_action_text: string;
|
|
25
|
+
pulse_call_to_action_text_secondary: string;
|
|
26
|
+
pulse_post_message: string;
|
|
27
|
+
pulse_post_message_secondary: string;
|
|
28
|
+
status_code: number;
|
|
29
|
+
updated_at: string;
|
|
30
|
+
user_external_guid: string | null;
|
|
31
|
+
viewed_at: string | null;
|
|
32
|
+
}
|
|
@@ -4,7 +4,7 @@ export type { AnalyticsEvent, AnalyticsPageview, BasicAnalyticsEvent, BasicAnaly
|
|
|
4
4
|
export type { AppConfig, AppData, Banner, ClientConfig, Config, Options } from './AppData';
|
|
5
5
|
export type { Beat, DataSeries } from './Beat';
|
|
6
6
|
export { UserVerification } from './Beat';
|
|
7
|
-
export type { Budget, BudgetColors, DetailedBudget } from './Budget';
|
|
7
|
+
export type { Budget, BudgetColors, DetailedBudget, MerchantBudget } from './Budget';
|
|
8
8
|
export type { CashflowEvent, CashflowSequence, RepeatDay, RepeatInterval, RepeatMonth, RepeatWeekday, } from './Cashflow';
|
|
9
9
|
export type { Category, CategoryListItem, CategoryTotal, DateRangeCategoryTotals, DetailedCategory, DetailedCategoryWithTransactions, MonthlyAmount, MonthlyCategoryTotals, } from './Category';
|
|
10
10
|
export type { Client, ClientColorScheme, ClientCommunicationProfile, ClientInsightProfile, ClientProfile, ClientStyleProfile, } from './Client';
|
|
@@ -24,6 +24,8 @@ export type { LocalizedContent } from './LocalizedContent';
|
|
|
24
24
|
export { AccountNotificationTypes, BudgetNotificationTypes, InsightNotificationTypes, NotificationTypes, } from './Notification';
|
|
25
25
|
export type { DetailedNotificationProfile, Notification, NotificationProfile } from './Notification';
|
|
26
26
|
export type { Merchant } from './Merchant';
|
|
27
|
+
export type { MonthlyAccountSummary, NetWorth, NetWorthData, FinancialAccount, AccountGroup, AssetsLiabilities, GainsLosses, } from './NetWorth';
|
|
28
|
+
export type { Offer } from './Offer';
|
|
27
29
|
export type { ScheduledPayment } from './ScheduledPayment';
|
|
28
30
|
export type { Tag, Tagging, Transaction, TransactionRule } from './Transaction';
|
|
29
31
|
export { TransactionStatus, TransactionType } from './Transaction';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Account, DetailedAccount, Institution, Member } from '
|
|
1
|
+
import { Account, DetailedAccount, Institution, Member } from '../';
|
|
2
2
|
export declare const isAccountLiability: (account: Account) => boolean;
|
|
3
3
|
export declare const isManual: (account: Account) => boolean;
|
|
4
4
|
export declare const usesCreditLimitField: (account: Account) => boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Offer } from '../
|
|
1
|
+
import { Offer } from '../types';
|
|
2
2
|
type SortOrder = 'asc' | 'desc';
|
|
3
3
|
export declare function orderArray<T>(arr1: T[], arr2: T[], prop: keyof T, order?: SortOrder): T[];
|
|
4
4
|
export declare const transformOfferIntoBeatLikeObject: (offer: Offer) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Theme } from '@mui/system';
|
|
2
|
-
import { Budget, BudgetColors, BudgetsCopy, DetailedCategory, DetailedBudget } from '
|
|
2
|
+
import { Budget, BudgetColors, BudgetsCopy, DetailedCategory, DetailedBudget } from '../types';
|
|
3
3
|
export declare const getBudgetPercentage: (budgetAmount: number, totalAmount: number) => number;
|
|
4
4
|
export declare const getBudgetColors: (percentage: number, theme: Theme) => BudgetColors;
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const getBudgetDifference: (budgets: DetailedBudget[]) => number;
|
|
6
6
|
export declare const augmentBudgets: (budgets: Budget[], categories: DetailedCategory[], copy: BudgetsCopy, theme: Theme) => DetailedBudget[];
|
|
7
7
|
export declare const findBudget: (budgets: DetailedBudget[], guid: string) => DetailedBudget | undefined;
|
|
8
8
|
export declare const findSubBudget: (budgets: DetailedBudget[], guid: string, parentGuid: string) => DetailedBudget | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Theme } from '@mui/material';
|
|
2
|
-
import { Category, DateRangeCategoryTotals, DetailedCategory, DetailedCategoryWithTransactions, MonthlyCategoryTotals, Transaction, CategoryCopy } from '
|
|
2
|
+
import { Category, DateRangeCategoryTotals, DetailedCategory, DetailedCategoryWithTransactions, MonthlyCategoryTotals, Transaction, CategoryCopy, CategoryTotal } from '../types';
|
|
3
3
|
/**
|
|
4
4
|
* Augment categories
|
|
5
5
|
* @param categories - Categories to augment
|
|
@@ -16,3 +16,8 @@ export declare const getCategoryIcon: (guid: string) => string | undefined;
|
|
|
16
16
|
* @param transactions - sortedTransactions from the transaction store
|
|
17
17
|
*/
|
|
18
18
|
export declare const getDetailedCategoryTransactions: (detailedCategories: DetailedCategory[], transactions: Transaction[]) => DetailedCategoryWithTransactions[];
|
|
19
|
+
export declare const findCategory: (categories: Category[], categoryGuid: string | undefined) => Category | undefined;
|
|
20
|
+
export declare const findDetailedCategory: (detailedCategories: DetailedCategory[], guid: string | undefined) => DetailedCategory | undefined;
|
|
21
|
+
export declare const findDetailedSubCategory: (detailedCategories: DetailedCategory[], guid: string | undefined) => DetailedCategory | undefined;
|
|
22
|
+
export declare const findCategoryTotalsByParent: (categories: Category[], dateRangeTotals: DateRangeCategoryTotals[]) => CategoryTotal[];
|
|
23
|
+
export declare const isIncome: (categories: Category[], guid: string) => boolean;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { DebtPriority } from '../constants/Debts';
|
|
2
|
+
import { Account, Debt, DebtsCopy, Goal } from '../types';
|
|
3
|
+
type DataPoint = {
|
|
4
|
+
x: Date;
|
|
5
|
+
y: number;
|
|
6
|
+
payment?: number;
|
|
7
|
+
extra?: number;
|
|
8
|
+
};
|
|
9
|
+
type Dataset = DataPoint[];
|
|
10
|
+
export interface DebtChartData extends Debt {
|
|
11
|
+
dataset: Dataset;
|
|
12
|
+
}
|
|
13
|
+
interface MonthlyPayment {
|
|
14
|
+
balance: number;
|
|
15
|
+
interest: number;
|
|
16
|
+
payment: number;
|
|
17
|
+
principal: number;
|
|
18
|
+
timestamp: number;
|
|
19
|
+
}
|
|
20
|
+
export declare const transformDebtsChartData: (debts: Debt[], debtPriority: DebtPriority, extraPaydown?: number) => DebtChartData[];
|
|
21
|
+
export declare const buildEmptyStateProps: (copy: DebtsCopy, hasAggregation: boolean, handler: () => void) => {
|
|
22
|
+
description: string;
|
|
23
|
+
header: string;
|
|
24
|
+
onClickHandler: (() => void) | undefined;
|
|
25
|
+
primaryButton: string | undefined;
|
|
26
|
+
};
|
|
27
|
+
export declare function loadDebts(accounts: Account[], goals: Goal[]): Debt[];
|
|
28
|
+
export declare function createDebt(account: Account, goal?: Goal): Debt;
|
|
29
|
+
export declare const calculateFinalPayment: (monthlyPayments: MonthlyPayment[]) => number;
|
|
30
|
+
export declare const sortDebtsByPrioriy: (debts: Debt[], debtPriority: DebtPriority) => void;
|
|
31
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Transaction } from '../types';
|
|
2
|
+
import { SpendingFeeTransaction, MonthlyHealthScoreItem } from '../../core/types/Finstrong';
|
|
3
|
+
export declare const augmentChartData: (averageHealthScores: MonthlyHealthScoreItem[]) => {
|
|
4
|
+
x: string;
|
|
5
|
+
y: number;
|
|
6
|
+
}[];
|
|
7
|
+
export declare const augmentSpendingFeeTransactions: (spendingFeeTransactions: SpendingFeeTransaction[]) => Transaction[];
|