@meetelise/chat 1.50.4 → 1.50.6
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/package.json
CHANGED
package/public/dist/index.js
CHANGED
|
@@ -794,20 +794,37 @@ var e={2:(e,t,n)=>{var i=n(2199),r=n(4664),o=n(5950);e.exports=function(e){retur
|
|
|
794
794
|
${a}
|
|
795
795
|
</p>
|
|
796
796
|
</li>
|
|
797
|
-
`:B``},Ai=e=>"amli"===e?"https://www.amli.com/privacy-policy":"http://bit.ly/me_privacy_policy",ki=({phoneNumberInput:e,emailInput:t,orgLegalName:n,orgSlug:i,country:r,clickingButtonText:o="send"})=>{const a=wi(r)?vi:"http://bit.ly/me_privacy_policy";return
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
797
|
+
`:B``},Ai=e=>"amli"===e?"https://www.amli.com/privacy-policy":"http://bit.ly/me_privacy_policy",ki=({phoneNumberInput:e,emailInput:t,orgLegalName:n,orgSlug:i,country:r,clickingButtonText:o="send"})=>{const a=wi(r)?vi:"http://bit.ly/me_privacy_policy";return(t||e)&&wi(r)?"schedule tour"===o?B` <div style=${Le(mi)}>
|
|
798
|
+
By providing your number and/or email address and clicking schedule
|
|
799
|
+
tour, you consent to receive recurring commercial electronic messages
|
|
800
|
+
and calls from or on behalf of ${n} at the provided number
|
|
801
|
+
and/or email address. Messages may be AI or human generated.
|
|
802
|
+
StdMsg&DataRatesMayApply. You consent to this
|
|
803
|
+
<a
|
|
804
|
+
style=${Le(yi)}
|
|
805
|
+
href=${a}
|
|
806
|
+
target="_blank"
|
|
807
|
+
rel="noopener noreferrer"
|
|
808
|
+
>privacy policy</a
|
|
809
|
+
>, including having your number, email address, and communications
|
|
810
|
+
recorded and used by our service provider EliseAI to generate responses
|
|
811
|
+
and improve their services. You may withdraw your consent at any time by
|
|
812
|
+
unsubscribing or contacting us.
|
|
813
|
+
</div>`:B` <div style=${Le(mi)}>
|
|
814
|
+
By providing your email address and/or number and clicking send, you
|
|
815
|
+
consent to receive recurring commercial electronic messages and calls from
|
|
816
|
+
or on behalf of ${n} at that email address and/or number.
|
|
817
|
+
Messages may be AI or human generated. You consent to this
|
|
802
818
|
<a
|
|
803
819
|
style=${Le(yi)}
|
|
804
820
|
href=${a}
|
|
805
821
|
target="_blank"
|
|
806
822
|
rel="noopener noreferrer"
|
|
807
823
|
>privacy policy</a
|
|
808
|
-
>, including having your number and communications
|
|
809
|
-
our service provider to generate responses
|
|
810
|
-
may withdraw your consent at any time by
|
|
824
|
+
>, including having your email address, number, and communications
|
|
825
|
+
recorded and used by our service provider EliseAI to generate responses
|
|
826
|
+
and improve their services. You may withdraw your consent at any time by
|
|
827
|
+
unsubscribing or contacting us.
|
|
811
828
|
</div>`:e&&"greystar"===i?B`<div style=${Le(mi)}>
|
|
812
829
|
By providing your phone number and clicking ${o}, you
|
|
813
830
|
consent to receive recurring marketing calls and voice and text messages
|
|
@@ -847,21 +864,6 @@ var e={2:(e,t,n)=>{var i=n(2199),r=n(4664),o=n(5950);e.exports=function(e){retur
|
|
|
847
864
|
>privacy policy</a
|
|
848
865
|
>, including having your number and communications recorded and used by a
|
|
849
866
|
third party.
|
|
850
|
-
</div>`:t&&wi(r)?B` <div style=${Le(mi)}>
|
|
851
|
-
By providing your email address and clicking ${o}, you
|
|
852
|
-
consent to receive recurring commercial electronic messages from or on
|
|
853
|
-
behalf of ${n} at that email address. Messages may be AI or
|
|
854
|
-
human generated. You consent to this
|
|
855
|
-
<a
|
|
856
|
-
style=${Le(yi)}
|
|
857
|
-
href=${a}
|
|
858
|
-
target="_blank"
|
|
859
|
-
rel="noopener noreferrer"
|
|
860
|
-
>privacy policy</a
|
|
861
|
-
>, including having your email address and communications recorded and
|
|
862
|
-
used by our service provider EliseAI to generate responses and improve
|
|
863
|
-
their services. You may withdraw your consent at any time by unsubscribing
|
|
864
|
-
or contacting us.
|
|
865
867
|
</div>`:t?B` <div style=${Le(mi)}>
|
|
866
868
|
By entering your email and clicking ${o}, you consent to
|
|
867
869
|
this
|
|
@@ -1326,6 +1328,10 @@ otherwise there's some empty space at the bottom of the button, which interferes
|
|
|
1326
1328
|
width: 100%;
|
|
1327
1329
|
margin-top: 16px;
|
|
1328
1330
|
}
|
|
1331
|
+
.center-tour-not-avail > .general-building-tour-notice {
|
|
1332
|
+
margin: 0;
|
|
1333
|
+
text-align: center;
|
|
1334
|
+
}
|
|
1329
1335
|
.loading-entire-tour-icon {
|
|
1330
1336
|
padding: 24px;
|
|
1331
1337
|
}
|
|
@@ -1633,8 +1639,12 @@ xmlns="http://www.w3.org/2000/svg"
|
|
|
1633
1639
|
<h1>Please select a building</h1>
|
|
1634
1640
|
<p>Choose a property to see available tours.</p>
|
|
1635
1641
|
${this.centralConvoBuildings.length>0?B`<div class="general-building-select">
|
|
1636
|
-
|
|
1637
|
-
|
|
1642
|
+
${this.buildingSelectMenu()}
|
|
1643
|
+
</div>
|
|
1644
|
+
${661===this.orgId?B`<p class="general-building-tour-notice">
|
|
1645
|
+
Please only schedule one tour and your agent will show you
|
|
1646
|
+
multiple buildings if needed.
|
|
1647
|
+
</p>`:""}`:""}
|
|
1638
1648
|
`);if(!this.shouldAllowScheduling&&!a)return this.renderCenteredCard(B`
|
|
1639
1649
|
<h1>Sorry, there are currently no tour availabilities</h1>
|
|
1640
1650
|
<p>Please check back again later</p>
|
|
@@ -871,7 +871,6 @@ export class TourScheduler extends LitElement {
|
|
|
871
871
|
unit: selectedUnit,
|
|
872
872
|
conversationTrackingId: this.leadSourceClient?.chatId ?? null,
|
|
873
873
|
});
|
|
874
|
-
|
|
875
874
|
const data = {
|
|
876
875
|
referrer: document.referrer,
|
|
877
876
|
email_address: this.email,
|
|
@@ -1647,8 +1646,14 @@ export class TourScheduler extends LitElement {
|
|
|
1647
1646
|
<p>Choose a property to see available tours.</p>
|
|
1648
1647
|
${this.centralConvoBuildings.length > 0
|
|
1649
1648
|
? html`<div class="general-building-select">
|
|
1650
|
-
|
|
1651
|
-
|
|
1649
|
+
${this.buildingSelectMenu()}
|
|
1650
|
+
</div>
|
|
1651
|
+
${this.orgId === 661
|
|
1652
|
+
? html`<p class="general-building-tour-notice">
|
|
1653
|
+
Please only schedule one tour and your agent will show you
|
|
1654
|
+
multiple buildings if needed.
|
|
1655
|
+
</p>`
|
|
1656
|
+
: ""}`
|
|
1652
1657
|
: ""}
|
|
1653
1658
|
`);
|
|
1654
1659
|
}
|
|
@@ -445,6 +445,10 @@ otherwise there's some empty space at the bottom of the button, which interferes
|
|
|
445
445
|
width: 100%;
|
|
446
446
|
margin-top: 16px;
|
|
447
447
|
}
|
|
448
|
+
.center-tour-not-avail > .general-building-tour-notice {
|
|
449
|
+
margin: 0;
|
|
450
|
+
text-align: center;
|
|
451
|
+
}
|
|
448
452
|
.loading-entire-tour-icon {
|
|
449
453
|
padding: 24px;
|
|
450
454
|
}
|
package/src/disclaimers.ts
CHANGED
|
@@ -45,21 +45,42 @@ const formDisclaimer = ({
|
|
|
45
45
|
? CANADA_PRIVACY_POLICY_URL
|
|
46
46
|
: "http://bit.ly/me_privacy_policy";
|
|
47
47
|
|
|
48
|
-
if (phoneNumberInput && isCanadianBuilding(country)) {
|
|
48
|
+
if ((emailInput || phoneNumberInput) && isCanadianBuilding(country)) {
|
|
49
|
+
if (clickingButtonText === "schedule tour") {
|
|
50
|
+
return html` <div style=${styleMap(disclaimerStyles.container)}>
|
|
51
|
+
By providing your number and/or email address and clicking schedule
|
|
52
|
+
tour, you consent to receive recurring commercial electronic messages
|
|
53
|
+
and calls from or on behalf of ${orgLegalName} at the provided number
|
|
54
|
+
and/or email address. Messages may be AI or human generated.
|
|
55
|
+
StdMsg&DataRatesMayApply. You consent to this
|
|
56
|
+
<a
|
|
57
|
+
style=${styleMap(disclaimerStyles.link)}
|
|
58
|
+
href=${policyUrl}
|
|
59
|
+
target="_blank"
|
|
60
|
+
rel="noopener noreferrer"
|
|
61
|
+
>privacy policy</a
|
|
62
|
+
>, including having your number, email address, and communications
|
|
63
|
+
recorded and used by our service provider EliseAI to generate responses
|
|
64
|
+
and improve their services. You may withdraw your consent at any time by
|
|
65
|
+
unsubscribing or contacting us.
|
|
66
|
+
</div>`;
|
|
67
|
+
}
|
|
68
|
+
|
|
49
69
|
return html` <div style=${styleMap(disclaimerStyles.container)}>
|
|
50
|
-
By providing your number and clicking
|
|
51
|
-
to receive recurring commercial electronic messages
|
|
52
|
-
${orgLegalName} at
|
|
53
|
-
|
|
70
|
+
By providing your email address and/or number and clicking send, you
|
|
71
|
+
consent to receive recurring commercial electronic messages and calls from
|
|
72
|
+
or on behalf of ${orgLegalName} at that email address and/or number.
|
|
73
|
+
Messages may be AI or human generated. You consent to this
|
|
54
74
|
<a
|
|
55
75
|
style=${styleMap(disclaimerStyles.link)}
|
|
56
76
|
href=${policyUrl}
|
|
57
77
|
target="_blank"
|
|
58
78
|
rel="noopener noreferrer"
|
|
59
79
|
>privacy policy</a
|
|
60
|
-
>, including having your number and communications
|
|
61
|
-
our service provider to generate responses
|
|
62
|
-
may withdraw your consent at any time by
|
|
80
|
+
>, including having your email address, number, and communications
|
|
81
|
+
recorded and used by our service provider EliseAI to generate responses
|
|
82
|
+
and improve their services. You may withdraw your consent at any time by
|
|
83
|
+
unsubscribing or contacting us.
|
|
63
84
|
</div>`;
|
|
64
85
|
}
|
|
65
86
|
|
|
@@ -108,24 +129,6 @@ const formDisclaimer = ({
|
|
|
108
129
|
third party.
|
|
109
130
|
</div>`;
|
|
110
131
|
}
|
|
111
|
-
if (emailInput && isCanadianBuilding(country)) {
|
|
112
|
-
return html` <div style=${styleMap(disclaimerStyles.container)}>
|
|
113
|
-
By providing your email address and clicking ${clickingButtonText}, you
|
|
114
|
-
consent to receive recurring commercial electronic messages from or on
|
|
115
|
-
behalf of ${orgLegalName} at that email address. Messages may be AI or
|
|
116
|
-
human generated. You consent to this
|
|
117
|
-
<a
|
|
118
|
-
style=${styleMap(disclaimerStyles.link)}
|
|
119
|
-
href=${policyUrl}
|
|
120
|
-
target="_blank"
|
|
121
|
-
rel="noopener noreferrer"
|
|
122
|
-
>privacy policy</a
|
|
123
|
-
>, including having your email address and communications recorded and
|
|
124
|
-
used by our service provider EliseAI to generate responses and improve
|
|
125
|
-
their services. You may withdraw your consent at any time by unsubscribing
|
|
126
|
-
or contacting us.
|
|
127
|
-
</div>`;
|
|
128
|
-
}
|
|
129
132
|
if (emailInput) {
|
|
130
133
|
return html` <div style=${styleMap(disclaimerStyles.container)}>
|
|
131
134
|
By entering your email and clicking ${clickingButtonText}, you consent to
|