/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { taskGet } from "../funcs/taskGet.js"; import { taskGetAll } from "../funcs/taskGetAll.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; export class Task extends ClientSDK { /** * Retrieve Tasks */ async getAll( options?: RequestOptions, ): Promise { return unwrapAsync(taskGetAll( this, options, )); } /** * Retrieve a Task */ async get( taskId: string, options?: RequestOptions, ): Promise { return unwrapAsync(taskGet( this, taskId, options, )); } }