@mx-cartographer/experiences 6.10.0 → 6.10.1-alpha.al0

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,7 @@
1
+ ## [6.10.1] - 06-26-2025
2
+
3
+ - **UPDATED** - AppData to include client insight profile
4
+
1
5
  ## [6.9.11] - 06-25-2025
2
6
 
3
7
  - **Updated** - use onEvent from global data provider for notification settings analytics
@@ -11,6 +11,7 @@ export declare class AppDataStore {
11
11
  constructor(globalStore: GlobalStore);
12
12
  get appConfig(): AppConfig;
13
13
  get clientCommunicationProfile(): import('../types').ClientCommunicationProfile;
14
+ get clientInsightProfile(): import('../types').ClientInsightProfile;
14
15
  get user(): User;
15
16
  get userCommunicationProfile(): UserCommunicationProfile;
16
17
  get userProfile(): UserProfile;
@@ -1,4 +1,4 @@
1
- import { Client, ClientColorScheme, ClientCommunicationProfile, ClientProfile, ClientStyleProfile } from './Client';
1
+ import { Client, ClientColorScheme, ClientCommunicationProfile, ClientInsightProfile, ClientProfile, ClientStyleProfile } from './Client';
2
2
  import { User, UserCommunicationProfile, UserFeature, UserProfile } from './User';
3
3
  export interface AppData {
4
4
  appConfig: AppConfig;
@@ -8,6 +8,7 @@ export interface AppData {
8
8
  client: Client;
9
9
  client_color_scheme: ClientColorScheme;
10
10
  client_communication_profile: ClientCommunicationProfile;
11
+ client_insight_profile: ClientInsightProfile;
11
12
  client_profile: ClientProfile;
12
13
  user: User;
13
14
  user_communication_profile: UserCommunicationProfile;
@@ -80,6 +80,20 @@ export interface ClientProfile {
80
80
  uses_oauth: boolean;
81
81
  default_institution_guid?: string | null;
82
82
  }
83
+ export interface ClientInsightProfile {
84
+ client_guid: string;
85
+ default_to_preferred_color_scheme_enabled: boolean;
86
+ enabled_beat_templates: string;
87
+ guid: string;
88
+ is_accounts_3d_experience_enabled: boolean;
89
+ is_transactions_3d_experience_enabled: boolean;
90
+ is_dark_mode_enabled: boolean;
91
+ is_enabled: boolean;
92
+ savings_opportunity_minimum_checking_account_balance: number;
93
+ uses_custom_communications_post_message: boolean;
94
+ is_accounts_control_enabled: boolean;
95
+ is_recurring_transactions_manager_enabled: boolean;
96
+ }
83
97
  export interface ClientStyleProfile {
84
98
  primary_color?: string;
85
99
  primary_font_regular?: string;
@@ -7,7 +7,7 @@ export { UserVerification } from './Beat';
7
7
  export type { Budget, BudgetColors, DetailedBudget } from './Budget';
8
8
  export type { CashflowEvent, CashflowSequence, RepeatDay, RepeatInterval, RepeatMonth, RepeatWeekday, } from './Cashflow';
9
9
  export type { Category, CategoryTotal, DateRangeCategoryTotals, DetailedCategory, MonthlyAmount, MonthlyCategoryTotals, } from './Category';
10
- export type { Client, ClientColorScheme, ClientCommunicationProfile, ClientProfile, ClientStyleProfile, } from './Client';
10
+ export type { Client, ClientColorScheme, ClientCommunicationProfile, ClientInsightProfile, ClientProfile, ClientStyleProfile, } from './Client';
11
11
  export type { DateType, DateRange } from './Date';
12
12
  export type { Expense } from './Expense';
13
13
  export { ExpenseStatus, ScheduledPaymentTypes } from './Expense';
package/dist/index.es.js CHANGED
@@ -19610,6 +19610,9 @@ class oC {
19610
19610
  get clientCommunicationProfile() {
19611
19611
  return this.appData.client_communication_profile;
19612
19612
  }
19613
+ get clientInsightProfile() {
19614
+ return this.appData.client_insight_profile;
19615
+ }
19613
19616
  get user() {
19614
19617
  return this.appData.user;
19615
19618
  }
@@ -21463,7 +21466,6 @@ const kC = () => {
21463
21466
  borderColor: n.palette.border.light,
21464
21467
  "&:hover": {
21465
21468
  // temp hardcoded dark mode color until design team decision
21466
- // eslint-disable-next-line no-nested-ternary
21467
21469
  backgroundColor: n.palette.mode === "dark" ? "#0749B240" : n.palette.primary.lighter,
21468
21470
  borderColor: n.palette.primary.main
21469
21471
  }