@mx-cartographer/experiences 6.9.3 → 6.9.5

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.
@@ -15,4 +15,5 @@ export declare class SettingsApi {
15
15
  updateDevice: (device: Device) => Promise<any>;
16
16
  updateNotificationProfile: (notificationProfile: NotificationProfile) => Promise<any>;
17
17
  updateUserCommunicationProfile: (userCommunicationProfile: UserCommunicationProfile) => Promise<any>;
18
+ getInsightsNotificationProfiles: () => Promise<any>;
18
19
  }
@@ -0,0 +1,2 @@
1
+ import { default as React } from 'react';
2
+ export declare const InsightsNotificationTypes: React.FC;
@@ -1,5 +1,7 @@
1
+ import { InsightNotificationType } from '../../common/types/Notification';
1
2
  export declare enum DialogType {
2
3
  Delete = "delete",
3
4
  Edit = "edit",
4
5
  Token = "token"
5
6
  }
7
+ export declare const InsightNotificationAllowedTypes: Set<InsightNotificationType>;
@@ -1,5 +1,5 @@
1
1
  import { AlertProps } from '@mui/material';
2
- import { Device, NotificationProfile, User, GlobalStore, SettingsCopy, TransactionRule, DetailedNotificationProfile, UserCommunicationProfile } from '../../common';
2
+ import { GlobalStore, SettingsCopy, TransactionRule, DetailedNotificationProfile, DetailedInsightsNotificationProfile, Device, NotificationProfile, InsightsNotificationProfile, User, UserCommunicationProfile } from '../../common';
3
3
  import { SettingsApi } from '../api/SettingsApi';
4
4
  import { TransactionApi } from '../../transactions';
5
5
  interface SettingsAlertProps {
@@ -13,14 +13,17 @@ export declare class SettingsStore {
13
13
  alert: SettingsAlertProps;
14
14
  devices: Device[];
15
15
  notificationProfiles: NotificationProfile[];
16
+ insightsNotificationProfiles: InsightsNotificationProfile[];
16
17
  selectedRule: TransactionRule | undefined;
17
18
  transactionRules: TransactionRule[];
18
19
  constructor(globalStore: GlobalStore);
19
20
  get accountProfiles(): DetailedNotificationProfile[];
20
21
  get budgetProfiles(): DetailedNotificationProfile[];
22
+ get insightsNotificationTypes(): DetailedInsightsNotificationProfile[];
21
23
  get clientCommunicationProfile(): import('../../common').ClientCommunicationProfile;
22
24
  get copy(): SettingsCopy;
23
25
  get detailedNotificationProfiles(): DetailedNotificationProfile[];
26
+ get detailedInsightsNotificationProfiles(): DetailedInsightsNotificationProfile[];
24
27
  get userCommunicationsProfile(): UserCommunicationProfile;
25
28
  deleteDevice: (guid: string) => Promise<{
26
29
  success: boolean;
@@ -29,6 +32,7 @@ export declare class SettingsStore {
29
32
  generateDeviceToken: () => Promise<any>;
30
33
  loadDevices: () => Promise<void>;
31
34
  loadNotificationProfiles: () => Promise<void>;
35
+ loadInsightsNotificationProfiles: () => Promise<void>;
32
36
  loadTransactionRules: () => Promise<void>;
33
37
  sendEmailVerification: () => Promise<void>;
34
38
  sendPhoneVerification: () => Promise<void>;
@@ -41,6 +45,7 @@ export declare class SettingsStore {
41
45
  success: boolean;
42
46
  }>;
43
47
  updateNotificationProfile: (profile: NotificationProfile) => Promise<void>;
48
+ updateInsightsNotificationProfile: (profile: InsightsNotificationProfile) => Promise<void>;
44
49
  updateRuleCategory: (rule: TransactionRule) => Promise<void>;
45
50
  updateRulePayee: (rule: TransactionRule) => Promise<void>;
46
51
  updateUser: (user: User) => Promise<void>;
@@ -1,2 +1,3 @@
1
1
  import { Account, ClientCommunicationProfile, DetailedNotificationProfile, NotificationProfile, SettingsCopy, UserCommunicationProfile } from '../../common';
2
- export declare const augmentNotificationProfiles: (accounts: Account[], clientCommunicationsProfile: ClientCommunicationProfile, copy: SettingsCopy, profiles: NotificationProfile[], userCommunicationsProfile: UserCommunicationProfile) => DetailedNotificationProfile[];
2
+ import { InsightsNotificationProfile } from '../../common/types/Notification';
3
+ export declare const augmentNotificationProfiles: (accounts: Account[], clientCommunicationsProfile: ClientCommunicationProfile, copy: SettingsCopy, profiles: NotificationProfile[] | InsightsNotificationProfile[], userCommunicationsProfile: UserCommunicationProfile, isForInsightsNotifications?: boolean) => DetailedNotificationProfile[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "6.9.3",
3
+ "version": "6.9.5",
4
4
  "description": "Library containing experience widgets",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",