"use strict";
// This file was auto-generated by Fern from our API Definition.
Object.defineProperty(exports, "__esModule", { value: true });
exports.WorkspaceClient = void 0;
const BaseClient_1 = require("../../../../BaseClient");
const Client_1 = require("../resources/authConnections/client/Client");
const Client_2 = require("../resources/groups/client/Client");
const Client_3 = require("../resources/invites/client/Client");
const Client_4 = require("../resources/members/client/Client");
const Client_5 = require("../resources/resources/client/Client");
class WorkspaceClient {
    constructor(options = {}) {
        this._options = (0, BaseClient_1.normalizeClientOptions)(options);
    }
    get authConnections() {
        var _a;
        return ((_a = this._authConnections) !== null && _a !== void 0 ? _a : (this._authConnections = new Client_1.AuthConnectionsClient(this._options)));
    }
    get groups() {
        var _a;
        return ((_a = this._groups) !== null && _a !== void 0 ? _a : (this._groups = new Client_2.GroupsClient(this._options)));
    }
    get invites() {
        var _a;
        return ((_a = this._invites) !== null && _a !== void 0 ? _a : (this._invites = new Client_3.InvitesClient(this._options)));
    }
    get members() {
        var _a;
        return ((_a = this._members) !== null && _a !== void 0 ? _a : (this._members = new Client_4.MembersClient(this._options)));
    }
    get resources() {
        var _a;
        return ((_a = this._resources) !== null && _a !== void 0 ? _a : (this._resources = new Client_5.ResourcesClient(this._options)));
    }
}
exports.WorkspaceClient = WorkspaceClient;
