"use strict";
/**
 * This file was auto-generated by Fern from our API Definition.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.Ticketing = void 0;
const Client_1 = require("../resources/accountDetails/client/Client");
const Client_2 = require("../resources/accountToken/client/Client");
const Client_3 = require("../resources/accounts/client/Client");
const Client_4 = require("../resources/asyncPassthrough/client/Client");
const Client_5 = require("../resources/attachments/client/Client");
const Client_6 = require("../resources/auditTrail/client/Client");
const Client_7 = require("../resources/availableActions/client/Client");
const Client_8 = require("../resources/collections/client/Client");
const Client_9 = require("../resources/comments/client/Client");
const Client_10 = require("../resources/contacts/client/Client");
const Client_11 = require("../resources/deleteAccount/client/Client");
const Client_12 = require("../resources/generateKey/client/Client");
const Client_13 = require("../resources/issues/client/Client");
const Client_14 = require("../resources/linkToken/client/Client");
const Client_15 = require("../resources/linkedAccounts/client/Client");
const Client_16 = require("../resources/passthrough/client/Client");
const Client_17 = require("../resources/projects/client/Client");
const Client_18 = require("../resources/regenerateKey/client/Client");
const Client_19 = require("../resources/selectiveSync/client/Client");
const Client_20 = require("../resources/syncStatus/client/Client");
const Client_21 = require("../resources/forceResync/client/Client");
const Client_22 = require("../resources/tags/client/Client");
const Client_23 = require("../resources/teams/client/Client");
const Client_24 = require("../resources/tickets/client/Client");
const Client_25 = require("../resources/users/client/Client");
const Client_26 = require("../resources/webhookReceivers/client/Client");
class Ticketing {
    constructor(_options) {
        this._options = _options;
    }
    get accountDetails() {
        var _a;
        return ((_a = this._accountDetails) !== null && _a !== void 0 ? _a : (this._accountDetails = new Client_1.AccountDetails(this._options)));
    }
    get accountToken() {
        var _a;
        return ((_a = this._accountToken) !== null && _a !== void 0 ? _a : (this._accountToken = new Client_2.AccountToken(this._options)));
    }
    get accounts() {
        var _a;
        return ((_a = this._accounts) !== null && _a !== void 0 ? _a : (this._accounts = new Client_3.Accounts(this._options)));
    }
    get asyncPassthrough() {
        var _a;
        return ((_a = this._asyncPassthrough) !== null && _a !== void 0 ? _a : (this._asyncPassthrough = new Client_4.AsyncPassthrough(this._options)));
    }
    get attachments() {
        var _a;
        return ((_a = this._attachments) !== null && _a !== void 0 ? _a : (this._attachments = new Client_5.Attachments(this._options)));
    }
    get auditTrail() {
        var _a;
        return ((_a = this._auditTrail) !== null && _a !== void 0 ? _a : (this._auditTrail = new Client_6.AuditTrail(this._options)));
    }
    get availableActions() {
        var _a;
        return ((_a = this._availableActions) !== null && _a !== void 0 ? _a : (this._availableActions = new Client_7.AvailableActions(this._options)));
    }
    get collections() {
        var _a;
        return ((_a = this._collections) !== null && _a !== void 0 ? _a : (this._collections = new Client_8.Collections(this._options)));
    }
    get comments() {
        var _a;
        return ((_a = this._comments) !== null && _a !== void 0 ? _a : (this._comments = new Client_9.Comments(this._options)));
    }
    get contacts() {
        var _a;
        return ((_a = this._contacts) !== null && _a !== void 0 ? _a : (this._contacts = new Client_10.Contacts(this._options)));
    }
    get deleteAccount() {
        var _a;
        return ((_a = this._deleteAccount) !== null && _a !== void 0 ? _a : (this._deleteAccount = new Client_11.DeleteAccount(this._options)));
    }
    get generateKey() {
        var _a;
        return ((_a = this._generateKey) !== null && _a !== void 0 ? _a : (this._generateKey = new Client_12.GenerateKey(this._options)));
    }
    get issues() {
        var _a;
        return ((_a = this._issues) !== null && _a !== void 0 ? _a : (this._issues = new Client_13.Issues(this._options)));
    }
    get linkToken() {
        var _a;
        return ((_a = this._linkToken) !== null && _a !== void 0 ? _a : (this._linkToken = new Client_14.LinkToken(this._options)));
    }
    get linkedAccounts() {
        var _a;
        return ((_a = this._linkedAccounts) !== null && _a !== void 0 ? _a : (this._linkedAccounts = new Client_15.LinkedAccounts(this._options)));
    }
    get passthrough() {
        var _a;
        return ((_a = this._passthrough) !== null && _a !== void 0 ? _a : (this._passthrough = new Client_16.Passthrough(this._options)));
    }
    get projects() {
        var _a;
        return ((_a = this._projects) !== null && _a !== void 0 ? _a : (this._projects = new Client_17.Projects(this._options)));
    }
    get regenerateKey() {
        var _a;
        return ((_a = this._regenerateKey) !== null && _a !== void 0 ? _a : (this._regenerateKey = new Client_18.RegenerateKey(this._options)));
    }
    get selectiveSync() {
        var _a;
        return ((_a = this._selectiveSync) !== null && _a !== void 0 ? _a : (this._selectiveSync = new Client_19.SelectiveSync(this._options)));
    }
    get syncStatus() {
        var _a;
        return ((_a = this._syncStatus) !== null && _a !== void 0 ? _a : (this._syncStatus = new Client_20.SyncStatus(this._options)));
    }
    get forceResync() {
        var _a;
        return ((_a = this._forceResync) !== null && _a !== void 0 ? _a : (this._forceResync = new Client_21.ForceResync(this._options)));
    }
    get tags() {
        var _a;
        return ((_a = this._tags) !== null && _a !== void 0 ? _a : (this._tags = new Client_22.Tags(this._options)));
    }
    get teams() {
        var _a;
        return ((_a = this._teams) !== null && _a !== void 0 ? _a : (this._teams = new Client_23.Teams(this._options)));
    }
    get tickets() {
        var _a;
        return ((_a = this._tickets) !== null && _a !== void 0 ? _a : (this._tickets = new Client_24.Tickets(this._options)));
    }
    get users() {
        var _a;
        return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_25.Users(this._options)));
    }
    get webhookReceivers() {
        var _a;
        return ((_a = this._webhookReceivers) !== null && _a !== void 0 ? _a : (this._webhookReceivers = new Client_26.WebhookReceivers(this._options)));
    }
}
exports.Ticketing = Ticketing;
