'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

// For App pixel extensions, we export these types for developers. Since `TrackingEvents` is defined within
// the `@shopify/consent-tracking-api` package, we now need to include it as a dependency in our WPM package.
// However, the NPM package for `@shopify/consent-tracking-api` is currently a private repo until they introduce
// versioning. So until they do that, we will manually define the TrackingEvents type here. We also disable the
// linting rules here because the Consent Tracking API names it in this way. When we transition back to the NPM package
// we do not want to show an external change in naming.

const TrackingEvents = {
  ANALYTICS_DECLINED: 'analyticsConsentDeclined',
  ANALYTICS_ACCEPTED: 'analyticsConsentAccepted',
  CONSENT_COLLECTED: 'visitorConsentCollected'
};

exports.TrackingEvents = TrackingEvents;
