"use strict";
// This file was auto-generated by Fern from our API Definition.
Object.defineProperty(exports, "__esModule", { value: true });
exports.AtsClient = void 0;
const BaseClient_1 = require("../../../../BaseClient");
const Client_1 = require("../resources/accountDetails/client/Client");
const Client_2 = require("../resources/accountToken/client/Client");
const Client_3 = require("../resources/activities/client/Client");
const Client_4 = require("../resources/applications/client/Client");
const Client_5 = require("../resources/asyncPassthrough/client/Client");
const Client_6 = require("../resources/attachments/client/Client");
const Client_7 = require("../resources/auditTrail/client/Client");
const Client_8 = require("../resources/availableActions/client/Client");
const Client_9 = require("../resources/candidates/client/Client");
const Client_10 = require("../resources/deleteAccount/client/Client");
const Client_11 = require("../resources/departments/client/Client");
const Client_12 = require("../resources/eeocs/client/Client");
const Client_13 = require("../resources/fieldMapping/client/Client");
const Client_14 = require("../resources/forceResync/client/Client");
const Client_15 = require("../resources/generateKey/client/Client");
const Client_16 = require("../resources/interviews/client/Client");
const Client_17 = require("../resources/issues/client/Client");
const Client_18 = require("../resources/jobInterviewStages/client/Client");
const Client_19 = require("../resources/jobPostings/client/Client");
const Client_20 = require("../resources/jobs/client/Client");
const Client_21 = require("../resources/linkedAccounts/client/Client");
const Client_22 = require("../resources/linkToken/client/Client");
const Client_23 = require("../resources/offers/client/Client");
const Client_24 = require("../resources/offices/client/Client");
const Client_25 = require("../resources/passthrough/client/Client");
const Client_26 = require("../resources/regenerateKey/client/Client");
const Client_27 = require("../resources/rejectReasons/client/Client");
const Client_28 = require("../resources/scopes/client/Client");
const Client_29 = require("../resources/scorecards/client/Client");
const Client_30 = require("../resources/syncStatus/client/Client");
const Client_31 = require("../resources/tags/client/Client");
const Client_32 = require("../resources/users/client/Client");
const Client_33 = require("../resources/webhookReceivers/client/Client");
class AtsClient {
    constructor(options) {
        this._options = (0, BaseClient_1.normalizeClientOptionsWithAuth)(options);
    }
    get accountDetails() {
        var _a;
        return ((_a = this._accountDetails) !== null && _a !== void 0 ? _a : (this._accountDetails = new Client_1.AccountDetailsClient(this._options)));
    }
    get accountToken() {
        var _a;
        return ((_a = this._accountToken) !== null && _a !== void 0 ? _a : (this._accountToken = new Client_2.AccountTokenClient(this._options)));
    }
    get activities() {
        var _a;
        return ((_a = this._activities) !== null && _a !== void 0 ? _a : (this._activities = new Client_3.ActivitiesClient(this._options)));
    }
    get applications() {
        var _a;
        return ((_a = this._applications) !== null && _a !== void 0 ? _a : (this._applications = new Client_4.ApplicationsClient(this._options)));
    }
    get asyncPassthrough() {
        var _a;
        return ((_a = this._asyncPassthrough) !== null && _a !== void 0 ? _a : (this._asyncPassthrough = new Client_5.AsyncPassthroughClient(this._options)));
    }
    get attachments() {
        var _a;
        return ((_a = this._attachments) !== null && _a !== void 0 ? _a : (this._attachments = new Client_6.AttachmentsClient(this._options)));
    }
    get auditTrail() {
        var _a;
        return ((_a = this._auditTrail) !== null && _a !== void 0 ? _a : (this._auditTrail = new Client_7.AuditTrailClient(this._options)));
    }
    get availableActions() {
        var _a;
        return ((_a = this._availableActions) !== null && _a !== void 0 ? _a : (this._availableActions = new Client_8.AvailableActionsClient(this._options)));
    }
    get candidates() {
        var _a;
        return ((_a = this._candidates) !== null && _a !== void 0 ? _a : (this._candidates = new Client_9.CandidatesClient(this._options)));
    }
    get scopes() {
        var _a;
        return ((_a = this._scopes) !== null && _a !== void 0 ? _a : (this._scopes = new Client_28.ScopesClient(this._options)));
    }
    get deleteAccount() {
        var _a;
        return ((_a = this._deleteAccount) !== null && _a !== void 0 ? _a : (this._deleteAccount = new Client_10.DeleteAccountClient(this._options)));
    }
    get departments() {
        var _a;
        return ((_a = this._departments) !== null && _a !== void 0 ? _a : (this._departments = new Client_11.DepartmentsClient(this._options)));
    }
    get eeocs() {
        var _a;
        return ((_a = this._eeocs) !== null && _a !== void 0 ? _a : (this._eeocs = new Client_12.EeocsClient(this._options)));
    }
    get fieldMapping() {
        var _a;
        return ((_a = this._fieldMapping) !== null && _a !== void 0 ? _a : (this._fieldMapping = new Client_13.FieldMappingClient(this._options)));
    }
    get generateKey() {
        var _a;
        return ((_a = this._generateKey) !== null && _a !== void 0 ? _a : (this._generateKey = new Client_15.GenerateKeyClient(this._options)));
    }
    get interviews() {
        var _a;
        return ((_a = this._interviews) !== null && _a !== void 0 ? _a : (this._interviews = new Client_16.InterviewsClient(this._options)));
    }
    get issues() {
        var _a;
        return ((_a = this._issues) !== null && _a !== void 0 ? _a : (this._issues = new Client_17.IssuesClient(this._options)));
    }
    get jobInterviewStages() {
        var _a;
        return ((_a = this._jobInterviewStages) !== null && _a !== void 0 ? _a : (this._jobInterviewStages = new Client_18.JobInterviewStagesClient(this._options)));
    }
    get jobPostings() {
        var _a;
        return ((_a = this._jobPostings) !== null && _a !== void 0 ? _a : (this._jobPostings = new Client_19.JobPostingsClient(this._options)));
    }
    get jobs() {
        var _a;
        return ((_a = this._jobs) !== null && _a !== void 0 ? _a : (this._jobs = new Client_20.JobsClient(this._options)));
    }
    get linkToken() {
        var _a;
        return ((_a = this._linkToken) !== null && _a !== void 0 ? _a : (this._linkToken = new Client_22.LinkTokenClient(this._options)));
    }
    get linkedAccounts() {
        var _a;
        return ((_a = this._linkedAccounts) !== null && _a !== void 0 ? _a : (this._linkedAccounts = new Client_21.LinkedAccountsClient(this._options)));
    }
    get offers() {
        var _a;
        return ((_a = this._offers) !== null && _a !== void 0 ? _a : (this._offers = new Client_23.OffersClient(this._options)));
    }
    get offices() {
        var _a;
        return ((_a = this._offices) !== null && _a !== void 0 ? _a : (this._offices = new Client_24.OfficesClient(this._options)));
    }
    get passthrough() {
        var _a;
        return ((_a = this._passthrough) !== null && _a !== void 0 ? _a : (this._passthrough = new Client_25.PassthroughClient(this._options)));
    }
    get regenerateKey() {
        var _a;
        return ((_a = this._regenerateKey) !== null && _a !== void 0 ? _a : (this._regenerateKey = new Client_26.RegenerateKeyClient(this._options)));
    }
    get rejectReasons() {
        var _a;
        return ((_a = this._rejectReasons) !== null && _a !== void 0 ? _a : (this._rejectReasons = new Client_27.RejectReasonsClient(this._options)));
    }
    get scorecards() {
        var _a;
        return ((_a = this._scorecards) !== null && _a !== void 0 ? _a : (this._scorecards = new Client_29.ScorecardsClient(this._options)));
    }
    get syncStatus() {
        var _a;
        return ((_a = this._syncStatus) !== null && _a !== void 0 ? _a : (this._syncStatus = new Client_30.SyncStatusClient(this._options)));
    }
    get forceResync() {
        var _a;
        return ((_a = this._forceResync) !== null && _a !== void 0 ? _a : (this._forceResync = new Client_14.ForceResyncClient(this._options)));
    }
    get tags() {
        var _a;
        return ((_a = this._tags) !== null && _a !== void 0 ? _a : (this._tags = new Client_31.TagsClient(this._options)));
    }
    get users() {
        var _a;
        return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_32.UsersClient(this._options)));
    }
    get webhookReceivers() {
        var _a;
        return ((_a = this._webhookReceivers) !== null && _a !== void 0 ? _a : (this._webhookReceivers = new Client_33.WebhookReceiversClient(this._options)));
    }
}
exports.AtsClient = AtsClient;
