@mx-cartographer/experiences 4.2.0-alpha.sms8 → 4.2.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.
- package/CHANGELOG.md +61 -0
- package/dist/Accounts-BpAyGgvu.mjs +319 -0
- package/dist/Accounts-BpAyGgvu.mjs.map +1 -0
- package/dist/BottomImageContent-B9i4ljIR.mjs +48 -0
- package/dist/BottomImageContent-B9i4ljIR.mjs.map +1 -0
- package/dist/Budgets-BqAk2CxJ.mjs +158 -0
- package/dist/Budgets-BqAk2CxJ.mjs.map +1 -0
- package/dist/CashFlow-CGVNoY9h.mjs +149 -0
- package/dist/CashFlow-CGVNoY9h.mjs.map +1 -0
- package/dist/ContentItem-8BNxeJdB.mjs +21 -0
- package/dist/ContentItem-8BNxeJdB.mjs.map +1 -0
- package/dist/Goals-BHLELiU3.mjs +272 -0
- package/dist/Goals-BHLELiU3.mjs.map +1 -0
- package/dist/LeftImageContent-YH7WIO7j.mjs +50 -0
- package/dist/LeftImageContent-YH7WIO7j.mjs.map +1 -0
- package/dist/NoImageContent-eBLeuebJ.mjs +15 -0
- package/dist/NoImageContent-eBLeuebJ.mjs.map +1 -0
- package/dist/RightImageContent-ydSgMKls.mjs +48 -0
- package/dist/RightImageContent-ydSgMKls.mjs.map +1 -0
- package/dist/accounts/stores/AccountStore.d.ts +1 -17
- package/dist/common/api/UserApi.d.ts +1 -0
- package/dist/common/components/ErrorBoundary.d.ts +14 -0
- package/dist/common/components/WidgetContainer.d.ts +1 -1
- package/dist/common/constants/Analytics.d.ts +38 -29
- package/dist/common/constants/ApiEndpoints.d.ts +4 -0
- package/dist/common/context/hooks.d.ts +1 -0
- package/dist/common/context/index.d.ts +1 -1
- package/dist/common/hooks/useScreenSize.d.ts +1 -0
- package/dist/common/stores/AppDataStore.d.ts +1 -0
- package/dist/common/stores/GlobalStore.d.ts +3 -4
- package/dist/common/stores/UserStore.d.ts +3 -1
- package/dist/common/types/AppData.d.ts +2 -1
- package/dist/common/types/Global.d.ts +12 -0
- package/dist/common/types/GlobalCopy.d.ts +2 -1
- package/dist/common/types/Help.d.ts +47 -2
- package/dist/common/types/LocalizedContent.d.ts +0 -4
- package/dist/common/types/Notification.d.ts +39 -2
- package/dist/common/types/User.d.ts +36 -0
- package/dist/common/types/index.d.ts +3 -2
- package/dist/common/types/localization/CommonCopy.d.ts +1 -0
- package/dist/common/types/localization/DebtsCopy.d.ts +50 -0
- package/dist/common/types/localization/HelpCopy.d.ts +110 -0
- package/dist/common/types/localization/SettingsCopy.d.ts +20 -10
- package/dist/common/types/localization/index.d.ts +1 -0
- package/dist/debts/components/actions/DebtsPriorityAction.d.ts +3 -0
- package/dist/debts/components/{debtsdrawer/actions → actions}/InterestRateAction.d.ts +1 -1
- package/dist/debts/components/{debtsdrawer/actions → actions}/MonthlyPaymentAction.d.ts +1 -1
- package/dist/debts/components/{debtsdrawer/actions → actions}/OriginalBalanceAction.d.ts +1 -1
- package/dist/debts/components/debtspriority/DebtsPriorityButton.d.ts +8 -0
- package/dist/debts/components/debtspriority/DebtsPrioriyPopover.d.ts +8 -0
- package/dist/debts/constants/index.d.ts +5 -0
- package/dist/debts/store/DebtsUiStore.d.ts +3 -0
- package/dist/debts/utils/DebtsTable.d.ts +5 -0
- package/dist/debts/utils/DebtsWidget.d.ts +2 -1
- package/dist/debts/utils/SnowballCard.d.ts +2 -1
- package/dist/debts/utils/shared.d.ts +3 -0
- package/dist/goals/stores/GoalStore.d.ts +1 -1
- package/dist/goals/util/GoalsUtil.d.ts +1 -1
- package/dist/help/HelpContent.d.ts +3 -0
- package/dist/help/HelpWidget.d.ts +1 -1
- package/dist/help/components/content/BottomImageContent.d.ts +3 -0
- package/dist/help/components/content/ContentItem.d.ts +4 -0
- package/dist/help/components/content/Header.d.ts +8 -0
- package/dist/help/components/content/LeftImageContent.d.ts +3 -0
- package/dist/help/components/content/NoImageContent.d.ts +2 -0
- package/dist/help/components/content/RightImageContent.d.ts +3 -0
- package/dist/help/components/content/index.d.ts +6 -0
- package/dist/help/components/content/section/Accounts.d.ts +4 -0
- package/dist/help/components/content/section/Budgets.d.ts +4 -0
- package/dist/help/components/content/section/CashFlow.d.ts +4 -0
- package/dist/help/components/content/section/Goals.d.ts +6 -0
- package/dist/help/constants/index.d.ts +34 -0
- package/dist/help/images/account/index.d.ts +5 -0
- package/dist/help/images/budgets/index.d.ts +4 -0
- package/dist/help/images/cashFlow/index.d.ts +4 -0
- package/dist/help/index.d.ts +2 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.es.js +7529 -7643
- package/dist/index.es.js.map +1 -1
- package/dist/microinsights/components/MicroWidgetContainer.d.ts +7 -0
- package/dist/notifications/constants/NotificationConstants.d.ts +2 -81
- package/dist/requestsupport/ContactSupport.d.ts +6 -0
- package/dist/requestsupport/HelpByCategoryList.d.ts +16 -0
- package/dist/requestsupport/PopularTopicsDrawer.d.ts +8 -0
- package/dist/requestsupport/PopularTopicsList.d.ts +13 -0
- package/dist/requestsupport/PopularTopicsRow.d.ts +10 -0
- package/dist/requestsupport/RequestSupport.d.ts +7 -0
- package/dist/requestsupport/RequestSupportFooter.d.ts +6 -0
- package/dist/requestsupport/RequestSupportHeader.d.ts +10 -0
- package/dist/requestsupport/RequestSupportInstitution.d.ts +9 -0
- package/dist/requestsupport/constants/index.d.ts +28 -0
- package/dist/requestsupport/index.d.ts +1 -0
- package/dist/requestsupport/util/getInstitutionsBasedOnGuid.d.ts +21 -0
- package/dist/settings/SettingsWidget.d.ts +4 -0
- package/dist/settings/api/SettingsApi.d.ts +12 -0
- package/dist/settings/components/profile/VerificationModal.d.ts +8 -0
- package/dist/settings/index.d.ts +3 -0
- package/dist/settings/stores/SettingsStore.d.ts +17 -0
- package/dist/transactions/stores/TransactionStore.d.ts +1 -20
- package/package.json +1 -1
- package/dist/insights/contexts/ToastContext.d.ts +0 -17
- package/dist/insights/index.d.ts +0 -5
- package/dist/insights/settings/SettingsDrawer.d.ts +0 -10
- package/dist/insights/settings/components/PulseSubheaderRow.d.ts +0 -6
- package/dist/insights/settings/components/SettingsItem.d.ts +0 -9
- package/dist/insights/settings/components/Toast.d.ts +0 -15
- package/dist/insights/settings/hiddeninsights/components/CategoryEmptyState.d.ts +0 -7
- package/dist/insights/settings/hiddeninsights/components/HiddenInsightsDrawer.d.ts +0 -8
- package/dist/insights/settings/hiddeninsights/components/HiddenInsightsDrawerWrapper.d.ts +0 -8
- package/dist/insights/settings/hiddeninsights/components/SubCategoryDrawer.d.ts +0 -13
- package/dist/insights/settings/hiddeninsights/types/index.d.ts +0 -67
- package/dist/insights/settings/manageaccounts/components/AccountGroup.d.ts +0 -11
- package/dist/insights/settings/manageaccounts/components/ManageAccountsDrawer.d.ts +0 -9
- package/dist/insights/settings/manageaccounts/types/index.d.ts +0 -11
- package/dist/insights/settings/types/index.d.ts +0 -4
- package/dist/insights/utils/beatTemplateCategories.d.ts +0 -2
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import a from "react";
|
|
3
|
+
import c from "@mui/material/Box";
|
|
4
|
+
import d from "@mui/material/Divider";
|
|
5
|
+
import t from "@mui/material/Grid";
|
|
6
|
+
import { useTheme as f } from "@mui/material/styles";
|
|
7
|
+
const w = ({
|
|
8
|
+
altImage: m,
|
|
9
|
+
content: s,
|
|
10
|
+
hasDivider: n = !1,
|
|
11
|
+
image: o,
|
|
12
|
+
sx: l
|
|
13
|
+
}) => {
|
|
14
|
+
const r = f();
|
|
15
|
+
return /* @__PURE__ */ i(a.Fragment, { children: [
|
|
16
|
+
/* @__PURE__ */ e(c, { sx: { pb: 48, ...l }, children: /* @__PURE__ */ i(t, { container: !0, spacing: 24, sx: { alignItems: "flex-start" }, children: [
|
|
17
|
+
/* @__PURE__ */ e(
|
|
18
|
+
t,
|
|
19
|
+
{
|
|
20
|
+
item: !0,
|
|
21
|
+
lg: 3,
|
|
22
|
+
md: 12,
|
|
23
|
+
sm: 12,
|
|
24
|
+
sx: {
|
|
25
|
+
alignSelf: "stretch",
|
|
26
|
+
[r.breakpoints.between("sm", "lg")]: {
|
|
27
|
+
display: "flex",
|
|
28
|
+
justifyContent: "center"
|
|
29
|
+
},
|
|
30
|
+
"& img": {
|
|
31
|
+
height: "100%",
|
|
32
|
+
width: "100%",
|
|
33
|
+
[r.breakpoints.between("sm", "lg")]: {
|
|
34
|
+
width: "75%"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
xs: 12,
|
|
39
|
+
children: /* @__PURE__ */ e("img", { alt: m, src: o })
|
|
40
|
+
}
|
|
41
|
+
),
|
|
42
|
+
/* @__PURE__ */ e(t, { item: !0, lg: 9, md: 12, sm: 12, xs: 12, children: s })
|
|
43
|
+
] }) }),
|
|
44
|
+
n && /* @__PURE__ */ e(d, {})
|
|
45
|
+
] });
|
|
46
|
+
};
|
|
47
|
+
export {
|
|
48
|
+
w as L
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=LeftImageContent-YH7WIO7j.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LeftImageContent-YH7WIO7j.mjs","sources":["../src/help/components/content/LeftImageContent.tsx"],"sourcesContent":["import React from 'react'\n\nimport Box from '@mui/material/Box'\nimport Divider from '@mui/material/Divider'\nimport Grid from '@mui/material/Grid'\nimport { useTheme } from '@mui/material/styles'\n\nimport { ImageContentProps } from '../../../common/types/Help'\n\nexport const LeftImageContent: React.FC<ImageContentProps> = ({\n altImage,\n content,\n hasDivider = false,\n image,\n sx,\n}) => {\n const theme = useTheme()\n return (\n <React.Fragment>\n <Box sx={{ pb: 48, ...sx }}>\n <Grid container={true} spacing={24} sx={{ alignItems: 'flex-start' }}>\n <Grid\n item={true}\n lg={3}\n md={12}\n sm={12}\n sx={{\n alignSelf: 'stretch',\n [theme.breakpoints.between('sm', 'lg')]: {\n display: 'flex',\n justifyContent: 'center',\n },\n '& img': {\n height: '100%',\n width: '100%',\n [theme.breakpoints.between('sm', 'lg')]: {\n width: '75%',\n },\n },\n }}\n xs={12}\n >\n <img alt={altImage} src={image} />\n </Grid>\n <Grid item={true} lg={9} md={12} sm={12} xs={12}>\n {content}\n </Grid>\n </Grid>\n </Box>\n {hasDivider && <Divider />}\n </React.Fragment>\n )\n}\n"],"names":["LeftImageContent","altImage","content","hasDivider","image","sx","theme","useTheme","jsxs","React","jsx","Box","Grid","Divider"],"mappings":";;;;;;AASO,MAAMA,IAAgD,CAAC;AAAA,EAC5D,UAAAC;AAAA,EACA,SAAAC;AAAA,EACA,YAAAC,IAAa;AAAA,EACb,OAAAC;AAAA,EACA,IAAAC;AACF,MAAM;AACJ,QAAMC,IAAQC;AAEZ,SAAA,gBAAAC,EAACC,EAAM,UAAN,EACC,UAAA;AAAA,IAAA,gBAAAC,EAACC,KAAI,IAAI,EAAE,IAAI,IAAI,GAAGN,KACpB,UAAA,gBAAAG,EAACI,GAAK,EAAA,WAAW,IAAM,SAAS,IAAI,IAAI,EAAE,YAAY,aACpD,GAAA,UAAA;AAAA,MAAA,gBAAAF;AAAA,QAACE;AAAA,QAAA;AAAA,UACC,MAAM;AAAA,UACN,IAAI;AAAA,UACJ,IAAI;AAAA,UACJ,IAAI;AAAA,UACJ,IAAI;AAAA,YACF,WAAW;AAAA,YACX,CAACN,EAAM,YAAY,QAAQ,MAAM,IAAI,CAAC,GAAG;AAAA,cACvC,SAAS;AAAA,cACT,gBAAgB;AAAA,YAClB;AAAA,YACA,SAAS;AAAA,cACP,QAAQ;AAAA,cACR,OAAO;AAAA,cACP,CAACA,EAAM,YAAY,QAAQ,MAAM,IAAI,CAAC,GAAG;AAAA,gBACvC,OAAO;AAAA,cACT;AAAA,YACF;AAAA,UACF;AAAA,UACA,IAAI;AAAA,UAEJ,UAAC,gBAAAI,EAAA,OAAA,EAAI,KAAKT,GAAU,KAAKG,GAAO;AAAA,QAAA;AAAA,MAClC;AAAA,MACC,gBAAAM,EAAAE,GAAA,EAAK,MAAM,IAAM,IAAI,GAAG,IAAI,IAAI,IAAI,IAAI,IAAI,IAC1C,UACHV,GAAA;AAAA,IAAA,EAAA,CACF,EACF,CAAA;AAAA,IACCC,uBAAeU,GAAQ,EAAA;AAAA,EAC1B,EAAA,CAAA;AAEJ;"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsxs as m, Fragment as i, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import n from "@mui/material/Box";
|
|
3
|
+
import s from "@mui/material/Divider";
|
|
4
|
+
const f = ({
|
|
5
|
+
content: o,
|
|
6
|
+
hasDivider: e = !1,
|
|
7
|
+
sx: t
|
|
8
|
+
}) => /* @__PURE__ */ m(i, { children: [
|
|
9
|
+
/* @__PURE__ */ r(n, { sx: { pb: 48, ...t }, children: o }),
|
|
10
|
+
e && /* @__PURE__ */ r(s, {})
|
|
11
|
+
] });
|
|
12
|
+
export {
|
|
13
|
+
f as N
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=NoImageContent-eBLeuebJ.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NoImageContent-eBLeuebJ.mjs","sources":["../src/help/components/content/NoImageContent.tsx"],"sourcesContent":["import Box from '@mui/material/Box'\nimport Divider from '@mui/material/Divider'\n\nimport { NoImageContentProps } from '../../../common/types/Help'\n\nexport const NoImageContent: React.FC<NoImageContentProps> = ({\n content,\n hasDivider = false,\n sx,\n}) => {\n return (\n <>\n <Box sx={{ pb: 48, ...sx }}>{content}</Box>\n {hasDivider && <Divider />}\n </>\n )\n}\n"],"names":["NoImageContent","content","hasDivider","sx","jsxs","Fragment","jsx","Box","Divider"],"mappings":";;;AAKO,MAAMA,IAAgD,CAAC;AAAA,EAC5D,SAAAC;AAAA,EACA,YAAAC,IAAa;AAAA,EACb,IAAAC;AACF,MAGM,gBAAAC,EAAAC,GAAA,EAAA,UAAA;AAAA,EAAC,gBAAAC,EAAAC,GAAA,EAAI,IAAI,EAAE,IAAI,IAAI,GAAGJ,KAAO,UAAQF,GAAA;AAAA,EACpCC,uBAAeM,GAAQ,EAAA;AAC1B,EAAA,CAAA;"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import a from "react";
|
|
3
|
+
import c from "@mui/material/Box";
|
|
4
|
+
import d from "@mui/material/Divider";
|
|
5
|
+
import t from "@mui/material/Grid";
|
|
6
|
+
import { useTheme as p } from "@mui/material/styles";
|
|
7
|
+
const w = ({
|
|
8
|
+
altImage: m,
|
|
9
|
+
content: s,
|
|
10
|
+
hasDivider: n = !1,
|
|
11
|
+
image: o,
|
|
12
|
+
sx: l
|
|
13
|
+
}) => {
|
|
14
|
+
const r = p();
|
|
15
|
+
return /* @__PURE__ */ i(a.Fragment, { children: [
|
|
16
|
+
/* @__PURE__ */ e(c, { sx: { pb: 48, ...l }, children: /* @__PURE__ */ i(t, { container: !0, spacing: 24, sx: { alignItems: "flex-start" }, children: [
|
|
17
|
+
/* @__PURE__ */ e(t, { item: !0, lg: 7, md: 12, sm: 12, xs: 12, children: s }),
|
|
18
|
+
/* @__PURE__ */ e(
|
|
19
|
+
t,
|
|
20
|
+
{
|
|
21
|
+
item: !0,
|
|
22
|
+
lg: 5,
|
|
23
|
+
md: 12,
|
|
24
|
+
sm: 12,
|
|
25
|
+
sx: {
|
|
26
|
+
[r.breakpoints.between("sm", "lg")]: {
|
|
27
|
+
display: "flex",
|
|
28
|
+
justifyContent: "center"
|
|
29
|
+
},
|
|
30
|
+
"& img": {
|
|
31
|
+
width: "100%",
|
|
32
|
+
[r.breakpoints.between("sm", "lg")]: {
|
|
33
|
+
width: "75%"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
xs: 12,
|
|
38
|
+
children: /* @__PURE__ */ e("img", { alt: m, src: o })
|
|
39
|
+
}
|
|
40
|
+
)
|
|
41
|
+
] }) }),
|
|
42
|
+
n && /* @__PURE__ */ e(d, {})
|
|
43
|
+
] });
|
|
44
|
+
};
|
|
45
|
+
export {
|
|
46
|
+
w as R
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=RightImageContent-ydSgMKls.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RightImageContent-ydSgMKls.mjs","sources":["../src/help/components/content/RightImageContent.tsx"],"sourcesContent":["import React from 'react'\n\nimport Box from '@mui/material/Box'\nimport Divider from '@mui/material/Divider'\nimport Grid from '@mui/material/Grid'\nimport { useTheme } from '@mui/material/styles'\n\nimport { ImageContentProps } from '../../../common/types/Help'\n\nexport const RightImageContent: React.FC<ImageContentProps> = ({\n altImage,\n content,\n hasDivider = false,\n image,\n sx,\n}) => {\n const theme = useTheme()\n return (\n <React.Fragment>\n <Box sx={{ pb: 48, ...sx }}>\n <Grid container={true} spacing={24} sx={{ alignItems: 'flex-start' }}>\n <Grid item={true} lg={7} md={12} sm={12} xs={12}>\n {content}\n </Grid>\n <Grid\n item={true}\n lg={5}\n md={12}\n sm={12}\n sx={{\n [theme.breakpoints.between('sm', 'lg')]: {\n display: 'flex',\n justifyContent: 'center',\n },\n '& img': {\n width: '100%',\n [theme.breakpoints.between('sm', 'lg')]: {\n width: '75%',\n },\n },\n }}\n xs={12}\n >\n <img alt={altImage} src={image} />\n </Grid>\n </Grid>\n </Box>\n {hasDivider && <Divider />}\n </React.Fragment>\n )\n}\n"],"names":["RightImageContent","altImage","content","hasDivider","image","sx","theme","useTheme","jsxs","React","jsx","Box","Grid","Divider"],"mappings":";;;;;;AASO,MAAMA,IAAiD,CAAC;AAAA,EAC7D,UAAAC;AAAA,EACA,SAAAC;AAAA,EACA,YAAAC,IAAa;AAAA,EACb,OAAAC;AAAA,EACA,IAAAC;AACF,MAAM;AACJ,QAAMC,IAAQC;AAEZ,SAAA,gBAAAC,EAACC,EAAM,UAAN,EACC,UAAA;AAAA,IAAA,gBAAAC,EAACC,KAAI,IAAI,EAAE,IAAI,IAAI,GAAGN,KACpB,UAAA,gBAAAG,EAACI,GAAK,EAAA,WAAW,IAAM,SAAS,IAAI,IAAI,EAAE,YAAY,aACpD,GAAA,UAAA;AAAA,MAAC,gBAAAF,EAAAE,GAAA,EAAK,MAAM,IAAM,IAAI,GAAG,IAAI,IAAI,IAAI,IAAI,IAAI,IAC1C,UACHV,GAAA;AAAA,MACA,gBAAAQ;AAAA,QAACE;AAAA,QAAA;AAAA,UACC,MAAM;AAAA,UACN,IAAI;AAAA,UACJ,IAAI;AAAA,UACJ,IAAI;AAAA,UACJ,IAAI;AAAA,YACF,CAACN,EAAM,YAAY,QAAQ,MAAM,IAAI,CAAC,GAAG;AAAA,cACvC,SAAS;AAAA,cACT,gBAAgB;AAAA,YAClB;AAAA,YACA,SAAS;AAAA,cACP,OAAO;AAAA,cACP,CAACA,EAAM,YAAY,QAAQ,MAAM,IAAI,CAAC,GAAG;AAAA,gBACvC,OAAO;AAAA,cACT;AAAA,YACF;AAAA,UACF;AAAA,UACA,IAAI;AAAA,UAEJ,UAAC,gBAAAI,EAAA,OAAA,EAAI,KAAKT,GAAU,KAAKG,GAAO;AAAA,QAAA;AAAA,MAClC;AAAA,IAAA,EAAA,CACF,EACF,CAAA;AAAA,IACCD,uBAAeU,GAAQ,EAAA;AAAA,EAC1B,EAAA,CAAA;AAEJ;"}
|
|
@@ -1,29 +1,14 @@
|
|
|
1
1
|
import { Account, GlobalStore, Institution, Member } from '../../common';
|
|
2
2
|
import { AccountApi } from '../api/AccountApi';
|
|
3
3
|
import { UiStore } from './UiStore';
|
|
4
|
-
interface OptionalProps {
|
|
5
|
-
accounts?: Account[] | [];
|
|
6
|
-
institutions?: Institution[] | [];
|
|
7
|
-
members?: Member[] | [];
|
|
8
|
-
updateExternallyManagedAccounts?: (accounts: Account[]) => void;
|
|
9
|
-
}
|
|
10
4
|
export declare class AccountStore {
|
|
11
5
|
api: AccountApi;
|
|
12
6
|
globalStore: GlobalStore;
|
|
13
|
-
/**
|
|
14
|
-
* Required props if data is externally managed
|
|
15
|
-
* @property {Array} accounts array of accounts
|
|
16
|
-
* @property {Array} institutions array of institutions
|
|
17
|
-
* @property {Array} members array of members
|
|
18
|
-
* @property {function} updateExternallyManagedAccounts Updater function for external data manager
|
|
19
|
-
*/
|
|
20
7
|
accounts: Account[];
|
|
21
8
|
institutions: Institution[];
|
|
22
9
|
members: Member[];
|
|
23
|
-
updateExternallyManagedAccounts: ((accounts: Account[]) => void) | undefined;
|
|
24
|
-
shouldManageDataExternally: boolean;
|
|
25
10
|
uiStore: UiStore;
|
|
26
|
-
constructor(globalStore: GlobalStore
|
|
11
|
+
constructor(globalStore: GlobalStore);
|
|
27
12
|
initialize: (endpoint: string, token: string) => Promise<void>;
|
|
28
13
|
get cashAccounts(): Account[];
|
|
29
14
|
get checkingAccounts(): Account[];
|
|
@@ -43,4 +28,3 @@ export declare class AccountStore {
|
|
|
43
28
|
removeAccount: (accountGuid: string) => Promise<void>;
|
|
44
29
|
updateAccount: (account: Account) => Promise<void>;
|
|
45
30
|
}
|
|
46
|
-
export {};
|
|
@@ -3,6 +3,7 @@ import { User, UserProfile } from '../types';
|
|
|
3
3
|
export declare class UserApi {
|
|
4
4
|
fetchInstance: Fetch;
|
|
5
5
|
constructor(endpoint: string, token: string);
|
|
6
|
+
getUserFeatures: () => Promise<any>;
|
|
6
7
|
updateUser: (user: User) => Promise<any>;
|
|
7
8
|
updateUserProfile: (userProfile: UserProfile) => Promise<any>;
|
|
8
9
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface ErrorProps {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
}
|
|
5
|
+
export interface ErrorState {
|
|
6
|
+
hasError: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare class ErrorBoundary extends React.Component<ErrorProps, ErrorState> {
|
|
9
|
+
state: ErrorState;
|
|
10
|
+
componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
|
|
11
|
+
static getDerivedStateFromError(): ErrorState;
|
|
12
|
+
render(): string | number | boolean | Iterable<React.ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
13
|
+
}
|
|
14
|
+
export default ErrorBoundary;
|
|
@@ -1,69 +1,78 @@
|
|
|
1
1
|
export declare const ANALYTICS_EVENTS: {
|
|
2
|
-
|
|
2
|
+
ACCOUNTS_CLICK_ACCOUNT: string;
|
|
3
3
|
ACCOUNTS_CLICK_CONNECT: string;
|
|
4
4
|
ACCOUNTS_CLICK_FILTER: string;
|
|
5
|
-
|
|
5
|
+
ACCOUNTS_CLICK_SYNC: string;
|
|
6
6
|
ACCOUNT_DETAILS_CLICK_HIDE: string;
|
|
7
7
|
ACCOUNT_DETAILS_CLICK_MARK_CLOSED: string;
|
|
8
8
|
ACCOUNT_DETAILS_CLICK_MARK_DUPLICATE: string;
|
|
9
9
|
ACCOUNT_DETAILS_CLICK_TRANSACTION: string;
|
|
10
10
|
ACCOUNT_DETAILS_VIEW: string;
|
|
11
11
|
ACCOUNT_DETAILS_VIEW_TRANSACTIONS: string;
|
|
12
|
-
BUDGETS_CLICK_FILTER: string;
|
|
13
12
|
BUDGETS_CLICK_ADD: string;
|
|
14
|
-
BUDGETS_CLICK_EDIT_INCOME: string;
|
|
15
13
|
BUDGETS_CLICK_BUDGET_CATEGORY: string;
|
|
14
|
+
BUDGETS_CLICK_EDIT_INCOME: string;
|
|
15
|
+
BUDGETS_CLICK_FILTER: string;
|
|
16
16
|
BUDGETS_VIEW: string;
|
|
17
|
-
CASH_FLOW_CLICK_SETTINGS: string;
|
|
18
17
|
CASH_FLOW_CLICK_FILTER: string;
|
|
19
|
-
|
|
18
|
+
CASH_FLOW_CLICK_SETTINGS: string;
|
|
19
|
+
DEBTS_CLICK_CHART_AREA: string;
|
|
20
|
+
DEBTS_CLICK_FILTER: string;
|
|
21
|
+
DEBTS_CLICK_PRIORITY: string;
|
|
22
|
+
DEBTS_CLICK_PRIORITIZE: string;
|
|
23
|
+
DEBTS_CLICK_SNOWBALL_CTA: string;
|
|
20
24
|
DEBTS_CLICK_TABLE_ROW: string;
|
|
25
|
+
DEBTS_CLICK_TABLE_SORT: string;
|
|
26
|
+
DEBTS_SAVE_BALANCE_ACTION: string;
|
|
27
|
+
DEBTS_SAVE_PAYMENT_ACTION: string;
|
|
28
|
+
DEBTS_SAVE_RATE_ACTION: string;
|
|
29
|
+
DEBTS_VIEW: string;
|
|
21
30
|
DEBT_DETAILS_VIEW: string;
|
|
22
31
|
DEBT_SCHEDULE_VIEW: string;
|
|
23
|
-
GOALS_VIEW: string;
|
|
24
|
-
GOALS_CLICK_FILTER: string;
|
|
25
32
|
GOALS_CLICK_ADD: string;
|
|
33
|
+
GOALS_CLICK_FILTER: string;
|
|
34
|
+
GOALS_VIEW: string;
|
|
26
35
|
NET_WORTH_VIEW: string;
|
|
27
36
|
NET_WORTH_WIDGET_CLICK_ASSETS_LIABILITIES: string;
|
|
28
37
|
NET_WORTH_WIDGET_CLICK_FILTER: string;
|
|
29
38
|
NET_WORTH_WIDGET_CLICK_TIMEFRAME: string;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
RECURRING_ACTIVITY_CLICK_UPCOMING: string;
|
|
33
|
-
RECURRING_ACTIVITY_CLICK_PAID: string;
|
|
39
|
+
RECURRING_ACTIVITY_CLICK_ADD_EXPENSE: string;
|
|
40
|
+
RECURRING_ACTIVITY_CLICK_ADD_INCOME: string;
|
|
34
41
|
RECURRING_ACTIVITY_CLICK_CALENDAR_RIGHT: string;
|
|
35
42
|
RECURRING_ACTIVITY_CLICK_EXPENSE: string;
|
|
36
|
-
|
|
43
|
+
RECURRING_ACTIVITY_CLICK_FILTER: string;
|
|
37
44
|
RECURRING_ACTIVITY_CLICK_INCOME: string;
|
|
38
|
-
|
|
39
|
-
|
|
45
|
+
RECURRING_ACTIVITY_CLICK_PAID: string;
|
|
46
|
+
RECURRING_ACTIVITY_CLICK_SETTINGS: string;
|
|
47
|
+
RECURRING_ACTIVITY_CLICK_UPCOMING: string;
|
|
40
48
|
SPENDING_CLICK_FILTER: string;
|
|
41
|
-
|
|
49
|
+
SPENDING_VIEW: string;
|
|
42
50
|
TRANSACTIONS_ADD_MANUAL_ACCOUNT_MODAL: string;
|
|
43
|
-
TRANSACTIONS_CLICK_SEARCH: string;
|
|
44
|
-
TRANSACTIONS_CLICK_FILTER: string;
|
|
45
|
-
TRANSACTIONS_CLICK_EXPORT: string;
|
|
46
51
|
TRANSACTIONS_CLICK_ADD: string;
|
|
47
52
|
TRANSACTIONS_CLICK_DETAILS: string;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
53
|
+
TRANSACTIONS_CLICK_EXPORT: string;
|
|
54
|
+
TRANSACTIONS_CLICK_FILTER: string;
|
|
55
|
+
TRANSACTIONS_CLICK_SEARCH: string;
|
|
56
|
+
TRANSACTIONS_VIEW: string;
|
|
57
|
+
TRANSACTION_DETAILS_CLICK_AMOUNT: string;
|
|
51
58
|
TRANSACTION_DETAILS_CLICK_CATEGORY: string;
|
|
52
59
|
TRANSACTION_DETAILS_CLICK_DATE: string;
|
|
53
60
|
TRANSACTION_DETAILS_CLICK_DELETE_LOGO: string;
|
|
61
|
+
TRANSACTION_DETAILS_CLICK_DESCRIPTION: string;
|
|
62
|
+
TRANSACTION_DETAILS_CLICK_FLAG: string;
|
|
54
63
|
TRANSACTION_DETAILS_CLICK_MEMO: string;
|
|
55
64
|
TRANSACTION_DETAILS_CLICK_SPLIT: string;
|
|
56
|
-
TRANSACTION_DETAILS_CLICK_UNSPLIT: string;
|
|
57
65
|
TRANSACTION_DETAILS_CLICK_TAGS: string;
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
TRENDS_CLICK_TOGGLE: string;
|
|
66
|
+
TRANSACTION_DETAILS_CLICK_UNSPLIT: string;
|
|
67
|
+
TRANSACTION_DETAILS_VIEW: string;
|
|
61
68
|
TRENDS_CLICK_DATE: string;
|
|
62
|
-
|
|
63
|
-
TRENDS_CLICK_TABLE_ROW: string;
|
|
69
|
+
TRENDS_CLICK_FILTER: string;
|
|
64
70
|
TRENDS_CLICK_LEGEND: string;
|
|
65
|
-
|
|
71
|
+
TRENDS_CLICK_TABLE_ROW: string;
|
|
72
|
+
TRENDS_CLICK_TABLE_SORT: string;
|
|
73
|
+
TRENDS_CLICK_TOGGLE: string;
|
|
66
74
|
TRENDS_HOVER_AREA: string;
|
|
75
|
+
TRENDS_HOVER_LEGEND: string;
|
|
67
76
|
TRENDS_HOVER_POINT: string;
|
|
68
77
|
TRENDS_VIEW_TRANSACTIONS: string;
|
|
69
78
|
WIDGET_BACK_CLICK: string;
|
|
@@ -11,6 +11,7 @@ export declare const ApiEndpoints: {
|
|
|
11
11
|
CASHFLOW_SEQUENCES: string;
|
|
12
12
|
CATEGORIES: string;
|
|
13
13
|
DATE_RANGE_CATEGORY_TOTALS: string;
|
|
14
|
+
DEVICES: string;
|
|
14
15
|
GOALS: string;
|
|
15
16
|
INSTITUTIONS: string;
|
|
16
17
|
LOCALIZED_COPY: string;
|
|
@@ -19,6 +20,7 @@ export declare const ApiEndpoints: {
|
|
|
19
20
|
MERCHANTS: string;
|
|
20
21
|
MONTHLY_CASH_FLOW_PROFILE: string;
|
|
21
22
|
MONTHLY_CATEGORY_TOTALS: string;
|
|
23
|
+
NOTIFICATION_PROFILES: string;
|
|
22
24
|
NOTIFICATIONS: string;
|
|
23
25
|
RETIREMENT_GOALS: string;
|
|
24
26
|
RETIREMENT_GOAL_ACCOUNTS: string;
|
|
@@ -29,6 +31,8 @@ export declare const ApiEndpoints: {
|
|
|
29
31
|
TRANSACTION_RULES: string;
|
|
30
32
|
TRANSACTIONS: string;
|
|
31
33
|
USER: string;
|
|
34
|
+
USER_COMMUNICATION_PROFILE: string;
|
|
35
|
+
USER_FEATURES: string;
|
|
32
36
|
USER_PROFILES: string;
|
|
33
37
|
WIDGET_URLS: string;
|
|
34
38
|
};
|
|
@@ -14,6 +14,7 @@ export declare const useMerchantStore: () => import('../..').MerchantStore;
|
|
|
14
14
|
export declare const useNetWorthStore: () => import('../..').NetWorthStore;
|
|
15
15
|
export declare const useNotificationStore: () => import('../..').NotificationStore;
|
|
16
16
|
export declare const useRecurringActivityStore: () => import('../..').RecurringActivityStore;
|
|
17
|
+
export declare const useSettingsStore: () => import('../..').SettingsStore;
|
|
17
18
|
export declare const useTransactionStore: () => import('../..').TransactionStore;
|
|
18
19
|
export declare const useUserStore: () => import('..').UserStore;
|
|
19
20
|
export declare const useEvent: () => {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { useAccountStore, useBudgetsStore, useCashflowStore, useCategoryStore, useDebtStore, useEvent, useGlobalStore, useGlobalUiStore, useGlobalCopyStore, useGoalStore, useHelpStore, useMerchantStore, useNetWorthStore, useNotificationStore, usePageView, useRecurringActivityStore, useTransactionStore, useUserStore, useWidgetContainerProvider, } from './hooks';
|
|
1
|
+
export { useAccountStore, useBudgetsStore, useCashflowStore, useCategoryStore, useDebtStore, useEvent, useGlobalStore, useGlobalUiStore, useGlobalCopyStore, useGoalStore, useHelpStore, useMerchantStore, useNetWorthStore, useNotificationStore, usePageView, useRecurringActivityStore, useSettingsStore, useTransactionStore, useUserStore, useWidgetContainerProvider, } from './hooks';
|
|
2
2
|
export { GlobalDataContext, GlobalDataProvider } from './GlobalDataProvider';
|
|
3
3
|
export { WidgetContainerContext, WidgetContainerProvider } from './WidgetContainerProvider';
|
|
@@ -6,6 +6,7 @@ export declare class AppDataStore {
|
|
|
6
6
|
constructor();
|
|
7
7
|
initialize: (endpoint: string, token: string) => Promise<void>;
|
|
8
8
|
get user(): User;
|
|
9
|
+
get userCommunicationProfile(): import('../types/User').UserCommunicationProfile;
|
|
9
10
|
get userProfile(): UserProfile;
|
|
10
11
|
loadAppData: () => Promise<void>;
|
|
11
12
|
setUser: (user: User) => User;
|
|
@@ -14,6 +14,7 @@ import { MerchantStore } from '../../merchants';
|
|
|
14
14
|
import { NetWorthStore } from '../../networth';
|
|
15
15
|
import { NotificationStore } from '../../notifications';
|
|
16
16
|
import { RecurringActivityStore } from '../../recurringactivity';
|
|
17
|
+
import { SettingsStore } from '../../settings';
|
|
17
18
|
import { TransactionStore } from '../../transactions';
|
|
18
19
|
import { UserStore } from './UserStore';
|
|
19
20
|
export declare class GlobalStore {
|
|
@@ -32,13 +33,11 @@ export declare class GlobalStore {
|
|
|
32
33
|
netWorthStore: NetWorthStore;
|
|
33
34
|
notificationStore: NotificationStore;
|
|
34
35
|
recurringActivityStore: RecurringActivityStore;
|
|
36
|
+
settingsStore: SettingsStore;
|
|
35
37
|
transactionStore: TransactionStore;
|
|
36
38
|
userStore: UserStore;
|
|
37
39
|
globalUiStore: GlobalUiStore;
|
|
38
40
|
isInitialized: boolean;
|
|
39
|
-
constructor(
|
|
40
|
-
accountStoreProps?: any;
|
|
41
|
-
transactionStoreProps?: any;
|
|
42
|
-
});
|
|
41
|
+
constructor();
|
|
43
42
|
initialize: (endpoint: string, token: string) => Promise<void>;
|
|
44
43
|
}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { UserApi } from '../api';
|
|
2
|
-
import { User, UserProfile } from '../types';
|
|
3
2
|
import { GlobalStore } from './GlobalStore';
|
|
3
|
+
import { User, UserFeature, UserProfile } from '../types';
|
|
4
4
|
export declare class UserStore {
|
|
5
5
|
globalStore: GlobalStore;
|
|
6
|
+
userFeatures: UserFeature[];
|
|
6
7
|
api: UserApi;
|
|
7
8
|
constructor(globalStore: GlobalStore);
|
|
8
9
|
initialize: (endpoint: string, token: string) => Promise<void>;
|
|
9
10
|
get userProfile(): UserProfile;
|
|
10
11
|
get user(): User;
|
|
12
|
+
loadUserFeatures: () => Promise<void>;
|
|
11
13
|
updateUser: (user: User) => Promise<void>;
|
|
12
14
|
updateUserProfile: (userProfile: UserProfile) => Promise<void>;
|
|
13
15
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Client, ClientColorScheme, ClientCommunicationProfile, ClientProfile } from './Client';
|
|
2
|
-
import { User, UserProfile } from './User';
|
|
2
|
+
import { User, UserCommunicationProfile, UserProfile } from './User';
|
|
3
3
|
export interface AppData {
|
|
4
4
|
address: {
|
|
5
5
|
bullseye?: string | null;
|
|
@@ -9,5 +9,6 @@ export interface AppData {
|
|
|
9
9
|
client_communication_profile: ClientCommunicationProfile;
|
|
10
10
|
client_profile: ClientProfile;
|
|
11
11
|
user: User;
|
|
12
|
+
user_communication_profile: UserCommunicationProfile;
|
|
12
13
|
user_profile: UserProfile;
|
|
13
14
|
}
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
export type Config = {
|
|
2
2
|
enable_renaming_home_accounts: boolean;
|
|
3
|
+
enable_support_requests: boolean;
|
|
4
|
+
show_accounts_widget_in_master: boolean;
|
|
5
|
+
show_budgets_widget_in_master: boolean;
|
|
6
|
+
show_cash_flow_widget_in_master: boolean;
|
|
7
|
+
show_debts_widget_in_master: boolean;
|
|
8
|
+
show_goals_widget_in_master: boolean;
|
|
9
|
+
show_investments_widget_in_master: boolean;
|
|
10
|
+
show_net_worth_widget_in_master: boolean;
|
|
11
|
+
show_notifications_widget_in_master: boolean;
|
|
12
|
+
show_spending_widget_in_master: boolean;
|
|
13
|
+
show_transactions_widget_in_master: boolean;
|
|
14
|
+
show_trends_widget_in_master: boolean;
|
|
3
15
|
};
|
|
4
16
|
export type App = {
|
|
5
17
|
config: Config;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccountsCopy, BudgetsCopy, CashflowCopy, CategoryCopy, CommonCopy, ConnectCopy, DebtsCopy, GoalsCopy, InsightsFeedCopy, MicroInsightsCopy, NetWorthCopy, NotificationsCopy, RecurringCopy, SettingsCopy, SpendingCopy, TransactionsCopy, TrendsCopy } from './localization';
|
|
1
|
+
import { AccountsCopy, BudgetsCopy, CashflowCopy, CategoryCopy, CommonCopy, ConnectCopy, DebtsCopy, GoalsCopy, HelpCopy, InsightsFeedCopy, MicroInsightsCopy, NetWorthCopy, NotificationsCopy, RecurringCopy, SettingsCopy, SpendingCopy, TransactionsCopy, TrendsCopy } from './localization';
|
|
2
2
|
export interface GlobalCopy {
|
|
3
3
|
accounts: AccountsCopy;
|
|
4
4
|
budgets: BudgetsCopy;
|
|
@@ -8,6 +8,7 @@ export interface GlobalCopy {
|
|
|
8
8
|
connect: ConnectCopy;
|
|
9
9
|
debts: DebtsCopy;
|
|
10
10
|
goals: GoalsCopy;
|
|
11
|
+
help: HelpCopy;
|
|
11
12
|
insights_feed: InsightsFeedCopy;
|
|
12
13
|
micro_insights: MicroInsightsCopy;
|
|
13
14
|
net_worth: NetWorthCopy;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SxProps } from '@mui/material/styles';
|
|
1
3
|
import { ClientCommunicationProfile, ClientProfile } from './Client';
|
|
4
|
+
import { HelpCopy } from './localization';
|
|
2
5
|
export interface HelpCategory {
|
|
3
6
|
flags?: string[];
|
|
4
7
|
guid: string;
|
|
@@ -6,17 +9,59 @@ export interface HelpCategory {
|
|
|
6
9
|
title: string;
|
|
7
10
|
topics: HelpTopic[];
|
|
8
11
|
}
|
|
12
|
+
export interface HelpContentProps {
|
|
13
|
+
hasRequestButton?: boolean;
|
|
14
|
+
onNavigateToList: () => void;
|
|
15
|
+
topicInfo: SelectedTopic;
|
|
16
|
+
}
|
|
9
17
|
export interface HelpListProps {
|
|
18
|
+
buttonText: string;
|
|
19
|
+
hasRequestButton?: boolean;
|
|
10
20
|
helpCategories: HelpCategory[];
|
|
11
21
|
helpContent: string;
|
|
12
22
|
helpTitle: string;
|
|
13
|
-
buttonText: string;
|
|
14
23
|
onRequestHelp: () => void;
|
|
15
|
-
onTopicSelect: (
|
|
24
|
+
onTopicSelect: (topic: SelectedTopic) => void;
|
|
16
25
|
}
|
|
17
26
|
export interface HelpTopic {
|
|
18
27
|
label: string;
|
|
19
28
|
topicKey: string;
|
|
20
29
|
}
|
|
30
|
+
export interface ImageContentProps {
|
|
31
|
+
altImage: string;
|
|
32
|
+
content: React.ReactNode;
|
|
33
|
+
hasDivider?: boolean;
|
|
34
|
+
image: string;
|
|
35
|
+
sx?: SxProps;
|
|
36
|
+
}
|
|
37
|
+
export interface NoImageContentProps {
|
|
38
|
+
content: React.ReactNode;
|
|
39
|
+
hasDivider?: boolean;
|
|
40
|
+
sx?: SxProps;
|
|
41
|
+
}
|
|
21
42
|
export interface Profile extends ClientCommunicationProfile, ClientProfile {
|
|
22
43
|
}
|
|
44
|
+
export interface SectionProps {
|
|
45
|
+
topicKey: string;
|
|
46
|
+
copy: HelpCopy;
|
|
47
|
+
}
|
|
48
|
+
export interface SelectedTopic {
|
|
49
|
+
category: string;
|
|
50
|
+
guid: string;
|
|
51
|
+
pageTitle: string;
|
|
52
|
+
topicKey: string;
|
|
53
|
+
}
|
|
54
|
+
export interface ListProps {
|
|
55
|
+
items: string[] | React.ReactNode[];
|
|
56
|
+
subItemPlacement?: number;
|
|
57
|
+
subItems?: string[] | React.ReactNode[];
|
|
58
|
+
listType?: 'ul' | 'ol';
|
|
59
|
+
}
|
|
60
|
+
export interface SectionTitleProps {
|
|
61
|
+
content: string;
|
|
62
|
+
sx?: SxProps;
|
|
63
|
+
}
|
|
64
|
+
export interface TextProps {
|
|
65
|
+
content: string | React.ReactNode;
|
|
66
|
+
sx?: SxProps;
|
|
67
|
+
}
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import { SettingsMenuContent } from '../../insights/settings/hiddeninsights/types';
|
|
2
1
|
import { CashflowCopy } from './localization/CashflowCopy';
|
|
3
2
|
export interface LocalizedContent {
|
|
4
|
-
insights_feed?: {
|
|
5
|
-
settings_menu: SettingsMenuContent;
|
|
6
|
-
};
|
|
7
3
|
cashflow?: CashflowCopy;
|
|
8
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Account } from '
|
|
1
|
+
import { Account } from './Account';
|
|
2
2
|
export type Notification = {
|
|
3
3
|
account: Account;
|
|
4
4
|
category_guid: string;
|
|
@@ -10,5 +10,42 @@ export type Notification = {
|
|
|
10
10
|
has_been_viewed: boolean;
|
|
11
11
|
in_app_icon: string;
|
|
12
12
|
merchant_guid: string;
|
|
13
|
-
notification_type:
|
|
13
|
+
notification_type: NotificationType;
|
|
14
14
|
};
|
|
15
|
+
export type NotificationProfile = {
|
|
16
|
+
email_channel: boolean;
|
|
17
|
+
entity_guid: string;
|
|
18
|
+
guid: string;
|
|
19
|
+
is_enabled: boolean;
|
|
20
|
+
notification_type: NotificationType;
|
|
21
|
+
push_channel: boolean;
|
|
22
|
+
sms_channel: boolean;
|
|
23
|
+
threshold?: number | null;
|
|
24
|
+
};
|
|
25
|
+
export declare enum NotificationType {
|
|
26
|
+
BudgetExceeded = 1,
|
|
27
|
+
BudgetOffTarget = 2,
|
|
28
|
+
DebtPaymentReminder = 3,
|
|
29
|
+
GuideMeStepComplete = 4,//deprecated: unused
|
|
30
|
+
GuideMeOffTarget = 5,//deprecated: unused
|
|
31
|
+
AccountBalanceLow = 6,
|
|
32
|
+
AccountDepositLarge = 7,
|
|
33
|
+
TransactionExpenseLarge = 8,
|
|
34
|
+
TransactionFeeCharge = 9,
|
|
35
|
+
SystemNotification = 10,//deprecated: unused
|
|
36
|
+
ApiNotification = 11,
|
|
37
|
+
UserSummary = 12,
|
|
38
|
+
Offer = 13,
|
|
39
|
+
PasswordResetToken = 14,
|
|
40
|
+
PasswordChanged = 15,
|
|
41
|
+
EmailVerification = 16,
|
|
42
|
+
EmailVerified = 17,
|
|
43
|
+
WelcomeNewUser = 18,
|
|
44
|
+
DeviceCreated = 19,
|
|
45
|
+
DeviceDeleted = 20,
|
|
46
|
+
SmsVerification = 21,
|
|
47
|
+
AccountNearingZero = 22,
|
|
48
|
+
InternationalTransaction = 23,
|
|
49
|
+
GoalProgress = 25,
|
|
50
|
+
DuplicatePayment = 29
|
|
51
|
+
}
|
|
@@ -2,6 +2,7 @@ export interface User {
|
|
|
2
2
|
guid: string;
|
|
3
3
|
birthday?: number | null;
|
|
4
4
|
client_guid?: string | null;
|
|
5
|
+
credit_score?: number | null;
|
|
5
6
|
email?: string | null;
|
|
6
7
|
email_is_verified: boolean;
|
|
7
8
|
external_guid?: string | null;
|
|
@@ -9,6 +10,7 @@ export interface User {
|
|
|
9
10
|
last_name?: string | null;
|
|
10
11
|
phone?: string | null;
|
|
11
12
|
phone_is_verified: boolean;
|
|
13
|
+
postal_code?: string | null;
|
|
12
14
|
}
|
|
13
15
|
export interface UserProfile {
|
|
14
16
|
guid: string;
|
|
@@ -30,3 +32,37 @@ export interface UserProfile {
|
|
|
30
32
|
uses_detailed_notifications: boolean;
|
|
31
33
|
user_guid: string;
|
|
32
34
|
}
|
|
35
|
+
export interface UserFeature {
|
|
36
|
+
feature_guid: string;
|
|
37
|
+
feature_name: string;
|
|
38
|
+
guid: string;
|
|
39
|
+
is_enabled: boolean;
|
|
40
|
+
should_notify_user: boolean;
|
|
41
|
+
user_guid: string;
|
|
42
|
+
created_at: string;
|
|
43
|
+
updated_at: string;
|
|
44
|
+
}
|
|
45
|
+
export interface UserCommunicationProfile {
|
|
46
|
+
client_guid: string;
|
|
47
|
+
guid: string;
|
|
48
|
+
opted_out_of_all_notifications: boolean;
|
|
49
|
+
opted_out_of_email_notifications: boolean;
|
|
50
|
+
opted_out_of_push_notifications: boolean;
|
|
51
|
+
opted_out_of_sms_notifications: boolean;
|
|
52
|
+
status_code: number;
|
|
53
|
+
user_guid: string;
|
|
54
|
+
created_at: number;
|
|
55
|
+
updated_at?: number;
|
|
56
|
+
}
|
|
57
|
+
export interface Device {
|
|
58
|
+
guid: string;
|
|
59
|
+
device_type?: string | null;
|
|
60
|
+
make?: string | null;
|
|
61
|
+
model?: string | null;
|
|
62
|
+
name: string;
|
|
63
|
+
os_name?: string | null;
|
|
64
|
+
os_version?: string | null;
|
|
65
|
+
user_guid: string;
|
|
66
|
+
created_at: number;
|
|
67
|
+
synced_at?: number | null;
|
|
68
|
+
}
|