@meetelise/chat 1.52.0 → 1.53.0

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.
@@ -58,6 +58,7 @@ export declare class TourScheduler extends LitElement {
58
58
  leadSources: string[];
59
59
  orgLegalName: string;
60
60
  country: string | null;
61
+ buildingState: string | null;
61
62
  currentLeadSource: string;
62
63
  featureFlagShowDropdown: string;
63
64
  compactDesign: boolean;
@@ -15,6 +15,7 @@ export declare class CallUsWindow extends LitElement {
15
15
  currentLeadSource: string;
16
16
  orgLegalName: string;
17
17
  country: string | null;
18
+ buildingState: string | null;
18
19
  private leadSourceClient;
19
20
  private leadSourceMultitouchClient;
20
21
  phoneNumberInputRef: Ref<HTMLInputElement>;
@@ -14,6 +14,7 @@ export declare class EmailUsWindow extends LitElement {
14
14
  buildingName: string;
15
15
  orgLegalName: string;
16
16
  country: string | null;
17
+ buildingState: string | null;
17
18
  private leadSourceClient;
18
19
  private leadSourceMultitouchClient;
19
20
  featureFlagShowDropdown: string;
@@ -20,6 +20,7 @@ export declare class Launcher extends LitElement {
20
20
  chatId: string;
21
21
  orgLegalName: string;
22
22
  country: string | null;
23
+ buildingState: string | null;
23
24
  chatCallUsHeader: string;
24
25
  buildingId: number;
25
26
  orgId: number;
@@ -1,14 +1,18 @@
1
1
  import { TemplateResult } from "lit";
2
2
  export declare const CANADA_PRIVACY_POLICY_URL = "https://eliseai.com/canada-policy";
3
3
  export declare const isCanadianBuilding: (country: string | null | undefined) => boolean;
4
+ export declare const isQuebecBuilding: (state: string | null | undefined) => boolean;
5
+ declare type QuebecConsentForm = "emailUs" | "textUs" | "scheduleTour";
6
+ export declare const quebecConsentDisclaimer: (form: QuebecConsentForm, orgLegalName: string, hasPhoneNumber?: boolean) => TemplateResult;
4
7
  export declare const CURRENT_CONSENT_ID = "currentConsentId";
5
- declare const formDisclaimer: ({ phoneNumberInput, emailInput, orgLegalName, orgSlug, country, clickingButtonText, }: {
8
+ declare const formDisclaimer: ({ phoneNumberInput, emailInput, orgLegalName, orgSlug, country, buildingState, clickingButtonText, }: {
6
9
  buildingName: string;
7
10
  phoneNumberInput?: string | undefined;
8
11
  emailInput?: string | undefined;
9
12
  orgLegalName: string;
10
13
  orgSlug: string;
11
14
  country?: string | null | undefined;
15
+ buildingState?: string | null | undefined;
12
16
  clickingButtonText?: string | undefined;
13
17
  }) => TemplateResult;
14
18
  export declare const getConsentPreChatDisclaimer: (orgSlug: string | null, privacyPolicyUrl: string, consentKey: string, changeConsent: (hasConsent: boolean) => void, country?: string | null) => TemplateResult;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meetelise/chat",
3
- "version": "1.52.0",
3
+ "version": "1.53.0",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/MeetElise/chat-ui#readme",