@livetiles/reach-plugin-types 0.4.0-preview.30 → 0.4.0-preview.34

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 +14 -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;
@@ -9519,6 +9518,7 @@ declare module "libs/reach/feature/content/src/posts/PostReplies" {
9519
9518
  interface Props {
9520
9519
  className?: string;
9521
9520
  post: Post;
9521
+ initialPageSize?: number;
9522
9522
  comments?: PaginatedList<Comment>;
9523
9523
  autoFocusReplyField?: boolean;
9524
9524
  onReplyAdded: () => void;
@@ -9569,6 +9569,7 @@ declare module "libs/reach/feature/content/src/posts/PostDisplay" {
9569
9569
  threadId?: string;
9570
9570
  onCustomPostDelete?: () => void;
9571
9571
  comments?: PaginatedList<Comment>;
9572
+ initialCommentsPageSize?: number;
9572
9573
  onEditActiveChange?: (isEditMode: boolean) => void;
9573
9574
  onShowCommentsChange?: (showComments: boolean) => void;
9574
9575
  onThreadCommentDelete?: () => void;
@@ -9841,18 +9842,6 @@ declare module "apps/reach-app/src/app/admin/users/self-registration/SelfRegistr
9841
9842
  import { FC } from 'react';
9842
9843
  export const SelfRegistrationSettingsPage: FC;
9843
9844
  }
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
9845
  declare module "apps/reach-app/src/app/AppLoader" {
9857
9846
  import { FC } from 'react';
9858
9847
  export const AppLoader: FC;
@@ -9898,21 +9887,16 @@ declare module "apps/reach-app/src/app/teams/TeamsContext" {
9898
9887
  }>;
9899
9888
  export const TeamsContextProvider: FC;
9900
9889
  }
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 {
9890
+ declare module "apps/reach-app/src/app/Zendesk/useZendesk" {
9891
+ export enum ZendeskInitialState {
9907
9892
  Minimized = 0,
9908
9893
  MobileHidden = 1
9909
9894
  }
9910
- export function shutdownIntercom(): void;
9911
- export interface IntercomProps {
9912
- showChat: () => void;
9895
+ export function shutdownZendesk(): void;
9896
+ export function useZendesk(initialState?: ZendeskInitialState): {
9897
+ showZendeskChat: () => void;
9913
9898
  toggleIcon: (show: boolean) => void;
9914
- }
9915
- export function useIntercom(area: IntercomArea, initialState?: IntercomInitialState): IntercomProps;
9899
+ };
9916
9900
  }
9917
9901
  declare module "apps/reach-app/src/app/admin/terms-and-conditions/TermsAndConditionsPage" {
9918
9902
  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.30",
7
+ "version": "0.4.0-preview.34",
8
8
  "dependencies": {}
9
9
  }