/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 8c359135652d
 */
import { batchJobsCancel } from "../funcs/batchJobsCancel.js";
import { batchJobsCreate } from "../funcs/batchJobsCreate.js";
import { batchJobsDelete } from "../funcs/batchJobsDelete.js";
import { batchJobsGet } from "../funcs/batchJobsGet.js";
import { batchJobsList } from "../funcs/batchJobsList.js";
import { ClientSDK } from "../lib/sdks.js";
import { unwrapAsync } from "../types/fp.js";
export class BatchJobs extends ClientSDK {
    /**
     * Get Batch Jobs
     *
     * @remarks
     * Get a list of batch jobs for your organization and user.
     */
    async list(request, options) {
        return unwrapAsync(batchJobsList(this, request, options));
    }
    /**
     * Create Batch Job
     *
     * @remarks
     * Create a new batch job, it will be queued for processing.
     */
    async create(request, options) {
        return unwrapAsync(batchJobsCreate(this, request, options));
    }
    /**
     * Get Batch Job
     *
     * @remarks
     * Get a batch job details by its UUID.
     *
     * Args:
     *     inline: If True, return results inline in the response.
     */
    async get(request, options) {
        return unwrapAsync(batchJobsGet(this, request, options));
    }
    /**
     * Delete Batch Job
     *
     * @remarks
     * Request the deletion of a batch job.
     */
    async delete(request, options) {
        return unwrapAsync(batchJobsDelete(this, request, options));
    }
    /**
     * Cancel Batch Job
     *
     * @remarks
     * Request the cancellation of a batch job.
     */
    async cancel(request, options) {
        return unwrapAsync(batchJobsCancel(this, request, options));
    }
}
//# sourceMappingURL=batchjobs.js.map