@meetelise/chat 1.43.7 → 1.43.9
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/dist/src/WebComponent/pubnub-chat.d.ts +2 -2
- package/dist/src/disclaimers.d.ts +2 -1
- package/dist/src/fetchBuildingWebchatView.d.ts +1 -0
- package/package.json +1 -1
- package/public/dist/index.js +228 -219
- package/src/WebComponent/leasing-chat-styles.ts +7 -0
- package/src/WebComponent/pubnub-chat.ts +4 -2
- package/src/disclaimers.ts +14 -3
- package/src/fetchBuildingWebchatView.ts +1 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { LitElement, TemplateResult } from "lit";
|
|
2
|
-
import { Building } from "../fetchBuildingInfo";
|
|
3
2
|
import MyPubnub, { SimpleChatMessage } from "../MyPubnub";
|
|
4
3
|
import "./pubnub-message";
|
|
5
4
|
import "./pubnub-media";
|
|
6
5
|
import { WidgetType } from "../main/MEChat";
|
|
6
|
+
import { BuildingWebchatView } from "../fetchBuildingWebchatView";
|
|
7
7
|
export declare class PubnubChat extends LitElement {
|
|
8
8
|
static styles: import("lit").CSSResult[];
|
|
9
9
|
private right;
|
|
@@ -17,7 +17,7 @@ export declare class PubnubChat extends LitElement {
|
|
|
17
17
|
orgSlug: string | undefined;
|
|
18
18
|
buildingSlug: string | undefined;
|
|
19
19
|
widgetType: WidgetType;
|
|
20
|
-
building:
|
|
20
|
+
building: BuildingWebchatView | undefined;
|
|
21
21
|
primaryColor: string;
|
|
22
22
|
backgroundColor: string;
|
|
23
23
|
onClickExit: () => void;
|
|
@@ -9,9 +9,10 @@ declare const formDisclaimer: ({ phoneNumberInput, emailInput, orgLegalName, org
|
|
|
9
9
|
clickingButtonText?: string | undefined;
|
|
10
10
|
}) => TemplateResult;
|
|
11
11
|
export declare const getConsentPreChatDisclaimer: (orgSlug: string | null, privacyPolicyUrl: string, consentKey: string, changeConsent: (hasConsent: boolean) => void) => TemplateResult;
|
|
12
|
-
export declare const inChatThreadDisclaimer: ({ orgSlug, buildingState, type, }: {
|
|
12
|
+
export declare const inChatThreadDisclaimer: ({ orgSlug, buildingState, type, customAdditionalDisclaimer, }: {
|
|
13
13
|
orgSlug: string;
|
|
14
14
|
buildingState: string | null;
|
|
15
15
|
type: "healthcare" | "utilities" | "leasing";
|
|
16
|
+
customAdditionalDisclaimer?: string | null | undefined;
|
|
16
17
|
}) => TemplateResult;
|
|
17
18
|
export default formDisclaimer;
|
|
@@ -116,6 +116,7 @@ export interface BuildingWebchatView {
|
|
|
116
116
|
featureFlagWebchatUseDniPhoneNumberBySource: boolean;
|
|
117
117
|
featureFlagInsertDniIntoWebsite: boolean;
|
|
118
118
|
featureFlagWebchatReplaceAnyScheduleTourCtaWebsite: boolean;
|
|
119
|
+
customAdditionalDisclaimer: string | null;
|
|
119
120
|
}
|
|
120
121
|
/**
|
|
121
122
|
* Load the publicly-available info for a building.
|