/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { catalogResourcesList } from "../funcs/catalogResourcesList.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import { unwrapAsync } from "../types/fp.js"; export class CatalogResources extends ClientSDK { /** * ListResources Catalog V2 * * @remarks * List available engine resources for the catalog. * * A resource represents a type of data that can be held within the catalog, so this * endpoint can be used to see what attribute types can be used when updating the * schema of a catalog type. */ async list( options?: RequestOptions, ): Promise { return unwrapAsync(catalogResourcesList( this, options, )); } }