@mx-cartographer/experiences 4.1.0-alpha.j8 → 4.1.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.
Files changed (81) hide show
  1. package/CHANGELOG.md +61 -0
  2. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader.d.ts +4 -1
  3. package/dist/accounts/index.d.ts +3 -0
  4. package/dist/accounts/stores/AccountStore.d.ts +3 -0
  5. package/dist/categories/stores/CategoryStore.d.ts +1 -0
  6. package/dist/common/api/{AppApi.d.ts → AppDataApi.d.ts} +2 -2
  7. package/dist/common/api/UserApi.d.ts +2 -2
  8. package/dist/common/api/index.d.ts +0 -1
  9. package/dist/common/components/ListItemAction.d.ts +16 -0
  10. package/dist/common/components/index.d.ts +1 -0
  11. package/dist/common/constants/Analytics.d.ts +2 -0
  12. package/dist/common/constants/ApiEndpoints.d.ts +4 -0
  13. package/dist/common/context/hooks.d.ts +0 -2
  14. package/dist/common/context/index.d.ts +1 -1
  15. package/dist/common/stores/AppDataStore.d.ts +13 -0
  16. package/dist/common/stores/GlobalStore.d.ts +3 -5
  17. package/dist/common/stores/UserStore.d.ts +13 -0
  18. package/dist/common/types/AppData.d.ts +8 -142
  19. package/dist/common/types/Client.d.ts +82 -0
  20. package/dist/common/types/Debt.d.ts +7 -8
  21. package/dist/common/types/Goal.d.ts +25 -0
  22. package/dist/common/types/User.d.ts +12 -0
  23. package/dist/common/types/index.d.ts +3 -4
  24. package/dist/common/types/localization/GoalsCopy.d.ts +77 -0
  25. package/dist/common/utils/Fetch.d.ts +0 -1
  26. package/dist/debts/components/DebtDrawer.d.ts +7 -0
  27. package/dist/debts/components/DebtsChart.d.ts +6 -10
  28. package/dist/debts/components/DebtsTable.d.ts +5 -3
  29. package/dist/debts/components/SnowballCard.d.ts +11 -0
  30. package/dist/debts/components/SnowballDrawer.d.ts +9 -0
  31. package/dist/debts/components/debtsdrawer/DebtDetailsChart.d.ts +4 -0
  32. package/dist/debts/components/debtsdrawer/DebtDetailsContent.d.ts +4 -0
  33. package/dist/debts/components/debtsdrawer/DebtDetailsTab.d.ts +4 -0
  34. package/dist/debts/components/debtsdrawer/DebtScheduleTab.d.ts +4 -0
  35. package/dist/debts/components/debtsdrawer/DebtStatusCard.d.ts +7 -0
  36. package/dist/debts/hooks/useDebtsUiStore.d.ts +1 -0
  37. package/dist/debts/store/DebtsStore.d.ts +2 -0
  38. package/dist/debts/store/DebtsUiStore.d.ts +10 -0
  39. package/dist/debts/utils/DebtStore.d.ts +1 -2
  40. package/dist/debts/utils/DebtsChart.d.ts +2 -0
  41. package/dist/debts/utils/DebtsWidget.d.ts +12 -8
  42. package/dist/debts/utils/SnowballCard.d.ts +8 -0
  43. package/dist/goals/api/GoalApi.d.ts +12 -2
  44. package/dist/goals/components/AccountSelectionDrawer.d.ts +10 -0
  45. package/dist/goals/components/AddGoal.d.ts +6 -0
  46. package/dist/goals/components/GoalDetails.d.ts +8 -0
  47. package/dist/goals/components/GoalDetailsDrawer.d.ts +8 -0
  48. package/dist/goals/components/GoalList.d.ts +1 -2
  49. package/dist/goals/components/GoalStatusCard.d.ts +3 -1
  50. package/dist/goals/components/ManageGoals.d.ts +6 -0
  51. package/dist/goals/components/actions/AccountAction.d.ts +6 -0
  52. package/dist/goals/components/actions/AddRetirementAccountAction.d.ts +6 -0
  53. package/dist/goals/components/actions/AmountToSaveAction.d.ts +6 -0
  54. package/dist/goals/components/actions/BirthdayAction.d.ts +8 -0
  55. package/dist/goals/components/actions/ChangeAccountAction.d.ts +6 -0
  56. package/dist/goals/components/actions/ContributionAction.d.ts +8 -0
  57. package/dist/goals/components/actions/GoalNameAction.d.ts +8 -0
  58. package/dist/goals/components/actions/InterestRateAction.d.ts +6 -0
  59. package/dist/goals/components/actions/MonthlyPaymentAction.d.ts +6 -0
  60. package/dist/goals/components/actions/OriginalBalanceAction.d.ts +6 -0
  61. package/dist/goals/components/actions/RetirementAgeAction.d.ts +6 -0
  62. package/dist/goals/components/addgoal/AddGoalListItem.d.ts +8 -0
  63. package/dist/goals/components/managegoals/CompleteListItem.d.ts +6 -0
  64. package/dist/goals/components/managegoals/OngoingListItem.d.ts +7 -0
  65. package/dist/goals/components/managegoals/ReorderGoals.d.ts +6 -0
  66. package/dist/goals/index.d.ts +1 -0
  67. package/dist/goals/stores/GoalStore.d.ts +19 -3
  68. package/dist/goals/util/GoalsUtil.d.ts +16 -1
  69. package/dist/index.es.js +9563 -7683
  70. package/dist/index.es.js.map +1 -1
  71. package/dist/trends/components/TrendsTable.d.ts +4 -0
  72. package/dist/trends/utils/SpendingData.d.ts +4 -0
  73. package/dist/trends/utils/TrendsData.d.ts +1 -8
  74. package/package.json +15 -15
  75. package/dist/common/api/MarketingApi.d.ts +0 -7
  76. package/dist/common/constants/Offers.d.ts +0 -12
  77. package/dist/common/stores/AppStore.d.ts +0 -14
  78. package/dist/common/stores/MarketingStore.d.ts +0 -9
  79. package/dist/common/types/AccountBanner.d.ts +0 -17
  80. package/dist/dashboard/AccountBanner.d.ts +0 -2
  81. package/dist/goals/constants/CopyKeys.d.ts +0 -11
package/CHANGELOG.md CHANGED
@@ -1,3 +1,64 @@
1
+ ## [4.1.0] - 02-04-2025
2
+
3
+ - **ADDED** - `GoalsWidget`
4
+
5
+ ## [4.0.12] - 02-03-2025
6
+
7
+ - **FIXED** - Projected income in budget widget
8
+
9
+ ## [4.0.13] - 01-15-2025
10
+
11
+ - **UPDATED** - Removed recurring transactions calendar from mobile view as per design
12
+
13
+ ## [4.0.12] - 01-14-2025
14
+
15
+ - **FIXED** - Invalid date value in `TrendsFullWidget`
16
+
17
+ ## [4.0.11] - 01-13-2025
18
+
19
+ - **FIXED** - Added wrapping to the transactions detail memo
20
+
21
+ ## [4.0.10] - 01-10-2025
22
+
23
+ - **UPDATED** - Reduced tooltip touch delay on mobile from default 700ms to 500ms
24
+
25
+ ## [4.0.9] - 01-09-2025
26
+
27
+ - **FIXED** - Mismatch of date range label in widget subheading and table headers
28
+ - **FIXED** - Fix totals data be inserted into offset/extra (i.e. wrong) month columns
29
+
30
+ ## [4.0.8] - 01-09-2024
31
+
32
+ - **FIXED** - Added scroll to spending widget so view isn't cut off
33
+
34
+ ## [4.0.7] - 01-07-2024
35
+
36
+ - **FIXED** - Don't truncate Notifications text so that you can read the whole notification
37
+
38
+ ## [4.0.6] - 01-06-2025
39
+
40
+ - **UPDATED** - Simplify use of memoization in `TrendsFullWidget`
41
+ - **UPDATED** - Dynamic total label in `CustomAreaTootip` for `StackedLineChart`
42
+ - **UPDATED** - Generate full year of transactions for Storybook testing
43
+ - **FIXED** - Mismatched date range labels in `TrendsFullWidget` subheading and chart axis
44
+ - **FIXED** - Fill missing `monthlyCategoryTotals` with $0 placeholder in `TrendsFullWidget`
45
+
46
+ ## [4.0.5] - 12-18-2024
47
+
48
+ - **FIXED** - Wrapping for accounts name and cashflow date range
49
+
50
+ ## [4.0.4] - 12-18-2024
51
+
52
+ - **FIXED** - Trends miniWidget line chart marks now show correct color and labels
53
+
54
+ ## [4.0.3] - 12-18-2024
55
+
56
+ - **FIXED** - Cash flow copy changes
57
+
58
+ ## [4.0.2] - 12-17-2024
59
+
60
+ - **FIXED** - Adjust line chart gradient opacity
61
+
1
62
  ## [4.0.1] - 12-16-2024
2
63
 
3
64
  - **FIXED** - Net Worth widget styling
@@ -1,4 +1,7 @@
1
- declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
1
+ interface AccountDetailsHeaderProps {
2
+ customDetailsChart?: React.ReactElement;
3
+ }
4
+ declare const _default: (({ customDetailsChart }: AccountDetailsHeaderProps) => import("react/jsx-runtime").JSX.Element) & {
2
5
  displayName: string;
3
6
  };
4
7
  export default _default;
@@ -1,8 +1,11 @@
1
1
  export { default as AccountsWidget } from './AccountsWidget';
2
2
  export { default as AccountsMiniWidget } from './AccountsMiniWidget';
3
3
  export { default as ConnectMiniWidget } from './ConnectMiniWidget';
4
+ export { default as AccountDetailsHeader } from './components/detailsdrawer/Accounts/AccountDetailsHeader';
5
+ export { default as AccountDetailsContent } from './components/detailsdrawer/Accounts/AccountDetailsContent';
4
6
  export { getAccountBalanceDetails, getAccountDetailFields } from './utils/AccountFields';
5
7
  export { FieldType, MemberConnectionStatus } from './constants/Accounts';
6
8
  export { useGetMergeableAccounts } from './hooks/useGetMergeableAccounts';
7
9
  export { AccountApi } from './api/AccountApi';
8
10
  export { AccountStore } from './stores/AccountStore';
11
+ export { useAccountUiStore } from './hooks/useUiStore';
@@ -11,8 +11,11 @@ export declare class AccountStore {
11
11
  constructor(globalStore: GlobalStore);
12
12
  initialize: (endpoint: string, token: string) => Promise<void>;
13
13
  get cashAccounts(): Account[];
14
+ get checkingAccounts(): Account[];
14
15
  get debtAccounts(): Account[];
16
+ get investmentAccounts(): Account[];
15
17
  get cashBalance(): number;
18
+ get savingsAccounts(): Account[];
16
19
  addAccount: (account: Account) => Promise<void>;
17
20
  augmentAccounts: (accounts?: Account[]) => Account[];
18
21
  loadAccounts: () => Promise<void>;
@@ -22,4 +22,5 @@ export declare class CategoryStore {
22
22
  removeCategory: (guid: string) => Promise<void>;
23
23
  setIsLoadingCategoryTotals: (isLoading: boolean) => void;
24
24
  updateCategory: (category: Category) => Promise<void>;
25
+ getCategoryName: (guid: string) => string;
25
26
  }
@@ -1,6 +1,6 @@
1
1
  import { default as Fetch } from '../utils/Fetch';
2
- import { AppData } from '../types';
3
- export declare class AppApi {
2
+ import { AppData } from '../types/AppData';
3
+ export declare class AppDataApi {
4
4
  fetchInstance: Fetch;
5
5
  constructor(endpoint: string, token: string);
6
6
  getAppData: () => Promise<AppData>;
@@ -1,8 +1,8 @@
1
1
  import { default as Fetch } from '../utils/Fetch';
2
- import { UserProfile } from '../types';
2
+ import { User, UserProfile } from '../types';
3
3
  export declare class UserApi {
4
4
  fetchInstance: Fetch;
5
5
  constructor(endpoint: string, token: string);
6
- getUserProfile: () => Promise<any>;
6
+ updateUser: (user: User) => Promise<any>;
7
7
  updateUserProfile: (userProfile: UserProfile) => Promise<any>;
8
8
  }
@@ -1,5 +1,4 @@
1
1
  export { AnalyticsApi } from './AnalyticsApi';
2
- export { AppApi } from './AppApi';
3
2
  export { BeatApi } from './BeatApi';
4
3
  export { CategoryApi } from './CategoryApi';
5
4
  export { GlobalCopyApi } from './GlobalCopyApi';
@@ -0,0 +1,16 @@
1
+ import { default as React } from 'react';
2
+ interface ListItemActionProps {
3
+ children?: React.ReactNode;
4
+ isDisabled?: boolean;
5
+ isSaveDisabled?: boolean;
6
+ label: string;
7
+ onCancel?: () => void;
8
+ onSave: () => void;
9
+ primaryText: string;
10
+ secondaryText: string;
11
+ zeroStateText?: string;
12
+ }
13
+ export declare const ListItemAction: (({ children, isDisabled, isSaveDisabled, label, onCancel, onSave, primaryText, secondaryText, zeroStateText, }: ListItemActionProps) => import("react/jsx-runtime").JSX.Element) & {
14
+ displayName: string;
15
+ };
16
+ export {};
@@ -19,4 +19,5 @@ export { default as IconBacking } from './IconBacking';
19
19
  export { default as DataRow } from './DataRow';
20
20
  export { default as InformationTooltip } from './InformationTooltip';
21
21
  export { CurrencyText } from './CurrencyText';
22
+ export { ListItemAction } from './ListItemAction';
22
23
  export { ListItemWrapper } from './ListItemWrapper';
@@ -18,6 +18,8 @@ export declare const ANALYTICS_EVENTS: {
18
18
  CASH_FLOW_CLICK_FILTER: string;
19
19
  DEBTS_CLICK_TABLE_SORT: string;
20
20
  DEBTS_CLICK_TABLE_ROW: string;
21
+ DEBT_DETAILS_VIEW: string;
22
+ DEBT_SCHEDULE_VIEW: string;
21
23
  GOALS_VIEW: string;
22
24
  GOALS_CLICK_FILTER: string;
23
25
  GOALS_CLICK_ADD: string;
@@ -17,14 +17,18 @@ export declare const ApiEndpoints: {
17
17
  LOCALIZED_CONTENT: string;
18
18
  MEMBERS: string;
19
19
  MERCHANTS: string;
20
+ MONTHLY_CASH_FLOW_PROFILE: string;
20
21
  MONTHLY_CATEGORY_TOTALS: string;
21
22
  NOTIFICATIONS: string;
23
+ RETIREMENT_GOALS: string;
24
+ RETIREMENT_GOAL_ACCOUNTS: string;
22
25
  SCHEDULED_PAYMENTS: string;
23
26
  SPENDING_PLANS: string;
24
27
  TAGGINGS: string;
25
28
  TAGS: string;
26
29
  TRANSACTION_RULES: string;
27
30
  TRANSACTIONS: string;
31
+ USER: string;
28
32
  USER_PROFILES: string;
29
33
  WIDGET_URLS: string;
30
34
  };
@@ -1,6 +1,5 @@
1
1
  export declare const useGlobalDataContext: (providerName?: string) => import('./GlobalDataProvider').GlobalStoreContextTypes;
2
2
  export declare const useAccountStore: () => import('../..').AccountStore;
3
- export declare const useAppStore: () => import('../stores/AppStore').AppStore;
4
3
  export declare const useBudgetsStore: () => import('../../budgets/store/BudgetsStore').BudgetsStore;
5
4
  export declare const useCashflowStore: () => import('../..').CashflowStore;
6
5
  export declare const useCategoryStore: () => import('../..').CategoryStore;
@@ -10,7 +9,6 @@ export declare const useGlobalStore: () => import('..').GlobalStore;
10
9
  export declare const useGlobalUiStore: () => import('../stores/GlobalUiStore').GlobalUiStore;
11
10
  export declare const useGlobalCopyStore: () => import('..').GlobalCopy;
12
11
  export declare const useGoalStore: () => import('../..').GoalStore;
13
- export declare const useMarketingStore: () => import('../stores/MarketingStore').MarketingStore;
14
12
  export declare const useMerchantStore: () => import('../..').MerchantStore;
15
13
  export declare const useNetWorthStore: () => import('../..').NetWorthStore;
16
14
  export declare const useNotificationStore: () => import('../..').NotificationStore;
@@ -1,3 +1,3 @@
1
- export { useAccountStore, useAppStore, useBudgetsStore, useCashflowStore, useCategoryStore, useDebtStore, useEvent, useGlobalStore, useGlobalUiStore, useGlobalCopyStore, useGoalStore, useMarketingStore, useMerchantStore, useNetWorthStore, useNotificationStore, usePageView, useRecurringActivityStore, useTransactionStore, useUserStore, useWidgetContainerProvider, } from './hooks';
1
+ export { useAccountStore, useBudgetsStore, useCashflowStore, useCategoryStore, useDebtStore, useEvent, useGlobalStore, useGlobalUiStore, useGlobalCopyStore, useGoalStore, useMerchantStore, useNetWorthStore, useNotificationStore, usePageView, useRecurringActivityStore, useTransactionStore, useUserStore, useWidgetContainerProvider, } from './hooks';
2
2
  export { GlobalDataContext, GlobalDataProvider } from './GlobalDataProvider';
3
3
  export { WidgetContainerContext, WidgetContainerProvider } from './WidgetContainerProvider';
@@ -0,0 +1,13 @@
1
+ import { AppDataApi } from '../api/AppDataApi';
2
+ import { AppData, User, UserProfile } from '../types';
3
+ export declare class AppDataStore {
4
+ appData: AppData;
5
+ api: AppDataApi;
6
+ constructor();
7
+ initialize: (endpoint: string, token: string) => Promise<void>;
8
+ get user(): User;
9
+ get userProfile(): UserProfile;
10
+ loadAppData: () => Promise<void>;
11
+ setUser: (user: User) => User;
12
+ setUserProfile: (userProfile: UserProfile) => UserProfile;
13
+ }
@@ -1,14 +1,13 @@
1
1
  import { AccountStore } from '../../accounts';
2
- import { AppStore } from './AppStore';
2
+ import { AppDataStore } from './AppDataStore';
3
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';
7
7
  import { ConnectStore } from './ConnectStore';
8
- import { DebtsStore } from '../../debts/index';
8
+ import { DebtsStore } from '../../debts';
9
9
  import { GlobalUiStore } from './GlobalUiStore';
10
10
  import { GoalStore } from '../../goals';
11
- import { MarketingStore } from './MarketingStore';
12
11
  import { MerchantStore } from '../../merchants';
13
12
  import { NetWorthStore } from '../../networth';
14
13
  import { NotificationStore } from '../../notifications';
@@ -18,7 +17,7 @@ import { UserStore } from './UserStore';
18
17
  import { GlobalCopyStore } from './GlobalCopyStore';
19
18
  export declare class GlobalStore {
20
19
  accountStore: AccountStore;
21
- appStore: AppStore;
20
+ appDataStore: AppDataStore;
22
21
  beatStore: BeatStore;
23
22
  budgetsStore: BudgetsStore;
24
23
  cashflowStore: CashflowStore;
@@ -27,7 +26,6 @@ export declare class GlobalStore {
27
26
  copyStore: GlobalCopyStore;
28
27
  goalStore: GoalStore;
29
28
  debtsStore: DebtsStore;
30
- marketingStore: MarketingStore;
31
29
  merchantStore: MerchantStore;
32
30
  netWorthStore: NetWorthStore;
33
31
  notificationStore: NotificationStore;
@@ -0,0 +1,13 @@
1
+ import { UserApi } from '../api';
2
+ import { User, UserProfile } from '../types';
3
+ import { GlobalStore } from './GlobalStore';
4
+ export declare class UserStore {
5
+ globalStore: GlobalStore;
6
+ api: UserApi;
7
+ constructor(globalStore: GlobalStore);
8
+ initialize: (endpoint: string, token: string) => Promise<void>;
9
+ get userProfile(): UserProfile;
10
+ get user(): User;
11
+ updateUser: (user: User) => Promise<void>;
12
+ updateUserProfile: (userProfile: UserProfile) => Promise<void>;
13
+ }
@@ -1,147 +1,13 @@
1
+ import { Client, ClientColorScheme, ClientCommunicationProfile, ClientProfile } from './Client';
2
+ import { User, UserProfile } from './User';
1
3
  export interface AppData {
2
- client: {
3
- guid: string;
4
- default_institution_guid: string;
5
- external_guid: string;
6
- has_atrium_api: boolean;
7
- has_limited_institutions: boolean;
8
- name: string;
9
- oauth_app_name: null;
10
- urls: null;
11
- };
12
- client_color_scheme: {
13
- primary_100: string | null;
14
- primary_200: string | null;
15
- primary_300: string | null;
16
- primary_400: string | null;
17
- primary_500: string | null;
18
- primary_color: string | null;
19
- secondary_color: string | null;
20
- widget_brand_color: string | null;
21
- };
22
- client_communication_profile: {
23
- alerts_display_name: null;
24
- budget_exceeded_notifications_enabled: boolean;
25
- budget_off_target_notifications_enabled: boolean;
26
- can_edit_contact_info: boolean;
27
- debt_payment_reminder_notifications_enabled: boolean;
28
- device_created_email_enabled: boolean;
29
- device_deleted_email_enabled: boolean;
30
- duplicate_payment_notifications_enabled: boolean;
31
- email_notifications_enabled: boolean;
32
- goal_progress_notifications_enabled: boolean;
33
- large_deposit_notifications_enabled: boolean;
34
- large_expense_notifications_enabled: boolean;
35
- low_balance_notifications_enabled: boolean;
36
- offer_notifications_enabled: boolean;
37
- password_changed_email_enabled: boolean;
38
- push_notifications_enabled: boolean;
39
- sms_notifications_enabled: boolean;
40
- sms_shortcode: string;
41
- sms_shortcode_privacy_policy_url: string;
42
- sms_shortcode_terms_of_service_url: string;
43
- sms_verification_enabled: boolean;
44
- sms_welcome_enabled: boolean;
45
- transaction_fee_notifications_enabled: boolean;
46
- transaction_is_international_notifications_enabled: boolean;
47
- user_summary_notifications_enabled: boolean;
48
- verification_email_enabled: boolean;
49
- welcome_email_enabled: boolean;
50
- };
51
- client_profile: {
52
- account_verification_is_enabled: boolean;
53
- allow_accounts_widget: boolean;
54
- allow_budgets_widget: boolean;
55
- allow_cash_flow_widget: boolean;
56
- allow_debts_widget: boolean;
57
- allow_goals_widget: boolean;
58
- allow_investments_widget: boolean;
59
- allow_linked_account_add: boolean;
60
- allow_mobile_master_widget: boolean;
61
- allow_net_worth_widget: boolean;
62
- allow_notifications_settings_widget: boolean;
63
- allow_spending_widget: boolean;
64
- allow_transactions_widget: boolean;
65
- allow_trends_widget: boolean;
66
- client_guid: string;
67
- custom_copy_namespace: string;
68
- institution_display_name: string;
69
- is_microdeposits_enabled: boolean;
70
- is_pfm_feedback_enabled: boolean;
71
- locale: string;
72
- mobile_app_android_url: string;
73
- mobile_app_itunes_url: string;
74
- privacy_policy_url: null;
75
- show_bubble_budgets: boolean;
76
- show_external_link_popup: boolean;
77
- show_insurance_as_default_top_level_account_type: boolean;
78
- show_notifications_settings_widget: boolean;
79
- show_prepaid_as_default_top_level_account_type: boolean;
80
- tax_statement_is_enabled: boolean;
81
- use_cases_is_enabled: boolean;
82
- uses_custom_popular_institution_list: boolean;
83
- uses_mobile_sign_on_tokens: boolean;
84
- uses_oauth: boolean;
85
- default_institution_guid: string;
4
+ address: {
5
+ bullseye?: string | null;
86
6
  };
7
+ client: Client;
8
+ client_color_scheme: ClientColorScheme;
9
+ client_communication_profile: ClientCommunicationProfile;
10
+ client_profile: ClientProfile;
87
11
  user: User;
88
12
  user_profile: UserProfile;
89
- user_communication_profile: {
90
- client_guid: string;
91
- guid: string;
92
- opted_out_of_all_notifications: boolean;
93
- opted_out_of_email_notifications: boolean;
94
- opted_out_of_push_notifications: boolean;
95
- opted_out_of_sms_notifications: boolean;
96
- status_code: number;
97
- user_guid: string;
98
- created_at: number;
99
- updated_at: number;
100
- };
101
- address: {
102
- bullseye: string;
103
- };
104
- }
105
- export interface User {
106
- guid: string;
107
- birthday: number;
108
- client_guid: string;
109
- credit_score: number;
110
- email: string;
111
- email_is_verified: boolean;
112
- external_guid: string;
113
- first_name: string;
114
- has_accepted_terms: boolean;
115
- has_password: boolean;
116
- has_updated_terms_and_conditions: boolean;
117
- health_score: number;
118
- last_name: string;
119
- metadata: null;
120
- phone: null;
121
- phone_is_verified: boolean;
122
- postal_code: string;
123
- sex: null;
124
- uses_single_sign_on: boolean;
125
- created_at: number;
126
- }
127
- interface UserProfile {
128
- guid: string;
129
- has_completed_cash_flow_onboarding: boolean;
130
- has_completed_finstrong_onboarding: boolean;
131
- has_completed_guide_me_wizard: boolean;
132
- has_completed_budgets2_onboarding: boolean;
133
- has_completed_recurring_transactions_manager_onboarding: boolean;
134
- has_completed_spending_plan_onboarding: boolean;
135
- has_completed_widgets_wizard: boolean;
136
- has_closed_accounts_widget_help_state: boolean;
137
- has_closed_budgets_widget_help_state: boolean;
138
- has_closed_debts_widget_help_state: boolean;
139
- has_closed_goals_widget_help_state: boolean;
140
- has_closed_net_worth_widget_help_state: boolean;
141
- has_closed_spending_widget_help_state: boolean;
142
- has_closed_transactions_widget_help_state: boolean;
143
- has_closed_trends_widget_help_state: boolean;
144
- uses_detailed_notifications: boolean;
145
- user_guid: string;
146
13
  }
147
- export {};
@@ -0,0 +1,82 @@
1
+ export interface Client {
2
+ guid: string;
3
+ default_institution_guid?: string | null;
4
+ external_guid?: string | null;
5
+ name: string;
6
+ urls?: string | null;
7
+ }
8
+ export interface ClientColorScheme {
9
+ primary_100?: string | null;
10
+ primary_200?: string | null;
11
+ primary_300?: string | null;
12
+ primary_400?: string | null;
13
+ primary_500?: string | null;
14
+ primary_color?: string | null;
15
+ secondary_color?: string | null;
16
+ widget_brand_color?: string | null;
17
+ }
18
+ export interface ClientCommunicationProfile {
19
+ alerts_display_name?: string | null;
20
+ budget_exceeded_notifications_enabled: boolean;
21
+ budget_off_target_notifications_enabled: boolean;
22
+ can_edit_contact_info: boolean;
23
+ debt_payment_reminder_notifications_enabled: boolean;
24
+ device_created_email_enabled: boolean;
25
+ device_deleted_email_enabled: boolean;
26
+ duplicate_payment_notifications_enabled: boolean;
27
+ email_notifications_enabled: boolean;
28
+ goal_progress_notifications_enabled: boolean;
29
+ large_deposit_notifications_enabled: boolean;
30
+ large_expense_notifications_enabled: boolean;
31
+ low_balance_notifications_enabled: boolean;
32
+ offer_notifications_enabled: boolean;
33
+ password_changed_email_enabled: boolean;
34
+ push_notifications_enabled: boolean;
35
+ sms_notifications_enabled: boolean;
36
+ sms_shortcode?: string | null;
37
+ sms_shortcode_privacy_policy_url?: string | null;
38
+ sms_shortcode_terms_of_service_url?: string | null;
39
+ sms_verification_enabled: boolean;
40
+ sms_welcome_enabled: boolean;
41
+ transaction_fee_notifications_enabled: boolean;
42
+ transaction_is_international_notifications_enabled: boolean;
43
+ user_summary_notifications_enabled: boolean;
44
+ verification_email_enabled: boolean;
45
+ welcome_email_enabled: boolean;
46
+ }
47
+ export interface ClientProfile {
48
+ account_verification_is_enabled: boolean;
49
+ allow_accounts_widget: boolean;
50
+ allow_budgets_widget: boolean;
51
+ allow_cash_flow_widget: boolean;
52
+ allow_debts_widget: boolean;
53
+ allow_goals_widget: boolean;
54
+ allow_investments_widget: boolean;
55
+ allow_linked_account_add: boolean;
56
+ allow_mobile_master_widget: boolean;
57
+ allow_net_worth_widget: boolean;
58
+ allow_notifications_settings_widget: boolean;
59
+ allow_spending_widget: boolean;
60
+ allow_transactions_widget: boolean;
61
+ allow_trends_widget: boolean;
62
+ client_guid: string;
63
+ custom_copy_namespace?: string | null;
64
+ institution_display_name?: string | null;
65
+ is_microdeposits_enabled: boolean;
66
+ is_pfm_feedback_enabled: boolean;
67
+ locale?: string | null;
68
+ mobile_app_android_url?: string | null;
69
+ mobile_app_itunes_url?: string | null;
70
+ privacy_policy_url?: string | null;
71
+ show_bubble_budgets: boolean;
72
+ show_external_link_popup: boolean;
73
+ show_insurance_as_default_top_level_account_type: boolean;
74
+ show_notifications_settings_widget: boolean;
75
+ show_prepaid_as_default_top_level_account_type: boolean;
76
+ tax_statement_is_enabled: boolean;
77
+ use_cases_is_enabled: boolean;
78
+ uses_custom_popular_institution_list: boolean;
79
+ uses_mobile_sign_on_tokens: boolean;
80
+ uses_oauth: boolean;
81
+ default_institution_guid?: string | null;
82
+ }
@@ -2,16 +2,15 @@ import { Account } from './Account';
2
2
  import { Goal } from './Goal';
3
3
  export type Debt = {
4
4
  account: Account;
5
+ balance: number;
5
6
  goal?: Goal;
6
7
  guid?: string;
8
+ interest_rate?: number;
9
+ is_paid_off: boolean;
10
+ is_impossible: boolean;
11
+ monthly_payment?: number;
7
12
  name: string;
8
- position?: number;
9
- balance: number;
10
- interest_rate: number;
11
- monthly_payment: number;
12
13
  payment_due_date: number;
13
- projected_payoff_date?: number;
14
- is_excluded: boolean;
15
- is_paid_off: boolean;
16
- is_impossible?: boolean;
14
+ priority?: number | string;
15
+ projected_payoff_date?: Date;
17
16
  };
@@ -20,12 +20,37 @@ export interface Goal {
20
20
  name: string;
21
21
  payment_due_at?: number;
22
22
  position: number;
23
+ projected_amount?: number;
24
+ projected_growth_rate?: number;
23
25
  projected_to_complete_at?: number;
26
+ retirement_age?: number;
24
27
  revision: number;
28
+ target_amount?: number;
25
29
  track_type?: TrackType;
26
30
  updated_at: number;
27
31
  user_guid: string;
28
32
  }
33
+ export interface RetirementGoalAccount {
34
+ account_guid: string;
35
+ created_at: number;
36
+ guid: string;
37
+ retirement_goal_guid: string;
38
+ updated_at: number;
39
+ user_guid: string;
40
+ }
41
+ export interface MonthlyCashFlowProfile {
42
+ amount_allocated_for_debt_goals: number;
43
+ amount_allocated_for_retirement_goals: number;
44
+ amount_allocated_for_savings_goals: number;
45
+ budgeted_expenses: number;
46
+ budgeted_income: number;
47
+ estimated_goals_contribution: number;
48
+ extra_payment: number;
49
+ guid: string;
50
+ payoff_type: number;
51
+ user_guid: string;
52
+ uses_estimated_goals_contribution: boolean;
53
+ }
29
54
  export declare enum TrackType {
30
55
  DEBT_TRACK = 1,
31
56
  SAVINGS_TRACK = 2,
@@ -1,3 +1,15 @@
1
+ export interface User {
2
+ guid: string;
3
+ birthday?: number | null;
4
+ client_guid?: string | null;
5
+ email?: string | null;
6
+ email_is_verified: boolean;
7
+ external_guid?: string | null;
8
+ first_name?: string | null;
9
+ last_name?: string | null;
10
+ phone?: string | null;
11
+ phone_is_verified: boolean;
12
+ }
1
13
  export interface UserProfile {
2
14
  guid: string;
3
15
  has_completed_cash_flow_onboarding: boolean;
@@ -1,6 +1,5 @@
1
1
  export type { Account, DetailedAccount, Member, MonthlyAccountBalance } from './Account';
2
2
  export { AccountIcon, AccountIconVariants, AccountSubType, AccountType, AccountTypeName, ConnectionStatus, ConnectionStatusEnums, ErrorStatuses, MfaStatuses, NonConnectedStatuses, ProcessingStatuses, PropertyType, PropertyTypeName, StatusName, } from './Account';
3
- export type { AccountBannerType } from './AccountBanner';
4
3
  export { type Activity, ActivityStatus, ActivityType } from './Activity';
5
4
  export type { AnalyticsEvent, AnalyticsPageview, BasicAnalyticsEvent, BasicAnalyticsPageview, AnalyticsSession, AnalyticEventFunction, AnalyticPageviewFunction, } from './Analytics';
6
5
  export type { AppData } from './AppData';
@@ -13,8 +12,8 @@ export type { DateType, DateRange } from './Date';
13
12
  export type { Expense } from './Expense';
14
13
  export { ExpenseStatus, ScheduledPaymentTypes } from './Expense';
15
14
  export type { DynamicCopyElement, GlobalCopy } from './GlobalCopy';
16
- export { TrackType } from './Goal';
17
- export type { Goal } from './Goal';
15
+ export { MetaType, TrackType } from './Goal';
16
+ export type { Goal, MonthlyCashFlowProfile, RetirementGoalAccount } from './Goal';
18
17
  export type { Debt } from './Debt';
19
18
  export type { Institution } from './Institution';
20
19
  export * from './localization';
@@ -25,6 +24,6 @@ export type { ScheduledPayment } from './ScheduledPayment';
25
24
  export type { SpendingPlan, SpendingPlanAccount, SpendingPlanIteration, IterationItem, } from './SpendingPlan';
26
25
  export type { Tag, Tagging, Transaction, TransactionRule } from './Transaction';
27
26
  export { TransactionStatus, TransactionType } from './Transaction';
28
- export type { UserProfile } from './User';
27
+ export type { User, UserProfile } from './User';
29
28
  export { ScreenSize } from './ScreenSize';
30
29
  export type { MiniWidgetProps, WidgetProps } from './Widgets';