"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.OrganizationsApi = void 0;
const tslib_1 = require("tslib");
const axiosClient_1 = require("../axiosClient");
exports.OrganizationsApi = {
    makeBaseURI() {
        return '/api/accounts_mgmt/v1/organizations';
    },
    getOrganization(orgId_1) {
        return tslib_1.__awaiter(this, arguments, void 0, function* (orgId, fetchCapabilities = true, fetchLabels = false) {
            const response = yield (axiosClient_1.ocmClient === null || axiosClient_1.ocmClient === void 0 ? void 0 : axiosClient_1.ocmClient.get(`${exports.OrganizationsApi.makeBaseURI()}/${orgId}`, {
                params: { fetchCapabilities, fetchLabels },
            }));
            return response === null || response === void 0 ? void 0 : response.data;
        });
    },
};
//# sourceMappingURL=organizations-api.js.map