'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var reportingClient = require('./reportingClient.js');
var dashboardClient = require('./dashboardClient.js');
var reportDataStore = require('./reportDataStore.js');
var featureFlagService = require('../services/featureFlagService.js');
var productCollectionClient = require('./productCollectionClient.js');
var missingReportClient = require('./missingReportClient.js');

const initDprReportingClients = (reportingApiConfig, redisClient, storePrefix, featureFlagConfig) => {
    return {
        reportingClient: new reportingClient.ReportingClient(reportingApiConfig),
        dashboardClient: new dashboardClient.DashboardClient(reportingApiConfig),
        reportDataStore: new reportDataStore.ReportDataStore(redisClient, storePrefix),
        missingReportClient: new missingReportClient.MissingReportClient(reportingApiConfig),
        productCollectionClient: new productCollectionClient.ProductCollectionClient(reportingApiConfig),
        featureFlagService: new featureFlagService.FeatureFlagService(featureFlagConfig),
    };
};

exports.default = initDprReportingClients;
exports.initDprReportingClients = initDprReportingClients;
//# sourceMappingURL=dprReportingClient.js.map
