coveo.analytics 2.28.5 → 2.28.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.
@@ -728,7 +728,7 @@
728
728
  const v5 = v35('v5', 0x50, sha1);
729
729
  var uuidv5 = v5;
730
730
 
731
- var libVersion = "2.28.5" ;
731
+ var libVersion = "2.28.6" ;
732
732
 
733
733
  var getFormattedLocation = function (location) {
734
734
  return "".concat(location.protocol, "//").concat(location.hostname).concat(location.pathname.indexOf('/') === 0 ? location.pathname : "/".concat(location.pathname)).concat(location.search);
@@ -2715,6 +2715,8 @@
2715
2715
  SearchPageEvents["showMoreFoldedResults"] = "showMoreFoldedResults";
2716
2716
  SearchPageEvents["showLessFoldedResults"] = "showLessFoldedResults";
2717
2717
  SearchPageEvents["copyToClipboard"] = "copyToClipboard";
2718
+ SearchPageEvents["caseSendEmail"] = "Case.SendEmail";
2719
+ SearchPageEvents["feedItemTextPost"] = "FeedItem.TextPost";
2718
2720
  SearchPageEvents["caseAttach"] = "caseAttach";
2719
2721
  SearchPageEvents["caseDetach"] = "caseDetach";
2720
2722
  })(SearchPageEvents || (SearchPageEvents = {}));
@@ -4325,6 +4327,12 @@
4325
4327
  CoveoInsightClient.prototype.logCopyToClipboard = function (info, identifier, metadata) {
4326
4328
  return this.logClickEvent(SearchPageEvents.copyToClipboard, info, identifier, metadata ? generateMetadataToSend(metadata, false) : undefined);
4327
4329
  };
4330
+ CoveoInsightClient.prototype.logCaseSendEmail = function (info, identifier, metadata) {
4331
+ return this.logClickEvent(SearchPageEvents.caseSendEmail, info, identifier, metadata ? generateMetadataToSend(metadata, false) : undefined);
4332
+ };
4333
+ CoveoInsightClient.prototype.logFeedItemTextPost = function (info, identifier, metadata) {
4334
+ return this.logClickEvent(SearchPageEvents.feedItemTextPost, info, identifier, metadata ? generateMetadataToSend(metadata, false) : undefined);
4335
+ };
4328
4336
  CoveoInsightClient.prototype.logDocumentQuickview = function (info, identifier, caseMetadata) {
4329
4337
  var metadata = {
4330
4338
  documentTitle: info.documentTitle,