/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the Source EULA. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

import AdsTelemetryReporter from '@microsoft/ads-extension-telemetry';

import * as Utils from './utils';

const packageJson = require('../package.json');

let packageInfo = Utils.getPackageInfo(packageJson);

export const TelemetryReporter = new AdsTelemetryReporter<TelemetryViews>(packageInfo.name, packageInfo.version, packageInfo.aiKey);

export enum TelemetryViews {
	SsmsMinProperties = 'SsmsMinProperties',
	SsmsMinGsw = 'SsmsMinGsw',
	SsmsMinDialog = 'SsmsMinDialog'
}
