/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: a6b1e3294080 */ import { resourcesGetDeploymentDetail } from "../funcs/resourcesGetDeploymentDetail.js"; import { resourcesListDeployments } from "../funcs/resourcesListDeployments.js"; import { resourcesListInventory } from "../funcs/resourcesListInventory.js"; import { resourcesListOverview } from "../funcs/resourcesListOverview.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; export class Resources extends ClientSDK { async listInventory( request: operations.ListInventoryRequest, options?: RequestOptions, ): Promise { return unwrapAsync(resourcesListInventory( this, request, options, )); } async listOverview( request: operations.ListResourceOverviewRequest, options?: RequestOptions, ): Promise { return unwrapAsync(resourcesListOverview( this, request, options, )); } /** * List deployments where the selected resource is installed. */ async listDeployments( request: operations.ListResourceDeploymentsRequest, options?: RequestOptions, ): Promise { return unwrapAsync(resourcesListDeployments( this, request, options, )); } async getDeploymentDetail( request: operations.GetResourceDeploymentDetailRequest, options?: RequestOptions, ): Promise { return unwrapAsync(resourcesGetDeploymentDetail( this, request, options, )); } }