@meetelise/chat 1.20.151 → 1.20.152

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.
@@ -171,19 +171,7 @@ export class PubnubChat extends LitElement {
171
171
  ["hidden"]: this.needsConsent(),
172
172
  })}
173
173
  >
174
- <li class="message-container disclaimer-message">
175
- <p class="disclaimer-inner">
176
- By interacting with this system, you consent to
177
- <a
178
- href="http://bit.ly/me_privacy_policy"
179
- target="_blank"
180
- rel="noopener noreferrer"
181
- >
182
- this privacy policy</a
183
- >, including being contacted by AI or a human & having your
184
- conversation recorded by a third party.
185
- </p>
186
- </li>
174
+ ${getChatDisclaimer(this.orgSlug ?? "")}
187
175
  ${this.building.welcomeMessage
188
176
  ? html` <li class="message-container ai-message">
189
177
  <p
@@ -265,11 +253,80 @@ export class PubnubChat extends LitElement {
265
253
  }
266
254
  }
267
255
 
256
+ const getChatDisclaimer = (orgSlug: string) => {
257
+ if (orgSlug === "avb") {
258
+ return html`
259
+ <li class="message-container disclaimer-message">
260
+ <p class="disclaimer-inner">
261
+ Chats may be recorded by us and our vendors.
262
+ </p>
263
+ </li>
264
+ `;
265
+ }
266
+ return html`<li class="message-container disclaimer-message">
267
+ <p class="disclaimer-inner">
268
+ By interacting with this system, you consent to
269
+ <a
270
+ href="http://bit.ly/me_privacy_policy"
271
+ target="_blank"
272
+ rel="noopener noreferrer"
273
+ >
274
+ this privacy policy</a
275
+ >, including being contacted by AI or a human & having your conversation
276
+ recorded by a third party.
277
+ </p>
278
+ </li>`;
279
+ };
280
+
268
281
  const getConsentPreChatDisclaimer = (
269
282
  orgSlug: string | null,
270
283
  privacyPolicyUrl: string,
271
284
  changeConsent: (hasConsent: boolean) => void
272
285
  ): TemplateResult => {
286
+ if (orgSlug === "avb") {
287
+ return html`
288
+ <div class="legal-confirmation-inner-container">
289
+ <div>${HeyThereEmoji}</div>
290
+ <div>
291
+ <span style="font-weight: 600">Confirm to continue</span>
292
+ <p>
293
+ By using this feature you accept our
294
+ <a
295
+ href="https://www.avaloncommunities.com/terms-of-use"
296
+ target="_blank"
297
+ rel="noopener noreferrer"
298
+ class="privacy-policy-link"
299
+ >Terms</a
300
+ >,
301
+ <a
302
+ href="https://www.avaloncommunities.com/privacy-policy"
303
+ target="_blank"
304
+ rel="noopener noreferrer"
305
+ class="privacy-policy-link"
306
+ >Privacy Policy</a
307
+ >,
308
+ <a
309
+ href="https://www.avaloncommunities.com/us-state-privacy-notice"
310
+ target="_blank"
311
+ rel="noopener noreferrer"
312
+ class="privacy-policy-link"
313
+ >U.S. State Privacy Notice</a
314
+ >, and that chats may use automated or AI responses from a bot and
315
+ may be recorded by us and our vendors.
316
+ </p>
317
+ </div>
318
+
319
+ <button
320
+ class="agreeButton"
321
+ @click=${() => {
322
+ changeConsent(true);
323
+ }}
324
+ >
325
+ I agree
326
+ </button>
327
+ </div>
328
+ `;
329
+ }
273
330
  if (orgSlug === "mill-creek") {
274
331
  return html`<div class="legal-confirmation-inner-container">
275
332
  <div>${HeyThereEmoji}</div>