/**
 * Copyright (c) 2020-present, Goldman Sachs
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
import { QUERY_BUILDER_EVENT, QUERY_BUILDER_FILTER_EVENT, QUERY_BUILDER_POST_FILTER_EVENT, } from './QueryBuilderEvent.js';
export class QueryBuilderTelemetryHelper {
    static logEvent_QueryRunLaunched(service) {
        service.logEvent(QUERY_BUILDER_EVENT.RUN_QUERY__LAUNCH, {});
    }
    static logEvent_ExportQueryDataLaunched(service) {
        service.logEvent(QUERY_BUILDER_EVENT.EXPORT_QUERY_DATA__LAUNCH, {});
    }
    static logEvent_ExecutionPlanGenerationLaunched(service) {
        service.logEvent(QUERY_BUILDER_EVENT.GENERATE_EXECUTION_PLAN__LAUNCH, {});
    }
    static logEvent_ExecutionPlanDebugLaunched(service) {
        service.logEvent(QUERY_BUILDER_EVENT.DEBUG_EXECUTION_PLAN__LAUNCH, {});
    }
    static logEvent_EmbeddedDataCubeLaunched(service) {
        service.logEvent(QUERY_BUILDER_EVENT.EMBEDDED_DATA_CUBE__LAUNCH, {});
    }
    static logEvent_QueryRunSucceeded(service, data) {
        service.logEvent(QUERY_BUILDER_EVENT.RUN_QUERY__SUCCESS, data);
    }
    static logEvent_ExportQueryDataSucceeded(service, data) {
        service.logEvent(QUERY_BUILDER_EVENT.EXPORT_QUERY_DATA__SUCCESS, data);
    }
    static logEvent_ExecutionPlanGenerationSucceeded(service, data) {
        service.logEvent(QUERY_BUILDER_EVENT.GENERATE_EXECUTION_PLAN__SUCCESS, data);
    }
    static logEvent_ExecutionPlanDebugSucceeded(service, data) {
        service.logEvent(QUERY_BUILDER_EVENT.DEBUG_EXECUTION_PLAN__SUCCESS, data);
    }
    static logEvent_EmbeddedDataCubeQueryRunSucceeded(service, data) {
        service.logEvent(QUERY_BUILDER_EVENT.EMBEDDED_DATA_CUBE__SUCCESS, data);
    }
    static logEvent_FilterCreateConditionLaunched(service) {
        service.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__CREATE__CONDITION__LAUNCH, {});
    }
    static logEvent_FilterCleanupTreeLaunched(service) {
        service.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__CLEANUP__TREE__LAUNCH, {});
    }
    static logEvent_FilterCollapseTreeLaunched(service) {
        service.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__COLLAPSE__TREE__LAUNCH, {});
    }
    static logEvent_FilterCreateGroupFromConditionLaunched(service) {
        service.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__CREATE__GROUP__FROM__CONDITION__LAUNCH, {});
    }
    static logEvent_FilterCreateLogicalGroupLaunched(service) {
        service.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__CREATE__LOGICAL__GROUP__LAUNCH, {});
    }
    static logEvent_FilterExpandTreeLaunched(service) {
        service.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__EXPAND__TREE__LAUNCH, {});
    }
    static logEvent_FilterSimplifyTreeLaunched(service) {
        service.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__SIMPLIFY__TREE__LAUNCH, {});
    }
    static logEvent_PostFilterCreateConditionLaunched(service) {
        service.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__CREATE__CONDITION__LAUNCH, {});
    }
    static logEvent_PostFilterCleanupTreeLaunched(service) {
        service.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__CLEANUP__TREE__LAUNCH, {});
    }
    static logEvent_PostFilterCollapseTreeLaunched(service) {
        service.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__COLLAPSE__TREE__LAUNCH, {});
    }
    static logEvent_PostFilterCreateGroupFromConditionLaunched(service) {
        service.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__CREATE__GROUP__FROM__CONDITION__LAUNCH, {});
    }
    static logEvent_PostFilterCreateLogicalGroupLaunched(service) {
        service.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__CREATE__LOGICAL__GROUP__LAUNCH, {});
    }
    static logEvent_PostFilterExpandTreeLaunched(service) {
        service.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__EXPAND__TREE__LAUNCH, {});
    }
    static logEvent_PostFilterSimplifyTreeLaunched(service) {
        service.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__SIMPLIFY__TREE__LAUNCH, {});
    }
    static logEvent_QueryMappingModelCoverageAnalysisLaunched(service) {
        service.logEvent(QUERY_BUILDER_EVENT.MAPPING_MODEL_COVERAGE_ANALYSYS__LAUNCH, {});
    }
    static logEvent_QueryMappingModelCoverageAnalysisSucceeded(service, data) {
        service.logEvent(QUERY_BUILDER_EVENT.MAPPING_MODEL_COVERAGE_ANALYSYS__SUCCESS, data);
    }
    static logEvent_ShowUnmappedPropertyInExplorerTreeLaunched(service) {
        service.logEvent(QUERY_BUILDER_EVENT.SHOW_UNMAPPED_PROPERTIES__LAUNCH, {});
    }
    static logEvent_ShowPropertyExplorerOptions(service) {
        service.logEvent(QUERY_BUILDER_EVENT.PROPERTY_EXPLORER_OPTIONS__LAUNCH, {});
    }
    static logEvent_TogglePanelFunctionExplorer(service) {
        service.logEvent(QUERY_BUILDER_EVENT.PANEL_FUNCTION_EXPLORER__TOGGLE, {});
    }
    static logEvent_RenderPanelFunctionExplorer(service) {
        service.logEvent(QUERY_BUILDER_EVENT.PANEL_FUNCTION_EXPLORER__RENDER, {});
    }
    static logEvent_TogglePanelFunctionExplorerDependencyView(service) {
        service.logEvent(QUERY_BUILDER_EVENT.PANEL_FUNCTION_EXPLORER_DEPENDENCY_VIEW__TOGGLE, {});
    }
    static logEvent_ToggleFetchStructure(service) {
        service.logEvent(QUERY_BUILDER_EVENT.PANEL_FETCH_STRUCTURE_TOGGLE, {});
    }
    static logEvent_RenderGraphFetchPanel(service, data) {
        service.logEvent(QUERY_BUILDER_EVENT.PANEL_GRAPH_FETCH_RENDER, data);
    }
}
//# sourceMappingURL=QueryBuilderTelemetryHelper.js.map