"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.WebServices = void 0;
var restWebservice;
var realtimeWebservice;
var storageWebservice;
var WebServices = (function () {
    function WebServices(rest, realtime, storage) {
        restWebservice = rest;
        realtimeWebservice = realtime;
        storageWebservice = storage;
    }
    WebServices.prototype.storage = function () {
        return {
            fileV1Api: storageWebservice.getFileStorageV1(),
            fileApi: storageWebservice.getFileFromStorage(),
            fileV2Api: storageWebservice.getFileFromStorageV2(),
            fileThumbnailApi: storageWebservice.geThumbnailFromStorage(),
            fileThumbnailV2Api: storageWebservice.geThumbnailFromStorageV2(),
            fileListApi: storageWebservice.getFilesFromStorage(),
            fileListV2Api: storageWebservice.getFilesFromStorageV2(),
            fileUploadApi: storageWebservice.uploadMultiPartFile(),
            fileUploadV2Api: storageWebservice.uploadMultiPartFileV2(),
            getUploadFileV2: storageWebservice.getUploadFileV2(),
        };
    };
    WebServices.prototype.realtime = function (config) {
        return {
            changes: realtimeWebservice.changesV2(config)
        };
    };
    WebServices.prototype.rest = function () {
        return {
            rules: restWebservice.rulesV2()
        };
    };
    return WebServices;
}());
exports.WebServices = WebServices;
