@hivegpt/hiveai-angular 0.0.351 → 0.0.352

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.
@@ -267,6 +267,7 @@ class ChatDrawerComponent {
267
267
  this.connectWithUser = new EventEmitter();
268
268
  this.scheduleMeeting = new EventEmitter();
269
269
  this.refreshToken = new EventEmitter();
270
+ this.openSupport = new EventEmitter();
270
271
  this.autogenKey = 'Autogen_eDJTtEU-NB0RtIpzq1w';
271
272
  this.addToMyAgendaAction = 'add_to_my_agenda';
272
273
  this.myUpcomingSessionAction = 'my_upcomming_session';
@@ -602,6 +603,9 @@ class ChatDrawerComponent {
602
603
  return of(null);
603
604
  }));
604
605
  }
606
+ triggerSupport() {
607
+ this.openSupport.emit();
608
+ }
605
609
  fetchBotConfig() {
606
610
  this.loading = true;
607
611
  const headers = new HttpHeaders({
@@ -618,7 +622,11 @@ class ChatDrawerComponent {
618
622
  this.greetingMsg = res.Greeting;
619
623
  this.thumbsDownMessages = ((_a = res === null || res === void 0 ? void 0 : res.NegativeResponses) === null || _a === void 0 ? void 0 : _a.length) ? res.NegativeResponses
620
624
  : [
621
- "We are sorry we've not been able to answer your question.<br/> However, our dedicated support team is happy to help. <span class='feedback-link' style='cursor: pointer; text-decoration: underline; font-weight: 700; color: #17235B;'><a href='mailto:support@social27.com' style='color: inherit; text-decoration: none;'>Please click here</a></span> and a human agent will assist you as soon as possible",
625
+ `We are sorry we've not been able to answer your question.<br/>
626
+ However, our dedicated support team is happy to help.
627
+ <span class='feedback-link' style='cursor: pointer; text-decoration: underline; font-weight: 700; color: #17235B;'>
628
+ <a style='color: inherit; text-decoration: none;' onclick="triggerSupport()">Please click here</a>
629
+ </span> and a human agent will assist you as soon as possible`,
622
630
  ];
623
631
  this.quickPrompts = res.QuickPrompts;
624
632
  this.cdr.markForCheck();
@@ -1941,7 +1949,8 @@ ChatDrawerComponent.propDecorators = {
1941
1949
  closeBot: [{ type: Output }],
1942
1950
  connectWithUser: [{ type: Output }],
1943
1951
  scheduleMeeting: [{ type: Output }],
1944
- refreshToken: [{ type: Output }]
1952
+ refreshToken: [{ type: Output }],
1953
+ openSupport: [{ type: Output }]
1945
1954
  };
1946
1955
 
1947
1956
  class ChatBotComponent {