/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { atsJobsCreate } from "../funcs/atsJobsCreate.js"; import { atsJobsDelete } from "../funcs/atsJobsDelete.js"; import { atsJobsGet } from "../funcs/atsJobsGet.js"; import { atsJobsList } from "../funcs/atsJobsList.js"; import { atsJobsUpdate } from "../funcs/atsJobsUpdate.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; import { PageIterator, unwrapResultIterator } from "../types/operations.js"; export class Jobs extends ClientSDK { /** * List Jobs * * @remarks * List Jobs */ async list( request: operations.AtsJobsAllRequest, options?: RequestOptions, ): Promise> { return unwrapResultIterator(atsJobsList( this, request, options, )); } /** * Create Job * * @remarks * Create Job */ async create( request: operations.AtsJobsAddRequest, options?: RequestOptions, ): Promise { return unwrapAsync(atsJobsCreate( this, request, options, )); } /** * Get Job * * @remarks * Get Job */ async get( request: operations.AtsJobsOneRequest, options?: RequestOptions, ): Promise { return unwrapAsync(atsJobsGet( this, request, options, )); } /** * Update Job * * @remarks * Update Job */ async update( request: operations.AtsJobsUpdateRequest, options?: RequestOptions, ): Promise { return unwrapAsync(atsJobsUpdate( this, request, options, )); } /** * Delete Job * * @remarks * Delete Job */ async delete( request: operations.AtsJobsDeleteRequest, options?: RequestOptions, ): Promise { return unwrapAsync(atsJobsDelete( this, request, options, )); } }