@livetiles/reach-plugin-types 0.4.0-preview.199 → 0.4.0-preview.202
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.
- package/lib/index.d.ts +6 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1134,6 +1134,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1134
1134
|
theme?: Theme;
|
|
1135
1135
|
allowPublicAccess?: boolean;
|
|
1136
1136
|
redirectToContent?: boolean;
|
|
1137
|
+
allowZendesk?: boolean;
|
|
1137
1138
|
}
|
|
1138
1139
|
export interface SignInSettings {
|
|
1139
1140
|
customIdentityProviders: IdentityProviderSettings[];
|
|
@@ -9854,7 +9855,11 @@ declare module "apps/reach-app/src/app/Zendesk/useZendesk" {
|
|
|
9854
9855
|
MobileHidden = 1
|
|
9855
9856
|
}
|
|
9856
9857
|
export function shutdownZendesk(): void;
|
|
9857
|
-
export function
|
|
9858
|
+
export function useZendeskWithSubscription(): {
|
|
9859
|
+
showZendeskChat: () => void;
|
|
9860
|
+
toggleIcon: (show: boolean) => void;
|
|
9861
|
+
};
|
|
9862
|
+
export function useZendesk(showZendesk?: boolean, initialState?: ZendeskInitialState): {
|
|
9858
9863
|
showZendeskChat: () => void;
|
|
9859
9864
|
toggleIcon: (show: boolean) => void;
|
|
9860
9865
|
};
|