// (C) 2019-2025 GoodData Corporation
import { tigerActionsClientFactory } from "./actions.js";
import { tigerAuthActionsClientFactory } from "./authActions.js";
import { tigerAutomationClientFactory } from "./automation.js";
import { setAxiosAuthorizationToken } from "./axios.js";
import { MetadataBaseApi, MetadataConfiguration, tigerEntitiesObjectsClientFactory, } from "./entitiesObjects.js";
import { tigerExecutionClientFactory } from "./execution.js";
import { tigerExecutionResultClientFactory } from "./executionResult.js";
import { tigerAfmExplainClientFactory } from "./explain.js";
import { tigerExportClientFactory } from "./export.js";
import { tigerGenAIClientFactory } from "./genAI.js";
import { LabelElementsBaseApi, LabelElementsConfiguration, tigerLabelElementsClientFactory, } from "./labelElements.js";
import { tigerLayoutClientFactory } from "./layout.js";
import { tigerLocationStyleClientFactory, } from "./locationStyle.js";
import { isLiveFeatures, isStaticFeatures, tigerProfileClientFactory, } from "./profile.js";
import { tigerGeoCollectionsClientFactory, tigerResultClientFactory, } from "./result.js";
import { ScanModelBaseApi, ScanModelConfiguration, tigerScanModelClientFactory, } from "./scanModel.js";
import { tigerSmartFunctionsClientFactory } from "./smartFunctions.js";
import { tigerUserManagementClientFactory } from "./userManagement.js";
import { tigerValidDescendantsClientFactory } from "./validDescendants.js";
import { tigerValidObjectsClientFactory } from "./validObjects.js";
export { tigerExecutionClientFactory, 
//    tigerEntitiesObjectsClientFactory,
tigerExecutionResultClientFactory, tigerLabelElementsClientFactory, tigerValidObjectsClientFactory, tigerValidDescendantsClientFactory, tigerLayoutClientFactory, tigerAfmExplainClientFactory, tigerProfileClientFactory, tigerLocationStyleClientFactory, tigerActionsClientFactory, tigerAuthActionsClientFactory, tigerScanModelClientFactory, tigerExportClientFactory, tigerAutomationClientFactory, tigerResultClientFactory, tigerUserManagementClientFactory, tigerSmartFunctionsClientFactory, tigerGenAIClientFactory, MetadataConfiguration, MetadataBaseApi, LabelElementsConfiguration, LabelElementsBaseApi, isLiveFeatures, isStaticFeatures, ScanModelConfiguration, ScanModelBaseApi, };
/**
 * Tiger execution client
 *
 * @deprecated Use direct import of the api endpoints instead.
 */
export const tigerClientFactory = (axios) => {
    const execution = tigerExecutionClientFactory(axios);
    const executionResult = tigerExecutionResultClientFactory(axios);
    const labelElements = tigerLabelElementsClientFactory(axios);
    const validObjects = tigerValidObjectsClientFactory(axios);
    const validDescendants = tigerValidDescendantsClientFactory(axios);
    const declarativeLayout = tigerLayoutClientFactory(axios);
    const explain = tigerAfmExplainClientFactory(axios);
    const entities = tigerEntitiesObjectsClientFactory(axios);
    const profile = tigerProfileClientFactory(axios);
    const locationStyle = tigerLocationStyleClientFactory(axios);
    const actions = tigerActionsClientFactory(axios);
    const authActions = tigerAuthActionsClientFactory(axios);
    const scanModel = tigerScanModelClientFactory(axios);
    const exportFactory = tigerExportClientFactory(axios);
    const result = tigerResultClientFactory(axios);
    const userManagement = tigerUserManagementClientFactory(axios);
    const smartFunctions = tigerSmartFunctionsClientFactory(axios);
    const genAI = tigerGenAIClientFactory(axios);
    const automation = tigerAutomationClientFactory(axios);
    const geoCollections = tigerGeoCollectionsClientFactory(axios);
    return {
        axios,
        basePath: "",
        automation,
        execution,
        executionResult,
        labelElements,
        validObjects,
        validDescendants,
        declarativeLayout,
        explain,
        entities,
        profile,
        locationStyle,
        actions,
        authActions,
        scanModel,
        result,
        userManagement,
        setApiToken: (token) => {
            setAxiosAuthorizationToken(axios, token);
        },
        export: exportFactory,
        smartFunctions,
        genAI,
        geoCollections,
    };
};
/**
 * Creates a base tiger client that can be used to create a tiger client. This factory is used than in
 * SDK-Backend-Tiger using this factory allow tree shaking of the client.
 * @param axios - axios instance
 * @returns ITigerClientBase
 */
export const tigerClientBaseFactory = (axios, basePath = "") => {
    return {
        axios,
        basePath,
        setApiToken: (token) => {
            setAxiosAuthorizationToken(axios, token);
        },
    };
};
//# sourceMappingURL=client.js.map