@mx-cartographer/experiences 5.0.9-alpha-networth → 5.0.10-alpha.mega2

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.
@@ -1,8 +1,10 @@
1
+ import { default as React } from 'react';
1
2
  import { HelpCopy } from '../common';
2
3
  interface ContactSupportProps {
3
4
  copy: HelpCopy;
4
5
  isOpen: boolean;
5
6
  onClose: () => void;
7
+ onSubmit: (message: string) => void;
6
8
  }
7
9
  export declare const ContactSupport: React.FC<ContactSupportProps>;
8
10
  export {};
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ import { Device } from '../../../common/types';
3
+ interface DeviceDialogProps {
4
+ dialogType: string;
5
+ isOpen: boolean;
6
+ onClose: () => void;
7
+ device?: Device;
8
+ deviceToken?: string;
9
+ }
10
+ declare const _default: React.FunctionComponent<DeviceDialogProps>;
11
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ import { Device } from '../../../common/types';
3
+ interface DeviceListProps {
4
+ devices: Device[];
5
+ onClickDeviceEdit: (device: Device) => void;
6
+ onClickDeviceDelete: (device: Device) => void;
7
+ }
8
+ export declare const DeviceList: React.FC<DeviceListProps>;
9
+ export default DeviceList;
@@ -0,0 +1,4 @@
1
+ export declare const DeviceTab: (() => import("react/jsx-runtime").JSX.Element) & {
2
+ displayName: string;
3
+ };
4
+ export default DeviceTab;
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ import { Device } from '../../../common/types';
3
+ interface DeviceTableProps {
4
+ devices: Device[];
5
+ onClickDeviceEdit: (device: Device) => void;
6
+ onClickDeviceDelete: (device: Device) => void;
7
+ }
8
+ export declare const DeviceTable: React.FC<DeviceTableProps>;
9
+ export default DeviceTable;
@@ -0,0 +1,7 @@
1
+ export declare enum DialogType {
2
+ Delete = "delete",
3
+ Edit = "edit",
4
+ Email = "email",
5
+ Phone = "phone",
6
+ Token = "token"
7
+ }
@@ -18,7 +18,9 @@ export declare class SettingsStore {
18
18
  get copy(): SettingsCopy;
19
19
  loadDevices: () => Promise<void>;
20
20
  loadNotificationProfiles: () => Promise<void>;
21
- deleteDevice: (guid: string) => Promise<void>;
21
+ deleteDevice: (guid: string) => Promise<{
22
+ success: boolean;
23
+ }>;
22
24
  generateDeviceToken: () => Promise<any>;
23
25
  sendEmailVerification: () => Promise<{
24
26
  success: boolean;
@@ -30,7 +32,9 @@ export declare class SettingsStore {
30
32
  message: string;
31
33
  severity: import('@mui/types').OverridableStringUnion<import('@mui/material').AlertColor, import('@mui/material').AlertPropsColorOverrides> | undefined;
32
34
  };
33
- updateDevice: (device: Device) => Promise<void>;
35
+ updateDevice: (device: Device) => Promise<{
36
+ success: boolean;
37
+ }>;
34
38
  updateNotificationProfile: (profile: NotificationProfile) => Promise<void>;
35
39
  updateUser: (user: User) => Promise<void>;
36
40
  verifyPhoneToken: (sms_verification_token: string) => Promise<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "5.0.9-alpha-networth",
3
+ "version": "5.0.10-alpha.mega2",
4
4
  "description": "Library containing experience widgets",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",