@mx-cartographer/experiences 6.20.0-alpha.bb1 → 6.20.1

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 CHANGED
@@ -1,3 +1,15 @@
1
+ ## [6.20.1] - 08-04-2025
2
+
3
+ - **ADDED** - Initial basic layout setup with store config for `Finstrong`
4
+
5
+ ## [6.20.0] - 07-31-2025
6
+
7
+ - **UPDATED** - to MXUI 1.2.1 to introduce updates colors and improved design consistency
8
+
9
+ ## [6.19.1] - 08-01-2025
10
+
11
+ - **UPDATED** - Cleaned up BNC Micro Widget Container and configured variants
12
+
1
13
  ## [6.19.0] - 07-31-2025
2
14
 
3
15
  - **ADDED** - Connect More Accounts Card for `Finstrong`.
@@ -6,6 +6,7 @@ interface MicroWidgetContainerProps {
6
6
  subHeader?: string;
7
7
  sx?: SxProps;
8
8
  title: string;
9
+ variant?: 'borderless' | 'card';
9
10
  }
10
11
  declare const MicroWidgetContainer: React.FC<React.PropsWithChildren<MicroWidgetContainerProps>>;
11
12
  export default MicroWidgetContainer;
@@ -14,6 +14,7 @@ export declare const ApiEndpoints: {
14
14
  DEVICES: string;
15
15
  EMAIL_VERIFICATIONS: string;
16
16
  GOALS: string;
17
+ HEALTH_SCORES: string;
17
18
  HOLDINGS: string;
18
19
  INSTITUTIONS: string;
19
20
  INSIGHTS_NOTIFICATION_PROFILES: string;
@@ -5,6 +5,7 @@ import { BudgetsStore } from '../../budgets/store/BudgetsStore';
5
5
  import { CashflowStore } from '../../cashflow';
6
6
  import { CategoryStore } from '../../categories';
7
7
  import { DebtsStore } from '../../debts';
8
+ import { FinstrongStore } from '../../finstrong';
8
9
  import { GoalStore } from '../../goals';
9
10
  import { HelpStore } from '../../help/store/HelpStore';
10
11
  import { HoldingStore } from '../../investments/stores/HoldingStore';
@@ -35,6 +36,7 @@ export declare class GlobalStore {
35
36
  connectStore: ConnectStore;
36
37
  copyStore: GlobalCopyStore;
37
38
  debtsStore: DebtsStore;
39
+ finstrongStore: FinstrongStore;
38
40
  goalStore: GoalStore;
39
41
  helpStore: HelpStore;
40
42
  holdingStore: HoldingStore;
@@ -0,0 +1,69 @@
1
+ export interface HealthScore {
2
+ created_at: string;
3
+ debt_score: number;
4
+ debt_to_income_ratio: number;
5
+ emergency_savings_on_hand: number;
6
+ guid: string;
7
+ health_score: number;
8
+ months_of_cash_on_hand: number;
9
+ next_step_cards: string[];
10
+ ninety_day_debt_spend: number;
11
+ ninety_day_income: number;
12
+ ninety_day_spend: number;
13
+ praise_cards: string[];
14
+ saving_score: number;
15
+ spend_to_income_ratio: number;
16
+ spending_fee_transaction_count: number;
17
+ spending_fee_transaction_spend: number;
18
+ spending_score: number;
19
+ status: number;
20
+ status_message: string;
21
+ updated_at: string;
22
+ user_guid: string;
23
+ }
24
+ export interface MonthlyHealthScoreAverage {
25
+ average_health_score: number;
26
+ month: number;
27
+ user_guid: string;
28
+ year: number;
29
+ }
30
+ export interface MonthlyHealthScore {
31
+ monthly_health_score_average: MonthlyHealthScoreAverage[];
32
+ }
33
+ export interface HealthScoreReport {
34
+ credit_score_change_effect: number;
35
+ debt_score_point_difference: number | null;
36
+ debt_to_income_ratio_change_effect: number | null;
37
+ emergency_savings_on_hand_change_effect: number;
38
+ health_score_point_difference: number;
39
+ months_of_cash_on_hand_change_effect: number;
40
+ newer_credit_score: number;
41
+ newer_debt_score: number | null;
42
+ newer_debt_to_income_ratio: number | null;
43
+ newer_emergency_savings_on_hand: number;
44
+ newer_health_score: number;
45
+ newer_health_score_guid: string;
46
+ newer_months_of_cash_on_hand: number;
47
+ newer_saving_score: number;
48
+ newer_score_calculated_at: string;
49
+ newer_spend_to_income_ratio: number | null;
50
+ newer_spending_fee_transaction_count: number;
51
+ newer_spending_score: number | null;
52
+ older_credit_score: number;
53
+ older_debt_score: number | null;
54
+ older_debt_to_income_ratio: number | null;
55
+ older_emergency_savings_on_hand: number;
56
+ older_health_score: number;
57
+ older_health_score_guid: string;
58
+ older_months_of_cash_on_hand: number;
59
+ older_saving_score: number;
60
+ older_score_calculated_at: string;
61
+ older_spend_to_income_ratio: number | null;
62
+ older_spending_fee_transaction_count: number;
63
+ older_spending_score: number | null;
64
+ saving_score_point_difference: number;
65
+ spend_to_income_ratio_change_effect: number | null;
66
+ spending_fee_transaction_count_change_effect: number;
67
+ spending_score_point_difference: number | null;
68
+ user_guid: string;
69
+ }
@@ -15,6 +15,7 @@ export type { DynamicCopyElement, GlobalCopy } from './GlobalCopy';
15
15
  export { GoalType, MetaType, TrackType } from './Goal';
16
16
  export type { Goal, MonthlyCashFlowProfile, RetirementGoalAccount } from './Goal';
17
17
  export type { Debt } from './Debt';
18
+ export type { HealthScore, HealthScoreReport, MonthlyHealthScore } from './Finstrong';
18
19
  export type { HelpAlertProps, HelpCategory, HelpContentProps, HelpTopic, HelpType, ImageContentProps, InstitutionData, NoImageContentProps, SectionProps, SelectedTopic, Ticket, } from './Help';
19
20
  export type { Institution } from './Institution';
20
21
  export * from './localization';
@@ -0,0 +1,5 @@
1
+ import { WidgetProps } from '../common';
2
+ declare const _default: (({ onBackClick, sx }: WidgetProps) => import("react/jsx-runtime").JSX.Element) & {
3
+ displayName: string;
4
+ };
5
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import { Fetch } from '../../common';
2
+ export declare class FinstrongApi {
3
+ fetchInstance: Fetch;
4
+ constructor(endpoint: string, token: string);
5
+ calculateHealthScore: () => Promise<any>;
6
+ getAverageHealthScores: () => Promise<any>;
7
+ getHealthScoreChangeReports: (startDate: number, endDate: number) => Promise<any>;
8
+ getPeerScore: (birthYear: string) => Promise<any>;
9
+ }
@@ -0,0 +1,3 @@
1
+ export { FinstrongApi } from './api/FinstrongApi';
2
+ export { FinstrongStore } from './stores/FinstrongStore';
3
+ export { default as FinstrongWidget } from './FinstrongWidget';
@@ -0,0 +1,15 @@
1
+ import { GlobalStore, HealthScore, HealthScoreReport, MonthlyHealthScore } from '../../common';
2
+ import { FinstrongApi } from '../api/FinstrongApi';
3
+ export declare class FinstrongStore {
4
+ api: FinstrongApi;
5
+ averageHealthScores: MonthlyHealthScore[];
6
+ globalStore: GlobalStore;
7
+ healthScore: HealthScore | null;
8
+ healthScoreChangeReports: HealthScoreReport[];
9
+ peerScore: number | null;
10
+ constructor(globalStore: GlobalStore);
11
+ calculateHealthScore: () => Promise<void>;
12
+ loadAverageHealthScores: () => Promise<void>;
13
+ loadHealthScoreChangeReports: () => Promise<void>;
14
+ loadPeerScore: () => Promise<void>;
15
+ }
@@ -4,5 +4,7 @@ interface EmptyWidgetProps {
4
4
  subText: string;
5
5
  sx?: SxProps;
6
6
  }
7
- export declare const GoalsMicroEmptyState: ({ header, subText, sx }: EmptyWidgetProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const GoalsMicroEmptyState: (({ header, subText, sx }: EmptyWidgetProps) => import("react/jsx-runtime").JSX.Element) & {
8
+ displayName: string;
9
+ };
8
10
  export {};
package/dist/index.d.ts CHANGED
@@ -6,6 +6,7 @@ export * from './categories';
6
6
  export * from './common';
7
7
  export * from './dashboard';
8
8
  export * from './debts';
9
+ export * from './finstrong';
9
10
  export * from './goals';
10
11
  export * from './help';
11
12
  export * from './investments';