@mx-cartographer/experiences 4.0.2 → 4.1.0-alpha.j2
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 +0 -4
- package/dist/common/api/AppApi.d.ts +7 -0
- package/dist/common/api/index.d.ts +1 -0
- package/dist/common/constants/Offers.d.ts +12 -0
- package/dist/common/stores/AppStore.d.ts +11 -0
- package/dist/common/stores/GlobalStore.d.ts +2 -0
- package/dist/common/stores/UserStore.d.ts +4 -3
- package/dist/common/types/AppData.d.ts +126 -0
- package/dist/common/types/index.d.ts +1 -0
- package/dist/dashboard/AccountBanner.d.ts +2 -0
- package/dist/index.es.js +2467 -2415
- package/dist/index.es.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const OfferType: {
|
|
2
|
+
ACCOUNT_WIDGET_BANNER: number;
|
|
3
|
+
FINSMART_CREDIT_CARD: number;
|
|
4
|
+
FINSMART_CREDIT_CARD_SMALL_CARD: number;
|
|
5
|
+
FINSMART_CREDIT_CARD_SPENDING_WIDGET: number;
|
|
6
|
+
FINSMART_BALANCE_TRANSFER: number;
|
|
7
|
+
FINSMART_BALANCE_TRANSFER_SMALL_CARD: number;
|
|
8
|
+
FINSMART_BALANCE_TRANSFER_SPENDING_WIDGET: number;
|
|
9
|
+
TOAST_MASTER: number;
|
|
10
|
+
TOAST_MINI: number;
|
|
11
|
+
TOAST_MOBILE: number;
|
|
12
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AppApi } from '../api/AppApi';
|
|
2
|
+
import { AppData, UserProfile } from '../types';
|
|
3
|
+
export declare class AppStore {
|
|
4
|
+
appData: AppData;
|
|
5
|
+
api: AppApi;
|
|
6
|
+
isInitialized: boolean;
|
|
7
|
+
constructor();
|
|
8
|
+
initialize: (endpoint: string, token: string) => Promise<void>;
|
|
9
|
+
loadAppData: () => Promise<void>;
|
|
10
|
+
updateUserProfile: (updatedProfile: UserProfile) => void;
|
|
11
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AccountStore } from '../../accounts';
|
|
2
|
+
import { AppStore } from './AppStore';
|
|
2
3
|
import { BeatStore } from '../../insights/store/BeatStore';
|
|
3
4
|
import { BudgetsStore } from '../../budgets/store/BudgetsStore';
|
|
4
5
|
import { CashflowStore } from '../../cashflow';
|
|
@@ -16,6 +17,7 @@ import { UserStore } from './UserStore';
|
|
|
16
17
|
import { GlobalCopyStore } from './GlobalCopyStore';
|
|
17
18
|
export declare class GlobalStore {
|
|
18
19
|
accountStore: AccountStore;
|
|
20
|
+
appStore: AppStore;
|
|
19
21
|
beatStore: BeatStore;
|
|
20
22
|
budgetsStore: BudgetsStore;
|
|
21
23
|
cashflowStore: CashflowStore;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { UserApi } from '../api';
|
|
2
2
|
import { UserProfile } from '../types';
|
|
3
|
+
import { GlobalStore } from './GlobalStore';
|
|
3
4
|
export declare class UserStore {
|
|
4
5
|
api: UserApi;
|
|
5
|
-
|
|
6
|
-
constructor();
|
|
6
|
+
globalStore: GlobalStore;
|
|
7
|
+
constructor(globalStore: GlobalStore);
|
|
7
8
|
initialize: (endpoint: string, token: string) => Promise<void>;
|
|
8
|
-
loadUserProfile: () => Promise<void>;
|
|
9
9
|
updateUserProfile: (userProfile: UserProfile) => Promise<void>;
|
|
10
|
+
get userProfile(): UserProfile;
|
|
10
11
|
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { UserProfile } from './User';
|
|
2
|
+
export interface AppData {
|
|
3
|
+
client: {
|
|
4
|
+
guid: string;
|
|
5
|
+
default_institution_guid: string;
|
|
6
|
+
external_guid: string;
|
|
7
|
+
has_atrium_api: boolean;
|
|
8
|
+
has_limited_institutions: boolean;
|
|
9
|
+
name: string;
|
|
10
|
+
oauth_app_name: null;
|
|
11
|
+
urls: null;
|
|
12
|
+
};
|
|
13
|
+
client_color_scheme: {
|
|
14
|
+
primary_100: string | null;
|
|
15
|
+
primary_200: string | null;
|
|
16
|
+
primary_300: string | null;
|
|
17
|
+
primary_400: string | null;
|
|
18
|
+
primary_500: string | null;
|
|
19
|
+
primary_color: string | null;
|
|
20
|
+
secondary_color: string | null;
|
|
21
|
+
widget_brand_color: string | null;
|
|
22
|
+
};
|
|
23
|
+
client_communication_profile: {
|
|
24
|
+
alerts_display_name: null;
|
|
25
|
+
budget_exceeded_notifications_enabled: boolean;
|
|
26
|
+
budget_off_target_notifications_enabled: boolean;
|
|
27
|
+
can_edit_contact_info: boolean;
|
|
28
|
+
debt_payment_reminder_notifications_enabled: boolean;
|
|
29
|
+
device_created_email_enabled: boolean;
|
|
30
|
+
device_deleted_email_enabled: boolean;
|
|
31
|
+
duplicate_payment_notifications_enabled: boolean;
|
|
32
|
+
email_notifications_enabled: boolean;
|
|
33
|
+
goal_progress_notifications_enabled: boolean;
|
|
34
|
+
large_deposit_notifications_enabled: boolean;
|
|
35
|
+
large_expense_notifications_enabled: boolean;
|
|
36
|
+
low_balance_notifications_enabled: boolean;
|
|
37
|
+
offer_notifications_enabled: boolean;
|
|
38
|
+
password_changed_email_enabled: boolean;
|
|
39
|
+
push_notifications_enabled: boolean;
|
|
40
|
+
sms_notifications_enabled: boolean;
|
|
41
|
+
sms_shortcode: string;
|
|
42
|
+
sms_shortcode_privacy_policy_url: string;
|
|
43
|
+
sms_shortcode_terms_of_service_url: string;
|
|
44
|
+
sms_verification_enabled: boolean;
|
|
45
|
+
sms_welcome_enabled: boolean;
|
|
46
|
+
transaction_fee_notifications_enabled: boolean;
|
|
47
|
+
transaction_is_international_notifications_enabled: boolean;
|
|
48
|
+
user_summary_notifications_enabled: boolean;
|
|
49
|
+
verification_email_enabled: boolean;
|
|
50
|
+
welcome_email_enabled: boolean;
|
|
51
|
+
};
|
|
52
|
+
client_profile: {
|
|
53
|
+
account_verification_is_enabled: boolean;
|
|
54
|
+
allow_accounts_widget: boolean;
|
|
55
|
+
allow_budgets_widget: boolean;
|
|
56
|
+
allow_cash_flow_widget: boolean;
|
|
57
|
+
allow_debts_widget: boolean;
|
|
58
|
+
allow_goals_widget: boolean;
|
|
59
|
+
allow_investments_widget: boolean;
|
|
60
|
+
allow_linked_account_add: boolean;
|
|
61
|
+
allow_mobile_master_widget: boolean;
|
|
62
|
+
allow_net_worth_widget: boolean;
|
|
63
|
+
allow_notifications_settings_widget: boolean;
|
|
64
|
+
allow_spending_widget: boolean;
|
|
65
|
+
allow_transactions_widget: boolean;
|
|
66
|
+
allow_trends_widget: boolean;
|
|
67
|
+
client_guid: string;
|
|
68
|
+
custom_copy_namespace: string;
|
|
69
|
+
institution_display_name: string;
|
|
70
|
+
is_microdeposits_enabled: boolean;
|
|
71
|
+
is_pfm_feedback_enabled: boolean;
|
|
72
|
+
locale: string;
|
|
73
|
+
mobile_app_android_url: string;
|
|
74
|
+
mobile_app_itunes_url: string;
|
|
75
|
+
privacy_policy_url: null;
|
|
76
|
+
show_bubble_budgets: boolean;
|
|
77
|
+
show_external_link_popup: boolean;
|
|
78
|
+
show_insurance_as_default_top_level_account_type: boolean;
|
|
79
|
+
show_notifications_settings_widget: boolean;
|
|
80
|
+
show_prepaid_as_default_top_level_account_type: boolean;
|
|
81
|
+
tax_statement_is_enabled: boolean;
|
|
82
|
+
use_cases_is_enabled: boolean;
|
|
83
|
+
uses_custom_popular_institution_list: boolean;
|
|
84
|
+
uses_mobile_sign_on_tokens: boolean;
|
|
85
|
+
uses_oauth: boolean;
|
|
86
|
+
default_institution_guid: string;
|
|
87
|
+
};
|
|
88
|
+
user: {
|
|
89
|
+
guid: string;
|
|
90
|
+
birthday: number;
|
|
91
|
+
client_guid: string;
|
|
92
|
+
credit_score: number;
|
|
93
|
+
email: string;
|
|
94
|
+
email_is_verified: boolean;
|
|
95
|
+
external_guid: string;
|
|
96
|
+
first_name: string;
|
|
97
|
+
has_accepted_terms: boolean;
|
|
98
|
+
has_password: boolean;
|
|
99
|
+
has_updated_terms_and_conditions: boolean;
|
|
100
|
+
health_score: number;
|
|
101
|
+
last_name: string;
|
|
102
|
+
metadata: null;
|
|
103
|
+
phone: null;
|
|
104
|
+
phone_is_verified: boolean;
|
|
105
|
+
postal_code: string;
|
|
106
|
+
sex: null;
|
|
107
|
+
uses_single_sign_on: boolean;
|
|
108
|
+
created_at: number;
|
|
109
|
+
};
|
|
110
|
+
user_profile: UserProfile;
|
|
111
|
+
user_communication_profile: {
|
|
112
|
+
client_guid: string;
|
|
113
|
+
guid: string;
|
|
114
|
+
opted_out_of_all_notifications: boolean;
|
|
115
|
+
opted_out_of_email_notifications: boolean;
|
|
116
|
+
opted_out_of_push_notifications: boolean;
|
|
117
|
+
opted_out_of_sms_notifications: boolean;
|
|
118
|
+
status_code: number;
|
|
119
|
+
user_guid: string;
|
|
120
|
+
created_at: number;
|
|
121
|
+
updated_at: number;
|
|
122
|
+
};
|
|
123
|
+
address: {
|
|
124
|
+
bullseye: string;
|
|
125
|
+
};
|
|
126
|
+
}
|
|
@@ -2,6 +2,7 @@ export type { Account, DetailedAccount, Member, MonthlyAccountBalance } from './
|
|
|
2
2
|
export { AccountIcon, AccountIconVariants, AccountSubType, AccountType, AccountTypeName, ConnectionStatus, ConnectionStatusEnums, ErrorStatuses, MfaStatuses, NonConnectedStatuses, ProcessingStatuses, PropertyType, PropertyTypeName, StatusName, } from './Account';
|
|
3
3
|
export { type Activity, ActivityStatus, ActivityType } from './Activity';
|
|
4
4
|
export type { AnalyticsEvent, AnalyticsPageview, BasicAnalyticsEvent, BasicAnalyticsPageview, AnalyticsSession, AnalyticEventFunction, AnalyticPageviewFunction, } from './Analytics';
|
|
5
|
+
export type { AppData } from './AppData';
|
|
5
6
|
export type { Beat, DataSeries } from './Beat';
|
|
6
7
|
export { UserVerification } from './Beat';
|
|
7
8
|
export type { Budget, BudgetColors, DetailedBudget } from './Budget';
|