"use strict";
/**
 * This file was auto-generated by Fern from our API Definition.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.MergeClient = void 0;
const Client_1 = require("./api/resources/crm/client/Client");
const Client_2 = require("./api/resources/ats/client/Client");
const Client_3 = require("./api/resources/filestorage/client/Client");
const Client_4 = require("./api/resources/hris/client/Client");
const Client_5 = require("./api/resources/ticketing/client/Client");
const Client_6 = require("./api/resources/accounting/client/Client");
class MergeClient {
    constructor(_options) {
        this._options = _options;
    }
    get crm() {
        var _a;
        return ((_a = this._crm) !== null && _a !== void 0 ? _a : (this._crm = new Client_1.Crm(this._options)));
    }
    get ats() {
        var _a;
        return ((_a = this._ats) !== null && _a !== void 0 ? _a : (this._ats = new Client_2.Ats(this._options)));
    }
    get filestorage() {
        var _a;
        return ((_a = this._filestorage) !== null && _a !== void 0 ? _a : (this._filestorage = new Client_3.Filestorage(this._options)));
    }
    get hris() {
        var _a;
        return ((_a = this._hris) !== null && _a !== void 0 ? _a : (this._hris = new Client_4.Hris(this._options)));
    }
    get ticketing() {
        var _a;
        return ((_a = this._ticketing) !== null && _a !== void 0 ? _a : (this._ticketing = new Client_5.Ticketing(this._options)));
    }
    get accounting() {
        var _a;
        return ((_a = this._accounting) !== null && _a !== void 0 ? _a : (this._accounting = new Client_6.Accounting(this._options)));
    }
}
exports.MergeClient = MergeClient;
