"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ANALYTICS_SNOWPLOW_SCHEMA_VENDOR = exports.ANALYTICS_METHODS = exports.ANALYTICS_INTERNAL_EVENTS = exports.ANALYTICS_EVENTS = exports.ANALYTICS_CONTEXTS = void 0;
/**
 * Possible types of event that used AnalyticsService.track method
 */
const ANALYTICS_EVENTS = exports.ANALYTICS_EVENTS = {
  ITEM_CLICK: 'item_click',
  ITEM_CHANGE: 'item_change',
  PAGE_VIEW: 'page_view',
  DIALOG_VIEW: 'dialog_view',
  TAB_VIEW: 'tab_view'
};
/**
 * Possible types of event that used AnalyticsService.trackInternal method
 */
const ANALYTICS_INTERNAL_EVENTS = exports.ANALYTICS_INTERNAL_EVENTS = {
  SESSION_START: 'session_start'
};
/**
 * Analytics contexts
 * @see https://github.com/datarobot/analytics/tree/master/infrastructure/iglu-server/iglu-schemas/schemas/com.datarobot.ui.contexts
 */
const ANALYTICS_CONTEXTS = exports.ANALYTICS_CONTEXTS = {
  VIEW: 'view',
  USER: 'user'
};
/**
 * Possible types of method that could triggered by AnalyticsService
 * to handle by AnalyticsProvider
 * @see AnalyticsProvider, AnalyticsService
 */
const ANALYTICS_METHODS = exports.ANALYTICS_METHODS = {
  TRACK: 'track',
  TRACK_INTERNAL: 'track_internal',
  VIEW: 'view',
  IDENTIFY: 'identify',
  CONTEXT: 'context',
  RESET: 'RESET'
};
/**
 * Prefixes for vendor value at snowplow schemas
 * @see https://github.com/snowplow/iglu/wiki/Self-describing-JSON-Schemas
 */
const ANALYTICS_SNOWPLOW_SCHEMA_VENDOR = exports.ANALYTICS_SNOWPLOW_SCHEMA_VENDOR = {
  INTERNAL_EVENTS: 'iglu:com.datarobot.ui.events',
  CONTEXTS: 'iglu:com.datarobot.ui.contexts'
};