@mx-cartographer/experiences 5.2.8-alpha.al9 → 5.2.8-alpha.mm2

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.
@@ -0,0 +1 @@
1
+ export declare const AccountBanner: () => "" | import("react/jsx-runtime").JSX.Element | undefined;
@@ -1,10 +1,12 @@
1
- import { Account, GlobalStore, Institution, Member } from '../../common';
1
+ import { Account, BannerApi, CampaignBanner, GlobalStore, Institution, Member } from '../../common';
2
2
  import { AccountApi } from '../api/AccountApi';
3
3
  import { UiStore } from './UiStore';
4
4
  export declare class AccountStore {
5
5
  api: AccountApi;
6
+ bannerApi: BannerApi;
6
7
  globalStore: GlobalStore;
7
8
  accounts: Account[];
9
+ banner: CampaignBanner;
8
10
  institutions: Institution[];
9
11
  members: Member[];
10
12
  uiStore: UiStore;
@@ -19,6 +21,7 @@ export declare class AccountStore {
19
21
  addAccount: (account: Account) => Promise<void>;
20
22
  augmentAccounts: (accounts?: Account[]) => Account[];
21
23
  loadAccounts: () => Promise<void>;
24
+ loadBanner: () => Promise<void>;
22
25
  loadInstitutions: () => Promise<void>;
23
26
  loadMembers: () => Promise<void>;
24
27
  mergeAccounts: (accountGuids: string[]) => Promise<void>;
@@ -0,0 +1,6 @@
1
+ import { default as Fetch } from '../utils/Fetch';
2
+ export declare class BannerApi {
3
+ fetchInstance: Fetch;
4
+ constructor();
5
+ requestCampaignBanner: (userGuid: string) => Promise<any>;
6
+ }
@@ -1,4 +1,5 @@
1
1
  export { AnalyticsApi } from './AnalyticsApi';
2
+ export { BannerApi } from './BannerApi';
2
3
  export { BeatApi } from './BeatApi';
3
4
  export { CategoryApi } from './CategoryApi';
4
5
  export { GlobalCopyApi } from './GlobalCopyApi';
@@ -67,6 +67,10 @@ export interface Account {
67
67
  truncatedDisplayName?: string;
68
68
  institutionName?: string;
69
69
  }
70
+ export interface CampaignBanner {
71
+ image_url?: string;
72
+ redirect_url?: string;
73
+ }
70
74
  export interface DetailedAccount extends Account {
71
75
  institution_name: string;
72
76
  isEnabled: boolean;
@@ -1,4 +1,4 @@
1
- export type { Account, DetailedAccount, Member, MonthlyAccountBalance } from './Account';
1
+ export type { Account, CampaignBanner, 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
3
  export { type Activity, ActivityStatus, ActivityType } from './Activity';
4
4
  export type { AnalyticsEvent, AnalyticsPageview, BasicAnalyticsEvent, BasicAnalyticsPageview, AnalyticsSession, AnalyticEventFunction, AnalyticPageviewFunction, } from './Analytics';