"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TelemetryErrorType = exports.TELEMETRY_BACKEND = exports.TELEMETRY_CONFIG = void 0;
exports.TELEMETRY_CONFIG = {
    BATCH_FLUSH_INTERVAL: 5000,
    EVENT_QUEUE_THRESHOLD: 10,
    WORKFLOW_QUEUE_THRESHOLD: 5,
    MAX_RETRIES: 3,
    RETRY_DELAY: 1000,
    OPERATION_TIMEOUT: 5000,
    RATE_LIMIT_WINDOW: 60000,
    RATE_LIMIT_MAX_EVENTS: 100,
    MAX_QUEUE_SIZE: 1000,
    MAX_BATCH_SIZE: 50,
};
exports.TELEMETRY_BACKEND = {
    URL: 'https://ydyufsohxdfpopqbubwk.supabase.co',
    ANON_KEY: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InlkeXVmc29oeGRmcG9wcWJ1YndrIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NTg3OTYyMDAsImV4cCI6MjA3NDM3MjIwMH0.xESphg6h5ozaDsm4Vla3QnDJGc6Nc_cpfoqTHRynkCk'
};
var TelemetryErrorType;
(function (TelemetryErrorType) {
    TelemetryErrorType["VALIDATION_ERROR"] = "VALIDATION_ERROR";
    TelemetryErrorType["NETWORK_ERROR"] = "NETWORK_ERROR";
    TelemetryErrorType["RATE_LIMIT_ERROR"] = "RATE_LIMIT_ERROR";
    TelemetryErrorType["QUEUE_OVERFLOW_ERROR"] = "QUEUE_OVERFLOW_ERROR";
    TelemetryErrorType["INITIALIZATION_ERROR"] = "INITIALIZATION_ERROR";
    TelemetryErrorType["UNKNOWN_ERROR"] = "UNKNOWN_ERROR";
})(TelemetryErrorType || (exports.TelemetryErrorType = TelemetryErrorType = {}));
//# sourceMappingURL=telemetry-types.js.map