"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.Ats = void 0;
const atsCreateApplication_js_1 = require("../funcs/atsCreateApplication.js");
const atsCreateApplicationNote_js_1 = require("../funcs/atsCreateApplicationNote.js");
const atsCreateBackgroundCheckPackage_js_1 = require("../funcs/atsCreateBackgroundCheckPackage.js");
const atsCreateCandidate_js_1 = require("../funcs/atsCreateCandidate.js");
const atsCreateCandidateNote_js_1 = require("../funcs/atsCreateCandidateNote.js");
const atsCreateJob_js_1 = require("../funcs/atsCreateJob.js");
const atsCreateOffer_js_1 = require("../funcs/atsCreateOffer.js");
const atsDeleteBackgroundCheckPackage_js_1 = require("../funcs/atsDeleteBackgroundCheckPackage.js");
const atsDownloadApplicationDocument_js_1 = require("../funcs/atsDownloadApplicationDocument.js");
const atsGetApplication_js_1 = require("../funcs/atsGetApplication.js");
const atsGetApplicationCustomFieldDefinition_js_1 = require("../funcs/atsGetApplicationCustomFieldDefinition.js");
const atsGetApplicationDocument_js_1 = require("../funcs/atsGetApplicationDocument.js");
const atsGetApplicationNote_js_1 = require("../funcs/atsGetApplicationNote.js");
const atsGetApplicationOffer_js_1 = require("../funcs/atsGetApplicationOffer.js");
const atsGetApplicationScheduledInterview_js_1 = require("../funcs/atsGetApplicationScheduledInterview.js");
const atsGetApplicationScorecard_js_1 = require("../funcs/atsGetApplicationScorecard.js");
const atsGetAssessmentsPackage_js_1 = require("../funcs/atsGetAssessmentsPackage.js");
const atsGetAssessmentsRequest_js_1 = require("../funcs/atsGetAssessmentsRequest.js");
const atsGetAssessmentsResult_js_1 = require("../funcs/atsGetAssessmentsResult.js");
const atsGetBackgroundCheckPackage_js_1 = require("../funcs/atsGetBackgroundCheckPackage.js");
const atsGetBackgroundCheckRequest_js_1 = require("../funcs/atsGetBackgroundCheckRequest.js");
const atsGetBackgroundCheckResult_js_1 = require("../funcs/atsGetBackgroundCheckResult.js");
const atsGetCandidate_js_1 = require("../funcs/atsGetCandidate.js");
const atsGetCandidateCustomFieldDefinition_js_1 = require("../funcs/atsGetCandidateCustomFieldDefinition.js");
const atsGetCandidateNote_js_1 = require("../funcs/atsGetCandidateNote.js");
const atsGetDepartment_js_1 = require("../funcs/atsGetDepartment.js");
const atsGetInterview_js_1 = require("../funcs/atsGetInterview.js");
const atsGetInterviewStage_js_1 = require("../funcs/atsGetInterviewStage.js");
const atsGetJob_js_1 = require("../funcs/atsGetJob.js");
const atsGetJobCustomFieldDefinition_js_1 = require("../funcs/atsGetJobCustomFieldDefinition.js");
const atsGetJobPosting_js_1 = require("../funcs/atsGetJobPosting.js");
const atsGetList_js_1 = require("../funcs/atsGetList.js");
const atsGetLocation_js_1 = require("../funcs/atsGetLocation.js");
const atsGetOffer_js_1 = require("../funcs/atsGetOffer.js");
const atsGetRejectedReason_js_1 = require("../funcs/atsGetRejectedReason.js");
const atsGetUser_js_1 = require("../funcs/atsGetUser.js");
const atsListApplicationCustomFieldDefinitions_js_1 = require("../funcs/atsListApplicationCustomFieldDefinitions.js");
const atsListApplicationDocuments_js_1 = require("../funcs/atsListApplicationDocuments.js");
const atsListApplicationNotes_js_1 = require("../funcs/atsListApplicationNotes.js");
const atsListApplications_js_1 = require("../funcs/atsListApplications.js");
const atsListApplicationScorecards_js_1 = require("../funcs/atsListApplicationScorecards.js");
const atsListApplicationsOffers_js_1 = require("../funcs/atsListApplicationsOffers.js");
const atsListApplicationsScheduledInterviews_js_1 = require("../funcs/atsListApplicationsScheduledInterviews.js");
const atsListAssessmentsPackages_js_1 = require("../funcs/atsListAssessmentsPackages.js");
const atsListBackgroundCheckPackages_js_1 = require("../funcs/atsListBackgroundCheckPackages.js");
const atsListBackgroundCheckRequest_js_1 = require("../funcs/atsListBackgroundCheckRequest.js");
const atsListCandidateCustomFieldDefinitions_js_1 = require("../funcs/atsListCandidateCustomFieldDefinitions.js");
const atsListCandidateNotes_js_1 = require("../funcs/atsListCandidateNotes.js");
const atsListCandidates_js_1 = require("../funcs/atsListCandidates.js");
const atsListDepartments_js_1 = require("../funcs/atsListDepartments.js");
const atsListInterviews_js_1 = require("../funcs/atsListInterviews.js");
const atsListInterviewStages_js_1 = require("../funcs/atsListInterviewStages.js");
const atsListJobCustomFieldDefinitions_js_1 = require("../funcs/atsListJobCustomFieldDefinitions.js");
const atsListJobPostings_js_1 = require("../funcs/atsListJobPostings.js");
const atsListJobs_js_1 = require("../funcs/atsListJobs.js");
const atsListLists_js_1 = require("../funcs/atsListLists.js");
const atsListLocations_js_1 = require("../funcs/atsListLocations.js");
const atsListOffers_js_1 = require("../funcs/atsListOffers.js");
const atsListRejectedReasons_js_1 = require("../funcs/atsListRejectedReasons.js");
const atsListUsers_js_1 = require("../funcs/atsListUsers.js");
const atsMoveApplication_js_1 = require("../funcs/atsMoveApplication.js");
const atsOrderAssessmentsRequest_js_1 = require("../funcs/atsOrderAssessmentsRequest.js");
const atsOrderBackgroundCheckRequest_js_1 = require("../funcs/atsOrderBackgroundCheckRequest.js");
const atsRejectApplication_js_1 = require("../funcs/atsRejectApplication.js");
const atsUpdateApplication_js_1 = require("../funcs/atsUpdateApplication.js");
const atsUpdateApplicationNote_js_1 = require("../funcs/atsUpdateApplicationNote.js");
const atsUpdateAssessmentsResult_js_1 = require("../funcs/atsUpdateAssessmentsResult.js");
const atsUpdateBackgroundCheckPackage_js_1 = require("../funcs/atsUpdateBackgroundCheckPackage.js");
const atsUpdateBackgroundCheckResult_js_1 = require("../funcs/atsUpdateBackgroundCheckResult.js");
const atsUpdateCandidate_js_1 = require("../funcs/atsUpdateCandidate.js");
const atsUpdateJob_js_1 = require("../funcs/atsUpdateJob.js");
const atsUploadApplicationDocument_js_1 = require("../funcs/atsUploadApplicationDocument.js");
const sdks_js_1 = require("../lib/sdks.js");
const operations_js_1 = require("../sdk/types/operations.js");
const fp_js_1 = require("./types/fp.js");
class Ats extends sdks_js_1.ClientSDK {
    /**
     * Create Application
     */
    async createApplication(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsCreateApplication_js_1.atsCreateApplication)(this, request, options));
    }
    /**
     * Create Application Note
     */
    async createApplicationNote(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsCreateApplicationNote_js_1.atsCreateApplicationNote)(this, request, options));
    }
    /**
     * Create Background Check Package
     */
    async createBackgroundCheckPackage(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsCreateBackgroundCheckPackage_js_1.atsCreateBackgroundCheckPackage)(this, request, options));
    }
    /**
     * Create Candidate
     */
    async createCandidate(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsCreateCandidate_js_1.atsCreateCandidate)(this, request, options));
    }
    /**
     * Create Candidate Note
     */
    async createCandidateNote(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsCreateCandidateNote_js_1.atsCreateCandidateNote)(this, request, options));
    }
    /**
     * Create Job
     */
    async createJob(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsCreateJob_js_1.atsCreateJob)(this, request, options));
    }
    /**
     * Creates an offer
     */
    async createOffer(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsCreateOffer_js_1.atsCreateOffer)(this, request, options));
    }
    /**
     * Delete Background Check Package
     */
    async deleteBackgroundCheckPackage(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsDeleteBackgroundCheckPackage_js_1.atsDeleteBackgroundCheckPackage)(this, request, options));
    }
    /**
     * Download Application Document
     */
    async downloadApplicationDocument(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsDownloadApplicationDocument_js_1.atsDownloadApplicationDocument)(this, request, options));
    }
    /**
     * Get Application
     */
    async getApplication(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsGetApplication_js_1.atsGetApplication)(this, request, options));
    }
    /**
     * Get Application Custom Field Definition
     */
    async getApplicationCustomFieldDefinition(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsGetApplicationCustomFieldDefinition_js_1.atsGetApplicationCustomFieldDefinition)(this, request, options));
    }
    /**
     * Get Application Document
     */
    async getApplicationDocument(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsGetApplicationDocument_js_1.atsGetApplicationDocument)(this, request, options));
    }
    /**
     * Get Application Note
     */
    async getApplicationNote(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsGetApplicationNote_js_1.atsGetApplicationNote)(this, request, options));
    }
    /**
     * Get Application Offer
     */
    async getApplicationOffer(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsGetApplicationOffer_js_1.atsGetApplicationOffer)(this, request, options));
    }
    /**
     * Get Applications scheduled interview
     */
    async getApplicationScheduledInterview(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsGetApplicationScheduledInterview_js_1.atsGetApplicationScheduledInterview)(this, request, options));
    }
    /**
     * Get Application Scorecard
     */
    async getApplicationScorecard(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsGetApplicationScorecard_js_1.atsGetApplicationScorecard)(this, request, options));
    }
    /**
     * Get Assessments Package
     */
    async getAssessmentsPackage(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsGetAssessmentsPackage_js_1.atsGetAssessmentsPackage)(this, request, options));
    }
    /**
     * Get Assessments Requests
     */
    async getAssessmentsRequest(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsGetAssessmentsRequest_js_1.atsGetAssessmentsRequest)(this, request, options));
    }
    /**
     * Get Assessments Results
     */
    async getAssessmentsResult(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsGetAssessmentsResult_js_1.atsGetAssessmentsResult)(this, request, options));
    }
    /**
     * Get Background Check Package
     */
    async getBackgroundCheckPackage(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsGetBackgroundCheckPackage_js_1.atsGetBackgroundCheckPackage)(this, request, options));
    }
    /**
     * Get Background Check Request
     */
    async getBackgroundCheckRequest(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsGetBackgroundCheckRequest_js_1.atsGetBackgroundCheckRequest)(this, request, options));
    }
    /**
     * Get Background Check Results
     */
    async getBackgroundCheckResult(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsGetBackgroundCheckResult_js_1.atsGetBackgroundCheckResult)(this, request, options));
    }
    /**
     * Get Candidate
     */
    async getCandidate(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsGetCandidate_js_1.atsGetCandidate)(this, request, options));
    }
    /**
     * Get Candidate Custom Field Definition
     */
    async getCandidateCustomFieldDefinition(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsGetCandidateCustomFieldDefinition_js_1.atsGetCandidateCustomFieldDefinition)(this, request, options));
    }
    /**
     * Get Candidate Note
     */
    async getCandidateNote(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsGetCandidateNote_js_1.atsGetCandidateNote)(this, request, options));
    }
    /**
     * Get Department
     */
    async getDepartment(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsGetDepartment_js_1.atsGetDepartment)(this, request, options));
    }
    /**
     * Get Interview
     */
    async getInterview(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsGetInterview_js_1.atsGetInterview)(this, request, options));
    }
    /**
     * Get Interview Stage
     */
    async getInterviewStage(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsGetInterviewStage_js_1.atsGetInterviewStage)(this, request, options));
    }
    /**
     * Get Job
     */
    async getJob(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsGetJob_js_1.atsGetJob)(this, request, options));
    }
    /**
     * Get Job Custom Field Definition
     */
    async getJobCustomFieldDefinition(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsGetJobCustomFieldDefinition_js_1.atsGetJobCustomFieldDefinition)(this, request, options));
    }
    /**
     * Get Job Posting
     */
    async getJobPosting(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsGetJobPosting_js_1.atsGetJobPosting)(this, request, options));
    }
    /**
     * Get List
     */
    async getList(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsGetList_js_1.atsGetList)(this, request, options));
    }
    /**
     * Get Location
     */
    async getLocation(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsGetLocation_js_1.atsGetLocation)(this, request, options));
    }
    /**
     * Get Offer
     */
    async getOffer(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsGetOffer_js_1.atsGetOffer)(this, request, options));
    }
    /**
     * Get Rejected Reason
     */
    async getRejectedReason(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsGetRejectedReason_js_1.atsGetRejectedReason)(this, request, options));
    }
    /**
     * Get User
     */
    async getUser(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsGetUser_js_1.atsGetUser)(this, request, options));
    }
    /**
     * List Application Custom Field Definitions
     */
    async listApplicationCustomFieldDefinitions(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, atsListApplicationCustomFieldDefinitions_js_1.atsListApplicationCustomFieldDefinitions)(this, request, options));
    }
    /**
     * List Application Documents
     */
    async listApplicationDocuments(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, atsListApplicationDocuments_js_1.atsListApplicationDocuments)(this, request, options));
    }
    /**
     * List Application Notes
     */
    async listApplicationNotes(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, atsListApplicationNotes_js_1.atsListApplicationNotes)(this, request, options));
    }
    /**
     * List Application Scorecards
     */
    async listApplicationScorecards(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, atsListApplicationScorecards_js_1.atsListApplicationScorecards)(this, request, options));
    }
    /**
     * List Applications
     */
    async listApplications(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, atsListApplications_js_1.atsListApplications)(this, request, options));
    }
    /**
     * List Application Offers
     */
    async listApplicationsOffers(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, atsListApplicationsOffers_js_1.atsListApplicationsOffers)(this, request, options));
    }
    /**
     * List Applications scheduled interviews
     */
    async listApplicationsScheduledInterviews(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, atsListApplicationsScheduledInterviews_js_1.atsListApplicationsScheduledInterviews)(this, request, options));
    }
    /**
     * List Assessments Packages
     */
    async listAssessmentsPackages(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, atsListAssessmentsPackages_js_1.atsListAssessmentsPackages)(this, request, options));
    }
    /**
     * List Background Check Packages
     */
    async listBackgroundCheckPackages(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, atsListBackgroundCheckPackages_js_1.atsListBackgroundCheckPackages)(this, request, options));
    }
    /**
     * List Background Check Request
     */
    async listBackgroundCheckRequest(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, atsListBackgroundCheckRequest_js_1.atsListBackgroundCheckRequest)(this, request, options));
    }
    /**
     * List Candidate Custom Field Definitions
     */
    async listCandidateCustomFieldDefinitions(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, atsListCandidateCustomFieldDefinitions_js_1.atsListCandidateCustomFieldDefinitions)(this, request, options));
    }
    /**
     * List Candidate Notes
     */
    async listCandidateNotes(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, atsListCandidateNotes_js_1.atsListCandidateNotes)(this, request, options));
    }
    /**
     * List Candidates
     */
    async listCandidates(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, atsListCandidates_js_1.atsListCandidates)(this, request, options));
    }
    /**
     * List Departments
     */
    async listDepartments(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, atsListDepartments_js_1.atsListDepartments)(this, request, options));
    }
    /**
     * List Interview Stages
     */
    async listInterviewStages(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, atsListInterviewStages_js_1.atsListInterviewStages)(this, request, options));
    }
    /**
     * List Interviews
     */
    async listInterviews(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, atsListInterviews_js_1.atsListInterviews)(this, request, options));
    }
    /**
     * List Job Custom Field Definitions
     */
    async listJobCustomFieldDefinitions(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, atsListJobCustomFieldDefinitions_js_1.atsListJobCustomFieldDefinitions)(this, request, options));
    }
    /**
     * List Job Postings
     */
    async listJobPostings(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, atsListJobPostings_js_1.atsListJobPostings)(this, request, options));
    }
    /**
     * List Jobs
     */
    async listJobs(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, atsListJobs_js_1.atsListJobs)(this, request, options));
    }
    /**
     * Get all Lists
     */
    async listLists(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, atsListLists_js_1.atsListLists)(this, request, options));
    }
    /**
     * List locations
     */
    async listLocations(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, atsListLocations_js_1.atsListLocations)(this, request, options));
    }
    /**
     * List Offers
     */
    async listOffers(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, atsListOffers_js_1.atsListOffers)(this, request, options));
    }
    /**
     * List Rejected Reasons
     */
    async listRejectedReasons(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, atsListRejectedReasons_js_1.atsListRejectedReasons)(this, request, options));
    }
    /**
     * List Users
     */
    async listUsers(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, atsListUsers_js_1.atsListUsers)(this, request, options));
    }
    /**
     * Move Application
     */
    async moveApplication(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsMoveApplication_js_1.atsMoveApplication)(this, request, options));
    }
    /**
     * Order Assessments Request
     */
    async orderAssessmentsRequest(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsOrderAssessmentsRequest_js_1.atsOrderAssessmentsRequest)(this, request, options));
    }
    /**
     * Order Background Check Request
     */
    async orderBackgroundCheckRequest(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsOrderBackgroundCheckRequest_js_1.atsOrderBackgroundCheckRequest)(this, request, options));
    }
    /**
     * Reject Application
     */
    async rejectApplication(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsRejectApplication_js_1.atsRejectApplication)(this, request, options));
    }
    /**
     * Update an Application
     */
    async updateApplication(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsUpdateApplication_js_1.atsUpdateApplication)(this, request, options));
    }
    /**
     * Update an Application Note
     */
    async updateApplicationNote(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsUpdateApplicationNote_js_1.atsUpdateApplicationNote)(this, request, options));
    }
    /**
     * Update Assessments Result
     */
    async updateAssessmentsResult(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsUpdateAssessmentsResult_js_1.atsUpdateAssessmentsResult)(this, request, options));
    }
    /**
     * Update Background Check Package
     */
    async updateBackgroundCheckPackage(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsUpdateBackgroundCheckPackage_js_1.atsUpdateBackgroundCheckPackage)(this, request, options));
    }
    /**
     * Update Background Check Result
     */
    async updateBackgroundCheckResult(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsUpdateBackgroundCheckResult_js_1.atsUpdateBackgroundCheckResult)(this, request, options));
    }
    /**
     * Update Candidate
     */
    async updateCandidate(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsUpdateCandidate_js_1.atsUpdateCandidate)(this, request, options));
    }
    /**
     * Update Job
     */
    async updateJob(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsUpdateJob_js_1.atsUpdateJob)(this, request, options));
    }
    /**
     * Upload Application Document
     */
    async uploadApplicationDocument(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, atsUploadApplicationDocument_js_1.atsUploadApplicationDocument)(this, request, options));
    }
}
exports.Ats = Ats;
//# sourceMappingURL=ats.js.map