/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { modelsGet } from "../funcs/models-get.js"; import { modelsListAll } from "../funcs/models-list-all.js"; import { modelsList } from "../funcs/models-list.js"; import { modelsParamsGet } from "../funcs/models-params-get.js"; import { modelsSearch } from "../funcs/models-search.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as models from "../models/index.js"; import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; export class Models extends ClientSDK { async list( request?: operations.ListRequest | undefined, options?: RequestOptions, ): Promise { return unwrapAsync(modelsList( this, request, options, )); } async listAll( options?: RequestOptions, ): Promise { return unwrapAsync(modelsListAll( this, options, )); } async search( request: models.ModelSearchRequest, options?: RequestOptions, ): Promise { return unwrapAsync(modelsSearch( this, request, options, )); } async get( request: operations.GetRequest, options?: RequestOptions, ): Promise { return unwrapAsync(modelsGet( this, request, options, )); } async paramsGet( request: operations.ParamsGetRequest, options?: RequestOptions, ): Promise { return unwrapAsync(modelsParamsGet( this, request, options, )); } }