@livetiles/reach-plugin-types 0.4.0-preview.29 → 0.4.0-preview.32

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +12 -30
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -38,12 +38,10 @@ declare module "libs/shared/util/common/src/JwtHelper" {
38
38
  declare module "libs/shared/util/common/src/redirect" {
39
39
  export function redirectWithReload(redirectUrl: string): void;
40
40
  }
41
- declare module "libs/shared/util/environment/src/IntercomConfig" {
42
- export interface IntercomConfig {
43
- appId: string;
41
+ declare module "libs/shared/util/environment/src/ZendeskConfig" {
42
+ export interface ZendeskConfig {
43
+ apiKey: string;
44
44
  enable: boolean;
45
- productId: string;
46
- unauthenticatedProductId: string;
47
45
  }
48
46
  }
49
47
  declare module "libs/shared/util/authentication/src/AuthenticationType" {
@@ -216,7 +214,7 @@ declare module "libs/shared/util/environment/src/MsalConfiguration" {
216
214
  }
217
215
  }
218
216
  declare module "libs/shared/util/environment/src/AppConfiguration" {
219
- import { IntercomConfig } from "libs/shared/util/environment/src/IntercomConfig";
217
+ import { ZendeskConfig } from "libs/shared/util/environment/src/ZendeskConfig";
220
218
  import { AuthenticationType } from "libs/shared/util/authentication/src/index";
221
219
  import { KeycloakConfiguration } from "libs/shared/util/environment/src/KeycloakConfiguration";
222
220
  import { MsalConfiguration } from "libs/shared/util/environment/src/MsalConfiguration";
@@ -260,7 +258,7 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
260
258
  resource: string;
261
259
  };
262
260
  };
263
- intercom: IntercomConfig;
261
+ zendeskMessaging: ZendeskConfig;
264
262
  singleSubscriptionMode: boolean;
265
263
  oneSignal?: {
266
264
  appId: string;
@@ -5206,6 +5204,7 @@ declare module "libs/shared/util/authentication-services/src/msal/WebMsalService
5206
5204
  getCurrentEmailInternal(): Promise<string>;
5207
5205
  private tryGetMsalV1Token;
5208
5206
  private removeMsalV1IdToken;
5207
+ private tryGetGuestTenantId;
5209
5208
  private handleAuthClientCallback;
5210
5209
  private handleAuthClientErrorCallback;
5211
5210
  private ensureAuthority;
@@ -9841,18 +9840,6 @@ declare module "apps/reach-app/src/app/admin/users/self-registration/SelfRegistr
9841
9840
  import { FC } from 'react';
9842
9841
  export const SelfRegistrationSettingsPage: FC;
9843
9842
  }
9844
- declare module "apps/reach-app/src/app/Intercom/Intercom" {
9845
- export interface Intercom {
9846
- (action: string, settings?: IntercomSettings): void;
9847
- }
9848
- export interface IntercomSettings {
9849
- app_id: string;
9850
- product_id: string;
9851
- name?: string;
9852
- email?: string;
9853
- }
9854
- export function create(settings: IntercomSettings): Intercom;
9855
- }
9856
9843
  declare module "apps/reach-app/src/app/AppLoader" {
9857
9844
  import { FC } from 'react';
9858
9845
  export const AppLoader: FC;
@@ -9898,21 +9885,16 @@ declare module "apps/reach-app/src/app/teams/TeamsContext" {
9898
9885
  }>;
9899
9886
  export const TeamsContextProvider: FC;
9900
9887
  }
9901
- declare module "apps/reach-app/src/app/Intercom/useIntercom" {
9902
- export enum IntercomArea {
9903
- Authenticated = 0,
9904
- UnAuthenticated = 1
9905
- }
9906
- export enum IntercomInitialState {
9888
+ declare module "apps/reach-app/src/app/Zendesk/useZendesk" {
9889
+ export enum ZendeskInitialState {
9907
9890
  Minimized = 0,
9908
9891
  MobileHidden = 1
9909
9892
  }
9910
- export function shutdownIntercom(): void;
9911
- export interface IntercomProps {
9912
- showChat: () => void;
9893
+ export function shutdownZendesk(): void;
9894
+ export function useZendesk(initialState?: ZendeskInitialState): {
9895
+ showZendeskChat: () => void;
9913
9896
  toggleIcon: (show: boolean) => void;
9914
- }
9915
- export function useIntercom(area: IntercomArea, initialState?: IntercomInitialState): IntercomProps;
9897
+ };
9916
9898
  }
9917
9899
  declare module "apps/reach-app/src/app/admin/terms-and-conditions/TermsAndConditionsPage" {
9918
9900
  import { FC } from 'react';
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.4.0-preview.29",
7
+ "version": "0.4.0-preview.32",
8
8
  "dependencies": {}
9
9
  }